PageSourceSearch

https://chance-fuer-kinder.de/_nuxt/d3f557f.js

js chance-fuer-kinder.de collected 2026-10-07 02:55:36 UTC 379,105 bytes, 2 lines download raw bytes

1/*! For license information please see LICENSES */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{214:function(t,e,n){"use strict";var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,l=r(),c=l.default;void 0===c&&(c=[]);var h=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||h):c.length>0?c.map((function(){return t(!1)})):t(!1))}};t.exports=r},216:function(t,e,n){"use strict";function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function l(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function h(t,p){return h=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},h(t,p)}function f(t,e,n){return f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var a=[null];a.push.apply(a,e);var r=new(Function.bind.apply(t,a));return n&&h(r,n.prototype),r},f.apply(null,arguments)}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return f(t,arguments,c(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},d(t)}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function y(t){var i=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(t){if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,e):void 0}}(t)))return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}Object.defineProperty(e,"__esModule",{value:!0});var v=function(t){function e(){return t.apply(this,arguments)||this}return l(e,t),e}(d(Error)),w=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return l(e,t),e}(v),k=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return l(e,t),e}(v),T=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return l(e,t),e}(v),S=function(t){function e(){return t.apply(this,arguments)||this}return l(e,t),e}(v),E=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return l(e,t),e}(v),x=function(t){function e(){return t.apply(this,arguments)||this}return l(e,t),e}(v),O=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return l(e,t),e}(v),A="numeric",s="short",_="long",C={year:A,month:A,day:A},M={year:A,month:s,day:A},I={year:A,month:s,day:A,weekday:s},P={year:A,month:_,day:A},N={year:A,month:_,day:A,weekday:_},R={hour:A,minute:A},j={hour:A,minute:A,second:A},L={hour:A,minute:A,second:A,timeZoneName:s},D={hour:A,minute:A,second:A,timeZoneName:_},F={hour:A,minute:A,hour12:!1},V={hour:A,minute:A,second:A,hour12:!1},B={hour:A,minute:A,second:A,hour12:!1,timeZoneName:s},U={hour:A,minute:A,second:A,hour12:!1,timeZoneName:_},H={year:A,month:A,day:A,hour:A,minute:A},z={year:A,month:A,day:A,hour:A,minute:A,second:A},W={year:A,month:s,day:A,hour:A,minute:A},Y={year:A,month:s,day:A,hour:A,minute:A,second:A},$={year:A,month:s,day:A,weekday:s,hour:A,minute:A},Z={year:A,month:_,day:A,hour:A,minute:A,timeZoneName:s},J={year:A,month:_,day:A,hour:A,minute:A,second:A,timeZoneName:s},G={year:A,month:_,day:A,weekday:_,hour:A,minute:A,timeZoneName:_},X={year:A,month:_,day:A,weekday:_,hour:A,minute:A,second:A,timeZoneName:_};function K(t){return void 0===t}function Q(t){return"number"==typeof t}function tt(t){return"number"==typeof t&&t%1==0}function et(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function nt(){return!K(Intl.DateTimeFormat.prototype.formatToParts)}function it(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function ot(t,e,n){if(0!==t.length)return t.reduce((function(t,r){var o=[e(r),r];return t&&n(t[0],o[0])===t[0]?t:o}),null)[1]}function st(t,e){return e.reduce((function(a,e){return a[e]=t[e],a}),{})}function at(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ut(t,e,n){return tt(t)&&t>=e&&t<=n}function lt(input,t){void 0===t&&(t=2);var e=input<0?"-":"",n=e?-1*input:input;return""+e+(n.toString().length<t?("0".repeat(t)+n).slice(-t):n.toString())}function ct(t){return K(t)||null===t||""===t?void 0:parseInt(t,10)}function ht(t){if(!K(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ft(t,e,n){void 0===n&&(n=!1);var r=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*r)/r}function pt(t){return t%4==0&&(t%100!=0||t%400==0)}function mt(t){return pt(t)?366:365}function gt(t,e){var n=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===n?pt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function yt(t){var e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function vt(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function bt(t){return t>99?t:t>60?1900+t:2e3+t}function wt(t,e,n,r){void 0===r&&(r=null);var o=new Date(t),l={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(l.timeZone=r);var c=Object.assign({timeZoneName:e},l),h=et();if(h&&nt()){var f=new Intl.DateTimeFormat(n,c).formatToParts(o).find((function(t){return"timezonename"===t.type.toLowerCase()}));return f?f.value:null}
2if(h){var d=new Intl.DateTimeFormat(n,l).format(o);return new Intl.DateTimeFormat(n,c).format(o).substring(d.length).replace(/^[, \u200e]+/,"")}return null}function kt(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function Tt(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new x("Invalid unit value "+t);return e}function St(t,e,n){var r={};for(var u in t)if(at(t,u)){if(n.indexOf(u)>=0)continue;var o=t[u];if(null==o)continue;r[e(u)]=Tt(o)}return r}function Et(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),o=t>=0?"+":"-";switch(e){case"short":return""+o+lt(n,2)+":"+lt(r,2);case"narrow":return""+o+n+(r>0?":"+r:"");case"techie":return""+o+lt(n,2)+lt(r,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function xt(t){return st(t,["hour","minute","second","millisecond"])}var Ot=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function At(t){return JSON.stringify(t,Object.keys(t).sort())}var _t=["January","February","March","April","May","June","July","August","September","October","November","December"],Ct=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Mt=["J","F","M","A","M","J","J","A","S","O","N","D"];function It(t){switch(t){case"narrow":return[].concat(Mt);case"short":return[].concat(Ct);case"long":return[].concat(_t);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Pt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Nt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Rt=["M","T","W","T","F","S","S"];function jt(t){switch(t){case"narrow":return[].concat(Rt);case"short":return[].concat(Nt);case"long":return[].concat(Pt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Lt=["AM","PM"],Dt=["Before Christ","Anno Domini"],Ft=["BC","AD"],Vt=["B","A"];function Bt(t){switch(t){case"narrow":return[].concat(Vt);case"short":return[].concat(Ft);case"long":return[].concat(Dt);default:return null}}function Ut(t,e){for(var n,s="",r=y(t);!(n=r()).done;){var o=n.value;o.literal?s+=o.val:s+=e(o.val)}return s}var qt={D:C,DD:M,DDD:P,DDDD:N,t:R,tt:j,ttt:L,tttt:D,T:F,TT:V,TTT:B,TTTT:U,f:H,ff:W,fff:Z,ffff:G,F:z,FF:Y,FFF:J,FFFF:X},Ht=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",r=!1,o=[],i=0;i<t.length;i++){var l=t.charAt(i);"'"===l?(n.length>0&&o.push({literal:r,val:n}),e=null,n="",r=!r):r||l===e?n+=l:(n.length>0&&o.push({literal:!1,val:n}),n=l,e=l)}return n.length>0&&o.push({literal:r,val:n}),o},t.macroTokenToFormatOpts=function(t){return qt[t]};var e=t.prototype;return e.formatWithSystemDefault=function(dt,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(dt,Object.assign({},this.opts,t)).format()},e.formatDateTime=function(dt,t){return void 0===t&&(t={}),this.loc.dtFormatter(dt,Object.assign({},this.opts,t)).format()},e.formatDateTimeParts=function(dt,t){return void 0===t&&(t={}),this.loc.dtFormatter(dt,Object.assign({},this.opts,t)).formatToParts()},e.resolvedOptions=function(dt,t){return void 0===t&&(t={}),this.loc.dtFormatter(dt,Object.assign({},this.opts,t)).resolvedOptions()},e.num=function(t,p){if(void 0===p&&(p=0),this.opts.forceSimple)return lt(t,p);var e=Object.assign({},this.opts);return p>0&&(e.padTo=p),this.loc.numberFormatter(e).format(t)},e.formatDateTimeFromString=function(dt,e){var n=this,r="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&nt(),l=function(t,e){return n.loc.extract(dt,t,e)},c=function(t){return dt.isOffsetFixed&&0===dt.offset&&t.allowZ?"Z":dt.isValid?dt.zone.formatOffset(dt.ts,t.format):""},h=function(){return r?function(dt){return Lt[dt.hour<12?0:1]}(dt):l({hour:"numeric",hour12:!0},"dayperiod")},f=function(t,e){return r?function(dt,t){return It(t)[dt.month-1]}(dt,t):l(e?{month:t}:{month:t,day:"numeric"},"month")}
vendor: 4,170 bytes, line 2
2,d=function(t,e){return r?function(dt,t){return jt(t)[dt.weekday-1]}(dt,t):l(e?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},m=function(t){return r?function(dt,t){return Bt(t)[dt.year<0?0:1]}(dt,t):l({era:t},"era")};return Ut(t.parseFormat(e),(function(e){switch(e){case"S":return n.num(dt.millisecond);case"u":case"SSS":return n.num(dt.millisecond,3);case"s":return n.num(dt.second);case"ss":return n.num(dt.second,2);case"m":return n.num(dt.minute);case"mm":return n.num(dt.minute,2);case"h":return n.num(dt.hour%12==0?12:dt.hour%12);case"hh":return n.num(dt.hour%12==0?12:dt.hour%12,2);case"H":return n.num(dt.hour);case"HH":return n.num(dt.hour,2);case"Z":return c({format:"narrow",allowZ:n.opts.allowZ});case"ZZ":return c({format:"short",allowZ:n.opts.allowZ});case"ZZZ":return c({format:"techie",allowZ:n.opts.allowZ});case"ZZZZ":return dt.zone.offsetName(dt.ts,{format:"short",locale:n.loc.locale});case"ZZZZZ":return dt.zone.offsetName(dt.ts,{format:"long",locale:n.loc.locale});case"z":return dt.zoneName;case"a":return h();case"d":return o?l({day:"numeric"},"day"):n.num(dt.day);case"dd":return o?l({day:"2-digit"},"day"):n.num(dt.day,2);case"c":case"E":return n.num(dt.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return o?l({month:"numeric",day:"numeric"},"month"):n.num(dt.month);case"LL":return o?l({month:"2-digit",day:"numeric"},"month"):n.num(dt.month,2);case"LLL":return f("short",!0);case"LLLL":return f("long",!0);case"LLLLL":return f("narrow",!0);case"M":return o?l({month:"numeric"},"month"):n.num(dt.month);case"MM":return o?l({month:"2-digit"},"month"):n.num(dt.month,2);case"MMM":return f("short",!1);case"MMMM":return f("long",!1);case"MMMMM":return f("narrow",!1);case"y":return o?l({year:"numeric"},"year"):n.num(dt.year);case"yy":return o?l({year:"2-digit"},"year"):n.num(dt.year.toString().slice(-2),2);case"yyyy":return o?l({year:"numeric"},"year"):n.num(dt.year,4);case"yyyyyy":return o?l({year:"numeric"},"year"):n.num(dt.year,6);case"G":return m("short");case"GG":return m("long");case"GGGGG":return m("narrow");case"kk":return n.num(dt.weekYear.toString().slice(-2),2);case"kkkk":return n.num(dt.weekYear,4);case"W":return n.num(dt.weekNumber);case"WW":return n.num(dt.weekNumber,2);case"o":return n.num(dt.ordinal);case"ooo":return n.num(dt.ordinal,3);case"q":return n.num(dt.quarter);case"qq":return n.num(dt.quarter,2);case"X":return n.num(Math.floor(dt.ts/1e3));case"x":return n.num(dt.ts);default:return function(e){var r=t.macroTokenToFormatOpts(e);return r?n.formatWithSystemDefault(dt,r):e}(e)}}))},e.formatDurationFromString=function(e,n){var r,o=this,l=function(t){switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},c=t.parseFormat(n),h=c.reduce((function(t,e){var n=e.literal,r=e.val;return n?t:t.concat(r)}),[]),f=e.shiftTo.apply(e,h.map(l).filter((function(t){return t})));return Ut(c,(r=f,function(t){var e=l(t);return e?o.num(r.get(e),t.length):t}))},t}(),zt=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),Wt=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new O},e.formatOffset=function(t,e){throw new O},e.offset=function(t){throw new O},e.equals=function(t){throw new O},o(t,[{key:"type",get:function(){throw new O}},{key:"name",get:function(){throw new O}},{key:"universal",get:function(){throw new O}},{key:"isValid",get:function(){throw new O}}]),t}(),Yt=null,$t=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var n=e.prototype;return n.offsetName=function(t,e){return wt(t,e.format,e.locale)},n.formatOffset=function(t,e){return Et(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"local"===t.type},o(e,[{key:"type",get:function(){return"local"}}
2,{key:"name",get:function(){return et()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Yt&&(Yt=new e),Yt}}]),e}(Wt),Zt=RegExp("^"+Ot.source+"$"),Jt={};var Gt={year:0,month:1,day:2,hour:3,minute:4,second:5};var Xt={},Kt=function(t){function e(n){var r;return(r=t.call(this)||this).zoneName=n,r.valid=e.isValidZone(n),r}l(e,t),e.create=function(t){return Xt[t]||(Xt[t]=new e(t)),Xt[t]},e.resetCache=function(){Xt={},Jt={}},e.isValidSpecifier=function(s){return!(!s||!s.match(Zt))},e.isValidZone=function(t){try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}},e.parseGMTOffset=function(t){if(t){var e=t.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(e)return-60*parseInt(e[1])}return null};var n=e.prototype;return n.offsetName=function(t,e){return wt(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return Et(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(n=this.name,Jt[n]||(Jt[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Jt[n]),o=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var o=n[i],l=o.type,c=o.value,h=Gt[l];K(h)||(r[h]=parseInt(c,10))}return r}(r,e):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),o=r[1],l=r[2];return[r[3],o,l,r[4],r[5],r[6]]}(r,e),l=o[0],c=o[1],h=o[2],f=o[3],d=+e,m=d%1e3;return(yt({year:l,month:c,day:h,hour:24===f?0:f,minute:o[4],second:o[5],millisecond:0})-(d-=m>=0?m:1e3+m))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},o(e,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),e}(Wt),Qt=null,te=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}l(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(s){if(s){var t=s.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new e(kt(t[1],t[2]))}return null},o(e,null,[{key:"utcInstance",get:function(){return null===Qt&&(Qt=new e(0)),Qt}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return Et(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},o(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+Et(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(Wt),ee=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}l(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},o(e,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),e}(Wt);function ne(input,t){var e;if(K(input)||null===input)return t;if(input instanceof Wt)return input;if("string"==typeof input){var n=input.toLowerCase();return"local"===n?t:"utc"===n||"gmt"===n?te.utcInstance:null!=(e=Kt.parseGMTOffset(input))?te.instance(e):Kt.isValidSpecifier(n)?Kt.create(input):te.parseSpecifier(n)||new ee(input)}return Q(input)?te.instance(input):"object"==typeof input&&input.offset&&"number"==typeof input.offset?input:new ee(input)}var ie=function(){return Date.now()},re=null,oe=null,se=null,ae=null,ue=!1,le=function(){function t(){}return t.resetCaches=function(){we.resetCache(),Kt.resetCache()},o(t,null,[{key:"now",get:function(){return ie},set:function(t){ie=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){re=t?ne(t):null}},{key:"defaultZone",get:function(){return re||$t.instance}},{key:"defaultLocale",get:function(){return oe},set:function(t){oe=t}},{key:"defaultNumberingSystem",get:function(){return se},set:function(t){se=t}},{key:"defaultOutputCalendar",get:function(){return ae},set:function(t){ae=t}}
2,{key:"throwOnInvalid",get:function(){return ue},set:function(t){ue=t}}]),t}(),ce={};function he(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ce[n];return r||(r=new Intl.DateTimeFormat(t,e),ce[n]=r),r}var fe={};var de={};function pe(t,e){void 0===e&&(e={});var n=e,r=(n.base,function(source,t){if(null==source)return{};var e,i,n={},r=Object.keys(source);for(i=0;i<r.length;i++)e=r[i],t.indexOf(e)>=0||(n[e]=source[e]);return n}(n,["base"])),o=JSON.stringify([t,r]),l=de[o];return l||(l=new Intl.RelativeTimeFormat(t,e),de[o]=l),l}var me=null;function ge(t,e,n,r,o){var l=t.listingMode(n);return"error"===l?null:"en"===l?r(e):o(e)}var ye=function(){function t(t,e,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!e&&et()){var r={useGrouping:!1};n.padTo>0&&(r.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=fe[n];return r||(r=new Intl.NumberFormat(t,e),fe[n]=r),r}(t,r)}}return t.prototype.format=function(i){if(this.inf){var t=this.floor?Math.floor(i):i;return this.inf.format(t)}return lt(this.floor?Math.floor(i):ft(i,3),this.padTo)},t}(),ve=function(){function t(dt,t,e){var n;if(this.opts=e,this.hasIntl=et(),dt.zone.universal&&this.hasIntl){var r=dt.offset/60*-1,o=r>=0?"Etc/GMT+"+r:"Etc/GMT"+r,l=Kt.isValidZone(o);0!==dt.offset&&l?(n=o,this.dt=dt):(n="UTC",e.timeZoneName?this.dt=dt:this.dt=0===dt.offset?dt:Si.fromMillis(dt.ts+60*dt.offset*1e3))}else"local"===dt.zone.type?this.dt=dt:(this.dt=dt,n=dt.zone.name);if(this.hasIntl){var c=Object.assign({},this.opts);n&&(c.timeZone=n),this.dtf=he(t,c)}}var e=t.prototype;return e.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var t=function(t){var e="EEEE, LLLL d, yyyy, h:mm a";switch(At(st(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case At(C):return"M/d/yyyy";case At(M):return"LLL d, yyyy";case At(I):return"EEE, LLL d, yyyy";case At(P):return"LLLL d, yyyy";case At(N):return"EEEE, LLLL d, yyyy";case At(R):return"h:mm a";case At(j):return"h:mm:ss a";case At(L):case At(D):return"h:mm a";case At(F):return"HH:mm";case At(V):return"HH:mm:ss";case At(B):case At(U):return"HH:mm";case At(H):return"M/d/yyyy, h:mm a";case At(W):return"LLL d, yyyy, h:mm a";case At(Z):return"LLLL d, yyyy, h:mm a";case At(G):return e;case At(z):return"M/d/yyyy, h:mm:ss a";case At(Y):return"LLL d, yyyy, h:mm:ss a";case At($):return"EEE, d LLL yyyy, h:mm a";case At(J):return"LLLL d, yyyy, h:mm:ss a";case At(X):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return e}}(this.opts),e=we.create("en-US");return Ht.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&nt()?this.dtf.formatToParts(this.dt.toJSDate()):[]},e.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},t}(),be=function(){function t(t,e,n){this.opts=Object.assign({style:"long"},n),!e&&it()&&(this.rtf=pe(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},l=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&l){var c="days"===t;switch(e){case 1:return c?"tomorrow":"next "+o[t][0];case-1:return c?"yesterday":"last "+o[t][0];case 0:return c?"today":"this "+o[t][0]}}var h=Object.is(e,-0)||e<0,f=Math.abs(e),d=1===f,m=o[t],y=r?d?m[1]:m[2]||m[1]:d?o[t][0]:t;return h?f+" "+y+" ago":"in "+f+" "+y}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),we=function(){function t(t,e,n,r){var o=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,r=t.substring(0,e);try{n=he(t).resolvedOptions()}catch(t){n=he(r).resolvedOptions()}var o=n;return[r,o.numberingSystem,o.calendar]}(t),l=o[0],c=o[1],h=o[2];this.locale=l,this.numberingSystem=e||c||null,this.outputCalendar=n||h||null,this.intl=function(t,e,n){return et()?n||e?(t+="-u",n&&(t+="-ca-"+n),e&&(t+="-nu-"+e),t):t:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,r,o){void 0===o&&(o=!1);var l=e||le.defaultLocale;return new t(l||(o?"en-US":function(){if(me)return me;if(et()){var t=(new Intl.DateTimeFormat).resolvedOptions().locale;return me=t&&"und"!==t?t:"en-US"}return me="en-US"}()),n||le.defaultNumberingSystem,r||le.defaultOutputCalendar,l)},t.resetCache=function(){me=null,ce={},fe={},de={}},t.fromObject=function(e){var n=void 0===e?{}:e,r=n.locale,o=n.numberingSystem,l=n.outputCalendar;return t.create(r,o,l)};var e=t.prototype;return e.listingMode=function(t){void 0===t&&(t=!0);var e=et()&&nt(),n=this.isEnglish(),r=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e||n&&r||t?!e||n&&r?"en":"intl":"error"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),ge(this,t,n,It,(function(){var n=e?{month:t,day:"numeric"}:{month:t},o=e?"format":"standalone";return r.monthsCache[o][t]||(r.monthsCache[o][t]=function(t){for(var e=[],i=1;i<=12;i++){var dt=Si.utc(2016,i,1);e.push(t(dt))}return e}((function(dt){return r.extract(dt,n,"month")}))),r.monthsCache[o][t]}))},e.weekdays=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),ge(this,t,n,jt,(function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=e?"format":"standalone";return r.weekdaysCache[o][t]||(r.weekdaysCache[o][t]=function(t){for(var e=[],i=1;i<=7;i++){var dt=Si.utc(2016,11,13+i);e.push(t(dt))}return e}((function(dt){return r.extract(dt,n,"weekday")}))),r.weekdaysCache[o][t]}))},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),ge(this,void 0,t,(function(){return Lt}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[Si.utc(2016,11,13,9),Si.utc(2016,11,13,19)].map((function(dt){return e.extract(dt,t,"dayperiod")}))}return e.meridiemCache}))},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),ge(this,t,e,Bt,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[Si.utc(-40,1,1),Si.utc(2017,1,1)].map((function(dt){return n.extract(dt,e,"era")}))),n.eraCache[t]}
vendor: 4,135 bytes, line 2
2))},e.extract=function(dt,t,e){var n=this.dtFormatter(dt,t).formatToParts().find((function(t){return t.type.toLowerCase()===e}));return n?n.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new ye(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(dt,t){return void 0===t&&(t={}),new ve(dt,this.intl,t)},e.relFormatter=function(t){return void 0===t&&(t={}),new be(this.intl,this.isEnglish(),t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||et()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},o(t,[{key:"fastNumbers",get:function(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||et()&&"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function ke(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return t+e.source}),"");return RegExp("^"+r+"$")}function Te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(e,n){var r=e[0],o=e[1],cursor=e[2],l=n(t,cursor),c=l[0],h=l[1],f=l[2];return[Object.assign(r,c),o||h,f]}),[{},null,1]).slice(0,2)}}function Se(s){if(null==s)return[null,null];for(var t=arguments.length,e=new Array(t>1?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];for(var r=0,o=e;r<o.length;r++){var l=o[r],c=l[0],h=l[1],f=c.exec(s);if(f)return h(f)}return[null,null]}function Ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,cursor){var i,n={};for(i=0;i<e.length;i++)n[e[i]]=ct(t[cursor+i]);return[n,null,cursor+i]}}var xe=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Oe=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ae=RegExp(""+Oe.source+xe.source+"?"),_e=RegExp("(?:T"+Ae.source+")?"),Ce=Ee("weekYear","weekNumber","weekDay"),Me=Ee("year","ordinal"),Ie=RegExp(Oe.source+" ?(?:"+xe.source+"|("+Ot.source+"))?"),Pe=RegExp("(?: "+Ie.source+")?");function Ne(t,e,n){var r=t[e];return K(r)?n:ct(r)}function Re(t,cursor){return[{year:Ne(t,cursor),month:Ne(t,cursor+1,1),day:Ne(t,cursor+2,1)},null,cursor+3]}function je(t,cursor){return[{hours:Ne(t,cursor,0),minutes:Ne(t,cursor+1,0),seconds:Ne(t,cursor+2,0),milliseconds:ht(t[cursor+3])},null,cursor+4]}function Le(t,cursor){var e=!t[cursor]&&!t[cursor+1],n=kt(t[cursor+1],t[cursor+2]);return[{},e?null:te.instance(n),cursor+3]}function De(t,cursor){return[{},t[cursor]?Kt.create(t[cursor]):null,cursor+1]}var Fe=RegExp("^T?"+Oe.source+"$"),Ve=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Be(t){var s=t[0],e=t[1],n=t[2],r=t[3],o=t[4],l=t[5],c=t[6],h=t[7],f=t[8],d="-"===s[0],m=h&&"-"===h[0],y=function(t,e){return void 0===e&&(e=!1),void 0!==t&&(e||t&&d)?-t:t};return[{years:y(ct(e)),months:y(ct(n)),weeks:y(ct(r)),days:y(ct(o)),hours:y(ct(l)),minutes:y(ct(c)),seconds:y(ct(h),"-0"===h),milliseconds:y(ht(f),m)}]}var Ue={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qe(t,e,n,r,o,l,c){var h={year:2===e.length?bt(ct(e)):ct(e),month:Ct.indexOf(n)+1,day:ct(r),hour:ct(o),minute:ct(l)};return c&&(h.second=ct(c)),t&&(h.weekday=t.length>3?Pt.indexOf(t)+1:Nt.indexOf(t)+1),h}var He=/^(?:(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\d)(\d\d)))$/;function ze(t){var e,n=t[1],r=t[2],o=t[3],l=t[4],c=t[5],h=t[6],f=t[7],d=t[8],m=t[9],y=t[10],v=t[11],w=qe(n,l,o,r,c,h,f);return e=d?Ue[d]:m?0:kt(y,v),[w,new te(e)]}var We=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ye=/^(Monday|Tuesday|Wedsday|Thursday|Frid
2ay|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,$e=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ze(t){var e=t[1],n=t[2],r=t[3];return[qe(e,t[4],r,n,t[5],t[6],t[7]),te.utcInstance]}function Je(t){var e=t[1],n=t[2],r=t[3],o=t[4],l=t[5],c=t[6];return[qe(e,t[7],n,r,o,l,c),te.utcInstance]}var Ge=ke(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_e),Xe=ke(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_e),Ke=ke(/(\d{4})-?(\d{3})/,_e),Qe=ke(Ae),tn=Te(Re,je,Le),en=Te(Ce,je,Le),nn=Te(Me,je,Le),rn=Te(je,Le);var on=Te(je);var sn=ke(/(\d{4})-(\d\d)-(\d\d)/,Pe),an=ke(Ie),un=Te(Re,je,Le,De),ln=Te(je,Le,De);var cn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hn=Object.assign({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},cn),fn=365.2425,dn=30.436875,pn=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:fn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:dn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},cn),mn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=mn.slice(0).reverse();function yn(t,e,n){void 0===n&&(n=!1);var r={values:n?e.values:Object.assign({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new bn(r)}function vn(t,e,n,r,o){var l=t[o][n],c=e[n]/l,h=!(Math.sign(c)===Math.sign(r[o]))&&0!==r[o]&&Math.abs(c)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(c):Math.trunc(c);r[o]+=h,e[n]-=h*l}var bn=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||we.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=e?pn:hn,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject(Object.assign({milliseconds:e},n))},t.fromObject=function(e){if(null==e||"object"!=typeof e)throw new x("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:St(e,t.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:we.fromObject(e),conversionAccuracy:e.conversionAccuracy})},t.fromISO=function(text,e){var n=function(s){return Se(s,[Ve,Be])}(text),r=n[0];if(r){var o=Object.assign(r,e);return t.fromObject(o)}return t.invalid("unparsable",'the input "'+text+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(text,e){var n=function(s){return Se(s,[Fe,on])}(text),r=n[0];if(r){var o=Object.assign(r,e);return t.fromObject(o)}return t.invalid("unparsable",'the input "'+text+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new x("need to specify a reason the Duration is invalid");var r=e instanceof zt?e:new zt(e,n);if(le.throwOnInvalid)throw new T(r);return new t({invalid:r})},t.normalizeUnit=function(t){var e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new E(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=Object.assign({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?Ht.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var base=Object.assign({},this.values);return t.includeConfig&&(base.conversionAccuracy=this.conversionAccuracy,base.numberingSystem=this.loc.numberingSystem,base.locale=this.loc.locale),base},e.toISO=function(){if(!this.isValid)return null;var s="P";return 0!==this.years&&(s+=this.years+"Y"),0===this.months&&0===this.quarters||(s+=this.months+3*this.quarters+"M"),0!==this.weeks&&(s+=this.weeks+"W"),0!==this.days&&(s+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(s+="T"),0!==this.hours&&(s+=this.hours+"H"),0!==this.minutes&&(s+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(s+=ft(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===s&&(s+="T0S"),s},e.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var o=n.toFormat(r);return t.includePrefix&&(o="T"+o),o},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(t){if(!this.isValid)return this;for(var e,n=wn(t),r={},o=y(mn);!(e=o()).done;){var l=e.value;(at(n.values,l)||at(this.values,l))&&(r[l]=n.get(l)+this.get(l))}return yn(this,{values:r},!0)},e.minus=function(t){if(!this.isValid)return this;var e=wn(t);return this.plus(e.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,r=Object.keys(this.values);n<r.length;n++){var o=r[n];e[o]=Tt(t(this.values[o],o))}return yn(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?yn(this,{values:Object.assign(this.values,St(e,t.normalizeUnit,[]))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,o=e.conversionAccuracy,l={loc:this.loc.clone({locale:n,numberingSystem:r})};return o&&(l.conversionAccuracy=o),yn(this,l)},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return function(t,e){gn.reduce((function(n,r){return K(e[r])?n:(n&&vn(t,e,n,e,r),r)}),null)}(this.matrix,t),yn(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(u){return t.normalizeUnit(u)}));for(var o,l,c={},h={},f=this.toObject(),d=y(mn);!(l=d()).done;){var m=l.value;if(n.indexOf(m)>=0){o=m;var v=0;for(var w in h)v+=this.matrix[w][m]*h[w],h[w]=0;Q(f[m])&&(v+=f[m]);var i=Math.trunc(v);for(var k in c[m]=i,h[m]=v-i,f)mn.indexOf(k)>mn.indexOf(m)&&vn(this.matrix,f,k,c,m)}else Q(f[m])&&(h[m]=f[m])}for(var T in h)0!==h[T]&&(c[o]+=T===o?h[T]:h[T]/this.matrix[o][T]);return yn(this,{values:c},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);
vendor: 4,636 bytes, line 2
2e<n.length;e++){var r=n[e];t[r]=-this.values[r]}return yn(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=y(mn);!(e=n()).done;){var u=e.value;if(r=this.values[u],o=t.values[u],!(void 0===r||0===r?void 0===o||0===o:r===o))return!1}var r,o;return!0},o(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}();function wn(t){if(Q(t))return bn.fromMillis(t);if(bn.isDuration(t))return t;if("object"==typeof t)return bn.fromObject(t);throw new x("Unknown duration argument "+t+" of type "+typeof t)}var kn="Invalid Interval";function Tn(t,e){return t&&t.isValid?e&&e.isValid?e<t?Sn.invalid("end before start","The end of an interval must be after its start, but you had start="+t.toISO()+" and end="+e.toISO()):null:Sn.invalid("missing or invalid end"):Sn.invalid("missing or invalid start")}var Sn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new x("need to specify a reason the Interval is invalid");var r=e instanceof zt?e:new zt(e,n);if(le.throwOnInvalid)throw new k(r);return new t({invalid:r})},t.fromDateTimes=function(e,n){var r=Ei(e),o=Ei(n),l=Tn(r,o);return null==l?new t({start:r,end:o}):l},t.after=function(e,n){var r=wn(n),dt=Ei(e);return t.fromDateTimes(dt,dt.plus(r))},t.before=function(e,n){var r=wn(n),dt=Ei(e);return t.fromDateTimes(dt.minus(r),dt)},t.fromISO=function(text,e){var n=(text||"").split("/",2),s=n[0],r=n[1];if(s&&r){var o,l,c,h;try{l=(o=Si.fromISO(s,e)).isValid}catch(r){l=!1}try{h=(c=Si.fromISO(r,e)).isValid}catch(r){h=!1}if(l&&h)return t.fromDateTimes(o,c);if(l){var f=bn.fromISO(r,e);if(f.isValid)return t.after(o,f)}else if(h){var d=bn.fromISO(s,e);if(d.isValid)return t.before(c,d)}}return t.invalid("unparsable",'the input "'+text+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&(this.s<=t&&this.e>t)},e.set=function(e){var n=void 0===e?{}:e,r=n.start,o=n.end;return this.isValid?t.fromDateTimes(r||this.s,o||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var l=r.map(Ei).filter((function(t){return e.contains(t)})).sort(),c=[],s=this.s,i=0;s<this.e;){var h=l[i]||this.e,f=+h>+this.e?this.e:h;c.push(t.fromDateTimes(s,f)),s=f,i+=1}return c},e.splitBy=function(e){var n=wn(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,s=this.s,o=1,l=[];s<this.e;){var c=this.start.plus(n.mapUnits((function(t){return t*o})));r=+c>+this.e?this.e:c,l.push(t.fromDateTimes(s,r)),s=r,o+=1}return l},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s}
vendor: 3,915 bytes, line 2
2,e.engulfs=function(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)},e.equals=function(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))},e.intersection=function(e){if(!this.isValid)return this;var s=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return s>=n?null:t.fromDateTimes(s,n)},e.union=function(e){if(!this.isValid)return this;var s=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(s,n)},t.merge=function(t){var e=t.sort((function(a,b){return a.s-b.s})).reduce((function(t,e){var n=t[0],r=t[1];return r?r.overlaps(e)||r.abutsStart(e)?[n,r.union(e)]:[n.concat([r]),e]:[n,e]}),[[],null]),n=e[0],r=e[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,o=null,l=0,c=[],h=e.map((function(i){return[{time:i.s,type:"s"},{time:i.e,type:"e"}]})),f=y((n=Array.prototype).concat.apply(n,h).sort((function(a,b){return a.time-b.time})));!(r=f()).done;){var i=r.value;1===(l+="s"===i.type?1:-1)?o=i.time:(o&&+o!=+i.time&&c.push(t.fromDateTimes(o,i.time)),o=null)}return t.merge(c)},e.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.xor([this].concat(r)).map((function(i){return e.intersection(i)})).filter((function(i){return i&&!i.isEmpty()}))},e.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":kn},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):kn},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():kn},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):kn},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(t)+r+this.e.toFormat(t):kn},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):bn.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},o(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),En=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=le.defaultZone);var e=Si.now().setZone(t).set({month:12});return!t.universal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return Kt.isValidSpecifier(t)&&Kt.isValidZone(t)},t.normalizeZone=function(input){return ne(input,le.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,o=void 0===r?null:r,l=n.numberingSystem,c=void 0===l?null:l,h=n.locObj,f=void 0===h?null:h,d=n.outputCalendar,m=void 0===d?"gregory":d;return(f||we.create(o,c,m)).months(t)},t.monthsFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,o=void 0===r?null:r,l=n.numberingSystem,c=void 0===l?null:l,h=n.locObj,f=void 0===h?null:h,d=n.outputCalendar,m=void 0===d?"gregory":d;return(f||we.create(o,c,m)).months(t,!0)},t.weekdays=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,o=void 0===r?null:r,l=n.numberingSystem,c=void 0===l?null:l,h=n.locObj;return((void 0===h?null:h)||we.create(o,c,null)).weekdays(t)},t.weekdaysFormat=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,o=void 0===r?null:r,l=n.numberingSystem,c=void 0===l?null:l,h=n.locObj;return((void 0===h?null:h)||we.create(o,c,null)).weekdays(t,!0)},t.meridiems=function(t){var e=(void 0===t?{}:t).locale,n=void 0===e?null:e;return we.create(n).meridiems()},t.eras=function(t,e){void 0===t&&(t="short");var n=(void 0===e?{}:e).locale,r=void 0===n?null:n;return we.create(r,null,"gregory").eras(t)},t.features=function(){var t=!1,e=!1,n=!1,r=!1;if(et()){t=!0,e=nt(),r=it();
2try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(t){n=!1}}return{intl:t,intlTokens:e,zones:n,relative:r}},t}();function xn(t,e){var n=function(dt){return dt.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(e)-n(t);return Math.floor(bn.fromMillis(r).as("days"))}function On(t,e,n,r){var o=function(cursor,t,e){for(var n,r,o={},l=0,c=[["years",function(a,b){return b.year-a.year}],["quarters",function(a,b){return b.quarter-a.quarter}],["months",function(a,b){return b.month-a.month+12*(b.year-a.year)}],["weeks",function(a,b){var t=xn(a,b);return(t-t%7)/7}],["days",xn]];l<c.length;l++){var h=c[l],f=h[0],d=h[1];if(e.indexOf(f)>=0){var m;n=f;var y,v=d(cursor,t);(r=cursor.plus(((m={})[f]=v,m)))>t?(cursor=cursor.plus(((y={})[f]=v-1,y)),v-=1):cursor=r,o[f]=v}}return[cursor,o,r,n]}(t,e,n),cursor=o[0],l=o[1],c=o[2],h=o[3],f=e-cursor,d=n.filter((function(u){return["hours","minutes","seconds","milliseconds"].indexOf(u)>=0}));if(0===d.length){var m;if(c<e)c=cursor.plus(((m={})[h]=1,m));c!==cursor&&(l[h]=(l[h]||0)+f/(c-cursor))}var y,v=bn.fromObject(Object.assign(l,r));return d.length>0?(y=bn.fromMillis(f,r)).shiftTo.apply(y,d).plus(v):v}var An={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},_n={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Cn=An.hanidec.replace(/[\[|\]]/g,"").split("");function Mn(t,e){var n=t.numberingSystem;return void 0===e&&(e=""),new RegExp(""+An[n||"latn"]+e)}function In(t,e){return void 0===e&&(e=function(i){return i}),{regex:t,deser:function(t){var s=t[0];return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var i=0;i<t.length;i++){var code=t.charCodeAt(i);if(-1!==t[i].search(An.hanidec))e+=Cn.indexOf(t[i]);else for(var n in _n){var r=_n[n],o=r[0],l=r[1];code>=o&&code<=l&&(e+=code-o)}}return parseInt(e,10)}return e}(s))}}}var Pn="( |"+String.fromCharCode(160)+")",Nn=new RegExp(Pn,"g");function Rn(s){return s.replace(/\./g,"\\.?").replace(Nn,Pn)}function jn(s){return s.replace(/\./g,"").replace(Nn," ").toLowerCase()}function Ln(t,e){return null===t?null:{regex:RegExp(t.map(Rn).join("|")),deser:function(n){var s=n[0];return t.findIndex((function(i){return jn(s)===jn(i)}))+e}}}function Dn(t,e){return{regex:t,deser:function(t){return kt(t[1],t[2])},groups:e}}function Fn(t){return{regex:t,deser:function(t){return t[0]}}}var Vn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Bn=null;function Un(t,e){if(t.literal)return t;var n=Ht.macroTokenToFormatOpts(t.val);if(!n)return t;var r=Ht.create(e,n).formatDateTimeParts((Bn||(Bn=Si.fromMillis(1555555555555)),Bn)).map((function(p){return function(t,e,n){var r=t.type,o=t.value;if("literal"===r)return{literal:!0,val:o};var style=n[r],l=Vn[r];return"object"==typeof l&&(l=l[style]),l?{literal:!1,val:l}:void 0}(p,0,n)}));return r.includes(void 0)?t:r}function qn(t,input,e){var n=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return Un(t,e)})))}(Ht.parseFormat(e),t),r=n.map((function(e){return n=e,o=Mn(r=t),l=Mn(r,"{2}"),c=Mn(r,"{3}"),h=Mn(r,"{4}"),f=Mn(r,"{6}"),d=Mn(r,"{1,2}"),m=Mn(r,"{1,3}"),y=Mn(r,"{1,6}"),v=Mn(r,"{1,9}"),w=Mn(r,"{2,4}"),k=Mn(r,"{4,6}"),T=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},S=function(t){if(n.literal)return T(t);switch(t.val){case"G":return Ln(r.eras("short",!1),0);case"GG":return Ln(r.eras("long",!1),0);case"y":return In(y);case"yy":case"kk":return In(w,bt);case"yyyy":case"kkkk":return In(h);case"yyyyy":return In(k);case"yyyyyy":return In(f);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return In(d);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return In(l);case"MMM":return Ln(r.months("short",!0,!1),1);case"MMMM":return Ln(r.months("long",!0,!1),1);case"LLL":return Ln(r.months("short",!1,!1),1);case"LLLL":return Ln(r.months("long",!1,!1),1);case"o":case"S":return In(m);case"ooo":case"SSS":return In(c);case"u":return Fn(v);case"a":return Ln(r.meridiems(),0);case"E":case"c":return In(o);case"EEE":return Ln(r.weekdays("short",!1,!1),1);case"EEEE":return Ln(r.weekdays("long",!1,!1),1);case"ccc":return Ln(r.weekdays("short",!0,!1),1);case"cccc":return Ln(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Dn(new RegExp("([+-]"+d.source+")(?::("+l.source+"))?"),2);case"ZZZ":return Dn(new RegExp("([+-]"+d.source+")("+l.source+")?"),2);case"z":return Fn(/[a-z_+-/]{1,256}?/i);default:return T(t)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},S.token=n,S;var n,r,o,l,c,h,f,d,m,y,v,w,k,T,S})),o=r.find((function(t){return t.invalidReason}));if(o)return{input:input,tokens:n,invalidReason:o.invalidReason};var l=function(t){return["^"+t.map((function(u){return u.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"")+"$",t]}
vendor: 5,965 bytes, line 2
2(r),c=l[0],h=l[1],f=RegExp(c,"i"),d=function(input,t,e){var n=input.match(t);if(n){var r={},o=1;for(var i in e)if(at(e,i)){var l=e[i],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(r[l.token.val[0]]=l.deser(n.slice(o,o+c))),o+=c}return[n,r]}return[n,{}]}(input,f,h),m=d[0],y=d[1],v=y?function(t){var e;return e=K(t.Z)?K(t.z)?null:Kt.create(t.z):new te(t.Z),K(t.q)||(t.M=3*(t.q-1)+1),K(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),K(t.u)||(t.S=ht(t.u)),[Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{}),e]}(y):[null,null],w=v[0],k=v[1];if(at(y,"a")&&at(y,"H"))throw new S("Can't include meridiem when specifying 24-hour format");return{input:input,tokens:n,regex:f,rawMatches:m,matches:y,result:w,zone:k}}var Hn=[0,31,59,90,120,151,181,212,243,273,304,334],zn=[0,31,60,91,121,152,182,213,244,274,305,335];function Wn(t,e){return new zt("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Yn(t,e,n){var r=new Date(Date.UTC(t,e-1,n)).getUTCDay();return 0===r?7:r}function $n(t,e,n){return n+(pt(t)?zn:Hn)[e-1]}function Zn(t,e){var table=pt(t)?zn:Hn,n=table.findIndex((function(i){return i<e}));return{month:n+1,day:e-table[n]}}function Jn(t){var e,n=t.year,r=t.month,o=t.day,l=$n(n,r,o),c=Yn(n,r,o),h=Math.floor((l-c+10)/7);return h<1?h=vt(e=n-1):h>vt(n)?(e=n+1,h=1):e=n,Object.assign({weekYear:e,weekNumber:h,weekday:c},xt(t))}function Gn(t){var e,n=t.weekYear,r=t.weekNumber,o=t.weekday,l=Yn(n,1,4),c=mt(n),h=7*r+o-l-3;h<1?h+=mt(e=n-1):h>c?(e=n+1,h-=mt(n)):e=n;var f=Zn(e,h),d=f.month,m=f.day;return Object.assign({year:e,month:d,day:m},xt(t))}function Xn(t){var e=t.year,n=$n(e,t.month,t.day);return Object.assign({year:e,ordinal:n},xt(t))}function Kn(t){var e=t.year,n=Zn(e,t.ordinal),r=n.month,o=n.day;return Object.assign({year:e,month:r,day:o},xt(t))}function Qn(t){var e=tt(t.year),n=ut(t.month,1,12),r=ut(t.day,1,gt(t.year,t.month));return e?n?!r&&Wn("day",t.day):Wn("month",t.month):Wn("year",t.year)}function ti(t){var e=t.hour,n=t.minute,r=t.second,o=t.millisecond,l=ut(e,0,23)||24===e&&0===n&&0===r&&0===o,c=ut(n,0,59),h=ut(r,0,59),f=ut(o,0,999);return l?c?h?!f&&Wn("millisecond",o):Wn("second",r):Wn("minute",n):Wn("hour",e)}var ei="Invalid DateTime",ni=864e13;function ii(t){return new zt("unsupported zone",'the zone "'+t.name+'" is not supported')}function ri(dt){return null===dt.weekData&&(dt.weekData=Jn(dt.c)),dt.weekData}function oi(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Si(Object.assign({},n,e,{old:n}))}function si(t,e,n){var r=t-60*e*1e3,o=n.offset(r);if(e===o)return[r,e];r-=60*(o-e)*1e3;var l=n.offset(r);return o===l?[r,o]:[t-60*Math.min(o,l)*1e3,Math.max(o,l)]}function ai(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function ui(t,e,n){return si(yt(t),e,n)}function ci(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),o=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),l=Object.assign({},t.c,{year:r,month:o,day:Math.min(t.c.day,gt(r,o))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),c=bn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),h=si(yt(l),n,t.zone),f=h[0],d=h[1];return 0!==c&&(f+=c,d=t.zone.offset(f)),{ts:f,o:d}}function hi(t,e,n,r,text){var o=n.setZone,l=n.zone;if(t&&0!==Object.keys(t).length){var c=e||l,h=Si.fromObject(Object.assign(t,n,{zone:c,setZone:void 0}));return o?h:h.setZone(l)}return Si.invalid(new zt("unparsable",'the input "'+text+"\" can't be parsed as "+r))}function fi(dt,t,e){return void 0===e&&(e=!0),dt.isValid?Ht.create(we.create("en-US"),{allowZ:e,forceSimple:!0}).formatDateTimeFromString(dt,t):null}function di(dt,t){var e=t.suppressSeconds,n=void 0!==e&&e,r=t.suppressMilliseconds,o=void 0!==r&&r,l=t.includeOffset,c=t.includePrefix,h=void 0!==c&&c,f=t.includeZone,d=void 0!==f&&f,m=t.spaceZone,y=void 0!==m&&m,v=t.format,w=void 0===v?"extended":v,k="basic"===w?"HHmm":"HH:mm";n&&0===dt.second&&0===dt.millisecond||(k+="basic"===w?"ss":":ss",o&&0===dt.millisecond||(k+=".SSS")),(d||l)&&y&&(k+=" "),d?k+="z":l&&(k+="basic"===w?"ZZZ":"ZZ");var T=fi(dt,k);return h&&(T="T"+T),T}var pi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},mi={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gi={ordinal:1,hour:0,minute:0,second:0,millisecond:0},yi=["year","month","day","hour","minute","second","millisecond"],vi=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],bi=["year","ordinal","hour","minute","second","millisecond"];function wi(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new E(t);return e}function ki(t,e){for(var n,r=y(yi);!(n=r()).done;){var u=n.value;K(t[u])&&(t[u]=pi[u])}var o=Qn(t)||ti(t);if(o)return Si.invalid(o);var l=le.now(),c=ui(t,e.offset(l),e),h=c[0],f=c[1];return new Si({ts:h,zone:e,o:f})}
2function Ti(t,e,n){var r=!!K(n.round)||n.round,o=function(t,o){return t=ft(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,o)},l=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return o(l(n.unit),n.unit);for(var c,h=y(n.units);!(c=h()).done;){var f=c.value,d=l(f);if(Math.abs(d)>=1)return o(d,f)}return o(t>e?-0:0,n.units[n.units.length-1])}var Si=function(){function t(t){var e=t.zone||le.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new zt("invalid input"):null)||(e.isValid?null:ii(e));this.ts=K(t.ts)?le.now():t.ts;var r=null,o=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var l=[t.old.c,t.old.o];r=l[0],o=l[1]}else{var c=e.offset(this.ts);r=ai(this.ts,c),r=(n=Number.isNaN(r.year)?new zt("invalid input"):null)?null:r,o=n?null:c}this._zone=e,this.loc=t.loc||we.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(e,n,r,o,l,c,h){return K(e)?t.now():ki({year:e,month:n,day:r,hour:o,minute:l,second:c,millisecond:h},le.defaultZone)},t.utc=function(e,n,r,o,l,c,h){return K(e)?new t({ts:le.now(),zone:te.utcInstance}):ki({year:e,month:n,day:r,hour:o,minute:l,second:c,millisecond:h},te.utcInstance)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r,o=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);if(Number.isNaN(o))return t.invalid("invalid input");var l=ne(n.zone,le.defaultZone);return l.isValid?new t({ts:o,zone:l,loc:we.fromObject(n)}):t.invalid(ii(l))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),Q(e))return e<-ni||e>ni?t.invalid("Timestamp out of range"):new t({ts:e,zone:ne(n.zone,le.defaultZone),loc:we.fromObject(n)});throw new x("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),Q(e))return new t({ts:1e3*e,zone:ne(n.zone,le.defaultZone),loc:we.fromObject(n)});throw new x("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=ne(e.zone,le.defaultZone);if(!n.isValid)return t.invalid(ii(n));var r=le.now(),o=n.offset(r),l=St(e,wi,["zone","locale","outputCalendar","numberingSystem"]),c=!K(l.ordinal),h=!K(l.year),f=!K(l.month)||!K(l.day),d=h||f,m=l.weekYear||l.weekNumber,v=we.fromObject(e);if((d||c)&&m)throw new S("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&c)throw new S("Can't mix ordinal dates with month/day");var w,k,T=m||l.weekday&&!d,E=ai(r,o);T?(w=vi,k=mi,E=Jn(E)):c?(w=bi,k=gi,E=Xn(E)):(w=yi,k=pi);for(var x,O=!1,A=y(w);!(x=A()).done;){var u=x.value;K(l[u])?l[u]=O?k[u]:E[u]:O=!0}var _=T?function(t){var e=tt(t.weekYear),n=ut(t.weekNumber,1,vt(t.weekYear)),r=ut(t.weekday,1,7);return e?n?!r&&Wn("weekday",t.weekday):Wn("week",t.week):Wn("weekYear",t.weekYear)}(l):c?function(t){var e=tt(t.year),n=ut(t.ordinal,1,mt(t.year));return e?!n&&Wn("ordinal",t.ordinal):Wn("year",t.year)}(l):Qn(l),C=_||ti(l);if(C)return t.invalid(C);var M=ui(T?Gn(l):c?Kn(l):l,o,n),I=new t({ts:M[0],zone:n,o:M[1],loc:v});return l.weekday&&d&&e.weekday!==I.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+l.weekday+" and a date of "+I.toISO()):I},t.fromISO=function(text,t){void 0===t&&(t={});var e=function(s){return Se(s,[Ge,tn],[Xe,en],[Ke,nn],[Qe,rn])}(text);return hi(e[0],e[1],t,"ISO 8601",text)},t.fromRFC2822=function(text,t){void 0===t&&(t={});var e=function(s){return Se(function(s){return s.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(s),[He,ze])}(text);return hi(e[0],e[1],t,"RFC 2822",text)},t.fromHTTP=function(text,t){void 0===t&&(t={});var e=function(s){return Se(s,[We,Ze],[Ye,Ze],[$e,Je])}(text);return hi(e[0],e[1],t,"HTTP",t)},t.fromFormat=function(text,e,n){if(void 0===n&&(n={}),K(text)||K(e))throw new x("fromFormat requires an input string and a format");var r=n,o=r.locale,l=void 0===o?null:o,c=r.numberingSystem,h=void 0===c?null:c,f=function(t,input,e){var n=qn(t,input,e);return[n.result,n.zone,n.invalidReason]}(we.fromOpts({locale:l,numberingSystem:h,defaultToEN:!0}),text,e),d=f[0],m=f[1],y=f[2];return y?t.invalid(y):hi(d,m,n,"format "+e,text)},t.fromString=function(text,e,n){return void 0===n&&(n={}),t.fromFormat(text,e,n)},t.fromSQL=function(text,t){void 0===t&&(t={});var e=function(s){return Se(s,[sn,un],[an,ln])}(text);return hi(e[0],e[1],t,"SQL",text)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new x("need to specify a reason the DateTime is invali
2d");var r=e instanceof zt?e:new zt(e,n);if(le.throwOnInvalid)throw new w(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOpts=function(t){void 0===t&&(t={});var e=Ht.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone(te.instance(t),e)},e.toLocal=function(){return this.setZone(le.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,o=r.keepLocalTime,l=void 0!==o&&o,c=r.keepCalendarTime,h=void 0!==c&&c;if((e=ne(e,le.defaultZone)).equals(this.zone))return this;if(e.isValid){var f=this.ts;if(l||h){var d=e.offset(this.ts);f=ui(this.toObject(),d,e)[0]}return oi(this,{ts:f,zone:e})}return t.invalid(ii(e))},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,o=e.outputCalendar;return oi(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:o})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=St(t,wi,[]),r=!K(n.weekYear)||!K(n.weekNumber)||!K(n.weekday),o=!K(n.ordinal),l=!K(n.year),c=!K(n.month)||!K(n.day),h=l||c,f=n.weekYear||n.weekNumber;if((h||o)&&f)throw new S("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&o)throw new S("Can't mix ordinal dates with month/day");r?e=Gn(Object.assign(Jn(this.c),n)):K(n.ordinal)?(e=Object.assign(this.toObject(),n),K(n.day)&&(e.day=Math.min(gt(e.year,e.month),e.day))):e=Kn(Object.assign(Xn(this.c),n));var d=ui(e,this.o,this.zone);return oi(this,{ts:d[0],o:d[1]})},e.plus=function(t){return this.isValid?oi(this,ci(this,wn(t))):this},e.minus=function(t){return this.isValid?oi(this,ci(this,wn(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=bn.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var q=Math.ceil(this.month/3);e.month=3*(q-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?Ht.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):ei},e.toLocaleString=function(t){return void 0===t&&(t=C),this.isValid?Ht.create(this.loc.clone(t),t).formatDateTime(this):ei},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?Ht.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){return void 0===t&&(t={}),this.isValid?this.toISODate(t)+"T"+this.toISOTime(t):null},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n="basic"===(void 0===e?"extended":e)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),fi(this,n)},e.toISOWeekDate=function(){return fi(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=void 0!==n&&n,o=e.suppressSeconds,l=void 0!==o&&o,c=e.includeOffset,h=void 0===c||c,f=e.includePrefix,d=void 0!==f&&f,m=e.format;return di(this,{suppressSeconds:l,suppressMilliseconds:r,includeOffset:h,includePrefix:d,format:void 0===m?"extended":m})},e.toRFC2822=function(){return fi(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return fi(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return fi(this,"yyyy-MM-dd")},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,o=e.includeZone;return di(this,{includeOffset:r,includeZone:void 0!==o&&o,spaceZone:!0})},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():ei},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var base=Object.assign({},this.c);return t.includeConfig&&(base.outputCalendar=this.outputCalendar,base.numberingSystem=this.loc.numberingSystem,base.locale=this.loc.locale),base},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return bn.invalid(this.invalid||t.invalid,"created by diffing an invali
2d DateTime");var r,o=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),l=(r=e,Array.isArray(r)?r:[r]).map(bn.normalizeUnit),c=t.valueOf()>this.valueOf(),h=On(c?this:t,c?t:this,l,o);return c?h.negate():h},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?Sn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var base=e.base||t.fromObject({zone:this.zone}),n=e.padding?this<base?-e.padding:e.padding:0,r=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(r=e.unit,o=void 0),Ti(base,this.plus(n),Object.assign(e,{numeric:"always",units:r,unit:o}))},e.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?Ti(e.base||t.fromObject({zone:this.zone}),this,Object.assign(e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new x("min requires all arguments be DateTimes");return ot(n,(function(i){return i.valueOf()}),Math.min)},t.max=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!n.every(t.isDateTime))throw new x("max requires all arguments be DateTimes");return ot(n,(function(i){return i.valueOf()}),Math.max)},t.fromFormatExplain=function(text,t,e){void 0===e&&(e={});var n=e,r=n.locale,o=void 0===r?null:r,l=n.numberingSystem,c=void 0===l?null:l;return qn(we.fromOpts({locale:o,numberingSystem:c,defaultToEN:!0}),text,t)},t.fromStringExplain=function(text,e,n){return void 0===n&&(n={}),t.fromFormatExplain(text,e,n)},o(t,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?ri(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?ri(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?ri(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Xn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?En.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?En.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?En.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?En.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return pt(this.year)}},{key:"daysInMonth",get:function(){return gt(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?mt(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?vt(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return C}},{key:"DATE_MED",get:function(){return M}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return I}},{key:"DATE_FULL",get:function(){return P}},{key:"DATE_HUGE",get:function(){return N}},{key:"TIME_SIMPLE",get:function(){return R}},{key:"TIME_WITH_SECONDS",get:function(){return j}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return L}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return D}},{key:"TIME_24_SIMPLE",get:function(){return F}},{key:"TIME_24_WITH_SECONDS",get:function(){return V}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return B}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return U}},{key:"DATETIME_SHORT",get:function(){return H}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_MED",get:function(){return W}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return Y}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return $}},{key:"DATETIME_FULL",get:function(){return Z}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return J}},{key:"DATETIME_HUGE",get:function(){return G}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return X}}]),t}();function Ei(t){if(Si.isDateTime(t))return t;if(t&&t.valueOf&&Q(t.valueOf()))return Si.fromJSDate(t);if(t&&"object"==typeof t)return Si.fromObject(t);throw new x("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=Si,e.Duration=bn,e.FixedOffsetZone=te,e.IANAZone=Kt,e.Info=En,e.Interval=Sn,e.InvalidZone=ee,e.LocalZone=$t,e.Settings=le,e.VERSION="1.28.1",e.Zone=Wt},293:function(t,e,n){"use strict";function r(t,e){return e=e||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u={},a=function t(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:t,headers:{keys:function(){return o},entries:function(){return o.map((function(t){return[t,s.getResponseHeader(t)]}))},get:function(t){return s.getResponseHeader(t)},has:function(t){return null!=s.getResponseHeader(t)}}}};for(var i in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,(function(t,e){u[e]||o.push(u[e]=e)})),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(i,e.headers[i]);s.send(e.body||null)}))}n.d(e,"a",(function(){return r}))},295:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function c(t,source,e){return t.concat(source).map((function(element){return l(element,e)}))}function h(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return Object.propertyIsEnumerable.call(t,symbol)})):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function d(t,source,e){var n={};return e.isMergeableObject(t)&&h(t).forEach((function(r){n[r]=l(t[r],e)})),h(source).forEach((function(r){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(f(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return m;var n=e.customMerge(t);return"function"==typeof n?n:m}(r,e)(t[r],source[r],e):n[r]=l(source[r],e))})),n}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||c,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=l;var n=Array.isArray(source);return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):d(t,source,e):l(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return m(t,n,e)}),{})};var y=m;t.exports=y},296:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(119),o=n(13);n(61),n(182),n(48),n(183),n(184),n(280),n(8),n(32),n(26),n(27);function l(t){if(null===t||"object"!==Object(o.a)(t))return!1;var e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&(!(Symbol.iterator in t)&&(!(Symbol.toStringTag in t)||"[object Module]"===Object.prototype.toString.call(t)))}function c(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",o=arguments.length>3?arguments[3]:void 0;if(!l(e))return c(t,{},n,o);var object=Object.assign({},e);for(var h in t)if("__proto__"!==h&&"constructor"!==h){var f=t[h];null!=f&&(o&&o(object,h,f,n)||(Array.isArray(f)&&Array.isArray(object[h])?object[h]=[].concat(Object(r.a)(f),Object(r.a)(object[h])):l(f)&&l(object[h])?object[h]=c(f,object[h],(n?"".concat(n,"."):"")+h.toString(),o):object[h]=f))}return object}function h(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.reduce((function(p,e){return c(p,e,"",t)}),{})}}var f=h();h((function(object,t,e){if(void 0!==object[t]&&"function"==typeof e)return object[t]=e(object[t]),!0})),h((function(object,t,e){if(Array.isArray(object[t])&&"function"==typeof e)return object[t]=e(object[t]),!0}))},297:function(t,e,n){"use strict";var r=n(298);e.a=r.a},298:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}
2));var r=n(299);function o(t){const e=(e,n,o)=>{Object(r.a)(e,{...{hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...t},...o},n)},n=(t,n)=>{e("pageview",n,t)};return{trackEvent:e,trackPageview:n,enableAutoPageviews:()=>{const e=()=>n(),r=history.pushState;return r&&(history.pushState=function(data,title,t){r.apply(this,[data,title,t]),e()},addEventListener("popstate",e)),t&&t.hashMode&&addEventListener("hashchange",e),n(),function(){r&&(history.pushState=r,removeEventListener("popstate",e)),t&&t.hashMode&&removeEventListener("hashchange",e)}},enableAutoOutboundTracking:(t=document,n={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function r(t){e("Outbound Link: Click",{props:{url:this.href}}),setTimeout((()=>{location.href=this.href}),150),t.preventDefault()}const o=new Set;function l(t){t instanceof HTMLAnchorElement?t.host!==location.host&&(t.addEventListener("click",r),o.add(t)):"querySelectorAll"in t&&t.querySelectorAll("a").forEach(l)}function c(t){t instanceof HTMLAnchorElement?(t.removeEventListener("click",r),o.delete(t)):"querySelectorAll"in t&&t.querySelectorAll("a").forEach(c)}const h=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type?(c(t.target),l(t.target)):"childList"===t.type&&(t.addedNodes.forEach(l),t.removedNodes.forEach(c))}))}));return t.querySelectorAll("a").forEach(l),h.observe(t,n),function(){o.forEach((a=>{a.removeEventListener("click",r)})),o.clear(),h.disconnect()}}}}}).call(this,n(115))},299:function(t,e,n){"use strict";function r(t,data,e){const n=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||"file:"===location.protocol;if(!data.trackLocalhost&&n)return console.warn("[Plausible] Ignoring event because website is running locally");try{if("true"===window.localStorage.plausible_ignore)return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch(t){}const r={n:t,u:data.url,d:data.domain,r:data.referrer,w:data.deviceWidth,h:data.hashMode?1:0,p:e&&e.props?JSON.stringify(e.props):void 0},o=new XMLHttpRequest;o.open("POST",`${data.apiHost}/api/event`,!0),o.setRequestHeader("Content-Type","text/plain"),o.send(JSON.stringify(r)),o.onreadystatechange=()=>{4===o.readyState&&e&&e.callback&&e.callback()}}n.d(e,"a",(function(){return r}))},300:function(t,e,n){var r;r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";var r,o=n(1),l=(r=o)&&r.__esModule?r:{default:r};t.exports=l.default},function(t,e,n){"use strict";e.__esModule=!0;var r=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t};e.default=T;var o,l=n(2),c=(o=l)&&o.__esModule?o:{default:o},h=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(4));function f(){}var d={afterAsync:f,afterDequeue:f,afterStreamStart:f,afterWrite:f,autoFix:!0,beforeEnqueue:f,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:f,error:function(t){throw new Error(t.msg)},releaseAsync:!1},m=0,y=[],v=null;function w(){var t=y.shift();if(t){var e=h.last(t);e.afterDequeue(),t.stream=k.apply(void 0,t),e.afterStreamStart()}}function k(t,html,e){(v=new c.default(t,e)).id=m++,v.name=e.name||v.id,T.streams[v.name]=v;var n=t.ownerDocument,o={close:n.close,open:n.open,write:n.write,writeln:n.writeln};function l(t){t=e.beforeWrite(t),v.write(t),e.afterWrite(t)}r(n,{close:f,open:f,write:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return l(e.join(""))},writeln:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return l(e.join("")+"\n")}});var h=v.win.onerror||f;return v.win.onerror=function(t,n,line){e.error({msg:t+" - "+n+": "+line}),h.apply(v.win,[t,n,line])},v.write(html,(function(){r(n,o),v.win.onerror=h,e.done(),v=null,w()})),v}function T(t,html,e){if(h.isFunction(e))e={done:e};else if("clear"===e)return y=[],v=null,void(m=0);e=h.defaults(e,d);var n=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,html,e];return t.postscribe={cancel:function(){n.stream?n.stream.abort():n[1]=f}},e.beforeEnqueue(n),y.push(n),v||w(),t.postscribe}r(T,{streams:{},queue:y,WriteStream:c.default})},function(t,e,n){"use strict";
2e.__esModule=!0;var r,o=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t},l=n(3),c=(r=l)&&r.__esModule?r:{default:r},h=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(4)),f="data-ps-",d="ps-style",m="ps-script";function y(t,e){var n=f+e,r=t.getAttribute(n);return h.existy(r)?String(r):r}function v(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=f+e;h.existy(n)&&""!==n?t.setAttribute(r,n):t.removeAttribute(r)}var w=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.root=e,this.options=n,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new c.default("",{autoFix:n.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],v(this.proxyRoot,"proxyof",0)}return t.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();h.isFunction(e)?this._callFunction(e):this._writeImpl(e)}},t.prototype._callFunction=function(t){var e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)},t.prototype._writeImpl=function(html){this.parser.append(html);for(var t=void 0,script=void 0,style=void 0,e=[];(t=this.parser.readToken())&&!(script=h.isScript(t))&&!(style=h.isStyle(t));)(t=this.options.beforeWriteToken(t))&&e.push(t);e.length>0&&this._writeStaticTokens(e),script&&this._handleScriptToken(t),style&&this._handleStyleToken(t)},t.prototype._writeStaticTokens=function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null},t.prototype._buildChunk=function(t){for(var e=this.actuals.length,n=[],r=[],o=[],l=t.length,i=0;i<l;i++){var c=t[i],h=c.toString();if(n.push(h),c.attrs){if(!/^noscript$/i.test(c.tagName)){var y=e++;r.push(h.replace(/(\/?>)/," "+f+"id="+y+" $1")),c.attrs.id!==m&&c.attrs.id!==d&&o.push("atomicTag"===c.type?"":"<"+c.tagName+" "+f+"proxyof="+y+(c.unary?" />":">"))}}else r.push(h),o.push("endTag"===c.type?h:"")}return{tokens:t,raw:n.join(""),actual:r.join(""),proxy:o.join("")}},t.prototype._walkChunk=function(){for(var t=void 0,e=[this.proxyRoot];h.existy(t=e.shift());){var n=1===t.nodeType;if(!n||!y(t,"proxyof")){n&&(this.actuals[y(t,"id")]=t,v(t,"id"));var r=t.parentNode&&y(t.parentNode,"proxyof");r&&this.actuals[r].appendChild(t)}e.unshift.apply(e,h.toArray(t.childNodes))}},t.prototype._handleScriptToken=function(t){var e=this,n=this.parser.clear();n&&this.writeQueue.unshift(n),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){e._onScriptDone(t)})))},t.prototype._handleStyleToken=function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()},t.prototype._writeStyleToken=function(t){var e=this._buildStyle(t);this._insertCursor(e,d),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))},t.prototype._buildStyle=function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),h.eachKey(t.attrs,(function(t,n){e.setAttribute(t,n)})),e},t.prototype._insertCursor=function(t,e){this._writeImpl('<span id="'+e+'"/>');var cursor=this.doc.getElementById(e);cursor&&cursor.parentNode.replaceChild(t,cursor)},t.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},t.prototype._onScriptDone=function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},t.prototype._writeScriptToken=function(t,e){var n=this._buildScript(t),r=this._shouldRelease(n),o=this.options.afterAsync;t.src&&(n.src=t.src,this._scriptLoadHandler(n,r?o:function(){e(),o()}));try{this._insertCursor(n,m),n.src&&!r||e()}catch(t){this.options.error(t),e()}},t.prototype._buildScript=function(t){var e=this.doc.createElement(t.tagName);return h.eachKey(t.attrs,(function(t,n){e.setAttribute(t,n)})),t.content&&(e.text=t.content),e},t.prototype._scriptLoadHandler=function(t,e){function n(){t=t.onload=t.onreadystatechange=t.onerror=null}var r=this.options.error;function l(){n(),null!=e&&e(),e=null}function c(t){n(),r(t),null!=e&&e(),e=null}function h(t,e){var n=t["on"+e];null!=n&&(t["_on"+e]=n)}h(t,"load"),h(t,"error"),o(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){c({msg:"onload handler failed "+e+" @ "+t.src})}l()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void c({msg:"onerror handler failed "+e+" @ "+t.src})}c({msg:"remote script failed "+t.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&l()}})},t.prototype._shouldRelease=function(t){return!/^script$/i.test(t.no
2deName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},t}();e.default=w},function(t,e,n){var r;r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";var r,o=n(1),l=(r=o)&&r.__esModule?r:{default:r};t.exports=l.default},function(t,e,n){"use strict";e.__esModule=!0;var r,o=d(n(2)),l=d(n(3)),c=n(6),h=(r=c)&&r.__esModule?r:{default:r},f=n(5);function d(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}var m={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},y=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.stream=n;var l=!1,c={};for(var f in o)o.hasOwnProperty(f)&&(r.autoFix&&(c[f+"Fix"]=!0),l=l||c[f+"Fix"]);l?(this._readToken=(0,h.default)(this,c,(function(){return e._readTokenImpl()})),this._peekToken=(0,h.default)(this,c,(function(){return e._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in m)if(m.hasOwnProperty(t)&&m[t].test(this.stream)){var e=l[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var v in e.default=y,y.tokenToString=function(t){return t.toString()},y.escapeAttributes=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=(0,f.escapeQuotes)(t[n],null));return e},y.supports=o,o)o.hasOwnProperty(v)&&(y.browserHasFlaw=y.browserHasFlaw||!o[v]&&v)},function(t,e){"use strict";e.__esModule=!0;var n=!1,r=!1,o=window.document.createElement("div");try{var html="<P><I></P></I>";o.innerHTML=html,e.tagSoup=n=o.innerHTML!==html}catch(t){e.tagSoup=n=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=r=2===o.childNodes.length}catch(t){e.selfClose=r=!1}o=null,e.tagSoup=n,e.selfClose=r},function(t,e,n){"use strict";e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.comment=function(t){var e=t.indexOf("--\x3e");if(e>=0)return new o.CommentToken(t.substr(4,e-1),e+3)},e.chars=function(t){var e=t.indexOf("<");return new o.CharsToken(e>=0?e:t.length)},e.startTag=c,e.atomicTag=function(t){var e=c(t);if(e){var n=t.slice(e.length);if(n.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var r=n.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(r)return new o.AtomicTagToken(e.tagName,r[0].length+e.length,e.attrs,e.booleanAttrs,r[1])}}},e.endTag=function(t){var e=t.match(l.endTag);if(e)return new o.EndTagToken(e[1],e[0].length)};var o=n(4),l={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function c(t){var e,n,c;if(-1!==t.indexOf(">")){var h=t.match(l.startTag);if(h){var f=(e={},n={},c=h[2],h[2].replace(l.attr,(function(t,r){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(e[arguments[5]]="",n[arguments[5]]=!0):e[r]=arguments[2]||arguments[3]||arguments[4]||l.fillAttr.test(r)&&r||"":e[r]="",c=c.replace(t,"")})),{v:new o.StartTagToken(h[1],h[0].length,e,n,!!h[3],c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===f?"undefined":r(f)))return f.v}}}},function(t,e,n){"use strict";
2e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var r=n(5);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Token=function t(e,n){o(this,t),this.type=e,this.length=n,this.text=""},e.CommentToken=function(){function t(content,e){o(this,t),this.type="comment",this.length=e||(content?content.length:0),this.text="",this.content=content}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),e.CharsToken=function(){function t(e){o(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}();var l=e.TagToken=function(){function t(e,n,r,l,c){o(this,t),this.type=e,this.length=r,this.text="",this.tagName=n,this.attrs=l,this.booleanAttrs=c,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var content=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e="<"+t.tagName;for(var n in t.attrs)if(t.attrs.hasOwnProperty(n)){e+=" "+n;var o=t.attrs[n];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[n]||(e+='="'+(0,r.escapeQuotes)(o)+'"')}return t.rest&&(e+=" "+t.rest),t.unary&&!t.html5Unary?e+="/>":e+=">",null!=content&&(e+=content+"</"+t.tagName+">"),e},t}();e.StartTagToken=function(){function t(e,n,r,l,c,h){o(this,t),this.type="startTag",this.length=n,this.text="",this.tagName=e,this.attrs=r,this.booleanAttrs=l,this.html5Unary=!1,this.unary=c,this.rest=h}return t.prototype.toString=function(){return l.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,n,r,l,content){o(this,t),this.type="atomicTag",this.length=n,this.text="",this.tagName=e,this.attrs=r,this.booleanAttrs=l,this.unary=!1,this.html5Unary=!1,this.content=content}return t.prototype.toString=function(){return l.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,n){o(this,t),this.type="endTag",this.length=n,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";e.__esModule=!0,e.escapeQuotes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,e){return/\\/.test(e)?e+'"':e+'\\"'})):e}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,n){var c=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,i=0;e=this[i];i++)if(e.tagName===t)return!0;return!1},t}(),h={startTag:function(n){var o=n.tagName;"TR"===o.toUpperCase()&&c.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),f()):e.selfCloseFix&&r.test(o)&&c.containsTagName(o)?c.lastTagNameEq(o)?l(t,c):(t.prepend("</"+n.tagName+">"),f()):n.unary||c.push(n)},endTag:function(r){c.last()?e.tagSoupFix&&!c.lastTagNameEq(r.tagName)?l(t,c):c.pop():e.tagSoupFix&&(n(),f())}};function f(){var e=function(t,e){var n=t.stream,r=o(e());return t.stream=n,r}(t,n);e&&h[e.type]&&h[e.type](e)}return function(){return f(),o(n())}};var n=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function o(t){return t&&"startTag"===t.type&&(t.unary=n.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function l(t,e){var n=e.pop();t.prepend("</"+n.tagName+">")}}])},t.exports=r()},function(t,e){"use strict";e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(t){return null!=t}function o(t,e,n){var i=void 0,r=t&&t.length||0;for(i=0;i<r;i++)e.call(n,t[i],i)}function l(t,e,n){for(var r in t)t.hasOwnProperty(r)&&e.call(n,r,t[r])}function c(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t)||!~t.tagName.toLowerCase().indexOf(e))}e.existy=r,e.isFunction=function(t){return"function"==typeof t},e.each=o,e.eachKey=l,e.defaults=function(t,e){return t=t||{},l(e,(function(e,n){r(t[e])||(t[e]=n)})),t},e.toArray=function(t){try{return Array.prototype.slice.call(t)}catch(l){var e=(r=[],o(t,(function(t){r.push(t)})),{v:r});if("object"===(void 0===e?"undefined":n(e)))return e.v}var r},e.last=function(t){return t[t.length-1]},e.isTag=c,e.isScript=function(t){return c(t,"script")}
2,e.isStyle=function(t){return c(t,"style")}}])},t.exports=r()},301:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){try{return!!t()}catch(t){return!0}},r=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function l(t,e,n){return n={path:e,exports:{},require:function(path,base){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==base&&n.path)}},t(n,n.exports),n.exports}var c=function(t){return t&&t.Math==Math&&t},h=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof o&&o)||Function("return this")(),f=function(t){return"object"==typeof t?null!==t:"function"==typeof t},d=h.document,m=f(d)&&f(d.createElement),y=function(t){return m?d.createElement(t):{}},v=!r&&!n((function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a})),w=function(t){if(!f(t))throw TypeError(String(t)+" is not an object");return t},k=function(input,t){if(!f(input))return input;var e,n;if(t&&"function"==typeof(e=input.toString)&&!f(n=e.call(input)))return n;if("function"==typeof(e=input.valueOf)&&!f(n=e.call(input)))return n;if(!t&&"function"==typeof(e=input.toString)&&!f(n=e.call(input)))return n;throw TypeError("Can't convert object to primitive value")},T=Object.defineProperty,S={f:r?T:function(t,e,n){if(w(t),e=k(e,!0),w(n),v)try{return T(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},E=S.f,x=Function.prototype,O=x.toString,A=/^\s*function ([^ (]*)/,_="name";r&&!(_ in x)&&E(x,_,{configurable:!0,get:function(){try{return O.call(this).match(A)[1]}catch(t){return""}}});var C={}.propertyIsEnumerable,M=Object.getOwnPropertyDescriptor,I=M&&!C.call({1:2},1)?function(t){var e=M(this,t);return!!e&&e.enumerable}:C,P={f:I},N=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},R={}.toString,j=function(t){return R.call(t).slice(8,-1)},L="".split,D=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==j(t)?L.call(t,""):Object(t)}:Object,F=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},V=function(t){return D(F(t))},B={}.hasOwnProperty,U=function(t,e){return B.call(t,e)},H=Object.getOwnPropertyDescriptor,z={f:r?H:function(t,e){if(t=V(t),e=k(e,!0),v)try{return H(t,e)}catch(t){}if(U(t,e))return N(!P.f.call(t,e),t[e])}},W=r?function(object,t,e){return S.f(object,t,N(1,e))}:function(object,t,e){return object[t]=e,object},Y=function(t,e){try{W(h,t,e)}catch(n){h[t]=e}return e},$="__core-js_shared__",Z=h[$]||Y($,{}),J=Function.toString;"function"!=typeof Z.inspectSource&&(Z.inspectSource=function(t){return J.call(t)});var G,X,K,Q=Z.inspectSource,tt=h.WeakMap,et="function"==typeof tt&&/native code/.test(Q(tt)),nt=l((function(t){(t.exports=function(t,e){return Z[t]||(Z[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),it=0,ot=Math.random(),st=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++it+ot).toString(36)},at=nt("keys"),ut=function(t){return at[t]||(at[t]=st(t))},lt={},ct=h.WeakMap;if(et){var ht=new ct,ft=ht.get,pt=ht.has,mt=ht.set;G=function(t,e){return mt.call(ht,t,e),e},X=function(t){return ft.call(ht,t)||{}},K=function(t){return pt.call(ht,t)}}else{var gt=ut("state");lt[gt]=!0,G=function(t,e){return W(t,gt,e),e},X=function(t){return U(t,gt)?t[gt]:{}},K=function(t){return U(t,gt)}}var yt,vt={set:G,get:X,has:K,enforce:function(t){return K(t)?X(t):G(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=X(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},bt=l((function(t){var e=vt.get,n=vt.enforce,r=String(String).split("String");(t.exports=function(t,e,o,l){var c=!!l&&!!l.unsafe,f=!!l&&!!l.enumerable,d=!!l&&!!l.noTargetGet;"function"==typeof o&&("string"!=typeof e||U(o,"name")||W(o,"name",e),n(o).source=r.join("string"==typeof e?e:"")),t!==h?(c?!d&&t[e]&&(f=!0):delete t[e],f?t[e]=o:W(t,e,o)):f?t[e]=o:Y(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||Q(this)}))})),path=h,wt=function(t){return"function"==typeof t?t:void 0},kt=function(t,e){return arguments.length<2?wt(path[t])||wt(h[t]):path[t]&&path[t][e]||h[t]&&h[t][e]},Tt=Math.ceil,St=Math.floor,Et=function(t){return isNaN(t=+t)?0:(t>0?St:Tt)(t)},xt=Math.min,Ot=function(t){return t>0?xt(Et(t),9007199254740991):0},At=Math.max,_t=Math.min,Ct=function(t,e){var n=Et(t);return n<0?At(n+e,0):_t(n,e)},Mt=function(t){return function(e,n,r){var o,l=V(e),c=Ot(l.length),h=Ct(r,c);if(t&&n!=n){for(;c>h;)if((o=l[h++])!=o)return!0}else for(;c>h;
2h++)if((t||h in l)&&l[h]===n)return t||h||0;return!t&&-1}},It={includes:Mt(!0),indexOf:Mt(!1)},Pt=It.indexOf,Nt=function(object,t){var e,n=V(object),i=0,r=[];for(e in n)!U(lt,e)&&U(n,e)&&r.push(e);for(;t.length>i;)U(n,e=t[i++])&&(~Pt(r,e)||r.push(e));return r},Rt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jt=Rt.concat("length","prototype"),Lt={f:Object.getOwnPropertyNames||function(t){return Nt(t,jt)}},Dt={f:Object.getOwnPropertySymbols},Ft=kt("Reflect","ownKeys")||function(t){var e=Lt.f(w(t)),n=Dt.f;return n?e.concat(n(t)):e},Vt=function(t,source){for(var e=Ft(source),n=S.f,r=z.f,i=0;i<e.length;i++){var o=e[i];U(t,o)||n(t,o,r(source,o))}},Bt=/#|\.prototype\./,Ut=function(t,e){var r=data[qt(t)];return r==zt||r!=Ht&&("function"==typeof e?n(e):!!e)},qt=Ut.normalize=function(t){return String(t).replace(Bt,".").toLowerCase()},data=Ut.data={},Ht=Ut.NATIVE="N",zt=Ut.POLYFILL="P",Wt=Ut,Yt=z.f,$t=function(t,source){var e,n,r,o,l,c=t.target,f=t.global,d=t.stat;if(e=f?h:d?h[c]||Y(c,{}):(h[c]||{}).prototype)for(n in source){if(o=source[n],r=t.noTargetGet?(l=Yt(e,n))&&l.value:e[n],!Wt(f?n:c+(d?".":"#")+n,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;Vt(o,r)}(t.sham||r&&r.sham)&&W(o,"sham",!0),bt(e,n,o,t)}},Zt=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())})),Jt=Zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=Array.isArray||function(t){return"Array"==j(t)},Xt=function(t){return Object(F(t))},Kt=Object.keys||function(t){return Nt(t,Rt)},Qt=r?Object.defineProperties:function(t,e){w(t);for(var n,r=Kt(e),o=r.length,l=0;o>l;)S.f(t,n=r[l++],e[n]);return t},html=kt("document","documentElement"),te="prototype",ee="script",ne=ut("IE_PROTO"),ie=function(){},re=function(content){return"<"+ee+">"+content+"</"+ee+">"},oe=function(){try{yt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,iframe,e;oe=yt?function(t){t.write(re("")),t.close();var e=t.parentWindow.Object;return t=null,e}(yt):(iframe=y("iframe"),e="java"+ee+":",iframe.style.display="none",html.appendChild(iframe),iframe.src=String(e),(t=iframe.contentWindow.document).open(),t.write(re("document.F=Object")),t.close(),t.F);for(var n=Rt.length;n--;)delete oe[te][Rt[n]];return oe()};lt[ne]=!0;var se=Object.create||function(t,e){var n;return null!==t?(ie[te]=w(t),n=new ie,ie[te]=null,n[ne]=t):n=oe(),void 0===e?n:Qt(n,e)},ae=Lt.f,ue={}.toString,le="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ce={f:function(t){return le&&"[object Window]"==ue.call(t)?function(t){try{return ae(t)}catch(t){return le.slice()}}(t):ae(V(t))}},he=nt("wks"),fe=h.Symbol,de=Jt?fe:fe&&fe.withoutSetter||st,pe=function(t){return U(he,t)||(Zt&&U(fe,t)?he[t]=fe[t]:he[t]=de("Symbol."+t)),he[t]},me={f:pe},ge=S.f,ye=function(t){var e=path.Symbol||(path.Symbol={});U(e,t)||ge(e,t,{value:me.f(t)})},ve=S.f,be=pe("toStringTag"),we=function(t,e,n){t&&!U(t=n?t:t.prototype,be)&&ve(t,be,{configurable:!0,value:e})},ke=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Te=function(t,e,n){if(ke(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(a){return t.call(e,a)};case 2:return function(a,b){return t.call(e,a,b)};case 3:return function(a,b,n){return t.call(e,a,b,n)}}return function(){return t.apply(e,arguments)}},Se=pe("species"),Ee=function(t,e){var n;return Gt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Gt(n.prototype)?f(n)&&null===(n=n[Se])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},xe=[].push,Oe=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,l=6==t,c=5==t||l;return function(h,f,d,m){for(var y,v,w=Xt(h),k=D(w),T=Te(f,d,3),S=Ot(k.length),E=0,x=m||Ee,O=e?x(h,S):n?x(h,0):void 0;S>E;E++)if((c||E in k)&&(v=T(y=k[E],E,w),t))if(e)O[E]=v;else if(v)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:xe.call(O,y)}else if(o)return!1;return l?-1:r||o?o:O}},Ae={forEach:Oe(0),map:Oe(1),filter:Oe(2),some:Oe(3),every:Oe(4),find:Oe(5),findIndex:Oe(6)},_e=Ae.forEach,Ce=ut("hidden"),Me="Symbol",Ie="prototype",Pe=pe("toPrimitive"),Ne=vt.set,Re=vt.getterFor(Me),je=Object[Ie],Le=h.Symbol,De=kt("JSON","stringify"),Fe=z.f,Ve=S.f,Be=ce.f,Ue=P.f,qe=nt("symbols"),He=nt("op-symbol
2s"),ze=nt("string-to-symbol-registry"),We=nt("symbol-to-string-registry"),Ye=nt("wks"),$e=h.QObject,Ze=!$e||!$e[Ie]||!$e[Ie].findChild,Je=r&&n((function(){return 7!=se(Ve({},"a",{get:function(){return Ve(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Fe(je,e);r&&delete je[e],Ve(t,e,n),r&&t!==je&&Ve(je,e,r)}:Ve,Ge=function(t,e){var symbol=qe[t]=se(Le[Ie]);return Ne(symbol,{type:Me,tag:t,description:e}),r||(symbol.description=e),symbol},Xe=Jt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Le},Ke=function(t,e,n){t===je&&Ke(He,e,n),w(t);var r=k(e,!0);return w(n),U(qe,r)?(n.enumerable?(U(t,Ce)&&t[Ce][r]&&(t[Ce][r]=!1),n=se(n,{enumerable:N(0,!1)})):(U(t,Ce)||Ve(t,Ce,N(1,{})),t[Ce][r]=!0),Je(t,r,n)):Ve(t,r,n)},Qe=function(t,e){w(t);var n=V(e),o=Kt(n).concat(rn(n));return _e(o,(function(e){r&&!tn.call(n,e)||Ke(t,e,n[e])})),t},tn=function(t){var e=k(t,!0),n=Ue.call(this,e);return!(this===je&&U(qe,e)&&!U(He,e))&&(!(n||!U(this,e)||!U(qe,e)||U(this,Ce)&&this[Ce][e])||n)},en=function(t,e){var n=V(t),r=k(e,!0);if(n!==je||!U(qe,r)||U(He,r)){var o=Fe(n,r);return!o||!U(qe,r)||U(n,Ce)&&n[Ce][r]||(o.enumerable=!0),o}},nn=function(t){var e=Be(V(t)),n=[];return _e(e,(function(t){U(qe,t)||U(lt,t)||n.push(t)})),n},rn=function(t){var e=t===je,n=Be(e?He:V(t)),r=[];return _e(n,(function(t){!U(qe,t)||e&&!U(je,t)||r.push(qe[t])})),r};if(Zt||(Le=function(){if(this instanceof Le)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=st(t),n=function(t){this===je&&n.call(He,t),U(this,Ce)&&U(this[Ce],e)&&(this[Ce][e]=!1),Je(this,e,N(1,t))};return r&&Ze&&Je(je,e,{configurable:!0,set:n}),Ge(e,t)},bt(Le[Ie],"toString",(function(){return Re(this).tag})),bt(Le,"withoutSetter",(function(t){return Ge(st(t),t)})),P.f=tn,S.f=Ke,z.f=en,Lt.f=ce.f=nn,Dt.f=rn,me.f=function(t){return Ge(pe(t),t)},r&&(Ve(Le[Ie],"description",{configurable:!0,get:function(){return Re(this).description}}),bt(je,"propertyIsEnumerable",tn,{unsafe:!0}))),$t({global:!0,wrap:!0,forced:!Zt,sham:!Zt},{Symbol:Le}),_e(Kt(Ye),(function(t){ye(t)})),$t({target:Me,stat:!0,forced:!Zt},{for:function(t){var e=String(t);if(U(ze,e))return ze[e];var symbol=Le(e);return ze[e]=symbol,We[symbol]=e,symbol},keyFor:function(t){if(!Xe(t))throw TypeError(t+" is not a symbol");if(U(We,t))return We[t]},useSetter:function(){Ze=!0},useSimple:function(){Ze=!1}}),$t({target:"Object",stat:!0,forced:!Zt,sham:!r},{create:function(t,e){return void 0===e?se(t):Qe(se(t),e)},defineProperty:Ke,defineProperties:Qe,getOwnPropertyDescriptor:en}),$t({target:"Object",stat:!0,forced:!Zt},{getOwnPropertyNames:nn,getOwnPropertySymbols:rn}),$t({target:"Object",stat:!0,forced:n((function(){Dt.f(1)}))},{getOwnPropertySymbols:function(t){return Dt.f(Xt(t))}}),De){var on=!Zt||n((function(){var symbol=Le();return"[null]"!=De([symbol])||"{}"!=De({a:symbol})||"{}"!=De(Object(symbol))}));$t({target:"JSON",stat:!0,forced:on},{stringify:function(t,e,n){for(var r,o=[t],l=1;arguments.length>l;)o.push(arguments[l++]);if(r=e,(f(e)||void 0!==t)&&!Xe(t))return Gt(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Xe(e))return e}),o[1]=e,De.apply(null,o)}})}Le[Ie][Pe]||W(Le[Ie],Pe,Le[Ie].valueOf),we(Le,Me),lt[Ce]=!0;var sn,an,un=kt("navigator","userAgent")||"",ln=h.process,cn=ln&&ln.versions,hn=cn&&cn.v8;hn?an=(sn=hn.split("."))[0]+sn[1]:un&&(!(sn=un.match(/Edge\/(\d+)/))||sn[1]>=74)&&(sn=un.match(/Chrome\/(\d+)/))&&(an=sn[1]);var fn=an&&+an,dn=pe("species"),pn=function(t){return fn>=51||!n((function(){var e=[];return(e.constructor={})[dn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},mn=Object.defineProperty,gn={},yn=function(t){throw t},vn=function(t,e){if(U(gn,t))return gn[t];e||(e={});var o=[][t],l=!!U(e,"ACCESSORS")&&e.ACCESSORS,c=U(e,0)?e[0]:yn,h=U(e,1)?e[1]:void 0;return gn[t]=!!o&&!n((function(){if(l&&!r)return!0;var t={length:-1};l?mn(t,1,{enumerable:!0,get:yn}):t[1]=1,o.call(t,c,h)}))},bn=Ae.filter,wn=pn("filter"),kn=vn("filter");$t({target:"Array",proto:!0,forced:!wn||!kn},{filter:function(t){return bn(this,t,arguments.length>1?arguments[1]:void 0)}});var Tn=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}
2,Sn=Ae.forEach,En=Tn("forEach"),xn=vn("forEach"),On=En&&xn?[].forEach:function(t){return Sn(this,t,arguments.length>1?arguments[1]:void 0)};$t({target:"Array",proto:!0,forced:[].forEach!=On},{forEach:On});var An=z.f,_n=n((function(){An(1)}));$t({target:"Object",stat:!0,forced:!r||_n,sham:!r},{getOwnPropertyDescriptor:function(t,e){return An(V(t),e)}});var Cn=function(object,t,e){var n=k(t);n in object?S.f(object,n,N(0,e)):object[n]=e};$t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(object){for(var t,e,n=V(object),r=z.f,o=Ft(n),l={},c=0;o.length>c;)void 0!==(e=r(n,t=o[c++]))&&Cn(l,t,e);return l}});var Mn=n((function(){Kt(1)}));$t({target:"Object",stat:!0,forced:Mn},{keys:function(t){return Kt(Xt(t))}});var In={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};for(var Pn in In){var Nn=h[Pn],Rn=Nn&&Nn.prototype;if(Rn&&Rn.forEach!==On)try{W(Rn,"forEach",On)}catch(t){Rn.forEach=On}}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var Dn=S.f,Fn=h.Symbol;if(r&&"function"==typeof Fn&&(!("description"in Fn.prototype)||void 0!==Fn().description)){var Vn={},Bn=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Bn?new Fn(t):void 0===t?Fn():Fn(t);return""===t&&(Vn[e]=!0),e};Vt(Bn,Fn);var Un=Bn.prototype=Fn.prototype;Un.constructor=Bn;var qn=Un.toString,Hn="Symbol(test)"==String(Fn("test")),zn=/^Symbol\((.*)\)[^)]+$/;Dn(Un,"description",{configurable:!0,get:function(){var symbol=f(this)?this.valueOf():this,t=qn.call(symbol);if(U(Vn,symbol))return"";var desc=Hn?t.slice(7,-1):t.replace(zn,"$1");return""===desc?void 0:desc}}),$t({global:!0,forced:!0},{Symbol:Bn})}ye("iterator");var Wn=pe("isConcatSpreadable"),Yn=9007199254740991,$n="Maximum allowed index exceeded",Zn=fn>=51||!n((function(){var t=[];return t[Wn]=!1,t.concat()[0]!==t})),Jn=pn("concat"),Gn=function(t){if(!f(t))return!1;var e=t[Wn];return void 0!==e?!!e:Gt(t)};$t({target:"Array",proto:!0,forced:!Zn||!Jn},{concat:function(t){var i,e,n,r,o,l=Xt(this),c=Ee(l,0),h=0;for(i=-1,n=arguments.length;i<n;i++)if(Gn(o=-1===i?l:arguments[i])){if(h+(r=Ot(o.length))>Yn)throw TypeError($n);for(e=0;e<r;e++,h++)e in o&&Cn(c,h,o[e])}else{if(h>=Yn)throw TypeError($n);Cn(c,h++,o)}return c.length=h,c}});var Xn=Ae.every,Kn=Tn("every"),Qn=vn("every");$t({target:"Array",proto:!0,forced:!Kn||!Qn},{every:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}});var ti=pe("unscopables"),ei=Array.prototype;null==ei[ti]&&S.f(ei,ti,{configurable:!0,value:se(null)});var ni=function(t){ei[ti][t]=!0},ii=Ae.find,ri="find",oi=!0,si=vn(ri);ri in[]&&Array(1)[ri]((function(){oi=!1})),$t({target:"Array",proto:!0,forced:oi||!si},{find:function(t){return ii(this,t,arguments.length>1?arguments[1]:void 0)}}),ni(ri);var ai=Ae.findIndex,ui="findIndex",ci=!0,hi=vn(ui);ui in[]&&Array(1)[ui]((function(){ci=!1})),$t({target:"Array",proto:!0,forced:ci||!hi},{findIndex:function(t){return ai(this,t,arguments.length>1?arguments[1]:void 0)}}),ni(ui);var fi=function(t,e,n,r){try{return r?e(w(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&w(o.call(t)),e}},di={},pi=pe("iterator"),mi=Array.prototype,gi=function(t){return void 0!==t&&(di.Array===t||mi[pi]===t)},yi={};yi[pe("toStringTag")]="z";var vi="[object z]"===String(yi),bi=pe("toStringTag"),wi="Arguments"==j(function(){return arguments}()),ki=vi?j:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}
vendor: 9,813 bytes, line 2
2(e=Object(t),bi))?n:wi?j(e):"Object"==(r=j(e))&&"function"==typeof e.callee?"Arguments":r},Ti=pe("iterator"),Si=function(t){if(null!=t)return t[Ti]||t["@@iterator"]||di[ki(t)]},Ei=function(t){var e,n,r,o,l,c,h=Xt(t),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,y=void 0!==m,v=Si(h),w=0;if(y&&(m=Te(m,d>2?arguments[2]:void 0,2)),null==v||f==Array&&gi(v))for(n=new f(e=Ot(h.length));e>w;w++)c=y?m(h[w],w):h[w],Cn(n,w,c);else for(l=(o=v.call(h)).next,n=new f;!(r=l.call(o)).done;w++)c=y?fi(o,m,[r.value,w],!0):r.value,Cn(n,w,c);return n.length=w,n},xi=pe("iterator"),Oi=!1;try{var Ai=0,_i={next:function(){return{done:!!Ai++}},return:function(){Oi=!0}};_i[xi]=function(){return this},Array.from(_i,(function(){throw 2}))}catch(t){}var Ci=function(t,e){if(!e&&!Oi)return!1;var n=!1;try{var object={};object[xi]=function(){return{next:function(){return{done:n=!0}}}},t(object)}catch(t){}return n},Mi=!Ci((function(t){Array.from(t)}));$t({target:"Array",stat:!0,forced:Mi},{from:Ei});var Ii=It.includes,Pi=vn("indexOf",{ACCESSORS:!0,1:0});$t({target:"Array",proto:!0,forced:!Pi},{includes:function(t){return Ii(this,t,arguments.length>1?arguments[1]:void 0)}}),ni("includes");var Ni=It.indexOf,Ri=[].indexOf,ji=!!Ri&&1/[1].indexOf(1,-0)<0,Li=Tn("indexOf"),Di=vn("indexOf",{ACCESSORS:!0,1:0});$t({target:"Array",proto:!0,forced:ji||!Li||!Di},{indexOf:function(t){return ji?Ri.apply(this,arguments)||0:Ni(this,t,arguments.length>1?arguments[1]:void 0)}});var Fi=[].join,Vi=D!=Object,Bi=Tn("join",",");$t({target:"Array",proto:!0,forced:Vi||!Bi},{join:function(t){return Fi.call(V(this),void 0===t?",":t)}});var Ui=Math.min,qi=[].lastIndexOf,Hi=!!qi&&1/[1].lastIndexOf(1,-0)<0,zi=Tn("lastIndexOf"),Wi=vn("indexOf",{ACCESSORS:!0,1:0}),Yi=Hi||!zi||!Wi?function(t){if(Hi)return qi.apply(this,arguments)||0;var e=V(this),n=Ot(e.length),r=n-1;for(arguments.length>1&&(r=Ui(r,Et(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}:qi;$t({target:"Array",proto:!0,forced:Yi!==[].lastIndexOf},{lastIndexOf:Yi});var $i=Ae.map,Zi=pn("map"),Ji=vn("map");$t({target:"Array",proto:!0,forced:!Zi||!Ji},{map:function(t){return $i(this,t,arguments.length>1?arguments[1]:void 0)}});var Gi=function(t){return function(e,n,r,o){ke(n);var l=Xt(e),c=D(l),h=Ot(l.length),f=t?h-1:0,i=t?-1:1;if(r<2)for(;;){if(f in c){o=c[f],f+=i;break}if(f+=i,t?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:h>f;f+=i)f in c&&(o=n(o,c[f],f,l));return o}},Xi={left:Gi(!1),right:Gi(!0)}.left,Ki=Tn("reduce"),Qi=vn("reduce",{1:0});$t({target:"Array",proto:!0,forced:!Ki||!Qi},{reduce:function(t){return Xi(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var er=pn("slice"),nr=vn("slice",{ACCESSORS:!0,0:0,1:2}),ir=pe("species"),rr=[].slice,or=Math.max;$t({target:"Array",proto:!0,forced:!er||!nr},{slice:function(t,e){var n,r,o,l=V(this),c=Ot(l.length),h=Ct(t,c),d=Ct(void 0===e?c:e,c);if(Gt(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!Gt(n.prototype)?f(n)&&null===(n=n[ir])&&(n=void 0):n=void 0,n===Array||void 0===n))return rr.call(l,h,d);for(r=new(void 0===n?Array:n)(or(d-h,0)),o=0;h<d;h++,o++)h in l&&Cn(r,o,l[h]);return r.length=o,r}});var sr=Ae.some,ar=Tn("some"),ur=vn("some");$t({target:"Array",proto:!0,forced:!ar||!ur},{some:function(t){return sr(this,t,arguments.length>1?arguments[1]:void 0)}});var lr=pn("splice"),cr=vn("splice",{ACCESSORS:!0,0:0,1:2}),fr=Math.max,dr=Math.min;$t({target:"Array",proto:!0,forced:!lr||!cr},{splice:function(t,e){var n,r,o,l,c,h,f=Xt(this),d=Ot(f.length),m=Ct(t,d),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=d-m):(n=y-2,r=dr(fr(Et(e),0),d-m)),d+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Ee(f,r),l=0;l<r;l++)(c=m+l)in f&&Cn(o,l,f[c]);if(o.length=r,n<r){for(l=m;l<d-r;l++)h=l+n,(c=l+r)in f?f[h]=f[c]:delete f[h];for(l=d;l>d-r+n;l--)delete f[l-1]}else if(n>r)for(l=d-r;l>m;l--)h=l+n-1,(c=l+r-1)in f?f[h]=f[c]:delete f[h];for(l=0;l<n;l++)f[l+m]=arguments[l+2];return f.length=d-r+n,o}}),$t({global:!0},{globalThis:h});var pr=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1};$t({target:"Math",stat:!0},{sign:pr});var mr=Math.ceil,gr=Math.floor;$t({target:"Math",stat:!0},{trunc:function(t){return(t>0?gr:mr)(t)}});var yr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return w(n),function(t){if(!f(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),vr=function(t,e,n){var r,o;return yr&&"function"==typeof(r=e.constructor)&&r!==n&&f(o=r.prototype)&&o!==n.prototype&&yr(t,o),t},wr="\t\n\v\f\r                 \u2028\u2029\ufeff",kr="["+wr+"]",Tr=RegExp("^"+kr+kr+"*"),Sr=RegExp(kr+kr+"*$"),Er=function(t){return function(e){var n=String(F(e));return 1&t&&(n=n.replace(Tr,"")),2&t&&(n=n.replace(Sr,"")),n}},xr={start:Er(1),end:Er(2),trim:Er(3)},Or=Lt.f,Ar=z.f,_r=S.f,Cr=xr.trim,Mr="Number",Ir=h[Mr],Pr=Ir.prototype,Nr=j(se(Pr))==Mr,Rr=function(t){var e,n,r,o,l,c,h,code,f=k(t,!1);if("string"==typeof f&&f.length>2)if(43===(e=(f=Cr(f)).charCodeAt(0))||45===e){if(88===(n=f.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(c=(l=f.slice(2)).length,h=0;h<c;h++)if((code=l.charCodeAt(h))<48||code>o)return NaN;return parseInt(l,r)}return+f};if(Wt(Mr,!Ir(" 0o1")||!Ir("0b1")||Ir("+0x1"))){for(var jr,Lr=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof Lr&&(Nr?n((function(){Pr.valueOf.call(r)})):j(r)!=Mr)?vr(new Ir(Rr(e)),r,Lr):Rr(e)},Dr=r?Or(Ir):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Fr=0;Dr.length>Fr;Fr++)U(Ir,jr=Dr[Fr])&&!U(Lr,jr)&&_r(Lr,jr,Ar(Ir,jr));Lr.prototype=Pr,Pr.constructor=Lr,bt(h,Mr,Lr)}$t({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Vr="".repeat||function(t){var e=String(F(this)),n="",r=Et(t);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n},Br=1..toFixed,Ur=Math.floor,qr=function(t,e,n){return 0===e?n:e%2==1?qr(t,e-1,n*t):qr(t*t,e/2,n)},Hr=Br&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n((function(){Br.call({})}));$t({target:"Number",proto:!0,forced:Hr},{toFixed:function(t){var e,n,r,o,l=function(t){if("number"!=typeof t&&"Number"!=j(t))throw TypeError("Incorrect invocation");return+t}(this),c=Et(t),data=[0,0,0,0,0,0],h="",f="0",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*data[n],data[n]=r%1e7,r=Ur(r/1e7)},m=function(t){for(var e=6,n=0;--e>=0;)n+=data[e],data[e]=Ur(n/t),n=n%t*1e7},y=function(){for(var t=6,s="";--t>=0;)if(""!==s||0===t||0!==data[t]){var e=String(data[t]);s=""===s?e:s+Vr.call("0",7-e.length)+e}return s};if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*qr(2,69,1))-69)<0?l*qr(2,-e,1):l/qr(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(qr(10,r,1),0),r=e-1;r>=23;)m(1<<23),r-=23;m(1<<r),d(1,1),m(2),f=y()}else d(0,n),d(1<<-e,0),f=y()+Vr.call("0",c);return f=c>0?h+((o=f.length)<=c?"0."+Vr.call("0",c-o)+f:f.slice(0,o-c)+"."+f.slice(o-c)):h+f}});var zr=P.f,Wr=function(t){return function(e){for(var n,o=V(e),l=Kt(o),c=l.length,i=0,h=[];c>i;)n=l[i++],r&&!zr.call(o,n)||h.push(t?[n,o[n]]:o[n]);return h}},Yr={entries:Wr(!0),values:Wr(!1)},$r=Yr.entries;$t({target:"Object",stat:!0},{entries:function(t){return $r(t)}});var Zr=vi?{}.toString:function(){return"[object "+ki(this)+"]"};vi||bt(Object.prototype,"toString",Zr,{unsafe:!0});var Jr=Yr.values;$t({target:"Object",stat:!0},{values:function(t){return Jr(t)}});var Gr=pe("match"),Xr=function(t){var e;return f(t)&&(void 0!==(e=t[Gr])?!!e:"RegExp"==j(t))},Kr=function(){var t=w(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Qr(s,t){return RegExp(s,t)}var to={UNSUPPORTED_Y:n((function(){var t=Qr("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:n((function(){var t=Qr("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},eo=pe("species"),no=S.f,io=Lt.f,ro=vt.set,oo=pe("match"),so=h.RegExp,ao=so.prototype,uo=/a/g,lo=/a/g,co=new so(uo)!==uo,ho=to.UNSUPPORTED_Y;if(r&&Wt("RegExp",!co||ho||n((function(){return lo[oo]=!1,so(uo)!=uo||so(lo)==lo||"/a/i"!=so(uo,"i")})))){for(var fo=function(pattern,t){var e,n=this instanceof fo,r=Xr(pattern),o=void 0===t;if(!n&&r&&pattern.constructor===fo&&o)return pattern;co?r&&!o&&(pattern=pattern.source):pattern instanceof fo&&(o&&(t=Kr.call(pattern)),pattern=pattern.source),ho&&(e=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var l=vr(co?new so(pattern,t):so(pattern,t),n?this:ao,fo);return ho&&e&&ro(l,{sticky:e}),l},po=function(t){t in fo||no(fo,t,{configurable:!0,get:function(){return so[t]},set:function(e){so[t]=e}})},mo=io(so),go=0;mo.length>go;)po(mo[go++]);ao.constructor=fo,fo.prototype=ao,bt(h,"RegExp",fo)}!function(t){var e=kt(t),n=S.f;r&&e&&!e[eo]&&n(e,eo,{configurable:!0,get:function(){return this}})}("RegExp");var yo=RegExp.prototype.exec,vo=String.prototype.replace,bo=yo,wo=function(){var t=/a/,e=/b*/g;return yo.call(t,"a"),yo.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),ko=to.UNSUPPORTED_Y||to.BROKEN_CARET,To=void 0!==/()??/.exec("")[1];
vendor: 4,180 bytes, line 2
2(wo||To||ko)&&(bo=function(t){var e,n,r,i,o=this,l=ko&&o.sticky,c=Kr.call(o),source=o.source,h=0,f=t;return l&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),f=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(source="(?: "+source+")",f=" "+f,h++),n=new RegExp("^(?:"+source+")",c)),To&&(n=new RegExp("^"+source+"$(?!\\s)",c)),wo&&(e=o.lastIndex),r=yo.call(l?n:o,f),l?r?(r.input=r.input.slice(h),r[0]=r[0].slice(h),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:wo&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),To&&r&&r.length>1&&vo.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var So=bo;$t({target:"RegExp",proto:!0,forced:/./.exec!==So},{exec:So});var Eo="toString",xo=RegExp.prototype,Oo=xo[Eo],Ao=n((function(){return"/a/b"!=Oo.call({source:"a",flags:"b"})})),_o=Oo.name!=Eo;(Ao||_o)&&bt(RegExp.prototype,Eo,(function(){var t=w(this),p=String(t.source),e=t.flags;return"/"+p+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in xo)?Kr.call(t):e)}),{unsafe:!0});var Co=function(t){if(Xr(t))throw TypeError("The method doesn't accept regular expressions");return t},Mo=pe("match"),Io=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[Mo]=!1,"/./"[t](e)}catch(t){}}return!1};$t({target:"String",proto:!0,forced:!Io("includes")},{includes:function(t){return!!~String(F(this)).indexOf(Co(t),arguments.length>1?arguments[1]:void 0)}});var Po,No,Ro,jo=function(t){return function(e,n){var r,o,l=String(F(e)),c=Et(n),h=l.length;return c<0||c>=h?t?"":void 0:(r=l.charCodeAt(c))<55296||r>56319||c+1===h||(o=l.charCodeAt(c+1))<56320||o>57343?t?l.charAt(c):r:t?l.slice(c,c+2):o-56320+(r-55296<<10)+65536}},Lo={codeAt:jo(!1),charAt:jo(!0)},Do=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Fo=ut("IE_PROTO"),Vo=Object.prototype,Bo=Do?Object.getPrototypeOf:function(t){return t=Xt(t),U(t,Fo)?t[Fo]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Vo:null},Uo=pe("iterator"),qo=!1;[].keys&&("next"in(Ro=[].keys())?(No=Bo(Bo(Ro)))!==Object.prototype&&(Po=No):qo=!0),null==Po&&(Po={}),U(Po,Uo)||W(Po,Uo,(function(){return this}));var Ho={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:qo},zo=Ho.IteratorPrototype,Wo=function(){return this},Yo=function(t,e,n){var r=e+" Iterator";return t.prototype=se(zo,{next:N(1,n)}),we(t,r,!1),di[r]=Wo,t},$o=Ho.IteratorPrototype,Zo=Ho.BUGGY_SAFARI_ITERATORS,Jo=pe("iterator"),Go="keys",Xo="values",Ko="entries",Qo=function(){return this},ts=function(t,e,n,r,o,l,c){Yo(n,e,r);var h,f,d,m=function(t){if(t===o&&T)return T;if(!Zo&&t in w)return w[t];switch(t){case Go:case Xo:case Ko:return function(){return new n(this,t)}}return function(){return new n(this)}},y=e+" Iterator",v=!1,w=t.prototype,k=w[Jo]||w["@@iterator"]||o&&w[o],T=!Zo&&k||m(o),S="Array"==e&&w.entries||k;if(S&&(h=Bo(S.call(new t)),$o!==Object.prototype&&h.next&&(Bo(h)!==$o&&(yr?yr(h,$o):"function"!=typeof h[Jo]&&W(h,Jo,Qo)),we(h,y,!0))),o==Xo&&k&&k.name!==Xo&&(v=!0,T=function(){return k.call(this)}),w[Jo]!==T&&W(w,Jo,T),di[e]=T,o)if(f={values:m(Xo),keys:l?T:m(Go),entries:m(Ko)},c)for(d in f)(Zo||v||!(d in w))&&bt(w,d,f[d]);else $t({target:e,proto:!0,forced:Zo||v},f);return f},es=Lo.charAt,ns="String Iterator",is=vt.set,rs=vt.getterFor(ns);ts(String,"String",(function(t){is(this,{type:ns,string:String(t),index:0})}),(function(){var t,e=rs(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=es(n,r),e.index+=t.length,{value:t,done:!1})}));var os=pe("species"),ss=!n((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),as="$0"==="a".replace(/./,"$0"),us=pe("replace"),ls=!!/./[us]&&""===/./[us]("a","$0"),cs=!n((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),hs=function(t,e,r,o){var l=pe(t),c=!n((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),h=c&&!n((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={}
vendor: 4,116 bytes, line 2
2,n.constructor[os]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!c||!h||"replace"===t&&(!ss||!as||ls)||"split"===t&&!cs){var f=/./[l],d=r(l,""[t],(function(t,e,n,r,o){return e.exec===So?c&&!o?{done:!0,value:f.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:as,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ls}),m=d[0],y=d[1];bt(String.prototype,t,m),bt(RegExp.prototype,l,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}o&&W(RegExp.prototype[l],"sham",!0)},fs=Lo.charAt,ds=function(t,e,n){return e+(n?fs(t,e).length:1)},ps=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==j(t))throw TypeError("RegExp#exec called on incompatible receiver");return So.call(t,e)};hs("match",1,(function(t,e,n){return[function(e){var n=F(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=w(t),l=String(this);if(!o.global)return ps(o,l);var c=o.unicode;o.lastIndex=0;for(var h,f=[],d=0;null!==(h=ps(o,l));){var m=String(h[0]);f[d]=m,""===m&&(o.lastIndex=ds(l,Ot(o.lastIndex),c)),d++}return 0===d?null:f}]}));var ms=Math.max,gs=Math.min,ys=Math.floor,vs=/\$([$&'`]|\d\d?|<[^>]*>)/g,bs=/\$([$&'`]|\d\d?)/g;hs("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,l=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=F(this),l=null==n?void 0:n[t];return void 0!==l?l.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&l||"string"==typeof r&&-1===r.indexOf(c)){var f=n(e,t,this,r);if(f.done)return f.value}var d=w(t),m=String(this),y="function"==typeof r;y||(r=String(r));var v=d.global;if(v){var k=d.unicode;d.lastIndex=0}for(var T=[];;){var S=ps(d,m);if(null===S)break;if(T.push(S),!v)break;""===String(S[0])&&(d.lastIndex=ds(m,Ot(d.lastIndex),k))}for(var E,x="",O=0,i=0;i<T.length;i++){S=T[i];for(var A=String(S[0]),_=ms(gs(Et(S.index),m.length),0),C=[],M=1;M<S.length;M++)C.push(void 0===(E=S[M])?E:String(E));var I=S.groups;if(y){var P=[A].concat(C,_,m);void 0!==I&&P.push(I);var N=String(r.apply(void 0,P))}else N=h(A,m,_,C,I,r);_>=O&&(x+=m.slice(O,_)+N,O=_+A.length)}return x+m.slice(O)}];function h(t,n,r,o,l,c){var h=r+t.length,f=o.length,d=bs;return void 0!==l&&(l=Xt(l),d=vs),e.call(c,d,(function(e,c){var d;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(h);case"<":d=l[c.slice(1,-1)];break;default:var m=+c;if(0===m)return e;if(m>f){var y=ys(m/10);return 0===y?e:y<=f?void 0===o[y-1]?c.charAt(1):o[y-1]+c.charAt(1):e}d=o[m-1]}return void 0===d?"":d}))}}));var ws=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};hs("search",1,(function(t,e,n){return[function(e){var n=F(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=w(t),l=String(this),c=o.lastIndex;ws(c,0)||(o.lastIndex=0);var h=ps(o,l);return ws(o.lastIndex,c)||(o.lastIndex=c),null===h?-1:h.index}]}));var ks=pe("species"),Ts=[].push,Ss=Math.min,Es=4294967295,xs=!n((function(){return!RegExp(Es,"y")}));hs("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(F(this)),o=void 0===n?Es:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Xr(t))return e.call(r,t,o);for(var l,c,h,output=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,m=new RegExp(t.source,f+"g");(l=So.call(m,r))&&!((c=m.lastIndex)>d&&(output.push(r.slice(d,l.index)),l.length>1&&l.index<r.length&&Ts.apply(output,l.slice(1)),h=l[0].length,d=c,output.length>=o));)m.lastIndex===l.index&&m.lastIndex++;return d===r.length?!h&&m.test("")||output.push(""):output.push(r.slice(d)),output.length>
vendor: 5,521 bytes, line 2
2o?output.slice(0,o):output}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=F(this),l=null==e?void 0:e[t];return void 0!==l?l.call(e,o,n):r.call(String(o),e,n)},function(t,o){var l=n(r,t,this,o,r!==e);if(l.done)return l.value;var c=w(t),h=String(this),f=function(t,e){var n,r=w(t).constructor;return void 0===r||null==(n=w(r)[ks])?e:ke(n)}(c,RegExp),d=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(xs?"y":"g"),y=new f(xs?c:"^(?:"+c.source+")",m),v=void 0===o?Es:o>>>0;if(0===v)return[];if(0===h.length)return null===ps(y,h)?[h]:[];for(var p=0,q=0,k=[];q<h.length;){y.lastIndex=xs?q:0;var T,S=ps(y,xs?h:h.slice(q));if(null===S||(T=Ss(Ot(y.lastIndex+(xs?0:q)),h.length))===p)q=ds(h,q,d);else{if(k.push(h.slice(p,q)),k.length===v)return k;for(var i=1;i<=S.length-1;i++)if(k.push(S[i]),k.length===v)return k;q=p=T}}return k.push(h.slice(p)),k}]}),!xs);var Os,As=z.f,_s="".startsWith,Cs=Math.min,Ms=Io("startsWith"),Is=!(Ms||(Os=As(String.prototype,"startsWith"),!Os||Os.writable));$t({target:"String",proto:!0,forced:!Is&&!Ms},{startsWith:function(t){var e=String(F(this));Co(t);var n=Ot(Cs(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return _s?_s.call(e,r,n):e.slice(n,n+r.length)===r}});var Ps=xr.trim;$t({target:"String",proto:!0,forced:function(t){return n((function(){return!!wr[t]()||"​…᠎"!="​…᠎"[t]()||wr[t].name!==t}))}("trim")},{trim:function(){return Ps(this)}});var Ns=function(t,e,n){for(var r in e)bt(t,r,e[r],n);return t},Rs=!n((function(){return Object.isExtensible(Object.preventExtensions({}))})),js=l((function(t){var e=S.f,n=st("meta"),r=0,o=Object.isExtensible||function(){return!0},l=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},meta=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!f(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!U(t,n)){if(!o(t))return"F";if(!e)return"E";l(t)}return t[n].objectID},getWeakData:function(t,e){if(!U(t,n)){if(!o(t))return!0;if(!e)return!1;l(t)}return t[n].weakData},onFreeze:function(t){return Rs&&meta.REQUIRED&&o(t)&&!U(t,n)&&l(t),t}};lt[n]=!0})),Ls=l((function(t){var e=function(t,e){this.stopped=t,this.result=e},n=t.exports=function(t,n,r,o,l){var c,h,f,d,m,y,v,k=Te(n,r,o?2:1);if(l)c=t;else{if("function"!=typeof(h=Si(t)))throw TypeError("Target is not iterable");if(gi(h)){for(f=0,d=Ot(t.length);d>f;f++)if((m=o?k(w(v=t[f])[0],v[1]):k(t[f]))&&m instanceof e)return m;return new e(!1)}c=h.call(t)}for(y=c.next;!(v=y.call(c)).done;)if("object"==typeof(m=fi(c,k,v.value,o))&&m&&m instanceof e)return m;return new e(!1)};n.stop=function(t){return new e(!0,t)}})),Ds=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Fs=js.getWeakData,Vs=vt.set,Bs=vt.getterFor,Us=Ae.find,qs=Ae.findIndex,Hs=0,zs=function(t){return t.frozen||(t.frozen=new Ws)},Ws=function(){this.entries=[]},Ys=function(t,e){return Us(t.entries,(function(t){return t[0]===e}))};Ws.prototype={get:function(t){var e=Ys(this,t);if(e)return e[1]},has:function(t){return!!Ys(this,t)},set:function(t,e){var n=Ys(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=qs(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}};var $s={getConstructor:function(t,e,n,r){var o=t((function(t,l){Ds(t,o,e),Vs(t,{type:e,id:Hs++,frozen:void 0}),null!=l&&Ls(l,t[r],t,n)})),l=Bs(e),c=function(t,e,n){var r=l(t),data=Fs(w(e),!0);return!0===data?zs(r).set(e,n):data[r.id]=n,t};return Ns(o.prototype,{delete:function(t){var e=l(this);if(!f(t))return!1;var data=Fs(t);return!0===data?zs(e).delete(t):data&&U(data,e.id)&&delete data[e.id]},has:function(t){var e=l(this);if(!f(t))return!1;var data=Fs(t);return!0===data?zs(e).has(t):data&&U(data,e.id)}}),Ns(o.prototype,n?{get:function(t){var e=l(this);if(f(t)){var data=Fs(t);return!0===data?zs(e).get(t):data?data[e.id]:void 0}},set:function(t,e){return c(this,t,e)}}:{add:function(t){return c(this,t,!0)}}),o}},Zs=(l((function(t){var e,r=vt.enforce,o=!h.ActiveXObject&&"ActiveXObject"in h,l=Object.isExtensible,c=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=function(t,e,r){var o=-1!==t.indexOf("Map"),l=-1!==t.indexOf("Weak"),c=o?"set":"add",d=h[t],m=d&&d.prototype,y=d,v={},w=function(t){var e=m[t];bt(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(l&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return l&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(l&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Wt(t,"function"!=typeof d||!(l||m.forEach&&!n((function(){(new d).entries().next()})))))y=r.getConstructor(e,t,o,c),js.REQUIRED=!0;else if(Wt(t,!0)){var k=new y,T=k[c](l?{}:-0,1)!=k,S=n((function(){k.has(1)})),E=Ci((function(t){new d(t)})),x=!l&&n((function(){for(var t=new d,e=5;e--;)t[c](e,e);return!t.has(-0)}));E||((y=e((function(e,n){Ds(e,y,t);var r=vr(new d,e,y);return null!=n&&Ls(n,r[c],r,o),r}))).prototype=m,m.constructor=y),(S||x)&&(w("delete"),w("has"),o&&w("get")),(x||T)&&w(c),l&&m.clear&&delete m.clear}return v[t]=y,$t({global:!0,forced:y!=d},v),we(y,t),l||r.setStrong(y,t,o),y}("WeakMap",c,$s);if(et&&o){e=$s.getConstructor(c,"WeakMap",!0),js.REQUIRED=!0;var m=d.prototype,y=m.delete,v=m.has,w=m.get,k=m.set;Ns(m,{delete:function(t){if(f(t)&&!l(t)){var n=r(this);return n.frozen||(n.frozen=new e),y.call(this,t)||n.frozen.delete(t)}
vendor: 4,747 bytes, line 2
2return y.call(this,t)},has:function(t){if(f(t)&&!l(t)){var n=r(this);return n.frozen||(n.frozen=new e),v.call(this,t)||n.frozen.has(t)}return v.call(this,t)},get:function(t){if(f(t)&&!l(t)){var n=r(this);return n.frozen||(n.frozen=new e),v.call(this,t)?w.call(this,t):n.frozen.get(t)}return w.call(this,t)},set:function(t,n){if(f(t)&&!l(t)){var o=r(this);o.frozen||(o.frozen=new e),v.call(this,t)?k.call(this,t,n):o.frozen.set(t,n)}else k.call(this,t,n);return this}})}})),"Array Iterator"),Js=vt.set,Gs=vt.getterFor(Zs),Xs=ts(Array,"Array",(function(t,e){Js(this,{type:Zs,target:V(t),index:0,kind:e})}),(function(){var t=Gs(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");di.Arguments=di.Array,ni("keys"),ni("values"),ni("entries");var Ks=pe("iterator"),Qs=pe("toStringTag"),ta=Xs.values;for(var ea in In){var na=h[ea],ia=na&&na.prototype;if(ia){if(ia[Ks]!==ta)try{W(ia,Ks,ta)}catch(t){ia[Ks]=ta}if(ia[Qs]||W(ia,Qs,ea),In[ea])for(var ra in Xs)if(ia[ra]!==Xs[ra])try{W(ia,ra,Xs[ra])}catch(t){ia[ra]=Xs[ra]}}}var oa=pe("iterator"),sa=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[oa]||"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})),aa=Object.assign,ua=Object.defineProperty,la=!aa||n((function(){if(r&&1!==aa({b:1},aa(ua({},"a",{enumerable:!0,get:function(){ua(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},symbol=Symbol(),n="abcdefghijklmnopqrst";return t[symbol]=7,n.split("").forEach((function(t){e[t]=t})),7!=aa({},t)[symbol]||Kt(aa({},e)).join("")!=n}))?function(t,source){for(var e=Xt(t),n=arguments.length,o=1,l=Dt.f,c=P.f;n>o;)for(var h,f=D(arguments[o++]),d=l?Kt(f).concat(l(f)):Kt(f),m=d.length,y=0;m>y;)h=d[y++],r&&!c.call(f,h)||(e[h]=f[h]);return e}:aa,ca=2147483647,ha=/[^\0-\u007E]/,fa=/[.\u3002\uFF0E\uFF61]/g,da="Overflow: input needs wider integers to process",pa=Math.floor,ma=String.fromCharCode,ga=function(t){return t+22+75*(t<26)},ya=function(t,e,n){var r=0;for(t=n?pa(t/700):t>>1,t+=pa(t/e);t>455;r+=36)t=pa(t/35);return pa(r+36*t/(t+38))},va=function(input){var output=[];input=function(t){for(var output=[],e=0,n=t.length;e<n;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<n){var o=t.charCodeAt(e++);56320==(64512&o)?output.push(((1023&r)<<10)+(1023&o)+65536):(output.push(r),e--)}else output.push(r)}return output}(input);var i,t,e=input.length,n=128,r=0,o=72;for(i=0;i<input.length;i++)(t=input[i])<128&&output.push(ma(t));var l=output.length,c=l;for(l&&output.push("-");c<e;){var h=ca;for(i=0;i<input.length;i++)(t=input[i])>=n&&t<h&&(h=t);var f=c+1;if(h-n>pa((ca-r)/f))throw RangeError(da);for(r+=(h-n)*f,n=h,i=0;i<input.length;i++){if((t=input[i])<n&&++r>ca)throw RangeError(da);if(t==n){for(var q=r,d=36;;d+=36){var m=d<=o?1:d>=o+26?26:d-o;if(q<m)break;var y=q-m,v=36-m;output.push(ma(ga(m+y%v))),q=pa(y/v)}output.push(ma(ga(q))),o=ya(r,f,c==l),r=0,++c}}++r,++n}return output.join("")},ba=function(t){var e=Si(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return w(e.call(t))},wa=kt("fetch"),ka=kt("Headers"),Ta=pe("iterator"),Sa="URLSearchParams",Ea=Sa+"Iterator",xa=vt.set,Oa=vt.getterFor(Sa),Aa=vt.getterFor(Ea),_a=/\+/g,Ca=Array(4),Ma=function(t){return Ca[t-1]||(Ca[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},Ia=function(t){try{return decodeURIComponent(t)}catch(e){return t}},Pa=function(t){var e=t.replace(_a," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(Ma(n--),Ia);return e}},Na=/[!'()~]|%20/g,Ra={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ja=function(t){return Ra[t]},La=function(t){return encodeURIComponent(t).replace(Na,ja)},Da=function(t,e){if(e)for(var n,r,o=e.split("&"),l=0;l<o.length;)(n=o[l++]).length&&(r=n.split("="),t.push({key:Pa(r.shift()),value:Pa(r.join("="))}))},Fa=function(t){this.entries.length=0,Da(this.entries,t)},Va=function(t,e){if(t<e)throw TypeError("Not enough arguments")},Ba=Yo((function(t,e){xa(this,{type:Ea,iterator:ba(Oa(t).entries),kind:e})}),"Iterator",(function(){var t=Aa(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),Ua=function(){Ds(this,Ua,Sa);var t,e,n,r,o,l,c,h,d,m=arguments.length>0?arguments[0]:void 0,y=[];
vendor: 4,532 bytes, line 2
2if(xa(this,{type:Sa,entries:y,updateURL:function(){},updateSearchParams:Fa}),void 0!==m)if(f(m))if("function"==typeof(t=Si(m)))for(n=(e=t.call(m)).next;!(r=n.call(e)).done;){if((c=(l=(o=ba(w(r.value))).next).call(o)).done||(h=l.call(o)).done||!l.call(o).done)throw TypeError("Expected sequence with length 2");y.push({key:c.value+"",value:h.value+""})}else for(d in m)U(m,d)&&y.push({key:d,value:m[d]+""});else Da(y,"string"==typeof m?"?"===m.charAt(0)?m.slice(1):m:m+"")},qa=Ua.prototype;Ns(qa,{append:function(t,e){Va(arguments.length,2);var n=Oa(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){Va(arguments.length,1);for(var e=Oa(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){Va(arguments.length,1);for(var e=Oa(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){Va(arguments.length,1);for(var e=Oa(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){Va(arguments.length,1);for(var e=Oa(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){Va(arguments.length,1);for(var n,r=Oa(this),o=r.entries,l=!1,c=t+"",h=e+"",f=0;f<o.length;f++)(n=o[f]).key===c&&(l?o.splice(f--,1):(l=!0,n.value=h));l||o.push({key:c,value:h}),r.updateURL()},sort:function(){var t,e,n,r=Oa(this),o=r.entries,l=o.slice();for(o.length=0,n=0;n<l.length;n++){for(t=l[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=Oa(this).entries,r=Te(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new Ba(this,"keys")},values:function(){return new Ba(this,"values")},entries:function(){return new Ba(this,"entries")}},{enumerable:!0}),bt(qa,Ta,qa.entries),bt(qa,"toString",(function(){for(var t,e=Oa(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(La(t.key)+"="+La(t.value));return n.join("&")}),{enumerable:!0}),we(Ua,Sa),$t({global:!0,forced:!sa},{URLSearchParams:Ua}),sa||"function"!=typeof wa||"function"!=typeof ka||$t({global:!0,enumerable:!0,forced:!0},{fetch:function(input){var t,body,e,n=[input];return arguments.length>1&&(f(t=arguments[1])&&(body=t.body,ki(body)===Sa&&((e=t.headers?new ka(t.headers):new ka).has("content-type")||e.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=se(t,{body:N(0,String(body)),headers:N(0,e)}))),n.push(t)),wa.apply(this,n)}});var Ha,za={URLSearchParams:Ua,getState:Oa},Wa=Lo.codeAt,Ya=h.URL,$a=za.URLSearchParams,Za=za.getState,Ja=vt.set,Ga=vt.getterFor("URL"),Xa=Math.floor,Ka=Math.pow,Qa="Invalid scheme",tu="Invalid host",eu="Invalid port",nu=/[A-Za-z]/,iu=/[\d+-.A-Za-z]/,ru=/\d/,ou=/^(0x|0X)/,su=/^[0-7]+$/,au=/^\d+$/,uu=/^[\dA-Fa-f]+$/,lu=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,cu=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,hu=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,fu=/[\u0009\u000A\u000D]/g,du=function(t,input){var e,n,r;if("["==input.charAt(0)){if("]"!=input.charAt(input.length-1))return tu;if(!(e=mu(input.slice(1,-1))))return tu;t.host=e}else if(Su(t)){if(input=function(input){var i,label,t=[],e=input.toLowerCase().replace(fa,".").split(".");for(i=0;i<e.length;i++)label=e[i],t.push(ha.test(label)?"xn--"+va(label):label);return t.join(".")}(input),lu.test(input))return tu;if(null===(e=pu(input)))return tu;t.host=e}else{if(cu.test(input))return tu;for(e="",n=Ei(input),r=0;r<n.length;r++)e+=ku(n[r],yu);t.host=e}},pu=function(input){var t,e,n,r,o,l,c,h=input.split(".");if(h.length&&""==h[h.length-1]&&h.pop(),(t=h.length)>4)return input;for(e=[],n=0;n<t;n++){if(""==(r=h[n]))return input;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=ou.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)l=0;else{if(!(10==o?au:8==o?su:uu).test(r))return input;l=parseInt(r,o)}e.push(l)}for(n=0;n<t;n++)if(l=e[n],n==t-1){if(l>=Ka(256,5-t))return null}else if(l>255)return null;for(c=e.pop(),n=0;n<e.length;n++)c+=e[n]*Ka(256,3-n);return c},mu=function(input){var t,e,n,r,o,l,c,address=[0,0,0,0,0,0,0,0],h=0,f=null,d=0,m=function(){return input.charAt(d)};if(":"==m()){if(":"!=input.charAt(1))return;d+=2,f=++h}for(;m();){if(8==h)return;if(":"!=m()){for(t=e=0;e<4&&uu.test(m());)t=16*t+parseInt(m(),16),d++,e++;if("."==m()){if(0==e)return;if(d-=e,h>6)return;for(n=0;m();){if(r=null,n>0){if(!("."==m()&&n<4))return;d++}if(!ru.test(m()))return;for(;ru.test(m());){if(o=parseInt(m(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;d++}
vendor: 4,097 bytes, line 2
2address[h]=256*address[h]+r,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==m()){if(d++,!m())return}else if(m())return;address[h++]=t}else{if(null!==f)return;d++,f=++h}}if(null!==f)for(l=h-f,h=7;0!=h&&l>0;)c=address[h],address[h--]=address[f+l-1],address[f+--l]=c;else if(8!=h)return;return address},gu=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=Xa(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,l=0;l<8;l++)0!==t[l]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=l),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},yu={},vu=la({},yu,{" ":1,'"':1,"<":1,">":1,"`":1}),bu=la({},vu,{"#":1,"?":1,"{":1,"}":1}),wu=la({},bu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ku=function(t,e){var code=Wa(t,0);return code>32&&code<127&&!U(e,t)?t:encodeURIComponent(t)},Tu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Su=function(t){return U(Tu,t.scheme)},Eu=function(t){return""!=t.username||""!=t.password},xu=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Ou=function(t,e){var n;return 2==t.length&&nu.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Au=function(t){var e;return t.length>1&&Ou(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},_u=function(t){var path=t.path,e=path.length;!e||"file"==t.scheme&&1==e&&Ou(path[0],!0)||path.pop()},Cu=function(t){return"."===t||"%2e"===t.toLowerCase()},Mu={},Iu={},Pu={},Nu={},Ru={},ju={},Lu={},Du={},Fu={},Vu={},Bu={},Uu={},qu={},Hu={},zu={},Wu={},Yu={},$u={},Zu={},Ju={},Gu={},Xu=function(t,input,e,base){var n,r,o,l,c,h=e||Mu,f=0,d="",m=!1,y=!1,v=!1;for(e||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,input=input.replace(hu,"")),input=input.replace(fu,""),n=Ei(input);f<=n.length;){switch(r=n[f],h){case Mu:if(!r||!nu.test(r)){if(e)return Qa;h=Pu;continue}d+=r.toLowerCase(),h=Iu;break;case Iu:if(r&&(iu.test(r)||"+"==r||"-"==r||"."==r))d+=r.toLowerCase();else{if(":"!=r){if(e)return Qa;d="",h=Pu,f=0;continue}if(e&&(Su(t)!=U(Tu,d)||"file"==d&&(Eu(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=d,e)return void(Su(t)&&Tu[t.scheme]==t.port&&(t.port=null));d="","file"==t.scheme?h=Hu:Su(t)&&base&&base.scheme==t.scheme?h=Nu:Su(t)?h=Du:"/"==n[f+1]?(h=Ru,f++):(t.cannotBeABaseURL=!0,t.path.push(""),h=Zu)}break;case Pu:if(!base||base.cannotBeABaseURL&&"#"!=r)return Qa;if(base.cannotBeABaseURL&&"#"==r){t.scheme=base.scheme,t.path=base.path.slice(),t.query=base.query,t.fragment="",t.cannotBeABaseURL=!0,h=Gu;break}h="file"==base.scheme?Hu:ju;continue;case Nu:if("/"!=r||"/"!=n[f+1]){h=ju;continue}h=Fu,f++;break;case Ru:if("/"==r){h=Vu;break}h=$u;continue;case ju:if(t.scheme=base.scheme,r==Ha)t.username=base.username,t.password=base.password,t.host=base.host,t.port=base.port,t.path=base.path.slice(),t.query=base.query;else if("/"==r||"\\"==r&&Su(t))h=Lu;else if("?"==r)t.username=base.username,t.password=base.password,t.host=base.host,t.port=base.port,t.path=base.path.slice(),t.query="",h=Ju;else{if("#"!=r){t.username=base.username,t.password=base.password,t.host=base.host,t.port=base.port,t.path=base.path.slice(),t.path.pop(),h=$u;continue}t.username=base.username,t.password=base.password,t.host=base.host,t.port=base.port,t.path=base.path.slice(),t.query=base.query,t.fragment="",h=Gu}break;case Lu:if(!Su(t)||"/"!=r&&"\\"!=r){if("/"!=r){t.username=base.username,t.password=base.password,t.host=base.host,t.port=base.port,h=$u;continue}h=Vu}else h=Fu;break;case Du:if(h=Fu,"/"!=r||"/"!=d.charAt(f+1))continue;f++;break;case Fu:if("/"!=r&&"\\"!=r){h=Vu;continue}break;case Vu:if("@"==r){m&&(d="%40"+d),m=!0,o=Ei(d);for(var i=0;i<o.length;i++){var w=o[i];if(":"!=w||v){var k=ku(w,wu);v?t.password+=k:t.username+=k}else v=!0}d=""}else if(r==Ha||"/"==r||"?"==r||"#"==r||"\\"==r&&Su(t)){if(m&&""==d)return"Invalid authority";f-=Ei(d).length+1,d="",h=Bu}else d+=r;break;
vendor: 6,504 bytes, line 2
2case Bu:case Uu:if(e&&"file"==t.scheme){h=Wu;continue}if(":"!=r||y){if(r==Ha||"/"==r||"?"==r||"#"==r||"\\"==r&&Su(t)){if(Su(t)&&""==d)return tu;if(e&&""==d&&(Eu(t)||null!==t.port))return;if(l=du(t,d))return l;if(d="",h=Yu,e)return;continue}"["==r?y=!0:"]"==r&&(y=!1),d+=r}else{if(""==d)return tu;if(l=du(t,d))return l;if(d="",h=qu,e==Uu)return}break;case qu:if(!ru.test(r)){if(r==Ha||"/"==r||"?"==r||"#"==r||"\\"==r&&Su(t)||e){if(""!=d){var T=parseInt(d,10);if(T>65535)return eu;t.port=Su(t)&&T===Tu[t.scheme]?null:T,d=""}if(e)return;h=Yu;continue}return eu}d+=r;break;case Hu:if(t.scheme="file","/"==r||"\\"==r)h=zu;else{if(!base||"file"!=base.scheme){h=$u;continue}if(r==Ha)t.host=base.host,t.path=base.path.slice(),t.query=base.query;else if("?"==r)t.host=base.host,t.path=base.path.slice(),t.query="",h=Ju;else{if("#"!=r){Au(n.slice(f).join(""))||(t.host=base.host,t.path=base.path.slice(),_u(t)),h=$u;continue}t.host=base.host,t.path=base.path.slice(),t.query=base.query,t.fragment="",h=Gu}}break;case zu:if("/"==r||"\\"==r){h=Wu;break}base&&"file"==base.scheme&&!Au(n.slice(f).join(""))&&(Ou(base.path[0],!0)?t.path.push(base.path[0]):t.host=base.host),h=$u;continue;case Wu:if(r==Ha||"/"==r||"\\"==r||"?"==r||"#"==r){if(!e&&Ou(d))h=$u;else if(""==d){if(t.host="",e)return;h=Yu}else{if(l=du(t,d))return l;if("localhost"==t.host&&(t.host=""),e)return;d="",h=Yu}continue}d+=r;break;case Yu:if(Su(t)){if(h=$u,"/"!=r&&"\\"!=r)continue}else if(e||"?"!=r)if(e||"#"!=r){if(r!=Ha&&(h=$u,"/"!=r))continue}else t.fragment="",h=Gu;else t.query="",h=Ju;break;case $u:if(r==Ha||"/"==r||"\\"==r&&Su(t)||!e&&("?"==r||"#"==r)){if(".."===(c=(c=d).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(_u(t),"/"==r||"\\"==r&&Su(t)||t.path.push("")):Cu(d)?"/"==r||"\\"==r&&Su(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Ou(d)&&(t.host&&(t.host=""),d=d.charAt(0)+":"),t.path.push(d)),d="","file"==t.scheme&&(r==Ha||"?"==r||"#"==r))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==r?(t.query="",h=Ju):"#"==r&&(t.fragment="",h=Gu)}else d+=ku(r,bu);break;case Zu:"?"==r?(t.query="",h=Ju):"#"==r?(t.fragment="",h=Gu):r!=Ha&&(t.path[0]+=ku(r,yu));break;case Ju:e||"#"!=r?r!=Ha&&("'"==r&&Su(t)?t.query+="%27":t.query+="#"==r?"%23":ku(r,yu)):(t.fragment="",h=Gu);break;case Gu:r!=Ha&&(t.fragment+=ku(r,vu))}f++}},Ku=function(t){var e,n,o=Ds(this,Ku,"URL"),base=arguments.length>1?arguments[1]:void 0,l=String(t),c=Ja(o,{type:"URL"});if(void 0!==base)if(base instanceof Ku)e=Ga(base);else if(n=Xu(e={},String(base)))throw TypeError(n);if(n=Xu(c,l,null,e))throw TypeError(n);var h=c.searchParams=new $a,f=Za(h);f.updateSearchParams(c.query),f.updateURL=function(){c.query=String(h)||null},r||(o.href=tl.call(o),o.origin=el.call(o),o.protocol=nl.call(o),o.username=il.call(o),o.password=rl.call(o),o.host=sl.call(o),o.hostname=al.call(o),o.port=ll.call(o),o.pathname=cl.call(o),o.search=hl.call(o),o.searchParams=fl.call(o),o.hash=pl.call(o))},Qu=Ku.prototype,tl=function(){var t=Ga(this),e=t.scheme,n=t.username,r=t.password,o=t.host,l=t.port,path=t.path,c=t.query,h=t.fragment,output=e+":";return null!==o?(output+="//",Eu(t)&&(output+=n+(r?":"+r:"")+"@"),output+=gu(o),null!==l&&(output+=":"+l)):"file"==e&&(output+="//"),output+=t.cannotBeABaseURL?path[0]:path.length?"/"+path.join("/"):"",null!==c&&(output+="?"+c),null!==h&&(output+="#"+h),output},el=function(){var t=Ga(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Su(t)?e+"://"+gu(t.host)+(null!==n?":"+n:""):"null"},nl=function(){return Ga(this).scheme+":"},il=function(){return Ga(this).username},rl=function(){return Ga(this).password},sl=function(){var t=Ga(this),e=t.host,n=t.port;return null===e?"":null===n?gu(e):gu(e)+":"+n},al=function(){var t=Ga(this).host;return null===t?"":gu(t)},ll=function(){var t=Ga(this).port;return null===t?"":String(t)},cl=function(){var t=Ga(this),path=t.path;return t.cannotBeABaseURL?path[0]:path.length?"/"+path.join("/"):""},hl=function(){var t=Ga(this).query;return t?"?"+t:""},fl=function(){return Ga(this).searchParams},pl=function(){var t=Ga(this).fragment;return t?"#"+t:""},ml=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(r&&Qt(Qu,{href:ml(tl,(function(t){var e=Ga(this),n=String(t),r=Xu(e,n);if(r)throw TypeError(r);Za(e.searchParams).updateSearchParams(e.query)})),origin:ml(el),protocol:ml(nl,(function(t){var e=Ga(this);Xu(e,String(t)+":",Mu)})),username:ml(il,(function(t){var e=Ga(this),n=Ei(String(t));if(!xu(e)){e.username="";for(var i=0;i<n.length;i++)e.username+=ku(n[i],wu)}})),password:ml(rl,(function(t){var e=Ga(this),n=Ei(String(t));if(!xu(e)){e.password="";for(var i=0;i<n.length;i++)e.password+=ku(n[i],wu)}})),host:ml(sl,(function(t){var e=Ga(this);e.cannotBeABaseURL||Xu(e,String(t),Bu)})),hostname:ml(al,(function(t){var e=Ga(this);e.cannotBeABaseURL||Xu(e,String(t),Uu)})),port:ml(ll,(function(t){var e=Ga(this);xu(e)||(""==(t=String(t))?e.port=null:Xu(e,t,qu))})),pathname:ml(cl,(function(t){var e=Ga(this);e.cannotBeABaseURL||(e.path=[],Xu(e,t+"",Yu))})),search:ml(hl,(function(t){var e=Ga(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Xu(e,t,Ju)),Za(e.searchParams).updateSearchParams(e.query)})),searchParams:ml(fl),hash:ml(pl,(function(t){var e=Ga(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Xu(e,t,Gu)):e.fragment=null}))}),bt(Qu,"toJSON",(function(){return tl.call(this)}),{enumerable:!0}),bt(Qu,"toString",(function(){return tl.call(this)}),{enumerable:!0}),Ya){var gl=Ya.createObjectURL,yl=Ya.revokeObjectURL;gl&&bt(Ku,"createObjectURL",(function(t){return gl.apply(Ya,arguments)})),yl&&bt(Ku,"revokeObjectURL",(function(t){return yl.apply(Ya,arguments)}))}function vl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wl(t,e,i){return e&&bl(t.prototype,e),i&&bl(t,i),t}function kl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tl(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Sl(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
2e%2?Tl(Object(i),!0).forEach((function(e){kl(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Tl(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function El(t,e){if(null==t)return{};var i,n,s=function(t,e){if(null==t)return{};var i,n,s={},a=Object.keys(t);for(n=0;n<a.length;n++)i=a[n],e.indexOf(i)>=0||(s[i]=t[i]);return s}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)i=a[n],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i])}return s}function xl(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,s=!1,a=void 0;try{for(var r,o=t[Symbol.iterator]();!(n=(r=o.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,a=t}finally{try{n||null==o.return||o.return()}finally{if(s)throw a}}return i}}(t,e)||Al(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ol(t){return function(t){if(Array.isArray(t))return _l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Al(t)||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 Al(t,e){if(t){if("string"==typeof t)return _l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_l(t,e):void 0}}function _l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Cl(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ml(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Il(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Pl(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Il(Object(i),!0).forEach((function(e){Ml(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Il(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}we(Ku,"URL"),$t({global:!0,forced:!sa,sham:!r},{URL:Ku});var Nl={addCSS:!0,thumbWidth:15,watch:!0};var Rl=function(t){return null!=t?t.constructor:null},jl=function(t,e){return!!(t&&e&&t instanceof e)},Ll=function(t){return null==t},Dl=function(t){return Rl(t)===Object},Fl=function(t){return Rl(t)===String},Vl=function(t){return Array.isArray(t)},Bl=function(t){return jl(t,NodeList)},Ul=Fl,ql=Vl,Hl=Bl,zl=function(t){return jl(t,Element)},Wl=function(t){return jl(t,Event)},Yl=function(t){return Ll(t)||(Fl(t)||Vl(t)||Bl(t))&&!t.length||Dl(t)&&!Object.keys(t).length};function $l(t,e){if(1>e){var i=function(t){var e="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}(e);return parseFloat(t.toFixed(i))}return Math.round(t/e)*e}var Zl,Jl,i,Gl=function(){function t(e,i){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),zl(e)?this.element=e:Ul(e)&&(this.element=document.querySelector(e)),zl(this.element)&&Yl(this.element.rangeTouch)&&(this.config=Pl({},Nl,{},i),this.init())}return function(t,e,i){e&&Cl(t.prototype,e),i&&Cl(t,i)}(t,[{key:"init",value:function(){t.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){t.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(t){var e=this,i=t?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(t){e.element[i](t,(function(t){return e.set(t)}),!1)}))}},{key:"get",value:function(e){if(!t.enabled||!Wl(e))return null;var i,n=e.target,s=e.changedTouches[0],a=parseFloat(n.getAttribute("min"))||0,r=parseFloat(n.getAttribute("max"))||100,o=parseFloat(n.getAttribute("step"))||1,l=n.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(i=100/l.width*(s.clientX-l.left))?i=0:100<i&&(i=100),50>
2i?i-=(100-2*i)*c:50<i&&(i+=2*(i-50)*c),a+$l(i/100*(r-a),o)}},{key:"set",value:function(e){t.enabled&&Wl(e)&&!e.target.disabled&&(e.preventDefault(),e.target.value=this.get(e),function(t,e){if(t&&e){var i=new Event(e,{bubbles:!0});t.dispatchEvent(i)}}(e.target,"touchend"===e.type?"change":"input"))}}],[{key:"setup",value:function(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;if(Yl(e)||Ul(e)?n=Array.from(document.querySelectorAll(Ul(e)?e:'input[type="range"]')):zl(e)?n=[e]:Hl(e)?n=Array.from(e):ql(e)&&(n=e.filter(zl)),Yl(n))return null;var s=Pl({},Nl,{},i);if(Ul(e)&&s.watch){var a=new MutationObserver((function(i){Array.from(i).forEach((function(i){Array.from(i.addedNodes).forEach((function(i){zl(i)&&function(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}(i,e)&&new t(i,s)}))}))}));a.observe(document.body,{childList:!0,subtree:!0})}return n.map((function(e){return new t(e,i)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),t}(),Xl=function(t){return null!=t?t.constructor:null},Kl=function(t,e){return Boolean(t&&e&&t instanceof e)},Ql=function(t){return null==t},tc=function(t){return Xl(t)===Object},ec=function(t){return Xl(t)===String},nc=function(t){return Xl(t)===Function},ic=function(t){return Array.isArray(t)},rc=function(t){return Kl(t,NodeList)},oc=function(t){return Ql(t)||(ec(t)||ic(t)||rc(t))&&!t.length||tc(t)&&!Object.keys(t).length},sc=Ql,ac=tc,uc=function(t){return Xl(t)===Number&&!Number.isNaN(t)},lc=ec,cc=function(t){return Xl(t)===Boolean},hc=nc,fc=ic,dc=rc,pc=function(t){return Kl(t,Element)},mc=function(t){return Kl(t,Event)},gc=function(t){return Kl(t,KeyboardEvent)},yc=function(t){return Kl(t,TextTrack)||!Ql(t)&&ec(t.kind)},vc=function(t){return Kl(t,Promise)&&nc(t.then)},bc=function(t){if(Kl(t,window.URL))return!0;if(!ec(t))return!1;var e=t;t.startsWith("http://")&&t.startsWith("https://")||(e="http://".concat(t));try{return!oc(new URL(e).hostname)}catch(t){return!1}},wc=oc,kc=(Zl=document.createElement("span"),Jl={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i=Object.keys(Jl).find((function(t){return void 0!==Zl.style[t]})),!!lc(i)&&Jl[i]);function Tc(t,e){setTimeout((function(){try{t.hidden=!0,t.offsetHeight,t.hidden=!1}catch(t){}}),e)}var Sc={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function Ec(t,e){return e.split(".").reduce((function(t,e){return t&&t[e]}),t)}function xc(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(!i.length)return t;var s=i.shift();return ac(s)?(Object.keys(s).forEach((function(e){ac(s[e])?(Object.keys(t).includes(e)||Object.assign(t,kl({},e,{})),xc(t[e],s[e])):Object.assign(t,kl({},e,s[e]))})),xc.apply(void 0,[t].concat(i))):t}function Oc(t,e){var i=t.length?t:[t];Array.from(i).reverse().forEach((function(t,i){var n=i>0?e.cloneNode(!0):e,s=t.parentNode,a=t.nextSibling;n.appendChild(t),a?s.insertBefore(n,a):s.appendChild(n)}))}function Ac(t,e){pc(t)&&!wc(e)&&Object.entries(e).filter((function(t){var e=xl(t,2)[1];return!sc(e)})).forEach((function(e){var i=xl(e,2),n=i[0],s=i[1];return t.setAttribute(n,s)}))}function _c(t,e,i){var n=document.createElement(t);return ac(e)&&Ac(n,e),lc(i)&&(n.innerText=i),n}function Cc(t,e,i,n){pc(e)&&e.appendChild(_c(t,i,n))}function Mc(t){dc(t)||fc(t)?Array.from(t).forEach(Mc):pc(t)&&pc(t.parentNode)&&t.parentNode.removeChild(t)}function Ic(t){if(pc(t))for(var e=t.childNodes.length;e>0;)t.removeChild(t.lastChild),e-=1}function Pc(t,e){return pc(e)&&pc(e.parentNode)&&pc(t)?(e.parentNode.replaceChild(t,e),t):null}function Nc(t,e){if(!lc(t)||wc(t))return{};var i={},n=xc({},e);return t.split(",").forEach((function(t){var e=t.trim(),s=e.replace(".",""),a=e.replace(/[[\]]/g,"").split("="),r=xl(a,1)[0],o=a.length>1?a[1].replace(/["']/g,""):"";switch(e.charAt(0)){case".":lc(n.class)?i.class="".concat(n.class," ").concat(s):i.class=s;break;case"#":i.id=e.replace("#","");break;case"[":i[r]=o}})),xc(n,i)}function Rc(t,e){if(pc(t)){var i=e;cc(i)||(i=!t.hidden),t.hidden=i}}function jc(t,e,i){if(dc(t))return Array.from(t).map((function(t){return jc(t,e,i)}));if(pc(t)){var n="toggle";return void 0!==i&&(n=i?"add":"remove"),t.classList[n](e),t.classList.contains(e)}return!1}function Lc(t,e){return pc(t)&&t.classList.contains(e)}function Dc(t,e){var i=Element.prototype;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(e)).includes(this)}).call(t,e)}function Fc(t){return this.elements.container.querySelectorAll(t)}function Vc(t){return this.elements.container.querySelector(t)}function Bc(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];pc(t)&&(t.focus({preventScroll:!0}),e&&jc(t,this.config.classNames.tabFocus))}var Uc={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},qc={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(t,e,
2i){var n=Sc.isIPhone&&i&&qc.playsinline,s=qc[t]||"html5"!==e;return{api:s,ui:s&&qc.rangeInput&&("video"!==t||!Sc.isIPhone||n)}},pip:!(Sc.isIPhone||!hc(_c("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||_c("video").disablePictureInPicture)),airplay:hc(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(t){if(wc(t))return!1;var e=xl(t.split("/"),1)[0],i=t;if(!this.isHTML5||e!==this.type)return!1;Object.keys(Uc).includes(i)&&(i+='; codecs="'.concat(Uc[t],'"'));try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,""))}catch(t){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:function(){var t=document.createElement("input");return t.type="range","range"===t.type}(),touch:"ontouchstart"in document.documentElement,transitions:!1!==kc,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Hc=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,null}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function zc(t,e,i){var n=this,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!wc(e)&&hc(i)){var o=e.split(" "),l=r;Hc&&(l={passive:a,capture:r}),o.forEach((function(e){n&&n.eventListeners&&s&&n.eventListeners.push({element:t,type:e,callback:i,options:l}),t[s?"addEventListener":"removeEventListener"](e,i,l)}))}}function Wc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];zc.call(this,t,e,i,!0,n,s)}function Yc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];zc.call(this,t,e,i,!1,n,s)}function $c(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];zc.call(this,t,i,(function r(){Yc(t,i,r,s,a);for(var o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];n.apply(e,l)}),!0,s,a)}function Zc(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(pc(t)&&!wc(e)){var s=new CustomEvent(e,{bubbles:i,detail:Sl(Sl({},n),{},{plyr:this})});t.dispatchEvent(s)}}function Jc(){this&&this.eventListeners&&(this.eventListeners.forEach((function(t){var e=t.element,i=t.type,n=t.callback,s=t.options;e.removeEventListener(i,n,s)})),this.eventListeners=[])}function Gc(){var t=this;return new Promise((function(e){return t.ready?setTimeout(e,0):Wc.call(t,t.elements.container,"ready",e)})).then((function(){}))}function Xc(t){vc(t)&&t.then(null,(function(){}))}function Kc(t){return!!(fc(t)||lc(t)&&t.includes(":"))&&(fc(t)?t:t.split(":")).map(Number).every(uc)}function Qc(t){if(!fc(t)||!t.every(uc))return null;var e=xl(t,2),i=e[0],n=e[1],s=function t(e,i){return 0===i?e:t(i,e%i)}(i,n);return[i/s,n/s]}function eh(t){var e=function(t){return Kc(t)?t.split(":").map(Number):null},i=e(t);if(null===i&&(i=e(this.config.ratio)),null===i&&!wc(this.embed)&&fc(this.embed.ratio)&&(i=this.embed.ratio),null===i&&this.isHTML5){var n=this.media;i=Qc([n.videoWidth,n.videoHeight])}return i}function nh(t){if(!this.isVideo)return{};var e=this.elements.wrapper,i=eh.call(this,t),n=xl(fc(i)?i:[0,0],2),s=100/n[0]*n[1];if(e.style.paddingBottom="".concat(s,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var a=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),r=(a-s)/(a/50);this.fullscreen.active?e.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(r,"%)")}else this.isHTML5&&e.classList.toggle(this.config.classNames.videoFixedRatio,null!==i);return{padding:s,ratio:i}}var ih={getSources:function(){var t=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(e){var i=e.getAttribute("type");return!!wc(i)||qc.mime.call(t,i)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:ih.getSources.call(this).map((function(t){return Number(t.getAttribute("size"))}
2)).filter(Boolean)},setup:function(){if(this.isHTML5){var t=this;t.options.speed=t.config.speed.options,wc(this.config.ratio)||nh.call(t),Object.defineProperty(t.media,"quality",{get:function(){var e=ih.getSources.call(t).find((function(e){return e.getAttribute("src")===t.source}));return e&&Number(e.getAttribute("size"))},set:function(e){if(t.quality!==e){if(t.config.quality.forced&&hc(t.config.quality.onChange))t.config.quality.onChange(e);else{var i=ih.getSources.call(t).find((function(t){return Number(t.getAttribute("size"))===e}));if(!i)return;var n=t.media,s=n.currentTime,a=n.paused,r=n.preload,o=n.readyState,l=n.playbackRate;t.media.src=i.getAttribute("src"),("none"!==r||o)&&(t.once("loadedmetadata",(function(){t.speed=l,t.currentTime=s,a||Xc(t.play())})),t.media.load())}Zc.call(t,t.media,"qualitychange",!1,{quality:e})}}})}},cancelRequests:function(){this.isHTML5&&(Mc(ih.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function rh(t){return fc(t)?t.filter((function(e,i){return t.indexOf(e)===i})):t}function oh(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return wc(t)?t:t.toString().replace(/{(\d+)}/g,(function(t,e){return i[e].toString()}))}var sh=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),i.toString())},ah=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))};function uh(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return t=sh(t,"-"," "),t=sh(t,"_"," "),t=ah(t),sh(t," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}function lh(t){var e=document.createElement("div");return e.appendChild(t),e.innerHTML}var ch={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},hh=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(wc(t)||wc(e))return"";var i=Ec(e.i18n,t);if(wc(i))return Object.keys(ch).includes(t)?ch[t]:"";var n={"{seektime}":e.seekTime,"{title}":e.title};return Object.entries(n).forEach((function(t){var e=xl(t,2),n=e[0],s=e[1];i=sh(i,n,s)})),i},fh=function(){function t(e){vl(this,t),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}return wl(t,[{key:"get",value:function(e){if(!t.supported||!this.enabled)return null;var i=window.localStorage.getItem(this.key);if(wc(i))return null;var n=JSON.parse(i);return lc(e)&&e.length?n[e]:n}},{key:"set",value:function(e){if(t.supported&&this.enabled&&ac(e)){var i=this.get();wc(i)&&(i={}),xc(i,e),window.localStorage.setItem(this.key,JSON.stringify(i))}}}],[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var t="___test";return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch(t){return!1}}}]),t}();function dh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(i,n){try{var s=new XMLHttpRequest;if(!("withCredentials"in s))return;s.addEventListener("load",(function(){if("text"===e)try{i(JSON.parse(s.responseText))}catch(t){i(s.responseText)}else i(s.response)})),s.addEventListener("error",(function(){throw new Error(s.status)})),s.open("GET",t,!0),s.responseType=e,s.send()}catch(t){n(t)}}))}function ph(t,e){if(lc(t)){var i="cache",n=lc(e),s=function(){return null!==document.getElementById(e)},a=function(t,e){t.innerHTML=e,n&&s()||document.body.insertAdjacentElement("afterbegin",t)};if(!n||!s()){var r=fh.supported,o=document.createElement("div");if(o.setAttribute("hidden",""),n&&o.setAttribute("id",e),r){var l=window.localStorage.getItem("".concat(i,"-").concat(e));if(null!==l){var c=JSON.parse(l);a(o,c.content)}}dh(t).then((function(t){wc(t)||(r&&window.localStorage.setItem("".concat(i,"-").concat(e),JSON.stringify({content:t})),a(o,t))})).catch((function(){}))}}}var mh=function(t){return Math.trunc(t/60/60%60,10)};function gh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!uc(t))return gh(void 0,e,i);var n=function(t){return"0".concat(t).slice(-2)},s=mh(t),a=function(t){return Math.trunc(t/60%60,10)}
2(t),r=function(t){return Math.trunc(t%60,10)}(t);return s=e||s>0?"".concat(s,":"):"","".concat(i&&t>0?"-":"").concat(s).concat(n(a),":").concat(n(r))}var yh={getIconUrl:function(){var t=new URL(this.config.iconUrl,window.location).host!==window.location.host||Sc.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements:function(){try{return this.elements.controls=Vc.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:Fc.call(this,this.config.selectors.buttons.play),pause:Vc.call(this,this.config.selectors.buttons.pause),restart:Vc.call(this,this.config.selectors.buttons.restart),rewind:Vc.call(this,this.config.selectors.buttons.rewind),fastForward:Vc.call(this,this.config.selectors.buttons.fastForward),mute:Vc.call(this,this.config.selectors.buttons.mute),pip:Vc.call(this,this.config.selectors.buttons.pip),airplay:Vc.call(this,this.config.selectors.buttons.airplay),settings:Vc.call(this,this.config.selectors.buttons.settings),captions:Vc.call(this,this.config.selectors.buttons.captions),fullscreen:Vc.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Vc.call(this,this.config.selectors.progress),this.elements.inputs={seek:Vc.call(this,this.config.selectors.inputs.seek),volume:Vc.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Vc.call(this,this.config.selectors.display.buffer),currentTime:Vc.call(this,this.config.selectors.display.currentTime),duration:Vc.call(this,this.config.selectors.display.duration)},pc(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(t){return this.debug.warn("It looks like there is a problem with your custom controls HTML",t),this.toggleNativeControls(!0),!1}},createIcon:function(t,e){var i="http://www.w3.org/2000/svg",n=yh.getIconUrl.call(this),s="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),a=document.createElementNS(i,"svg");Ac(a,xc(e,{"aria-hidden":"true",focusable:"false"}));var r=document.createElementNS(i,"use"),o="".concat(s,"-").concat(t);return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",o),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.appendChild(r),a},createLabel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=hh(t,this.config);return _c("span",Sl(Sl({},e),{},{class:[e.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),i)},createBadge:function(t){if(wc(t))return null;var e=_c("span",{class:this.config.classNames.menu.value});return e.appendChild(_c("span",{class:this.config.classNames.menu.badge},t)),e},createButton:function(t,e){var i=this,n=xc({},e),s=uh(t),a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((function(t){Object.keys(n).includes(t)&&(a[t]=n[t],delete n[t])})),"button"!==a.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((function(t){return t===i.config.classNames.control}))||xc(n,{class:"".concat(n.class," ").concat(this.config.classNames.control)}):n.class=this.config.classNames.control,t){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),s="play",a.label="play",a.icon="play";break;default:wc(a.label)&&(a.label=s),wc(a.icon)&&(a.icon=t)}var r=_c(a.element);return a.toggle?(r.appendChild(yh.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),r.appendChild(yh.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),r.appendChild(yh.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),r.appendChild(yh.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(r.appendChild(yh.createIcon.call(this,a.icon)),r.appendChild(yh.createLabel.call(this,a.label))),xc(n,Nc(this.config.selectors.buttons[s],n)
2),Ac(r,n),"play"===s?(fc(this.elements.buttons[s])||(this.elements.buttons[s]=[]),this.elements.buttons[s].push(r)):this.elements.buttons[s]=r,r},createRange:function(t,e){var i=_c("input",xc(Nc(this.config.selectors.inputs[t]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":hh(t,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},e));return this.elements.inputs[t]=i,yh.updateRangeFill.call(this,i),Gl.setup(i),i},createProgress:function(t,e){var i=_c("progress",xc(Nc(this.config.selectors.display[t]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},e));if("volume"!==t){i.appendChild(_c("span",null,"0"));var n={played:"played",buffer:"buffered"}[t],s=n?hh(n,this.config):"";i.innerText="% ".concat(s.toLowerCase())}return this.elements.display[t]=i,i},createTime:function(t,e){var i=Nc(this.config.selectors.display[t],e),n=_c("div",xc(i,{class:"".concat(i.class?i.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":hh(t,this.config)}),"00:00");return this.elements.display[t]=n,n},bindMenuItemShortcuts:function(t,e){var i=this;Wc.call(this,t,"keydown keyup",(function(n){if([32,38,39,40].includes(n.which)&&(n.preventDefault(),n.stopPropagation(),"keydown"!==n.type)){var s,a=Dc(t,'[role="menuitemradio"]');!a&&[32,39].includes(n.which)?yh.showMenuPanel.call(i,e,!0):32!==n.which&&(40===n.which||a&&39===n.which?(s=t.nextElementSibling,pc(s)||(s=t.parentNode.firstElementChild)):(s=t.previousElementSibling,pc(s)||(s=t.parentNode.lastElementChild)),Bc.call(i,s,!0))}}),!1),Wc.call(this,t,"keyup",(function(t){13===t.which&&yh.focusFirstMenuItem.call(i,null,!0)}))},createMenuItem:function(t){var e=this,i=t.value,n=t.list,s=t.type,a=t.title,r=t.badge,o=void 0===r?null:r,l=t.checked,c=void 0!==l&&l,u=Nc(this.config.selectors.inputs[s]),h=_c("button",xc(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:i})),f=_c("span");f.innerHTML=a,pc(o)&&f.appendChild(o),h.appendChild(f),Object.defineProperty(h,"checked",{enumerable:!0,get:function(){return"true"===h.getAttribute("aria-checked")},set:function(t){t&&Array.from(h.parentNode.children).filter((function(t){return Dc(t,'[role="menuitemradio"]')})).forEach((function(t){return t.setAttribute("aria-checked","false")})),h.setAttribute("aria-checked",t?"true":"false")}}),this.listeners.bind(h,"click keyup",(function(t){if(!gc(t)||32===t.which){switch(t.preventDefault(),t.stopPropagation(),h.checked=!0,s){case"language":e.currentTrack=Number(i);break;case"quality":e.quality=i;break;case"speed":e.speed=parseFloat(i)}yh.showMenuPanel.call(e,"home",gc(t))}}),s,!1),yh.bindMenuItemShortcuts.call(this,h,s),n.appendChild(h)},formatTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return uc(t)?gh(t,mh(this.duration)>0,e):t},updateTimeDisplay:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];pc(t)&&uc(e)&&(t.innerText=yh.formatTime(e,i))},updateVolume:function(){this.supported.ui&&(pc(this.elements.inputs.volume)&&yh.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),pc(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;pc(t)&&(t.value=e,yh.updateRangeFill.call(this,t))},updateProgress:function(t){var e=this;if(this.supported.ui&&mc(t)){var i=0;if(t)switch(t.type){case"timeupdate":case"seeking":case"seeked":i=function(t,e){return 0===t||0===e||Number.isNaN(t)||Number.isNaN(e)?0:(t/e*100).toFixed(2)}(this.currentTime,this.duration),"timeupdate"===t.type&&yh.setRange.call(this,this.elements.inputs.seek,i);break;case"playing":case"progress":!function(t,i){var n=uc(i)?i:0,s=pc(t)?t:e.elements.display.buffer;if(pc(s)){s.value=n;var a=s.getElementsByTagName("span")[0];pc(a)&&(a.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(t){var e=mc(t)?t.target:t;if(pc(e)&&"range"===e.getAttribute("type")){if(Dc(e,this.config.selectors.inputs.seek)){e.setAttribute("aria-valuenow",this.currentTime);var i=yh.formatTime(this.currentTime),n=yh.formatTime(this.duration),s=hh("seekLabel",this.config);e.setAttribute("aria-valuetext",s.replace("{currentTime}",i).replace("{duration}",n))}else if(Dc(e,this.config.selectors.inputs.volume)){var a=100*e.value;e.setAttribute("aria-valuenow",a),e.setAttribute("aria-valuetext","".concat(a.toFixed(1),"%"))}else e.setAttribute("aria-valuenow",e.value);Sc.isWebkit&&e.style.setProperty("--value","".concat(e.value/e.max*100,"%"))}},updateSeekTooltip:function(t){var e=this;if(this.config.tooltips.seek&&pc(this.elements.inputs.seek)&&pc(this.elements.display.seekTooltip)&&0!==this.duration){var i="".concat(this.config.classNames.tooltip,"--visible"),n=function(t){return jc(e.elements.display.seekTooltip,i,t)};if(this.touch)n(!1);else{var s=0,a=this.elements.progress.getBoundingClientRect();if(mc(t))s=100/a.width*(t.pageX-a.left);else{if(!Lc(this.elements.display.seekTooltip,i))return;s=parseFloat(this.elements.display.seekTooltip.style.left,10)}s<0?s=0:s>100&&(s=100),yh.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*s),this.elements.display.seekTooltip.style.left="".concat(s,"%"),mc(t)&&["mouseenter","mouseleave"].includes(t.type)&&n("mouseenter"
2===t.type)}}},timeUpdate:function(t){var e=!pc(this.elements.display.duration)&&this.config.invertTime;yh.updateTimeDisplay.call(this,this.elements.display.currentTime,e?this.duration-this.currentTime:this.currentTime,e),t&&"timeupdate"===t.type&&this.media.seeking||yh.updateProgress.call(this,t)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return Rc(this.elements.display.currentTime,!0),void Rc(this.elements.progress,!0);pc(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=pc(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&&yh.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&&yh.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),yh.updateSeekTooltip.call(this)}},toggleMenuButton:function(t,e){Rc(this.elements.settings.buttons[t],!e)},updateSetting:function(t,e,i){var n=this.elements.settings.panels[t],s=null,a=e;if("captions"===t)s=this.currentTrack;else{if(s=wc(i)?this[t]:i,wc(s)&&(s=this.config[t].default),!wc(this.options[t])&&!this.options[t].includes(s))return void this.debug.warn("Unsupported value of '".concat(s,"' for ").concat(t));if(!this.config[t].options.includes(s))return void this.debug.warn("Disabled value of '".concat(s,"' for ").concat(t))}if(pc(a)||(a=n&&n.querySelector('[role="menu"]')),pc(a)){this.elements.settings.buttons[t].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=yh.getLabel.call(this,t,s);var r=a&&a.querySelector('[value="'.concat(s,'"]'));pc(r)&&(r.checked=!0)}},getLabel:function(t,e){switch(t){case"speed":return 1===e?hh("normal",this.config):"".concat(e,"&times;");case"quality":if(uc(e)){var i=hh("qualityLabel.".concat(e),this.config);return i.length?i:"".concat(e,"p")}return ah(e);case"captions":return wh.getLabel.call(this);default:return null}},setQualityMenu:function(t){var e=this;if(pc(this.elements.settings.panels.quality)){var i="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');fc(t)&&(this.options.quality=rh(t).filter((function(t){return e.config.quality.options.includes(t)})));var s=!wc(this.options.quality)&&this.options.quality.length>1;if(yh.toggleMenuButton.call(this,i,s),Ic(n),yh.checkMenu.call(this),s){var a=function(t){var i=hh("qualityBadge.".concat(t),e.config);return i.length?yh.createBadge.call(e,i):null};this.options.quality.sort((function(t,i){var n=e.config.quality.options;return n.indexOf(t)>n.indexOf(i)?1:-1})).forEach((function(t){yh.createMenuItem.call(e,{value:t,list:n,type:i,title:yh.getLabel.call(e,"quality",t),badge:a(t)})})),yh.updateSetting.call(this,i,n)}}},setCaptionsMenu:function(){var t=this;if(pc(this.elements.settings.panels.captions)){var e="captions",i=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=wh.getTracks.call(this),s=Boolean(n.length);if(yh.toggleMenuButton.call(this,e,s),Ic(i),yh.checkMenu.call(this),s){var a=n.map((function(e,n){return{value:n,checked:t.captions.toggled&&t.currentTrack===n,title:wh.getLabel.call(t,e),badge:e.language&&yh.createBadge.call(t,e.language.toUpperCase()),list:i,type:"language"}}));a.unshift({value:-1,checked:!this.captions.toggled,title:hh("disabled",this.config),list:i,type:"language"}),a.forEach(yh.createMenuItem.bind(this)),yh.updateSetting.call(this,e,i)}}},setSpeedMenu:function(){var t=this;if(pc(this.elements.settings.panels.speed)){var e="speed",i=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((function(e){return e>=t.minimumSpeed&&e<=t.maximumSpeed}));var n=!wc(this.options.speed)&&this.options.speed.length>1;yh.toggleMenuButton.call(this,e,n),Ic(i),yh.checkMenu.call(this),n&&(this.options.speed.forEach((function(n){yh.createMenuItem.call(t,{value:n,list:i,type:e,title:yh.getLabel.call(t,"speed",n)})})),yh.updateSetting.call(this,e,i))}},checkMenu:function(){var t=this.elements.settings.buttons,e=!wc(t)&&Object.values(t).some((function(t){return!t.hidden}));Rc(this.elements.settings.menu,!e)},focusFirstMenuItem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var i=t;pc(i)||(i=Object.values(this.elements.settings.panels).find((function(t){return!t.hidden})));var n=i.querySelector('[role^="menuitem"]');Bc.call(this,n,e)}},toggleMenu:function(t){var e=this.elements.settings.popup,i=this.elements.buttons.settings;if(pc(e)&&pc(i)){var n=e.hidden,s=n;
2if(cc(t))s=t;else if(gc(t)&&27===t.which)s=!1;else if(mc(t)){var a=hc(t.composedPath)?t.composedPath()[0]:t.target,r=e.contains(a);if(r||!r&&t.target!==i&&s)return}i.setAttribute("aria-expanded",s),Rc(e,!s),jc(this.elements.container,this.config.classNames.menu.open,s),s&&gc(t)?yh.focusFirstMenuItem.call(this,null,!0):s||n||Bc.call(this,i,gc(t))}},getMenuSize:function(t){var e=t.cloneNode(!0);e.style.position="absolute",e.style.opacity=0,e.removeAttribute("hidden"),t.parentNode.appendChild(e);var i=e.scrollWidth,n=e.scrollHeight;return Mc(e),{width:i,height:n}},showMenuPanel:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(e));if(pc(n)){var s=n.parentNode,a=Array.from(s.children).find((function(t){return!t.hidden}));if(qc.transitions&&!qc.reducedMotion){s.style.width="".concat(a.scrollWidth,"px"),s.style.height="".concat(a.scrollHeight,"px");var r=yh.getMenuSize.call(this,n);Wc.call(this,s,kc,(function e(i){i.target===s&&["width","height"].includes(i.propertyName)&&(s.style.width="",s.style.height="",Yc.call(t,s,kc,e))})),s.style.width="".concat(r.width,"px"),s.style.height="".concat(r.height,"px")}Rc(a,!0),Rc(n,!1),yh.focusFirstMenuItem.call(this,n,i)}},setDownloadUrl:function(){var t=this.elements.buttons.download;pc(t)&&t.setAttribute("href",this.download)},create:function(t){var e=this,i=yh.bindMenuItemShortcuts,n=yh.createButton,s=yh.createProgress,a=yh.createRange,r=yh.createTime,o=yh.setQualityMenu,l=yh.setSpeedMenu,c=yh.showMenuPanel;this.elements.controls=null,fc(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));var u=_c("div",Nc(this.config.selectors.controls.wrapper));this.elements.controls=u;var h={class:"plyr__controls__item"};return rh(fc(this.config.controls)?this.config.controls:[]).forEach((function(o){if("restart"===o&&u.appendChild(n.call(e,"restart",h)),"rewind"===o&&u.appendChild(n.call(e,"rewind",h)),"play"===o&&u.appendChild(n.call(e,"play",h)),"fast-forward"===o&&u.appendChild(n.call(e,"fast-forward",h)),"progress"===o){var l=_c("div",{class:"".concat(h.class," plyr__progress__container")}),f=_c("div",Nc(e.config.selectors.progress));if(f.appendChild(a.call(e,"seek",{id:"plyr-seek-".concat(t.id)})),f.appendChild(s.call(e,"buffer")),e.config.tooltips.seek){var d=_c("span",{class:e.config.classNames.tooltip},"00:00");f.appendChild(d),e.elements.display.seekTooltip=d}e.elements.progress=f,l.appendChild(e.elements.progress),u.appendChild(l)}if("current-time"===o&&u.appendChild(r.call(e,"currentTime",h)),"duration"===o&&u.appendChild(r.call(e,"duration",h)),"mute"===o||"volume"===o){var p=e.elements.volume;if(pc(p)&&u.contains(p)||(p=_c("div",xc({},h,{class:"".concat(h.class," plyr__volume").trim()})),e.elements.volume=p,u.appendChild(p)),"mute"===o&&p.appendChild(n.call(e,"mute")),"volume"===o&&!Sc.isIos){var g={max:1,step:.05,value:e.config.volume};p.appendChild(a.call(e,"volume",xc(g,{id:"plyr-volume-".concat(t.id)})))}}if("captions"===o&&u.appendChild(n.call(e,"captions",h)),"settings"===o&&!wc(e.config.settings)){var m=_c("div",xc({},h,{class:"".concat(h.class," plyr__menu").trim(),hidden:""}));m.appendChild(n.call(e,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(t.id),"aria-expanded":!1}));var y=_c("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(t.id),hidden:""}),v=_c("div"),b=_c("div",{id:"plyr-settings-".concat(t.id,"-home")}),w=_c("div",{role:"menu"});b.appendChild(w),v.appendChild(b),e.elements.settings.panels.home=b,e.config.settings.forEach((function(n){var s=_c("button",xc(Nc(e.config.selectors.buttons.settings),{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));i.call(e,s,n),Wc.call(e,s,"click",(function(){c.call(e,n,!1)}));var a=_c("span",null,hh(n,e.config)),r=_c("span",{class:e.config.classNames.menu.value});r.innerHTML=t[n],a.appendChild(r),s.appendChild(a),w.appendChild(s);var o=_c("div",{id:"plyr-settings-".concat(t.id,"-").concat(n),hidden:""}),l=_c("button",{type:"button",class:"".concat(e.config.classNames.c
2ontrol," ").concat(e.config.classNames.control,"--back")});l.appendChild(_c("span",{"aria-hidden":!0},hh(n,e.config))),l.appendChild(_c("span",{class:e.config.classNames.hidden},hh("menuBack",e.config))),Wc.call(e,o,"keydown",(function(t){37===t.which&&(t.preventDefault(),t.stopPropagation(),c.call(e,"home",!0))}),!1),Wc.call(e,l,"click",(function(){c.call(e,"home",!1)})),o.appendChild(l),o.appendChild(_c("div",{role:"menu"})),v.appendChild(o),e.elements.settings.buttons[n]=s,e.elements.settings.panels[n]=o})),y.appendChild(v),m.appendChild(y),u.appendChild(m),e.elements.settings.popup=y,e.elements.settings.menu=m}if("pip"===o&&qc.pip&&u.appendChild(n.call(e,"pip",h)),"airplay"===o&&qc.airplay&&u.appendChild(n.call(e,"airplay",h)),"download"===o){var k=xc({},h,{element:"a",href:e.download,target:"_blank"});e.isHTML5&&(k.download="");var T=e.config.urls.download;!bc(T)&&e.isEmbed&&xc(k,{icon:"logo-".concat(e.provider),label:e.provider}),u.appendChild(n.call(e,"download",k))}"fullscreen"===o&&u.appendChild(n.call(e,"fullscreen",h))})),this.isHTML5&&o.call(this,ih.getQualityOptions.call(this)),l.call(this),u},inject:function(){var t=this;if(this.config.loadSprite){var e=yh.getIconUrl.call(this);e.cors&&ph(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var i=null;this.elements.controls=null;var a,n,r={id:this.id,seektime:this.config.seekTime,title:this.config.title},s=!0;if(hc(this.config.controls)&&(this.config.controls=this.config.controls.call(this,r)),this.config.controls||(this.config.controls=[]),pc(this.config.controls)||lc(this.config.controls)?i=this.config.controls:(i=yh.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:wh.getLabel.call(this)}),s=!1),s&&lc(this.config.controls)&&(a=i,Object.entries(r).forEach((function(t){var e=xl(t,2),i=e[0],n=e[1];a=sh(a,"{".concat(i,"}"),n)})),i=a),lc(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),pc(n)||(n=this.elements.container),n[pc(i)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",i),pc(this.elements.controls)||yh.findElements.call(this),!wc(this.elements.buttons)){var o=function(e){var i=t.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:function(){return Lc(e,i)},set:function(){jc(e,i,arguments.length>0&&void 0!==arguments[0]&&arguments[0])}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(t){fc(t)||dc(t)?Array.from(t).filter(Boolean).forEach(o):o(t)}))}if(Sc.isEdge&&Tc(n),this.config.tooltips.controls){var l=this.config,c=l.classNames,u=l.selectors,h="".concat(u.controls.wrapper," ").concat(u.labels," .").concat(c.hidden),f=Fc.call(this,h);Array.from(f).forEach((function(e){jc(e,t.config.classNames.hidden,!1),jc(e,t.config.classNames.tooltip,!0)}))}}};function vh(t){var i=t;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var e=document.createElement("a");e.href=i,i=e.href}try{return new URL(i)}catch(t){return null}}function bh(t){var e=new URLSearchParams;return ac(t)&&Object.entries(t).forEach((function(t){var i=xl(t,2),n=i[0],s=i[1];e.set(n,s)})),e}var wh={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!qc.textTracks)fc(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&yh.setCaptionsMenu.call(this);else{if(pc(this.elements.captions)||(this.elements.captions=_c("div",Nc(this.config.selectors.captions)),function(t,e){pc(t)&&pc(e)&&e.parentNode.insertBefore(t,e.nextSibling)}(this.elements.captions,this.elements.wrapper)),Sc.isIE&&window.URL){var t=this.media.querySelectorAll("track");Array.from(t).forEach((function(t){var e=t.getAttribute("src"),i=vh(e);null!==i&&i.hostname!==window.location.href.hostname&&["http:","https:"].includes(i.protocol)&&dh(e,"blob").then((function(e){t.setAttribute("src",window.URL.createObjectURL(e))})).catch((function(){Mc(t)}))}))}var e=rh((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((function(t){return t.split("-")[0]}))),i=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===i&&(i=xl(e,1)[0]);var n=this.storage.get("captions");
2if(cc(n)||(n=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:n,language:i,languages:e}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";Wc.call(this,this.media.textTracks,s,wh.update.bind(this))}setTimeout(wh.update.bind(this),0)}},update:function(){var t=this,e=wh.getTracks.call(this,!0),i=this.captions,n=i.active,s=i.language,a=i.meta,r=i.currentTrackNode,o=Boolean(e.find((function(t){return t.language===s})));this.isHTML5&&this.isVideo&&e.filter((function(t){return!a.get(t)})).forEach((function(e){t.debug.log("Track added",e),a.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),Wc.call(t,e,"cuechange",(function(){return wh.updateCues.call(t)}))})),(o&&this.language!==s||!e.includes(r))&&(wh.setLanguage.call(this,s),wh.toggle.call(this,n&&o)),jc(this.elements.container,this.config.classNames.captions.enabled,!wc(e)),fc(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&yh.setCaptionsMenu.call(this)},toggle:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,s=this.config.classNames.captions.active,a=sc(t)?!n:t;if(a!==n){if(i||(this.captions.active=a,this.storage.set({captions:a})),!this.language&&a&&!i){var r=wh.getTracks.call(this),o=wh.findTrack.call(this,[this.captions.language].concat(Ol(this.captions.languages)),!0);return this.captions.language=o.language,void wh.set.call(this,r.indexOf(o))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=a),jc(this.elements.container,s,a),this.captions.toggled=a,yh.updateSetting.call(this,"captions"),Zc.call(this,this.media,a?"captionsenabled":"captionsdisabled")}setTimeout((function(){a&&e.captions.toggled&&(e.captions.currentTrackNode.mode="hidden")}))}},set:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=wh.getTracks.call(this);if(-1!==t)if(uc(t))if(t in i){if(this.captions.currentTrack!==t){this.captions.currentTrack=t;var n=i[t],a=(n||{}).language;this.captions.currentTrackNode=n,yh.updateSetting.call(this,"captions"),e||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),Zc.call(this,this.media,"languagechange")}wh.toggle.call(this,!0,e),this.isHTML5&&this.isVideo&&wh.updateCues.call(this)}else this.debug.warn("Track not found",t);else this.debug.warn("Invalid caption argument",t);else wh.toggle.call(this,!1,e)},setLanguage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(lc(t)){var i=t.toLowerCase();this.captions.language=i;var n=wh.getTracks.call(this),s=wh.findTrack.call(this,[i]);wh.set.call(this,n.indexOf(s),e)}else this.debug.warn("Invalid language argument",t)},getTracks:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter((function(i){return!t.isHTML5||e||t.captions.meta.has(i)})).filter((function(t){return["captions","subtitles"].includes(t.kind)}))},findTrack:function(t){var e,i=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=wh.getTracks.call(this),a=function(t){return Number((i.captions.meta.get(t)||{}).default)},r=Array.from(s).sort((function(t,e){return a(e)-a(t)}));return t.every((function(t){return!(e=r.find((function(e){return e.language===t})))})),e||(n?r[0]:void 0)},getCurrentTrack:function(){return wh.getTracks.call(this)[this.currentTrack]},getLabel:function(t){var e=t;return!yc(e)&&qc.textTracks&&this.captions.toggled&&(e=wh.getCurrentTrack.call(this)),yc(e)?wc(e.label)?wc(e.language)?hh("enabled",this.config):t.language.toUpperCase():e.label:hh("disabled",this.config)},updateCues:function(t){if(this.supported.ui)if(pc(this.elements.captions))if(sc(t)||Array.isArray(t)){var e=t;if(!e){var i=wh.getCurrentTrack.call(this);e=Array.from((i||{}).activeCues||[]).map((function(t){return t.getCueAsHTML()})).map(lh)}var n=e.map((function(t){return t.trim()})).join("\n");if(n!==this.elements.captions.innerHTML){Ic(this.elements.captions);var s=_c("span",Nc(this.config.selectors.caption));s.innerHTML=n,this.elements.captions.appendChild(s),Zc.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",t);else this.debug.warn("No captions element to render to")}},kh={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.1/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"S
2D"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,premium:!1,referrerPolicy:null},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},Th="picture-in-picture",Sh="inline",Eh={html5:"html5",youtube:"youtube",vimeo:"vimeo"},xh="audio",Oh="video";var Ah=function(){},_h=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];vl(this,t),this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}return wl(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Ah}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Ah}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Ah}}]),t}(),Ch=function(){function t(e){var i=this;vl(this,t),this.player=e,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===e.config.fullscreen.fallback,this.player.elements.fullscreen=e.config.fullscreen.container&&function(t,e){return(Element.prototype.closest||function(){var t=this;do{if(Dc.matches(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}).call(t,e)}(this.player.elements.container,e.config.fullscreen.container),Wc.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),(function(){i.onChange()})),Wc.call(this.player,this.player.elements.container,"dblclick",(function(t){pc(i.player.elements.controls)&&i.player.elements.controls.contains(t.target)||i.toggle()})),Wc.call(this,this.player.elements.container,"keydown",(function(t){return i.trapFocus(t)})),this.update()}return wl(t,[{key:"onChange",value:function(){if(this.enabled){var t=this.player.elements.buttons.fullscreen;pc(t)&&(t.pressed=this.active);var e=this.target===this.player.media?this.target:this.player.elements.container;Zc.call(this.player,e,this.active?"enterfullscreen":"exitfullscreen",!0)}}},{key:"toggleFallback",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=t?"hidden":"",jc(this.target,this.player.config.classNames.fullscreen.fallback,t),Sc.isIos){var e=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";e||(e=document.createElement("meta")).setAttribute("name","viewport");var n=lc(e.content)&&e.content.includes(i);
2t?(this.cleanupViewport=!n,n||(e.content+=",".concat(i))):this.cleanupViewport&&(e.content=e.content.split(",").filter((function(t){return t.trim()!==i})).join(","))}this.onChange()}},{key:"trapFocus",value:function(t){if(!Sc.isIos&&this.active&&"Tab"===t.key&&9===t.keyCode){var e=document.activeElement,i=Fc.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),n=xl(i,1)[0],s=i[i.length-1];e!==s||t.shiftKey?e===n&&t.shiftKey&&(s.focus(),t.preventDefault()):(n.focus(),t.preventDefault())}}},{key:"update",value:function(){var e;this.enabled?(e=this.forceFallback?"Fallback (forced)":t.native?"Native":"Fallback",this.player.debug.log("".concat(e," fullscreen enabled"))):this.player.debug.log("Fullscreen not supported and fallback disabled"),jc(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(Sc.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!t.native||this.forceFallback?this.toggleFallback(!0):this.prefix?wc(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen({navigationUI:"hide"}))}},{key:"exit",value:function(){if(this.enabled)if(Sc.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),Xc(this.player.play());else if(!t.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!wc(this.prefix)){var e="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(e).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"usingNative",get:function(){return t.native&&!this.forceFallback}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!t.native||this.forceFallback)return Lc(this.target,this.player.config.classNames.fullscreen.fallback);var e=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}},{key:"target",get:function(){return Sc.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(hc(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some((function(e){return!(!hc(document["".concat(e,"ExitFullscreen")])&&!hc(document["".concat(e,"CancelFullScreen")])||(t=e,0))})),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function Mh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(i,n){var s=new Image,a=function(){delete s.onload,delete s.onerror,(s.naturalWidth>=e?i:n)(s)};Object.assign(s,{onload:a,onerror:a,src:t})}))}var Ih={addStyleHook:function(){jc(this.elements.container,this.config.selectors.container.replace(".",""),!0),jc(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var t=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void Ih.toggleNativeControls.call(this,!0);pc(this.elements.controls)||(yh.inject.call(this),this.listeners.controls()),Ih.toggleNativeControls.call(this),this.isHTML5&&wh.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,yh.updateVolume.call(this),yh.timeUpdate.call(this),Ih.checkPlaying.call(this),jc(this.elements.container,this.config.classNames.pip.supported,qc.pip&&this.isHTML5&&this.isVideo),jc(this.elements.container,this.config.classNames.airplay.supported,qc.airplay&&this.isHTML5),jc(this.elements.container,this.config.classNames.isIos,Sc.isIos),jc(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){Zc.call(t,t.media,"ready")}),0),Ih.setTitle.call(this),this.poster&&Ih.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&yh.durationUpdate.call(this)},setTitle:function(){var t=hh("play",this.config);if(lc(this.config.title)&&!wc(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEac
vendor: 2,631 bytes, line 2
2h((function(e){e.setAttribute("aria-label",t)})),this.isEmbed){var e=Vc.call(this,"iframe");if(!pc(e))return;var i=wc(this.config.title)?"video":this.config.title,n=hh("frameTitle",this.config);e.setAttribute("title",n.replace("{title}",i))}},togglePoster:function(t){jc(this.elements.container,this.config.classNames.posterEnabled,t)},setPoster:function(t){var e=this;return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",t),Gc.call(this).then((function(){return Mh(t)})).catch((function(i){throw t===e.poster&&Ih.togglePoster.call(e,!1),i})).then((function(){if(t!==e.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(e.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),Ih.togglePoster.call(e,!0),t})))},checkPlaying:function(t){var e=this;jc(this.elements.container,this.config.classNames.playing,this.playing),jc(this.elements.container,this.config.classNames.paused,this.paused),jc(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(t){Object.assign(t,{pressed:e.playing}),t.setAttribute("aria-label",hh(e.playing?"pause":"play",e.config))})),mc(t)&&"timeupdate"===t.type||Ih.toggleControls.call(this)},checkLoading:function(t){var e=this;this.loading=["stalled","waiting"].includes(t.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){jc(e.elements.container,e.config.classNames.loading,e.loading),Ih.toggleControls.call(e)}),this.loading?250:0)},toggleControls:function(t){var e=this.elements.controls;if(e&&this.config.hideControls){var i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover||i))}},migrateStyles:function(){var t=this;Object.values(Sl({},this.media.style)).filter((function(t){return!wc(t)&&lc(t)&&t.startsWith("--plyr")})).forEach((function(e){t.elements.container.style.setProperty(e,t.media.style.getPropertyValue(e)),t.media.style.removeProperty(e)})),wc(this.media.style)&&this.media.removeAttribute("style")}},Ph=function(){function t(e){vl(this,t),this.player=e,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return wl(t,[{key:"handleKey",value:function(t){var e=this.player,i=e.elements,n=t.keyCode?t.keyCode:t.which,s="key
2down"===t.type,a=s&&n===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&uc(n))if(s){var r=document.activeElement;if(pc(r)){var o=e.config.selectors.editable;if(r!==i.inputs.seek&&Dc(r,o))return;if(32===t.which&&Dc(r,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(n)&&(t.preventDefault(),t.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||(e.currentTime=e.duration/10*(n-48));break;case 32:case 75:a||Xc(e.togglePlay());break;case 38:e.increaseVolume(.1);break;case 40:e.decreaseVolume(.1);break;case 77:a||(e.muted=!e.muted);break;case 39:e.forward();break;case 37:e.rewind();break;case 70:e.fullscreen.toggle();break;case 67:a||e.toggleCaptions();break;case 76:e.loop=!e.loop}27===n&&!e.fullscreen.usingNative&&e.fullscreen.active&&e.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}},{key:"toggleMenu",value:function(t){yh.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){var t=this.player,e=t.elements;t.touch=!0,jc(e.container,t.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(t){var e=this.player,i=e.elements;if(clearTimeout(this.focusTimer),"keydown"!==t.type||9===t.which){"keydown"===t.type&&(this.lastKeyDown=t.timeStamp);var n,s=t.timeStamp-this.lastKeyDown<=20;("focus"!==t.type||s)&&(n=e.config.classNames.tabFocus,jc(Fc.call(e,".".concat(n)),n,!1),"focusout"!==t.type&&(this.focusTimer=setTimeout((function(){var t=document.activeElement;i.container.contains(t)&&jc(document.activeElement,e.config.classNames.tabFocus,!0)}),10)))}}},{key:"global",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.player;e.config.keyboard.global&&zc.call(e,window,"keydown keyup",this.handleKey,t,!1),zc.call(e,document.body,"click",this.toggleMenu,t),$c.call(e,document.body,"touchstart",this.firstTouch),zc.call(e,document.body,"keydown focus blur focusout",this.setTabFocus,t,!1,!0)}},{key:"container",value:function(){var t=this.player,e=t.config,i=t.elements,n=t.timers;!e.keyboard.global&&e.keyboard.focused&&Wc.call(t,i.container,"keydown keyup",this.handleKey,!1),Wc.call(t,i.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(e){var s=i.controls;s&&"enterfullscreen"===e.type&&(s.pressed=!1,s.hover=!1);var a=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(Ih.toggleControls.call(t,!0),a=t.touch?3e3:2e3),clearTimeout(n.controls),n.controls=setTimeout((function(){return Ih.toggleControls.call(t,!1)}),a)}));var s=function(e){if(!e)return nh.call(t);var n=i.container.getBoundingClientRect(),s=n.width,a=n.height;return nh.call(t,"".concat(s,":").concat(a))},a=function(){clearTimeout(n.resized),n.resized=setTimeout(s,50)};Wc.call(t,i.container,"enterfullscreen exitfullscreen",(function(e){var n=t.fullscreen,r=n.target,o=n.usingNative;if(r===i.container&&(t.isEmbed||!wc(t.config.ratio))){var l="enterfullscreen"===e.type,c=s(l);c.padding,!function(e,i,n){if(t.isVimeo&&!t.config.vimeo.premium){var s=t.elements.wrapper.firstChild,a=xl(e,2)[1],r=xl(eh.call(t),2),o=r[0],l=r[1];s.style.maxWidth=n?"".concat(a/l*o,"px"):null,s.style.margin=n?"0 auto":null}}(c.ratio,0,l),o||(l?Wc.call(t,window,"resize",a):Yc.call(t,window,"resize",a))}}))}},{key:"media",value:function(){var t=this,e=this.player,i=e.elements;if(Wc.call(e,e.media,"timeupdate seeking seeked",(function(t){return yh.timeUpdate.call(e,t)})),Wc.call(e,e.media,"durationchange loadeddata loadedmetadata",(function(t){return yh.durationUpdate.call(e,t)})),Wc.call(e,e.media,"ended",(function(){e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),Wc.call(e,e.media,"progress playing seeking seeked",(function(t){return yh.updateProgress.call(e,t)})),Wc.call(e,e.media,"volumechange",(function(t){return yh.updateVolume.call(e,t)})),Wc.call(e,e.media,"playing play pause ended emptied timeupdate",(function(t){return Ih.checkPlaying.call(e,t)})),Wc.call(e,e.media,"waiting canplay seeked playing",(function(t){return Ih.checkLoading.call(e,t)})),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){var n=Vc.call(e,".".concat(e.config.classNames.video));if(!pc(n))return;Wc.call(e,i.container,"click",(function(s){([i.container,n].includes(s.target)||n.contains(s.target))&&(e.touch&&e.config.hideControls||(e.ended?(t.proxy(s,e.restart,"restart"),t.proxy(s,(function(){Xc(e.play())}),"play")):t.proxy(s,(function(){Xc(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&Wc.call(e,i.wrapper,"contextmenu",(function(t){t.preventDefault()}),!1),Wc.call(e,e.media,"volumechange",(function(){e.storage.set({volume:e.volume,muted:e.muted})})),Wc.call(e,e.media,"ratechange",(function(){yh.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),Wc.call(e,e.media,"qualitychange",(function(t){yh.updateSetting.call(e,"quality",null,t.detail.quality)})),Wc.call(e,e.media,"ready qualitychange",(function(){yh.setDownloadUrl.call(e)}));var s=e.config.events.concat(["keyup","keydown"]).join(" ");Wc.call(e,e.media,s,(function(t){var n=t.detail,s=void 0===n?{}:n;"error"===t.type&&(s=e.media.error),Zc.call(e,i.container,t.type,!0,s)}))}}
vendor: 6,503 bytes, line 2
2,{key:"proxy",value:function(t,e,i){var n=this.player,s=n.config.listeners[i],a=!0;hc(s)&&(a=s.call(n,t)),!1!==a&&hc(e)&&e.call(n,t)}},{key:"bind",value:function(t,e,i,n){var s=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=this.player,o=r.config.listeners[n],l=hc(o);Wc.call(r,t,e,(function(t){return s.proxy(t,i,n)}),a&&!l)}},{key:"controls",value:function(){var t=this,e=this.player,i=e.elements,n=Sc.isIE?"change":"input";if(i.buttons.play&&Array.from(i.buttons.play).forEach((function(i){t.bind(i,"click",(function(){Xc(e.togglePlay())}),"play")})),this.bind(i.buttons.restart,"click",e.restart,"restart"),this.bind(i.buttons.rewind,"click",e.rewind,"rewind"),this.bind(i.buttons.fastForward,"click",e.forward,"fastForward"),this.bind(i.buttons.mute,"click",(function(){e.muted=!e.muted}),"mute"),this.bind(i.buttons.captions,"click",(function(){return e.toggleCaptions()})),this.bind(i.buttons.download,"click",(function(){Zc.call(e,e.media,"download")}),"download"),this.bind(i.buttons.fullscreen,"click",(function(){e.fullscreen.toggle()}),"fullscreen"),this.bind(i.buttons.pip,"click",(function(){e.pip="toggle"}),"pip"),this.bind(i.buttons.airplay,"click",e.airplay,"airplay"),this.bind(i.buttons.settings,"click",(function(t){t.stopPropagation(),t.preventDefault(),yh.toggleMenu.call(e,t)}),null,!1),this.bind(i.buttons.settings,"keyup",(function(t){var i=t.which;[13,32].includes(i)&&(13!==i?(t.preventDefault(),t.stopPropagation(),yh.toggleMenu.call(e,t)):yh.focusFirstMenuItem.call(e,null,!0))}),null,!1),this.bind(i.settings.menu,"keydown",(function(t){27===t.which&&yh.toggleMenu.call(e,t)})),this.bind(i.inputs.seek,"mousedown mousemove",(function(t){var e=i.progress.getBoundingClientRect(),n=100/e.width*(t.pageX-e.left);t.currentTarget.setAttribute("seek-value",n)})),this.bind(i.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(t){var i=t.currentTarget,n=t.keyCode?t.keyCode:t.which,s="play-on-seeked";if(!gc(t)||39===n||37===n){e.lastSeekTime=Date.now();var a=i.hasAttribute(s),r=["mouseup","touchend","keyup"].includes(t.type);a&&r?(i.removeAttribute(s),Xc(e.play())):!r&&e.playing&&(i.setAttribute(s,""),e.pause())}})),Sc.isIos){var s=Fc.call(e,'input[type="range"]');Array.from(s).forEach((function(e){return t.bind(e,n,(function(t){return Tc(t.target)}))}))}this.bind(i.inputs.seek,n,(function(t){var i=t.currentTarget,n=i.getAttribute("seek-value");wc(n)&&(n=i.value),i.removeAttribute("seek-value"),e.currentTime=n/i.max*e.duration}),"seek"),this.bind(i.progress,"mouseenter mouseleave mousemove",(function(t){return yh.updateSeekTooltip.call(e,t)})),this.bind(i.progress,"mousemove touchmove",(function(t){var i=e.previewThumbnails;i&&i.loaded&&i.startMove(t)})),this.bind(i.progress,"mouseleave touchend click",(function(){var t=e.previewThumbnails;t&&t.loaded&&t.endMove(!1,!0)})),this.bind(i.progress,"mousedown touchstart",(function(t){var i=e.previewThumbnails;i&&i.loaded&&i.startScrubbing(t)})),this.bind(i.progress,"mouseup touchend",(function(t){var i=e.previewThumbnails;i&&i.loaded&&i.endScrubbing(t)})),Sc.isWebkit&&Array.from(Fc.call(e,'input[type="range"]')).forEach((function(i){t.bind(i,"input",(function(t){return yh.updateRangeFill.call(e,t.target)}))})),e.config.toggleInvert&&!pc(i.display.duration)&&this.bind(i.display.currentTime,"click",(function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,yh.timeUpdate.call(e))})),this.bind(i.inputs.volume,n,(function(t){e.volume=t.target.value}),"volume"),this.bind(i.controls,"mouseenter mouseleave",(function(t){i.controls.hover=!e.touch&&"mouseenter"===t.type})),i.fullscreen&&Array.from(i.fullscreen.children).filter((function(t){return!t.contains(i.container)})).forEach((function(n){t.bind(n,"mouseenter mouseleave",(function(t){i.controls.hover=!e.touch&&"mouseenter"===t.type}))})),this.bind(i.controls,"mousedown mouseup touchstart touchend touchcancel",(function(t){i.controls.pressed=["mousedown","touchstart"].includes(t.type)})),this.bind(i.controls,"focusin",(function(){var n=e.config,s=e.timers;jc(i.controls,n.classNames.noTransition,!0),Ih.toggleControls.call(e,!0),setTimeout((function(){jc(i.controls,n.classNames.noTransition,!1)}),0);var a=t.touch?3e3:4e3;clearTimeout(s.controls),s.controls=setTimeout((function(){return Ih.toggleControls.call(e,!1)}),a)})),this.bind(i.inputs.volume,"wheel",(function(t){var i=t.webkitDirectionInvertedFromDevice,n=xl([t.deltaX,-t.deltaY].map((function(t){return i?-t:t})),2),s=n[0],a=n[1],r=Math.sign(Math.abs(s)>Math.abs(a)?s:a);e.increaseVolume(r/50);var o=e.media.volume;(1===r&&o<1||-1===r&&o>0)&&t.preventDefault()}),"volume",!1)}}]),t}();var Nh=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){t.exports=function(){var t=function(){},e={},i={},n={};function a(t,e){if(t){var s=n[t];if(i[t]=e,s)for(;s.length;)s[0](t,e),s.splice(0,1)}}function r(e,i){e.call&&(e={success:e}),i.length?(e.error||t)(i):(e.success||t)(e)}function o(e,i,n,s){var a,r,l=document,c=n.async,u=(n.numRetries||0)+1,h=n.before||t,f=e.replace(/[\?|#].*$/,""),d=e.replace(/^(css|img)!/,"");s=s||0,/(^css!|\.css$)/.test(f)?((r=l.createElement("link")).rel="stylesheet",r.href=d,(a="hideFocus"in r)&&r.relList&&(a=0,r.rel="preload",r.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(f)?(r=l.createElement("img")).src=d:((r=l.createElement("script")).src=e,r.async=void 0===c||c),r.onload=r.onerror=r.onbeforeload=function(t){var l=t.type[0];if(a)try{r.sheet.cssText.length||(l="e")}catch(t){18!=t.code&&(l="e")}if("e"==l){if((s+=1)<u)return o(e,i,n,s)}else if("preload"==r.rel&&"style"==r.as)return r.rel="stylesheet";i(e,l,t.defaultPrevented)},!1!==h(e,r)&&l.head.appendChild(r)}function l(t,e,i){var n,s,a=(t=t.push?t:[t]).length,r=a,l=[];for(n=function(t,i,n){if("e"==i&&l.push(t),"b"==i){if(!n)return;l.push(t)}--a||e(l)},s=0;s<r;s++)o(t[s],n,i)}function c(t,i,n){var s,o;if(i&&i.trim&&(s=i),o=(s?n:i)||{},s){if(s in e)throw"LoadJS";e[s]=!0}function c(e,i){l(t,(function(t){r(o,t),e&&r({success:e,error:i},t),a(s,t)}),o)}if(o.returnPromise)return new Promise(c);c()}return c.ready=function(t,e){return function(t,e){t=t.push?t:[t];var s,a,r,o=[],l=t.length,c=l;for(s=function(t,i){i.length&&o.push(t),--c||e(o)};l--;)a=t[l],(r=i[a])?s(a,r):(n[a]=n[a]||[]).push(s)}(t,(function(t){r(e,t)})),c},c.done=function(t){a(t,[])},c.reset=function(){e={},i={},n={}},c.isDefined=function(t){return t in e},c}()}));function Rh(t){return new Promise((function(e,i){Nh(t,{success:e,error:i})}
2))}function jh(t){t&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===t&&(this.media.paused=!t,Zc.call(this,this.media,t?"play":"pause"))}var Lh={setup:function(){var t=this;jc(t.elements.wrapper,t.config.classNames.embed,!0),t.options.speed=t.config.speed.options,nh.call(t),ac(window.Vimeo)?Lh.ready.call(t):Rh(t.config.urls.vimeo.sdk).then((function(){Lh.ready.call(t)})).catch((function(e){t.debug.warn("Vimeo SDK (player.js) failed to load",e)}))},ready:function(){var t=this,e=this,i=e.config.vimeo,n=i.premium,s=i.referrerPolicy,a=El(i,["premium","referrerPolicy"]);n&&Object.assign(a,{controls:!1,sidedock:!1});var r=bh(Sl({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},a)),o=e.media.getAttribute("src");wc(o)&&(o=e.media.getAttribute(e.config.attributes.embed.id));var l=function(t){return wc(t)?null:uc(Number(t))?t:t.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:t}(o),c=_c("iframe"),u=oh(e.config.urls.vimeo.iframe,l,r);c.setAttribute("src",u),c.setAttribute("allowfullscreen",""),c.setAttribute("allow","autoplay,fullscreen,picture-in-picture"),wc(s)||c.setAttribute("referrerPolicy",s);var h=e.poster;if(n)c.setAttribute("data-poster",h),e.media=Pc(c,e.media);else{var f=_c("div",{class:e.config.classNames.embedContainer,"data-poster":h});f.appendChild(c),e.media=Pc(f,e.media)}dh(oh(e.config.urls.vimeo.api,l),"json").then((function(t){if(!wc(t)){var i=new URL(t[0].thumbnail_large);i.pathname="".concat(i.pathname.split("_")[0],".jpg"),Ih.setPoster.call(e,i.href).catch((function(){}))}})),e.embed=new window.Vimeo.Player(c,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=function(){return jh.call(e,!0),e.embed.play()},e.media.pause=function(){return jh.call(e,!1),e.embed.pause()},e.media.stop=function(){e.pause(),e.currentTime=0};var d=e.media.currentTime;Object.defineProperty(e.media,"currentTime",{get:function(){return d},set:function(t){var i=e.embed,n=e.media,s=e.paused,a=e.volume,r=s&&!i.hasPlayed;n.seeking=!0,Zc.call(e,n,"seeking"),Promise.resolve(r&&i.setVolume(0)).then((function(){return i.setCurrentTime(t)})).then((function(){return r&&i.pause()})).then((function(){return r&&i.setVolume(a)})).catch((function(){}))}});var p=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:function(){return p},set:function(t){e.embed.setPlaybackRate(t).then((function(){p=t,Zc.call(e,e.media,"ratechange")})).catch((function(){e.options.speed=[1]}))}});var g=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return g},set:function(t){e.embed.setVolume(t).then((function(){g=t,Zc.call(e,e.media,"volumechange")}))}});var m=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return m},set:function(t){var i=!!cc(t)&&t;e.embed.setVolume(i?0:e.config.volume).then((function(){m=i,Zc.call(e,e.media,"volumechange")}))}});var y,v=e.config.loop;Object.defineProperty(e.media,"loop",{get:function(){return v},set:function(t){var i=cc(t)?t:e.config.loop.active;e.embed.setLoop(i).then((function(){v=i}))}}),e.embed.getVideoUrl().then((function(t){y=t,yh.setDownloadUrl.call(e)})).catch((function(e){t.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:function(){return y}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((function(i){var n=xl(i,2),s=n[0],a=n[1];e.embed.ratio=[s,a],nh.call(t)})),e.embed.setAutopause(e.config.autopause).then((function(t){e.config.autopause=t})),e.embed.getVideoTitle().then((function(i){e.config.title=i,Ih.setTitle.call(t)})),e.embed.getCurrentTime().then((function(t){d=t,Zc.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((function(t){e.media.duration=t,Zc.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((function(t){e.media.textTracks=t,wh.setup.call(e)})),e.embed.on("cuechange",(function(t){var i=t.cues,n=(void 0===i?[]:i).map((function(t){return function(t){var e=document.createDocumentFragment(),i=document.createElement("div");return e.appendChild(i),i.innerHTML=t,e.firstChild.innerText}(t.text)}));wh.updateCues.call(e,n)})),e.embed.on("loaded",(function(){e.embed.getPaused().then((function(t){jh.call(e,!t),t||Zc.call(e,e.media,"playing")})),pc(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("bufferstart",(function(){Zc.call(e,e.media,"waiting")})),e.embed.on("bufferend",(function(){Zc.call(e,e.media,"playing")})),e.embed.on("play",(function(){jh.call(e,!0),Zc.call(e,e.media,"playing")})),e.embed.on("pause",(function(){jh.call(e,!1)})),e.embed.on("timeupdate",(function(t){e.media.seeking=!1,d=t.seconds,Zc.call(e,e.media,"timeupdate")})),e.embed.on("progress",(function(t){e.media.buffered=t.percent,Zc.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&Zc.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((function(t){t!==e.media.duration&&(e.media.duration=t,Zc.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(function(){e.media.seeking=!1,Zc.call(e,e.media,"seeked")})),e.embed.on("ended",(function(){e.media.paused=!0,Zc.call(e,e.media,"ended")})),e.embed.on("error",(function(t){e.media.error=t,Zc.call(e,e.media,"error")})),setTimeout((function(){return Ih.build.call(e)}),0)}};function Dh(t){t&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===t&&(this.media.paused=!t,Zc.call(this,this.media,t?"play":"pause"))}function Fh(t){return t.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}var Vh={setup:function(){var t=this;if(jc(this.elements.wrapper,this.config.classNames.embed,!0),ac(window.YT)&&hc(window.YT.Player))Vh.ready.call(this);else{var e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){hc(e)&&e(),Vh.ready.call(t)},Rh(this.config.urls.youtube.sdk).catch((function(e){t.debug.warn("YouTube API failed to load",e)}))}},getTitle:function(t){var e=this;dh(oh(this.config.urls.youtube.api,t)).then((function(t){if(ac(t)){var i=t.title,n=t.height,s=t.width;e.config.title=i,Ih.setTitle.call(e),e.embed.ratio=[s,n]}nh.call(e)})).catch((function(){nh.call(e)}))},ready:function(){var t=this,e=t.media&&t.media.getAttribute("id");if(wc(e)||!e.startsWith("youtube-")){var i=t.media.getAttribute("src");wc(i)&&(i=t.media.getAttribute(this.config.attributes.embed.id));var n=function(t){return wc(t)?null:t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:t}(i),s=function(t){return"".concat(t,"-").concat(Math.floor(1e4*Math.random()))}(t.provider),a=_c("div",{id:s,"data-poster":t.poster});t.media=Pc(a,t.media);var r=function(t){return"https://i.ytimg.com/vi/".concat(n,"/").concat(t,"default.jpg")};Mh(r("maxres"),121).catch((function(){return Mh(r("sd"),121)})).catch((function(){return Mh(r("hq"))})).then((function(e){return Ih.setPoster.call(t,e.src)})).then((function(e){e.includes("maxres")||(t.elements.poster.style.backgroundSize="cover")})).catch((function(){}));var o=t.config.youtube;t.embed=new window.YT.Player(s,{videoId:n,host:Fh(o),playerVars:xc({}
2,{autoplay:t.config.autoplay?1:0,hl:t.config.hl,controls:t.supported.ui?0:1,disablekb:1,playsinline:t.config.fullscreen.iosNative?0:1,cc_load_policy:t.captions.active?1:0,cc_lang_pref:t.config.captions.language,widget_referrer:window?window.location.href:null},o),events:{onError:function(e){if(!t.media.error){var i=e.data,n={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[i]||"An unknown error occured";t.media.error={code:i,message:n},Zc.call(t,t.media,"error")}},onPlaybackRateChange:function(e){var i=e.target;t.media.playbackRate=i.getPlaybackRate(),Zc.call(t,t.media,"ratechange")},onReady:function(e){if(!hc(t.media.play)){var i=e.target;Vh.getTitle.call(t,n),t.media.play=function(){Dh.call(t,!0),i.playVideo()},t.media.pause=function(){Dh.call(t,!1),i.pauseVideo()},t.media.stop=function(){i.stopVideo()},t.media.duration=i.getDuration(),t.media.paused=!0,t.media.currentTime=0,Object.defineProperty(t.media,"currentTime",{get:function(){return Number(i.getCurrentTime())},set:function(e){t.paused&&!t.embed.hasPlayed&&t.embed.mute(),t.media.seeking=!0,Zc.call(t,t.media,"seeking"),i.seekTo(e)}}),Object.defineProperty(t.media,"playbackRate",{get:function(){return i.getPlaybackRate()},set:function(t){i.setPlaybackRate(t)}});var s=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return s},set:function(e){s=e,i.setVolume(100*s),Zc.call(t,t.media,"volumechange")}});var a=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return a}
2,set:function(e){var n=cc(e)?e:a;a=n,i[n?"mute":"unMute"](),Zc.call(t,t.media,"volumechange")}}),Object.defineProperty(t.media,"currentSrc",{get:function(){return i.getVideoUrl()}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}});var r=i.getAvailablePlaybackRates();t.options.speed=r.filter((function(e){return t.config.speed.options.includes(e)})),t.supported.ui&&t.media.setAttribute("tabindex",-1),Zc.call(t,t.media,"timeupdate"),Zc.call(t,t.media,"durationchange"),clearInterval(t.timers.buffering),t.timers.buffering=setInterval((function(){t.media.buffered=i.getVideoLoadedFraction(),(null===t.media.lastBuffered||t.media.lastBuffered<t.media.buffered)&&Zc.call(t,t.media,"progress"),t.media.lastBuffered=t.media.buffered,1===t.media.buffered&&(clearInterval(t.timers.buffering),Zc.call(t,t.media,"canplaythrough"))}),200),setTimeout((function(){return Ih.build.call(t)}),50)}},onStateChange:function(e){var i=e.target;switch(clearInterval(t.timers.playing),t.media.seeking&&[1,2].includes(e.data)&&(t.media.seeking=!1,Zc.call(t,t.media,"seeked")),e.data){case-1:Zc.call(t,t.media,"timeupdate"),t.media.buffered=i.getVideoLoadedFraction(),Zc.call(t,t.media,"progress");break;case 0:Dh.call(t,!1),t.media.loop?(i.stopVideo(),i.playVideo()):Zc.call(t,t.media,"ended");break;case 1:t.config.autoplay||!t.media.paused||t.embed.hasPlayed?(Dh.call(t,!0),Zc.call(t,t.media,"playing"),t.timers.playing=setInterval((function(){Zc.call(t,t.media,"timeupdate")}),50),t.media.duration!==i.getDuration()&&(t.media.duration=i.getDuration(),Zc.call(t,t.media,"durationchange"))):t.media.pause();break;case 2:t.muted||t.embed.unMute(),Dh.call(t,!1);break;case 3:Zc.call(t,t.media,"waiting")}Zc.call(t,t.elements.container,"statechange",!1,{code:e.data})}}})}}},Bh={setup:function(){this.media?(jc(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),jc(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&jc(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=_c("div",{class:this.config.classNames.video}),Oc(this.media,this.elements.wrapper),this.elements.poster=_c("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?ih.setup.call(this):this.isYouTube?Vh.setup.call(this):this.isVimeo&&Lh.setup.call(this)):this.debug.warn("No media element found!")}},Uh=function(){function t(e){var i=this;vl(this,t),this.player=e,this.config=e.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(t,e){i.on("loaded",t),i.on("error",e)})),this.load()}return wl(t,[{key:"load",value:function(){var t=this;this.enabled&&(ac(window.google)&&ac(window.google.ima)?this.ready():Rh(this.player.config.urls.googleIMA.sdk).then((function(){t.ready()})).catch((function(){t.trigger("error",new Error("Google IMA SDK failed to load"))})))}},{key:"ready",value:function(){var t=this;this.enabled||function(t){t.manager&&t.manager.destroy(),t.elements.displayContainer&&t.elements.displayContainer.destroy(),t.elements.container.remove()}(this),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((function(){t.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){var t=this;this.elements.container=_c("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(e){return t.onAdsManagerLoaded(e)}),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return t.onAdError(e)}),!1),this.requestAds()}},{key:"requestAds",value:function(){var t=this.player.elements.container;try{var e=new google.ima.AdsRequest;e.adTagUrl=this.tagUrl,e.linearAdSlotWidth=t.offsetWidth,e.linearAdSlotHeight=t.offsetHeight,e.nonLinearAdSlotWidth=t.offsetWidth,e.nonLinearAdSlotHeight=t.offsetHeight,e.forceNonLinearFullSlot=!1,e.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(e)}catch(t){this.onAdError(t)}}},{key:"pollCountdown",value:function(){var t=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((function(){var e=gh(Math.max(t.manager.getRemainingTime(),0)),i="".concat(hh("advertisement",t.player.config)," - ").concat(e);t.elements.container.setAttribute("data-badge-text",i)}),100)}},{key:"onAdsManagerLoaded",value:function(t){var e=this;if(this.enabled){var i=new google.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0,i.enablePreloading=!0,this.manager=t.getAdsManager(this.player,i),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(t){return e.onAdError(t)})),Object.keys(google.ima.AdEvent.Type).forEach((function(t){e.manager.addEventListener(google.ima.AdEvent.Type[t],(function(t){return e.onAdEvent(t)}))}
2)),this.trigger("loaded")}}},{key:"addCuePoints",value:function(){var t=this;wc(this.cuePoints)||this.cuePoints.forEach((function(e){if(0!==e&&-1!==e&&e<t.player.duration){var i=t.player.elements.progress;if(pc(i)){var n=100/t.player.duration*e,s=_c("span",{class:t.player.config.classNames.cues});s.style.left="".concat(n.toString(),"%"),i.appendChild(s)}}}))}},{key:"onAdEvent",value:function(t){var e,n=this.player.elements.container,s=t.getAd(),a=t.getAdData();switch(e=t.type,Zc.call(this.player,this.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase())),t.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),s.isLinear()||(s.width=n.offsetWidth,s.height=n.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:a.adError&&this.player.debug.warn("Non-fatal ad error: ".concat(a.adError.getMessage()))}}},{key:"onAdError",value:function(t){this.cancel(),this.player.debug.warn("Ads error",t)}},{key:"listeners",value:function(){var t,e=this,i=this.player.elements.container;this.player.on("canplay",(function(){e.addCuePoints()})),this.player.on("ended",(function(){e.loader.contentComplete()})),this.player.on("timeupdate",(function(){t=e.player.currentTime})),this.player.on("seeked",(function(){var i=e.player.currentTime;wc(e.cuePoints)||e.cuePoints.forEach((function(n,s){t<n&&n<i&&(e.manager.discardAdBreak(),e.cuePoints.splice(s,1))}))})),window.addEventListener("resize",(function(){e.manager&&e.manager.resize(i.offsetWidth,i.offsetHeight,google.ima.ViewMode.NORMAL)}))}},{key:"play",value:function(){var t=this,e=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then((function(){t.manager.setVolume(t.player.volume),t.elements.displayContainer.initialize();try{t.initialized||(t.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),t.manager.start()),t.initialized=!0}catch(e){t.onAdError(e)}})).catch((function(){}))}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,Xc(this.player.media.play())}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var t=this;this.managerPromise.then((function(){t.manager&&t.manager.destroy(),t.managerPromise=new Promise((function(e){t.on("loaded",e),t.player.debug.log(t.manager)})),t.initialized=!1,t.requestAds()})).catch((function(){}))}},{key:"trigger",value:function(t){for(var e=this,i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];var a=this.events[t];fc(a)&&a.forEach((function(t){hc(t)&&t.apply(e,n)}))}},{key:"on",value:function(t,e){return fc(this.events[t])||(this.events[t]=[]),this.events[t].push(e),this}},{key:"startSafetyTimer",value:function(t,e){var i=this;this.player.debug.log("Safety timer invoked from: ".concat(e)),this.safetyTimer=setTimeout((function(){i.cancel(),i.clearSafetyTimer("startSafetyTimer()")}),t)}},{key:"clearSafetyTimer",value:function(t){sc(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: ".concat(t)),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){var t=this.config;return this.player.isHTML5&&this.player.isVideo&&t.enabled&&(!wc(t.publisherId)||bc(t.tagUrl))}},{key:"tagUrl",get:function(){var t=this.config;if(bc(t.tagUrl))return t.tagUrl;var e={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:t.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(bh(e))}}]),t}(),qh=function(t){var e=[];
2return t.split(/\r\n\r\n|\n\n|\r\r/).forEach((function(t){var i={};t.split(/\r\n|\n|\r/).forEach((function(t){if(uc(i.startTime)){if(!wc(t.trim())&&wc(i.text)){var e=t.trim().split("#xywh="),n=xl(e,1);if(i.text=n[0],e[1]){var s=xl(e[1].split(","),4);i.x=s[0],i.y=s[1],i.w=s[2],i.h=s[3]}}}else{var a=t.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);a&&(i.startTime=60*Number(a[1]||0)*60+60*Number(a[2])+Number(a[3])+Number("0.".concat(a[4])),i.endTime=60*Number(a[6]||0)*60+60*Number(a[7])+Number(a[8])+Number("0.".concat(a[9])))}})),i.text&&e.push(i)})),e},Hh=function(t,e){var i={};return t>e.width/e.height?(i.width=e.width,i.height=1/t*e.width):(i.height=e.height,i.width=t*e.height),i},zh=function(){function t(e){vl(this,t),this.player=e,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return wl(t,[{key:"load",value:function(){var t=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((function(){t.enabled&&(t.render(),t.determineContainerAutoSizing(),t.loaded=!0)}))}},{key:"getThumbnails",value:function(){var t=this;return new Promise((function(e){var i=t.player.config.previewThumbnails.src;if(wc(i))throw new Error("Missing previewThumbnails.src config attribute");var n=function(){t.thumbnails.sort((function(t,e){return t.height-e.height})),t.player.debug.log("Preview thumbnails",t.thumbnails),e()};if(hc(i))i((function(e){t.thumbnails=e,n()}));else{var s=(lc(i)?[i]:i).map((function(e){return t.getThumbnail(e)}));Promise.all(s).then(n)}}))}},{key:"getThumbnail",value:function(t){var e=this;return new Promise((function(i){dh(t).then((function(n){var s={frames:qh(n),height:null,urlPrefix:""};s.frames[0].text.startsWith("/")||s.frames[0].text.startsWith("http://")||s.frames[0].text.startsWith("https://")||(s.urlPrefix=t.substring(0,t.lastIndexOf("/")+1));var a=new Image;a.onload=function(){s.height=a.naturalHeight,s.width=a.naturalWidth,e.thumbnails.push(s),i()},a.src=s.urlPrefix+s.frames[0].text}))}))}},{key:"startMove",value:function(t){if(this.loaded&&mc(t)&&["touchmove","mousemove"].includes(t.type)&&this.player.media.duration){if("touchmove"===t.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var e=this.player.elements.progress.getBoundingClientRect(),i=100/e.width*(t.pageX-e.left);this.seekTime=this.player.media.duration*(i/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=t.pageX,this.elements.thumb.time.innerText=gh(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(t){(sc(t.button)||!1===t.button||0===t.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var t=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):$c.call(this.player,this.player.media,"timeupdate",(function(){t.mouseDown||t.toggleScrubbingContainer(!1)}))}},{key:"listeners",value:function(){var t=this;this.player.on("play",(function(){t.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(function(){t.toggleThumbContainer(!1)})),this.player.on("timeupdate",(function(){t.lastTime=t.player.media.currentTime}))}},{key:"render",value:function(){this.elements.thumb.container=_c("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=_c("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var t=_c("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=_c("span",{},"00:00"),t.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(t),pc(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=_c("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"destroy",value:function(){this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}},{key:"showImageAtCurrentTime",value:function(){var t=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();
2var e=this.thumbnails[0].frames.findIndex((function(e){return t.seekTime>=e.startTime&&t.seekTime<=e.endTime})),i=e>=0,n=0;this.mouseDown||this.toggleThumbContainer(i),i&&(this.thumbnails.forEach((function(i,s){t.loadedImages.includes(i.frames[e].text)&&(n=s)})),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(n)))}},{key:"loadImage",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.showingThumb,n=this.thumbnails[e],s=n.urlPrefix,a=n.frames[i],r=n.frames[i].text,o=s+r;if(this.currentImageElement&&this.currentImageElement.dataset.filename===r)this.showImage(this.currentImageElement,a,e,i,r,!1),this.currentImageElement.dataset.index=i,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=o,l.dataset.index=i,l.dataset.filename=r,this.showingThumbFilename=r,this.player.debug.log("Loading image: ".concat(o)),l.onload=function(){return t.showImage(l,a,e,i,r,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:"showImage",value:function(t,e,i,n,s){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log("Showing thumb: ".concat(s,". num: ").concat(n,". qual: ").concat(i,". newimg: ").concat(a)),this.setImageSizeAndOffset(t,e),a&&(this.currentImageContainer.appendChild(t),this.currentImageElement=t,this.loadedImages.includes(s)||this.loadedImages.push(s)),this.preloadNearby(n,!0).then(this.preloadNearby(n,!1)).then(this.getHigherQuality(i,t,e,s))}},{key:"removeOldImages",value:function(t){var e=this;Array.from(this.currentImageContainer.children).forEach((function(i){if("img"===i.tagName.toLowerCase()){var n=e.usingSprites?500:1e3;if(i.dataset.index!==t.dataset.index&&!i.dataset.deleting){i.dataset.deleting=!0;var s=e.currentImageContainer;setTimeout((function(){s.removeChild(i),e.player.debug.log("Removing thumb: ".concat(i.dataset.filename))}),n)}}}))}},{key:"preloadNearby",value:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(n){setTimeout((function(){var s=e.thumbnails[0].frames[t].text;if(e.showingThumbFilename===s){var a;a=i?e.thumbnails[0].frames.slice(t):e.thumbnails[0].frames.slice(0,t).reverse();var r=!1;a.forEach((function(t){var i=t.text;if(i!==s&&!e.loadedImages.includes(i)){r=!0,e.player.debug.log("Preloading thumb filename: ".concat(i));var a=e.thumbnails[0].urlPrefix+i,o=new Image;o.src=a,o.onload=function(){e.player.debug.log("Preloaded thumb filename: ".concat(i)),e.loadedImages.includes(i)||e.loadedImages.push(i),n()}}})),r||n()}}),300)}))}},{key:"getHigherQuality",value:function(t,e,i,n){var s=this;if(t<this.thumbnails.length-1){var a=e.naturalHeight;this.usingSprites&&(a=i.h),a<this.thumbContainerHeight&&setTimeout((function(){s.showingThumbFilename===n&&(s.player.debug.log("Showing higher quality thumb for: ".concat(n)),s.loadImage(t+1))}),300)}}},{key:"toggleThumbContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,t),!t&&e&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"toggleScrubbingContainer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(e,t),t||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:"determineContainerAutoSizing",value:function(){(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}},{key:"setThumbContainerSizeAndPos",value:function(){if(this.sizeSpecifiedInCSS){if(this.elements.thumb.imageContainer.clientHeight>20&&this.elements.thumb.imageContainer.clientWidth<20){var t=Math.floor(this.elements.thumb.imageContainer.clientHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.width="".concat(t,"px")}else if(this.elements.thumb.imageContainer.clientHeight<20&&this.elements.thumb.imageContainer.clientWidth>20){var e=Math.floor(this.elements.thumb.imageContainer.clientWidth/this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(e,"px")}}else{var i=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height="".concat(this.thumbContainerHeight,"px"),this.elements.thumb.imageContainer.style.width="".concat(i,"px")}this.setThumbContainerPos()}},{key:"setThumbContainerPos",value:function(){var t=this.player.elements.progress.getBoundingClientRect(),e=this.player.elements.container.getBoundingClientRect(),i=this.elements.thumb.container,n=e.left-t.left+10,s=e.right-t.left-i.clientWidth-10,a=this.mousePosX-t.left-i.clientWidth/2;a<n&&(a=n),a>s&&(a=s),i.style.left="".concat(a,"px")}},{key:"setScrubbingContainerSize",value:function(){var t=Hh(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}),e=t.width,i=t.height;this.elements.scrubbing.container.style.width="".concat(e,"px"),this.elements.scrubbing.container.style.height="".concat(i,"px")}},{key:"setImageSizeAndOffset",value:function(t,e){if(this.usingSprites){var i=this.thumbContainerHeight/e.h;t.style.height="".concat(t.naturalHeight*i,"px"),t.style.width="".concat(t.naturalWi
2dth*i,"px"),t.style.left="-".concat(e.x*i,"px"),t.style.top="-".concat(e.y*i,"px")}}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?Hh(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(t){this.mouseDown?this.currentScrubbingImageElement=t:this.currentThumbnailImageElement=t}}]),t}(),source={insertElements:function(t,e){var i=this;lc(e)?Cc(t,this.media,{src:e}):fc(e)&&e.forEach((function(e){Cc(t,i.media,e)}))},change:function(t){var e=this;Ec(t,"sources.length")?(ih.cancelRequests.call(this),this.destroy.call(this,(function(){e.options.quality=[],Mc(e.media),e.media=null,pc(e.elements.container)&&e.elements.container.removeAttribute("class");var i=t.sources,n=t.type,s=xl(i,1)[0],a=s.provider,r=void 0===a?Eh.html5:a,o=s.src,l="html5"===r?n:"div",c="html5"===r?{}:{src:o};Object.assign(e,{provider:r,type:n,supported:qc.check(n,r,e.config.playsinline),media:_c(l,c)}),e.elements.container.appendChild(e.media),cc(t.autoplay)&&(e.config.autoplay=t.autoplay),e.isHTML5&&(e.config.crossorigin&&e.media.setAttribute("crossorigin",""),e.config.autoplay&&e.media.setAttribute("autoplay",""),wc(t.poster)||(e.poster=t.poster),e.config.loop.active&&e.media.setAttribute("loop",""),e.config.muted&&e.media.setAttribute("muted",""),e.config.playsinline&&e.media.setAttribute("playsinline","")),Ih.addStyleHook.call(e),e.isHTML5&&source.insertElements.call(e,"source",i),e.config.title=t.title,Bh.setup.call(e),e.isHTML5&&Object.keys(t).includes("tracks")&&source.insertElements.call(e,"track",t.tracks),(e.isHTML5||e.isEmbed&&!e.supported.ui)&&Ih.build.call(e),e.isHTML5&&e.media.load(),wc(t.previewThumbnails)||(Object.assign(e.config.previewThumbnails,t.previewThumbnails),e.previewThumbnails&&e.previewThumbnails.loaded&&(e.previewThumbnails.destroy(),e.previewThumbnails=null),e.config.previewThumbnails.enabled&&(e.previewThumbnails=new zh(e))),e.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};var Wh=function(){function t(e,i){var n=this;if(vl(this,t),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=qc.touch,this.media=e,lc(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||dc(this.media)||fc(this.media))&&(this.media=this.media[0]),this.config=xc({},kh,t.defaults,i||{},function(){try{return JSON.parse(n.media.getAttribute("data-plyr-config"))}catch(t){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new _h(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",qc),!sc(this.media)&&pc(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(qc.check().api){var s=this.media.cloneNode(!0);s.autoplay=!1,this.elements.original=s;var a=this.media.tagName.toLowerCase(),r=null,o=null;switch(a){case"div":if(r=this.media.querySelector("iframe"),pc(r)){if(o=vh(r.getAttribute("src")),this.provider=function(t){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(t)?Eh.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(t)?Eh.vimeo:null}(o.toString()),this.elements.container=this.media,this.media=r,this.elements.container.className="",o.search.length){var l=["1","true"];
2l.includes(o.searchParams.get("autoplay"))&&(this.config.autoplay=!0),l.includes(o.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=l.includes(o.searchParams.get("playsinline")),this.config.youtube.hl=o.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(wc(this.provider)||!Object.keys(Eh).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Oh;break;case"video":case"audio":this.type=a,this.provider=Eh.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=qc.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new Ph(this),this.storage=new fh(this),this.media.plyr=this,pc(this.elements.container)||(this.elements.container=_c("div",{tabindex:0}),Oc(this.media,this.elements.container)),Ih.migrateStyles.call(this),Ih.addStyleHook.call(this),Bh.setup.call(this),this.config.debug&&Wc.call(this,this.elements.container,this.config.events.join(" "),(function(t){n.debug.log("event: ".concat(t.type))})),this.fullscreen=new Ch(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Ih.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Uh(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",(function(){return Xc(n.play())})),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new zh(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return wl(t,[{key:"play",value:function(){var t=this;return hc(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((function(){return t.ads.play()})).catch((function(){return Xc(t.media.play())})),this.media.play()):null}},{key:"pause",value:function(){return this.playing&&hc(this.media.pause)?this.media.pause():null}},{key:"togglePlay",value:function(t){return(cc(t)?t:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):hc(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(t){this.currentTime-=uc(t)?t:this.config.seekTime}},{key:"forward",value:function(t){this.currentTime+=uc(t)?t:this.config.seekTime}},{key:"increaseVolume",value:function(t){var e=this.media.muted?0:this.volume;this.volume=e+(uc(t)?t:0)}},{key:"decreaseVolume",value:function(t){this.increaseVolume(-t)}},{key:"toggleCaptions",value:function(t){wh.toggle.call(this,t,!1)}},{key:"airplay",value:function(){qc.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(t){if(this.supported.ui&&!this.isAudio){var e=Lc(this.elements.container,this.config.classNames.hideControls),i=void 0===t?void 0:!t,n=jc(this.elements.container,this.config.classNames.hideControls,i);if(n&&fc(this.config.controls)&&this.config.controls.includes("settings")&&!wc(this.config.settings)&&yh.toggleMenu.call(this,!1),n!==e){var s=n?"controlshidden":"controlsshown";Zc.call(this,this.media,s)}return!n}return!1}},{key:"on",value:function(t,e){Wc.call(this,this.elements.container,t,e)}},{key:"once",value:function(t,e){$c.call(this,this.elements.container,t,e)}},{key:"off",value:function(t,e){Yc(this.elements.container,t,e)}},{key:"destroy",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var n=function(){document.body.style.overflow="",e.embed=null,i?(Object.keys(e.elements).length&&(Mc(e.elements.buttons.play),Mc(e.elements.captions),Mc(e.elements.controls),Mc(e.elements.wrapper),e.elements.buttons.play=null,e.elements.captions=null,e.elements.controls=null,e.elements.wrapper=null),hc(t)&&t()):(Jc.call(e),ih.cancelRequests.call(e),Pc(e.elements.original,e.elements.container),Zc.call(e,e.elements.original,"destroyed",!0),hc(t)&&t.call(e.elements.original),e.ready=!1,setTimeout((function(){e.elements=null,e.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(Ih.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&hc(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))}}},{key:"supports",value:function(t){return qc.mime.call(this,t)}},{key:"isHTML5",get:function(){return this.provider===Eh.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===Eh.youtube}},{key:"isVimeo",get:function(){return this.provider===Eh.vimeo}},{key:"isVideo",get:function(){return this.type===Oh}},{key:"isAudio",get:function(){return this.type===xh}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(t){if(this.duration){var e=uc(t)&&t>0;this.media.currentTime=e?Math.min(t,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var t=this.media.buffered;return uc(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var t=parseFloat(this.config.duration),e=(this.media||{}).duration,i=uc(e)&&e!==1/0?e:0;return t||i}},{key:"volume",set:function(t){var e=t;lc(e)&&(e=Number(e)),uc(e)||(e=this.storage.get("volume")),uc(e)||(e=this.config.volume),e>1&&(e=1),e<0&&(e=0),this.config.volume=e,this.media.volume=e,!wc(t)&&this.muted&&e>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(t){var e=t;cc(e)||(e=this.storage.get("muted")),cc(e)||(e=this.config.muted),this.config.muted=e,this.media.muted=e},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(t){var e=this,i=null;uc(t)&&(i=t),uc(i)||(i=this.storage.get("speed")),uc(i)||(i=this.config.speed.selected);var n=this.minimumSpeed,s=this.maximumSpeed;i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(t,e),i)}(i,n,s),this.config.speed.selected=i,setTimeout((function(){e.media.playbackRate=i}),0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,Ol(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,Ol(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(t){var e=this.config.quality,i=this.options.quality;if(i.length){var n=[!wc(t)&&Number(t),this.storage.get("quality"),e.selected,e.default].find(uc),s=!0;if(!i.includes(n)){var a=function(t,e){return fc(t)&&t.length?t.reduce((function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t})):null}(i,n);this.debug.warn("Unsupported quality option: ".concat(n,", using ").concat(a," instead")),n=a,s=!1}e.selected=n,this.media.quality=n,s&&this.storage.set({quality:n})}},get:function(){return this.media.quality}},{key:"loop",set:function(t){var e=cc(t)?t:this.config.loop.active;this.config.loop.active=e,this.media.loop=e},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(t){source.change.call(this,t)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var t=this.config.urls.download;return bc(t)?t:this.source},set:function(t){bc(t)&&(this.config.urls.download=t,yh.setDownloadUrl.call(this))}},{key:"poster",set:function(t){this.isVideo?Ih.setPoster.call(this,t,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var t=Qc(eh.call(this));return fc(t)?t.join(":"):t},set:function(t){this.isVideo?lc(t)&&Kc(t)?(this.config.ratio=t,nh.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(t,")")):this.debug.warn("Aspect ratio can only be set for video")}}
2,{key:"autoplay",set:function(t){var e=cc(t)?t:this.config.autoplay;this.config.autoplay=e},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(t){wh.set.call(this,t,!1)},get:function(){var t=this.captions,e=t.toggled,i=t.currentTrack;return e?i:-1}},{key:"language",set:function(t){wh.setLanguage.call(this,t,!1)},get:function(){return(wh.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(t){if(qc.pip){var e=cc(t)?t:!this.pip;hc(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(e?Th:Sh),hc(this.media.requestPictureInPicture)&&(!this.pip&&e?this.media.requestPictureInPicture():this.pip&&!e&&document.exitPictureInPicture())}},get:function(){return qc.pip?wc(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Th:null}}],[{key:"supported",value:function(t,e,i){return qc.check(t,e,i)}},{key:"loadSprite",value:function(t,e){return ph(t,e)}},{key:"setup",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;return lc(e)?n=Array.from(document.querySelectorAll(e)):dc(e)?n=Array.from(e):fc(e)&&(n=e.filter(pc)),wc(n)?null:n.map((function(e){return new t(e,i)}))}}]),t}();Wh.defaults=function(t){return JSON.parse(JSON.stringify(t))}(kh);var script={name:"VuePlyr",props:{options:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{player:{}}},computed:{opts:function(){var t=this.options;return Object.prototype.hasOwnProperty.call(this.options,"hideYouTubeDOMError")||(t.hideYouTubeDOMError=!0),t}},mounted:function(){this.player=new Wh(this.$el,this.opts)},beforeUnmount:function(){try{this.player.destroy()}catch(t){this.opts.hideYouTubeDOMError&&"The YouTube player is not attached to the DOM."===t.message||console.error(t)}},render:function(){var t=this.$slots.default;return"function"==typeof t?t()[0]:t}};script.install=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.plyr&&(script.props.options.default=function(){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Ln(Object(source),!0).forEach((function(e){jn(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ln(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},e.plyr)}),t.component(script.name,script)},e.default=script}).call(this,n(53))},303:function(t,e,n){"use strict";var r={elementId:0,J_ELEMENTS:{},J_GROUPS:{},J_ANIMATIONS:[],scrollY:document.documentElement.scrollTop,scrollX:document.documentElement.scrollLeft,viewportX:document.documentElement.clientWidth,viewportY:document.documentElement.clientHeight,mouseIsDown:!1,lastMousePosition:{x:0,y:0},emptyStyle:document.createElement("div").style,vendors:["webkit","moz","ms","o"]};const o=function(t){for(var e in r.J_ELEMENTS)if(r.J_ELEMENTS[e].node()===t)return r.J_ELEMENTS[e];r.elementId++,r.J_ELEMENTS[r.elementId]=this,this.el=t,this.id=r.elementId,this.eventRegister={},this.boundingRect={top:0,left:0,_top:0,_left:0,width:0,height:0,innerHeight:0,innerWidth:0},this.scrollPos={x:0,y:0},this.scrollable=!1,this.fakeScroll=!1,this.innerHeight=0,this.parent=!1,this.groups=[],this.transform=[],this.extensions=[],this.loaded=!1;var n=this;"IMG"==this.el.tagName?this.el.complete>0?(this.loaded=!0,this.recalcBounding(!1)):(this.addEvent("load",(function(){n.loaded=!0,n.recalcBounding(!1)})),this.addEvent("error",(function(){n.loaded=!0,n.recalcBounding(!1)}))):"VIDEO"==this.el.tagName?this.el.videoWidth>0?(this.loaded=!0,this.recalcBounding(!1)):(this.addEvent("canplay",(function(){n.loaded=!0,n.recalcBounding(!1)})),this.addEvent("error",(function(){n.loaded=!0,n.recalcBounding(!1)}))):this.loaded=!0,this.recalcBounding(!1),n.node()!=window&&n.node()!=document&&n.node()!=document.body&&this.addEvent("scroll",(function(){requestAnimationFrame((function(){n.scrollPos.x=n.node().scrollLeft,n.scrollPos.y=n.node().scrollTop}))}),!1)};o.prototype.node=function(){return this.el},o.prototype.isChildOf=function(t){return this.node()!=document&&this.node()!=window&&(t instanceof o?t.node().contains(this.node()):t==document||t==window||void t.contains(this.node()))},o.prototype.isFixed=function(t){if(void 0===t)t=!1;if(void 0!==this.fixed&&!t)return this.fixed;for(var e=this,n=!1;0!=e&&1!=n&&e.el!=window;)n="fixed"==e.getStyle("position"),e=e.getParent();return this.fixed=n,this.fixed},o.prototype.getBounding=function(){return this.boundingRect},o.prototype.getRealBounding=function(){var t=this.getScrollableParent(),e=0,n=0;return t&&t.node()!=document.body&&(e=t.scroll().y,n=t.scroll().x),this.isFixed()?(this.boundingRect._top=this.boundingRect.top-e,this.boundingRect._left
2=this.boundingRect.left-n):(this.boundingRect._top=this.boundingRect.top-r.scrollY-e,this.boundingRect._left=this.boundingRect.left-r.scrollX-n),this.boundingRect},o.prototype.top=function(){return this.boundingRect.top},o.prototype.left=function(){return this.boundingRect.left},o.prototype.width=function(){return this.boundingRect.width},o.prototype.height=function(){return this.boundingRect.height},o.prototype.getId=function(){return this.id},o.prototype.getParent=function(){return this.parent},o.prototype.recalcBounding=function(t){if(void 0===t&&(t=!0),this.node()!=document&&this.node()!=window){var e,n,o,l,c,h,f,d,m=this.getStyle("overflow"),y=this.getStyle("overflow-x"),v=this.getStyle("overflow-y");if(this.scrollable="scroll"==m||"auto"==m||"scroll"==y||"auto"==y||"scroll"==v||"auto"==v||void 0!==this.inertiaValue||this.forceScrollable,this.hideTransform(),this.node()!=window){var w=this.el.parentNode;if(null!=w&&null!=w&&"HTML"!=w.tagName||(w=!1),this.isSVG())(rect=this.el.getBBox()).top=rect.y,rect.left=rect.x;else var rect=this.el.getBoundingClientRect();this.parent=_(w);var k=this.calcScrollableParent(),T=0,S=0;k&&k.node()!=document.body&&(k.recalcBounding(!1),T=k.scroll().y,S=k.scroll().x),this.isFixed()?(e=rect.top+T,l=rect.left+S):(e=rect.top+r.scrollY+T,l=rect.left+r.scrollX+S),n=rect.top,o=rect.left,this.isSVG()?(c=rect.height,h=rect.width,f=rect.height,d=rect.width):(c=void 0!==this.el.offsetHeight?this.el.offsetHeight:rect.height,h=void 0!==this.el.offsetWidth?this.el.offsetWidth:rect.width,f=this.el.scrollHeight,d=this.el.scrollWidth)}else e=0,l=0,n=0,o=0,c=window.innerHeight,h=window.innerWidth,f=window.innerHeight,d=window.innerWidth;f==c&&d==h&&(this.scrollable=!1);var E={top:e,left:l,_top:n,_left:o,width:h,height:c,innerHeight:f,innerWidth:d};if(this.hasCover&&this.recalcCover(),this.recalcTransform(),this.boundingRect!=E&&(this.boundingRect={top:e,left:l,_top:n,_left:o,width:h,height:c,innerHeight:f,innerWidth:d},!["absolute, fixed"].includes(this.getStyle("position"))&&this.getParent()&&t&&this.getParent().recalcBounding(),t))for(var i=0;i<r.J_ELEMENTS.length;i++)r.J_ELEMENTS[i].isChildOf(this)&&r.J_ELEMENTS[i].recalcBounding(!1)}return this.recalcScroll(),this.node()!=document&&this.node()!=document.body&&this.node()!=window||(this.scrollable=!0,null!=document.body?(this.boundingRect.innerHeight=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),this.boundingRect.innerWidth=Math.max(document.body.scrollWidth,document.body.offsetWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.offsetWidth)):(this.boundingRect.innerHeight=Math.max(document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),this.boundingRect.innerWidth=Math.max(document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.offsetWidth))),this},o.prototype.recalcScroll=function(t,e){if(this.node()!=document&&this.node()!=document.body&&this.node()!=window)if(void 0!==t&&void 0!==e||this.getFakeScroll()){if(void 0===t||void 0===e)return;this.scrollPos.x=t,this.scrollPos.y=e}else this.scrollPos.x=this.node().scrollLeft,this.scrollPos.y=this.node().scrollTop;else void 0===t||void 0===e?(this.scrollPos.x=r.scrollX,this.scrollPos.y=r.scrollY):(this.scrollPos.x=t,this.scrollPos.y=e)},o.prototype.trigger=function(){if(void 0===t)var t=this;O.isEventSupported(arguments[0],this)?O.triggerEvent(this,arguments[0]):this._triggerSpecial.apply(this,arguments)},o.prototype._triggerSpecial=function(t,e){var n=Array.prototype.slice.call(arguments,1);t in this.eventRegister&&this.eventRegister[t].fire.apply(this.eventRegister[t],n)},o.prototype.addEvent=function(t,e,n){O.addEvent(this,t,e,n)},o.prototype.removeEvent=function(t,e){this.eventRegister.hasOwnProperty(t)&&this.eventRegister[t].removeCallback(e);return this},o.prototype.addTransform=function(t){return O.inArray(t,this.transform)||(this.transform.push(t),t.addToElement(this)),this},o.prototype.removeTransform=function(t){var e=this.transform.indexOf(t);return this.transform.splice(e,1),this},o.prototype.recalcTransform=function(){for(var t="",e=this.transform,i=0;i<e.length;i++)t+=" "+e[i].getStyle();return this.el.style.webkitTransform=t,this.el.style.mozTransform=t,this.el.style.msTransform=t,this.el.style.oTransform=t,this.el.style.transform=t,this},o.prototype.hideTransform=function(){this.el.style.webkitTransform="",this.el.style.mozTransform="",this.el.style.msTransform="",this.el.style.oTransform="",this.el.style.transform=""},o.prototype.addExtension=function(t){for(var e=!1,i=0;i<this.extensions.length;i++)this.extensions[i].constructor==t.constructor&&(e=!0);return e||(t=t.clone(this),this.extensions.push(t)),t},o.prototype.getExtension=function(t){for(var i=0;i<this.extensions.length;i++)if(this.extensions[i].constructor==t)return this.extensions[i];return!1},o.prototype.getStyle=function(t){var e=O.transformStyleProp(t);return this.el!=window&&this.el!=document&&O.isNode(this.el)?window.getComputedStyle(this.node()).getPropertyValue(e):(console.warn("You cannot get the Styling of the window element."),console.log(this),!1)},o.prototype.style=function(t,e,n){return O.style(this,t,e,n),"position"==t&&void 0===n&&this.isFixed(!0),this},o.prototype.setProp=function(t,e,n){return void 0===n&&(n=!1),void 0===e&&(e=""),this.node().style.setProperty(t,e),n&&(this.recalcBounding(),O.recalcGroups()),this},o.prototype.setScrollable=function(t){return void 0===t&&(t=!0),this.scrollable=t,this.forceScrollable=t,this},o.prototype.addClass=function(t,e){return O.addClass(this,t,e),this},o.prototype.removeClass=function(t,e){return O.removeClass(this,t,e),this},o.prototype.delayedClass=function(t,e,n){return O.delayedClass(this,t,e,n),this},o.prototype.hasClass=function(t){return O.hasClass(this,t)},o.prototype.attr=function(t,e){return this.el.setAttribute(t,e),this},o.prototype.append=function(t,e){return void 0===e&&(e=!1),O.isNode(t)||t.nodeType&&3==t.nodeType?this.node().appendChild(t):t instanceof o?this.node().appendChild(t.node()):this.node().innerHTML+=t,e&&(this.recalcBounding(),O.recalcGroups()),this},o.prototype.get=function(t){return new h(t,this)},o.prototype.calcScrollableParent=function(){for(var t=0!=this.getParent()?this.getParent():this;0!=t&&!t.isScrollable();)t=t.getParent();return this.scrollableParent=t,this.scrollableParent},o.prototype.getScrollableParent=function(t){return void 0===t&&(t="auto"),_(t).length>0&&_(t)[0].isRoot()?_(document.body):"auto"!=t?_(t)[0]:0!=this.scrollableParent?this.scrollableParent:this.calcScrollableParent()},o.prototype.scrollHeight=function(){return this.boundingRect.innerHe
2ight},o.prototype.scrollWidth=function(){return this.boundingRect.innerWidth},o.prototype.isScrollable=function(){return this.scrollable||this.fakeScroll||this.node()==document.body||this.node()==document||this.node()==window},o.prototype.setFakeScroll=function(t){null==t&&(t=!0),this.fakeScroll=t,1==t&&O.is_touch_device()?(this.style("overflow","auto",!1),this.style("height","100%",!1)):(this.style("overflow","visible",!1),this.style("height","",!1))},o.prototype.getFakeScroll=function(){return this.fakeScroll},o.prototype.scroll=function(){return this.scrollPos},o.prototype.cover=function(t){if(void 0===t)t=!0;this.hasCover=t,this.hasCover&&this.recalcCover()},o.prototype.getCover=function(){return this.hasCover},o.prototype.isSVG=function(){return this.node()instanceof SVGElement&&"svg"!==this.node().tagName.toLowerCase()},o.prototype.recalcCover=function(){var t,e,n=this.getParent();"VIDEO"==this.node().tagName?(t=this.node().videoWidth,e=this.node().videoHeight):(t=this.node().naturalWidth,e=this.node().naturalHeight);var r=e/t,o=n.getBounding().width,l=n.getBounding().height,c=l/o;if("relative"==this.getStyle("position")||"static"==this.getStyle("position"))return this.style("top","",!1),this.style("left","",!1),this.style("width","",!1),void this.style("height","",!1);r>=c?(this.style("top",-(o*r-l)/2+"px",!1),this.style("left","0px",!1),this.style("width",o+"px",!1),this.style("height",o*r+"px",!1)):(this.style("top","0px",!1),this.style("left",-(l/r-o)/2+"px",!1),this.style("height",l+"px",!1),this.style("width",l/r+"px",!1))},o.prototype.isRoot=function(){return this.node()==document.body||this.node()==document||this.node()==window},o.prototype.scrollTo=function(t,e,n){if(void 0===n)n=!1;if(void 0===e&&(e=t,t=0),this.fakeScroll){if(void 0!==this.inertiaValue&&!n)return void(this.inertiaValue=Math.max(e,t));void 0===this.scrollTransform&&(this.scrollTransform=new JTransform,this.node()==document.body||this.node()==document||this.node()==window?this.scrollTransform.addToElement(_(document.body)):this.scrollTransform.addToElement(this)),this.scrollTransform.setStyle("translate3d("+-t+"px, "+-e+"px, 0px)")}else(n||void 0===this.inertiaValue)&&(this.node()==document.body||this.node()==document||this.node()==window?window.scrollTo(t,e):(this.node().scrollTop=e,this.node().scrollLeft=t)),void 0===this.inertiaValue||n||(this.inertiaValue=Math.max(e,t));this.recalcScroll(t,e)};var l=o;const c=function(t,e){if(void 0===e&&(e=document),t in r.J_GROUPS){if(r.J_GROUPS[t].parent==e)return r.J_GROUPS[t];r.J_GROUPS[t]=this}else t?r.J_GROUPS[t]=this:r.J_GROUPS[Object.keys(r.J_GROUPS).length]=this;if(this.parent=e,this.selector=t,this.transforms=[],this.extensions=[],this.animations=[],this.hasCover=!1,this.hasScrollable=void 0,this.hasFakeScroll=void 0,this.eventRegister={},"string"==typeof this.selector?this.type="selector":this.type="node",this.getNodes(),NodeList.prototype.isPrototypeOf(this.selector))for(var i=0;i<this.selector.length;i++)this.addElement(this.selector[i]);return this};(c.prototype=new Array).getNodes=function(){if(void 0!==this.selector){if("string"==typeof this.selector)if(this.parent instanceof c)for(var t=[],i=0;i<this.parent.length;i++){var e=this.parent[i].node().querySelectorAll(this.selector);e=Array.prototype.slice.call(e),t=t.concat(e)}else if(Array.isArray(this.parent))for(t=[],i=0;i<this.parent.length;i++){e=this.parent[i].querySelectorAll(this.selector);e=Array.prototype.slice.call(e),t=t.concat(e)}else if(this.parent instanceof l)t=this.parent.node().querySelectorAll(this.selector);else t=this.parent.querySelectorAll(this.selector);else if(Array.isArray(this.selector)||NodeList.prototype.isPrototypeOf(this.selector))t=this.selector;else t=[this.selector];t=[...t].filter((t=>!this.includes(t)))}else t=[];for(i=0;i<t.length;i++){var n=t[i];n instanceof l==0&&(n=new l(n)),this.assignSettings(n),this.push(n)}for(i=0;i<this.length;i++)(this[i].node()!=window&&!document.body.contains(this[i].node())||O.inArray(this[i],this,2))&&(this.splice(i,1),i--);return this},c.prototype.assignSettings=function(t){t.cover(this.hasCover),void 0!==this.hasFakeScroll&&t.setFakeScroll(this.hasFakeScroll),void 0!==this.hasScrollable&&t.setScrollable(this.hasScrollable);for(var e=0;e<this.transforms.length;e++)t.addTransform(this.transforms[e]);for(var n in this.eventRegister)for(e=0;e<this.eventRegister[n].length;e++)t.addEvent(n,this.eventRegister[n][e].callback,this.eventRegister[n][e].recalc);for(e=0;e<this.extensions.length;e++)t.addExtension(this.extensions[e]);for(e=0;e<this.animations.length;e++)t.trackProgress=-1;return this},c.prototype.nodes=function(){return this},c.prototype.setFakeScroll=function(t){if(null==t)t=!0;for(var i=0;i<this.length;i++)this[i].setFakeScroll(t);return this.hasFakeScroll=t,this},c.prototype.hasAnimation=function(t,e){for(var i=0;i<this.animations.length;i++)if(this.animations[i]instanceof t)return this.animations[i];return!1},c.prototype.get=function(t){for(var e=new c(t,this.nodes()),i=0;i<this.length;i++)for(var n=this[i].node().querySelectorAll(t),r=0;r<n.length;r++)e.addElement(_(n[r]));return e},c.prototype.recalcBounding=function(){for(var i=0;i<this.length;i++)this[i].recalcBounding();return this},c.prototype.addElement=function(t){if(t instanceof c)for(var e=t.getNodes(),i=0;i<e.length;i++)O.inArray(e[i],this)||(this.push(e[i]),this.assignSettings(e[i]));else if(t instanceof l)O.inArray(t,this)||(this.push(t),this.assignSettings(t));else if(O.isNode(t)){var element=_(t);O.inArray(element,this)||(this.push(element),this.assignSettings(element))}else for(e=document.querySelectorAll(t),i=0;i<e.length;i++){element=_(e[i]);O.inArray(element,this)||(this.push(element),this.assignSettings(element))}},c.prototype.add=c.prototype.addElement,c.prototype.removeElement=function(t){if(t instanceof c)for(var e=t.getNodes(),i=0;i<e.length;i++)O.inArray(e[i],this)||this.slice(this.indexOf(e[i]),1);else if(t instanceof l)O.inArray(t,this)||this.slice(this.indexOf(t),1);else if(O.isNode(t)){var element=_(t);O.inArray(element,this)||this.slice(this.indexOf(element),1)}else for(e=document.querySelectorAll(t),i=0;i<e.length;i++){element=_(e[i]);O.inArray(element,this)||this.slice(this.indexOf(element),1)}},c.prototype.remove=c.prototype.removeElement,c.prototype.append=function(t,e){if(void 0===e&&(e=!1),O.isNode(t)||t.nodeType&&3==t.nodeType)var element=t;else if(t instanceof l)element=t.node();else for(var i=0;i<this.length;i++)this.node().innerHTML+=t;var n=[];if(void 0!==element)for(i=0;i<this.length;i++)0!=i&&(element=element.cloneNode(!0)),this[i].node().appendChild(element),n.push(_(element));return e&&(this.recalcBounding(),O.recalcGroups()),n},c.prototype.addClass=function(t,e){for(var i=0;i<this.length;i++)O.addClass(this[i],t,e);return this},c.prototype.removeClass=function(t,e){for(var i=0;i<this.length;i++)O.removeClass(this[i],t,e);return this},c.prototype.hasClass=function(t){for(var i=0;i<this.length;i++)if(!O.hasClass(this[i],t))return!1;return 0!=this.length},c.prototype.delayedClass=function(t,e,n){void 0===e&&(e=80);for(var i=0;i<this.length;i++)O.delayedClass(this[i],t,e*i,n);return this},c.prototype.cover=function(t){void 0===t&&(t=!0),this.hasCover=t;for(var i=0;i<this.length;i++)this[i].cover(t);return this},c.prototype.setScrollable=function(t){void 0===t&&(t=!0),this.hasScrollable=t;for(var i=0;i<this.length;i++)this[i].setScrollable(t);return this},c.prototype.trigger=function(t,e){for(var i=0;i<this.length;i++){if(void 0===e)var n=this[i];else n=e;this[i].trigger(t,n)}},c.prototype.addEvent=function(t,e,n){void 0===n&&(n=!1),this.eventRegister.hasOwnProperty(t)||(this.eventRegister[t]=new Array);var r={callback:e,recalc:n};if(!O.inArray(r,this.eventRegister[t])){this.eventRegister[t].push(r);for(var i=0;i<this.length;i++)this[i].addEvent(t,e,n)}},c.prototype.removeEvent=function(t,e,n){if(void 0===n&&(n=!1),this.eventRegister.hasOwnProperty(t)||(this.eventRegister[t]=new Array),O.inArray(e,this.eventRegister[t])){this.eventRegister[t].indexOf({callback:e,recalc:n});for(var i=0;i<this.length;i++)this[i].removeEvent(t,e,n)}},c.prototype.addTransform=function(t){if(!O.inArray(t,this.transforms)){this.transforms.push(t);for(var i=0;i<this.length;i++)this[i].addTransform(t)}},c.prototype.removeTransform=function(t){var e=this.transforms.indexOf(t);this.transforms.splice(e,1);for(var i=0;i<this.length;i++)this[i].removeTransform(t)},c.prototype.addExtension=function(t){var output=[];if(!O.inArray(t,this.extensions)){this.extensions.push(t);for(var i=0;i<this.length;i++){var e=this[i].addExtension(t);output.push(e)}this.getNodes()}return output},c.prototype.getExtension=function(t,e){if(void 0===e)e=!1;var n=[];if(e);else for(var i=0;i<this.length;i++){var r=this[i].getExtension(extension);r&&n.push(r)}return n},c.prototype.style=function(t,e,n){if(void 0===e)e="";for(var i=0;i<this.length;i++)O.style(this[i],t,e,n);return this},c.prototype.setProp=function(t,e,n){if(void 0===e)e="";for(var i=0;i<this.length;i++)this[i].setProp(t,e,n);return this};var h=c;const f=function(t,e,n){if(void 0===e)e=!1;this.callbacks=[],this.type=t,e&&this.callbacks.push({callback:e,recalc:n})};f.prototype.addCallback=function(t,e){void 0===e&&(e=!0);for(var i=0;i<this.callbacks.length;i++)if(this.callbacks[i].callback==t)return this.callbacks[i].recalc=e,!0;this.callbacks.push({callback:t,recalc:e})},f.prototype.removeCallback=function(t){for(var i=0;i<this.callbacks.length;i++)if(this.callbacks[i].callback==t){var e=i;break}this.callbacks.splice(e,1)},f.prototype.fire=function(){for(var t=!1,i=0;i<this.callbacks.length;i++)this.callbacks[i].callback.apply(void 0,arguments),1==this.callbacks[i].recalc&&(t=!0);t&&O.recalcGroups()};var d=f;function m(){for(var i=0;i<r.J_ANIMATIONS.length;i++)r.J_ANIMATIONS[i].running&&r.J_ANIMATIONS[i].animate()}function y(){for(var i in r.J_ELEMENTS)r.J_ELEMENTS[i].recalcBounding(!1)}function v(){for(var t in r.J_GROUPS)r.J_GROUPS.hasOwnProperty(t)&&r.J_GROUPS[t].getNodes()}function w(t){if(null==r.emptyStyle[t]){var e=t.charAt(0).toUpperCase()+t.slice(1);
2for(var n in r.vendors)if(void 0!==r.emptyStyle[r.vendors[n]+e])return r.vendors[n]+e}return t}function k(t,e,n,r){var object;void 0===r&&(r=!1),object=t instanceof l?t.node():t,n instanceof d?object.addEventListener?object.addEventListener(e,(function(t){n.fire(t)})):object.attachEvent?object.attachEvent("on"+e,(function(t){n.fire(t)})):object["on"+e]=function(t){n.fire(t)}:object.addEventListener?object.addEventListener(e,(function(t){n(t),r&&v()})):object.attachEvent?object.attachEvent("on"+e,(function(t){n(t),r&&v()})):object["on"+e]=function(t){n(t),r&&v()}}function T(t){return t.nodeType===Node.ELEMENT_NODE||t==document||t==window||t==document.body}var S,E=(S={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(t,e){var n,r;void 0===e?r=document.createElement(S[t]||"div"):(n=e instanceof l?e.node().tagName:T(e)?e.tagName:e,r=document.createElement(n.toLowerCase()));var o=(t="on"+t)in r;return o||(r.setAttribute(t,"return;"),o="function"==typeof r[t]),r=null,o});const x={mainLoop:function t(){requestAnimationFrame((function(){t()})),m()},recalc:m,recalcBoundings:y,cleanUpJElements:function(){for(var i in r.J_ELEMENTS)r.J_ELEMENTS[i].node()==window||r.J_ELEMENTS[i].node()==document.body||document.body.contains(r.J_ELEMENTS[i].node())||delete r.J_ELEMENTS[i]},recalcGroups:v,cloneObject:function t(e){var n={};for(var r in e)"object"==typeof e[r]?n[r]=t(e[r]):n[r]=e[r];return n},extendDefaults:function(source,t){var e;for(e in t)t.hasOwnProperty(e)&&(source[e]=t[e]);return source},addClass:function(t,e,n){void 0===n&&(n=!1),t.hasClass(e)||(t.node().classList.add(e),n&&t.recalcBounding())},removeClass:function(t,e,n){void 0===n&&(n=!1),t.hasClass(e)&&(t.node().classList.remove(e),n&&t.recalcBounding())},delayedClass:function(t,e,n,r){void 0===e&&(e="active"),void 0===n&&(n=50),void 0===r&&(r=!1),setTimeout((function(){r?t.removeClass(e,!1):t.addClass(e,!1)}),n)},hasClass:function(t,e){return t.node().classList.contains(e)},transformStyleProp:w,addRealEvent:k,addEvent:function(t,e,n,r){var o;void 0===r&&(r=!1),T(t)?k(t,e,n,r):t.eventRegister.hasOwnProperty(e)?(o=t.eventRegister[e]).addCallback(n,r):(o=new d(e,n,r),t.eventRegister[e]=o,(t instanceof l||t instanceof h)&&E(e,t.node().tagName)&&k(t,e,o))},getElementToEvent:function(t){var e,n=t||event;return n.srcElement?e=n.srcElement:n.target&&(e=n.target),e},inArray:function(t,e,n){void 0===n&&(n=1);for(var r=0,i=0;i<e.length;i++)if(e[i]===t&&++r==n)return!0;return!1},arrayHasKey:function(t,e){for(var n in e)if(n==t)return!0;return!1},isNode:T,triggerEvent:function(t,e){if("createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent(e,!1,!0),t.node().dispatchEvent(n)}else t.node().fireEvent("on"+e)},style:function(t,e,n,r){if(t.node()==window&&(t=$j(document.body)),void 0===r&&(r=!0),void 0===e&&(e=""),"transform"==e)t.node().style.webkitTransform=n,t.node().style.mozTransform=n,t.node().style.msTransform=n,t.node().style.oTransform=n,t.node().style.transform=n;else if("transitionDuration"==e)t.node().style.webkitTransitionDuration=n,t.node().style.mozTransitionDuration=n,t.node().style.msTransitionDuration=n,t.node().style.oTransitionDuration=n,t.node().style.transitionDuration=n;else{var o=w(e);t.node().style[o]=n}r&&y()},isLoaded:function(t){var e=jEl.node();switch(e.tagName){case"IMG":return e.complete>0;case"VIDEO":return e.videoWidth>0;default:return!0}},is_touch_device:function(){return"ontouchstart"in window||navigator.maxTouchPoints},isEventSupported:E,replaceAll:function(t,e,n){return t.replace(new RegExp(function(t){return t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(e),"g"),n)},logTime:function(t){var e=new Date-t;console.log("Computation took "+e/1e3+" seconds.")}};var O=x;const A=function(t,e){return t instanceof h||t instanceof l?t:"string"==typeof t||NodeList.prototype.isPrototypeOf(t)?new h(t,e):!(null==t||null==t||!t)&&(O.isNode(t)?new l(t):void 0)};A.addEvent=function(t,e,n,r){O.addEvent(t,e,n,r)},A.is_touch=function(t){return O.is_touch_device()},A.create=function(t){return A(document.createElement(t))},A.recalc=function(){O.cleanUpJElements(),O.recalcGroups(),O.recalcBoundings(),A(document.body).trigger("recalc")};var _=A;const C=function(t,e,n,r){this.cx=3*t,this.bx=3*(n-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(r-e)-this.cy,this.ay=1-this.cy-this.by,this.epsilon=1e-4};C.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},C.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},C.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},C.prototype.solveCurveX=function(t){if(t>1)return 1;if(t<0)return 0;var e,n,r,o,l,i;for(r=t,i=0;i<8;i++){if(o=this.sampleCurveX(r)-t,Math.abs(o)<this.epsilon)return r;if(l=this.sampleCurveDerivativeX(r),Math.abs(l)<this.epsilon)break;r-=o/l}if((r=t)<(e=0))return e;if(r>(n=1))return n;for(;e<n;){if(o=this.sampleCurveX(r),Math.abs(o-t)<this.epsilon)return r;t>o?e=r:n=r,r=.5*(n-e)+e}return r},C.prototype.solve=function(t){return this.sampleCurveY(this.solve
2CurveX(t))};var M=C;const I=function(t){this._duration=1e3,this._original=t,this._from=O.cloneObject(t),this._to=t,this._onChange=function(){},this._easing=new M(0,0,1,1),this._perc=0,this._offset=0};I.prototype.duration=function(t){return this._duration=t,this},I.prototype.easing=function(t){return this._easing=t,this},I.prototype.to=function(t,e){if(this._to=t,null!=e&&(this._duration=e),this._perc>0){for(var n in this._to)this._from[n]=this._original[n];this._offset=this._offset+this._perc*(1-this._offset),this.start(!0)}return this},I.prototype.onChange=function(t){return this._onChange=t,this},I.prototype.start=function(t){if(null==t)t=!1;return 0==this._perc&&JSON.stringify(this._from)!=JSON.stringify(this._to)&&(this.startTime=(new Date).getTime(),this.endTime=this.startTime+this._duration,this.run()),t&&(this.startTime=(new Date).getTime()),this},I.prototype.stop=function(){return this.endTime=(new Date).getTime(),this},I.prototype.run=function(){var t=(new Date).getTime(),e=(t-this.startTime)/(this.endTime-this.startTime);this._perc=e;var n=this._easing.solve(this._offset),r=this._offset+e*(1-this._offset);for(var o in e=1*(e=this._easing.solve(r)-n)/(1-n),this._to){var l=this.splitSuffix(this._from[o]),c=this.splitSuffix(this._to[o]);this._original[o]=l.value+(c.value-l.value)*e+c.suffix}if(this._onChange(this._original,100*e),t<this.endTime){var h=this;requestAnimationFrame((function(){h.run()}))}else this._from[o]=this._original[o],this._perc=0,this._offset=0},I.prototype.splitSuffix=function(t){var e=0,n=t;switch(!0){case 0==isNaN(t):break;case 2==t.split("px").length:e="px",n=t.split("px")[0];break;case 2==t.split("%").length:e="%",n=t.split("%")[0];break;case 2==t.split("em").length:e="em",n=t.split("em")[0];break;case 2==t.split("rem").length:e="rem",n=t.split("rem")[0]}return{suffix:e,value:parseFloat(n)}};var P=I;const N=function(style){if(void 0===style)style="";this.style=style,this.appliedTo=[]};N.prototype.addToElement=function(t){O.inArray(t,this.appliedTo)||(this.appliedTo.push(t),t.recalcTransform(),t.addTransform(this))},N.prototype.removeElement=function(t){if(O.inArray(t,this.appliedTo)){var i=this.appliedTo.indexOf(t);this.appliedTo.splice(i,1),t.recalcTransform()}},N.prototype.setStyle=function(t){if(void 0===t)t="";if(this.style!=t){this.style=t;for(var i=0;i<this.appliedTo.length;i++)this.appliedTo[i].recalcTransform()}},N.prototype.getStyle=function(){return this.style};var R=N;var j=class{constructor(){this.defaults={},this.running=!0}init(t,e){if(this._options=e,t instanceof l||O.isNode(t))this.group=new h,this.group.addElement(t);else{if(!(t instanceof h))return console.error("No valid element passed to Effect Object"),!1;this.group=t}r.J_ANIMATIONS.push(this),this.transforms={},e=e&&"object"==typeof e?O.extendDefaults(this.defaults,e):this.defaults,this.options=e}stop(){this.running=!1}start(){this.running=!0}reset(){this.running=!1}};class L extends j{constructor(t,e){super(),this.defaults={speed:10,autoScale:!0,easing:"linear",scope:"auto",direction:"y",rotate:!1,setTransform:!0},this.init(t,e)}animate(){for(var i=0;i<this.group.length;i++){var element=this.group[i];if("cursor"==this.options.scope)var t={x:(n=element.getRealBounding())._left+.5*n.width,y:n._top+.5*n.height},e=r.lastMousePosition;else{t={x:(n=element.getBounding()).left+.5*n.width,y:n.top+.5*n.height};var n,o=element.getScrollableParent(this.options.scope),l={x:o.scrollWidth(),y:o.scrollHeight()};if(o.node()==document||o.node()==document.body)var c={x:r.viewportX,y:r.viewportY},h={x:0,y:0};else{if(o.getFakeScroll()&&!o.isRoot())c={x:o.getParent().getBounding().width,y:o.getParent().getBounding().height};else c={x:o.getBounding().width,y:o.getBounding().height};h={x:o.getBounding().left,y:o.getBounding().top}}t={x:Math.min(Math.max(0,t.x-h.x-.5*c.x),l.x-c.x),y:Math.min(Math.max(0,t.y-h.y-.5*c.y),l.y-c.y)};e=o.scroll()}var f={x:this.options.speed/100*(e.x-t.x),y:this.options.speed/100*(e.y-t.y)};if(this.options.autoScale&&"cursor"!=this.options.scope)var d={x:element.width()-element.getParent().width(),y:element.height()-element.getParent().height()},m={x:this.options.speed/100*c.x,y:this.options.speed/100*c.y},y={x:Math.max(1,(element.height()+(d.x-m.x))/element.height()),y:Math.max(1,(element.width()+(d.y-m.y))/element.width())};else y={x:1,y:1};"y"==this.options.direction&&(f.x=0,y.x=1),"x"==this.options.direction&&(f.y=0,y.y=1),this.options.setTransform?(void 0===this.transforms[element.i
2d]&&(this.transforms[element.id]=new R,this.transforms[element.id].addToElement(element)),this.options.rotate?this.transforms[element.id].setStyle("rotateX(-"+f.y+"deg) rotateY(-"+f.x+"deg) translateZ(0) scale("+Math.max(y.x,y.y)+")"):this.transforms[element.id].setStyle("translate3d("+f.x+"px, "+f.y+"px, 0px) scale("+Math.max(y.x,y.y)+")")):(this.options.rotate?(element.setProp("--j-parallax-x",f.x+"deg"),element.setProp("--j-parallax-y",-f.y+"deg")):(element.setProp("--j-parallax-x",f.x+"px"),element.setProp("--j-parallax-y",f.y+"px")),element.setProp("--j-parallax-scale",Math.max(y.x,y.y)))}}reset(){super.reset();for(var i=0;i<this.group.length;i++){var element=this.group[i];this.options.setTransform?void 0!==this.transforms[element.id]&&this.transforms[element.id].setStyle(""):(element.setProp("--j-parallax-x"),element.setProp("--j-parallax-y"),element.setProp("--j-parallax-scale"))}}}h.prototype.parallax=function(t){if(0==this.hasAnimation(L,t)){var e=new L(this,t);return this.animations.push(e),e}return this.hasAnimation(L,t)};var D=L;class F extends j{constructor(t,e){super(),this.defaults={flowInClass:"j-flow-in",flowOutClass:"j-flow-out",repeat:!0,flowIn:function(){},flowOut:function(){},flowInReverse:function(){},flowOutReverse:function(){},playing:!0,rampIn:90,rampOut:!1,direction:"y",scope:"auto"},this.cachedElements={},this.init(t,e),this.options.rampOut>this.options.rampIn&&console.error("The 'rampIn' value needs to be bigger than the 'rampOut' value! (Values from 0 to 100");var n=this;this.group.addEvent("flowIn",(function(t){n.options.flowIn(t)}),!1),this.group.addEvent("flowOut",(function(t){n.options.flowOut(t)}),!1),this.group.addEvent("flowInReverse",(function(t){n.options.flowInReverse(t)}),!1),this.group.addEvent("flowOutReverse",(function(t){n.options.flowOutReverse(t)}),!1);var r="200%",o="200%",l="200%",c="200%";"y"==this.options.direction?(r=(this.options.rampOut?-1*this.options.rampOut:0)+"%",l=-1*(100-this.options.rampIn)+"%"):(c=(this.options.rampOut?-1*this.options.rampOut:0)+"%",o=-1*(100-this.options.rampIn)+"%");e={rootMargin:[r,o,l,c].join(" "),threshold:[0],root:"auto"==this.options.scope?null:this.options.scope.node()};this.observer=new IntersectionObserver((t=>{t.forEach((t=>{var element=$j(t.target);t.intersectionRatio>0?(this.options.rampIn&&0==this.cachedElements[element.id]&&(element.addClass(this.options.flowInClass,!1),element.trigger("flowIn",element)),this.options.rampOut&&2==this.cachedElements[element.id]&&(element.removeClass(this.options.flowOutClass,!1),element.trigger("flowOutReverse",element)),this.cachedElements[element.id]=1):(this.options.rampOut&&t.boundingClientRect.y<0&&(this.cachedElements[element.id]=2,element.addClass(this.options.flowOutClass,!1),element.addClass(this.options.flowInClass,!1),element.trigger("flowOut",element)),this.options.rampIn&&this.options.repeat&&t.boundingClientRect.y>=0&&(this.cachedElements[element.id]=0,element.removeClass(this.options.flowInClass,!1),element.trigger("flowInReverse",element)))}))}),e)}animate(){if(!(this.options.rampOut>this.options.rampIn)){"auto"==this.options.scope?$j(document.body):this.options.scope.node();for(var i=0;i<this.group.length;i++)this.cachedElements.hasOwnProperty(this.group[i].id)||(this.observer.observe(this.group[i].node()),this.cachedElements[this.group[i].id]=0)}}}h.prototype.flowIn=function(t){if(0==this.hasAnimation(F,t)){var e=new F(this,t);return this.animations.push(e),e}return this.hasAnimation(F,t)};var V=F;class B extends j{constructor(t,e){super(),this.defaults={from:100,to:0,change:function(t){},trackStart:function(t){},trackEnd:function(t){},trackStartReverse:function(t){},trackEndReverse:function(t){},easing:!1,direction:"y",anchor:"start",scope:"auto",offset:50,ignorePosition:!1,absolute:!1},this.init(t,e);var n=this;this.currentProgress={},this.group.addEvent("trackStart",(function(t){}),!1),this.group.addEvent("trackEnd",(function(t){}),!1),this.group.addEvent("trackChange",(function(t,e){"function"==typeof n.options.change&&n.options.change(t,e)}),!1)}animate(){for(var i=0;i<this.group.length;i++){var element=this.group[i],t=element.getScrollableParent(this.options.scope),e="y"==this.options.direction?t.scroll().y:t.scroll().x;
2if(t.node()==document||t.node()==document.body)var n="y"==this.options.direction?r.viewportY:r.viewportX,o=0;else{if(t.getFakeScroll()&&!t.isRoot())var l=t.getParent().getBounding();else l=t.getBounding();n="y"==this.options.direction?l.height:l.width,o="y"==this.options.direction?t.getBounding().top:t.getBounding().left}var c=0;if(void 0===this.currentProgress[element.id]&&(this.currentProgress[element.id]=-1),this.options.ignorePosition){var h=("y"==this.options.direction?t.scrollHeight():t.scrollWidth())-n;if("stretch"==this.options.anchor)var f=(i+1)*(y=h/this.group.length),d=e+this.options.from/100*y,m=e+y*this.options.to/100;else{var y;f=(i+1)*(y=h/(this.group.length-1))-this.options.offset/100*y,d=e+y-this.options.to/100*y,m=e+y-this.options.from/100*y}}else if(this.options.absolute){h=("y"==this.options.direction?t.scrollHeight():t.scrollWidth())-n;if("start"==this.options.anchor)f=e,m=(d=this.options.from/100*n)+(this.options.to-this.options.from)/100*n;else if("middle"==this.options.anchor||"center"==this.options.anchor)console.warn("You cant use anchor: middle together with absolute: true"),f=0;else f=e,m=(d=h-(100-this.options.from)/100*n)+(this.options.to-this.options.from)/100*n;f=f-o}else{var v=element.getBounding();if("start"==this.options.anchor)f="y"==this.options.direction?v.top+v.height:v.left+v.width;else if("middle"==this.options.anchor||"center"==this.options.anchor)f="y"==this.options.direction?v.top+v.height/2:v.left+v.width/2;else f="y"==this.options.direction?v.top:v.left;f=f-o,m=e+this.options.from/100*n,d=e+this.options.to/100*n}c=this.mapValues(d,m,0,100,f);if(c=Math.max(0,c),(c=Math.min(100,c))!=this.currentProgress[element.id]){this.options.easing&&(c=100*this.options.easing.solve(c/100));var w=this.currentProgress[element.id];this.currentProgress[element.id]=c;var k=this.options.change;if("string"==typeof k);else if(k instanceof Array){for(var T=new Array,S=0;S<k.length;S++){var E=c/100;void 0!==k[S].easing&&(E=k[S].easing.solve(E)),void 0!==k[S].startValue&&void 0!==k[S].endValue&&(E=this.mapValues(0,1,k[S].endValue,k[S].startValue,E)),"transform"==k[S].attr?T.push(O.replaceAll(k[S].value,"{value}",E)):element.style(k[S].attr,O.replaceAll(k[S].value,"{value}",E),!1)}this.applyTransform(element,T)}else if("object"==typeof k){E=c/100;void 0!==k.startValue&&void 0!==k.endValue&&(E=this.mapValues(0,1,k.endValue,k.startValue,E)),"transform"==k.attr?this.applyTransform(element,O.replaceAll(k.value,"{value}",E),!1):void 0!==k.value?element.style(k.attr,O.replaceAll(k.value,"{value}",E),!1):element.style(k.attr,E,!1)}else element.trigger("trackChange",element,c/100);0==w&&(this.options.trackStart(element),element.trigger("trackStart",element)),100==c&&(this.options.trackEnd(element),element.trigger("trackEnd",element)),100==w&&(this.options.trackEndReverse(element),element.trigger("trackEndReverse",element)),0==c&&(this.options.trackStartReverse(element),element.trigger("trackStartReverse",element))}}}mapValues(t,e,n,r,o){return o=n+(e-o)/(e-t)*(r-n)}applyTransform(element,t){if(t instanceof Array||Array.isArray(t))var e=t.join(" ");else e=t;void 0===this.transforms[element.id]&&(this.transforms[element.id]=new R,this.transforms[element.id].addToElement(element)),this.transforms[element.id].setStyle(e)}}h.prototype.track=function(t){if(0==this.hasAnimation(B,t)){var e=new B(this,t);return this.animations.push(e),e}return this.hasAnimation(B,t)};var U=B;class H extends j{constructor(t,e){super(),this.defaults={speed:1,direction:"y",scrollbar:!0,inertia:!0,touchTop:function(){},touchBottom:function(){},triggerFrom:!1,freeze:!1,damping:1},this.init(t,e),this.hold=this.options.freeze;var n=this;this.group.addEvent("touchBottom",(function(t){n.options.touchTop(t)})),this.group.addEvent("touchTop",(function(t){n.options.flowOut(t)}))}animate(){for(var element,t,e,i=0;i<this.group.length;i++){if(element=this.group[i],e=this.getFrame(element),element.inertiaMaxSize=e.inner-e.max,!O.is_touch_device()&&this.options.inertia){if(void 0===element.inertiaValue&&this.initScroll(element),r=0,n=0,"y"==this.options.direction)var n=element.scroll().y+1*(element.inertiaValue-parseFloat(element.scroll().y))/12*this.options.damping;else var r=element.scroll().x+1*(element.inertiaValue-parseFloat(element.scroll().x))/12*this.options.damping;(r>element.scroll().x||n>element.scroll().y)&&!element.getFakeScroll()?(r=Math.ceil(r),n=Math.ceil(n)):element.getFakeScroll()&&(r=+r.toFixed(2),n=+n.toFixed(2));r=Math.min(r,element.inertiaMaxSize),n=Math.min(n,element.inertiaMaxSize);element.scrollTo(r,n,!0)}if(this.options.scrollbar)if(void 0===(element=this.group[i]).inertiaScrollbar&&this.initScrollbar(element),t=element.inertiaScrollbar,element.inertiaLastFrame!=e&&("y"==this.options.direction?t.style("height",e.max/e.inner*100+"%",!1):t.style("width",e.max/e.inner*100+"%",!1)),e.max==e.inner?t.getParent().addClass("hide"):t.getParent().removeClass("hide"),"y"==this.options.direction){var o=t.parent.getBounding().height*(element.scroll().y/element.scrollHeight());t.transform[0].setStyle("translateY("+o+"px)")}else{o=t.parent.getBounding().width*(element.scroll().x/element.scrollWidth());t.transform[0].setStyle("translateX("+o+"px)")}element.inertiaLastFrame=e}}getFrame(element){var t,e;return"y"==this.options.direction?(e=element.isRoot()?r.viewportY:element.getBounding().height,t=element.scrollHeight()):(e=element.isRoot()?r.viewportX:element.getBounding().width,t=element.scrollWidth()),element.getFakeScroll()&&!element.isRoot()&&(e="y"==this.options.direction?element.getParent().getBounding().innerHeight:element.getParent().getBounding().innerWidth,t="y"==this.options.direction?element.getParent().scrollHeight():element.getParent().scrollWidth()),{inner:t,max:e}}initScroll(t){var e=this;t.inertiaValue=0,t.setScrollable(),t.getFakeScroll()&&t.node()!=document&&t.node()!=document.body&&t.node()!=window?t.getParent().style("overflow","hidden"):t.style("overflow","hidden"),t.node()!=document&&t.node()!=document.body||($j(window).inertiaValue=0,$j(window).scrollable=!0),t.node()==document||t.node()==document.body||0==t.getFakeScroll()?(t.addEvent("mousewheel",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1),t.addEvent("wheel",(function(n){return e.setFinalScroll(t,5*n.deltaY,n),!1}),!1),t.addEvent("DOMMouseScroll",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1)):(t.getParent().addEvent("mousewheel",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1),t.getParent().addEvent("wheel",(function(n){return e.setFinalScroll(t,5*n.deltaY,n),!1}),!1),t.getParent().addEvent("DOMMouseScroll",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1)),this.options.triggerFrom&&($j(this.options.triggerFrom).addEvent("mousewheel",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1),$j(this.options.triggerFrom).addEvent("wheel",(function(n){return e.setFinalScroll(t,5*n.deltaY,n),!1}),!1),$j(this.options.triggerFrom).addEvent("DOMMouseScroll",(function(n){return e.setFinalScroll(t,n.wheelDelta,n),!1}),!1))}initScrollbar(t){var e=this,n=$j.create("div"),r=$j.create("span");$j(n).append(r),"y"==this.options.direction?n.addClass("j-scrollbar-y"):n.addClass("j-scrollbar-x"),r.addClass("j-scrollbar-indicator"),r.style("position","absolute"),r.style("cursor","pointer"),t.inertiaScrollbar=r,(new R).addToElement(r),t.isRoot()?($j(document.body).append(n),n.style("position","fixed")):t.getParent().append(n),r.addEvent("mousedown",(function(n){e.dragStart(t,r)})),$j(document.body).addEvent("mouseup",(function(n){e.dragEnd(t,r)})),$j(document.body).addEvent("mousemove",(function(n){e.drag(t,r)}))}dragStart(t,e){this.hold||(this.dragStartPosition={x:lastMousePosition.x,y:lastMousePosition.y},this.dragStartValue=t.inertiaValue,$j(document.body).style("-webkit-touch-callout","none",!1),$j(document.body).style("-webkit-user-select","none",!1),$j(document.body).style("-moz-user-select","none",!1),$j(document.body).style("-ms-user-select","none",!1),$j(document.body).style("user-select","none",!1))}
2drag(t,e){if(this.dragStartPosition&&mouseIsDown){var n=this.getFrame(t);if("y"==this.options.direction)var r=this.dragStartPosition.y-lastMousePosition.y,o=this.dragStartValue-r/e.getParent().getBounding().height*n.inner;else r=this.dragStartPosition.x-lastMousePosition.x,o=this.dragStartValue-r/e.getParent().getBounding().width*n.inner;o=Math.max(0,o),o=Math.min(o,t.inertiaMaxSize),t.inertiaValue=o}else;}dragEnd(t){this.dragStartPosition=!1,$j(document.body).style("-webkit-touch-callout","",!1),$j(document.body).style("-webkit-user-select","",!1),$j(document.body).style("-moz-user-select","",!1),$j(document.body).style("-ms-user-select","",!1),$j(document.body).style("user-select","",!1)}setFinalScroll(t,e,n){if(!this.hold){var r=t.inertiaValue+.35*e*this.options.speed;r=Math.max(0,r),r=Math.min(r,t.inertiaMaxSize);var o=(r=Math.round(r))-t.inertiaValue;if(t.getFakeScroll());else;if("y"==this.options.direction)var l=t.scroll().y;else l=t.scroll().x;t.inertiaValue!=r||Math.abs(r-l),t.inertiaValue=r,"y"==this.options.direction&&t.trigger("scrollInertia",{x:0,y:o}),"x"==this.options.direction&&t.trigger("scrollInertia",{x:o,y:0})}}shift(element,t){var e=this.getFrame(element);n=element.inertiaValue+t/100*e.max,n=Math.max(0,n),n=Math.min(n,element.inertiaMaxSize);var n=Math.round(n);element.inertiaValue=n}freeze(element,t){this.hold=!0}unfreeze(element,t){this.hold=!1}}h.prototype.inertia=function(t){if(0==this.hasAnimation(H,t)){var e=new H(this,t);return this.animations.push(e),e}return this.hasAnimation(H,t)};var z=H;class W extends j{constructor(t,e){super(),this.defaults={target:!1,mode:"bounding",scaling:1,offset:0,maxDistance:350,respectTransformsOnOrigin:!1,respectTransformsOnTarget:!1,relative:!1,easing:!1,collateEvents:!1,onCollide:function(){},onDecollide:function(){},onApproach:function(){}},this.cachedValues={},this.init(t,e)}animate(){for(var t,e,n,o=[],i=0;i<this.group.length;i++)if(void 0===this.cachedValues[this.group[i].id]&&(this.cachedValues[this.group[i].id]={dx:0,dy:0,distance:1e4}),t=this.getBounding(this.group[i],"origin"),"cursor"===this.options.target)n=this.calculateDistance({x:t._left+t.width/2,y:t._top+t.height/2,width:t.width,height:t.height},{x:r.lastMousePosition.x,y:r.lastMousePosition.y,width:0,height:0}),this.options.collateEvents?o.push({obj:this.group[i],distance:n}):this.triggerEvents(this.group[i],void 0,n);else{if(0==this.options.target)var l=this.group;else l=this.options.target;o=[];for(var c=0;c<l.length;c++)this.group[i]!=l[c]&&(void 0===this.cachedValues[this.group[i].id][l[c].id]&&(this.cachedValues[this.group[i].id][l[c].id]={dx:0,dy:0,distance:1e6}),e=this.getBounding(l[c],"target"),n=this.calculateDistance({x:t._left+t.width/2,y:t._top+t.height/2,width:t.width,height:t.height},{x:e._left+e.width/2,y:e._top+e.height/2,width:e.width,height:e.height}),this.options.collateEvents?o.push({obj:this.group[i],target:l[c],distance:n}):this.triggerEvents(this.group[i],l[c],n));this.options.collateEvents&&this.triggerCollatedEvent(o)}this.options.collateEvents&&"cursor"===this.options.target&&this.triggerCollatedEvent(o)}triggerCollatedEvent(t){t.sort(((a,b)=>a.distance.distance<b.distance.distance?-1:a.distance.distance>b.distance.distance?1:0));for(var i=t.length-1;i>=0;i--)if(0!=t[i].distance.distance&&0!=i){if(void 0!==t[i].target&&0!=t[i].distance.distance)var e=Math.max(this.cachedValues[t[i].obj.id][t[i].obj.id].distance,0);else e=Math.max(this.cachedValues[t[i].obj.id].distance,0);0!=e||this.triggerEvents(t[i].obj,t[i].target,t[i].distance)}else this.triggerEvents(t[i].obj,t[i].target,t[i].distance)}getBounding(t,e){if("origin"==e&&this.options.respectTransformsOnOrigin||"target"==e&&this.options.respectTransformsOnTarget){var n=t.node().getBoundingClientRect();return n._left=n.left,n._top=n.top,n}return t.getRealBounding()}calculateDistance(t,e){if("origin"!=this.options.mode)var n=Math.max(-t.height/2,-t.width/2,-this.options.offset),r=Math.max(Math.abs(e.x-t.x)-(t.width+e.width)/2+n,0),o=Math.max(Math.abs(e.y-t.y)-(t.height+e.height)/2+n,0);else n=Math.max(0,this.options.offset),r=Math.max(Math.abs(e.x-t.x)+n,0),o=Math.max(Math.abs(e.y-t.y)+n,0);return{dx:r*(t.x>e.x?-1:1),dy:o*(t.y>e.y?-1:1),distance:Math.min(Math.sqrt(r*r+o*o),this.options.maxDistance)}}triggerEvents(t,e,n){var r=Math.max(n.distance,0);if(void 0!==e)var o=Math.max(this.cachedValues[t.id][e.id].distance,0);else o=Math.max(this.cachedValues[t.id].distance,0);if(void 0!==e)var l=this.cachedValues[t.id][e.id];else l=this.cachedValues[t.id];n.distance==l.distance&&n.dx==l.dx&&n.dy==l.dy||(void 0!==e?this.cachedValues[t.id][e.id]=n:this.cachedValues[t.id]=n,this.options.relative&&(n.distance=n.distance/this.options.maxDistance,n.dx=n.dx/this.options.maxDistance,n.dy=n.dy/this.options.maxDistance),0==r&&r<o&&this.options.onCollide(n,t,e),0==o&&r>o&&this.options.onDecollide(n,t,e),this.options.onApproach(n,t,e))}}h.prototype.proximity=function(t){if(0==this.hasAnimation(W,t)){var e=new W(this,t);return this.animations.push(e),e}return this.hasAnimation(W,t)};var Y=W;class $ extends j{constructor(t,e){super(),this.position={},this.transform=void 0,this.defaults={target:"cursor",attraction:8,setTransform:!0,mode:"drag"},this.inertiaValues=[],this.transforms=[],this.init(t,e)}target(t){this.options.target=t;for(var i=0;i<this.group.length;i++)this.group[i].followTarget=t}initialiseElement(t){switch(t.followTarget=this.options.target,!0){case"cursor"==t.followTarget:this.inertiaValues[t.id]={x:r.lastMousePosition.x,y:r.lastMousePosition.y};break;case t.followTarget instanceof JElement:this.inertiaValues[t.id]=this.getElementCenter(t);break;default:this.inertiaValues[t.id]={x:t.followTarget.x,y:t.followTarget.y}}}getElementCenter(t){var e=t.followTarget.getRealBounding();return{x:e._left+e.width/2,y:e._top+e.height/2}}animate(){for(var element,t,i=0;i<this.group.length;i++){switch(void 0===(element=this.group[i]).followTarget&&this.initialiseElement(element),!0){case"cursor"==element.followTarget:t=r.lastMousePosition;break;case element.followTarget instanceof JElement:t=this.getElementCenter(element);break;default:t=element.followTarget}
2var e=t.x+(this.inertiaValues[element.id].x-parseFloat(t.x))*(1-.03*this.options.attraction),n=t.y+(this.inertiaValues[element.id].y-parseFloat(t.y))*(1-.03*this.options.attraction);this.inertiaValues[element.id].x=e,this.inertiaValues[element.id].y=n,element.boundingRect.left=e-element.boundingRect.width/2,element.boundingRect.top=n-element.boundingRect.height/2,this.options.setTransform?(void 0===this.transforms[element.id]&&(this.transforms[element.id]=new R,this.transforms[element.id].addToElement(element)),this.transforms[element.id].setStyle("translate3d("+e+"px, "+n+"px, 0px) translate3d(-50%, -50%, 0)")):(element.setProp("--j-follow-x",e+"px"),element.setProp("--j-follow-y",n+"px"))}}recalc(t){}}h.prototype.follow=function(t){if(0==this.hasAnimation($,t)){var e=new $(this,t);return this.animations.push(e),e}return this.hasAnimation($,t)};var Z=$;var J=class{constructor(){}_init(t,e){if(this.jEl=t,r.elementId++,this.id=r.elementId,void 0===e&&{}.constructor==t.constructor){this.jEl=void 0;e=t}if(null==this.defaults&&(this.defaults={}),e&&"object"==typeof e)e=O.extendDefaults(this.defaults,e);else e=this.defaults;this.options=e,void 0!==this.jEl&&this.init()}clone(t){return new this.constructor(t,this.options)}init(){}recalc(){}};class G extends J{constructor(t,e){super(),this.bricks=[],this.columns=[],this.transforms={},this.imgs=void 0,this.defaults={selector:".j-bricks",align:void 0,recalcOnImageLoad:!0,priority:40,useTransform:!0},this._init(t,e)}init(){var t=this;if(O.addEvent(window,"resize",(function(e){t.recalc(!0)})),O.addEvent(window,"load",(function(e){t.recalc()})),$j(document.body).addEvent("recalc",(function(e){t.recalc()})),this.options.recalcOnImageLoad){this.imgs=this.jEl.get("img");for(var i=0;i<this.imgs.length;i++)this.imgs[i].loaded||(this.imgs[i].addEvent("load",(function(){t.recalc()})),this.imgs[i].addEvent("error",(function(){t.recalc()})))}this.reloadBricks(!0),this.initBoundings(),this.initColumnSpan(),this.fillColumns(!0)}getAlignment(){if(null!=this.options.align)return this.options.align;var t=this.jEl.getStyle("text-align");if("flex"!=this.jEl.getStyle("display"))return"left"==t||"right"==t||"center"==t||"justify"==t?t:"justify";switch(this.jEl.getStyle("justify-content")){case"flex-start":return"left";case"flex-end":return"right";case"space-between":return"justify";case"center":return"center"}}initBoundings(){this.alignment=this.getAlignment(),this.offset={},this.offset.left=parseInt(this.jEl.getStyle("padding-left"),10),this.offset.right=parseInt(this.jEl.getStyle("padding-right"),10),this.offset.top=parseInt(this.jEl.getStyle("padding-top"),10),this.offset.bottom=parseInt(this.jEl.getStyle("padding-bottom"),10);var t=this.jEl.getBounding().innerWidth-this.offset.left-this.offset.right;this.columnWidth=Number.POSITIVE_INFINITY,this.columnCount=0;for(var i=0;i<this.bricks.length;i++)this.columnWidth=Math.min(this.columnWidth,this.bricks[i].width+this.bricks[i].marginRight+this.bricks[i].marginLeft),this.columnCount=Math.max(this.columnCount,parseInt(t/this.columnWidth));"justify"!=this.alignment?this.containerWidth=this.columnCount*this.columnWidth:this.containerWidth=t,"right"==this.alignment&&(this.offset.left+=t-this.containerWidth-this.bricks[0].marginLeft),"center"==this.alignment&&(this.offset.left+=(t-this.containerWidth)/2),this.columnCount>1?this.columnGap=(this.containerWidth-this.columnCount*this.columnWidth)/(this.columnCount-1):(this.columnGap=0,"justify"==this.alignment&&(this.offset.left+=(this.containerWidth-this.columnWidth)/2)),this.columns=[];for(i=0;i<this.columnCount;i++){var e={bricks:[],height:this.offset.top};this.columns.push(e)}}reloadBricks(t){this._bricks=this.jEl.get(this.options.selector),this.bricks=[],1==t&&this._bricks.style("transition","none",!1),this.jEl.style("height","",!1),this._bricks.style("position","",!1),this._bricks.style("width","",!1),this._bricks.style("left","",!1),this._bricks.style("top","",!1);for(var i=0;i<this._bricks.length;i++){this.options.useTransform&&(void 0===this.transforms[this._bricks[i].id]&&(this.transforms[this._bricks[i].id]=new R,this.transforms[this._bricks[i].id].addToElement(this._bricks[i])),this.transforms[this._bricks[i].id].setStyle("")),this._bricks[i].recalcBounding(!1);var e=this._bricks[i].getBounding(),n={el:this._bricks[i],width:e.width,height:e.height,marginBottom:parseInt(this._bricks[i].getStyle("margin-bottom"),10),marginTop:parseInt(this._bricks[i].getStyle("margin-top"),10),marginRight:parseInt(this._bricks[i].getStyle("margin-right"),10),marginLeft:parseInt(this._bricks[i].getStyle("margin-left"),10),order:i};this.bricks.push(n)}this.options.useTransform&&(this._bricks.style("left","0px",!1),this._bricks.style("top","0px",!1))}initColumnSpan(){for(var i=0;i<this.bricks.length;i++)this.bricks[i].columnSpan=Math.ceil((this.bricks[i].width-1)/this.columnWidth,10)}fillColumns(t){for(var i=0;i<this.bricks.length;i++){var e=this.chooseColumns(this.bricks[i].columnSpan);this.addToColumns(e,this.bricks[i])}this.setHeight(),1==t&&this._bricks.style("transition","",!1)}setHeight(){for(var t=0,i=0;i<this.columns.length;i++)this.columns[i].height>t&&(t=this.columns[i].height);this.jEl.style("height",t+this.offset.bottom+"px"),setTimeout((function(){O.recalcBoundings()}),0)}chooseColumns(span){for(var t=[],e=Number.POSITIVE_INFINITY,i=0;i<this.columns.length-span+1;i++){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,o=new Array;
2if(1==span){var l=this.columns[i].height+i*this.options.priority;o=[i]}else{for(var a=0;a<span;a++)r=Math.min(r,this.columns[i+a].height),n=Math.max(n,this.columns[i+a].height),o.push(i+a);l=n-r}l<e&&(e=l,t=o)}return t}addToColumns(t,e){for(var n=0,i=0;i<t.length;i++)n=Math.max(n,this.columns[t[i]].height);for(i=0;i<t.length;i++){if(0==i){var r=n,o=this.offset.left+this.columnWidth*t[0]+this.columnGap*t[0];this.positionBrick(e,r,o)}this.columns[t[i]].height=n+e.height+e.marginBottom+e.marginTop}}positionBrick(t,e,n){this.options.useTransform?this.transforms[t.el.id].setStyle("translate3d("+n+"px, "+e+"px, 0px)"):(t.el.style("top",e+"px",!1),t.el.style("left",n+"px",!1)),t.el.style("position","absolute",!1),t.el.style("width",t.width+"px",!1)}recalc(t){void 0!==this.ims&&!0===t&&this.imgs.getNodes(),this.reloadBricks(),this.initBoundings(),this.initColumnSpan(),this.fillColumns()}}h.prototype.bricks=function(t){var e=new G(t);return this.addExtension(e)};var X=G;class K extends J{constructor(t,e){super(),this.curIndex=0,this.slides=[],this.navigationElements=[],this.defaults={scroll:!1,scrollEasing:new JBezier(.7,0,.3,1),scrollDuration:1e3,slides:".j-gallery-slide",navigationWrapper:".j-gallery-nav",arrowNext:".j-gallery-next",arrowPrevious:".j-gallery-previous",pagesTotal:".j-gallery-total",pagesCurrent:".j-gallery-current",slideEnter:function(){},slideLeave:function(){},slideShift:function(){},change:function(){},createNavigation:!1,auto:4e3,repeat:!0,startIndex:0},this._init(t,e),this.running=!1,0==this.options.auto&&0==this.options.auto||(this.running=!0),void 0!==this.jEl&&this.goTo(this.options.startIndex)}init(){this.slides=$j(this.options.slides,this.jEl);var t=this,e=$j(this.options.navigationWrapper,this.jEl);if(this.tempScrollVal=0,e.length>0){for(var i=0;i<e.length;i++)e[i].node().innerHTML="";t=this;function l(e,n){e.addEvent("click",(function(e){t.goTo(n)}))}for(i=0;i<this.slides.length;i++){if(0==this.options.createNavigation)var n=$j.create("span");else n=this.options.createNavigation(this.slides[i]);n.addClass("j-gallery-nav-element",!1);for(var r=e.append(n),a=0;a<r.length;a++)l(r[a],i)}}t=this;if(this.options.arrowNext){var o=$j(this.options.arrowNext,this.jEl);for(i=0;i<o.length;i++)o[i].addEvent("click",(function(){t.next()}))}if(this.options.arrowPrevious)for(o=$j(this.options.arrowPrevious,this.jEl),i=0;i<o.length;i++)o[i].addEvent("click",(function(){t.previous()}));this.slides.addEvent("slideEnter",(function(){t.slideEnter.apply(t,arguments)})),this.slides.addEvent("slideLeave",(function(){t.slideLeave.apply(t,arguments)})),this.jEl.addEvent("galleryChange",(function(){t.galleryChange.apply(t,arguments)})),this.slides.addEvent("slideShift",(function(){t.slideShift.apply(t,arguments)})),this.options.auto&&(this.intervalid=setTimeout((function(){t.next()}),this.options.auto))}recalc(){this.init()}goTo(t){this.intervalid&&clearTimeout(this.intervalid),(t=t%this.slides.length)<0&&(t=this.slides.length-1-t),this.curIndex=t,this.curIndex=t;for(var e=$j(this.options.navigationWrapper,this.jEl),i=0;i<this.slides.length;i++){for(var a=0;a<e.length;a++){var n=$j(".j-gallery-nav-element",e[a]);void 0!==n[i]&&n[i].attr("j-gallery-offset",i-this.curIndex),this.slides[i].attr("j-gallery-offset",i-this.curIndex),i==t?(void 0!==n[i]&&n[i].addClass("active",!1),this.slides[i].addClass("active",!1),this.slides[i].trigger("slideEnter",this.slides[i])
2):(this.slides[i].hasClass("active",!1)&&this.slides[i].trigger("slideLeave",this.slides[i]),this.slides[i].removeClass("active",!1),void 0!==n[i]&&n[i].removeClass("active",!1))}this.slides[i].trigger("slideShift",this.slides[i],i-this.curIndex)}if(this.options.scroll&&this.slides.length>0){var r=this.slides[0].getScrollableParent();if("left"==this.options.scroll)var o=this.slides[t].getBounding().left-r.getBounding().left;else if("right"==this.options.scroll)o=this.slides[t].getBounding().right-r.getBounding().right;else o=this.slides[t].getBounding().left+this.slides[t].getBounding().width-(r.getBounding().left+r.getBounding().width/2)-this.slides[t].getBounding().width/2;var l=this;null==this.anim?(this.anim=new P({scrollValue:this.tempScrollVal}),this.anim.to({scrollValue:o},this.options.scrollDuration).easing(this.options.scrollEasing).onChange((function(t){r.scrollTo(t.scrollValue,0),l.tempScrollVal=o})).start()):this.anim.to({scrollValue:o}).start()}if(this.options.pagesTotal){var output=this.jEl.get(this.options.pagesTotal);for(i=0;i<output.length;i++)output[i].node().innerHTML=this.slides.length}if(this.options.pagesCurrent)for(output=this.jEl.get(this.options.pagesCurrent),i=0;i<output.length;i++)output[i].node().innerHTML=this.curIndex+1;this.jEl.trigger("galleryChange",this);l=this;this.options.auto&&this.running&&(this.intervalid=setTimeout((function(){l.next()}),this.options.auto))}next(){var t;this.options.repeat?(t=this.curIndex+1,t%=this.slides.length):t=this.curIndex<this.slides.length-1?this.curIndex+1:this.curIndex,this.goTo(t)}start(){this.running=!0,this.options.auto&&(this.intervalid=setTimeout((function(){self.next()}),this.options.auto))}stop(){this.running=!1,clearTimeout(this.intervalid)}previous(){var t;this.options.repeat?(t=(this.curIndex-1)%this.slides.length)<0&&(t=this.slides.length-1):t=Math.max(0,this.curIndex-1),this.goTo(t)}slideEnter(t){this.options.slideEnter(t)}slideLeave(t){this.options.slideLeave(t)}galleryChange(t){this.options.change(t)}slideShift(t,e){this.options.slideShift(t,e)}}h.prototype.gallery=function(t){var e=new K(t);return this.addExtension(e)};
2for(var Q=K,tt=["msg","moz","webkit","o"],et=0;et<tt.length&&!window.requestAnimationFrame;et++)window.requestAnimationFrame=window[tt[et]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[tt[et]+"CancelAnimationFrame"]||window[tt[et]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(){var t=(new Date).getTime();Math.max(0,16-(t-0))}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(s){for(var t=(this.document||this.ownerDocument).querySelectorAll(s),i=t.length;--i>=0&&t.item(i)!==this;);return i>-1}),_.Parallax=D,_.FlowIn=V,_.JTrack=U,_.JInertia=z,_.JGallery=Q,_.JProximity=Y,_.JFollow=Z,_.install=function(t,e){t.prototype.$j=_,t.mixin({mounted(){this.$parent}})},O.addEvent(document,"DOMContentLoaded",(function(){_(document.body).removeClass("no-js"),O.recalcBoundings(),r.scrollY=document.documentElement.scrollTop||document.body.scrollTop,r.scrollX=document.documentElement.scrollLeft||document.body.scrollLeft,_(document).recalcBounding(),_(document.body).recalcBounding(),O.is_touch_device()&&_(document.body).addClass("j-touch"),_(document.body).addEvent("mousemove",(function(t){r.lastMousePosition.x=t.clientX,r.lastMousePosition.y=t.clientY}));new MutationObserver((function(t,e){for(const e of t)if("childList"===e.type){requestAnimationFrame((function(){_.recalc()}));break}})).observe(document.body,{childList:!0,subtree:!0})})),O.addEvent(window,"resize",(function(t){r.viewportX=document.documentElement.clientWidth,r.viewportY=document.documentElement.clientHeight,r.scrollY=document.documentElement.scrollTop||document.body.scrollTop,r.scrollX=document.documentElement.scrollLeft||document.body.scrollLeft,O.recalcGroups(),O.recalcBoundings(),O.is_touch_device()?_(document.body).addClass("j-touch"):_(document.body).removeClass("j-touch"),_(document).recalcBounding(),_(document.body).recalcBounding()}),!0),O.addEvent(window,"load",(function(){O.recalcGroups(),O.recalcBoundings(),r.scrollY=document.documentElement.scrollTop||document.body.scrollTop,r.scrollX=document.documentElement.scrollLeft||document.body.scrollLeft,_(document).recalcBounding(),_(document.body).recalcBounding()}),!0),O.addEvent(window,"scroll",(function(){r.scrollY=document.documentElement.scrollTop||document.body.scrollTop,r.scrollX=document.documentElement.scrollLeft||document.body.scrollLeft,_(document.body).scrollPos.x=r.scrollX,_(document.body).scrollPos.y=r.scrollY,_(document).scrollPos.x=r.scrollX,_(document).scrollPos.y=r.scrollY,_(window).scrollPos.x=r.scrollX,_(window).scrollPos.y=r.scrollY})),O.addEvent(window,"mousedown",(function(){r.mouseIsDown=!0})),O.addEvent(window,"mouseup",(function(){r.mouseIsDown=!1})),O.mainLoop(),_(document).loaded=function(t){O.addEvent(document,"DOMContentLoaded",t)},_(window).loaded=function(t){this.addEvent("load",t)},window.$j=_,window.JGroup=h,window.JElement=l,window.JBezier=M,window.JEvent=d,window.JTransform=R,window.JAnimation=P,window.JTrack=U,window.JParallax=D,window.JFlowIn=V,window.JBricks=X,window.JGallery=Q,window.JProximity=Y;var nt=_;e.a=nt},305:function(t,e,n){"use strict";var r=n(28),o=n(29),l=n(435),c=n(306),h=n(307),f=n(97),d=n(154),m=n(5);n(35),n(277),n(34),n(8),n(392),n(21),n(32),n(26),n(49),n(27),n(281),n(282),n(143);function y(t,e,n,r){var p=Object(c.a)(Object(f.a)(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof p?function(t){return p.apply(n,t)}:p}function v(t,e,n){return e=Object(f.a)(e),Object(h.a)(t,w()?Reflect.construct(e,n||[],Object(f.a)(t).constructor):e.apply(t,n))}function w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(w=function(){return!!t})()}var k=function(){return Object(o.a)((function t(e,n){Object(r.a)(this,t),this.modelType=e,this.slug=e+"/",this.$apiAdapter=n,this.$axios=this.$apiAdapter.$axios}),[{key:"$get",value:(e=Object(m.a)(regeneratorRuntime.mark((function t(){var path,e,n=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(path=n.length>0&&void 0!==n[0]?n[0]:"",n.length>1&&void 0!==n[1]&&!n[1]||!this.$apiAdapter.config.multilingual||!this.$apiAdapter.config.multilingual.enabled){t.next=10;break}
2return(e=new URL("https://placeholder.de"+this.slug+path)).searchParams.append("locale",this.$apiAdapter.app.i18n.locale),t.next=7,this.$axios.get(e.toString().replace("https://placeholder.de",""));case 7:case 12:return t.abrupt("return",t.sent.data);case 10:return t.next=12,this.$axios.get(this.slug+path);case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"$post",value:(t=Object(m.a)(regeneratorRuntime.mark((function t(e,data,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$axios.post(this.slug+e,data,n);case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t,this)}))),function(e,n,r){return t.apply(this,arguments)})},{key:"$update",value:function(t,data,e){return this.$patch(t,data,e)}},{key:"$patch",value:function(t,data,e){return this.$axios.patch(this.slug+t,data,e)}},{key:"$put",value:function(t,data,e){return this.$axios.put(this.slug+t,data,e)}},{key:"$delete",value:function(t){return this.$axios.delete(this.slug+t)}}]);var t,e}(),T=function(t){function e(){return Object(r.a)(this,e),v(this,e,arguments)}return Object(d.a)(e,t),Object(o.a)(e,[{key:"$getTranslationsOf",value:(n=Object(m.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.$get("?translation_of="+e,!1));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})}]);var n}(k),S=function(t){function e(){return Object(r.a)(this,e),v(this,e,arguments)}return Object(d.a)(e,t),Object(o.a)(e,[{key:"$path",value:(l=Object(m.a)(regeneratorRuntime.mark((function t(path){var e,n,r,o=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=!(o.length>1&&void 0!==o[1])||o[1],n="?absolute_path="+path,t.prev=2,t.next=5,this.$get(n,!1);case 5:if(!(r=t.sent).meta.total_count){t.next=10;break}if(e){t.next=9;break}return t.abrupt("return",page);case 9:return t.abrupt("return",this.$get(r.items[0].id+"/",!1));case 10:t.next=23;break;case 12:if(t.prev=12,t.t0=t.catch(2),400!=t.t0.response.status&&404!=t.t0.response.status){t.next=18;break}throw{data:"404 not found",url:path,status:404};case 18:if(301!=t.t0.response.status&&302!=t.t0.response.status){t.next=22;break}throw{data:t.t0.response.data.detail,status:t.t0.response.status};case 22:throw{data:"500 Internal Server Error",url:path,status:500};case 23:case"end":return t.stop()}}),t,this,[[2,12]])}))),function(t){return l.apply(this,arguments)})},{key:"$getTranslationsOf",value:(n=Object(m.a)(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!isNaN(n)){t.next=5;break}return t.next=3,this.$path(n);case 3:r=t.sent,n=r.id;case 5:return t.abrupt("return",y(e,"$getTranslationsOf",this,3)([n]));case 6:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})}]);var n,l}(T),E=function(t){function e(){return Object(r.a)(this,e),v(this,e,arguments)}return Object(d.a)(e,t),Object(o.a)(e,[{key:"$name",value:(n=Object(m.a)(regeneratorRuntime.mark((function t(path){var e,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e="?name="+path,t.next=4,this.$get(e);case 4:if(!(n=t.sent).meta.total_count){t.next=9;break}return t.abrupt("return",n.items.find((function(t){return t.name==path})));case 9:throw{data:"404 not found",url:path,status:404};case 10:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})}]);var n}(T),x=function(){function t(e,n){Object(r.a)(this,t),this.config=n,this.app=e,this.$axios=l.a.create({baseURL:this.config.wagtailURL+"/api/v2/"}),this.pages=new S("pages",this),this.documents=new k("documents",this),this.images=new k("images",this),this.blocks=new E("blocks",this),this.menus=new E("menus",this),this.settings=new k("settings",this),this.form=new k("forms",this),this.preview=new k("preview",this)}return Object(o.a)(t,[{key:"addSnippetEndpoint",value:function(t){this[t]=new E(t,this)}}],[{key:"install",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.config.globalProperties.$wagtail=new t(e,n)}}])}();e.a=x},311:function(t,e,n){(function(t){t.installComponents=function(component,t){var n="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(n.components=component.exports.options.components),n.components=n.components||{},t)n.components[i]=n.components[i]||t[i];n.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var n=component.exports.render;component.exports.render=function(e,r){return n(e,Object.assign({},r,{_c:function(e,a,b){return r._c(t[e]||e,a,b)}}))}}(component,n.components)};var e="_functionalComponents"}).call(this,n(53))},390:function(t,e,n){t.exports={}},391:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
vendor: 8,070 bytes, line 2
2ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(){for(var t=window.document,e=o(t);e;)e=o(t=e.ownerDocument);return t}(),e=[],n=null,r=null;c.prototype.THROTTLE_TIMEOUT=100,c.prototype.POLL_INTERVAL=null,c.prototype.USE_MUTATION_OBSERVER=!0,c._setupCrossOriginUpdater=function(){return n||(n=function(t,n){r=t&&n?y(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},c._resetCrossOriginUpdater=function(){n=null,r=null},c.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},c.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},c.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},c.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},c.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,i,a){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==a[i-1]}))},c.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},c.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var r=this._checkForIntersections,l=null,c=null;this.POLL_INTERVAL?l=n.setInterval(r,this.POLL_INTERVAL):(h(n,"resize",r,!0),h(e,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(c=new n.MutationObserver(r)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(l&&t.clearInterval(l),f(t,"resize",r,!0)),f(e,"scroll",r,!0),c&&c.disconnect()}));var d=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=d){var m=o(e);m&&this._monitorIntersections(m.ownerDocument)}}},c.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||t,l=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=r;){var l=o(n);if((n=l&&l.ownerDocument)==e)return!0}return!1}));if(!l){var c=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),c(),e!=r){var h=o(e);h&&this._unmonitorIntersections(h.ownerDocument)}}}},c.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var i=0;i<t.length;i++)t[i]()},c.prototype._checkForIntersections=function(){if(this.root||!n||r){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,c=d(o),h=this._rootContainsTarget(o),f=r.entry,m=t&&h&&this._computeTargetAndRootIntersection(o,c,e),y=null;this._rootContainsTarget(o)?n&&!this.root||(y=e):y={top:0,bottom:0,left:0,right:0,width:0,height:0};var v=r.entry=new l({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:c,rootBounds:y,intersectionRect:m});f?t&&h?this._hasCrossedThreshold(f,v)&&this._queuedEntries.push(v):f&&f.isIntersecting&&this._queuedEntries.push(v):this._queuedEntries.push(v)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},c.prototype._computeTargetAndRootIntersection=function(e,o,l){if("none"!=window.getComputedStyle(e).display){for(var c,h,f,m,v,k,T,S,E=o,x=w(e),O=!1;!O&&x;){var A=null,_=1==x.nodeType?window.getComputedStyle(x):{};if("none"==_.display)return null;if(x==this.root||9==x.nodeType)if(O=!0,x==this.root||x==t)n&&!this.root?!r||0==r.width&&0==r.height?(x=null,A=null,E=null):A=r:A=l;else{var C=w(x),M=C&&d(C),I=C&&this._computeTargetAndRootIntersection(C,M,l);M&&I?(x=C,A=y(M,I)):(x=null,E=null)}else{var P=x.ownerDocument;x!=P.body&&x!=P.documentElement&&"visible"!=_.overflow&&(A=d(x))}if(A&&(c=A,h=E,f=void 0,m=void 0,v=void 0,k=void 0,T=void 0,S=void 0,f=Math.max(c.top,h.top),m=Math.min(c.bottom,h.bottom),v=Math.max(c.left,h.left),k=Math.min(c.right,h.right),S=m-f,E=(T=k-v)>=0&&S>=0&&{top:f,bottom:m,left:v,right:k,width:T,height:S}||null),!E)break;x=x&&w(x)}return E}},c.prototype._getRootRect=function(){var e;if(this.root&&!k(this.root))e=d(this.root);else{var n=k(this.root)?this.root:t,html=n.documentElement,body=n.body;e={top:0,left:0,right:html.clientWidth||body.clientWidth,width:html.clientWidth||body.clientWidth,bottom:html.clientHeight||body.clientHeight,height:html.clientHeight||body.clientHeight}}return this._expandRectByRootMargin(e)},c.prototype._expandRectByRootMargin=function(rect){var t=this._rootMarginValues.map((function(t,i){return"px"==t.unit?t.value:t.value*(i%2?rect.width:rect.height)/100})),e={top:rect.top-t[0],right:rect.right+t[1],bottom:rect.bottom+t[2],left:rect.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},c.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},c.prototype._rootIsInDom=function(){return!this.root||v(t,this.root)},c.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return v(n,e)&&(!this.root||n==e.ownerDocument)},c.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},c.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=c,window.IntersectionObserverEntry=l}function o(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function l(t){this.time=t.time,this.target=t.target,this.rootBounds=m(t.rootBounds),this.boundingClientRect=m(t.boundingClientRect),this.intersectionRect=m(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function c(t,e){var n,r,o,l=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(l.root&&1!=l.root.nodeType&&9!=l.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(l.rootMargin),this.thresholds=this._initThresholds(l.threshold),this.root=l.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function f(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,n)}function d(t){var rect;try{rect=t.getBoundingClientRect()}catch(t){}
vendor: 6,275 bytes, line 2
2return rect?(rect.width&&rect.height||(rect={top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,width:rect.right-rect.left,height:rect.bottom-rect.top}),rect):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function m(rect){return!rect||"x"in rect?rect:{top:rect.top,y:rect.top,bottom:rect.bottom,left:rect.left,x:rect.left,right:rect.right,width:rect.width,height:rect.height}}function y(t,e){var n=e.top-t.top,r=e.left-t.left;return{top:n,left:r,height:e.height,width:e.width,bottom:n+e.height,right:r+e.width}}function v(t,e){for(var n=e;n;){if(n==t)return!0;n=w(n)}return!1}function w(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?o(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function k(t){return t&&9===t.nodeType}}()},426:function(t,e,n){"use strict";(function(t){var r=n(427),o=n(428),l=n(429);function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,e){if(c()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return y(this,t)}return d(this,t,e,n)}function d(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=v(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!f.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|k(e,n);t=h(t,r);var o=t.write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(f.isBuffer(e)){var n=0|w(e.length);return 0===(t=h(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?h(t,0):v(t,e);if("Buffer"===e.type&&l(e.data))return v(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function m(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function y(t,e){if(m(e),t=h(t,e<0?0:0|w(e)),!f.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function v(t,e){var n=e.length<0?0:0|w(e.length);t=h(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function w(t){if(t>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function k(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(t).length;default:if(r)return J(t).length;e=(""+e).toLowerCase(),r=!0}}function T(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return N(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function S(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function E(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=f.from(e,r)),f.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,o);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,o){var i,l=1,c=t.length,h=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;l=2,c/=2,h/=2,n/=2}function f(t,i){return 1===l?t[i]:t.readUInt16BE(i*l)}if(o){var d=-1;for(i=n;i<c;i++)if(f(t,i)===f(e,-1===d?0:i-d)){if(-1===d&&(d=i),i-d+1===h)return d*l}else-1!==d&&(i-=i-d),d=-1}else for(n+h>c&&(n=c-h),i=n;i>=0;i--){for(var m=!0,y=0;y<h;y++)if(f(t,i+y)!==f(e,y)){m=!1;break}if(m)return i}return-1}function O(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var l=e.length;if(l%2!=0)throw new TypeError("Invalid hex string");r>l/2&&(r=l/2);for(var i=0;i<r;++i){var c=parseInt(e.substr(2*i,2),16);if(isNaN(c))return i;t[n+i]=c}return i}function A(t,e,n,r){return X(J(e,t.length-n),t,n,r)}function _(t,e,n,r){return X(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,n,r)}function C(t,e,n,r){return _(t,e,n,r)}function M(t,e,n,r){return X(G(e),t,n,r)}function I(t,e,n,r){return X(function(t,e){for(var n,r,o,l=[],i=0;i<t.length&&!((e-=2)<0);++i)r=(n=t.charCodeAt(i))>>8,o=n%256,l.push(o),l.push(r);return l}(e,t.length-n),t,n,r)}function P(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function N(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,l,c,h,f=t[i],d=null,m=f>239?4:f>223?3:f>191?2:1;if(i+m<=n)switch(m){case 1:f<128&&(d=f);break;
vendor: 5,231 bytes, line 2
2case 2:128==(192&(o=t[i+1]))&&(h=(31&f)<<6|63&o)>127&&(d=h);break;case 3:o=t[i+1],l=t[i+2],128==(192&o)&&128==(192&l)&&(h=(15&f)<<12|(63&o)<<6|63&l)>2047&&(h<55296||h>57343)&&(d=h);break;case 4:o=t[i+1],l=t[i+2],c=t[i+3],128==(192&o)&&128==(192&l)&&128==(192&c)&&(h=(15&f)<<18|(63&o)<<12|(63&l)<<6|63&c)>65535&&h<1114112&&(d=h)}null===d?(d=65533,m=1):d>65535&&(d-=65536,r.push(d>>>10&1023|55296),d=56320|1023&d),r.push(d),i+=m}return function(t){var e=t.length;if(e<=R)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=R));return n}(r)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=c(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,n){return d(null,t,e,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,n){return function(t,e,n,r){return m(e),e<=0?h(t,e):void 0!==n?"string"==typeof r?h(t,e).fill(n,r):h(t,e).fill(n):h(t,e)}(null,t,e,n)},f.allocUnsafe=function(t){return y(null,t)},f.allocUnsafeSlow=function(t){return y(null,t)},f.isBuffer=function(b){return!(null==b||!b._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,n=Math.min(t,e);i<n;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!l(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=f.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var o=t[i];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},f.byteLength=k,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)S(this,i,i+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)S(this,i,i+7),S(this,i+1,i+6),S(this,i+2,i+5),S(this,i+3,i+4);return this},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?N(this,0,t):T.apply(this,arguments)},f.prototype.equals=function(b){if(!f.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===f.compare(this,b)},f.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,n,r,o){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var l=(o>>>=0)-(r>>>=0),c=(n>>>=0)-(e>>>=0),h=Math.min(l,c),d=this.slice(r,o),m=t.slice(e,n),i=0;i<h;++i)if(d[i]!==m[i]){l=d[i],c=m[i];break}return l<c?-1:c<l?1:0},f.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},f.prototype.indexOf=function(t,e,n){return E(this,t,e,n,!0)},f.prototype.lastIndexOf=function(t,e,n){return E(this,t,e,n,!1)},f.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var l=!1;;)switch(r){case"hex":return O(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(l)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),l=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};
vendor: 4,496 bytes, line 2
2var R=4096;function j(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=Z(t[i]);return o}function F(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function V(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,r,o,l){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<l)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function U(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function H(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function z(t,e,n,r,o,l){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,r,l){return l||z(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function Y(t,e,n,r,l){return l||z(t,0,n,8),o.write(t,e,n,r,52,8),n+8}f.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=f.prototype;else{var o=e-t;n=new f(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},f.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||V(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},f.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||V(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},f.prototype.readUInt8=function(t,e){return e||V(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||V(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||V(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||V(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||V(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||V(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},f.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||V(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||V(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||V(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(t,e){e||V(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(t,e){return e||V(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||V(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||V(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||V(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||V(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||V(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||B(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},f.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||B(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},f.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,744 bytes, line 2
28,this[e+1]=255&t):U(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):H(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);B(this,t,e,n,o-1,-o)}var i=0,l=1,sub=0;for(this[e]=255&t;++i<n&&(l*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/l|0)-sub&255;return e+n},f.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);B(this,t,e,n,o-1,-o)}var i=n-1,l=1,sub=0;for(this[e+i]=255&t;--i>=0&&(l*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/l|0)-sub&255;return e+n},f.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):H(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},f.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},f.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},f.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},f.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},f.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var o=f.isBuffer(t)?t:J(new f(t,r).toString()),l=o.length;for(i=0;i<n-e;++i)this[i+e]=o[i%l]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function Z(t){return t<16?"0"+t.toString(16):t.toString(16)}function J(t,e){var n;e=e||1/0;for(var r=t.length,o=null,l=[],i=0;i<r;++i){if((n=t.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&l.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&l.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&l.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&l.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;l.push(n)}else if(n<2048){if((e-=2)<0)break;l.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;l.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;l.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return l}function G(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(53))},427:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,i,n=c(t),r=n[0],h=n[1],f=new l(function(t,e,n){return 3*(e+n)/4-n}(0,r,h)),d=0,m=h>0?r-4:r;
2for(i=0;i<m;i+=4)e=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],f[d++]=e>>16&255,f[d++]=e>>8&255,f[d++]=255&e;2===h&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,f[d++]=255&e);1===h&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,f[d++]=e>>8&255,f[d++]=255&e);return f},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,l=[],c=16383,i=0,f=n-o;i<f;i+=c)l.push(h(t,i,i+c>f?f:i+c));1===o?(e=t[n-1],l.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],l.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return l.join("")};for(var r=[],o=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)r[i]=code[i],o[code.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function h(t,e,n){for(var o,l,output=[],i=e;i<n;i+=3)o=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),output.push(r[(l=o)>>18&63]+r[l>>12&63]+r[l>>6&63]+r[63&l]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},428:function(t,e){e.read=function(t,e,n,r,o){var l,c,h=8*o-r-1,f=(1<<h)-1,d=f>>1,m=-7,i=n?o-1:0,y=n?-1:1,s=t[e+i];for(i+=y,l=s&(1<<-m)-1,s>>=-m,m+=h;m>0;l=256*l+t[e+i],i+=y,m-=8);for(c=l&(1<<-m)-1,l>>=-m,m+=r;m>0;c=256*c+t[e+i],i+=y,m-=8);if(0===l)l=1-d;else{if(l===f)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,r),l-=d}return(s?-1:1)*c*Math.pow(2,l-r)},e.write=function(t,e,n,r,o,l){var c,h,f,d=8*l-o-1,m=(1<<d)-1,y=m>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=r?0:l-1,v=r?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(h=isNaN(e)?1:0,c=m):(c=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-c))<1&&(c--,f*=2),(e+=c+y>=1?rt/f:rt*Math.pow(2,1-y))*f>=2&&(c++,f/=2),c+y>=m?(h=0,c=m):c+y>=1?(h=(e*f-1)*Math.pow(2,o),c+=y):(h=e*Math.pow(2,y-1)*Math.pow(2,o),c=0));o>=8;t[n+i]=255&h,i+=v,h/=256,o-=8);for(c=c<<o|h,d+=o;d>0;t[n+i]=255&c,i+=v,c/=256,d-=8);t[n+i-v]|=128*s}},429:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},98:function(t,e,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,l=r(),c=l.default;void 0===c&&(c=[]);var h=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",(function(){n.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||h):c.length>0?c.map((function(){return t(!1)})):t(!1))}};t.exports=r}}]);

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