PageSourceSearch

https://imc.ua/assets/js/script.min.js

js imc.ua collected 2026-09-30 14:31:35 UTC 322,266 bytes, 5 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,(function(){"use strict";function e(e){var t=!0,s=!1,i=null,n={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function r(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function o(e){t=!1}function l(){document.addEventListener("mousemove",d),document.addEventListener("mousedown",d),document.addEventListener("mouseup",d),document.addEventListener("pointermove",d),document.addEventListener("pointerdown",d),document.addEventListener("pointerup",d),document.addEventListener("touchmove",d),document.addEventListener("touchstart",d),document.addEventListener("touchend",d)}function d(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",d),document.removeEventListener("mousedown",d),document.removeEventListener("mouseup",d),document.removeEventListener("pointermove",d),document.removeEventListener("pointerdown",d),document.removeEventListener("pointerup",d),document.removeEventListener("touchmove",d),document.removeEventListener("touchstart",d),document.removeEventListener("touchend",d))}document.addEventListener("keydown",(function(s){s.metaKey||s.altKey||s.ctrlKey||(a(e.activeElement)&&r(e.activeElement),t=!0)}),!0),document.addEventListener("mousedown",o,!0),document.addEventListener("pointerdown",o,!0),document.addEventListener("touchstart",o,!0),document.addEventListener("visibilitychange",(function(e){"hidden"===document.visibilityState&&(s&&(t=!0),l())}),!0),l(),e.addEventListener("focus",(function(e){var s,i,o;a(e.target)&&(t||(i=(s=e.target).type,"INPUT"===(o=s.tagName)&&n[i]&&!s.readOnly||"TEXTAREA"===o&&!s.readOnly||s.isContentEditable))&&r(e.target)}),!0),e.addEventListener("blur",(function(e){var t;a(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(s=!0,window.clearTimeout(i),i=window.setTimeout((function(){s=!1}),100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}),!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)})),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return e.svg4everybody=t()})):"object"==typeof module&&module.exports?module.exports=t():e.svg4everybody=t()}(this,(function(){
2/*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
3function e(e,t,s){if(s){var i=document.createDocumentFragment(),n=!t.hasAttribute("viewBox")&&s.getAttribute("viewBox");n&&t.setAttribute("viewBox",n);for(var a=s.cloneNode(!0);a.childNodes.length;)i.appendChild(a.firstChild);e.appendChild(i)}}function t(t){t.onreadystatechange=function(){if(4===t.readyState){var s=t._cachedDocument;s||((s=t._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map((function(i){var n=t._cachedTarget[i.id];n||(n=t._cachedTarget[i.id]=s.getElementById(i.id)),e(i.parent,i.svg,n)}))}},t.onreadystatechange()}function s(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}return function(i){var n,a=Object(i),r=window.top!==window.self;n="polyfill"in a?a.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&r;var o={},l=window.requestAnimationFrame||setTimeout,d=document.getElementsByTagName("use"),c=0;n&&function i(){for(var r=0;r<d.length;){var u=d[r],p=u.parentNode,h=s(p),m=u.getAttribute("xlink:href")||u.getAttribute("href");if(!m&&a.attributeName&&(m=u.getAttribute(a.attributeName)),h&&m){if(n)if(!a.val
3idate||a.validate(m,h,u)){p.removeChild(u);var f=m.split("#"),g=f.shift(),v=f.join("#");if(g.length){var b=o[g];b||((b=o[g]=new XMLHttpRequest).open("GET",g),b.send(),b._embeds=[]),b._embeds.push({parent:p,svg:h,id:v}),t(b)}else e(p,h,document.getElementById(v))}else++r,++c}else++r}(!d.length||d.length-c>0)&&l(i,67)}()}})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e||self).autosize=t()}(this,(function(){var e=new Map;function t(t){var s=e.get(t);s&&s.destroy()}function s(t){var s=e.get(t);s&&s.update()}var i=null;return"undefined"==typeof window?((i=function(e){return e}).destroy=function(e){return e},i.update=function(e){return e}):((i=function(t,s){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var s,i=null,n=window.getComputedStyle(t),a=(s=t.value,function(){o({testForHeightReduction:""===s||!t.value.startsWith(s),restoreTextAlign:null}),s=t.value}),r=function(s){t.removeEventListener("autosize:destroy",r),t.removeEventListener("autosize:update",l),t.removeEventListener("input",a),window.removeEventListener("resize",l),Object.keys(s).forEach((function(e){return t.style[e]=s[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",r),t.addEventListener("autosize:update",l),t.addEventListener("input",a),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:r,update:l}),l()}function o(e){var s,a,r=e.restoreTextAlign,l=void 0===r?null:r,d=e.testForHeightReduction,c=void 0===d||d,u=n.overflowY;if(0!==t.scrollHeight&&("vertical"===n.resize?t.style.resize="none":"both"===n.resize&&(t.style.resize="horizontal"),c&&(s=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach((function(e){var t=e[0],s=e[1];t.style.scrollBehavior="auto",t.scrollTop=s,t.style.scrollBehavior=null}))}}(t),t.style.height=""),a="content-box"===n.boxSizing?t.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):t.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&a>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(t.style.overflow="scroll"),a=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(t.style.overflow="hidden"),t.style.height=a+"px",l&&(t.style.textAlign=l),s&&s(),i!==a&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=a),u!==n.overflow&&!l)){var p=n.textAlign;"hidden"===n.overflow&&(t.style.textAlign="start"===p?"end":"start"),o({restoreTextAlign:p,testForHeightReduction:!0})}}function l(){o({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},i.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e}),i})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).IMask={})}(this,(function(e){"use strict";function t(e){return"string"==typeof e||e instanceof String}function s(e){var t;return"object"==typeof e&&null!=e&&"Object"===(null==e||null==(t=e.constructor)?void 0:t.name)}function i(e,t){return Array.isArray(t)?i(e,((e,s)=>t.includes(s))):Object.entries(e).reduce(((e,s)=>{let[i,n]=s;return t(n,i)&&(e[i]=n),e}),{})}const n={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function a(e){switch(e){case n.LEFT:return n.FORCE_LEFT;case n.RIGHT:return n.FORCE_RIGHT;default:return e}}function r(e){return e.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function o(e,t){if(t===e)return!0;const s=Array.isArray(t),i=Array.isArray(e);let n;if(s&&i){if(t.length!=e.length)return!1;for(n=0;n<t.length;n++)if(!o(t[n],e[n]))return!1;return!0}if(s!=i)return!1;if(t&&e&&"object"==typeof t&&"object"==typeof e){const s=t instanceof Date,i=e instanceof Date;if(s&&i)return t.getTime()==e.getTime();if(s!=i)return!1;const a=t instanceof RegExp,r=e instanceof RegExp;if(a&&r)return t.toString()==e.toString();if(a!=r)return!1;const l=Object.keys(t);for(n=0;n<l.length;n++)if(!Object.prototype.hasOwnProperty.call(e,l[n]))return!1;for(n=0;n<l.length;n++)if(!o(e[l[n]],t[l[n]]))return!1;return!0}return!(!t||!e||"function"!=typeof t||"function"!=typeof e)&&t.toString()===e.toString()}class l{constructor(e){for(Object.assign(this,e);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?n.NONE:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?n.LEFT:n.RIGHT}}function d(e,t){return new d.InputMask(e,t)}function c(e){if(null==e)throw new Error("mask property should be defined");return e instanceof RegExp?d.MaskedRegExp:t(e)?d.MaskedPattern:e===Date?d.MaskedDate:e===Number?d.MaskedNumber:Array.isArray(e)||e===Array?d.MaskedDynamic:d.Masked&&e.prototype instanceof d.Masked?e:d.Masked&&e instanceof d.Masked?e.constructor:e instanceof Function?d.MaskedFunction:(console.warn("Mask not found for mask",e),d.Masked)}function u(e){if(!e)throw new Error("Options in not defined");if(d.Masked){if(e.prototype instanceof d.Masked)return{mask:e};const{mask:t,...n}=e instanceof d.Masked?{mask:e}:s(e)&&e.mask instanceof d.Masked?e:{};if(t){const e=t.mask;return{...i(t,((e,t)=>
3!t.startsWith("_"))),mask:t.constructor,_mask:e,...n}}}return s(e)?{...e}:{mask:e}}function p(e){if(d.Masked&&e instanceof d.Masked)return e;const t=u(e),s=c(t.mask);if(!s)throw new Error("Masked class is not found for provided mask, appropriate module needs to be imported manually before creating mask.");return t.mask===s&&delete t.mask,t._mask&&(t.mask=t._mask,delete t._mask),new s(t)}d.createMask=p;class h{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return null!=e?e:this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return null!=e?e:this.value.length}select(e,t){if(null!=e&&null!=t&&(e!==this.selectionStart||t!==this.selectionEnd))try{this._unsafeSelect(e,t)}catch{}}get isActive(){return!1}}d.MaskElement=h;class m extends h{constructor(e){super(),this.input=e,this._handlers={}}get rootElement(){var e,t,s;return null!=(e=null==(t=(s=this.input).getRootNode)?void 0:t.call(s))?e:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(e){Object.keys(e).forEach((t=>this._toggleEventHandler(m.EVENTS_MAP[t],e[t])))}unbindEvents(){Object.keys(this._handlers).forEach((e=>this._toggleEventHandler(e)))}_toggleEventHandler(e,t){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),t&&(this.input.addEventListener(e,t),this._handlers[e]=t)}}m.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},d.HTMLMaskElement=m;class f extends m{constructor(e){super(e),this.input=e,this._handlers={}}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,t){this.input.setSelectionRange(e,t)}get value(){return this.input.value}set value(e){this.input.value=e}}d.HTMLMaskElement=m;class g extends m{get _unsafeSelectionStart(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),s=t&&t.anchorOffset,i=t&&t.focusOffset;return null==i||null==s||s<i?s:i}get _unsafeSelectionEnd(){const e=this.rootElement,t=e.getSelection&&e.getSelection(),s=t&&t.anchorOffset,i=t&&t.focusOffset;return null==i||null==s||s>i?s:i}_unsafeSelect(e,t){if(!this.rootElement.createRange)return;const s=this.rootElement.createRange();s.setStart(this.input.firstChild||this.input,e),s.setEnd(this.input.lastChild||this.input,t);const i=this.rootElement,n=i.getSelection&&i.getSelection();n&&(n.removeAllRanges(),n.addRange(s))}get value(){return this.input.textContent||""}set value(e){this.input.textContent=e}}d.HTMLContenteditableMaskElement=g;class v{constructor(e,t){this.el=e instanceof h?e:e.isContentEditable&&"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName?new g(e):new f(e),this.masked=p(t),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()}maskEquals(e){var t;return null==e||(null==(t=this.masked)?void 0:t.maskEquals(e))}get mask(){return this.masked.mask}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof d.Masked)&&this.masked.constructor===c(e))return void this.masked.updateOptions({mask:e});const t=e instanceof d.Masked?e:p({mask:e});t.unmaskedValue=this.masked.unmaskedValue,this.masked=t}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e,t){const s=this._listeners[e];
vendor: 15,309 bytes, line 3
3s&&s.forEach((e=>e(t)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){this.el&&this.el.isActive&&(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==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}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const e=this.masked.unmaskedValue,t=this.masked.value,s=this.displayValue,i=this.unmaskedValue!==e||this.value!==t;this._unmaskedValue=e,this._value=t,this.el.value!==s&&(this.el.value=s),i&&this._fireChangeEvents()}updateOptions(e){const{mask:t,...s}=e,i=!this.maskEquals(t),n=!o(this.masked,s);i&&(this.mask=t),n&&this.masked.updateOptions(s),(i||n)&&this.updateControl()}updateCursor(e){null!=e&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,n.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,t){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t),this}off(e,t){if(!this._listeners[e])return this;if(!t)return delete this._listeners[e],this;const s=this._listeners[e].indexOf(t);return s>=0&&this._listeners[e].splice(s,1),this}_onInput(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();const t=new l({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),s=this.masked.rawInputValue,i=this.masked.splice(t.startChangePos,t.removed.length,t.inserted,t.removeDirection,{input:!0,raw:!0}).offset,a=s===this.masked.rawInputValue?t.removeDirection:n.NONE;let r=this.masked.nearestInputPos(t.startChangePos+i,a);a!==n.NONE&&(r=this.masked.nearestInputPos(r,n.NONE)),this.updateControl(),this.updateCursor(r),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}d.InputMask=v;class b{static normalize(e){return Array.isArray(e)?e:[e,new b]}constructor(e){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},e)}aggregate(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}d.ChangeDetails=b;class w{constructor(e,t,s){void 0===e&&(e=""),void 0===t&&(t=0),this.value=e,this.from=t,this.stop=s}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||null!=e&&this.from>=e)return"";const t=this.value[0];return this.value=this.value.slice(1),t}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class y{constructor(e){this._value="",this._update({...y.DEFAULTS,...e}),this._initialized=!0}updateOptions(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e,{input:!0})}resolve(e,t){void 0===t&&(t={input:!0}),this.reset(),this.append(e,t,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(e){this.resolve(e,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(e){this.format?this.value=this.format(e,this):this.unmaskedValue=String(e)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(e){this.resolve(e,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,t){return e}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),Math.min(this.displayValue.length,t-e)}extractInput(e,t,s){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this.displayValue.slice(e,t)}extractTail(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),new w(this.extractInput(e,t),e)}appendTail(e){return t(e)&&(e=new w(String(e))),e.appendTo(this)}_appendCharRaw(e,t){return e?(this._value+=e,new b({inserted:e,rawInserted:e})):new b}_appendChar(e,t,s){void 0===t&&(t={});const i=this.state;let n;if([e,n]=this.doPrepareChar(e,t),n=n.aggregate(this._appendCharRaw(e,t)),n.inserted){let e,a=!1!==this.doValidate(t);if(a&&null!=s){const t=this.state;!0===this.overwrite&&(e=s.state,s.unshift(this.displayValue.length-n.tailShift));let i=this.appendTail(s);a=i.rawInserted===s.toString(),a&&i.inserted||"shift"!==this.overwrite||(this.state=t,e=s.state,s.shift(),i=this.appendTail(s),a=i.rawInserted===s.toString()),a&&i.inserted&&(this.state=t)}a||(n=new b,this.state=i,s&&e&&(s.state=e))}return n}_appendPlaceholder(){return new b}_appendEager(){return new b}append(e,s,i){if(!t(e))throw new Error("value should be string");const n=t(i)?new w(String(i)):i;let a;null!=s&&s.tail&&(s._beforeTailState=this.state),[e,a]=this.doPrepare(e,s);for(let t=0;t<e.length;++t){const i=this._appendChar(e[t],s,n);if(!i.rawInserted&&!this.doSkipInvalid(e[t],s,n))break;a.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=s&&s.input&&e&&a.aggregate(this._appendEager()),null!=n&&(a.tailShift+=this.appendTail(n).tailShift),a}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),this._value=this.displayValue.slice(0,e)+this.displayValue.slice(t),new b}withValueRefresh(e){if(this._refreshing||!this._initialized)return e();this._refreshing=!0;const t=this.rawInputValue,s=this.value,i=e();return this.rawInputValue=t,this.value&&this.value!==s&&0===s.indexOf(this.value)&&this.append(s.slice(this.displayValue.length),{},""),delete this._refreshing,i}runIsolated(e){if(this._isolated||!this._initialized)return e(this);this._isolated=!0;const t=this.state,s=e(this);return this.state=t,delete this._isolated,s}doSkipInvalid(e,t,s){return Boolean(this.skipInvalid)}doPrepare(e,t){return void 0===t&&(t={}),b.normalize(this.prepare?this.prepare(e,this,t):e)}doPrepareChar(e,t){return void 0===t&&(t={}),b.normalize(this.prepareChar?this.prepareChar(e,this,t):e)}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}splice(e,t,s,i,r){void 0===i&&(i=n.NONE),void 0===r&&(r={input:!0});const o=e+t,l=this.extractTail(o),d=!0===this.eager||"remove"===this.eager;let c;d&&(i=a(i),c=this.extractInput(0,o,{raw:!0}));let u=e;const p=new b;if(i!==n.NONE&&(u=this.nearestInputPos(e,t>1&&0!==e&&!d?n.NONE:i),p.tailShift=u-e),p.aggregate(this.remove(u)),d&&i!==n.NONE&&c===this.rawInputValue)if(i===n.FORCE_LEFT){let e;for(;c===this.rawInputValue&&(e=this.displayValue.length);)p.aggregate(new b({tailShift:-1})).aggregate(this.remove(e-1))}else i===n.FORCE_RIGHT&&l.unshift();return p.aggregate(this.append(s,r,l))}maskEquals(e){return this.mask===e}typedValueEquals(e){const t=this.typedValue;return e===t||y.EMPTY_VALUES.includes(e)&&y.EMPTY_VALUES.includes(t)||!!this.format&&this.format(e,this)===this.format(this.typedValue,this)}}y.DEFAULTS={skipInvalid:!0},y.EMPTY_VALUES=[void 0,null,""],d.Masked=y;class _{constructor(e,t){void 0===e&&(e=[]),void 0===t&&(t=0),this.chunks=e,this.from=t}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;e=t(e)?new w(String(e)):e;const s=this.chunks[this.chunks.length-1],i=s&&(s.stop===e.stop||null==e.stop)&&e.from===s.from+s.toString().length;if(e instanceof w)i?s.extend(e.toString()):this.chunks.push(e);else if(e instanceof _){if(null==e.stop){let t;for(;e.chunks.length&&null==e.chunks[0].stop;)t=e.chunks.shift(),t.from+=e.from,this.extend(t)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof d.MaskedPattern))return new w(this.toString()).appendTo(e);const t=new b;for(let s=0;s<this.chunks.length&&!t.skip;++s){const i=this.chunks[s],n=e._mapPosToBlock(e.displayValue.length),a=i.stop;let r;if(null!=a&&(!n||n.index<=a)){if(i instanceof _||e._stops.indexOf(a)>=0){const s=e._appendPlaceholder(a);t.aggregate(s)}r=i instanceof _&&e._blocks[a]}if(r){const s=r.appendTail(i);s.skip=!1,t.aggregate(s),e._value+=s.inserted;const n=i.toString().slice(s.rawInserted.length);n&&t.aggregate(e.append(n,{tail:!0}))}else t.aggregate(e.append(i.toString(),{tail:!0}))}return t}get state(){return{chunks:this.chunks.map((e=>e.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:t,...s}=e;Object.assign(this,s),this.chunks=t.map((e=>{const t="chunks"in e?new _:new w;return t.state=e,t}))}unshift(e){if(!this.chunks.length||null!=e&&this.from>=e)return"";const t=null!=e?e-this.from:e;let s=0;for(;s<this.chunks.length;){const e=this.chunks[s],i=e.unshift(t);if(e.toString()){if(!i)break;++s}else this.chunks.splice(s,1);if(i)return i}return""}shift(){if(!this.chunks.length)return"";let e=this.chunks.length-1;for(;0<=e;){const t=this.chunks[e],s=t.shift();if(t.toString()){if(!s)break;--e}else this.chunks.splice(e,1);if(s)return s}return""}}class E{constructor(e,t){this.masked=e,this._log=[];const{offset:s,index:i}=e._mapPosToBlock(t)||(t<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=s,this.index=i,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(e){Object.assign(this,e)}pushState(){this._log.push(this.state)}popState(){const e=this._log.pop();return e&&(this.state=e),e}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(t=this.block)?void 0:t.displayValue.length)||0){var t;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(e())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,n.FORCE_LEFT),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,n.LEFT),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,n.LEFT),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,n.FORCE_RIGHT),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,n.NONE),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,n.NONE),!0}))}}class x{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._value=this._value.slice(0,e)+this._value.slice(t),this._value||(this._isRawInput=!1),new b}nearestInputPos(e,t){void 0===t&&(t=n.NONE);const s=this._value.length;switch(t){case n.LEFT:case n.FORCE_LEFT:return 0;default:return s}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),this._isRawInput?t-e:0}extractInput(e,t,s){return void 0===e&&(e=0),void 0===t&&(t=this._value.length),void 0===s&&(s={}),s.raw&&this._isRawInput&&this._value.slice(e,t)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(e,t){void 0===t&&(t={});const s=new b;if(this.isFilled)return s;const i=!0===this.eager||"append"===this.eager,n=this.char===e&&(this.isUnmasking||t.input||t.raw)&&(!t.raw||!i)&&!t.tail;return n&&(s.rawInserted=this.char),this._value=s.inserted=this.char,this._isRawInput=n&&(t.raw||t.input),s}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new b;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return new w("")}appendTail(e){return t(e)&&(e=new w(String(e))),e.appendTo(this)}append(e,t,s){const i=this._appendChar(e[0],t);return null!=s&&(i.tailShift+=this.appendTail(s).tailShift),i}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value,this._isRawInput=Boolean(e._rawInputValue)}}class S{constructor(e){const{parent:t,isOptional:s,placeholderChar:i,displayChar:n,lazy:a,eager:r,...o}=e;this.masked=p(o),Object.assign(this,{parent:t,isOptional:s,placeholderChar:i,displayChar:n,lazy:a,eager:r})}reset(){this.isFilled=!1,this.masked.reset()}remove(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),0===e&&t>=1?(this.isFilled=!1,this.masked.remove(e,t)):new b}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(e,t){if(void 0===t&&(t={}),this.isFilled)return new b;const s=this.masked.state,i=this.masked._appendChar(e,this.currentMaskFlags(t));return i.inserted&&!1===this.doValidate(t)&&(i.inserted=i.rawInserted="",this.masked.state=s),i.inserted||this.isOptional||this.lazy||t.input||(i.inserted=this.placeholderChar),i.skip=!i.inserted&&!this.isOptional,this.isFilled=Bo
3olean(i.inserted),i}append(e,t,s){return this.masked.append(e,this.currentMaskFlags(t),s)}_appendPlaceholder(){const e=new b;return this.isFilled||this.isOptional||(this.isFilled=!0,e.inserted=this.placeholderChar),e}_appendEager(){return new b}extractTail(e,t){return this.masked.extractTail(e,t)}appendTail(e){return this.masked.appendTail(e)}extractInput(e,t,s){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.masked.extractInput(e,t,s)}nearestInputPos(e,t){void 0===t&&(t=n.NONE);const s=this.value.length,i=Math.min(Math.max(e,0),s);switch(t){case n.LEFT:case n.FORCE_LEFT:return this.isComplete?i:0;case n.RIGHT:case n.FORCE_RIGHT:return this.isComplete?i:s;default:return i}}totalInputPositions(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.value.length),this.value.slice(e,t).length}doValidate(e){return this.masked.doValidate(this.currentMaskFlags(e))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(e)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}currentMaskFlags(e){var t;return{...e,_beforeTailState:(null==e||null==(t=e._beforeTailState)?void 0:t.masked)||(null==e?void 0:e._beforeTailState)}}}S.DEFAULT_DEFINITIONS={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\uFB
vendor: 10,231 bytes, line 3
3D3-\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]/,"*":/./};class T extends y{updateOptions(e){super.updateOptions(e)}_update(e){const t=e.mask;t&&(e.validate=e=>e.search(t)>=0),super._update(e)}}d.MaskedRegExp=T;class k extends y{constructor(e){super({...k.DEFAULTS,...e,definitions:Object.assign({},S.DEFAULT_DEFINITIONS,null==e?void 0:e.definitions)})}updateOptions(e){super.updateOptions(e)}_update(e){e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const t=this.mask;if(!t||!e)return;let s=!1,i=!1;for(let n=0;n<t.length;++n){if(this.blocks){const e=t.slice(n),s=Object.keys(this.blocks).filter((t=>0===e.indexOf(t)));s.sort(((e,t)=>t.length-e.length));const i=s[0];if(i){const{expose:e,...t}=u(this.blocks[i]),s=p({lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,...t,parent:this});s&&(this._blocks.push(s),e&&(this.exposeBlock=s),this._maskedBlocks[i]||(this._maskedBlocks[i]=[]),this._maskedBlocks[i].push(this._blocks.length-1)),n+=i.length-1;continue}}let a=t[n],r=a in e;if(a===k.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===a||"}"===a){s=!s;continue}if("["===a||"]"===a){i=!i;continue}if(a===k.ESCAPE_CHAR){if(++n,a=t[n],!a)break;r=!1}const o=r?new S({isOptional:i,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...u(e[a]),parent:this}):new x({char:a,eager:this.eager,isUnmasking:s});this._blocks.push(o)}}get state(){return{...super.state,_blocks:this._blocks.map((e=>e.state))}}set state(e){const{_blocks:t,...s}=e;this._blocks.forEach(((e,s)=>e.state=t[s])),super.state=s}reset(){super.reset(),this._blocks.forEach((e=>e.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((e=>e.isComplete))}get isFilled(){return this._blocks.every((e=>e.isFilled))}get isFixed(){return this._blocks.every((e=>e.isFixed))}get isOptional(){return this._blocks.every((e=>e.isOptional))}doCommit(){this._blocks.forEach((e=>e.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((e,t)=>e+t.unmaskedValue),"")}set unmaskedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=e,this.appendTail(t),this.doCommit()}else super.unmaskedValue=e}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((e,t)=>e+t.value),"")}set value(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=e,this.appendTail(t),this.doCommit()}else super.value=e}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(e){if(this.exposeBlock){const t=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=e,this.appendTail(t),this.doCommit()}else super.typedValue=e}get displayValue(){return this._blocks.reduce(((e,t)=>e+t.displayValue),"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const t=new b;let s=null==(e=this._mapPosToBlock(this.displayValue.length))?void 0:e.index;if(null==s)return t;this._blocks[s].isFilled&&++s;for(let e=s;e<this._blocks.length;++e){const s=this._blocks[e]._appendEager();if(!s.inserted)break;t.aggregate(s)}return t}_appendCharRaw(e,t){void 0===t&&(t={});const s=this._mapPosToBlock(this.displayValue.length),i=new b;if(!s)return i;for(let a=s.index;;++a){var n;const s=this._blocks[a];if(!s)break;const r=s._appendChar(e,{...t,_beforeTailState:null==(n=t._beforeTailState)||null==(n=n._blocks)?void 0:n[a]}),o=r.skip;if(i.aggregate(r),o||r.rawInserted)break}return i}extractTail(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const s=new _;return e===t||this._forEachBlocksInRange(e,t,((e,t,i,n)=>{const a=e.extractTail(i,n);a.stop=this._findStopBefore(t),a.from=this._blockStartPos(t),a instanceof _&&(a.blockIndex=t),s.extend(a)})),s}extractInput(e,t,s){if(void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),void 0===s&&(s={}),e===t)return"";let i="";return this._forEachBlocksInRange(e,t,((e,t,n,a)=>{i+=e.extractInput(n,a,s)})),i}_findStopBefore(e){let t;for(let s=0;s<this._stops.length;++s){const i=this._stops[s];if(!(i<=e))break;t=i}return t}_appendPlaceholder(e){const t=new b;if(this.lazy&&null==e)return t;const s=this._mapPosToBlock(this.displayValue.length);if(!s)return t;const i=s.index,n=null!=e?e:this._blocks.length;return this._blocks.slice(i,n).forEach((s=>{if(!s.lazy||null!=e){var i;const e=s._appendPlaceholder(null==(i=s._blocks)?void 0:i.length);this._value+=e.inserted,t.aggregate(e)}})),t}_mapPosToBlock(e){let t="";for(let s=0;s<this._blocks.length;++s){const i=this._blocks[s],n=t.length;if(t+=i.displayValue,e<=t.length)return{index:s,offset:e-n}}}_blockStartPos(e){return this._blocks.slice(0,e).reduce(((e,t)=>e+t.displayValue.length),0)}_forEachBlocksInRange(e,t,s){void 0===t&&(t=this.displayValue.length);const i=this._mapPosToBlock(e);if(i){const e=this._mapPosToBlock(t),n=e&&i.index===e.index,a=i.offset,r=e&&n?e.offset:this._blocks[i.index].displayValue.length;if(s(this._blocks[i.index],i.index,a,r),e&&!n){for(let t=i.index+1;t<e.index;++t)s(this._blocks[t],t,0,this._blocks[t].displayValue.length);s(this._blocks[e.index],e.index,0,e.offset)}}}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);const s=super.remove(e,t);return this._forEachBlocksInRange(e,t,((e,t,i,n)=>{s.aggregate(e.remove(i,n))})),s}nearestInputPos(e,t){if(void 0===t&&(t=n.NONE),!this._blocks.length)return 0;const s=new E(this,e);if(t===n.NONE)return s.pushRightBeforeInput()?s.pos:(s.popState(),s.pushLeftBeforeInput()?s.pos:this.displayValue.length);if(t===n.LEFT||t===n.FORCE_LEFT){if(t===n.LEFT){if(s.pushRightBeforeFilled(),s.ok&&s.pos===e)return e;s.popState()}if(s.pushLeftBeforeInput(),s.pushLeftBeforeRequired(),s.pushLeftBeforeFilled(),t===n.LEFT){if(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.ok&&s.pos<=e)return s.pos;if(s.popState(),s.ok&&s.pos<=e)return s.pos;s.popState()}return s.ok?s.pos:t===n.FORCE_LEFT?0:(s.popState(),s.ok?s.pos:(s.popState(),s.ok?s.pos:0))}return t===n.RIGHT||t===n.FORCE_RIGHT?(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.pushRightBeforeFilled()?s.pos:t===n.FORCE_RIGHT?this.displayValue.length:(s.popState(),s.ok?s.pos:(s.popState(),s.ok?s.pos:this.nearestInputPos(e,n.LEFT)))):e}totalInputPositions(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length);let s=0;return this._forEachBlocksInRange(e,t,((e,t,i,n)=>{s+=e.totalInputPositions(i,n)})),s}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const t=this._maskedBlocks[e];return t?t.map((e=>this._blocks[e])):[]}}k.DEFAULTS={lazy:!0,placeholderChar:"_"},k.STOP_CHAR="`",k.ESCAPE_CHAR="\\",k.InputDefinition=S,k.FixedDefinition=x,d.MaskedPattern=k;class C extends k{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){const{to:t=this.to||0,from:s=this.from||0,maxLength:i=this.maxLength||0,autofix:n=this.autofix,...a}=e;this.to=t,this.from=s,this.maxLength=Math.max(String(t).length,i),this.autofix=n;const r=String(this.from).padStart(this.maxLength,"0"),o=String(this.to).padStart(this.maxLength,"0");let l=0;for(;l<o.length&&o[l]===r[l];)++l;a.mask=o.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(a)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(e){let t="",s="";const[,i,n]=e.match(/^(\D*)(\d*)(\D*)/)||[];return n&&(t="0".repeat(i.length)+n,s="9".repeat(i.length)+n),t=t.padEnd(this.maxLength,"0"),s=s.padEnd(this.maxLength,"9"),[t,s]}doPrepareChar(e,t){let s;if(void 0===t&&(t={}),[e,s]=super.doPrepareChar(e.replace(/\D/g,""),t),!this.autofix||!e)return[e,s];const i=String(this.from).padStart(this.maxLength,"0"),n=String(this.to).padStart(this.maxLength,"0"),a=this.value+e;if(a.length>this.maxLength)return["",s];const[r,o]=this.boundaries(a);return Number(o)<this.from?[i[a.length-1],s]:Number(r)>this.to?"pad"===this.autofix&&a.length<this.maxLength?["",s.aggregate(this.append(i[a.length-1]+e,t))]:[n[a.length-1],s]:[e,s]}doValidate(e){const t=this.value;if(-1===t.search(/[^0]/)&&t.length<=this._matchFrom)return!0;const[s,i]=this.boundaries(t);return this.from<=Number(i)&&Number(s)<=this.to&&super.doValidate(e)}}d.MaskedRange=C;class A extends k{constructor(e){const{mask:s,pattern:i,...n}={...A.DEFAULTS,...e};super({...n,mask:t(s)?s:i})}updateOptions(e){super.updateOptions(e)}_update(e){const{mask:s,pattern:i,blocks:n,...a}={...A.DEFAULTS,...e},r=Object.assign({},A.GET_DEFAULT_BLOCKS());e.min&&(r.Y.from=e.min.getFullYear()),e.max&&(r.Y.to=e.max.getFullYear()),e.min&&e.max&&r.Y.from===r.Y.to&&(r.m.from=e.min.getMonth()+1,r.m.to=e.max.getMonth()+1,r.m.from===r.m.to&&(r.d.from=e.min.getDate(),r.d.to=e.max.getDate())),Object.assign(r,this.blocks,n),Object.keys(r).forEach((t=>{const s=r[t];!("autofix"in s)&&"autofix"in e&&(s.autofix=e.autofix)})),super._update({...a,mask:t(s)?s:i,blocks:r})}doValidate(e){const t=this.date;return super.doValidate(e)&&(!this.isComplete||this.isDateExist(this.value)&&null!=t&&(null==this.min||this.min<=t)&&(null==this.max||t<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}}A.GET_DEFAULT_BLOCKS=()=>({d:{mask:C,from:1,to:31,maxLength:2},m:{mask:C,from:1,to:12,maxLength:2},Y:{mask:C,from:1900,to:9999}}),A.DEFAULTS={mask:Date,pattern:"d{.}`m{.}`Y",format:(e,t)=>
vendor: 5,293 bytes, line 3
3e?[String(e.getDate()).padStart(2,"0"),String(e.getMonth()+1).padStart(2,"0"),e.getFullYear()].join("."):"",parse:(e,t)=>{const[s,i,n]=e.split(".").map(Number);return new Date(n,i-1,s)}},d.MaskedDate=A;class M extends y{constructor(e){super({...M.DEFAULTS,...e}),this.currentMask=void 0}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),"mask"in e&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(e.mask)?e.mask.map((e=>{const{expose:t,...s}=u(e),i=p({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...s});return t&&(this.exposeMask=i),i})):[])}_appendCharRaw(e,t){void 0===t&&(t={});const s=this._applyDispatch(e,t);return this.currentMask&&s.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(t))),s}_applyDispatch(e,t,s){void 0===e&&(e=""),void 0===t&&(t={}),void 0===s&&(s="");const i=t.tail&&null!=t._beforeTailState?t._beforeTailState._value:this.value,n=this.rawInputValue,a=t.tail&&null!=t._beforeTailState?t._beforeTailState._rawInputValue:n,r=n.slice(a.length),o=this.currentMask,l=new b,d=null==o?void 0:o.state;if(this.currentMask=this.doDispatch(e,{...t},s),this.currentMask)if(this.currentMask!==o){if(this.currentMask.reset(),a){const e=this.currentMask.append(a,{raw:!0});l.tailShift=e.inserted.length-i.length}r&&(l.tailShift+=this.currentMask.append(r,{raw:!0,tail:!0}).tailShift)}else d&&(this.currentMask.state=d);return l}_appendPlaceholder(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const t=new b;return e&&t.aggregate(this._applyDispatch("",{},e)),t.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var t,s;return{...e,_beforeTailState:(null==(t=e._beforeTailState)?void 0:t.currentMaskRef)===this.currentMask&&(null==(s=e._beforeTailState)?void 0:s.currentMask)||e._beforeTailState}}doDispatch(e,t,s){return void 0===t&&(t={}),void 0===s&&(s=""),this.dispatch(e,this,t,s)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e,t){void 0===t&&(t={});let[s,i]=super.doPrepare(e,t);if(this.currentMask){let e;[s,e]=super.doPrepare(s,this.currentMaskFlags(t)),i=i.aggregate(e)}return[s,i]}doPrepareChar(e,t){void 0===t&&(t={});let[s,i]=super.doPrepareChar(e,t);if(this.currentMask){let e;[s,e]=super.doPrepareChar(s,this.currentMaskFlags(t)),i=i.aggregate(e)}return[s,i]}reset(){var e;null==(e=this.currentMask)||e.reset(),this.compiledMasks.forEach((e=>e.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(e){this.exposeMask?(this.exposeMask.value=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=e}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){this.exposeMask?(this.exposeMask.unmaskedValue=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=e}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(e){if(this.exposeMask)return this.exposeMask.typedValue=e,this.currentMask=this.exposeMask,void this._applyDispatch();let t=String(e);this.currentMask&&(this.currentMask.typedValue=e,t=this.currentMask.unmaskedValue),this.unmaskedValue=t}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isComplete)}get isFilled(){var e;return Boolean(null==(e=this.currentMask)?void 0:e.isFilled)}remove(e,t){const s=new b;return this.currentMask&&s.aggregate(this.currentMask.remove(e,t)).aggregate(this._applyDispatch()),s}get state(){var e;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((e=>e.state)),currentMaskRef:this.currentMask,currentMask:null==(e=this.currentMask)?void 0:e.state}}set state(e){const{compiledMasks:t,currentMaskRef:s,currentMask:i,...n}=e;t&&this.compiledMasks.forEach(((e,s)=>e.state=t[s])),null!=s&&(this.currentMask=s,this.currentMask.state=i),super.state=n}extractInput(e,t,s){return this.currentMask?this.currentMask.extractInput(e,t,s):""}extractTail(e,t){return this.currentMask?this.currentMask.extractTail(e,t):super.extractTail(e,t)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(e,t){return this.currentMask?this.currentMask.nearestInputPos(e,t):super.nearestInputPos(e,t)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(e){this._overwrite=e}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(e){this._eager=e}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(e){this._skipInvalid=e}maskEquals(e){return Array.isArray(e)?this.compiledMasks.every(((t,s)=>{if(!e[s])return;const{mask:i,...n}=e[s];return o(t,n)&&t.maskEquals(i)})):super.maskEquals(e)}typedValueEquals(e){var t;return Boolean(null==(t=this.currentMask)?void 0:t.typedValueEquals(e))}}
vendor: 6,673 bytes, line 3
3M.DEFAULTS=void 0,M.DEFAULTS={dispatch:(e,t,s,i)=>{if(!t.compiledMasks.length)return;const a=t.rawInputValue,r=t.compiledMasks.map(((r,o)=>{const l=t.currentMask===r,d=l?r.displayValue.length:r.nearestInputPos(r.displayValue.length,n.FORCE_LEFT);return r.rawInputValue!==a?(r.reset(),r.append(a,{raw:!0})):l||r.remove(d),r.append(e,t.currentMaskFlags(s)),r.appendTail(i),{index:o,weight:r.rawInputValue.length,totalInputPositions:r.totalInputPositions(0,Math.max(d,r.nearestInputPos(r.displayValue.length,n.FORCE_LEFT)))}}));return r.sort(((e,t)=>t.weight-e.weight||t.totalInputPositions-e.totalInputPositions)),t.compiledMasks[r[0].index]}},d.MaskedDynamic=M;class L extends k{constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){const{enum:t,...s}=e;if(t){const e=t.map((e=>e.length)),i=Math.min(...e),n=Math.max(...e)-i;s.mask="*".repeat(i),n&&(s.mask+="["+"*".repeat(n)+"]"),this.enum=t}super._update(s)}doValidate(e){return this.enum.some((e=>0===e.indexOf(this.unmaskedValue)))&&super.doValidate(e)}}d.MaskedEnum=L;class P extends y{updateOptions(e){super.updateOptions(e)}_update(e){super._update({...e,validate:e.mask})}}d.MaskedFunction=P;class O extends y{constructor(e){super({...O.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){const e="^"+(this.allowNegative?"[+|\\-]?":""),t=(this.scale?"("+r(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(e+"\\d*"+t),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(r).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(r(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const t=e.split(this.radix);return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),t.join(this.radix)}doPrepareChar(e,t){void 0===t&&(t={}),e=this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(t.input&&t.raw||!t.input&&!t.raw)?e.replace(this._mapToRadixRegExp,this.radix):e);const[s,i]=super.doPrepareChar(e,t);return e&&!s&&(i.skip=!0),!s||this.allowPositive||this.value||"-"===s||i.aggregate(this._appendChar("-")),[s,i]}_separatorsCount(e,t){void 0===t&&(t=!1);let s=0;for(let i=0;i<e;++i)this._value.indexOf(this.thousandsSeparator,i)===i&&(++s,t&&(e+=this.thousandsSeparator.length));return s}_separatorsCountFromSlice(e){return void 0===e&&(e=this._value),this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(e,t,s){return void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t),this._removeThousandsSeparators(super.extractInput(e,t,s))}_appendCharRaw(e,t){if(void 0===t&&(t={}),!this.thousandsSeparator)return super._appendCharRaw(e,t);const s=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,i=this._separatorsCountFromSlice(s);this._value=this._removeThousandsSeparators(this.value);const n=super._appendCharRaw(e,t);this._value=this._insertThousandsSeparators(this._value);const a=t.tail&&t._beforeTailState?t._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(a);return n.tailShift+=(r-i)*this.thousandsSeparator.length,n.skip=!n.rawInserted&&e===this.thousandsSeparator,n}_findSeparatorAround(e){if(this.thousandsSeparator){const t=e-this.thousandsSeparator.length+1,s=this.value.indexOf(this.thousandsSeparator,t);if(s<=e)return s}return-1}_adjustRangeWithSeparators(e,t){const s=this._findSeparatorAround(e);s>=0&&(e=s);const i=this._findSeparatorAround(t);return i>=0&&(t=i+this.thousandsSeparator.length),[e,t]}remove(e,t){void 0===e&&(e=0),void 0===t&&(t=this.displayValue.length),[e,t]=this._adjustRangeWithSeparators(e,t);const s=this.value.slice(0,e),i=this.value.slice(t),n=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+i));const a=this._separatorsCountFromSlice(s);return new b({tailShift:(a-n)*this.thousandsSeparator.length})}nearestInputPos(e,t){if(!this.thousandsSeparator)return e;switch(t){case n.NONE:case n.LEFT:case n.FORCE_LEFT:{const s=this._findSeparatorAround(e-1);if(s>=0){const i=s+this.thousandsSeparator.length;if(e<i||this.value.length<=i||t===n.FORCE_LEFT)return s}break}case n.RIGHT:case n.FORCE_RIGHT:{const t=this._findSeparatorAround(e);if(t>=0)return t+this.thousandsSeparator.length}}return e}doValidate(e){let t=Boolean(this._removeThousandsSeparators(this.value).match(this._numberRegExp));if(t){const e=this.number;t=t&&!isNaN(e)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return t&&super.doValidate(e)}doCommit(){if(this.value){const e=this.number;let t=e;null!=this.min&&(t=Math.max(t,this.min)),null!=this.max&&(t=Math.min(t,this.max)),t!==e&&(this.unmaskedValue=this.format(t,this));let s=this.value;this.normalizeZeros&&(s=this._normalizeZeros(s)),this.padFractionalZeros&&this.scale>0&&(s=this._padFractionalZeros(s)),this._value=s}super.doCommit()}_normalizeZeros(e){const t=this._removeThousandsSeparators(e).split(this.radix);return t[0]=t[0].replace(/^(\D*)(0*)(\d*)/,((e,t,s,i)=>t+i)),e.length&&!/\d$/.test(t[0])&&(t[0]=t[0]+"0"),t.length>1&&(t[1]=t[1].replace(/0*$/,""),t[1].length||(t.length=1)),this._insertThousandsSeparators(t.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const t=e.split(this.radix);return t.length<2&&t.push(""),t[1]=t[1].padEnd(this.scale,"0"),t.join(this.radix)}doSkipInvalid(e,t,s){void 0===t&&(t={});const i=0===this.scale&&e!==this.thousandsSeparator&&(e===this.radix||e===O.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,t,s)&&!i}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,O.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(e){this.rawInputValue=this.format(e,this).replace(O.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(e){return(super.typedValueEquals(e)||O.EMPTY_VALUES.includes(e)&&O.EMPTY_VALUES.includes(this.typedValue))&&!(0===e&&""===this.value)}}O.UNMASKED_RADIX=".",O.EMPTY_VALUES=[...y.EMPTY_VALUES,0],O.DEFAULTS={mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[O.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:e=>
vendor: 9,487 bytes, line 3
3e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},d.MaskedNumber=O;const D={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function I(e,t,s){void 0===t&&(t=D.MASKED),void 0===s&&(s=D.MASKED);const i=p(e);return e=>i.runIsolated((i=>(i[t]=e,i[s])))}function F(e,t,s,i){return I(t,s,i)(e)}d.PIPE_TYPE=D,d.createPipe=I,d.pipe=F;try{globalThis.IMask=d}catch{}e.ChangeDetails=b,e.ChunksTailDetails=_,e.DIRECTION=n,e.HTMLContenteditableMaskElement=g,e.HTMLInputMaskElement=f,e.HTMLMaskElement=m,e.InputMask=v,e.MaskElement=h,e.Masked=y,e.MaskedDate=A,e.MaskedDynamic=M,e.MaskedEnum=L,e.MaskedFunction=P,e.MaskedNumber=O,e.MaskedPattern=k,e.MaskedRange=C,e.MaskedRegExp=T,e.PIPE_TYPE=D,e.PatternFixedDefinition=x,e.PatternInputDefinition=S,e.createMask=p,e.createPipe=I,e.default=d,e.forceDirection=a,e.normalizeOpts=u,e.pipe=F,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e=new Map,t={set(t,s,i){e.has(t)||e.set(t,new Map);const n=e.get(t);n.has(s)||0===n.size?n.set(s,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,s)=>e.has(t)&&e.get(t).get(s)||null,remove(t,s){if(!e.has(t))return;const i=e.get(t);i.delete(s),0===i.size&&e.delete(t)}},s="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),n=e=>{e.dispatchEvent(new Event(s))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,o=e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),s=e.closest("details:not([open])");if(!s)return t;if(s!==e){const t=e.closest("summary");if(t&&t.parentNode!==s)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),d=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d(e.parentNode):null},c=()=>{},u=e=>{e.offsetHeight},p=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],m=()=>"rtl"===document.documentElement.dir,f=e=>{var t;t=()=>{const t=p();if(t){const s=e.NAME,i=t.fn[s];t.fn[s]=e.jQueryInterface,t.fn[s].Constructor=e,t.fn[s].noConflict=()=>(t.fn[s]=i,e.jQueryInterface)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of h)e()})),h.push(t)):t()},g=(e,t=[],s=e)=>"function"==typeof e?e(...t):s,v=(e,t,i=!0)=>{if(!i)return void g(e);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:s}=window.getComputedStyle(e);const i=Number.parseFloat(t),n=Number.parseFloat(s);return i||n?(t=t.split(",")[0],s=s.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(s))):0})(t)+5;let r=!1;const o=({target:i})=>{i===t&&(r=!0,t.removeEventListener(s,o),g(e))};t.addEventListener(s,o),setTimeout((()=>{r||n(t)}),a)},b=(e,t,s,i)=>{const n=e.length;let a=e.indexOf(t);return-1===a?!s&&i?e[n-1]:e[0]:(a+=s?1:-1,i&&(a=(a+n)%n),e[Math.max(0,Math.min(a,n-1))])},w=/[^.]*(?=\..*)\.|.*/,y=/\..*/,_=/::\d+$/,E={};let x=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},T=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 k(e,t){return t&&`${t}::${x++}`||e.uidEvent||x++}function C(e){const t=k(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function A(e,t,s=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===s))}function M(e,t,s){const i="string"==typeof t,n=i?s:t||s;let a=D(e);return T.has(a)||(a=e),[i,n,a]}function L(e,t,s,i,n){if("string"!=typeof t||!e)return;let[a,r,o]=M(t,s,i);if(t in S){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=C(e),d=l[o]||(l[o]={}),c=A(d,r,a?s:null);if(c)return void(c.oneOff=c.oneOff&&n);const u=k(r,t.replace(w,"")),p=a?function(e,t,s){return function i(n){const a=e.querySelectorAll(t);for(let{target:r}=n;r&&r!==this;r=r.parentNode)for(const o of a)if(o===r)return F(n,{delegateTarget:r}),i.oneOff&&I.off(e,n.type,t,s),s.apply(r,[n])}}(e,s,r):function(e,t){return function s(i){return F(i,{delegateTarget:e}),s.oneOff&&I.off(e,i.type,t),t.apply(e,[i])}}(e,r);p.delegationSelector=a?s:null,p.callable=r,p.oneOff=n,p.uidEvent=u,d[u]=p,e.addEventListener(o,p,a)}function P(e,t,s,i,n){const a=A(t[s],i,n);a&&(e.removeEventListener(s,a,Boolean(n)),delete t[s][a.uidEvent])}function O(e,t,s,i){const n=t[s]||{};for(const[a,r]of Object.entries(n))a.includes(i)&&P(e,t,s,r.callable,r.delegationSelector)}function D(e){return e=e.replace(y,""),S[e]||e}const I={on(e,t,s,i){L(e,t,s,i,!1)},one(e,t,s,i){L(e,t,s,i,!0)},off(e,t,s,i){if("string"!=typeof t||!e)return;const[n,a,r]=M(t,s,i),o=r!==t,l=C(e),d=l[r]||{},c=t.startsWith(".");if(void 0===a){if(c)for(const s of Object.keys(l))O(e,l,s,t.slice(1));for(const[s,i]of Object.entries(d)){const n=s.replace(_,"");o&&!t.includes(n)||P(e,l,r,i.callable,i.delegationSelector)}}else{if(!Object.keys(d).length)return;P(e,l,r,a,n?s:null)}},trigger(e,t,s){if("string"!=typeof t||!e)return null;const i=p();let n=null,a=!0,r=!0,o=!1;t!==D(t)&&i&&(n=i.Event(t,s),i(e).trigger(n),a=!n.isPropagationStopped(),r=!n.isImmediatePropagationStopped(),o=n.isDefaultPrevented());const l=F(new Event(t,{bubbles:a,cancelable:!0}),s);return o&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&n&&n.preventDefault(),l}};function F(e,t={}){for(const[s,i]of Object.entries(t))try{e[s]=i}catch(t){Object.defineProperty(e,s,{configurable:!0,get:()=>i})}return e}function B(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function N(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const z={setDataAttribute(e,t,s){e.setAttribute(`data-bs-${N(t)}`,s)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${N(t)}`)},getDataAttributes(e){if(!e)return{};const t={},s=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const i of s){let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=B(e.dataset[i])}return t},getDataAttribute:(e,t)=>B(e.getAttribute(`data-bs-${N(t)}`))};class ${static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const s=a(t)?z.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof s?s:{},...a(t)?z.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,n]of Object.entries(t)){const t=e[i],r=a(t)?"element":null==(s=t)?`${s}`:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}var s}}class V extends ${constructor(e,s){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(s),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,s=!0){v(e,t,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const R=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let s=e.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&"#"!==s?s.trim():null}return i(t)},j={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>
vendor: 13,472 bytes, line 3
3[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const s=[];let i=e.parentNode.closest(t);for(;i;)s.push(i),i=i.parentNode.closest(t);return s},prev(e,t){let s=e.previousElementSibling;for(;s;){if(s.matches(t))return[s];s=s.previousElementSibling}return[]},next(e,t){let s=e.nextElementSibling;for(;s;){if(s.matches(t))return[s];s=s.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=>!l(e)&&o(e)))},getSelectorFromElement(e){const t=R(e);return t&&j.findOne(t)?t:null},getElementFromSelector(e){const t=R(e);return t?j.findOne(t):null},getMultipleElementsFromSelector(e){const t=R(e);return t?j.find(t):[]}},H=(e,t="hide")=>{const s=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;I.on(document,s,`[data-bs-dismiss="${i}"]`,(function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),l(this))return;const n=j.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(n)[t]()}))};class q extends V{static get NAME(){return"alert"}close(){if(I.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),I.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=q.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}H(q,"close"),f(q);const G='[data-bs-toggle="button"]';class Y extends V{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Y.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}I.on(document,"click.bs.button.data-api",G,(e=>{e.preventDefault();const t=e.target.closest(G);Y.getOrCreateInstance(t).toggle()})),f(Y);const X={endCallback:null,leftCallback:null,rightCallback:null},W={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class U extends ${constructor(e,t){super(),this._element=e,e&&U.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return X}static get DefaultType(){return W}static get NAME(){return"swipe"}dispose(){I.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,"pointerdown.bs.swipe",(e=>this._start(e))),I.on(this._element,"pointerup.bs.swipe",(e=>this._end(e))),this._element.classList.add("pointer-event")):(I.on(this._element,"touchstart.bs.swipe",(e=>this._start(e))),I.on(this._element,"touchmove.bs.swipe",(e=>this._move(e))),I.on(this._element,"touchend.bs.swipe",(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const K="next",Z="prev",Q="left",J="right",ee="slid.bs.carousel",te="carousel",se="active",ie={ArrowLeft:J,ArrowRight:Q},ne={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ae={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class re extends V{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=j.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===te&&this.cycle()}static get Default(){return ne}static get DefaultType(){return ae}static get NAME(){return"carousel"}next(){this._slide(K)}nextWhenVisible(){!document.hidden&&o(this._element)&&this.next()}prev(){this._slide(Z)}pause(){this._isSliding&&n(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,ee,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void I.one(this._element,ee,(()=>this.to(e)));const s=this._getItemIndex(this._getActive());if(s===e)return;const i=e>s?K:Z;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&I.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(I.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),I.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&U.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of j.find(".carousel-item img",this._element))I.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Q)),rightCallback:()=>this._slide(this._directionToOrder(J)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new U(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ie[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=j.findOne(".active",this._indicatorsElement);t.classList.remove(se),t.removeAttribute("aria-current");const s=j.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(se),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const s=this._getActive(),i=e===K,n=t||b(this._getItems(),s,i,this._config.wrap);if(n===s)return;const a=this._getItemIndex(n),r=t=>I.trigger(this._element,t,{relatedTarget:n,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:a});if(r("slide.bs.carousel").defaultPrevented)return;if(!s||!n)return;const o=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=n;const l=i?"carousel-item-start":"carousel-item-end",d=i?"carousel-item-next":"carousel-item-prev";n.classList.add(d),u(n),s.classList.add(l),n.classList.add(l),this._queueCallback((()=>{n.classList.remove(l,d),n.classList.add(se),s.classList.remove(se,d,l),this._isSliding=!1,r(ee)}),s,this._isAnimated()),o&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return j.findOne(".active.carousel-item",this._element)}_getItems(){return j.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return m()?e===Q?Z:K:e===Q?K:Z}_orderToDirection(e){return m()?e===Z?Q:J:e===Z?J:Q}static jQueryInterface(e){return this.each((function(){const t=re.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}I.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(e){const t=j.getElementFromSelector(this);if(!t||!t.classList.contains(te))return;e.preventDefault();const s=re.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(s.to(i),void s._maybeEnableCycle()):"next"===z.getDataAttribute(this,"slide")?(s.next(),void s._maybeEnableCycle()):(s.prev(),void s._maybeEnableCycle())})),I.on(window,"load.bs.carousel.data-api",(()=>{const e=j.find('[data-bs-ride="carousel"]');for(const t of e)re.getOrCreateInstance(t)})),f(re);const oe="show",le="collapse",de="collapsing",ce='[data-bs-toggle="collapse"]',ue={parent:null,toggle:!0},pe={parent:"(null|element)",toggle:"boolean"};class he extends V{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const s=j.find(ce);for(const e of s){const t=j.getSelectorFromElement(e),s=j.find(t).filter((e=>e===this._element));null!==t&&s.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ue}static get DefaultType(){return pe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>he.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(I.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(le),this._element.classList.add(de),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(de),this._element.classList.add(le,oe),this._element.style[t]="",I.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[t]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,u(this._element),this._element.classList.add(de),this._element.classList.remove(le,oe);for(const e of this._triggerArray){const t=j.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(de),this._element.classList.add(le),I.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(oe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ce);for(const t of e){const e=j.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=j.find(":scope .collapse .collapse",this._config.parent);return j.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const s of e)s.classList.toggle("collapsed",!t),s.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const s=he.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===s[e])throw new TypeError(`No method named "${e}"`);s[e]()}}))}}I.on(document,"click.bs.collapse.data-api",ce,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of j.getMultipleElementsFromSelector(this))he.getOrCreateInstance(e,{toggle:!1}).toggle()})),f(he);var me="top",fe="bottom",ge="right",ve="left",be="auto",we=[me,fe,ge,ve],ye="start",_e="end",Ee="clippingParents",xe="viewport",Se="popper",Te="reference",ke=we.reduce((function(e,t){return e.concat([t+"-"+ye,t+"-"+_e])}),[]),Ce=[].concat(we,[be]).reduce((function(e,t){return e.concat([t,t+"-"+ye,t+"-"+_e])}),[]),Ae="beforeRead",Me="read",Le="afterRead",Pe="beforeMain",Oe="main",De="afterMain",Ie="beforeWrite",Fe="write",Be="afterWrite",Ne=[Ae,Me,Le,Pe,Oe,De,Ie,Fe,Be];function ze(e){return e?(e.nodeName||"").toLowerCase():null}function $e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ve(e){return e instanceof $e(e).Element||e instanceof Element}function Re(e){return e instanceof $e(e).HTMLElement||e instanceof HTMLElement}function je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof $e(e).ShadowRoot||e instanceof ShadowRoot)}const He={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var s=t.styles[e]||{},i=t.attributes[e]||{},n=t.elements[e];
vendor: 4,679 bytes, line 3
3Re(n)&&ze(n)&&(Object.assign(n.style,s),Object.keys(i).forEach((function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,s={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,s.popper),t.styles=s,t.elements.arrow&&Object.assign(t.elements.arrow.style,s.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],n=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:s[e]).reduce((function(e,t){return e[t]="",e}),{});Re(i)&&ze(i)&&(Object.assign(i.style,a),Object.keys(n).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function qe(e){return e.split("-")[0]}var Ge=Math.max,Ye=Math.min,Xe=Math.round;function We(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(We())}function Ke(e,t,s){void 0===t&&(t=!1),void 0===s&&(s=!1);var i=e.getBoundingClientRect(),n=1,a=1;t&&Re(e)&&(n=e.offsetWidth>0&&Xe(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Xe(i.height)/e.offsetHeight||1);var r=(Ve(e)?$e(e):window).visualViewport,o=!Ue()&&s,l=(i.left+(o&&r?r.offsetLeft:0))/n,d=(i.top+(o&&r?r.offsetTop:0))/a,c=i.width/n,u=i.height/a;return{width:c,height:u,top:d,right:l+c,bottom:d+u,left:l,x:l,y:d}}function Ze(e){var t=Ke(e),s=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-s)<=1&&(s=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:s,height:i}}function Qe(e,t){var s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&je(s)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Je(e){return $e(e).getComputedStyle(e)}function et(e){return["table","td","th"].indexOf(ze(e))>=0}function tt(e){return((Ve(e)?e.ownerDocument:e.document)||window.document).documentElement}function st(e){return"html"===ze(e)?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||tt(e)}function it(e){return Re(e)&&"fixed"!==Je(e).position?e.offsetParent:null}function nt(e){for(var t=$e(e),s=it(e);s&&et(s)&&"static"===Je(s).position;)s=it(s);return s&&("html"===ze(s)||"body"===ze(s)&&"static"===Je(s).position)?t:s||function(e){var t=/firefox/i.test(We());if(/Trident/i.test(We())&&Re(e)&&"fixed"===Je(e).position)return null;var s=st(e);for(je(s)&&(s=s.host);Re(s)&&["html","body"].indexOf(ze(s))<0;){var i=Je(s);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return s;s=s.parentNode}return null}(e)||t}function at(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function rt(e,t,s){return Ge(e,Ye(t,s))}function ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function lt(e,t){return t.reduce((function(t,s){return t[s]=e,t}),{})}const dt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,s=e.state,i=e.name,n=e.options,a=s.elements.arrow,r=s.modifiersData.popperOffsets,o=qe(s.placement),l=at(o),d=[ve,ge].indexOf(o)>=0?"height":"width";if(a&&r){var c=function(e,t){return ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:lt(e,we))}(n.padding,s),u=Ze(a),p="y"===l?me:ve,h="y"===l?fe:ge,m=s.rects.reference[d]+s.rects.reference[l]-r[l]-s.rects.popper[d],f=r[l]-s.rects.reference[l],g=nt(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-f/2,w=c[p],y=v-u[d]-c[h],_=v/2-u[d]/2+b,E=rt(w,_,y),x=l;s.modifiersData[i]=((t={})[x]=E,t.centerOffset=E-_,t)}},effect:function(e){var t=e.state,s=e.options.element,i=void 0===s?"[data-popper-arrow]":s;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Qe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ct(e){return e.split("-")[1]}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pt(e){var t,s=e.popper,i=e.popperRect,n=e.placement,a=e.variation,r=e.offsets,o=e.position,l=e.gpuAcceleration,d=e.adaptive,c=e.roundOffsets,u=e.isFixed,p=r.x,h=void 0===p?0:p,m=r.y,f=void 0===m?0:m,g="function"==typeof c?c({x:h,y:f}):{x:h,y:f};h=g.x,f=g.y;var v=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),w=ve,y=me,_=window;if(d){var E=nt(s),x="clientHeight",S="clientWidth";E===$e(s)&&"static"!==Je(E=tt(s)).position&&"absolute"===o&&(x="scrollHeight",S="scrollWidth"),(n===me||(n===ve||n===ge)&&a===_e)&&(y=fe,f-=(u&&E===_&&_.visualVie
vendor: 8,513 bytes, line 3
3wport?_.visualViewport.height:E[x])-i.height,f*=l?1:-1),n!==ve&&(n!==me&&n!==fe||a!==_e)||(w=ge,h-=(u&&E===_&&_.visualViewport?_.visualViewport.width:E[S])-i.width,h*=l?1:-1)}var T,k=Object.assign({position:o},d&&ut),C=!0===c?function(e,t){var s=e.x,i=e.y,n=t.devicePixelRatio||1;return{x:Xe(s*n)/n||0,y:Xe(i*n)/n||0}}({x:h,y:f},$e(s)):{x:h,y:f};return h=C.x,f=C.y,l?Object.assign({},k,((T={})[y]=b?"0":"",T[w]=v?"0":"",T.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",T)):Object.assign({},k,((t={})[y]=b?f+"px":"",t[w]=v?h+"px":"",t.transform="",t))}const ht={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,s=e.options,i=s.gpuAcceleration,n=void 0===i||i,a=s.adaptive,r=void 0===a||a,o=s.roundOffsets,l=void 0===o||o,d={placement:qe(t.placement),variation:ct(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,pt(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,pt(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var mt={passive:!0};const ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,s=e.instance,i=e.options,n=i.scroll,a=void 0===n||n,r=i.resize,o=void 0===r||r,l=$e(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach((function(e){e.addEventListener("scroll",s.update,mt)})),o&&l.addEventListener("resize",s.update,mt),function(){a&&d.forEach((function(e){e.removeEventListener("scroll",s.update,mt)})),o&&l.removeEventListener("resize",s.update,mt)}},data:{}};var gt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,(function(e){return gt[e]}))}var bt={start:"end",end:"start"};function wt(e){return e.replace(/start|end/g,(function(e){return bt[e]}))}function yt(e){var t=$e(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _t(e){return Ke(tt(e)).left+yt(e).scrollLeft}function Et(e){var t=Je(e),s=t.overflow,i=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+i)}function xt(e){return["html","body","#document"].indexOf(ze(e))>=0?e.ownerDocument.body:Re(e)&&Et(e)?e:xt(st(e))}function St(e,t){var s;void 0===t&&(t=[]);var i=xt(e),n=i===(null==(s=e.ownerDocument)?void 0:s.body),a=$e(i),r=n?[a].concat(a.visualViewport||[],Et(i)?i:[]):i,o=t.concat(r);return n?o:o.concat(St(st(r)))}function Tt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kt(e,t,s){return t===xe?Tt(function(e,t){var s=$e(e),i=tt(e),n=s.visualViewport,a=i.clientWidth,r=i.clientHeight,o=0,l=0;if(n){a=n.width,r=n.height;var d=Ue();(d||!d&&"fixed"===t)&&(o=n.offsetLeft,l=n.offsetTop)}return{width:a,height:r,x:o+_t(e),y:l}}(e,s)):Ve(t)?function(e,t){var s=Ke(e,!1,"fixed"===t);return s.top=s.top+e.clientTop,s.left=s.left+e.clientLeft,s.bottom=s.top+e.clientHeight,s.right=s.left+e.clientWidth,s.width=e.clientWidth,s.height=e.clientHeight,s.x=s.left,s.y=s.top,s}(t,s):Tt(function(e){var t,s=tt(e),i=yt(e),n=null==(t=e.ownerDocument)?void 0:t.body,a=Ge(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=Ge(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),o=-i.scrollLeft+_t(e),l=-i.scrollTop;return"rtl"===Je(n||s).direction&&(o+=Ge(s.clientWidth,n?n.clientWidth:0)-a),{width:a,height:r,x:o,y:l}}(tt(e)))}function Ct(e){var t,s=e.reference,i=e.element,n=e.placement,a=n?qe(n):null,r=n?ct(n):null,o=s.x+s.width/2-i.width/2,l=s.y+s.height/2-i.height/2;switch(a){case me:t={x:o,y:s.y-i.height};break;case fe:t={x:o,y:s.y+s.height};break;case ge:t={x:s.x+s.width,y:l};break;case ve:t={x:s.x-i.width,y:l};break;default:t={x:s.x,y:s.y}}var d=a?at(a):null;if(null!=d){var c="y"===d?"height":"width";switch(r){case ye:t[d]=t[d]-(s[c]/2-i[c]/2);break;case _e:t[d]=t[d]+(s[c]/2-i[c]/2)}}return t}function At(e,t){void 0===t&&(t={});var s=t,i=s.placement,n=void 0===i?e.placement:i,a=s.strategy,r=void 0===a?e.strategy:a,o=s.boundary,l=void 0===o?Ee:o,d=s.rootBoundary,c=void 0===d?xe:d,u=s.elementContext,p=void 0===u?Se:u,h=s.altBoundary,m=void 0!==h&&h,f=s.padding,g=void 0===f?0:f,v=ot("number"!=typeof g?g:lt(g,we)),b=p===Se?Te:Se,w=e.rects.popper,y=e.elements[m?b:p],_=function(e,t,s,i){var n="clippingParents"===t?function(e){var t=St(st(e)),s=["absolute","fixed"].indexOf(Je(e).position)>=0&&Re(e)?nt(e):e;return Ve(s)?t.filter((function(e){return Ve(e)&&Qe(e,s)&&"body"!==ze(e)})):[]}(e):[].concat(t),a=[].concat(n,[s]),r=a[0],o=a.reduce((function(t,s){var n=kt(e,s,i);return t.top=Ge(n.top,t.top),t.right=Ye(n.right,t.right),t.bottom=Ye(n.bottom,t.bottom),t.left=Ge(n.left,t.left),t}),kt(e,r,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(Ve(y)?y:y.contextElement||tt(e.elements.popper),l,c,r),E=Ke(e.elements.reference),x=Ct({reference:E,element:w,strategy:"absolute",placement:n}),S=Tt(Object.assign({},w,x)),T=p===Se?S:E,k={top:_.top-T.top+v.top,bottom:T.bottom-_.bottom+v.bottom,left:_.left-T.left+v.left,right:T.right-_.right+v.right},C=e.modifiersData.offset;if(p===Se&&C){var A=C[n];Object.keys(k).forEach((function(e){var t=[ge,fe].indexOf(e)>=0?1:-1,s=[me,fe].indexOf(e)>=0?"y":"x";k[e]+=A[s]*t}))}return k}const Mt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,s=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var n=s.mainAxis,a=void 0===n||n,r=s.altAxis,o=void 0===r||r,l=s.fallbackPlacements,d=s.padding,c=s.boundary,u=s.rootBoundary,p=s.altBoundary,h=s.flipVariations,m=void 0===h||h,f=s.allowedAutoPlacements,g=t.options.placement,v=qe(g),b=l||(v!==g&&m?function(e){if(qe(e)===be)return[];var t=vt(e);return[wt(e),t,wt(t)]}(g):[vt(g)]),w=[g].concat(b).reduce((function(e,s){return e.concat(qe(s)===be?function(e,t){void 0===t&&(t={});var s=t,i=s.placement,n=s.boundary,a=s.rootBoundary,r=s.padding,o=s.flipVariations,l=s.allowedAutoPlacements,d=void 0===l?Ce:l,c=ct(i),u=c?o?ke:ke.filter((function(e){return ct(e)===c})):we,p=u.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=u);var h=p.reduce((function(t,s){return t[s]=At(e,{placement:s,boundary:n,rootBoundary:a,padding:r})[qe(s)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:s,boundary:c,rootBoundary:u,padding:d,flipVariations:m,allowedAutoPlacements:f}):s)}),[]),y=t.rects.reference,_=t.rects.popper,E=new Map,x=!0,S=w[0],T=0;T<w.length;T++){var k=w[T],C=qe(k),A=ct(k)===ye,M=[me,fe].indexOf(C)>=0,L=M?"width":"height",P=At(t,{placement:k,boundary:c,rootBoundary:u,altBoundary:p,padding:d}),O=M?A?ge:ve:A?fe:me;y[L]>_[L]&&(O=vt(O));var D=vt(O),I=[];if(a&&I.push(P[C]<=0),o&&I.push(P[O]<=0,P[D]<=0),I.every((function(e){return e}))){S=k,x=!1;break}E.set(k,I)}if(x)for(var F=function(e){var t=w.find((function(t){var s=E.get(t);if(s)return s.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},B=m?3:1;B>0&&"break"!==F(B);B--);t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Lt(e,t,s){return void 0===s&&(s={x:0,y:0}),{top:e.top-t.height-s.y,right:e.right-t.width+s.x,bottom:e.bottom-t.height+s.y,left:e.left-t.width-s.x}}function Pt(e){return[me,ge,fe,ve].some((function(t){return e[t]>=0}))}const Ot={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,s=e.name,i=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,r=At(t,{elementContext:"reference"}),o=At(t,{altBoundary:!0}),l=Lt(r,i),d=Lt(o,n,a),c=Pt(l),u=Pt(d);t.modifiersData[s]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}},Dt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,s=e.options,i=e.name,n=s.offset,a=void 0===n?[0,0]:n,r=Ce.reduce((function(e,s){return e[s]=function(e,t,s){var i=qe(e),n=[ve,me].indexOf(i)>=0?-1:1,a="function"==typeof s?s(Object.assign({},t,{placement:e}
vendor: 4,288 bytes, line 3
3)):s,r=a[0],o=a[1];return r=r||0,o=(o||0)*n,[ve,ge].indexOf(i)>=0?{x:o,y:r}:{x:r,y:o}}(s,t.rects,a),e}),{}),o=r[t.placement],l=o.x,d=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=r}},It={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,s=e.name;t.modifiersData[s]=Ct({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ft={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,s=e.options,i=e.name,n=s.mainAxis,a=void 0===n||n,r=s.altAxis,o=void 0!==r&&r,l=s.boundary,d=s.rootBoundary,c=s.altBoundary,u=s.padding,p=s.tether,h=void 0===p||p,m=s.tetherOffset,f=void 0===m?0:m,g=At(t,{boundary:l,rootBoundary:d,padding:u,altBoundary:c}),v=qe(t.placement),b=ct(t.placement),w=!b,y=at(v),_="x"===y?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,S=t.rects.popper,T="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,k="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(E){if(a){var M,L="y"===y?me:ve,P="y"===y?fe:ge,O="y"===y?"height":"width",D=E[y],I=D+g[L],F=D-g[P],B=h?-S[O]/2:0,N=b===ye?x[O]:S[O],z=b===ye?-S[O]:-x[O],$=t.elements.arrow,V=h&&$?Ze($):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},j=R[L],H=R[P],q=rt(0,x[O],V[O]),G=w?x[O]/2-B-q-j-k.mainAxis:N-q-j-k.mainAxis,Y=w?-x[O]/2+B+q+H+k.mainAxis:z+q+H+k.mainAxis,X=t.elements.arrow&&nt(t.elements.arrow),W=X?"y"===y?X.clientTop||0:X.clientLeft||0:0,U=null!=(M=null==C?void 0:C[y])?M:0,K=D+Y-U,Z=rt(h?Ye(I,D+G-U-W):I,D,h?Ge(F,K):F);E[y]=Z,A[y]=Z-D}if(o){var Q,J="x"===y?me:ve,ee="x"===y?fe:ge,te=E[_],se="y"===_?"height":"width",ie=te+g[J],ne=te-g[ee],ae=-1!==[me,ve].indexOf(v),re=null!=(Q=null==C?void 0:C[_])?Q:0,oe=ae?ie:te-x[se]-S[se]-re+k.altAxis,le=ae?te+x[se]+S[se]-re-k.altAxis:ne,de=h&&ae?function(e,t,s){var i=rt(e,t,s);return i>s?s:i}(oe,te,le):rt(h?oe:ie,te,h?le:ne);E[_]=de,A[_]=de-te}t.modifiersData[i]=A}},requiresIfExists:["offset"]};function Bt(e,t,s){void 0===s&&(s=!1);var i,n,a=Re(t),r=Re(t)&&function(e){var t=e.getBoundingClientRect(),s=Xe(t.width)/e.offsetWidth||1,i=Xe(t.height)/e.offsetHeight||1;return 1!==s||1!==i}(t),o=tt(t),l=Ke(e,r,s),d={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!s)&&(("body"!==ze(t)||Et(o))&&(d=(i=t)!==$e(i)&&Re(i)?{scrollLeft:(n=i).scrollLeft,scrollTop:n.scrollTop}:yt(i)),Re(t)?((c=Ke(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=_t(o))),{x:l.left+d.scrollLeft-c.x,y:l.top+d.scrollTop-c.y,width:l.width,height:l.height}}function Nt(e){var t=new Map,s=new Set,i=[];function n(e){s.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!s.has(e)){var i=t.get(e);i&&n(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){s.has(e.name)||n(e)})),i}var zt={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Vt(e){void 0===e&&(e={});var t=e,s=t.defaultModifiers,i=void 0===s?[]:s,n=t.defaultOptions,a=void 0===n?zt:n;return function(e,t,s){void 0===s&&(s=a);var n,r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},zt,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],d=!1,c={state:o,setOptions:function(s){var n="function"==typeof s?s(o.options):s;u(),o.options=Object.assign({},a,o.options,n),o.scrollParents={reference:Ve(e)?St(e):e.contextElement?St(e.contextElement):[],popper:St(t)};var r,d,p=function(e){var t=Nt(e);return Ne.reduce((function(e,s){return e.concat(t.filter((function(e){return e.phase===s})))}),[])}((r=[].concat(i,o.options.modifiers),d=r.reduce((function(e,t){var s=e[t.name];return e[t.name]=s?Object.assign({},s,t,{options:Object.assign({},s.options,t.options),data:Object.assign({},s.data,t.data)}):t,e}),{}),Object.keys(d).map((function(e){return d[e]}))));return o.orderedModifiers=p.filter((function(e){return e.enabled}
vendor: 3,179 bytes, line 3
3)),o.orderedModifiers.forEach((function(e){var t=e.name,s=e.options,i=void 0===s?{}:s,n=e.effect;if("function"==typeof n){var a=n({state:o,name:t,instance:c,options:i});l.push(a||function(){})}})),c.update()},forceUpdate:function(){if(!d){var e=o.elements,t=e.reference,s=e.popper;if($t(t,s)){o.rects={reference:Bt(t,nt(s),"fixed"===o.options.strategy),popper:Ze(s)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<o.orderedModifiers.length;i++)if(!0!==o.reset){var n=o.orderedModifiers[i],a=n.fn,r=n.options,l=void 0===r?{}:r,u=n.name;"function"==typeof a&&(o=a({state:o,options:l,name:u,instance:c})||o)}else o.reset=!1,i=-1}}},update:(n=function(){return new Promise((function(e){c.forceUpdate(),e(o)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(n())}))}))),r}),destroy:function(){u(),d=!0}};if(!$t(e,t))return c;function u(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(s).then((function(e){!d&&s.onFirstUpdate&&s.onFirstUpdate(e)})),c}}var Rt=Vt(),jt=Vt({defaultModifiers:[ft,It,ht,He]}),Ht=Vt({defaultModifiers:[ft,It,ht,He,Dt,Mt,Ft,dt,Ot]});const qt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:De,afterRead:Le,afterWrite:Be,applyStyles:He,arrow:dt,auto:be,basePlacements:we,beforeMain:Pe,beforeRead:Ae,beforeWrite:Ie,bottom:fe,clippingParents:Ee,computeStyles:ht,createPopper:Ht,createPopperBase:Rt,createPopperLite:jt,detectOverflow:At,end:_e,eventListeners:ft,flip:Mt,hide:Ot,left:ve,main:Oe,modifierPhases:Ne,offset:Dt,placements:Ce,popper:Se,popperGenerator:Vt,popperOffsets:It,preventOverflow:Ft,read:Me,reference:Te,right:ge,start:ye,top:me,variationPlacements:ke,viewport:xe,write:Fe},Symbol.toStringTag,{value:"Module"})),Gt="dropdown",Yt="ArrowUp",Xt="ArrowDown",Wt="click.bs.dropdown.data-api",Ut="keydown.bs.dropdown.data-api",Kt="show",Zt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Qt=`${Zt}.show`,Jt=".dropdown-menu",es=m()?"top-end":"top-start",ts=m()?"top-start":"top-end",ss=m()?"bottom-end":"bottom-start",is=m()?"bottom-start":"bottom-end",ns=m()?"left-start":"right-start",as=m()?"right-start":"left-start",rs={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},os={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ls extends V{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=j.next(this._element,Jt)[0]||j.prev(this._element,Jt)[0]||j.findOne(Jt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return rs}static get DefaultType(){return os}static get NAME(){return Gt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!I.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
3navbar-nav"))for(const e of[].concat(...document.body.children))I.on(e,"mouseover",c);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Kt),this._element.classList.add(Kt),I.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!I.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",c);this._popper&&this._popper.destroy(),this._menu.classList.remove(Kt),this._element.classList.remove(Kt),this._element.setAttribute("aria-expanded","false"),z.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Gt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===qt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:a(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Ht(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Kt)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return ns;if(e.classList.contains("dropstart"))return as;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ts:es:t?is:ss}
vendor: 10,243 bytes, line 3
3_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(z.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...g(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const s=j.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>o(e)));s.length&&b(s,t,e===Xt,!s.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=ls.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=j.find(Qt);for(const s of t){const t=ls.getInstance(s);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),n=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!n||"outside"===t._config.autoClose&&n)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:t._element};"click"===e.type&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),s="Escape"===e.key,i=[Yt,Xt].includes(e.key);if(!i&&!s)return;if(t&&!s)return;e.preventDefault();const n=this.matches(Zt)?this:j.prev(this,Zt)[0]||j.next(this,Zt)[0]||j.findOne(Zt,e.delegateTarget.parentNode),a=ls.getOrCreateInstance(n);if(i)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),n.focus())}}I.on(document,Ut,Zt,ls.dataApiKeydownHandler),I.on(document,Ut,Jt,ls.dataApiKeydownHandler),I.on(document,Wt,ls.clearMenus),I.on(document,"keyup.bs.dropdown.data-api",ls.clearMenus),I.on(document,Wt,Zt,(function(e){e.preventDefault(),ls.getOrCreateInstance(this).toggle()})),f(ls);const ds="show",cs="mousedown.bs.backdrop",us={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ps={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class hs extends ${constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return us}static get DefaultType(){return ps}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&u(t),t.classList.add(ds),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(ds),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(I.off(this._element,cs),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),I.on(e,cs,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const ms=".bs.focustrap",fs="backward",gs={autofocus:!0,trapElement:null},vs={autofocus:"boolean",trapElement:"element"};class bs extends ${constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gs}static get DefaultType(){return vs}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,ms),I.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),I.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,ms))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const s=j.focusableChildren(t);0===s.length?t.focus():this._lastTabNavDirection===fs?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?fs:"forward")}}const ws=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ys=".sticky-top",_s="padding-right",Es="margin-right";class xs{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,_s,(t=>t+e)),this._setElementAttributes(ws,_s,(t=>t+e)),this._setElementAttributes(ys,Es,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,_s),this._resetElementAttributes(ws,_s),this._resetElementAttributes(ys,Es)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,s){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const n=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${s(Number.parseFloat(n))}px`)}))}_saveInitialAttribute(e,t){const s=e.style.getPropertyValue(t);s&&z.setDataAttribute(e,t,s)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const s=z.getDataAttribute(e,t);null!==s?(z.removeDataAttribute(e,t),e.style.setProperty(t,s)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(a(e))t(e);else for(const s of j.find(e,this._element))t(s)}}const Ss=".bs.modal",Ts="hidden.bs.modal",ks="show.bs.modal",Cs="modal-open",As="show",Ms="modal-static",Ls={backdrop:!0,focus:!0,keyboard:!0},Ps={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Os extends V{constructor(e,t){super(e,t),this._dialog=j.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new xs,this._addEventListeners()}static get Default(){return Ls}static get DefaultType(){return Ps}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||I.trigger(this._element,ks,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Cs),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(As),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){I.off(window,Ss),I.off(this._dialog,Ss),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hs({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new bs({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=j.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),u(this._element),this._element.classList.add(As),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,"keydown.dismiss.bs.modal",(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),I.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,"mousedown.dismiss.bs.modal",(e=>{I.one(this._element,"click.dismiss.bs.modal",(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Cs),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,Ts)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Ms)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Ms),this._queueCallback((()=>{this._element.classList.remove(Ms),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),s=t>0;if(s&&!e){const e=m()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!s&&e){const e=m()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const s=Os.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===s[e])throw new TypeError(`No method n
3amed "${e}"`);s[e](t)}}))}}I.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=j.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),I.one(t,ks,(e=>{e.defaultPrevented||I.one(t,Ts,(()=>{o(this)&&this.focus()}))}));const s=j.findOne(".modal.show");s&&Os.getInstance(s).hide(),Os.getOrCreateInstance(t).toggle(this)})),H(Os),f(Os);const Ds="show",Is="showing",Fs="hiding",Bs=".offcanvas.show",Ns="hidePrevented.bs.offcanvas",zs="hidden.bs.offcanvas",$s={backdrop:!0,keyboard:!0,scroll:!1},Vs={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Rs extends V{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $s}static get DefaultType(){return Vs}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||I.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new xs).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Is),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Ds),this._element.classList.remove(Is),I.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Fs),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Ds,Fs),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new xs).reset(),I.trigger(this._element,zs)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new hs({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Ns)}:null})}_initializeFocusTrap(){return new bs({trapElement:this._element})}_addEventListeners(){I.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Ns))}))}static jQueryInterface(e){return this.each((function(){const t=Rs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}I.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=j.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;I.one(t,zs,(()=>{o(this)&&this.focus()}));const s=j.findOne(Bs);s&&s!==t&&Rs.getInstance(s).hide(),Rs.getOrCreateInstance(t).toggle(this)})),I.on(window,"load.bs.offcanvas.data-api",(()=>{for(const e of j.find(Bs))Rs.getOrCreateInstance(e).show()})),I.on(window,"resize.bs.offcanvas",(()=>{for(const e of j.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Rs.getOrCreateInstance(e).hide()})),H(Rs),f(Rs);const js={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},Hs=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qs=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gs=(e,t)=>{const s=e.nodeName.toLowerCase();return t.includes(s)?!Hs.has(s)||Boolean(qs.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(s)))},Ys={allowList:js,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Xs={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ws={entry:"(string|element|function|null)",selector:"(string|element)"};class Us extends ${constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ys}static get DefaultType(){return Xs}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>
vendor: 10,007 bytes, line 3
3this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,s]of Object.entries(this._config.content))this._setContent(e,s,t);const t=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&t.classList.add(...s.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,s]of Object.entries(e))super._typeCheckConfig({selector:t,entry:s},Ws)}_setContent(e,t,s){const i=j.findOne(s,e);i&&((t=this._resolvePossibleFunction(t))?a(t)?this._putElementInTemplate(r(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,s){if(!e.length)return e;if(s&&"function"==typeof s)return s(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),n=[].concat(...i.body.querySelectorAll("*"));for(const e of n){const s=e.nodeName.toLowerCase();if(!Object.keys(t).includes(s)){e.remove();continue}const i=[].concat(...e.attributes),n=[].concat(t["*"]||[],t[s]||[]);for(const t of i)Gs(t,n)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return g(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Ks=new Set(["sanitize","allowList","sanitizeFn"]),Zs="fade",Qs="show",Js=".modal",ei="hide.bs.modal",ti="hover",si="focus",ii={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},ni={allowList:js,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ai={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ri extends V{constructor(e,t){if(void 0===qt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ni}static get DefaultType(){return ai}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(Js),ei,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=I.trigger(this._element,this.constructor.eventName("show")),t=(d(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(s),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(s),s.classList.add(Qs),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.on(e,"mouseover",c);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Qs),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",c);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Zs,Qs),t.classList.add(`bs-${this.constructor.NAME}-auto`);const s=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",s),this._isAnimated()&&t.classList.add(Zs),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Us({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Zs)}_isShown(){return this.tip&&this.tip.classList.contains(Qs)}_createPopper(e){const t=g(this._config.placement,[this,e,this._element]),s=ii[t.toUpperCase()];return Ht(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return g(e,[this._element])}_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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...g(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===ti?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),s=t===ti?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?si:ti]=!0,t._enter()})),I.on(this._element,s,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?si:ti]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(Js),ei,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=z.getDataAttributes(this._element);for(const e of Object.keys(t))Ks.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,s]of Object.entries(this._config))this.constructor.Default[t]!==s&&(e[t]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=ri.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
3amed "${e}"`);t[e]()}}))}}f(ri);const oi={...ri.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},li={...ri.DefaultType,content:"(null|string|element|function)"};class di extends ri{static get Default(){return oi}static get DefaultType(){return li}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=di.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}f(di);const ci="click.bs.scrollspy",ui="active",pi="[href]",hi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},mi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class fi extends V{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return hi}static get DefaultType(){return mi}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(I.off(this._config.target,ci),I.on(this._config.target,ci,pi,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const s=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(s.scrollTo)return void s.scrollTo({top:i,behavior:"smooth"});s.scrollTop=i}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),s=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,n=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(n&&e){if(s(a),!i)return}else n||e||s(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=j.find(pi,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=j.findOne(decodeURI(t.hash),this._element);o(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ui),this._activateParents(e),I.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))j.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ui);else for(const t of j.parents(e,".nav, .list-group"))for(const e of j.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(ui)}_clearActiveClass(e){e.classList.remove(ui);const t=j.find("[href].active",e);for(const e of t)e.classList.remove(ui)}static jQueryInterface(e){return this.each((function(){const t=fi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
3amed "${e}"`);t[e]()}}))}}I.on(window,"load.bs.scrollspy.data-api",(()=>{for(const e of j.find('[data-bs-spy="scroll"]'))fi.getOrCreateInstance(e)})),f(fi);const gi="ArrowLeft",vi="ArrowRight",bi="ArrowUp",wi="ArrowDown",yi="active",_i="fade",Ei="show",xi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Si=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${xi}`;class Ti extends V{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,"keydown.bs.tab",(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),s=t?I.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;I.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(yi),this._activate(j.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),I.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(Ei)}),e,e.classList.contains(_i)))}_deactivate(e,t){e&&(e.classList.remove(yi),e.blur(),this._deactivate(j.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),I.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(Ei)}),e,e.classList.contains(_i)))}_keydown(e){if(![gi,vi,bi,wi].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[vi,wi].includes(e.key),s=b(this._getChildren().filter((e=>!l(e))),e.target,t,!0);s&&(s.focus({preventScroll:!0}),Ti.getOrCreateInstance(s).show())}_getChildren(){return j.find(Si,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",t),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=j.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const s=this._getOuterElement(e);if(!s.classList.contains("dropdown"))return;const i=(e,i)=>{const n=j.findOne(e,s);n&&n.classList.toggle(i,t)};i(".dropdown-toggle",yi),i(".dropdown-menu",Ei),s.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,s){e.hasAttribute(t)||e.setAttribute(t,s)}_elemIsActive(e){return e.classList.contains(yi)}_getInnerElement(e){return e.matches(Si)?e:j.findOne(Si,e)}
3_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Ti.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(document,"click.bs.tab",xi,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Ti.getOrCreateInstance(this).show()})),I.on(window,"load.bs.tab",(()=>{for(const e of j.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Ti.getOrCreateInstance(e)})),f(Ti);const ki="hide",Ci="show",Ai="showing",Mi={animation:"boolean",autohide:"boolean",delay:"number"},Li={animation:!0,autohide:!0,delay:5e3};class Pi extends V{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Li}static get DefaultType(){return Mi}static get NAME(){return"toast"}show(){I.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(ki),u(this._element),this._element.classList.add(Ci,Ai),this._queueCallback((()=>{this._element.classList.remove(Ai),I.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(Ai),this._queueCallback((()=>{this._element.classList.add(ki),this._element.classList.remove(Ai,Ci),I.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ci),super.dispose()}isShown(){return this._element.classList.contains(Ci)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(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}if(t)return void this._clearTimeout();const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),I.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),I.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),I.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return H(Pi),f(Pi),{Alert:q,Button:Y,Carousel:re,Collapse:he,Dropdown:ls,Modal:Os,Offcanvas:Rs,Popover:di,ScrollSpy:fi,Tab:Ti,Toast:Pi,Tooltip:ri}})),
4/*! For license information please see mmenu.js.LICENSE.txt */
5(()=>{"use strict";const e={hooks:{},navbar:{add:!0,title:"Menu",titleLink:"parent"},slidingSubmenus:!0},t={classNames:{divider:"Divider",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",vertical:"Vertical"},language:null,panelNodetype:["ul","ol","div"],screenReader:{closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},s=(e,t)=>{"object"!=i(e)&&(e={}),"object"!=i(t)&&(t={});for(let n in t)t.hasOwnProperty(n)&&(void 0===e[n]?e[n]=t[n]:"object"==i(e[n])&&s(e[n],t[n]));return e},i=e=>({}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()),n=()=>"mm-"+a++;let a=0;const r=e=>"mm-clone-"==e.slice(0,9)?e:`mm-clone-${e}`,o=e=>"mm-clone-"==e.slice(0,9)?e.slice(9):e,l={},d=(e,t)=>{void 0===l[t]&&(l[t]={}),s(l[t],e)},c=e=>{const t=e.split("."),s=document.createElement(t.shift());return s.classList.add(...t),s},u=(e,t)=>t.length?[].slice.call(e.querySelectorAll(t)):[],p=(e,t)=>{const s=Array.prototype.slice.call(e.children);return t?s.filter((e=>e.matches(t))):s},h=(e,t)=>{let s=[],i=e.parentElement;for(;i;)s.push(i),i=i.parentElement;return t?s.filter((e=>e.matches(t))):s},m=e=>e.filter((e=>!e.matches(".mm-hidden"))),f=e=>{let t=[];return m(e).forEach((e=>{t.push(...p(e,"a.mm-listitem__text"))})),t.filter((e=>!e.matches(".mm-btn--next")))},g=(e,t,s)=>{e.matches("."+t)&&e.classList.add(s)};let v={};const b=(e,t,s)=>{"number"==typeof e&&(e="(min-width: "+e+"px)"),v[e]=v[e]||[],v[e].push({yes:t,no:s})},w=(e,t)=>{var s=t.matches?"yes":"no";for(let t=0;t<v[e].length;t++)v[e][t][s]()};var y,_,E,x=function(e,t,s){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,s),s},S=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)};d({"Close submenu":"Untermenü schließen",Menu:"Menü","Open submenu":"Untermenü öffnen","Toggle submenu":"Untermenü wechseln"},"de"),d({"Close submenu":"بستن زیرمنو",Menu:"منو","Open submenu":"بازکردن زیرمنو","Toggle submenu":"سوییچ زیرمنو"},"fa"),d({"Close submenu":"Submenu sluiten",Menu:"Menu","Open submenu":"Submenu openen","Toggle submenu":"Submenu wisselen"}
vendor: 35,428 bytes, line 5
5,"nl"),d({"Close submenu":"Fechar submenu",Menu:"Menu","Open submenu":"Abrir submenu","Toggle submenu":"Alternar submenu"},"pt_br"),d({"Close submenu":"Закрыть подменю",Menu:"Меню","Open submenu":"Открыть подменю","Toggle submenu":"Переключить подменю"},"ru"),d({"Close submenu":"Zatvoriť submenu",Menu:"Menu","Open submenu":"Otvoriť submenu","Toggle submenu":"Prepnúť submenu"},"sk"),d({"Close submenu":"Закрити підменю",Menu:"Меню","Open submenu":"Відкрити підменю","Toggle submenu":"Перемкнути підменю"},"uk");class T{constructor(i,n,a){return y.set(this,void 0),_.set(this,void 0),E.set(this,void 0),this.opts=s(n,e),this.conf=s(a,t),this._api=["i18n","bind","openPanel","closePanel","setSelected"],this.node={},this.hook={},this.node.menu="string"==typeof i?document.querySelector(i):i,"function"==typeof this._deprecatedWarnings&&this._deprecatedWarnings(),this.trigger("init:before"),this._initObservers(),this._initAddons(),this._initHooks(),this._initAPI(),this._initMenu(),this._initPanels(),this._initOpened(),(()=>{for(let e in v){let t=window.matchMedia(e);w(e,t),t.onchange=s=>{w(e,t)}}})(),this.trigger("init:after"),this}openPanel(e,t=!0,s=!0){if(!e)return;e=e.closest(".mm-panel"),this.trigger("openPanel:before",[e,{animation:t,setfocus:s}]);const i=e.closest(".mm-listitem--vertical");if(i){i.classList.add("mm-listitem--opened");const e=i.closest(".mm-panel");this.openPanel(e)}else{const s=p(this.node.pnls,".mm-panel--opened")[0];e.matches(".mm-panel--parent")&&s&&s.classList.add("mm-panel--highest");const i=["mm-panel--opened","mm-panel--parent"],n=[];t?i.push("mm-panel--noanimation"):n.push("mm-panel--noanimation"),p(this.node.pnls,".mm-panel").forEach((t=>{t.classList.add(...n),t.classList.remove(...i),t!==s&&t.classList.remove("mm-panel--highest"),t===e?t.removeAttribute("inert"):t.setAttribute("inert","true")})),e.classList.add("mm-panel--opened");let a=u(this.node.pnls,`#${e.dataset.mmParent}`)[0];for(;a;)a=a.closest(".mm-panel"),a.classList.add("mm-panel--parent"),a=u(this.node.pnls,`#${a.dataset.mmParent}`)[0]}this.trigger("openPanel:after",[e,{animation:t,setfocus:s}])}closePanel(e,t=!0,s=!0){if(e&&(e.matches(".mm-panel--opened")||e.parentElement.matches(".mm-listitem--opened"))){if(this.trigger("closePanel:before",[e]),e.parentElement.matches(".mm-listitem--vertical"))e.parentElement.classList.remove("mm-listitem--opened");else if(e.dataset.mmParent){const i=u(this.node.pnls,`#${e.dataset.mmParent}`)[0];this.openPanel(i,t,s)}else{const i=p(this.node.pnls,".mm-panel--parent").pop();if(i&&i!==e)this.openPanel(i,t,s);else{const i=p(this.node.pnls,".mm-panel")[0];i&&i!==e&&this.openPanel(i,t,s)}}this.trigger("closePanel:after",[e])}}togglePanel(e){let t="openPanel";(e.parentElement.matches(".mm-listitem--opened")||e.matches(".mm-panel--opened"))&&(t="closePanel"),this[t](e)}setSelected(e){this.trigger("setSelected:before",[e]),u(this.node.menu,".mm-listitem--selected").forEach((e=>{e.classList.remove("mm-listitem--selected")})),e.classList.add("mm-listitem--selected"),this.trigger("setSelected:after",[e])}bind(e,t){this.hook[e]=this.hook[e]||[],this.hook[e].push(t)}trigger(e,t){if(this.hook[e])for(var s=0,i=this.hook[e].length;s<i;s++)this.hook[e][s].apply(this,t)}_initObservers(){x(this,y,new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{e.matches(this.conf.panelNodetype.join(", "))&&this._initListview(e)}))}))}))),x(this,_,new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{this._initListitem(e)}))}))}))),x(this,E,new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{(null==e?void 0:e.matches(this.conf.panelNodetype.join(", ")))&&this._initSubPanel(e)}))}))})))}_initAPI(){const e=this;this.API={},this._api.forEach((t=>{this.API[t]=function(){return e[t].apply(e,arguments)}})),this.node.menu.mmApi=this.API}_initHooks(){for(let e in this.opts.hooks)this.bind(e,this.opts.hooks[e])}_initAddons(){this.trigger("initAddons:before");for(let e in T.addons)T.addons[e].call(this);this.trigger("initAddons:after")}_initMenu(){this.trigger("initMenu:before"),this.node.wrpr=this.node.wrpr||this.node.menu.parentElement,this.node.wrpr.classList.add("mm-wrapper"),this.node.menu.classList.add("mm-menu"),this.node.menu.id=this.node.menu.id||n(),this.node.menu.setAttribute("aria-label",this.i18n(this.opts.navbar.title||"Menu")),this.node.menu.setAttribute("aria-modal","true"),this.node.menu.setAttribute("role","dialog");const e=p(this.node.menu).filter((e=>e.matches(this.conf.panelNodetype.join(", "))));this.node.pnls=c("div.mm-panels"),this.node.menu.append(this.node.pnls),e.forEach((e=>{this._initPanel(e)})),this.trigger("initMenu:after")}_initPanels(){this.trigger("initPanels:before"),this.node.menu.addEventListener("click",(e=>{var t,s;const i=(null===(s=null===(t=e.target)||void 0===t?void 0:t.closest("a[href]"))||void 0===s?void 0:s.getAttribute("href"))||"";if("#"===i.slice(0,1))try{const t=u(this.node.menu,i)[0];t&&(e.preventDefault(),this.togglePanel(t))}catch(e){}}),{capture:!0}),this.trigger("initPanels:after")}_initPanel(e){var t;if(!e.matches(".mm-panel")&&(g(e,this.conf.classNames.panel,"mm-panel"),g(e,this.conf.classNames.nopanel,"mm-nopanel"),!e.matches(".mm-nopanel"))){if(this.trigger("initPanel:before",[e]),e.id=e.id||n(),e.matches("ul, ol")){const t=c("div");t.id=e.id,e.removeAttribute("id"),[].slice.call(e.classList).filter((e=>"mm-"===e.slice(0,3))).forEach((s=>{t.classList.add(s),e.classList.remove(s)})),Object.keys(e.dataset).filter((e=>"mm"===e.slice(0,2))).forEach((s=>{t.dataset[s]=e.dataset[s],delete e.dataset[s]})),e.before(t),t.append(e),e=t}return e.classList.add("mm-panel"),(null===(t=e.parentElement)||void 0===t?void 0:t.matches(".mm-listitem--vertical"))||this.node.pnls.append(e),this._initNavbar(e),p(e,"ul, ol").forEach((e=>{this._initListview(e)})),S(this,y).observe(e,{childList:!0}),this.trigger("initPanel:after",[e]),e}}_initNavbar(e){if(p(e,".mm-navbar").length)return;let t=null,s=null;if(e.dataset.mmParent)for(t=u(this.node.pnls,`#${e.dataset.mmParent}`)[0],s=t.closest(".mm-panel");s.closest(".mm-listitem--vertical");)s=s.parentElement.closest(".mm-panel");if(null==t?void 0:t.matches(".mm-listitem--vertical"))return;this.trigger("initNavbar:before",[e]);const i=c("div.mm-navbar");if(this.opts.navbar.add||i.classList.add("mm-hidden"),s){const e=c("a.mm-btn.mm-btn--prev.mm-navbar__btn");e.href=`#${s.id}`,e.setAttribute("aria-label",this.i18n(this.conf.screenReader.closeSubmenu)),i.append(e)}let n=null;t?n=p(t,".mm-listitem__text")[0]:s&&(n=u(s,'a[href="#'+e.id+'"]')[0]);const a=c("a.mm-navbar__title");switch(a.tabIndex=-1,a.setAttribute("aria-hidden","true"),this.opts.navbar.titleLink){case"anchor":n&&(a.href=n.getAttribute("href"));break;case"parent":s&&(a.href=`#${s.id}`)}const r=c("span");var o;r.innerHTML=e.dataset.mmTitle||((o=n)?[].slice.call(o.childNodes).filter((e=>e.nodeType===Node.TEXT_NODE)).map((e=>e.nodeValue.trim())).join(" "):"")||this.i18n(this.opts.navbar.title||"Menu"),e.prepend(i),i.append(a),a.append(r),this.trigger("initNavbar:after",[e])}_initListview(e){["htmlulistelement","htmlolistelement"].includes(i(e))&&(e.matches(".mm-listview")||(g(e,this.conf.classNames.nolistview,"mm-nolistview"),e.matches(".mm-nolistview")||(this.trigger("initListview:before",[e]),e.classList.add("mm-listview"),p(e).forEach((e=>{this._initListitem(e)})),S(this,_).observe(e,{childList:!0}),this.trigger("initListview:after",[e]))))}_initListitem(e){["htmllielement"].includes(i(e))&&(e.matches(".mm-listitem")||(g(e,this.conf.classNames.divider,"mm-divider"),e.matches(".mm-divider")||(this.trigger("initListitem:before",[e]),e.classList.add("mm-listitem"),g(e,this.conf.classNames.selected,"mm-listitem--selected"),p(e,"a, span").forEach((e=>{e.classList.add("mm-listitem__text")})),p(e,this.conf.panelNodetype.join(", ")).forEach((e=>{this._initSubPanel(e)})),S(this,E).observe(e,{childList:!0}),this.trigger("initListitem:after",[e]))))}_initSubPanel(e){if(e.matches(".mm-panel"))return;const t=e.parentElement;(e.matches("."+this.conf.classNames.vertical)||!this.opts.slidingSubmenus)&&t.classList.add("mm-listitem--vertical"),t.id=t.id||n(),e.id=e.id||n(),t.dataset.mmChild=e.id,e.dataset.mmParent=t.id;let s=p(t,".mm-btn")[0];s||(s=c("a.mm-btn.mm-btn--next.mm-listitem__btn"),p(t,"a, span").forEach((e=>{e.matches("span")?(s.classList.add("mm-listitem__text"),s.innerHTML=e.innerHTML,t.insertBefore(s,e.nextElementSibling),e.remove()):t.insertBefore(s,e.nextElementSibling)})),s.setAttribute("aria-label",this.i18n(this.conf.screenReader[t.matches(".mm-listitem--vertical")?"toggleSubmenu":"openSubmenu"]))),s.href=`#${e.id}`,this._initPanel(e)}_initOpened(){this.trigger("initOpened:before");const e=u(this.node.pnls,".mm-listitem--selected").pop();let t=p(this.node.pnls,".mm-panel")[0];e&&(this.setSelected(e),t=e.closest(".mm-panel")),this.openPanel(t,!1,!1),this.trigger("initOpened:after")}i18n(e){return((e,t)=>"string"==typeof t&&void 0!==l[t]&&l[t][e]||e)(e,this.conf.language)}static i18n(e={},t=""){if(!e||!t)return l;d(e,t)}}y=new WeakMap,_=new WeakMap,E=new WeakMap,T.addons={},T.node={},T.vars={};const k={use:!0,position:"left"},C={clone:!1,menu:{insertMethod:"append",insertSelector:"body"},page:{nodetype:"div",selector:null,noSelector:[]},screenReader:{closeMenu:"Close menu",openMenu:"Open menu"}},A=["left","left-front","right","right-front","top","bottom"];T.prototype.open=function(){this.node.menu.matches(".mm-menu--opened")||(this.trigger("open:before"),this.node.wrpr.classList.add("mm-wrapper--opened",`mm-wrapper--position-${this.opts.offCanvas.position}`),this.node.menu.classList.add("mm-menu--opened"),this.node.menu.removeAttribute("inert"),T.node.blck.removeAttribute("inert"),T.node.page.setAttribute("inert","true"),this.node.open=document.activeElement,this.trigger("open:after"))},T.prototype.close=function(){var e;this.node.menu.matches(".mm-menu--opened")&&(this.trigger("close:before"),this.node.wrpr.classList.remove("mm-wrapper--opened",`mm-wrapper--position-${this.opts.offCanvas.position}`),this.node.menu.classList.remove("mm-menu--opened"),this.node.menu.setAttribute("inert","true"),T.node.blck.setAttribute("inert","true"),T.node.page.removeAttribute("inert"),null===(e=this.node.open||document.querySelector(`[href="#${this.node.menu.id}"]`)||null)||void 0===e||e.focus(),document.body.scrollLeft=0,document.documentElement.scrollLeft=0,this.trigger("close:after"))},T.prototype.setPage=function(e){const t=this.conf.offCanvas;if(!e){let s="string"==typeof t.page.selector?u(document.body,t.page.selector):p(document.body,t.page.nodetype);if(s=s.filter((e=>!e.matches(".mm-menu, .mm-wrapper__blocker"))),t.page.noSelector.length&&(s=s.filter((e=>!e.matches(t.page.noSelector.join(", "))))),s.length>1){let e=c("div");s[0].before(e),s.forEach((t=>{e.append(t)})),s=[e]}e=s[0]}this.trigger("setPage:before",[e]),e.classList.add("mm-page","mm-slideout"),e.id=e.id||n(),T.node.blck.setAttribute("href",`#${e.id}`),T.node.page=e,this.trigger("setPage:after",[e])};const M={fix:!0},L="ontouchstart"in window||!!navigator.msMaxTouchPoints||!1,P=["light","dark","white","black","light-contrast","dark-contrast","white-contrast","black-contrast"];T.prototype.theme=function(e=null){const t=this.opts.theme;if(!e)return t;P.includes(e)&&(this.node.menu.classList.remove(`mm-menu--theme-${t}`),this.node.menu.classList.add(`mm-menu--theme-${e}`),this.opts.theme=e)};const O={close:!1,open:!1},D={add:!1},I={use:!1,top:[],bottom:[],position:"left",type:"default"},F={add:!1,blockPanel:!0,visible:3},B={breadcrumbs:{separator:"/",removeFirst:!1}};function N(){this.opts.navbars=this.opts.navbars||[],this.conf.navbars=this.conf.navbars||{},s(this.conf.navbars,B);let e=this.opts.navbars;if(void 0!==e&&(e instanceof Array||(e=[e]),e.length)){var t={};e.forEach((e=>{if(!(e=function(e){return"boolean"==typeof e&&e&&(e={}),"object"!=typeof e&&(e={}),void 0===e.content&&(e.content=["prev","title"]),e.content instanceof Array||(e.content=[e.content]),void 0===e.use&&(e.use=!0),e}(e)).use)return;const s=c("div.mm-navbar");let{position:i}=e;"bottom"!==i&&(i="top"),t[i]||(t[i]=c("div.mm-navbars.mm-navbars--"+i)),t[i].append(s);for(let t=0,i=e.content.length;t<i;t++){const i=e.content[t];if("string"==typeof i){const e=N.navbarContents[i];if("function"==typeof e)e.call(this,s);else{let e=c("span");e.innerHTML=i;const t=p(e);1==t.length&&(e=t[0]),s.append(e)}}else s.append(i)}if("string"==typeof e.type){const t=N.navbarTypes[e.type];"function"==typeof t&&t.call(this,s)}let n=()=>{s.classList.remove("mm-hidden")};"boolean"==typeof e.use?this.bind("initMenu:after",n):b(e.use,n,(()=>{s.classList.add("mm-hidden")}))})),this.bind("initMenu:after",(()=>{for(let e in t)this.node.pnls["bottom"==e?"after":"before"](t[e])}))}}N.navbarContents={breadcrumbs:function(e){var t=c("div.mm-navbar__breadcrumbs");e.append(t),this.bind("initNavbar:after",(e=>{if(!e.querySelector(".mm-navbar__breadcrumbs")){p(e,".mm-navbar")[0].classList.add("mm-hidden");for(var t=[],s=c("span.mm-navbar__breadcrumbs"),i=e,n=!0;i;){if(!(i=i.closest(".mm-panel")).parentElement.matches(".mm-listitem--vertical")){let e=u(i,".mm-navbar__title span")[0];if(e){let s=e.textContent;s.length&&t.unshift(n?`<span>${s}</span>`:`<a \n                                    href="#${i.id}" \n                                    title="${this.i18n(this.conf.screenReader.openSubmenu)}"\n                                    >${s}</a>`)}n=!1}i=u(this.node.pnls,`#${i.dataset.mmParent}`)[0]}this.conf.navbars.breadcrumbs.removeFirst&&t.shift(),s.innerHTML=t.join('<span class="mm-separator">'+this.conf.navbars.breadcrumbs.separator+"</span>"),p(e,".mm-navbar")[0].append(s)}})),this.bind("openPanel:before",(e=>{var s=e.querySelector(".mm-navbar__breadcrumbs");t.innerHTML=s?s.innerHTML:""}))},close:function(e){const t=c("a.mm-btn.mm-btn--close.mm-navbar__btn");t.setAttribute("aria-label",this.i18n(this.conf.offCanvas.screenReader.closeMenu)),e.append(t),this.bind("setPage:after",(e=>{t.href=`#${e.id}`}))},prev:function(e){let t=c("a.mm-btn.mm-hidden");e.append(t),this.bind("initNavbar:after",(e=>{p(e,".mm-navbar")[0].classList.add("mm-hidden")})),this.bind("openPanel:before",(e=>{if(e.parentElement.matches(".mm-listitem--vertical"))return;t.classList.add("mm-hidden");const s=e.querySelector(".mm-navbar__btn.mm-btn--prev");if(s){const e=s.cloneNode(!0);t.after(e),t.remove(),t=e}}))},searchfield:function(e){let t=c("div.mm-navbar__searchfield");t.id=n(),e.append(t),this.opts.searchfield=this.opts.searchfield||{},this.opts.searchfield.add=!0,this.opts.searchfield.addTo=`#${t.id}`},title:function(e){let t=c("a.mm-navbar__title");e.append(t),this.bind("openPanel:before",(e=>{if(e.parentElement.matches(".mm-listitem--vertical"))return;const s=e.querySelector(".mm-navbar__title");if(s){const e=s.cloneNode(!0);t.after(e),t.remove(),t=e}}))}},N.navbarTypes={tabs:function(e){function t(s){const i=p(e,`.mm-navbar__tab[href="#${s.id}"]`)[0];if(i)i.classList.add("mm-navbar__tab--selected"),i.ariaExpanded="true";else{const e=u(this.node.pnls,`#${s.dataset.mmParent}`)[0];e&&t.call(this,e.closest(".mm-panel"))}}e.classList.add("mm-navbar--tabs"),e.closest(".mm-navbars").classList.add("mm-navbars--has-tabs"),p(e,"a").forEach((e=>{e.classList.add("mm-navbar__tab")})),this.bind("openPanel:before",(s=>{p(e,"a").forEach((e=>{e.classList.remove("mm-navbar__tab--selected"),e.ariaExpanded="false"})),t.call(this,s)})),this.bind("initPanels:after",(()=>{e.addEventListener("click",(e=>{var t,s,i;const n=null===(s=null===(t=e.target)||void 0===t?void 0:t.closest(".mm-navbar__tab"))||void 0===s?void 0:s.getAttribute("href");try{null===(i=u(this.node.pnls,`${n}.mm-panel`)[0])||void 0===i||i.classList.add("mm-panel--noanimation")}catch(e){}}),{capture:!0})}))}};const z={scroll:!1,update:!1},$={scrollOffset:0,updateOffset:50},V={add:!1,addTo:"panels",noResults:"No results found.",placeholder:"Search",search:!0,searchIn:"panels",splash:"",title:"Search"},R={cancel:!0,clear:!0,form:{},input:{},panel:{},submit:!1};d({cancel:"abbrechen","Cancel searching":"Suche abbrechen","Clear searchfield":"Suchfeld löschen","No results found.":"Keine Ergebnisse gefunden.",Search:"Suche"},"de"),d({cancel:"انصراف","Cancel searching":"لغو جستجو","Clear searchfield":"پاک کردن فیلد جستجو","No results found.":"نتیجه‌ای یافت نشد.",Search:"جستجو"},"fa"),d({cancel:"annuleren","Cancel searching":"Zoeken annuleren","Clear searchfield":"Zoekveld leeg maken","No results found.":"Geen resultaten gevonden.",Search:"Zoeken"},"nl"),d({cancel:"cancelar","Cancel searching":"Cancelar pesquisa","Clear searchfield":"Limpar campo de pesquisa","No results found.":"Nenhum resultado encontrado.",Search:"Buscar"},"pt_br"),d({cancel:"отменить","Cancel searching":"Отменить поиск","Clear searchfield":"Очистить поле поиска","No results found.":"Ничего не найдено.",Search:"Найти"},"ru"),d({cancel:"zrušiť","Cancel searching":"Zrušiť vyhľadávanie","Clear searchfield":"Vymazať pole vyhľadávania","No results found.":"Neboli nájdené žiadne výsledky.",Search:"Vyhľadávanie"},"sk"),d({cancel:"скасувати","Cancel searching":"Скасувати пошук","Clear searchfield":"Очистити поле пошуку","No results found.":"Нічого не знайдено.",Search:"Пошук"},"uk");const j=function(){const e=this.opts.searchfield,t=this.conf.searchfield;let s=p(this.node.pnls,".mm-panel--search")[0];return s||(s=c("div.mm-panel--search"),K(s,t.panel),e.title.length&&(s.dataset.mmTitle=this.i18n(e.title)),s.append(c("ul")),this._initPanel(s),s)},H=function(e){const t=this.opts.searchfield;if(e.matches(t.addTo)){const t=e.matches(".mm-panel--search");if(!u(e,".mm-searchfield").length){const s=q.call(this,t);t&&s.classList.add("mm-searchfield--cancelable"),e.prepend(s),G.call(this,s)}}if(t.splash.length&&e.matches(".mm-panel--search")&&!u(e,".mm-panel__splash").length){const s=c("div.mm-panel__splash");s.innerHTML=t.splash,e.append(s)}if(t.noResults.length&&!u(e,".mm-panel__noresults").length){const s=c("div.mm-panel__noresults");s.innerHTML=this.i18n(t.noResults),e.append(s)}},q=function(e=!1){const t=this.opts.searchfield,s=this.conf.searchfield,i=c("form.mm-searchfield");K(i,s.form);const n=c("div.mm-searchfield__input");i.append(n);const a=c("input");if(n.append(a),a.type="text",a.autocomplete="off",a.placeholder=this.i18n(t.placeholder),a.setAttribute("aria-label",this.i18n(t.placeholder)),K(a,s.input),s.submit){const e=c("button.mm-btnreset.mm-btn.mm-btn--next.mm-searchfield__btn");e.type="submit",n.append(e)}else if(s.clear){const e=c("button.mm-btnreset.mm-btn.mm-btn--close.mm-searchfield__btn");e.type="reset",e.setAttribute("aria-label",this.i18n("Clear searchfield")),n.append(e),i.addEventListener("reset",(()=>{window.requestAnimationFrame((()=>{a.dispatchEvent(new Event("input"))}))}))}if(s.cancel&&e){const e=c("a.mm-searchfield__cancel");e.href="#",e.setAttribute("aria-label",this.i18n("Cancel searching")),e.textContent=this.i18n("cancel"),i.append(e),e.addEventListener("click",(e=>{e.preventDefault(),this.closePanel(p(this.node.pnls,".mm-panel--search")[0],!1)}))}return i},G=function(e){const t=this.opts.searchfield,s=e.closest(".mm-panel")||u(this.node.pnls,".mm-panel--search")[0],i=u(e,"input")[0];let n=s.matches(".mm-panel--search")?p(this.node.pnls,t.searchIn):[s];n=n.filter((e=>!e.matches(".mm-panel--search")));const a=()=>{const a=i.value.toLowerCase().trim();if(a.length?e.classList.add("mm-searchfield--searching"):e.classList.remove("mm-searchfield--searching"),!t.search)return;const r=[];if(n.forEach((e=>{e.scrollTop=0,r.push(...u(e,".mm-listitem"))})),a.length){this.trigger("search:before"),s.classList.add("mm-panel--searching"),r.forEach((e=>{const t=p(e,".mm-listitem__text")[0];var s;(!t||(s=t,[].slice.call(s.childNodes).filter((e=>!e.ariaHidden)).map((e=>e.textContent)).join(" ")).toLowerCase().indexOf(a)>-1)&&(e.dataset.mmSearchresult=a)}));let e=0;e=s.matches(".mm-panel--search")?Y(s,a,n):W(a,n),s.classList[0==e?"add":"remove"]("mm-panel--noresults"),this.trigger("search:after")}else this.trigger("clear:before"),s.classList.remove("mm-panel--searching","mm-panel--noresults"),s.matches(".mm-panel--search")?(X(s),t.splash||this.closePanel(s,!1,!1)):U(n),this.trigger("clear:after")};i.addEventListener("input",a),a()},Y=(e,t,s)=>{const i=u(e,".mm-listview")[0];i.innerHTML="";let n=0;return s.forEach((e=>{const s=u(e,`[data-mm-searchresult="${t}"]`);if(n+=s.length,s.length){const t=u(e,".mm-navbar__title")[0];if(t){const e=c("li.mm-divider");e.innerHTML=t.innerHTML,i.append(e)}s.forEach((e=>{const t=e.cloneNode(!0);i.append(t)}))}})),u(i,".mm-panel").forEach((e=>{e.remove()})),["id","data-mm-parent","data-mm-child"].forEach((e=>{u(i,`[${e}]`).forEach((t=>{t.removeAttribute(e)}))})),u(i,".mm-listitem--opened").forEach((e=>{e.classList.remove("mm-listitem--opened")})),n},X=e=>{u(e,".mm-listview")[0].innerHTML=""},W=(e,t)=>{let s=0;return t.forEach((t=>{const i=u(t,`[data-mm-searchresult="${e}"]`);s+=i.length,i.length&&i.forEach((t=>{const s=((e,t)=>{let s=[],i=e.previousElementSibling;for(;i;)t&&!i.matches(t)||s.push(i),i=i.previousElementSibling;return s})(t,".mm-divider")[0];s&&(s.dataset.mmSearchresult=e)})),u(t,".mm-listitem, .mm-divider").forEach((t=>{t.classList.add("mm-hidden"),t.dataset.mmSearchresult===e&&[t,...h(t,".mm-listitem")].forEach((e=>{e.classList.remove("mm-hidden")}))}))})),s},U=e=>{e.forEach((e=>{u(e,".mm-listitem, .mm-divider").forEach((e=>{e.classList.remove("mm-hidden")}))}))},K=(e,t)=>{t&&Object.keys(t).forEach((s=>{e[s]=t[s]}))},Z={add:!1,addTo:"panels"},Q={current:!0,hover:!1,parent:!1},J={collapsed:{use:!1},expanded:{use:!1,initial:"open"}};T.addons={offcanvas:function(){this.opts.offCanvas=this.opts.offCanvas||{},this.conf.offCanvas=this.conf.offCanvas||{};const e=s(this.opts.offCanvas,k),t=s(this.conf.offCanvas,C);e.use&&(A.includes(e.position)||(e.position=A[0]),this._api.push("open","close","setPage","position"),t.clone&&(this.node.menu=this.node.menu.cloneNode(!0),this.node.menu.id&&(this.node.menu.id=r(this.node.menu.id)),u(this.node.menu,"[id]").forEach((e=>{e.id=r(e.id)}))),this.bind("initMenu:before",(()=>{this.node.wrpr=document.querySelector(t.menu.insertSelector),this.node.wrpr[t.menu.insertMethod](this.node.menu)})),T.node.blck||this.bind("initMenu:before",(()=>{const e=c("a.mm-wrapper__blocker.mm-blocker.mm-slideout");e.id=n(),e.setAttribute("aria-label",this.i18n(t.screenReader.closeMenu)),e.setAttribute("inert","true"),document.querySelector(t.menu.insertSelector).append(e),T.node.blck=e})),this.bind("initMenu:after",(()=>{this.setPage(T.node.page),this.node.menu.classList.add("mm-menu--offcanvas"),this.node.menu.setAttribute("inert","true"),A.includes(e.position)&&(this.node.wrpr.classList.add(`mm-wrapper--position-${e.position}`),this.node.menu.classList.add(`mm-menu--position-${e.position}`));let t=window.location.hash;if(t){let e=o(this.node.menu.id);e&&e==t.slice(1)&&setTimeout((()=>{this.open()}),1e3)}})),document.addEventListener("click",(e=>{var t;switch(null===(t=e.target.closest("a"))||void 0===t?void 0:t.getAttribute("href")){case`#${o(this.node.menu.id)}`:e.preventDefault(),this.open();break;case`#${o(T.node.page.id)}`:e.preventDefault(),this.close()}})),document.addEventListener("keyup",(e=>{"Escape"==e.key&&this.close()})))},scrollBugFix:function(){if(!L||!this.opts.offCanvas.use)return;if(this.opts.scrollBugFix=this.opts.scrollBugFix||{},!s(this.opts.scrollBugFix,M).fix)return;const e=(e=>{let t="",s=null;return e.addEventListener("touchstart",(e=>{1===e.touches.length&&(t="",s=e.touches[0].pageY)})),e.addEventListener("touchend",(e=>{0===e.touches.length&&(t="",s=null)})),e.addEventListener("touchmove",(e=>{if(t="",s&&1===e.touches.length){const i=e.changedTouches[0].pageY;i>s?t="down":i<s&&(t="up"),s=i}})),{get:()=>t}})(this.node.menu);this.node.menu.addEventListener("scroll",(e=>{e.preventDefault(),e.stopPropagation()}),{passive:!1}),this.node.menu.addEventListener("touchmove",(t=>{let s=t.target.closest(".mm-panel, .mm-iconbar__top, .mm-iconbar__bottom");s&&s.closest(".mm-listitem--vertical")&&(s=h(s,".mm-panel").pop()),s?(s.scrollHeight===s.offsetHeight||0==s.scrollTop&&"down"==e.get()||s.scrollHeight==s.scrollTop+s.offsetHeight&&"up"==e.get())&&t.stopPropagation():t.stopPropagation()}),{passive:!1}),this.bind("open:after",(()=>{var e=p(this.node.pnls,".mm-panel--opened")[0];e&&(e.scrollTop=0)})),window.addEventListener("orientationchange",(e=>{var t=p(this.node.pnls,".mm-panel--opened")[0];t&&(t.scrollTop=0,t.style["-webkit-overflow-scrolling"]="auto",t.style["-webkit-overflow-scrolling"]="touch")}))},theme:function(){this.opts.theme=this.opts.theme||"light";const e=this.opts.theme;P.includes(e)||(this.opts.theme=P[0]),this._api.push("theme"),this.bind("initMenu:after",(()=>{this.theme(this.opts.theme)}))},backButton:function(){if(this.opts.backButton=this.opts.backButton||{},!this.opts.offCanvas.use)return;const e=s(this.opts.backButton,O),t=`#${this.node.menu.id}`;if(e.close){let e=[];const s=()=>{e=[t],p(this.node.pnls,".mm-panel--opened, .mm-panel--parent").forEach((t=>{e.push("#"+t.id)}))};this.bind("open:after",(()=>{history.pushState(null,"",location.pathname+location.search+t)})),this.bind("open:after",s),this.bind("openPanel:after",s),this.bind("close:after",(()=>{e=[],history.back(),history.pushState(null,"",location.pathname+location.search)})),window.addEventListener("popstate",(()=>{if(this.node.menu.matches(".mm-menu--opened")&&e.length){e=e.slice(0,-1);const s=e[e.length-1];s==t?this.close():(this.openPanel(this.node.menu.querySelector(s)),history.pushState(null,"",location.pathname+location.search+t))}}))}e.open&&window.addEventListener("popstate",(e=>{this.node.menu.matches(".mm-menu--opened")||location.hash!=t||this.open()}))},counters:function(){if(this.opts.counters=this.opts.counters||{},!s(this.opts.counters,D).add)return;const e=e=>{const t=this.node.pnls.querySelector(`#${e.dataset.mmParent}`);if(!t)return;const s=t.querySelector(".mm-counter");if(!s)return;const i=[];p(e,".mm-listview").forEach((e=>{i.push(...p(e,".mm-listitem"))})),s.innerHTML=m(i).length.toString()},t=new MutationObserver((t=>{t.forEach((t=>{"class"==t.attributeName&&e(t.target.closest(".mm-panel"))}))}));this.bind("initListview:after",(t=>{const s=t.closest(".mm-panel"),i=this.node.pnls.querySelector(`#${s.dataset.mmParent}`);if(!i)return;const n=p(i,".mm-btn")[0];if(n){if(!p(n,".mm-counter").length){const e=c("span.mm-counter");e.setAttribute("aria-hidden","true"),n.prepend(e)}e(s)}})),this.bind("initListitem:after",(e=>{const s=e.closest(".mm-panel");s&&this.node.pnls.querySelector(`#${s.dataset.mmParent}`)&&t.observe(e,{attributes:!0})}))},iconbar:function(){this.opts.iconbar=this.opts.iconbar||{};const e=s(this.opts.iconbar,I);if(!e.use)return;let t;if(["top","bottom"].forEach(((s,n)=>{let a=e[s];"array"!=i(a)&&(a=[a]);const r=c("div.mm-iconbar__"+s);for(let e=0,t=a.length;e<t;e++)"string"==typeof a[e]?r.innerHTML+=a[e]:r.append(a[e]);r.children.length&&(t||(t=c("div.mm-iconbar")),t.append(r))})),t){this.bind("initMenu:after",(()=>{this.node.menu.prepend(t)}));let s="mm-menu--iconbar-"+e.position,i=()=>{this.node.menu.classList.add(s)},n=()=>{this.node.menu.classList.remove(s)};if("boolean"==typeof e.use?this.bind("initMenu:after",i):b(e.use,i,n),"tabs"==e.type){t.classList.add("mm-iconbar--tabs"),t.addEventListener("click",(e=>{const t=e.target.closest(".mm-iconbar__tab");if(t)if(t.matches(".mm-iconbar__tab--selected"))e.stopImmediatePropagation();else try{const s=u(this.node.menu,`${t.getAttribute("href")}.mm-panel`)[0];s&&(e.preventDefault(),e.stopImmediatePropagation(),this.openPanel(s,!1))}catch(e){}}));const e=s=>{u(t,"a").forEach((e=>{e.classList.remove("mm-iconbar__tab--selected")}));const i=u(t,'[href="#'+s.id+'"]')[0];if(i)i.classList.add("mm-iconbar__tab--selected");else{const t=u(this.node.pnls,`#${s.dataset.mmParent}`)[0];t&&e(t.closest(".mm-panel"))}};this.bind("openPanel:before",e)}}},iconPanels:function(){this.opts.iconPanels=this.opts.iconPanels||{};const e=s(this.opts.iconPanels,F);let t=!1;if("first"==e.visible&&(t=!0,e.visible=1),e.visible=Math.min(3,Math.max(1,e.visible)),e.visible++,e.add){this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--iconpanel")}));const s=["mm-panel--iconpanel-0","mm-panel--iconpanel-1","mm-panel--iconpanel-2","mm-panel--iconpanel-3"];t?this.bind("initMenu:after",(()=>{var e;null===(e=p(this.node.pnls,".mm-panel")[0])||void 0===e||e.classList.add("mm-panel--iconpanel-first")})):this.bind("openPanel:after",(t=>{if(t.closest(".mm-listitem--vertical"))return;let i=p(this.node.pnls,".mm-panel");i=i.filter((e=>e.matches(".mm-panel--parent"))),i.push(t),i=i.slice(-e.visible),i.forEach(((e,t)=>{e.classList.remove("mm-panel--iconpanel-first",...s),e.classList.add(`mm-panel--iconpanel-${t}`)}))}))}},navbars:N,pageScroll:function(){this.opts.pageScroll=this.opts.pageScroll||{},this.conf.pageScroll=this.conf.pageScroll||{};const e=s(this.opts.pageScroll,z),t=s(this.conf.pageScroll,$);var i;function n(){i&&window.scrollTo({top:i.getBoundingClientRect().top+document.scrollingElement.scrollTop-t.scrollOffset,behavior:"smooth"}),i=null}function a(e){try{if("#"==e.slice(0,1))return u(T.node.page,e)[0]}catch(e){}return null}if(this.opts.offCanvas.use&&e.scroll&&(this.bind("close:after",(()=>{n()})),this.node.menu.addEventListener("click",(e=>{var t,s;const r=(null===(s=null===(t=e.target)||void 0===t?void 0:t.closest("a[href]"))||void 0===s?void 0:s.getAttribute("href"))||"";(i=a(r))&&(e.preventDefault(),this.node.menu.matches(".mm-menu--sidebar-expanded")&&this.node.wrpr.matches(".mm-wrapper--sidebar-expanded")?n():this.close())}))),e.update){let e=[];this.bind("initListview:after",(t=>{const s=p(t,".mm-listitem");f(s).forEach((t=>{const s=a(t.getAttribute("href"));s&&e.unshift(s)}))}));let s=-1;window.addEventListener("scroll",(i=>{const n=window.scrollY;for(var a=0;a<e.length;a++)if(e[a].offsetTop<n+t.updateOffset){if(s!==a){s=a;let t=p(this.node.pnls,".mm-panel--opened")[0],i=u(t,".mm-listitem"),n=f(i);n=n.filter((t=>t.matches('[href="#'+e[a].id+'"]'))),n.length&&this.setSelected(n[0].parentElement)}break}}),{passive:!0})}},searchfield:function(){this.opts.searchfield=this.opts.searchfield||{},this.conf.searchfield=this.conf.searchfield||{};const e=s(this.opts.searchfield,V);if(s(this.conf.searchfield,R),e.add){switch(e.addTo){case"panels":e.addTo=".mm-panel";break;case"searchpanel":e.addTo=".mm-panel--search"}"panels"===e.searchIn&&(e.searchIn=".mm-panel"),this.bind("initPanel:after",(t=>{t.matches(e.addTo)&&!t.closest(".mm-listitem--vertical")&&H.call(this,t)})),this.bind("initMenu:after",(()=>{const t=j.call(this);H.call(this,t),u(this.node.menu,e.addTo).forEach((s=>{if(!s.matches(".mm-panel")){const i=q.call(this,!0);s.append(i);const n=u(i,"input")[0];e.splash.length?(n.addEventListener("focusin",(()=>{this.openPanel(t,!1,!1)})),this.bind("openPanel:after",(e=>{e.matches(".mm-panel--search")?i.classList.add("mm-searchfield--cancelable"):i.classList.remove("mm-searchfield--cancelable")}))):(this.bind("search:after",(()=>{this.openPanel(t,!1,!1)})),n.addEventListener("focusout",(()=>{n.value.length||this.closePanel(t,!1)}))),G.call(this,i)}}))})),this.bind("close:before",(()=>{u(this.node.menu,".mm-searchfield input").forEach((e=>{e.blur()}))}))}},sectionIndexer:function(){this.opts.sectionIndexer=this.opts.sectionIndexer||{},s(this.opts.sectionIndexer,Z).add&&this.bind("initPanels:after",(()=>{if(!this.node.indx){let e="";"abcdefghijklmnopqrstuvwxyz".split("").forEach((t=>{e+='<a href="#">'+t+"</a>"}));let t=c("div.mm-sectionindexer");t.innerHTML=e,this.node.pnls.prepend(t),this.node.indx=t,this.node.indx.addEventListener("click",(e=>{e.target.matches("a")&&e.preventDefault()}));let s=e=>{if(!e.target.matches("a"))return;const t=e.target.textContent,s=p(this.node.pnls,".mm-panel--opened")[0];let i=-1,n=s.scrollTop;s.scrollTop=0,u(s,".mm-divider").filter((e=>!e.matches(".mm-hidden"))).forEach((e=>{i<0&&t==e.textContent.trim().slice(0,1).toLowerCase()&&(i=e.offsetTop)})),s.scrollTop=i>-1?i:n};L?(this.node.indx.addEventListener("touchstart",s),this.node.indx.addEventListener("touchmove",s)):this.node.indx.addEventListener("mouseover",s)}this.bind("openPanel:before",(e=>{const t=u(e,".mm-divider").filter((e=>!e.matches(".mm-hidden"))).length;this.node.indx.classList[t?"add":"remove"]("mm-sectionindexer--active")}))}))},setSelected:function(){this.opts.setSelected=this.opts.setSelected||{};const e=s(this.opts.setSelected,Q);if("detect"==e.current){const e=t=>{t=t.split("?")[0].split("#")[0];const s=this.node.menu.querySelector('a[href="'+t+'"], a[href="'+t+'/"]');if(s)this.setSelected(s.parentElement);else{const s=t.split("/").slice(0,-1);s.length&&e(s.join("/"))}};this.bind("initMenu:after",(()=>{e.call(this,window.location.href)}))}else e.current||this.bind("initListview:after",(e=>{p(e,".mm-listitem--selected").forEach((e=>{e.classList.remove("mm-listitem--selected")}))}));e.hover&&this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--selected-hover")})),e.parent&&(this.bind("openPanel:after",(e=>{u(this.node.pnls,".mm-listitem--selected-parent").forEach((e=>{e.classList.remove("mm-listitem--selected-parent")}));let t=e;for(;t;){let e=u(this.node.pnls,`#${t.dataset.mmParent}`)[0];t=null==e?void 0:e.closest(".mm-panel"),e&&!e.matches(".mm-listitem--vertical")&&e.classList.add("mm-listitem--selected-parent")}})),this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--selected-parent")})))},sidebar:function(){if(!this.opts.offCanvas.use)return;this.opts.sidebar=this.opts.sidebar||{};const e=s(this.opts.sidebar,J);if(e.collapsed.use){this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--sidebar-collapsed")}));let t=()=>{this.node.wrpr.classList.add("mm-wrapper--sidebar-collapsed")},s=()=>{this.node.wrpr.classList.remove("mm-wrapper--sidebar-collapsed")};"boolean"==typeof e.collapsed.use?this.bind("initMenu:after",t):b(e.collapsed.use,t,s)}if(e.expanded.use){this.bind("initMenu:after",(()=>{this.node.menu.classList.add("mm-menu--sidebar-expanded")}));let t=!1,s=()=>{t=!0,this.node.wrpr.classList.add("mm-wrapper--sidebar-expanded"),this.node.menu.removeAttribute("aria-modal"),this.open(),T.node.page.removeAttribute("inert")},i=()=>{t=!1,this.node.wrpr.classList.remove("mm-wrapper--sidebar-expanded"),this.node.menu.setAttribute("aria-modal","true"),this.close()};"boolean"==typeof e.expanded.use?this.bind("initMenu:after",s):b(e.expanded.use,s,i),this.bind("close:after",(()=>{t&&window.sessionStorage.setItem("mmenuExpandedState","closed")})),this.bind("open:after",(()=>{t&&(window.sessionStorage.setItem("mmenuExpandedState","open"),T.node.page.removeAttribute("inert"))}));let n=e.expanded.initial;const a=window.sessionStorage.getItem("mmenuExpandedState");switch(a){case"open":case"closed":n=a}"closed"===n&&this.bind("init:after",(()=>{this.close()}))}}},window&&(window.Mmenu=T)})();var Swiper=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,i){void 0===s&&(s={}),void 0===i&&(i={}
vendor: 36,147 bytes, line 5
5),Object.keys(i).forEach((n=>{void 0===s[n]?s[n]=i[n]:e(i[n])&&e(s[n])&&Object.keys(i[n]).length>0&&t(s[n],i[n])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const n={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function a(){const e="undefined"!=typeof window?window:{};return t(e,n),e}function r(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function l(e,t){void 0===t&&(t="x");const s=a();let i,n,r;const o=function(e){const t=a();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map((e=>e.replace(",","."))).join(", ")),r=new s.WebKitCSSMatrix("none"===n?"":n)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===t&&(n=s.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}function d(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const n=i<0||arguments.length<=i?void 0:arguments[i];if(null!=n&&(s=n,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(n)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],a=Object.getOwnPropertyDescriptor(n,i);void 0!==a&&a.enumerable&&(d(e[i])&&d(n[i])?n[i].__swiper__?e[i]=n[i]:c(e[i],n[i]):!d(e[i])&&d(n[i])?(e[i]={},n[i].__swiper__?e[i]=n[i]:c(e[i],n[i])):e[i]=n[i])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function p(e){let{swiper:t,targetPosition:s,side:i}=e;const n=a(),r=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(t.cssModeFrameID);const c=s>r?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);const e=Math.max(Math.min((o-l)/d,1),0),a=.5-Math.cos(e*Math.PI)/2;let c=r+a*(s-r);if(u(c,s)&&(c=s),t.wrapperEl.scrollTo({[i]:c}),u(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void n.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=n.requestAnimationFrame(p)};p()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function m(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function f(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:[t]),s}function g(e){const t=a(),s=i(),n=e.getBoundingClientRect(),r=s.body,o=e.clientTop||r.clientTop||0,l=e.clientLeft||r.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:n.top+d-o,left:n.left+c-l}}function v(e,t){return a().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function w(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function y(e,t){t&&e.addEventListener("transitionend",(function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))}))}function _(e,t,s){const i=a();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let E,x,S;function T(){return E||(E=function(){const e=a(),t=i();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),E}function k(e){return void 0===e&&(e={}),x||(x=function(e){let{userAgent:t}=void 0===e?{}:e;const s=T(),i=a(),n=i.navigator.platform,r=t||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const p=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===n;let f="MacIntel"===n;return!u&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${d}`)>=0&&(u=r.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!m&&(o.os="android",o.android=!0),(u||h||p)&&(o.os="ios",o.ios=!0),o}(e)),x}function C(){return S||(S=function(){const e=a();let t=!1;function s(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(s()){const s=String(e.navigator.userAgent);if(s.includes("Version/")){const[e,i]=s.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&i<2}}return{isSafari:t||s(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),S}var A={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const n=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][n](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function n(){i.off(e,n),n.__emitterProxy&&delete n.__emitterProxy;for(var s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];t.apply(i,a)}return n.__emitterProxy=t,i.on(e,n,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,n)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(n,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,i;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return"string"==typeof a[0]||Array.isArray(a[0])?(t=a[0],s=a.slice(1,a.length),i=e):(t=a[0].events,s=a[0].data,i=a[0].context||e),s.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,s)}))})),e}};const M=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){const t=s.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}},L=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},P=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),n=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=n,a=[s-t];return a.push(...Array.from({length:t}).map(((e,t)=>s+i+t))),void e.slides.forEach(((t,s)=>{a.includes(t.column)&&L(e,s)}))}const a=n+i-1;if(e.params.rewind||e.params.loop)for(let i=n-t;i<=a+t;i+=1){const t=(i%s+s)%s;(t<n||t>a)&&L(e,t)}else for(let i=Math.max(n-t,0);i<=Math.min(a+t,s-1);i+=1)i!==n&&(i>a||i<n)&&L(e,i)};var O={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(v(i,"padding-left")||0,10)-parseInt(v(i,"padding-right")||0,10),s=s-parseInt(v(i,"padding-top")||0,10)-parseInt(v(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{wrapperEl:n,slidesEl:a,size:r,rtlTranslate:o,wrongRTL:l}=e,d=e.virtual&&i.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,p=m(a,`.${e.params.slideClass}, swiper-slide`),h=d?e.virtual.slides.length:p.length;let f=[];const g=[],b=[];let w=i.slidesOffsetBefore;"function"==typeof w&&(w=i.slidesOffsetBefore.call(e));let y=i.slidesOffsetAfter;"function"==typeof y&&(y=i.slidesOffsetAfter.call(e));const E=e.snapGrid.length,x=e.slidesGrid.length;let S=i.spaceBetween,T=-w,k=0,C=0;if(void 0===r)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*r:"string"==typeof S&&(S=parseFloat(S)),e.virtualSize=-S,p.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),i.centeredSlides&&i.cssMode&&(u(n,"--swiper-centered-offset-before",""),u(n,"--swiper-centered-offset-after",""));const A=i.grid&&i.grid.rows>1&&e.grid;let M;A&&e.grid.initSlides(h);const L="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<h;n+=1){let a;if(M=0,p[n]&&(a=p[n]),A&&e.grid.updateSlide(n,a,h,t),!p[n]||"none"!==v(a,"display")){if("auto"===i.slidesPerView){L&&(p[n].style[t("width")]="");const r=getComputedStyle(a),o=a.style.transform,l=a.style.webkitTransform;if(o&&(a.style.transform="none"),l&&(a.style.webkitTransform="none"),i.roundLengths)M=e.isHorizontal()?_(a,"width",!0):_(a,"height",!0);else{const e=s(r,"width"),t=s(r,"padding-left"),i=s(r,"padding-right"),n=s(r,"margin-left"),o=s(r,"margin-right"),l=r.getPropertyValue("box-sizing");if(l&&"border-box"===l)M=e+n+o;else{const{clientWidth:s,offsetWidth:r}=a;M=e+t+i+n+o+(r-s)}}o&&(a.style.transform=o),l&&(a.style.webkitTransform=l),i.roundLengths&&(M=Math.floor(M))}else M=(r-(i.slidesPerView-1)*S)/i.slidesPerView,i.roundLengths&&(M=Math.floor(M)),p[n]&&(p[n].style[t("width")]=`${M}px`);p[n]&&(p[n].swiperSlideSize=M),b.push(M),i.centeredSlides?(T=T+M/2+k/2+S,0===k&&0!==n&&(T=T-r/2-S),0===n&&(T=T-r/2-S),Math.abs(T)<.001&&(T=0),i.roundLengths&&(T=Math.floor(T)),C%i.slidesPerGroup==0&&f.push(T),g.push(T)):(i.roundLengths&&(T=Math.floor(T)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&f.push(T),g.push(T),T=T+M+S),e.virtualSize+=M+S,k=M,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+y,o&&l&&("slide"===i.effect||"coverflow"===i.effect)&&(n.style.width=`${e.virtualSize+S}px`),i.setWrapperSize&&(n.style[t("width")]=`${e.virtualSize+S}px`),A&&e.grid.updateWrapperSize(M,f,t),!i.centeredSlides){const t=[];for(let s=0;s<f.length;s+=1){let n=f[s];i.roundLengths&&(n=Math.floor(n)),f[s]<=e.virtualSize-r&&t.push(n)}f=t,Math.floor(e.virtualSize-r)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-r)}if(d&&i.loop){const t=b[0]+S;if(i.slidesPerGroup>1){const s=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/i.slidesPerGroup),n=t*i.slidesPerGroup;for(let e=0;e<s;e+=1)f.push(f[f.length-1]+n)}for(let s=0;s<e.virtual.slidesBefore+e.virtual.slidesAfter;s+=1)1===i.slidesPerGroup&&f.push(f[f.length-1]+t),g.push(g[g.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==S){const s=e.isHorizontal()&&o?"marginLeft":t("marginRight");p.filter(((e,t)=>!(i.cssMode&&!i.loop)||t!==p.length-1)).forEach((e=>{e.style[s]=`${S}px`}))}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;b.forEach((t=>{e+=t+(S||0)})),e-=S;const t=e-r;f=f.map((e=>e<=0?-w:e>t?t+y:e))}if(i.centerInsufficientSlides){let e=0;if(b.forEach((t=>{e+=t+(S||0)})),e-=S,e<r){const t=(r-e)/2;f.forEach(((e,s)=>{f[s]=e-t})),g.forEach(((e,s)=>{g[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:f,slidesGrid:g,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){u(n,"--swiper-centered-offset-before",-f[0]+"px"),u(n,"--swiper-centered-offset-after",e.size/2-b[b.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(h!==c&&e.emit("slidesLengthChange"),f.length!==E&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==x&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(d||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.el.classList.contains(t);h<=i.maxBackfaceHiddenSlides?s||e.el.classList.add(t):s&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let n,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{s.push(e)}));else for(n=0;n<Math.ceil(t.params.slidesPerView);n+=1){const e=t.activeIndex+n;if(e>t.slides.length&&!i)break;s.push(r(e))}else s.push(r(t.activeIndex));for(n=0;n<s.length;n+=1)if(void 0!==s[n]){const e=s[n].offsetHeight;a=e>a?e:a}(a||0===a)&&(t.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:i,rtlTranslate:n,snapGrid:a}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;n&&(r=e),i.forEach((e=>{e.classList.remove(s.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=s.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){const l=i[e];let d=l.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(r+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),u=(r-a[0]+(s.centeredSlides?t.minTranslate():0)-d)/(l.swiperSlideSize+o),p=-(r-d),h=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),i[e].classList.add(s.slideVisibleClass)),l.progress=n?-c:c,l.originalProgress=n?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:a,isEnd:r,progressLoop:o}=t;const l=a,d=r;if(0===i)n=0,a=!0,r=!0;else{n=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;a=s||n<=0,r=o||n>=1,s&&(n=0),o&&(n=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),n=t.slidesGrid[s],a=t.slidesGrid[i],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=n?(l-n)/r:(l+r-a)/r,o>1&&(o-=1)}Object.assign(t,{progress:n,progressLoop:o,isBeginning:a,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),r&&!d&&t.emit("reachEnd toEdge"),(l&&!a||d&&!r)&&t.emit("fromEdge"),t.emit("progress",n)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:n}=e,a=e.virtual&&s.virtual.enabled,r=e=>m(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o;if(t.forEach((e=>{e.classList.remove(s.slideActiveClass,s.slideNextClass,s.slidePrevClass)})),a)if(s.loop){let t=n-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=r(`[data-swiper-slide-index="${t}"]`)}else o=r(`[data-swiper-slide-index="${n}"]`);else o=t[n];if(o){o.classList.add(s.slideActiveClass);let e=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(o,`.${s.slideClass}, swiper-slide`)[0];s.loop&&!e&&(e=t[0]),e&&e.classList.add(s.slideNextClass);let i=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(o,`.${s.slideClass}, swiper-slide`)[0];s.loop&&0===!i&&(i=t[t.length-1]),i&&i.classList.add(s.slidePrevClass)}e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:n,activeIndex:a,realIndex:r,snapIndex:o}=t;let l,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let n;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?n=e:i>=t[e]&&i<t[e+1]&&(n=e+1):i>=t[e]&&(n=e);return s.normalizeSlideIndex&&(n<0||void 0===n)&&(n=0),n}(t)),i.indexOf(s)>=0)l=i.indexOf(s);else{const e=Math.min(n.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/n.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),d===a)return l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=c(d)));let u;u=t.virtual&&n.virtual.enabled&&n.loop?c(d):t.slides[d]?parseInt(t.slides[d].getAttribute("data-swiper-slide-index")||d,10):d,Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:r,realIndex:u,previousIndex:a,activeIndex:d}),t.initialized&&P(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),r!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,i=e.closest(`.${s.slideClass}, swiper-slide`);let n,a=!1;if(i)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===i){a=!0,n=e;break}if(!i||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=n,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},D={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:i,wrapperEl:n}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let a=l(n,e);return a+=this.cssOverflowAdjustment(),s&&(a=-a),a||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:n,wrapperEl:a,progress:r}=s;let o,l=0,d=0;s.isHorizontal()?l=i?-e:e:d=e,n.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,n.cssMode?a[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:n.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),a.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();o=0===c?0:(e-s.minTranslate())/c,o!==r&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);const a=this,{params:r,wrapperEl:o}=a;if(a.animating&&r.preventInteractionOnTransition)return!1;const l=a.minTranslate(),d=a.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,a.updateProgress(c),r.cssMode){const e=a.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!a.support.smoothScroll)return p({swiper:a,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,s&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function I(e){let{swiper:t,runCallbacks:s,direction:i,step:n}=e;const{activeIndex:a,previousIndex:r}=t;let o=i;if(o||(o=a>r?"next":a<r?"prev":"reset"),t.emit(`transition${n}`),s&&a!==r){if("reset"===o)return void t.emit(`slideResetTransition${n}`);t.emit(`slideChangeTransition${n}`),"next"===o?t.emit(`slideNextTransition${n}`):t.emit(`slidePrevTransition${n}`)}}var F={slideTo:function(e,t,s,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:u,rtlTranslate:h,wrapperEl:m,enabled:f}=a;if(a.animating&&o.preventInteractionOnTransition||!f&&!i&&!n)return!1;const g=Math.min(a.params.slidesPerGroupSkip,r);let v=g+Math.floor((r-g)/a.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const b=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*b),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(a.initialized&&r!==u){if(!a.allowSlideNext&&(h?b>a.translate&&b>a.minTranslate():b<a.translate&&b<a.minTranslate()))return!1;if(!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(u||0)!==r)return!1}let w;if(r!==(c||0)&&s&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),w=r>u?"next":r<u?"prev":"reset",h&&-b===a.translate||!h&&b===a.translate)return a.updateActiveIndex(r),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(b),"reset"!==w&&(a.transitionStart(s,w),a.transitionEnd(s,w)),!1;if(o.cssMode){const e=a.isHorizontal(),s=h?b:-b;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{m[e?"scrollLeft":"scrollTop"]=s}))):m[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return p({swiper:a,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(s,w),0===t?a.transitionEnd(s,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(s,w))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const n=this;let a=e;return n.params.loop&&(n.virtual&&n.params.virtual.enabled?a+=n.virtual.slidesBefore:a=n.getSlideIndexByData(a)),n.slideTo(a,t,s,i)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{enabled:n,params:a,animating:r}=i;if(!n)return i;let o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<a.slidesPerGroupSkip?1:o,d=i.virtual&&a.virtual.enabled;if(a.loop){if(r&&!d&&a.loopPreventsSliding)return!1;i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft}return a.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{params:n,snapGrid:a,slidesGrid:r,rtlTranslate:o,enabled:l,animating:d}=i;if(!l)return i;const c=i.virtual&&n.virtual.enabled;if(n.loop){if(d&&!c&&n.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(o?i.translate:-i.translate),h=a.map((e=>u(e)));let m=a[h.indexOf(p)-1];if(void 0===m&&n.cssMode){let e;a.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(m=a[e>0?e-1:e])}let f=0;if(void 0!==m&&(f=r.indexOf(m),f<0&&(f=i.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(f=f-i.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),n.rewind&&i.isBeginning){const n=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(n,e,t,s)}return i.slideTo(f,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);const n=this;let a=n.activeIndex;const r=Math.min(n.params.slidesPerGroupSkip,a),o=r+Math.floor((a-r)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*i&&(a+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*i&&(a-=n.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,n.slidesGrid.length-1),n.slideTo(a,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,a=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;n=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-i/2||a>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),a=e.getSlideIndex(m(s,`${o}[data-swiper-slide-index="${n}"]`)[0]),r((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-i?(e.loopFix(),a=e.getSlideIndex(m(s,`${o}[data-swiper-slide-index="${n}"]`)[0]),r((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}},B={loopCreate:function(e){const t=this,{params:s,slidesEl:i}=t;!s.loop||t.virtual&&t.params.virtual.enabled||(m(i,`.${s.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:s.centeredSlides?void 0:"next"}))},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:n,activeSlideIndex:a,byController:r,byMousewheel:o}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:u,slidesEl:p,params:h}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return s&&(h.centeredSlides||0!==l.snapIndex?h.centeredSlides&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=u,void l.emit("loopFix");const m="auto"===h.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(h.slidesPerView,10));let f=h.loopedSlides||m;f%h.slidesPerGroup!=0&&(f+=h.slidesPerGroup-f%h.slidesPerGroup),l.loopedSlides=f;const g=[],v=[];let b=l.activeIndex;void 0===a?a=l.getSlideIndex(l.slides.filter((e=>e.classList.contains(h.slideActiveClass)))[0]):b=a;const w="next"===i||!i,y="prev"===i||!i;let _=0,E=0;if(a<f){_=Math.max(f-a,h.slidesPerGroup);for(let e=0;e<f-a;e+=1){const t=e-Math.floor(e/d.length)*d.length;g.push(d.length-t-1)}}else if(a>l.slides.length-2*f){E=Math.max(a-(l.slides.length-2*f),h.slidesPerGroup);for(let e=0;e<E;e+=1){const t=e-Math.floor(e/d.length)*d.length;v.push(t)}}if(y&&g.forEach((e=>{l.slides[e].swiperLoopMoveDOM=!0,p.prepend(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1})),w&&v.forEach((e=>{l.slides[e].swiperLoopMoveDOM=!0,p.append(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView&&l.updateSlides(),h.watchSlidesProgress&&l.updateSlidesOffset(),s)if(g.length>0&&y)if(void 0===t){const e=l.slidesGrid[b],t=l.slidesGrid[b+_]-e;o?l.setTranslate(l.translate-t):(l.slideTo(b+_,0,!1,!0),n&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t))}else n&&l.slideToLoop(t,0,!1,!0);else if(v.length>0&&w)if(void 0===t){const e=l.slidesGrid[b],t=l.slidesGrid[b-E]-e;o?l.setTranslate(l.translate-t):(l.slideTo(b-E,0,!1,!0),n&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t))}else l.slideToLoop(t,0,!1,!0);if(l.allowSlidePrev=c,l.allowSlideNext=u,l.controller&&l.controller.control&&!r){const e={slideRealIndex:t,slideTo:!1,direction:i,setTranslate:n,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix(e)})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(e)}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),i.forEach((e=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function N(e){const t=this,s=i(),n=a(),r=t.touchEventsData;r.evCache.push(e);const{params:l,touches:d,enabled:c}=t;if(!c)return;if(!l.simulateTouch&&"mouse"===e.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let p=u.target;if("wrapper"===l.touchEventsTarget&&!t.wrapperEl.contains(p))return;if("which"in u&&3===u.which)return;if("button"in u&&u.button>0)return;if(r.isTouched&&r.isMoved)return;const h=!!l.noSwipingClass&&""!==l.noSwipingClass,m=e.composedPath?e.composedPath():e.path;h&&u.target&&u.target.shadowRoot&&m&&(p=m[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!(!u.target||!u.target.shadowRoot);if(l.noSwiping&&(g?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===i()||s===a())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(e);return n||s.getRootNode?n||t(s.getRootNode().host):null}(t)}(f,p):p.closest(f)))return void(t.allowClick=!0);if(l.swipeHandler&&!p.closest(l.swipeHandler))return;d.currentX=u.pageX,d.currentY=u.pageY;const v=d.currentX,b=d.currentY,w=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(w&&(v<=y||v>=n.innerWidth-y)){if("prevent"!==w)return;e.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=b,r.touchStartTime=o(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(r.allowThresholdMove=!1);let _=!0;p.matches(r.focusableElements)&&(_=!1,"SELECT"===p.nodeName&&(r.isTouched=!1)),s.activeElement&&s.activeElement.matches(r.focusableElements)&&s.activeElement!==p&&s.activeElement.blur();const E=_&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!E||p.isContentEditable||u.preventDefault(),l.freeMode&&l.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",u)}function z(e){const t=i(),s=this,n=s.touchEventsData,{params:a,touches:r,rtlTranslate:l,enabled:d}=s;if(!d)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",c));const u=n.evCache.findIndex((e=>e.pointerId===c.pointerId));u>=0&&(n.evCache[u]=c);const p=n.evCache.length>1?n.evCache[0]:c,h=p.pageX,m=p.pageY;if(c.preventedByNestedSwiper)return r.startX=h,void(r.startY=m);if(!s.allowTouchMove)return c.target.matches(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(r,{startX:h,startY:m,prevX:s.touches.currentX,prevY:s.touches.currentY,currentX:h,currentY:m}),n.touchStartTime=o()));if(a.touchReleaseOnEdges&&!a.loop)if(s.isVertical()){if(m<r.startY&&s.translate<=s.maxTranslate()||m>r.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(h<r.startX&&s.translate<=s.maxTranslate()||h>r.startX&&s.translate>=s.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;r.currentX=h,r.currentY=m;const f=r.currentX-r.startX,g=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)<s.params.threshold)return;if(void 0===n.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:f*f+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",c),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling||s.zoom&&s.params.zoom&&s.params.zoom.enabled&&n.evCache.length>1)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!a.cssMode&&c.cancelable&&c.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&c.stopPropagation();let v=s.isHorizontal()?f:g,b=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(v=Math.abs(v)*(l?1:-1),b=Math.abs(b)*(l?1:-1)),r.diff=v,v*=a.touchRatio,l&&(v=-v,b=-b);const w=s.touchesDirection;s.swipeDirection=v>0?"prev":"next",s.touchesDirection=b>0?"prev":"next";const y=s.params.loop&&!a.cssMode;if(!n.isMoved){if(y&&s.loopFix({direction:s.swipeDirection}),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
5s.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!a.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",c)}let _;n.isMoved&&w!==s.touchesDirection&&y&&Math.abs(v)>=1&&(s.loopFix({direction:s.swipeDirection,setTranslate:!0}),_=!0),s.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=v+n.startTranslate;let E=!0,x=a.resistanceRatio;if(a.touchReleaseOnEdges&&(x=0),v>0?(y&&!_&&n.currentTranslate>(a.centeredSlides?s.minTranslate()-s.size/2:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>s.minTranslate()&&(E=!1,a.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+v)**x))):v<0&&(y&&!_&&n.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.size/2:s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===a.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<s.maxTranslate()&&(E=!1,a.resistance&&(n.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-n.startTranslate-v)**x))),E&&(c.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 4,571 bytes, line 5
5if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}function $(e){const t=this,s=t.touchEventsData,i=s.evCache.findIndex((t=>t.pointerId===e.pointerId));if(i>=0&&s.evCache.splice(i,1),["pointercancel","pointerout","pointerleave"].includes(e.type)&&("pointercancel"!==e.type||!t.browser.isSafari&&!t.browser.isWebView))return;const{params:n,touches:a,rtlTranslate:l,slidesGrid:d,enabled:c}=t;if(!c)return;if(!n.simulateTouch&&"mouse"===e.pointerType)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",u),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=o(),h=p-s.touchStartTime;if(t.allowClick){const e=u.path||u.composedPath&&u.composedPath();t.updateClickedSlide(e&&e[0]||u.target),t.emit("tap click",u),h<300&&p-s.lastClickTime<300&&t.emit("doubleTap doubleClick",u)}if(s.lastClickTime=o(),r((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===a.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let m;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,m=n.followFinger?l?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:m});let f=0,g=t.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==d[e+t]?m>=d[e]&&m<d[e+t]&&(f=e,g=d[e+t]-d[e]):m>=d[e]&&(f=e,g=d[d.length-1]-d[d.length-2])}let v=null,b=null;n.rewind&&(t.isBeginning?b=n.virtual&&n.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const w=(m-d[f])/g,y=f<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(h>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?v:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(w>1-n.longSwipesRatio?t.slideTo(f+y):null!==b&&w<0&&Math.abs(w)>n.longSwipesRatio?t.slideTo(b):t.slideTo(f))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||u.target!==t.navigation.nextEl&&u.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==v?v:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:f)):u.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f)}}function V(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:n,snapGrid:a}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!r?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=n,e.allowSlideNext=i,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function R(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function j(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();n=0===a?0:(e.translate-e.minTranslate())/a,n!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function H(e){const t=this;M(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 12,633 bytes, line 5
5)}let q=!1;function G(){}const Y=(e,t)=>{const s=i(),{params:n,el:a,wrapperEl:r,device:o}=e,l=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;a[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&a[d]("click",e.onClick,!0),n.cssMode&&r[d]("scroll",e.onScroll),n.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",V,!0):e[c]("observerUpdate",V,!0),a[d]("load",e.onLoad,{capture:!0})},X=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var W={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function U(e,t){return function(s){void 0===s&&(s={});const i=Object.keys(s)[0],n=s[i];"object"==typeof n&&null!==n?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in n?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),c(t,s)):c(t,s)):c(t,s)}}const K={eventsEmitter:A,update:O,translate:D,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),I({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),I({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:F,loop:B,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,t=i(),{params:s}=e;e.onTouchStart=N.bind(e),e.onTouchMove=z.bind(e),e.onTouchEnd=$.bind(e),s.cssMode&&(e.onScroll=j.bind(e)),e.onClick=R.bind(e),e.onLoad=H.bind(e),q||(t.addEventListener("touchstart",G),q=!0),Y(e,"on")},detachEvents:function(){Y(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:n}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const r=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!r||e.currentBreakpoint===r)return;const o=(r in a?a[r]:void 0)||e.originalParams,l=X(e,i),d=X(e,o),u=i.enabled;l&&!d?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&d&&(n.classList.add(`${i.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===o[t])return;const s=i[t]&&i[t].enabled,n=o[t]&&o[t].enabled;s&&!n&&e[t].disable(),!s&&n&&e[t].enable()}));const p=o.direction&&o.direction!==i.direction,h=i.loop&&(o.slidesPerView!==i.slidesPerView||p);p&&s&&e.changeDirection(),c(e.params,o);const m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!m?e.disable():!u&&m&&e.enable(),e.currentBreakpoint=r,e.emit("_beforeBreakpoint",o),h&&s&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",o)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1;const n=a(),r="window"===t?n.innerHeight:s.clientHeight,o=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<o.length;e+=1){const{point:a,value:r}=o[e];"window"===t?n.matchMedia(`(min-width: ${r}px)`).matches&&(i=a):r<=s.clientWidth&&(i=a)}return i||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:i,el:n,device:a}=e,r=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...r),n.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},Z={};class Q{constructor(){let e,t;for(var s=arguments.length,n=new Array(s),a=0;a<s;a++)n[a]=arguments[a];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=c({},t),e&&!t.el&&(t.el=e);const r=i();if(t.el&&"string"==typeof t.el&&r.querySelectorAll(t.el).length>1){const e=[];return r.querySelectorAll(t.el).forEach((s=>{const i=c({},t,{el:s});e.push(new Q(i))})),e}const o=this;o.__swiper__=!0,o.support=T(),o.device=k({userAgent:t.userAgent}),o.browser=C(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach((e=>{e({params:t,swiper:o,extendParams:U(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const d=c({},W,l);return o.params=c({},d,Z,t),o.originalParams=c({},o.params),o.passedParams=c({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getSlideIndex(e){const{slidesEl:t,params:s}=this,i=b(m(t,`.${s.slideClass}, swiper-slide`)[0]);return b(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=m(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),n=(s.maxTranslate()-i)*e+i;s.translateTo(n,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:i,slidesGrid:n,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(s.centeredSlides){let e,t=i[o]?i[o].swiperSlideSize:0;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?n[e]+a[e]-n[o]<r:n[e]-n[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)n[o]-n[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&M(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(t.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEac
vendor: 3,136 bytes, line 5
5h((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):m(s,i())[0];return!n&&t.params.createElements&&(n=f("div",t.params.wrapperClass),s.append(n),m(s,`.${t.params.slideClass}`).forEach((e=>{n.append(e)}))),Object.assign(t,{el:s,wrapperEl:n,slidesEl:t.isElement?s.parentNode.host:n,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===v(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===v(s,"direction")),wrongRTL:"-webkit-box"===v(n,"display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach((e=>{e.complete?M(t,e):e.addEventListener("load",(e=>{M(t,e.target)}))})),P(t),t.initialized=!0,P(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:i,el:n,wrapperEl:a,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),n.removeAttribute("style"),a.removeAttribute("style"),r&&r.length&&r.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){c(Z,e)}static get extendedDefaults(){return Z}static get defaults(){return W}static installModule(e){Q.prototype.__modules__||(Q.prototype.__modules__=[]);const t=Q.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Q.installModule(e))),Q):(Q.installModule(e),Q)}}function J(e,t,s,i){return e.params.createElements&&Object.keys(i).forEac
vendor: 41,712 bytes, line 5
5h((n=>{if(!s[n]&&!0===s.auto){let a=m(e.el,`.${i[n]}`)[0];a||(a=f("div",i[n]),a.className=i[n],e.el.append(a)),s[n]=a,t[n]=a}})),s}function ee(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function te(e){const t=this,{params:s,slidesEl:i}=t;s.loop&&t.loopDestroy();const n=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,i.append(t.children[0]),t.innerHTML=""}else i.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);else n(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update()}function se(e){const t=this,{params:s,activeIndex:i,slidesEl:n}=t;s.loop&&t.loopDestroy();let a=i+1;const r=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,n.prepend(t.children[0]),t.innerHTML=""}else n.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&r(e[t]);a=i+e.length}else r(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),t.slideTo(a,0,!1)}function ie(e,t){const s=this,{params:i,activeIndex:n,slidesEl:a}=s;let r=n;i.loop&&(r-=s.loopedSlides,s.loopDestroy(),s.recalcSlides());const o=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=o)return void s.appendSlide(t);let l=r>e?r+1:r;const d=[];for(let t=o-1;t>=e;t-=1){const e=s.slides[t];e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&a.append(t[e]);l=r>e?r+t.length:r}else a.append(t);for(let e=0;e<d.length;e+=1)a.append(d[e]);s.recalcSlides(),i.loop&&s.loopCreate(),i.observer&&!s.isElement||s.update(),i.loop?s.slideTo(l+s.loopedSlides,0,!1):s.slideTo(l,0,!1)}function ne(e){const t=this,{params:s,activeIndex:i}=t;let n=i;s.loop&&(n-=t.loopedSlides,t.loopDestroy());let a,r=n;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)a=e[s],t.slides[a]&&t.slides[a].remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,t.slides[a]&&t.slides[a].remove(),a<r&&(r-=1),r=Math.max(r,0);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),s.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)}function ae(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function re(e){const{effect:t,swiper:s,on:i,setTranslate:n,setTransition:a,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;i("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),o&&o()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),i("setTranslate",(()=>{s.params.effect===t&&n()})),i("setTransition",((e,i)=>{s.params.effect===t&&a(i)})),i("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),i("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(n(),c=!1)})))}))}function oe(e,t){const s=h(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function le(e){let{swiper:t,duration:s,transformElements:i,allSlides:n}=e;const{activeIndex:a}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=n?i:i.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0])(e):e;return t.getSlideIndex(s)===a})),e.forEach((e=>{y(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function de(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,n=h(t);let a=n.querySelector(`.${i.split(" ").join(".")}`);return a||(a=f("div",i.split(" ")),n.append(a)),a}Object.keys(K).forEach((e=>{Object.keys(K[e]).forEach((t=>{Q.prototype[t]=K[e][t]}))})),Q.use([function(e){let{swiper:t,on:s,emit:i}=e;const n=a();let r=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==n.ResizeObserver?t&&!t.destroyed&&t.initialized&&(r=new ResizeObserver((e=>{o=n.requestAnimationFrame((()=>{const{width:s,height:i}=t;let n=s,a=i;e.forEach((e=>{let{contentBoxSize:s,contentRect:i,target:r}=e;r&&r!==t.el||(n=i?i.width:(s[0]||s).inlineSize,a=i?i.height:(s[0]||s).blockSize)})),n===s&&a===i||l()}))})),r.observe(t.el)):(n.addEventListener("resize",l),n.addEventListener("orientationchange",d))})),s("destroy",(()=>{o&&n.cancelAnimationFrame(o),r&&r.unobserve&&t.el&&(r.unobserve(t.el),r=null),n.removeEventListener("resize",l),n.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=[],o=a(),l=function(e,s){void 0===s&&(s={});const i=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void n("observerUpdate",e[0]);const s=function(){n("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)}));i.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:void 0===s.childList||s.childList,characterData:void 0===s.characterData||s.characterData}),r.push(i)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=w(t.el);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.el,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);const ce=[function(e){let t,{swiper:s,extendParams:n,on:a,emit:r}=e;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const o=i();s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=o.createElement("div");function d(e,t){const i=s.params.virtual;if(i.cache&&s.virtual.cache[t])return s.virtual.cache[t];let n;return i.renderSlide?(n=i.renderSlide.call(s,e,t),"string"==typeof n&&(l.innerHTML=n,n=l.children[0])):n=s.isElement?f("swiper-slide"):f("div",s.params.slideClass),n.setAttribute("data-swiper-slide-index",t),i.renderSlide||(n.innerHTML=e),i.cache&&(s.virtual.cache[t]=n),n}function c(e){const{slidesPerView:t,slidesPerGroup:i,centeredSlides:n,loop:a}=s.params,{addSlidesBefore:o,addSlidesAfter:l}=s.params.virtual,{from:c,to:u,slides:p,slidesGrid:h,offset:f}=s.virtual;s.params.cssMode||s.updateActiveIndex();const g=s.activeIndex||0;let v,b,w;v=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",n?(b=Math.floor(t/2)+i+l,w=Math.floor(t/2)+i+o):(b=t+(i-1)+l,w=(a?t:i)+o);let y=g-w,_=g+b;a||(y=Math.max(y,0),_=Math.min(_,p.length-1));let E=(s.slidesGrid[y]||0)-(s.slidesGrid[0]||0);function x(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),r("virtualUpdate")}if(a&&g>=w?(y-=w,n||(E+=s.slidesGrid[0])):a&&g<w&&(y=-w,n&&(E+=s.slidesGrid[0])),Object.assign(s.virtual,{from:y,to:_,offset:E,slidesGrid:s.slidesGrid,slidesBefore:w,slidesAfter:b}),c===y&&u===_&&!e)return s.slidesGrid!==h&&E!==f&&s.slides.forEach((e=>{e.style[v]=E-Math.abs(s.cssOverflowAdjustment())+"px"})),s.updateProgress(),void r("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:E,from:y,to:_,slides:function(){const e=[];for(let t=y;t<=_;t+=1)e.push(p[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?x():r("virtualUpdate"));const S=[],T=[],k=e=>{let t=e;return e<0?t=p.length+e:t>=p.length&&(t-=p.length),t};if(e)s.slidesEl.querySelectorAll(`.${s.params.slideClass}, swiper-slide`).forEach((e=>{e.remove()}));else for(let e=c;e<=u;e+=1)if(e<y||e>_){const t=k(e);s.slidesEl.querySelectorAll(`.${s.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`).forEach((e=>{e.remove()}))}const C=a?-p.length:0,A=a?2*p.length:p.length;for(let t=C;t<A;t+=1)if(t>=y&&t<=_){const s=k(t);void 0===u||e?T.push(s):(t>u&&T.push(s),t<c&&S.push(s))}if(T.forEach((e=>{s.slidesEl.append(d(p[e],e))})),a)for(let e=S.length-1;e>=0;e-=1){const t=S[e];s.slidesEl.prepend(d(p[t],t))}else S.sort(((e,t)=>t-e)),S.forEach((e=>{s.slidesEl.prepend(d(p[e],e))}));m(s.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[v]=E-Math.abs(s.cssOverflowAdjustment())+"px"})),x()}a("beforeInit",(()=>{if(!s.params.virtual.enabled)return;let e;if(void 0===s.passedParams.virtual.slides){const t=[...s.slidesEl.children].filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`)));t&&t.length&&(s.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),s.virtual.cache[t]=e,e.remove()})))}e||(s.virtual.slides=s.params.virtual.slides),s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,s.params.initialSlide||c()})),a("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{c()}),100)):c())})),a("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&u(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);c(!0)},prependSlide:function(e){const t=s.activeIndex;let i=t+1,n=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);i=t+e.length,n=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach((s=>{const i=e[s],a=i.getAttribute("data-swiper-slide-index");a&&i.setAttribute("data-swiper-slide-index",parseInt(a,10)+n),t[parseInt(s,10)+n]=i})),s.virtual.cache=t}c(!0),s.slideTo(i,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)s.virtual.slides.splice(e[i],1),s.params.virtual.cache&&delete s.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else s.virtual.slides.splice(e,1),s.params.virtual.cache&&delete s.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);c(!0),s.slideTo(t,0)},removeAllSlides:function(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),c(!0),s.slideTo(0,0)},update:c})},function(e){let{swiper:t,extendParams:s,on:n,emit:r}=e;const o=i(),l=a();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const n=i.keyCode||i.charCode,a=t.params.keyboard.pageUpDown,d=a&&33===n,c=a&&34===n,u=37===n,p=39===n,h=38===n,m=40===n;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&m||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&u||t.isVertical()&&h||d))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||o.activeElement&&o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||u||p||h||m)){let e=!1;if(w(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===w(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,n=i.clientWidth,a=i.clientHeight,r=l.innerWidth,o=l.innerHeight,d=g(i);s&&(d.left-=i.scrollLeft);const c=[[d.left,d.top],[d.left+n,d.top],[d.left,d.top+a],[d.left+n,d.top+a]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=r&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||u||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((c||p)&&!s||(d||u)&&s)&&t.slideNext(),((d||u)&&!s||(c||p)&&s)&&t.slidePrev()):((d||c||h||m)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(c||m)&&t.slideNext(),(d||h)&&t.slidePrev()),r("keyPress",n)}}function c(){t.keyboard.enabled||(o.addEventListener("keydown",d),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(o.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",(()=>{t.params.keyboard.enabled&&c()})),n("destroy",(()=>{t.keyboard.enabled&&u()})),Object.assign(t.keyboard,{enable:c,disable:u})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const l=a();let d;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,u=o();const p=[];function h(){t.enabled&&(t.mouseEntered=!0)}function m(){t.enabled&&(t.mouseEntered=!1)}function f(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&o()-u<t.params.mousewheel.thresholdTime||!(e.delta>=6&&o()-u<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),n("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),n("scroll",e.raw)),u=(new l.Date).getTime(),1))}function g(e){let s=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const a=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let l=t.el;"container"!==t.params.mousewheel.eventsTarget&&(l=document.querySelector(t.params.mousewheel.eventsTarget));const u=l&&l.contains(s.target);if(!t.mouseEntered&&!u&&!a.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let h=0;const m=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,i=0,n=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),i=10*t,n=10*s,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=n,n=0),(i||n)&&e.deltaMode&&(1===e.deltaMode?(i*=40,n*=40):(i*=800,n*=800)),i&&!t&&(t=i<1?-1:1),n&&!s&&(s=n<1?-1:1),{spinX:t,spinY:s,pixelX:i,pixelY:n}}(s);if(a.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;h=-g.pixelX*m}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;h=-g.pixelY}else h=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*m:-g.pixelY;if(0===h)return!0;a.invert&&(h=-h);let v=t.getTranslate()+h*a.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:o(),delta:Math.abs(h),direction:Math.sign(h)},i=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!i){c=void 0;let o=t.getTranslate()+h*a.sensitivity;const l=t.isBeginning,u=t.isEnd;if(o>=t.minTranslate()&&(o=t.minTranslate()),o<=t.maxTranslate()&&(o=t.maxTranslate()),t.setTransition(0),t.setTranslate(o),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!l&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(d),d=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,i=p[0];if(p.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))p.splice(0);else if(p.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const s=h>0?.8:.2;c=e,p.splice(0),d=r((()=>{t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}d||(d=r((()=>{c=e,p.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(i||n("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),o===t.minTranslate()||o===t.maxTranslate())return!0}}else{const s={time:o(),delta:Math.abs(h),direction:Math.sign(h),raw:e};p.length>=2&&p.shift();const i=p.length?p[p.length-1]:void 0;if(p.push(s),i?(s.direction!==i.direction||s.delta>i.delta||s.time>i.time+150)&&f(s):f(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",h),s[e]("mouseleave",m),s[e]("wheel",g)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function w(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&w(),t.params.mousewheel.enabled&&b()})),i("destroy",(()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&w()})),Object.assign(t.mousewheel,{enable:b,disable:w})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const a=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function r(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s.length>1&&1===t.el.querySelectorAll(e).length&&(s=t.el.querySelector(e))),e&&!s?e:s)}function o(e,s){const i=t.params.navigation;(e=a(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function l(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return o(s,!1),void o(e,!1);o(s,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function d(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),n("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),n("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=J(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=r(e.nextEl),i=r(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=a(s),i=a(i);const n=(s,i)=>{s&&s.addEventListener("click","next"===i?c:d),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach((e=>n(e,"next"))),i.forEach((e=>n(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=a(e),s=a(s);const i=(e,s)=>{e.removeEventListener("click","next"===s?c:d),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),s.forEach((e=>i(e,"prev")))}i("init",(()=>{!1===t.params.navigation.enabled?h():(u(),l())})),i("toEdge fromEdge lock unlock",(()=>{l()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=a(e),s=a(s),[...e,...s].filter((e=>!!e)).forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.navigation.lockClass)))})),i("click",((e,s)=>{let{nextEl:i,prevEl:r}=t.navigation;i=a(i),r=a(r);const o=s.target;if(t.params.navigation.hideOnClick&&!r.includes(o)&&!i.includes(o)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),n(!0===e?"navigationShow":"navigationHide"),[...i,...r].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:h,update:l,init:u,destroy:p})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const a="swiper-pagination";let r;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;const l=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function d(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,s){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${s}-${s}`))}function u(e){const s=e.target.closest(ee(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const i=b(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=t.getSlideIndexByData(i),s=t.getSlideIndexByData(t.realIndex);e>t.slides.length-t.loopedSlides&&t.loopFix({direction:e>s?"next":"prev",activeSlideIndex:e,slideTo:!1}),t.slideToLoop(i)}else t.slideTo(i)}function p(){const e=t.rtl,s=t.params.pagination;if(d())return;let i,a,u=t.pagination.el;u=l(u);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(a=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,a=t.previousSnapIndex):(a=t.previousIndex||0,i=t.activeIndex||0),"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const n=t.pagination.bullets;let l,d,p;if(s.dynamicBullets&&(r=_(n[0],t.isHorizontal()?"width":"height",!0),u.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==a&&(o+=i-(a||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),d=l+(Math.min(n.length,s.dynamicMainBullets)-1),p=(d+l)/2),n.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),u.length>1)n.forEach((e=>{const n=b(e);n===i?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(n>=l&&n<=d&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),n===l&&c(e,"prev"),n===d&&c(e,"next"))}));else{const e=n[i];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&n.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),s.dynamicBullets){const e=n[l],t=n[d];for(let e=l;e<=d;e+=1)n[e]&&n[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(s.dynamicBullets){const i=Math.min(n.length,s.dynamicMainBullets+4),a=(r*i-r)/2-p*r,o=e?"right":"left";n.forEach((e=>{e.style[t.isHorizontal()?o:"top"]=`${a}px`}))}}u.forEach(((e,a)=>{if("fraction"===s.type&&(e.querySelectorAll(ee(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(i+1)})),e.querySelectorAll(ee(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(h)}))),"progressbar"===s.type){let n;n=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(i+1)/h;let r=1,o=1;"horizontal"===n?r=a:o=a,e.querySelectorAll(ee(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(e.innerHTML=s.renderCustom(t,i+1,h),0===a&&n("paginationRender",e)):(0===a&&n("paginationRender",e),n("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function h(){const e=t.params.pagination;if(d())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length;let i=t.pagination.el;i=l(i);let a="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?a+=e.renderBullet.call(t,s,e.bulletClass):a+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((s=>{"custom"!==e.type&&(s.innerHTML=a||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(ee(e.bulletClass)))})),"custom"!==e.type&&n("paginationRender",i[0])}function m(){t.params.pagination=J(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.filter((e=>w(e,".swiper")[0]===t.el))[0])),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=l(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(e.clickableClass),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",u),t.enabled||s.classList.add(e.lockClass)})))}function f(){const e=t.params.pagination;if(d())return;let s=t.pagination.el;s&&(s=l(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&s.removeEventListener("click",u)}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}i("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:s}=t.pagination;s=l(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?g():(m(),h(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{h(),p()})),i("destroy",(()=>{f()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,s)=>{const i=s.target,a=l(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a&&a.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=a[0].classList.contains(t.params.pagination.hiddenClass);n(!0===e?"paginationShow":"paginationHide"),a.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),h(),p()},disable:g,render:h,update:p,init:m,destroy:f})},function(e){let{swiper:t,extendParams:s,on:n,emit:a}=e;const o=i();let l,d,c,u,p=!1,h=null,m=null;function v(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:i,el:n}=e,a=t.params.scrollbar,r=t.params.loop?t.progressLoop:t.progress;let o=d,l=(c-d)*r;s?(l=-l,l>0?(o=d-l,l=0):-l+d>c&&(o=c+l)):l<0?(o=d+l,l=0):l+d>c&&(o=c-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${o}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${o}px`),a.hide&&(clearTimeout(h),n.style.opacity=1,h=setTimeout((()=>{n.style.opacity=0,n.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:i}=e;s.style.width="",s.style.height="",c=t.isHorizontal()?i.offsetWidth:i.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),d="auto"===t.params.scrollbar.dragSize?c*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${d}px`:s.style.height=`${d}px`,i.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function w(e){return t.isHorizontal()?e.clientX:e.clientY}function y(e){const{scrollbar:s,rtlTranslate:i}=t,{el:n}=s;let a;a=(w(e)-g(n)[t.isHorizontal()?"left":"top"]-(null!==l?l:d/2))/(c-d),a=Math.max(Math.min(a,1),0),i&&(a=1-a);const r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}function _(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:n}=t,{el:r,dragEl:o}=i;p=!0,l=e.target===o?w(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.style.transitionDuration="100ms",o.style.transitionDuration="100ms",y(e),clearTimeout(m),r.style.transitionDuration="0ms",s.hide&&(r.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",e)}function E(e){const{scrollbar:s,wrapperEl:i}=t,{el:n,dragEl:r}=s;p&&(e.preventDefault?e.preventDefault():e.returnValue=!1,y(e),i.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r.style.transitionDuration="0ms",a("scrollbarDragMove",e))}function x(e){const s=t.params.scrollbar,{scrollbar:i,wrapperEl:n}=t,{el:o}=i;p&&(p=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),s.hide&&(clearTimeout(m),m=r((()=>{o.style.opacity=0,o.style.transitionDuration="400ms"}),1e3)),a("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function S(e){const{scrollbar:s,params:i}=t,n=s.el;if(!n)return;const a=n,r=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!a)return;const d="on"===e?"addEventListener":"removeEventListener";a[d]("pointerdown",_,r),o[d]("pointermove",E,r),o[d]("pointerup",x,l)}function T(){const{scrollbar:e,el:s}=t;t.params.scrollbar=J(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let n,a;"string"==typeof i.el&&t.isElement&&(n=t.el.querySelector(i.el)),n||"string"!=typeof i.el?n||(n=i.el):n=o.querySelectorAll(i.el),t.params.uniqueNavElements&&"string"==typeof i.el&&n.length>1&&1===s.querySelectorAll(i.el).length&&(n=s.querySelector(i.el)),n.length>0&&(n=n[0]),n.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),n&&(a=n.querySelector(`.${t.params.scrollbar.dragClass}`),a||(a=f("div",t.params.scrollbar.dragClass),n.append(a))),Object.assign(e,{el:n,dragEl:a}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&S("on"),n&&n.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)}function k(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.params.scrollbar.el&&t.scrollbar.el&&S("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},n("init",(()=>{!1===t.params.scrollbar.enabled?C():(T(),b(),v())})),n("update resize observerUpdate lock unlock",(()=>{b()})),n("setTranslate",(()=>{v()})),n("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),n("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](t.params.scrollbar.lockClass)})),n("destroy",(()=>{k()}));const C=()=>{t.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.add(t.params.scrollbar.scrollbarDisabledClass),k()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.el&&t.scrollbar.el.classList.remove(t.params.scrollbar.scrollbarDisabledClass),T(),b(),v()},disable:C,updateSize:b,setTranslate:v,init:T,destroy:k})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({parallax:{enabled:!1}});const n=(e,s)=>{const{rtl:i}=t,n=i?-1:1,a=e.getAttribute("data-swiper-parallax")||"0";let r=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(r||o?(r=r||"0",o=o||"0"):t.isHorizontal()?(r=a,o="0"):(o=a,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*s*n+"%":r*s*n+"px",o=o.indexOf("%")>=0?parseInt(o,10)*s+"%":o*s+"px",null!=d){const t=d-(d-1)*(1-Math.abs(s));e.style.opacity=t}let u=`translate3d(${r}, ${o}, 0px)`;null!=l&&(u+=` scale(${l-(l-1)*(1-Math.abs(s))})`),c&&null!=c&&(u+=` rotate(${c*s*-1}deg)`),e.style.transform=u},a=()=>{const{el:e,slides:s,progress:i,snapGrid:a}=t;m(e,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((e=>{n(e,i)})),s.forEach(((e,s)=>{let r=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(r+=Math.ceil(s/2)-i*(a.length-1)),r=Math.min(Math.max(r,-1),1),e.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale], [data-swiper-parallax-rotate]").forEach((e=>{n(e,r)}))}))};i("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),i("init",(()=>{t.params.parallax.enabled&&a()})),i("setTranslate",(()=>{t.params.parallax.enabled&&a()})),i("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:s}=t;s.querySelectorAll("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").forEach((t=>{let s=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),t.style.transitionDuration=`${s}ms`}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const r=a();s({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let o,d,c=1,u=!1;const p=[],h={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},v={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let b=1;function y(){if(p.length<2)return 1;const e=p[0].pageX,t=p[0].pageY,s=p[1].pageX,i=p[1].pageY;return Math.sqrt((s-e)**2+(i-t)**2)}function _(e){const s=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(s)||t.slides.filter((t=>t.contains(e.target))).length>0}function E(e){if("mouse"===e.pointerType&&p.splice(0,p.length),!_(e))return;const s=t.params.zoom;if(o=!1,d=!1,p.push(e),!(p.length<2)){if(o=!0,h.scaleStart=y(),!h.slideEl){h.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),h.slideEl||(h.slideEl=t.slides[t.activeIndex]);let i=h.slideEl.querySelector(`.${s.containerClass}`);if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=i,h.imageWrapEl=i?w(h.imageEl,`.${s.containerClass}`)[0]:void 0,!h.imageWrapEl)return void(h.imageEl=void 0);h.maxRatio=h.imageWrapEl.getAttribute("data-swiper-zoom")||s.maxRatio}if(h.imageEl){const[e,t]=function(){if(p.length<2)return{x:null,y:null};const e=h.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-e.x)/c,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-e.y)/c]}();h.originX=e,h.originY=t,h.imageEl.style.transitionDuration="0ms"}u=!0}}function x(e){if(!_(e))return;const s=t.params.zoom,i=t.zoom,n=p.findIndex((t=>t.pointerId===e.pointerId));n>=0&&(p[n]=e),p.length<2||(d=!0,h.scaleMove=y(),h.imageEl&&(i.scale=h.scaleMove/h.scaleStart*c,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scale<s.minRatio&&(i.scale=s.minRatio+1-(s.minRatio-i.scale+1)**.5),h.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`))}function S(e){if(!_(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const s=t.params.zoom,i=t.zoom,n=p.findIndex((t=>t.pointerId===e.pointerId));n>=0&&p.splice(n,1),o&&d&&(o=!1,d=!1,h.imageEl&&(i.scale=Math.max(Math.min(i.scale,h.maxRatio),s.minRatio),h.imageEl.style.transitionDuration=`${t.params.speed}ms`,h.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,c=i.scale,u=!1,i.scale>1&&h.slideEl?h.slideEl.classList.add(`${s.zoomedSlideClass}`):i.scale<=1&&h.slideEl&&h.slideEl.classList.remove(`${s.zoomedSlideClass}`),1===i.scale&&(h.originX=0,h.originY=0,h.slideEl=void 0)))}function T(e){if(!_(e)||!function(e){const s=`.${t.params.zoom.containerClass}`;return!!e.target.matches(s)||[...t.el.querySelectorAll(s)].filter((t=>t.contains(e.target))).length>0}(e))return;const s=t.zoom;if(!h.imageEl)return;if(!f.isTouched||!h.slideEl)return;f.isMoved||(f.width=h.imageEl.offsetWidth,f.height=h.imageEl.offsetHeight,f.startX=l(h.imageWrapEl,"x")||0,f.startY=l(h.imageWrapEl,"y")||0,h.slideWidth=h.slideEl.offsetWidth,h.slideHeight=h.slideEl.offsetHeight,h.imageWrapEl.style.transitionDuration="0ms");const i=f.width*s.scale,n=f.height*s.scale;if(i<h.slideWidth&&n<h.slideHeight)return;if(f.minX=Math.min(h.slideWidth/2-i/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-n/2,0),f.maxY=-f.minY,f.touchesCurrent.x=p.length>0?p[0].pageX:e.pageX,f.touchesCurrent.y=p.length>0?p[0].pageY:e.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(t.allowClick=!1),!f.isMoved&&!u){if(t.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return void(f.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return void(f.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),f.isMoved=!0;const a=(s.scale-c)/(h.maxRatio-t.params.zoom.minRatio),{originX:r,originY:o}=h;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+a*(f.width-2*r),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+a*(f.height-2*o),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),v.prevPositionX||(v.prevPositionX=f.touchesCurrent.x),v.prevPositionY||(v.prevPositionY=f.touchesCurrent.y),v.prevTime||(v.prevTime=Date.now()),v.x=(f.touchesCurrent.x-v.prevPositionX)/(Date.now()-v.prevTime)/2,v.y=(f.touchesCurrent.y-v.prevPositionY)/(Date.now()-v.prevTime)/2,Math.abs(f.touchesCurrent.x-v.prevPositionX)<2&&(v.x=0),Math.abs(f.touchesCurrent.y-v.prevPositionY)<2&&(v.y=0),v.prevPositionX=f.touchesCurrent.x,v.prevPositionY=f.touchesCurrent.y,v.prevTime=Date.now(),h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function k(){const e=t.zoom;h.slideEl&&t.activeIndex!==t.slides.indexOf(h.slideEl)&&(h.imageEl&&(h.imageEl.style.transform="translate3d(0,
50,0) scale(1)"),h.imageWrapEl&&(h.imageWrapEl.style.transform="translate3d(0,0,0)"),h.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,c=1,h.slideEl=void 0,h.imageEl=void 0,h.imageWrapEl=void 0,h.originX=0,h.originY=0)}function C(e){const s=t.zoom,i=t.params.zoom;if(!h.slideEl){e&&e.target&&(h.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),h.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?h.slideEl=m(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:h.slideEl=t.slides[t.activeIndex]);let s=h.slideEl.querySelector(`.${i.containerClass}`);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=s,h.imageWrapEl=s?w(h.imageEl,`.${i.containerClass}`)[0]:void 0}if(!h.imageEl||!h.imageWrapEl)return;let n,a,o,l,d,u,p,v,b,y,_,E,x,S,T,k,C,A;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),h.slideEl.classList.add(`${i.zoomedSlideClass}`),void 0===f.touchesStart.x&&e?(n=e.pageX,a=e.pageY):(n=f.touchesStart.x,a=f.touchesStart.y);const M="number"==typeof e?e:null;1===c&&M&&(n=void 0,a=void 0),s.scale=M||h.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,c=M||h.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,!e||1===c&&M?(p=0,v=0):(C=h.slideEl.offsetWidth,A=h.slideEl.offsetHeight,o=g(h.slideEl).left+r.scrollX,l=g(h.slideEl).top+r.scrollY,d=o+C/2-n,u=l+A/2-a,b=h.imageEl.offsetWidth,y=h.imageEl.offsetHeight,_=b*s.scale,E=y*s.scale,x=Math.min(C/2-_/2,0),S=Math.min(A/2-E/2,0),T=-x,k=-S,p=d*s.scale,v=u*s.scale,p<x&&(p=x),p>T&&(p=T),v<S&&(v=S),v>k&&(v=k)),M&&1===s.scale&&(h.originX=0,h.originY=0),h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform=`translate3d(${p}px, ${v}px,0)`,h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function A(){const e=t.zoom,s=t.params.zoom;if(!h.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?h.slideEl=m(t.
vendor: 34,900 bytes, line 5
5slidesEl,`.${t.params.slideActiveClass}`)[0]:h.slideEl=t.slides[t.activeIndex];let e=h.slideEl.querySelector(`.${s.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=e,h.imageWrapEl=e?w(h.imageEl,`.${s.containerClass}`)[0]:void 0}h.imageEl&&h.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,c=1,h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform="translate3d(0,0,0)",h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform="translate3d(0,0,0) scale(1)",h.slideEl.classList.remove(`${s.zoomedSlideClass}`),h.slideEl=void 0,h.originX=0,h.originY=0)}function M(e){const s=t.zoom;s.scale&&1!==s.scale?A():C(e)}function L(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function P(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:s,activeListenerWithCapture:i}=L();t.wrapperEl.addEventListener("pointerdown",E,s),t.wrapperEl.addEventListener("pointermove",x,i),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,S,s)})),t.wrapperEl.addEventListener("pointermove",T,i)}function O(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:s,activeListenerWithCapture:i}=L();t.wrapperEl.removeEventListener("pointerdown",E,s),t.wrapperEl.removeEventListener("pointermove",x,i),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,S,s)})),t.wrapperEl.removeEventListener("pointermove",T,i)}Object.defineProperty(t.zoom,"scale",{get:()=>b,set(e){if(b!==e){const t=h.imageEl,s=h.slideEl;n("zoomChange",e,t,s)}b=e}}),i("init",(()=>{t.params.zoom.enabled&&P()})),i("destroy",(()=>{O()})),i("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;if(!h.imageEl)return;if(f.isTouched)return;s.android&&e.cancelable&&e.preventDefault(),f.isTouched=!0;const i=p.length>0?p[0]:e;f.touchesStart.x=i.pageX,f.touchesStart.y=i.pageY}(s)})),i("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!h.imageEl)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let s=300,i=300;const n=v.x*s,a=f.currentX+n,r=v.y*i,o=f.currentY+r;0!==v.x&&(s=Math.abs((a-f.currentX)/v.x)),0!==v.y&&(i=Math.abs((o-f.currentY)/v.y));const l=Math.max(s,i);f.currentX=a,f.currentY=o;const d=f.width*e.scale,c=f.height*e.scale;f.minX=Math.min(h.slideWidth/2-d/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-c/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),h.imageWrapEl.style.transitionDuration=`${l}ms`,h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}()})),i("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&M(s)})),i("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&k()})),i("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&k()})),Object.assign(t.zoom,{enable:P,disable:O,in:C,out:A,toggle:M})},function(e){let{swiper:t,extendParams:s,on:i}=e;function n(e,t){const s=function(){let e,t,s;return(i,n)=>{for(t=-1,e=i.length;e-t>1;)s=e+t>>1,i[s]<=n?t=s:e=s;return e}}();let i,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=s(this.x,e),i=n-1,(e-this.x[i])*(this.y[n]-this.y[i])/(this.x[n]-this.x[i])+this.y[i]):0},this}function a(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const s=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",s)};e.addEventListener("init",s)}}else t.controller.control=t.params.controller.control})),i("update",(()=>{a()})),i("resize",(()=>{a()})),i("observerUpdate",(()=>{a()})),i("setTranslate",((e,s,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(s,i)})),i("setTransition",((e,s,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(s,i)})),Object.assign(t.controller,{setTranslate:function(e,s){const i=t.controller.control;let a,r;const o=t.constructor;function l(e){if(e.destroyed)return;const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline=t.params.loop?new n(t.slidesGrid,e.slidesGrid):new n(t.snapGrid,e.snapGrid)}(e),r=-t.controller.spline.interpolate(-s)),r&&"container"!==t.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(a)&&Number.isFinite(a)||(a=1),r=(s-t.minTranslate())*a+e.minTranslate()),t.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==s&&i[e]instanceof o&&l(i[e]);else i instanceof o&&s!==i&&l(i)},setTransition:function(e,s){const i=t.constructor,n=t.controller.control;let a;function o(s){s.destroyed||(s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&r((()=>{s.updateAutoHeight()})),y(s.wrapperEl,(()=>{n&&s.transitionEnd()}))))}if(Array.isArray(n))for(a=0;a<n.length;a+=1)n[a]!==s&&n[a]instanceof i&&o(n[a]);else n instanceof i&&s!==n&&o(n)}})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let n=null;function a(e){const t=n;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const r=e=>(Array.isArray(e)||(e=[e].filter((e=>!!e))),e);function o(e){(e=r(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function l(e){(e=r(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function d(e,t){(e=r(e)).forEach((e=>{e.setAttribute("role",t)}))}function c(e,t){(e=r(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function u(e,t){(e=r(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function p(e){(e=r(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function h(e){(e=r(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function m(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,i=e.target;t.pagination&&t.pagination.el&&(i===t.pagination.el||t.pagination.el.contains(e.target))&&!e.target.matches(ee(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&i===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?a(s.lastSlideMessage):a(s.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&i===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?a(s.firstSlideMessage):a(s.prevSlideMessage)),t.pagination&&i.matches(ee(t.params.pagination.bulletClass))&&i.click())}function g(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function v(){return g()&&t.params.pagination.clickable}const w=(e,t,s)=>{o(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",m)),u(e,s),function(e,t){(e=r(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},y=()=>{t.a11y.clicked=!0},_=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},E=e=>{if(t.a11y.clicked)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;const i=t.slides.indexOf(s)===t.activeIndex,n=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);i||n||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(s),0))},x=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&c(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&d(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,n)=>{const a=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):n;u(i,e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,s))}))};i("beforeInit",(()=>{n=f("span",t.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(n);const s=t.el;e.containerRoleDescriptionMessage&&c(s,e.containerRoleDescriptionMessage),e.containerMessage&&u(s,e.containerMessage);const i=t.wrapperEl,a=e.id||i.getAttribute("id")||`swiper-wrapper-${o=16,void 0===o&&(o=16),"x".repeat(o).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var o;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=a,r(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=r(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),x();let{nextEl:p,prevEl:h}=t.navigation?t.navigation:{};p=r(p),h=r(h),p&&p.forEach((t=>w(t,a,e.nextSlideMessage))),h&&h.forEach((t=>w(t,a,e.prevSlideMessage))),v()&&(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach((e=>{e.addEventListener("keydown",m)})),t.el.addEventListener("focus",E,!0),t.el.addEventListener("pointerdown",y,!0),t.el.addEventListener("pointerup",_,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&x()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(p(s),l(s)):(h(s),o(s))),e&&(t.isEnd?(p(e),l(e)):(h(e),o(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;g()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(o(s),t.params.pagination.renderBullet||(d(s,"button"),u(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,b(s)+1)))),s.matches(ee(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){n&&n.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=r(e),s=r(s),e&&e.forEach((e=>e.removeEventListener("keydown",m))),s&&s.forEach((e=>e.removeEventListener("keydown",m))),v()&&(Array.isArray(t.pagination.el)?t.pagination.el:[t.pagination.el]).forEach((e=>{e.removeEventListener("keydown",m)})),t.el.removeEventListener("focus",E,!0),t.el.removeEventListener("pointerdown",y,!0),t.el.removeEventListener("pointerup",_,!0)}()}))},function(e){let{swiper:t,extendParams:s,on:i}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=a();let s;s=e?new URL(e):t.location;const i=s.pathname.slice(1).split("/").filter((e=>""!==e)),n=i.length;return{key:i[n-2],value:i[n-1]}},d=(e,s)=>{const i=a();if(!n||!t.params.history.enabled)return;let r;r=t.params.url?new URL(t.params.url):i.location;const l=t.slides[s];let d=o(l.getAttribute("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e?`${e}/`:""}${d}`}else r.pathname.includes(e)||(d=`${e?`${e}/`:""}${d}`);t.params.history.keepQuery&&(d+=r.search);const c=i.history.state;c&&c.value===d||(t.params.history.replaceState?i.history.replaceState({value:d},null,d):i.history.pushState({value:d},null,d))},c=(e,s,i)=>{if(s)for(let n=0,a=t.slides.length;n<a;n+=1){const a=t.slides[n];if(o(a.getAttribute("data-history"))===s){const s=t.getSlideIndex(a);t.slideTo(s,e,i)}}else t.slideTo(0,e,i)},u=()=>{r=l(t.params.url),c(t.params.speed,r.value,!1)};i("init",(()=>{t.params.history.enabled&&(()=>{const e=a();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);n=!0,r=l(t.params.url),r.key||r.value?(c(0,r.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",u)):t.params.history.replaceState||e.addEventListener("popstate",u)}})()})),i("destroy",(()=>{t.params.history.enabled&&(()=>{const e=a();t.params.history.replaceState||e.removeEventListener("popstate",u)})()})),i("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&d(t.params.history.key,t.activeIndex)})),i("slideChange",(()=>{n&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:n,on:r}=e,o=!1;const l=i(),d=a();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,s){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter((e=>e.getAttribute("data-hash")===s))[0];return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(m(t.slidesEl,`.${t.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const c=()=>{n("hashChange");const e=l.location.hash.replace("#",""),s=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(s?s.getAttribute("data-hash"):"")){const s=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===s||Number.isNaN(s))return;t.slideTo(s)}},u=()=>{if(!o||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],s=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${s}`||""),n("hashSet")):(l.location.hash=s||"",n("hashSet"))};r("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;o=!0;const e=l.location.hash.replace("#","");if(e){const s=0,i=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(i||0,s,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&d.addEventListener("hashchange",c)})()})),r("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d.removeEventListener("hashchange",c)})),r("transitionEnd _freeModeNoMomentumRelease",(()=>{o&&u()})),r("slideChange",(()=>{o&&t.params.cssMode&&u()}))},function(e){let t,s,{swiper:n,extendParams:a,on:r,emit:o,params:l}=e;n.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,u,p,h,m,f,g=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime;function w(e){n&&!n.destroyed&&n.wrapperEl&&e.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",w),T())}const y=()=>{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?c=!0:c&&(v=d,c=!1);const e=n.autoplay.paused?d:b+v-(new Date).getTime();n.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/g),s=requestAnimationFrame((()=>{y()}))},_=e=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(s),y();let i=void 0===e?n.params.autoplay.delay:e;g=n.params.autoplay.delay,v=n.params.autoplay.delay;const a=(()=>{let e;if(e=n.virtual&&n.params.virtual.enabled?n.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:n.slides[n.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===e&&(i=a,g=a,v=a),d=i;const r=n.params.speed,l=()=>{n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(r,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,r,!0,!0),o("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(r,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,r,!0,!0),o("autoplay")),n.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{_()}))))};return i>0?(clearTimeout(t),t=setTimeout((()=>{l()}),i)):requestAnimationFrame((()=>{l()})),i},E=()=>{n.autoplay.running=!0,_(),o("autoplayStart")},x=()=>{n.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),o("autoplayStop")},S=(e,s)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(t),e||(f=!0);const i=()=>{o("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",w):T()};if(n.autoplay.paused=!0,s)return m&&(d=n.params.autoplay.delay),m=!1,void i();const a=d||n.params.autoplay.delay;d=a-((new Date).getTime()-b),n.isEnd&&d<0&&!n.params.loop||(d<0&&(d=0),i())},T=()=>{n.isEnd&&d<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(b=(new Date).getTime(),f?(f=!1,_(d)):_(),n.autoplay.paused=!1,o("autoplayResume"))},k=()=>{if(n.destroyed||!n.autoplay.running)return;const e=i();"hidden"===e.visibilityState&&(f=!0,S(!0)),"visible"===e.visibilityState&&T()},C=e=>{"mouse"===e.pointerType&&(f=!0,S(!0))},A=e=>{"mouse"===e.pointerType&&n.autoplay.paused&&T()};r("init",(()=>{n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",C),n.el.addEventListener("pointerleave",A)),i().addEventListener("visibilitychange",k),b=(new Date).getTime(),E())})),r("destroy",(()=>{n.el.removeEventListener("pointerenter",C),n.el.removeEventListener("pointerleave",A),i().removeEventListener("visibilitychange",k),n.autoplay.running&&x()})),r("beforeTransitionStart",((e,t,s)=>{!n.destroyed&&n.autoplay.running&&(s||!n.params.autoplay.disableOnInteraction?S(!0,!0):x())})),r("sliderFirstMove",(()=>{!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?x():(u=!0,p=!1,f=!1,h=setTimeout((()=>{f=!0,p=!0,S(!0)}),200)))})),r("touchEnd",(()=>{if(!n.destroyed&&n.autoplay.running&&u){if(clearTimeout(h),clearTimeout(t),n.params.autoplay.disableOnInteraction)return p=!1,void(u=!1);p&&n.params.cssMode&&T(),p=!1,u=!1}})),r("slideChange",(()=>{!n.destroyed&&n.autoplay.running&&(m=!0)})),Object.assign(n.autoplay,{start:E,stop:x,pause:S,resume:T})},function(e){let{swiper:t,extendParams:s,on:n}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,r=!1;function o(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,i=e.clickedSlide;if(i&&i.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let n;n=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,t.params.loop?t.slideToLoop(n):t.slideTo(n)}function l(){const{thumbs:e}=t.params;if(a)return!1;a=!0;const s=t.constructor;if(e.swiper instanceof s)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(d(e.swiper)){const i=Object.assign({},e.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(i),r=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",o),!0}function c(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const i="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let n=1;const a=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(n=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),s.slides.forEach((e=>e.classList.remove(a))),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<n;e+=1)m(s.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((e=>{e.classList.add(a)}));else for(let e=0;e<n;e+=1)s.slides[t.realIndex+e]&&s.slides[t.realIndex+e].classList.add(a);const r=t.params.thumbs.autoScrollOffset,o=r&&!s.params.loop;if(t.realIndex!==s.realIndex||o){const n=s.activeIndex;let a,l;if(s.params.loop){const e=s.slides.filter((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];a=s.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else a=t.realIndex,l=a>t.previousIndex?"next":"prev";o&&(a+="next"===l?r:-1*r),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(a)<0&&(s.params.centeredSlides?a=a>n?a-Math.floor(i/2)+1:a+Math.floor(i/2)-1:a>n&&s.params.slidesPerGroup,s.slideTo(a,e?0:void 0))}}t.thumbs={swiper:null},n("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const s=i(),n=()=>{const i="string"==typeof e.swiper?s.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,l(),c(!0);else if(i){const s=n=>{e.swiper=n.detail[0],i.removeEventListener("init",s),l(),c(!0),e.swiper.update(),t.update()};i.addEventListener("init",s)}return i},a=()=>{t.destroyed||n()||requestAnimationFrame(a)};requestAnimationFrame(a)}else l(),c(!0)})),n("slideChange update resize observerUpdate",(()=>{c()})),n("setTransition",((e,s)=>{const i=t.thumbs.swiper;i&&!i.destroyed&&i.setTransition(s)})),n("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:c})},function(e){let{swiper:t,extendParams:s,emit:i,once:n}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:o()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:a,wrapperEl:r,rtlTranslate:l,snapGrid:d,touchEventsData:c}=t,u=o()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1);else{if(a.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),i=e.position-s.position,n=e.time-s.time;t.velocity=i/n,t.velocity/=2,Math.abs(t.velocity)<a.freeMode.minimumVelocity&&(t.velocity=0),(n>150||o()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*a.freeMode.momentumRatio;const s=t.velocity*e;let u=t.translate+s;l&&(u=-u);let p,h=!1;const m=20*Math.abs(t.velocity)*a.freeMode.momentumBounceRatio;let f;if(u<t.maxTranslate())a.freeMode.momentumBounce?(u+t.maxTranslate()<-m&&(u=t.maxTranslate()-m),p=t.maxTranslate(),h=!0,c.allowMomentumBounce=!0):u=t.maxTranslate(),a.loop&&a.centeredSlides&&(f=!0);else if(u>t.minTranslate())a.freeMode.momentumBounce?(u-t.minTranslate()>m&&(u=t.minTranslate()+m),p=t.minTranslate(),h=!0,c.allowMomentumBounce=!0):u=t.minTranslate(),a.loop&&a.centeredSlides&&(f=!0);else if(a.freeMode.sticky){let e;for(let t=0;t<d.length;t+=1)if(d[t]>-u){e=t;break}u=Math.abs(d[e]-u)<Math.abs(d[e-1]-u)||"next"===t.swipeDirection?d[e]:d[e-1],u=-u}if(f&&n("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-u-t.translate)/t.velocity):Math.abs((u-t.translate)/t.velocity),a.freeMode.sticky){const s=Math.abs((l?-u:u)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=s<i?a.speed:s<2*i?1.5*a.speed:2.5*a.speed}}else if(a.freeMode.sticky)return void t.slideToClosest();a.freeMode.momentumBounce&&h?(t.updateProgress(p),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating=!0,y(r,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(a.speed),setTimeout((()=>{t.setTranslate(p),y(r,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(u),t.setTransition(e),t.setTranslate(u),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,y(r,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(u),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(a.freeMode.sticky)return void t.slideToClosest();a.freeMode&&i("_freeModeNoMomentumRelease")}(!a.freeMode.momentum||u>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,i,{swiper:n,extendParams:a}=e;a({grid:{rows:1,fill:"column"}});const r=()=>{let e=n.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*n.size:"string"==typeof e&&(e=parseFloat(e)),e};n.grid={initSlides:e=>{const{slidesPerView:a}=n.params,{rows:r,fill:o}=n.params.grid;i=Math.floor(e/r),t=Math.floor(e/r)===e/r?e:Math.ceil(e/r)*r,"auto"!==a&&"row"===o&&(t=Math.max(t,a*r)),s=t/r},updateSlide:(e,a,o,l)=>{const{slidesPerGroup:d}=n.params,c=r(),{rows:u,fill:p}=n.params.grid;let h,m,f;if("row"===p&&d>1){const s=Math.floor(e/(d*u)),i=e-u*d*s,n=0===s?d:Math.min(Math.ceil((o-s*u*d)/u),d);f=Math.floor(i/n),m=i-f*n+s*d,h=m+f*t/u,a.style.order=h}else"column"===p?(m=Math.floor(e/u),f=e-m*u,(m>i||m===i&&f===u-1)&&(f+=1,f>=u&&(f=0,m+=1))):(f=Math.floor(e/s),m=e-f*s);a.row=f,a.column=m,a.style[l("margin-top")]=0!==f?c&&`${c}px`:""},updateWrapperSize:(e,s,i)=>{const{centeredSlides:a,roundLengths:o}=n.params,l=r(),{rows:d}=n.params.grid;if(n.virtualSize=(e+l)*t,n.virtualSize=Math.ceil(n.virtualSize/d)-l,n.wrapperEl.style[i("width")]=`${n.virtualSize+l}px`,a){const e=[];for(let t=0;t<s.length;t+=1){let i=s[t];o&&(i=Math.floor(i)),s[t]<n.virtualSize+s[0]&&e.push(i)}s.splice(0,s.length),s.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:te.bind(t),prependSlide:se.bind(t),addSlide:ie.bind(t),removeSlide:ne.bind(t),removeAllSlides:ae.bind(t)})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({fadeEffect:{crossFade:!1}}),re({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let n=0;t.isHorizontal()||(n=i,i=0);const a=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),r=oe(0,e);r.style.opacity=a,r.style.transform=`translate3d(${i}px, ${n}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),le({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=f("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),n||(n=f("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(n)),i&&(i.style.opacity=Math.max(-t,0)),n&&(n.style.opacity=Math.max(t,0))};re({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:s,slides:i,width:a,height:r,rtlTranslate:o,size:l,browser:d}=t,c=t.params.cubeEffect,u=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled;let h,m=0;c.shadow&&(u?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=f("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=`${a}px`):(h=e.querySelector(".swiper-cube-shadow"),h||(h=f("div","swiper-cube-shadow"),e.append(h))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;p&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let a=90*s,r=Math.floor(a/360);o&&(a=-a,r=Math.floor(-a/360));const d=Math.max(Math.min(t.progress,1),-1);let h=0,f=0,g=0;s%4==0?(h=4*-r*l,g=0):(s-1)%4==0?(h=0,g=4*-r*l):(s-2)%4==0?(h=l+4*r*l,g=l):(s-3)%4==0&&(h=-l,g=3*l+4*l*r),o&&(h=-h),u||(f=h,h=0);const v=`rotateX(${u?0:-a}deg) rotateY(${u?a:0}deg) translate3d(${h}px, ${f}px, ${g}px)`;d<=1&&d>-1&&(m=90*s+90*d,o&&(m=90*-s-90*d)),t.style.transform=v,c.slideShadows&&n(t,d,u)}if(s.style.transformOrigin=`50% 50% -${l/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,c.shadow)if(u)h.style.transform=`translate3d(0px, ${a/2+c.shadowOffset}px, ${-a/2}px) rotateX(90deg) rotateZ(0deg) scale(${c.shadowScale})`;else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=c.shadowScale,i=c.shadowScale/t,n=c.shadowOffset;h.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${r/2+n}px, ${-r/2/i}px) rotateX(-90deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-l/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${t.isHorizontal()?0:m}deg) rotateY(${t.isHorizontal()?-m:0}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:i}=t;if(i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);n(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const n=(e,s)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=de("flip",e,t.isHorizontal()?"left":"top")),n||(n=de("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),n&&(n.style.opacity=Math.max(s,0))};re({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,i=t.params.flipEffect;for(let a=0;a<e.length;a+=1){const r=e[a];let o=r.progress;t.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r.progress,1),-1));const l=r.swiperSlideOffset;let d=-180*o,c=0,u=t.params.cssMode?-l-t.translate:-l,p=0;t.isHorizontal()?s&&(d=-d):(p=u,u=0,c=-d,d=0),r.style.zIndex=-Math.abs(Math.round(o))+e.length,i.slideShadows&&n(r,o);const h=`translate3d(${u}px, ${p}px, 0px) rotateX(${c}deg) rotateY(${d}deg)`;oe(0,r).style.transform=h}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),le({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),n(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),re({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:s,slides:i,slidesSizesGrid:n}=t,a=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?a.rotate:-a.rotate,c=a.depth;for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=n[e],o=(l-t.swiperSlideOffset-s/2)/s,u="function"==typeof a.modifier?a.modifier(o):o*a.modifier;let p=r?d*u:0,h=r?0:d*u,m=-c*Math.abs(u),f=a.stretch;"string"==typeof f&&-1!==f.indexOf("%")&&(f=parseFloat(a.stretch)/100*s);let g=r?0:f*u,v=r?f*u:0,b=1-(1-a.scale)*Math.abs(u);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(m)<.001&&(m=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0),Math.abs(b)<.001&&(b=0);const w=`translate3d(${v}px,${g}px,${m}px)  rotateX(${h}deg) rotateY(${p}deg) scale(${b})`;if(oe(0,t).style.transform=w,t.style.zIndex=1-Math.abs(Math.round(u)),a.slideShadows){let e=r?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=r?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=de("coverflow",t,r?"left":"top")),s||(s=de("coverflow",t,r?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>h(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const n=e=>"string"==typeof e?e:`${e}px`;re({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:i}=t,a=t.params.creativeEffect,{progressMultiplier:r}=a,o=t.params.centeredSlides;if(o){const e=i[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const i=e[s],l=i.progress,d=Math.min(Math.max(i.progress,-a.limitProgress),a.limitProgress);let c=d;o||(c=Math.min(Math.max(i.originalProgress,-a.limitProgress),a.limitProgress));const u=i.swiperSlideOffset,p=[t.params.cssMode?-u-t.translate:-u,0,0],h=[0,0,0];let m=!1;t.isHorizontal()||(p[1]=p[0],p[0]=0);
5let f={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};d<0?(f=a.next,m=!0):d>0&&(f=a.prev,m=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${n(f.translate[t])} * ${Math.abs(d*r)}))`})),h.forEach(((e,t)=>{h[t]=f.rotate[t]*Math.abs(d*r)})),i.style.zIndex=-Math.abs(Math.round(l))+e.length;const g=p.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,b=c<0?`scale(${1+(1-f.scale)*c*r})`:`scale(${1-(1-f.scale)*c*r})`,w=c<0?1+(1-f.opacity)*c*r:1-(1-f.opacity)*c*r,y=`translate3d(${g}) ${v} ${b}`;if(m&&f.shadow||!m){let e=i.querySelector(".swiper-slide-shadow");if(!e&&f.shadow&&(e=de("creative",i)),e){const t=a.shadowPerProgress?d*(1/a.limitProgress):d;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const _=oe(0,i);_.style.transform=y,_.style.opacity=w,f.origin&&(_.style.transformOrigin=f.origin)}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),le({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),re({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:i}=t,n=t.params.cardsEffect,{startTranslate:a,isTouched:r}=t.touchEventsData,o=i?-t.translate:t.translate;for(let l=0;l<e.length;l+=1){const d=e[l],c=d.progress,u=Math.min(Math.max(c,-4),4);let p=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(p-=e[0].swiperSlideOffset);let h=t.params.cssMode?-p-t.translate:-p,m=0;const f=-100*Math.abs(u);let g=1,v=-n.perSlideRotate*u,b=n.perSlideOffset-.75*Math.abs(u);const w=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,y=(w===s||w===s-1)&&u>0&&u<1&&(r||t.params.cssMode)&&o<a,_=(w===s||w===s+1)&&u<0&&u>-1&&(r||t.params.cssMode)&&o>a;if(y||_){const e=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;v+=-28*u*e,g+=-.5*e,b+=96*e,m=-25*e*Math.abs(u)+"%"}if(h=u<0?`calc(${h}px ${i?"-":"+"} (${b*Math.abs(u)}%))`:u>0?`calc(${h}px ${i?"-":"+"} (-${b*Math.abs(u)}%))`:`${h}px`,!t.isHorizontal()){const e=m;m=h,h=e}const E=u<0?""+(1+(1-g)*u):""+(1-(1-g)*u),x=`\n        translate3d(${h}, ${m}, ${f}px)\n        rotateZ(${n.rotate?i?-v:v:0}deg)\n        scale(${E})\n      `;if(n.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=de("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+e.length,oe(0,d).style.transform=x}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),le({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return Q.use(ce),Q}();function cth(e){document.documentElement.classList.add(e)}!function(){const e=document.querySelectorAll('[class$="__agreement"]');for(let t=0;t<e.length;t++){let s=e[t];const i=s.querySelector("button[type=submit]"),n=s.querySelector("input[name=agreement]");n&&n.addEventListener("change",(function(e){e.target.checked?i.disabled=!1:i.disabled=!0}))}}(),function(){var e=document.querySelectorAll(".field-file__input");Array.prototype.forEach.call(e,(function(e){var t=function(e,t){var s,i;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(e){return"function"==typeof document.body[e]&&(s=e,!0)}));e;){if((i=e.parentElement)&&i[s](t))return i;e=i}return null}(e,".field-file").querySelector(".field-file__name-text"),s=t.innerHTML;e.addEventListener("change",(function(e){var i="";i=this.files&&this.files.length>1?(this.getAttribute("data-multiple-caption")||"").replace("{count}",this.files.length):e.target.value.split("\\").pop(),t.innerHTML=i?`<span class="field-file__file-name"> ${i} </span>`:s}))}
5))}(),autosize(document.querySelectorAll("textarea")),document.addEventListener("DOMContentLoaded",(function(){!function(){document.querySelector(".pagination");var e=document.querySelectorAll(".pagination__item");Array.prototype.forEach.call(e,(function(e){var t=e.children[0];e.classList.contains("active")?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current")}))}()})),document.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll('[href^="#"][data-scroll-link]'),t=0;t<e.length;t++)e[t].addEventListener("click",(function(e){var t,s,i,n,a,r,o,l,d,c,u,p,h,m,f,g=this.href.replace(/[^#]*(.*)/,"$1");if(g&&"#"!==g){e.preventDefault();var v=window.pageYOffset,b=(r=document.querySelector(g),o=r.getBoundingClientRect(),l=document.body,d=document.documentElement,c=window.pageYOffset||d.scrollTop||l.scrollTop,u=window.pageXOffset||d.scrollLeft||l.scrollLeft,p=d.clientTop||l.clientTop||0,h=d.clientLeft||l.clientLeft||0,m=o.top+c-p,f=o.left+u-h,{top:Math.round(m),left:Math.round(f)}).top-10,w=-1*(v-b);s=(t={duration:500,timing:function(e){return Math.pow(e,4)},draw:function(e){var t=v+e*w;window.scrollTo(0,t)}}).timing,i=t.draw,n=t.duration,a=performance.now(),requestAnimationFrame((function e(t){var r=(t-a)/n;r>1&&(r=1);var o=s(r);i(o),r<1&&requestAnimationFrame(e)}))}}),!1)})),svg4everybody(),new Swiper(".project-slider__inner",{speed:400,slidesPerView:"auto",spaceBetween:24,autoplay:{delay:5e3},a11y:!0}),new Swiper(".license-slider__inner",{speed:400,spaceBetween:24,pagination:{el:".swiper-pagination",type:"bullets"},breakpoints:{320:{slidesPerView:1,spaceBetween:24},560:{slidesPerView:2,spaceBetween:24},992:{slidesPerView:3,spaceBetween:24},1280:{slidesPerView:4,spaceBetween:24}},autoplay:{delay:5e3},a11y:!0}),new Swiper(".review-block__reviews",{speed:400,slidesPerView:1,spaceBetween:24,loop:!0,pagination:{el:".swiper-pagination",type:"bullets"}}),document.documentElement.className=document.documentElement.className.replace("no-js","js"),"ontouchstart"in window?cth("touch"):cth("no-touch"),"undefined"!=typeof InstallTrigger&&cth("firefox"),(/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString())&&cth("safari"),document.documentMode&&cth("ie"),!document.documentMode&&window.StyleMedia&&cth("edge"),window.chrome&&(window.chrome.webstore||window.chrome.runtime)&&cth("chrome"),~navigator.appVersion.indexOf("Win")&&cth("windows"),~navigator.appVersion.indexOf("Mac")&&cth("osx"),~navigator.appVersion.indexOf("Linux")&&cth("linux"),window.onload=function(){let e=document.querySelectorAll("[data-bg]");for(let t=0;t<e.length;t++){let s=e[t].getAttribute("data-bg");e[t].style.backgroundImage="url("+s+")"}let t=window.navigator.userAgent.match(/Firefox\/([0-9]+)\./),s=t?parseInt(t[1]):0;if(function(){let e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))&&0==e.toDataURL("image/webp").indexOf("data:image/webp")}()||s>=65){let e=document.querySelectorAll("[data-bg-webp]");for(let t=0;t<e.length;t++){let s=e[t].getAttribute("data-bg-webp");e[t].style.backgroundImage="url("+s+")"}}},function(){const e=document.querySelectorAll(".lazy-video");e.forEach((e=>{let t=e.getAttribute("data-video");e.addEventListener("click",(s=>{s.preventDefault();let i=e.title,n=function(e,t){let s=document.createElement("iframe");return s.setAttribute("allowFullScreen",""),s.setAttribute("allow","autoplay; encrypted-media"),s.setAttribute("frameborder","0"),s.setAttribute("title",t),s.setAttribute("src",function(e){return"https://www.youtube.com/embed/"+e+"?rel=0&showinfo=0&autoplay=1"}(e)),s}(t,i);e.querySelector("picture").remove(),e.appendChild(n),e.querySelector(".ytb-btn")&&e.querySelector(".ytb-btn").remove(),function(e){const t=document.createElement("div");t.innerHTML=e.innerHTML,Array.prototype.forEach.call(e.attributes,(function(e){t.setAttribute(e.name,e.value),t.removeAttribute("href"),t.removeAttribute("title")})),e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e)}(e)}))}))}(),Fancybox.bind("[data-fancybox]",{}),function(){var e=document.getElementsByClassName("phone-mask");Array.prototype.forEach.call(e,(function(e){IMask(e,{mask:"+{38} (\\000) 000 00 00",lazy:!1})}))}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.