vendor: 51,628 bytes, line 1
1var luxon=function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){return e=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);if("object"!=typeof(t=t.call(e,"string")))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(e),"symbol"==typeof e?e:String(e)}(i.key),i)}}function n(e,n,i){n&&t(e.prototype,n),i&&t(e,i),Object.defineProperty(e,"prototype",{writable:!1})}function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,i=arguments[t];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function r(e,t){e.prototype=Object.create(t.prototype),o(e.prototype.constructor=e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,n){return(s=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),1}catch(e){}}}()?Reflect.construct.bind():function(e,t,n){var i=[null];return i.push.apply(i,t),t=new(Function.bind.apply(e,i)),n&&o(t,n.prototype),t}).apply(null,arguments)}function l(e,t){if(null==e)return{};for(var n,i={},r=Object.keys(e),a=0;a<r.length;a++)n=r[a],0<=t.indexOf(n)||(i[n]=e[n]);return i}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(e,t){var n,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){var n;if(e)return"string"==typeof e?c(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),n=0,function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(function(e){var t="function"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)}(e)}(Error)),g=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return r(t,e),t}(d),f=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return r(t,e),t}(d),h=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return r(t,e),t}(d),m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(d),p=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return r(t,e),t}(d),I=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t}(d),C=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return r(t,e),t}(d),y={year:d="numeric",month:d,day:d},A={year:d,month:Vt="short",day:d},b={year:d,month:Vt,day:d,weekday:Vt},v={year:d,month:Tt="long",day:d},B={year:d,month:Tt,day:d,weekday:Tt},F={hour:d,minute:d},Q={hour:d,minute:d,second:d},U={hour:d,minute:d,second:d,timeZoneName:Vt},G={hour:d,minute:d,second:d,timeZoneName:Tt},S={hour:d,minute:d,hourCycle:"h23"},x={hour:d,minute:d,second:d,hourCycle:"h23"},w={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:Vt},Z={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:Tt},k={year:d,month:d,day:d,hour:d,minute:d},V={year:d,month:d,day:d,hour:d,minute:d,second:d},R={year:d,month:Vt,day:d,hour:d,minute:d},E={year:d,month:Vt,day:d,hour:d,minute:d,second:d},L={year:d,month:Vt,day:d,weekday:Vt,hour:d,minute:d},W={year:d,month:Tt,day:d,hour:d,minute:d,timeZoneName:Vt},T={year:d,month:Tt,day:d,hour:d,minute:d,second:d,timeZoneName:Vt},N={year:d,month:Tt,day:d,weekday:Tt,hour:d,minute:d,timeZoneName:Tt},X={year:d,month:Tt,day:d,weekday:Tt,hour:d,minute:d,second:d,timeZoneName:Tt},O=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new C},t.formatOffset=function(e,t){throw new C},t.offset=function(e){throw new C},t.equals=function(e){throw new C},n(e,[{key:"type",get:function(){throw new C}},{key:"name",get:function(){throw new C}},{key:"ianaName",get:function(){return this.name}},{key:"isUniversal",get:function(){throw new C}},{key:"isValid",get:function(){throw new C}}]),e}(),M=null,D=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var i=t.prototype;return i.offsetName=function(e,t){return dt(e,t.format,t.locale)},i.formatOffset=function(e,t){return mt(this.offset(e),t)},i.offset=function(e){return-new Date(e).getTimezoneOffset()},i.equals=function(e){return"system"===e.type},n(t,[{key:"type",get:function(){return"system"}},{key:"name",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return M=null===M?new t:M}}]),t}(O),_=new Map,Y={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},H=new Map,z=function(e){function t(n){var i=e.call(this)||this;return i.zoneName=n,i.valid=t.isValidZone(n),i}r(t,e),t.create=function(e){var n=H.get(e);return void 0===n&&H.set(e,n=new t(e)),n},t.resetCache=function(){H.clear(),_.clear()},t.isValidSpecifier=function(e){return this.isValidZone(e)},t.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}};var i=t.prototype;return i.offsetName=function(e,t){return dt(e,t.format,t.locale,this.name)},i.formatOffset=function(e,t){return mt(this.offset(e),t)},i.offset=function(e){var t,n,i,r,a,o,s,l;return!this.valid||(e=new Date(e),isNaN(e))?NaN:(r=this.name,void 0===(a=_.get(r))&&(a=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),_.set(r,a)),o=(r=(r=a).formatToParts?function(e,t){for(var n=e.formatToParts(t),i=[],r=0;r<n.length;r++){var a=(o=n[r]).type,o=o.value,s=Y[a];"era"===a?i[s]=o:_e(s)||(i[s]=parseInt(o,10))}return i}(r,e):(a=e,r=r.format(a).replace(/\u200E/g,""),r=(a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r))[1],o=a[2],[a[3],r,o,a[4],a[5],a[6],a[7]]))[0],a=r[1],t=r[2],n=r[3],s=r[4],i=r[5],r=r[6],s=24===s?0:s,l=(e=+e)%1e3,(st({year:o="BC"===n?1-Math.abs(o):o,month:a,day:t,hour:s,minute:i,second:r,millisecond:0})-(e-=0<=l?l:1e3+l))/6e4)},i.equals=function(e){return"iana"===e.type&&e.name===this.name},n(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(O),J=["base"],P=["padTo","floor"],j={},K=new Map;function q(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),i=K.get(n);return void 0===i&&(i=new Intl.DateTimeFormat(e,t),K.set(n,i)),i}var $=new Map,ee=new Map,te=null,ne=new Map;function ie(e){var t=ne.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),ne.set(e,t)),t}var re=new Map;function ae(e,t,n,i){return"error"===(e=e.listingMode())?null:("en"===e?n:i)(t)}var oe=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=l(n,P);(!t||0<Object.keys(r).length)&&(t=i({useGrouping:!1},n),0<n.padTo&&(t.minimumIntegerDigits=n.padTo),this.inf=(r=e,void 0===(n=t)&&(n={}),e=JSON.stringify([r,n]),void 0===(t=$.get(e))&&(t=new Intl.NumberFormat(r,n),$.set(e,t)),t))}return e.prototype.format=function(e){var t;return this.inf?(t=this.floor?Math.floor(e):e,this.inf.format(t)):$e(this.floor?Math.floor(e):it(e,3),this.padTo)},e}(),se=function(){function e(e,t,n){this.opts=n;n=this.originalZone=void 0;var r=(this.opts.timeZone?this.dt=e:"fixed"===e.zone.type?(r=0<=(r=e.offset/60*-1)?"Etc/GMT+"+r:"Etc/GMT"+r,0!==e.offset&&z.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)):"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?n=(this.dt=e).zone.name:(this.dt=e.setZone(n="UTC").plus({minutes:e.offset}),this.originalZone=e.zone),i({},this.opts));r.timeZone=r.timeZone||n,this.dtf=q(t,r)}var t=e.prototype;return t.format=function(){return this.originalZone?this.formatToParts().map((function(e){return e.value})).join(""):this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){var e=this,t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((function(t){return"timeZoneName"===t.type?i({},t,{value:e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName})}):t})):t},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),le=function(){function e(e,t,n){var r;this.opts=i({style:"long"},n),!t&&ze()&&(this.rtf=(t=e,(n=e=void 0===(e=n)?{}:e).base,n=l(n=e,J),n=JSON.stringify([t,n]),void 0===(r=ee.get(n))&&(r=new Intl.RelativeTimeFormat(t,e),ee.set(n,r)),r))}var t=e.prototype;return t.format=function(e,t){if(this.rtf)return this.rtf.format(e,t);var n=t,i=(t=e,void 0===(e=this.opts.numeric)&&(e="always"),void 0===(s="long"!==this.opts.style)&&(s=!1),{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."]}),r=-1===["hours","minutes","seconds"].indexOf(n);if("auto"===e&&r){var a="days"===n;switch(t){case 1:return a?"tomorrow":"next "+i[n][0];case-1:return a?"yesterday":"last "+i[n][0];case 0:return a?"today":"this "+i[n][0]}}e=Object.is(t,-0)||t<0,t=1===(r=Math.abs(t));var o=i[n],s=s?!t&&o[2]||o[1]:t?i[n][0]:n;return e?r+" "+s+" ago":"in "+r+" "+s},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),ce={firstDay:1,minimalDays:4,weekend:[6,7]},ue=function(){function e(e,t,n,i,r){e=function(e){var t=e.indexOf("-x-");if(-1===(t=(e=-1!==t?e.substring(0,t):e).indexOf("-u-")))return[e];try{n=q(e).resolvedOptions(),i=e}catch(r){var n=q(e=e.substring(0,t)).resolvedOptions(),i=e}return[i,(t=n).numberingSystem,t.calendar]}(e);var a=e[0],o=e[1];e=e[2];this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||e||null,this.weekSettings=i,this.intl=(a=this.locale,t=this.numberingSystem,((o=this.outputCalendar)||t)&&(a.includes("-u-")||(a+="-u"),o&&(a+="-ca-"+o),t)&&(a+="-nu-"+t),a),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)},e.create=function(t,n,i,r,a){return void 0===a&&(a=!1),new e((t=t||Se.defaultLocale)||(a?"en-US":te=te||(new Intl.DateTimeFormat).resolvedOptions().locale),n||Se.defaultNumberingSystem,i||Se.defaultOutputCalendar,Ke(r)||Se.defaultWeekSettings,t)},e.resetCache=function(){te=null,K.clear(),$.clear(),ee.clear(),ne.clear(),re.clear()},e.fromObject=function(t){var n=(t=void 0===t?{}:t).locale,i=t.numberingSystem,r=t.outputCalendar;t=t.weekSettings;return e.create(n,i,r,t)};var t=e.prototype;return t.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ke(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return this.clone(i({},e=void 0===e?{}:e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return this.clone(i({},e=void 0===e?{}:e,{defaultToEN:!1}))},t.months=function(e,t){var n=this;return void 0===t&&(t=!1),ae(this,e,At,(function(){var i="ja"===n.intl||n.intl.startsWith("ja-"),r=(t&=!i)?{month:e,day:"numeric"}:{month:e},a=t?"format":"standalone";return n.monthsCache[a][e]||(n.monthsCache[a][e]=function(e){for(var t=[],n=1;n<=12;n++){var i=Ci.utc(2009,n,1);t.push(e(i))}return t}(i?function(e){return n.dtFormatter(e,r).format()}:function(e){return n.extract(e,r,"month")})),n.monthsCache[a][e]}))},t.weekdays=function(e,t){var n=this;return void 0===t&&(t=!1),ae(this,e,Ft,(function(){var i=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return n.weekdaysCache[r][e]||(n.weekdaysCache[r][e]=function(e){for(var t=[],n=1;n<=7;n++){var i=Ci.utc(2016,11,13+n);t.push(e(i))}return t}((function(e){return n.extract(e,i,"weekday")}))),n.weekdaysCache[r][e]}))},t.meridiems=function(){var e=this;return ae(this,void 0,(function(){return Qt}),(function(){var t;return e.meridiemCache||(t={hour:"numeric",hourCycle:"h12"},e.meridiemCache=[Ci.utc(2016,11,13,9),Ci.utc(2016,11,13,19)].map((function(n){return e.extract(n,t,"dayperiod")}))),e.meridiemCache}))},t.eras=function(e){var t=this;return ae(this,e,xt,(function(){var n={era:e};return t.eraCache[e]||(t.eraCache[e]=[Ci.utc(-40,1,1),Ci.utc(2017,1,1)].map((function(e){return t.extract(e,n,"era")}))),t.eraCache[e]}))},t.extract=function(e,t,n){return(e=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n})))?e.value:null},t.numberFormatter=function(e){return new oe(this.intl,(e=void 0===e?{}:e).forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return new se(e,this.intl,t=void 0===t?{}:t)},t.relFormatter=function(e){return void 0===e&&(e={}),new le(this.intl,this.isEnglish(),e)},t.listFormatter=function(e){return void 0===e&&(e={}),t=this.intl,void 0===e&&(e={}),n=JSON.stringify([t,e]),(i=j[n])||(i=new Intl.ListFormat(t,e),j[n]=i),i;var t,n,i},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ie(this.intl).locale.startsWith("en-us")},t.getWeekSettings=function(){return this.weekSettings||(Je()?(e=this.locale,(n=re.get(e))||("minimalDays"in(n="getWeekInfo"in(t=new Intl.Locale(e))?t.getWeekInfo():t.weekInfo)||(n=i({},ce,n)),re.set(e,n)),n):ce);var e,t,n},t.getStartOfWeek=function(){return this.getWeekSettings().firstDay},t.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays},t.getWeekendDays=function(){return this.getWeekSettings().weekend},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},t.toString=function(){return"Locale("+this.locale+", "+this.numberingSystem+", "+this.outputCalendar+")"},n(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===ie(e.locale).numberingSystem)),this.fastNumbersCached}}]),e}(),de=null,ge=function(e){function t(t){var n=e.call(this)||this;return n.fixed=t,n}r(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){return e&&(e=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i))?new t(gt(e[1],e[2])):null};var i=t.prototype;return i.offsetName=function(){return this.name},i.formatOffset=function(e,t){return mt(this.fixed,t)},i.offset=function(){return this.fixed},i.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},n(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+mt(this.fixed,"narrow")}},{key:"ianaName",get:function(){return 0===this.fixed?"Etc/UTC":"Etc/GMT"+mt(-this.fixed,"narrow")}},{key:"isUniversal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}],[{key:"utcInstance",get:function(){return de=null===de?new t(0):de}}]),t}(O),fe=function(e){function t(t){var n=e.call(this)||this;return n.zoneName=t,n}r(t,e);var i=t.prototype;return i.offsetName=function(){return null},i.formatOffset=function(){return""},i.offset=function(){return NaN},i.equals=function(){return!1},n(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"isUniversal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(O);function he(e,t){var n;return _e(e)||null===e?t:e instanceof O?e:"string"==typeof e?"default"===(n=e.toLowerCase())?t:"local"===n||"system"===n?D.instance:"utc"===n||"gmt"===n?ge.utcInstance:ge.parseSpecifier(n)||z.create(e):Ye(e)?ge.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new fe(e)}var me={arab:"[Ù -Ù©]",arabext:"[Û°-Û¹]",bali:"[á-á]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[ï¼-ï¼]",gujr:"[૦-૯]",hanidec:"[ã|ä¸|äº|ä¸|å|äº|å
|ä¸|å
«|ä¹]",khmr:"[á -á©]",knda:"[೦-೯]",laoo:"[à»-à»]",limb:"[á¥-á¥]",mlym:"[൦-൯]",mong:"[á -á ]",mymr:"[á-á]",orya:"[à¦-à¯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[à¹-à¹]",tibt:"[༠-༩]",latn:"\\d"},pe={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]},Ie=me.hanidec.replace(/[\[|\]]/g,"").split(""),Ce=new Map;function ye(e,t){void 0===t&&(t="");e=e.numberingSystem||"latn";var n=Ce.get(e),i=(void 0===n&&(n=new Map,Ce.set(e,n)),n.get(t));return void 0===i&&(i=new RegExp(""+me[e]+t),n.set(t,i)),i}var Ae,be=function(){return Date.now()},ve="system",Be=null,Fe=null,Qe=null,Ue=60,Ge=null,Se=function(){function e(){}return e.resetCaches=function(){ue.resetCache(),z.resetCache(),Ci.resetCache(),Ce.clear()},n(e,null,[{key:"now",get:function(){return be},set:function(e){be=e}},{key:"defaultZone",get:function(){return he(ve,D.instance)},set:function(e){ve=e}},{key:"defaultLocale",get:function(){return Be},set:function(e){Be=e}},{key:"defaultNumberingSystem",get:function(){return Fe},set:function(e){Fe=e}},{key:"defaultOutputCalendar",get:function(){return Qe},set:function(e){Qe=e}},{key:"defaultWeekSettings",get:function(){return Ge},set:function(e){Ge=Ke(e)}},{key:"twoDigitCutoffYear",get:function(){return Ue},set:function(e){Ue=e%100}},{key:"throwOnInvalid",get:function(){return Ae},set:function(e){Ae=e}}]),e}(),xe=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),we=[0,31,59,90,120,151,181,212,243,273,304,334],Ze=[0,31,60,91,121,152,182,213,244,274,305,335];function ke(e,t){return new xe("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Ve(e,t,n){return t=new Date(Date.UTC(e,t-1,n)),e<100&&0<=e&&t.setUTCFullYear(t.getUTCFullYear()-1900),0===(n=t.getUTCDay())?7:n}function Re(e,t,n){return n+(rt(e)?Ze:we)[t-1]}function Ee(e,t){var n=(e=rt(e)?Ze:we).findIndex((function(e){return e<t}));return{month:n+1,day:t-e[n]}}function Le(e,t){return(e-t+7)%7+1}function We(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r,a,o=e.year,s=Re(o,l=e.month,a=e.day),l=Le(Ve(o,l,a),n);return(a=Math.floor((s-l+14-t)/7))<1?a=ct(r=o-1,t,n):a>ct(o,t,n)?(r=o+1,a=1):r=o,i({weekYear:r,weekNumber:a,weekday:l},pt(e))}function Te(e,t,n){void 0===n&&(n=1);var r,a=e.weekYear,o=e.weekNumber,s=e.weekday,l=(n=Le(Ve(a,1,t=void 0===t?4:t),n),at(a));(o=7*o+s-n-7+t)<1?o+=at(r=a-1):l<o?(r=a+1,o-=at(a)):r=a,s=Ee(r,o);return i({year:r,month:s.month,day:s.day},pt(e))}function Ne(e){var t=e.year;return i({year:t,ordinal:Re(t,e.month,e.day)},pt(e))}function Xe(e){var t=e.year,n=Ee(t,e.ordinal);return i({year:t,month:n.month,day:n.day},pt(e))}function Oe(e,t){if(_e(e.localWeekday)&&_e(e.localWeekNumber)&&_e(e.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(_e(e.weekday)&&_e(e.weekNumber)&&_e(e.weekYear))return _e(e.localWeekday)||(e.weekday=e.localWeekday),_e(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),_e(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()};throw new m("Cannot mix locale-based week fields with ISO-based week fields")}function Me(e){var t=He(e.year),n=qe(e.month,1,12),i=qe(e.day,1,ot(e.year,e.month));return t?n?!i&&ke("day",e.day):ke("month",e.month):ke("year",e.year)}function De(e){var t=e.hour,n=e.minute,i=e.second,r=(e=e.millisecond,qe(t,0,23)||24===t&&0===n&&0===i&&0===e),a=qe(n,0,59),o=qe(i,0,59),s=qe(e,0,999);return r?a?o?!s&&ke("millisecond",e):ke("second",i):ke("minute",n):ke("hour",t)}function _e(e){return void 0===e}function Ye(e){return"number"==typeof e}function He(e){return"number"==typeof e&&e%1==0}function ze(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Je(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Pe(e,t,n){if(0!==e.length)return e.reduce((function(e,i){return i=[t(i),i],e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function je(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ke(e){if(null==e)return null;if("object"!=typeof e)throw new I("Week settings must be an object");if(qe(e.firstDay,1,7)&&qe(e.minimalDays,1,7)&&Array.isArray(e.weekend)&&!e.weekend.some((function(e){return!qe(e,1,7)})))return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)};throw new I("Invalid week settings")}function qe(e,t,n){return He(e)&&t<=e&&e<=n}function $e(e,t){return void 0===t&&(t=2),e=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function et(e){if(!_e(e)&&null!==e&&""!==e)return parseInt(e,10)}function tt(e){if(!_e(e)&&null!==e&&""!==e)return parseFloat(e)}function nt(e){if(!_e(e)&&null!==e&&""!==e)return e=1e3*parseFloat("0."+e),Math.floor(e)}function it(e,t,n){void 0===n&&(n="round");var i=Math.pow(10,t);switch(n){case"expand":return 0<e?Math.ceil(e*i)/i:Math.floor(e*i)/i;case"trunc":return Math.trunc(e*i)/i;case"round":return Math.round(e*i)/i;case"floor":return Math.floor(e*i)/i;case"ceil":return Math.ceil(e*i)/i;default:throw new RangeError("Value rounding "+n+" is out of range")}}function rt(e){return e%4==0&&(e%100!=0||e%400==0)}function at(e){return rt(e)?366:365}function ot(e,t){var n=(n=t-1)-12*Math.floor(n/12)+1;return 2==n?rt(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function st(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&0<=e.year&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function lt(e,t,n){return-Le(Ve(e,1,t),n)+t-1}function ct(e,t,n){var i=lt(e,t=void 0===t?4:t,n=void 0===n?1:n);t=lt(e+1,t,n);return(at(e)-i+t)/7}function ut(e){return 99<e?e:e>Se.twoDigitCutoffYear?1900+e:2e3+e}function dt(e,t,n,r){void 0===r&&(r=null);e=new Date(e);var a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r),r=i({timeZoneName:t},a),t=new Intl.DateTimeFormat(n,r).formatToParts(e).find((function(e){return"timezonename"===e.type.toLowerCase()}));return t?t.value:null}function gt(e,t){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),t=parseInt(t,10)||0,60*e+(e<0||Object.is(e,-0)?-t:t)}function ft(e){var t=Number(e);if("boolean"!=typeof e&&""!==e&&Number.isFinite(t))return t;throw new I("Invalid unit value "+e)}function ht(e,t){var n,i,r={};for(n in e)je(e,n)&&null!=(i=e[n])&&(r[t(n)]=ft(i));return r}function mt(e,t){var n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),r=0<=e?"+":"-";switch(t){case"short":return r+$e(n,2)+":"+$e(i,2);case"narrow":return r+n+(0<i?":"+i:"");case"techie":return r+$e(n,2)+$e(i,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function pt(e){return t=e,["hour","minute","second","millisecond"].reduce((function(e,n){return e[n]=t[n],e}),{});var t}var It=["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"],yt=["J","F","M","A","M","J","J","A","S","O","N","D"];function At(e){switch(e){case"narrow":return[].concat(yt);case"short":return[].concat(Ct);case"long":return[].concat(It);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 bt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Bt=["M","T","W","T","F","S","S"];function Ft(e){switch(e){case"narrow":return[].concat(Bt);case"short":return[].concat(vt);case"long":return[].concat(bt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Qt=["AM","PM"],Ut=["Before Christ","Anno Domini"],Gt=["BC","AD"],St=["B","A"];function xt(e){switch(e){case"narrow":return[].concat(St);case"short":return[].concat(Gt);case"long":return[].concat(Ut);default:return null}}function wt(e,t){for(var n="",i=u(e);!(r=i()).done;){var r=r.value;r.literal?n+=r.val:n+=t(r.val)}return n}var Zt={D:y,DD:A,DDD:v,DDDD:B,t:F,tt:Q,ttt:U,tttt:G,T:S,TT:x,TTT:w,TTTT:Z,f:k,ff:R,fff:W,ffff:N,F:V,FF:E,FFF:T,FFFF:X},kt=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return new e(t,n=void 0===n?{}:n)},e.parseFormat=function(e){for(var t=null,n="",i=!1,r=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?((0<n.length||i)&&r.push({literal:i||/^\s+$/.test(n),val:""===n?"'":n}),t=null,n="",i=!i):i||o===t?n+=o:(0<n.length&&r.push({literal:/^\s+$/.test(n),val:n}),t=n=o)}return 0<n.length&&r.push({literal:i||/^\s+$/.test(n),val:n}),r},e.macroTokenToFormatOpts=function(e){return Zt[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,i({},this.opts,t)).format()},t.dtFormatter=function(e,t){return this.loc.dtFormatter(e,i({},this.opts,t=void 0===t?{}:t))},t.formatDateTime=function(e,t){return this.dtFormatter(e,t).format()},t.formatDateTimeParts=function(e,t){return this.dtFormatter(e,t).formatToParts()},t.formatInterval=function(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())},t.resolvedOptions=function(e,t){return this.dtFormatter(e,t).resolvedOptions()},t.num=function(e,t,n){var r;return void 0===t&&(t=0),void 0===n&&(n=void 0),this.opts.forceSimple?$e(e,t):(r=i({},this.opts),0<t&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e))},t.formatDateTimeFromString=function(t,n){var i=this,r="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=function(e,n){return i.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},l=function(e,n){return r?(i=t,At(e)[i.month-1]):o(n?{month:e}:{month:e,day:"numeric"},"month");var i},c=function(e,n){return r?(i=t,Ft(e)[i.weekday-1]):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday");var i},u=function(e){return r?(n=t,xt(e)[n.year<0?0:1]):o({era:e},"era");var n};return wt(e.parseFormat(n),(function(n){switch(n){case"S":return i.num(t.millisecond);case"u":case"SSS":return i.num(t.millisecond,3);case"s":return i.num(t.second);case"ss":return i.num(t.second,2);case"uu":return i.num(Math.floor(t.millisecond/10),2);case"uuu":return i.num(Math.floor(t.millisecond/100));case"m":return i.num(t.minute);case"mm":return i.num(t.minute,2);case"h":return i.num(t.hour%12==0?12:t.hour%12);case"hh":return i.num(t.hour%12==0?12:t.hour%12,2);case"H":return i.num(t.hour);case"HH":return i.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:i.opts.allowZ});case"ZZ":return s({format:"short",allowZ:i.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:i.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:i.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:i.loc.locale});case"z":return t.zoneName;case"a":return r?Qt[t.hour<12?0:1]:o({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return a?o({day:"numeric"},"day"):i.num(t.day);case"dd":return a?o({day:"2-digit"},"day"):i.num(t.day,2);case"c":case"E":return i.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):i.num(t.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):i.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return a?o({month:"numeric"},"month"):i.num(t.month);case"MM":return a?o({month:"2-digit"},"month"):i.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return a?o({year:"numeric"},"year"):i.num(t.year);case"yy":return a?o({year:"2-digit"},"year"):i.num(t.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):i.num(t.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):i.num(t.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return i.num(t.weekYear.toString().slice(-2),2);case"kkkk":return i.num(t.weekYear,4);case"W":return i.num(t.weekNumber);case"WW":return i.num(t.weekNumber,2);case"n":return i.num(t.localWeekNumber);case"nn":return i.num(t.localWeekNumber,2);case"ii":return i.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return i.num(t.localWeekYear,4);case"o":return i.num(t.ordinal);case"ooo":return i.num(t.ordinal,3);case"q":return i.num(t.quarter);case"qq":return i.num(t.quarter,2);case"X":return i.num(Math.floor(t.ts/1e3));case"x":return i.num(t.ts);default:return function(n){var r=e.macroTokenToFormatOpts(n);return r?i.formatWithSystemDefault(t,r):n}(n)}}))},t.formatDurationFromString=function(t,n){var i,r,a=this,o="negativeLargestOnly"===this.opts.signMode?-1:1,s=function(e){switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},l=(n=e.parseFormat(n)).reduce((function(e,t){var n=t.literal;t=t.val;return n?e:e.concat(t)}),[]);l={isNegativeDuration:(t=t.shiftTo.apply(t,l.map(s).filter((function(e){return e}))))<0,largestUnit:Object.keys(t.values)[0]};return wt(n,(i=t,r=l,function(e){var t,n,l=s(e);return l?(t=r.isNegativeDuration&&l!==r.largestUnit?o:1,n="negativeLargestOnly"===a.opts.signMode&&l!==r.largestUnit?"never":"all"===a.opts.signMode?"always":"auto",a.num(i.get(l)*t,e.length,n)):e}))},e}(),Vt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+i+"$")}function Et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],a=t[1],o=(t=t[2],t=(n=n(e,t))[0],n[1]);n=n[2];return[i({},r,t),o||a,n]}),[{},null,1]).slice(0,2)}}function Lt(e){if(null!=e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=(s=a[r])[0],s=s[1];if(o=o.exec(e))return s(o)}}return[null,null]}function Wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){for(var i={},r=0;r<t.length;r++)i[t[r]]=et(e[n+r]);return[i,null,n+r]}}d=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/;var Tt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nt=RegExp(Tt.source+"(?:"+d.source+"?(?:\\[("+Vt.source+")\\])?)?"),Xt=RegExp("(?:[Tt]"+Nt.source+")?"),Ot=Wt("weekYear","weekNumber","weekDay"),Mt=Wt("year","ordinal");d=RegExp(Tt.source+" ?(?:"+d.source+"|("+Vt.source+"))?"),Vt=RegExp("(?: "+d.source+")?");function Dt(e,t,n){return _e(e=e[t])?n:et(e)}function _t(e,t){return[{hours:Dt(e,t,0),minutes:Dt(e,t+1,0),seconds:Dt(e,t+2,0),milliseconds:nt(e[t+3])},null,t+4]}function Yt(e,t){var n=!e[t]&&!e[t+1];e=gt(e[t+1],e[t+2]);return[{},n?null:ge.instance(e),t+3]}function Ht(e,t){return[{},e[t]?z.create(e[t]):null,t+1]}var zt=RegExp("^T?"+Tt.source+"$"),Jt=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Pt(e){function t(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&u)?-e:e}var n=e[0],i=e[1],r=e[2],a=e[3],o=e[4],s=e[5],l=e[6],c=e[7],u=(e=e[8],"-"===n[0]);n=c&&"-"===c[0];return[{years:t(tt(i)),months:t(tt(r)),weeks:t(tt(a)),days:t(tt(o)),hours:t(tt(s)),minutes:t(tt(l)),seconds:t(tt(c),"-0"===c),milliseconds:t(nt(e),n)}]}var jt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Kt(e,t,n,i,r,a,o){return t={year:2===t.length?ut(et(t)):et(t),month:Ct.indexOf(n)+1,day:et(i),hour:et(r),minute:et(a)},o&&(t.second=et(o)),e&&(t.weekday=3<e.length?bt.indexOf(e)+1:vt.indexOf(e)+1),t}var qt=/^(?:(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 $t(e){var t=e[1],n=e[2],i=e[3],r=e[4],a=e[5],o=e[6],s=e[7],l=e[8],c=e[9],u=e[10];e=e[11],t=Kt(t,r,i,n,a,o,s),r=l?jt[l]:c?0:gt(u,e);return[t,new ge(r)]}var en=/^(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$/,tn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|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$/,nn=/^(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 rn(e){var t=e[1],n=e[2],i=e[3];return[Kt(t,e[4],i,n,e[5],e[6],e[7]),ge.utcInstance]}function an(e){var t=e[1],n=e[2],i=e[3],r=e[4],a=e[5],o=e[6];return[Kt(t,e[7],n,i,r,a,o),ge.utcInstance]}var on=Rt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Xt),sn=Rt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Xt),ln=Rt(/(\d{4})-?(\d{3})/,Xt),cn=Rt(Nt),un=Et((function(e,t){return[{year:Dt(e,t),month:Dt(e,t+1,1),day:Dt(e,t+2,1)},null,t+3]}),_t,Yt,Ht),dn=Et(Ot,_t,Yt,Ht),gn=Et(Mt,_t,Yt,Ht),fn=Et(_t,Yt,Ht),hn=Et(_t),mn=Rt(/(\d{4})-(\d\d)-(\d\d)/,Vt),pn=Rt(d),In=Et(_t,Yt,Ht),Cn="Invalid Duration",yn=i({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}},Tt={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}}),An=i({years:{quarters:4,months:12,weeks:(Xt=365.2425)/7,days:Xt,hours:24*Xt,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Xt/28,days:Xt/4,hours:24*Xt/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:(Nt=30.436875)/7,days:Nt,hours:24*Nt,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Tt),bn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vn=bn.slice(0).reverse();function Bn(e,t,n){return n={values:(n=void 0!==n&&n)?t.values:i({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix},new Gn(n)}function Fn(e,t){for(var n,i=null!=(n=t.milliseconds)?n:0,r=u(vn.slice(1));!(a=r()).done;){var a=a.value;t[a]&&(i+=t[a]*e[a].milliseconds)}return i}function Qn(e,t){var n=Fn(e,t)<0?-1:1;bn.reduceRight((function(i,r){var a,o;return _e(t[r])?i:(i&&(o=t[i]*n,a=e[r][i],o=Math.floor(o/a),t[r]+=o*n,t[i]-=o*a*n),r)}),null),bn.reduce((function(n,i){var r;return _e(t[i])?n:(n&&(r=t[n]%1,t[n]-=r,t[i]+=r*e[n][i]),i)}),null)}function Un(e){for(var t={},n=0,i=Object.entries(e);n<i.length;n++){var r,a=(r=i[n])[0];0!==(r=r[1])&&(t[a]=r)}return t}var Gn=function(e){function t(e){var t="longterm"===e.conversionAccuracy||!1,n=t?An:yn;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||ue.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject({milliseconds:e},n)},t.fromObject=function(e,n){if(void 0===n&&(n={}),null==e||"object"!=typeof e)throw new I("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:ht(e,t.normalizeUnit),loc:ue.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})},t.fromDurationLike=function(e){if(Ye(e))return t.fromMillis(e);if(t.isDuration(e))return e;if("object"==typeof e)return t.fromObject(e);throw new I("Unknown duration argument "+e+" of type "+typeof e)},t.fromISO=function(e,n){var i=Lt(e,[Jt,Pt])[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var i=Lt(e,[zt,hn])[0];return i?t.fromObject(i,n):t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new I("need to specify a reason the Duration is invalid");if(e=e instanceof xe?e:new xe(e,n),Se.throwOnInvalid)throw new h(e);return new t({invalid:e})},t.normalizeUnit=function(e){var t={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"}[e&&e.toLowerCase()];if(t)return t;throw new p(e)},t.isDuration=function(e){return e&&e.isLuxonDuration||!1};var r=t.prototype;return r.toFormat=function(e,t){return t=i({},t=void 0===t?{}:t,{floor:!1!==t.round&&!1!==t.floor}),this.isValid?kt.create(this.loc,t).formatDurationFromString(this,e):Cn},r.toHuman=function(e){var t,n,r=this;return void 0===e&&(e={}),this.isValid?(t=!1!==e.showZeros,n=bn.map((function(n){var a=r.values[n];return _e(a)||0===a&&!t?null:r.loc.numberFormatter(i({style:"unit",unitDisplay:"long"},e,{unit:n.slice(0,-1)})).format(a)})).filter((function(e){return e})),this.loc.listFormatter(i({type:"conjunction",style:e.listStyle||"narrow"},e)).format(n)):Cn},r.toObject=function(){return this.isValid?i({},this.values):{}},r.toISO=function(){var e;return this.isValid?(e="P",0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=it(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e):null},r.toISOTime=function(e){var t;return void 0===e&&(e={}),!this.isValid||(t=this.toMillis())<0||864e5<=t?null:(e=i({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e,{includeOffset:!1}),Ci.fromMillis(t,{zone:"UTC"}).toISOTime(e))},r.toJSON=function(){return this.toISO()},r.toString=function(){return this.toISO()},r[e]=function(){return this.isValid?"Duration { values: "+JSON.stringify(this.values)+" }":"Duration { Invalid, reason: "+this.invalidReason+" }"},r.toMillis=function(){return this.isValid?Fn(this.matrix,this.values):NaN},r.valueOf=function(){return this.toMillis()},r.plus=function(e){if(!this.isValid)return this;for(var n=t.fromDurationLike(e),i={},r=0,a=bn;r<a.length;r++){var o=a[r];(je(n.values,o)||je(this.values,o))&&(i[o]=n.get(o)+this.get(o))}return Bn(this,{values:i},!0)},r.minus=function(e){return this.isValid?(e=t.fromDurationLike(e),this.plus(e.negate())):this},r.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,i=Object.keys(this.values);n<i.length;n++){var r=i[n];t[r]=ft(e(this.values[r],r))}return Bn(this,{values:t},!0)},r.get=function(e){return this[t.normalizeUnit(e)]},r.set=function(e){return this.isValid?Bn(this,{values:i({},this.values,ht(e,t.normalizeUnit))}):this},r.reconfigure=function(e){var t=(e=void 0===e?{}:e).locale,n=e.numberingSystem,i=e.conversionAccuracy;e=e.matrix;return Bn(this,{loc:t=this.loc.clone({locale:t,numberingSystem:n}),matrix:e,conversionAccuracy:i})},r.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},r.normalize=function(){var e;return this.isValid?(e=this.toObject(),Qn(this.matrix,e),Bn(this,{values:e},!0)):this},r.rescale=function(){return this.isValid?Bn(this,{values:Un(this.normalize().shiftToAll().toObject())},!0):this},r.shiftTo=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(e){return t.normalizeUnit(e)}));for(var r,a={},o={},s=this.toObject(),l=0,c=bn;l<c.length;l++){var u=c[l];if(0<=n.indexOf(u)){var d,g=u,f=0;for(d in o)f+=this.matrix[d][u]*o[d],o[d]=0;Ye(s[u])&&(f+=s[u]);var h=Math.trunc(f);o[u]=(1e3*f-1e3*(a[u]=h))/1e3}else Ye(s[u])&&(o[u]=s[u])}for(r in o)0!==o[r]&&(a[g]+=r===g?o[r]:o[r]/this.matrix[g][r]);return Qn(this.matrix,a),Bn(this,{values:a},!0)},r.shiftToAll=function(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this},r.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var i=n[t];e[i]=0===this.values[i]?0:-this.values[i]}return Bn(this,{values:e},!0)},r.removeZeros=function(){return this.isValid?Bn(this,{values:Un(this.values)},!0):this},r.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=0,i=bn;n<i.length;n++){var r=i[n];if(t=this.values[r],r=e.values[r],!(void 0===t||0===t?void 0===r||0===r:t===r))return!1}return!0},n(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}(Symbol.for("nodejs.util.inspect.custom")),Sn="Invalid Interval",xn=function(e){function t(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new I("need to specify a reason the Interval is invalid");if(e=e instanceof xe?e:new xe(e,n),Se.throwOnInvalid)throw new f(e);return new t({invalid:e})},t.fromDateTimes=function(e,n){e=yi(e);var i,r=(i=n=yi(n),(r=e)&&r.isValid?i&&i.isValid?i<r?xn.invalid("end before start","The end of an interval must be after its start, but you had start="+r.toISO()+" and end="+i.toISO()):null:xn.invalid("missing or invalid end"):xn.invalid("missing or invalid start"));return null==r?new t({start:e,end:n}):r},t.after=function(e,n){return n=Gn.fromDurationLike(n),e=yi(e),t.fromDateTimes(e,e.plus(n))},t.before=function(e,n){return n=Gn.fromDurationLike(n),e=yi(e),t.fromDateTimes(e.minus(n),e)},t.fromISO=function(e,n){var i,r,a,o=(e||"").split("/",2),s=o[0],l=o[1];if(s&&l){try{c=(i=Ci.fromISO(s,n)).isValid}catch(l){c=!1}try{a=(r=Ci.fromISO(l,n)).isValid}catch(l){a=!1}if(c&&a)return t.fromDateTimes(i,r);if(c){if((o=Gn.fromISO(l,n)).isValid)return t.after(i,o)}else if(a){var c=Gn.fromISO(s,n);if(c.isValid)return t.before(r,c)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(e){return e&&e.isLuxonInterval||!1};var i=t.prototype;return i.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},i.count=function(e,t){var n,i;return this.isValid?(n=this.start.startOf(e=void 0===e?"milliseconds":e,t),i=(i=null!=t&&t.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end).startOf(e,t),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())):NaN},i.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},i.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},i.isAfter=function(e){return!!this.isValid&&this.s>e},i.isBefore=function(e){return!!this.isValid&&this.e<=e},i.contains=function(e){return!!this.isValid&&this.s<=e&&this.e>e},i.set=function(e){var n=(e=void 0===e?{}:e).start;e=e.end;return this.isValid?t.fromDateTimes(n||this.s,e||this.e):this},i.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];for(var a=i.map(yi).filter((function(t){return e.contains(t)})).sort((function(e,t){return e.toMillis()-t.toMillis()})),o=[],s=this.s,l=0;s<this.e;){var c=+(c=a[l]||this.e)>+this.e?this.e:c;o.push(t.fromDateTimes(s,c)),s=c,l+=1}return o},i.splitBy=function(e){var n=Gn.fromDurationLike(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var i=this.s,r=1,a=[];i<this.e;){var o=this.start.plus(n.mapUnits((function(e){return e*r})));o=+o>+this.e?this.e:o;a.push(t.fromDateTimes(i,o)),i=o,r+=1}return a},i.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},i.overlaps=function(e){return this.e>e.s&&this.s<e.e},i.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},i.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},i.engulfs=function(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e},i.equals=function(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)},i.intersection=function(e){var n;return this.isValid?(n=(this.s>e.s?this:e).s,(e=(this.e<e.e?this:e).e)<=n?null:t.fromDateTimes(n,e)):this},i.union=function(e){var n;return this.isValid?(n=(this.s<e.s?this:e).s,e=(this.e>e.e?this:e).e,t.fromDateTimes(n,e)):this},t.merge=function(e){e=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0];return(e=e[1])?e.overlaps(t)||e.abutsStart(t)?[n,e.union(t)]:[n.concat([e]),t]:[n,t]}),[[],null]);var t=e[0];return(e=e[1])&&t.push(e),t},t.xor=function(e){for(var n,i=null,r=0,a=[],o=(e=e.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),u((n=Array.prototype).concat.apply(n,e).sort((function(e,t){return e.time-t.time}))));!(s=o()).done;){var s=s.value;i=1===(r+="s"===s.type?1:-1)?s.time:(i&&+i!=+s.time&&a.push(t.fromDateTimes(i,s.time)),null)}return t.merge(a)},i.difference=function(){for(var e=this,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.xor([this].concat(i)).map((function(t){return e.intersection(t)})).filter((function(e){return e&&!e.isEmpty()}))},i.toString=function(){return this.isValid?"["+this.s.toISO()+" â "+this.e.toISO()+")":Sn},i[e]=function(){return this.isValid?"Interval { start: "+this.s.toISO()+", end: "+this.e.toISO()+" }":"Interval { Invalid, reason: "+this.invalidReason+" }"},i.toLocaleString=function(e,t){return void 0===e&&(e=y),void 0===t&&(t={}),this.isValid?kt.create(this.s.loc.clone(t),e).formatInterval(this):Sn},i.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):Sn},i.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():Sn},i.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):Sn},i.toFormat=function(e,t){return t=void 0===(t=(void 0===t?{}:t).separator)?" â ":t,this.isValid?""+this.s.toFormat(e)+t+this.e.toFormat(e):Sn},i.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):Gn.invalid(this.invalidReason)},i.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},n(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"lastDateTime",get:function(){return this.isValid&&this.e?this.e.minus(1):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}(Symbol.for("nodejs.util.inspect.custom")),wn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Se.defaultZone);var t=Ci.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return z.isValidZone(e)},e.normalizeZone=function(e){return he(e,Se.defaultZone)},e.getStartOfWeek=function(e){var t=(e=void 0===e?{}:e).locale;return((void 0===(e=e.locObj)?null:e)||ue.create(void 0===t?null:t)).getStartOfWeek()},e.getMinimumDaysInFirstWeek=function(e){var t=(e=void 0===e?{}:e).locale;return((void 0===(e=e.locObj)?null:e)||ue.create(void 0===t?null:t)).getMinDaysInFirstWeek()},e.getWeekendWeekdays=function(e){var t=(e=void 0===e?{}:e).locale;return((void 0===(e=e.locObj)?null:e)||ue.create(void 0===t?null:t)).getWeekendDays().slice()},e.months=function(e,t){void 0===e&&(e="long");var n=(t=void 0===t?{}:t).locale,i=t.numberingSystem,r=void 0===(r=t.locObj)?null:r;t=t.outputCalendar;return(r||ue.create(void 0===n?null:n,void 0===i?null:i,void 0===t?"gregory":t)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=(t=void 0===t?{}:t).locale,i=t.numberingSystem,r=void 0===(r=t.locObj)?null:r;t=t.outputCalendar;return(r||ue.create(void 0===n?null:n,void 0===i?null:i,void 0===t?"gregory":t)).months(e,!0)}
1,e.weekdays=function(e,t){void 0===e&&(e="long");var n=(t=void 0===t?{}:t).locale,i=t.numberingSystem;return((void 0===(t=t.locObj)?null:t)||ue.create(void 0===n?null:n,void 0===i?null:i,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=(t=void 0===t?{}:t).locale,i=t.numberingSystem;return((void 0===(t=t.locObj)?null:t)||ue.create(void 0===n?null:n,void 0===i?null:i,null)).weekdays(e,!0)},e.meridiems=function(e){return e=(void 0===e?{}:e).locale,ue.create(void 0===e?null:e).meridiems()},e.eras=function(e,t){return void 0===e&&(e="short"),t=(void 0===t?{}:t).locale,ue.create(void 0===t?null:t,null,"gregory").eras(e)},e.features=function(){return{relative:ze(),localeWeek:Je()}},e}();function Zn(e,t){function n(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()}return t=n(t)-n(e),Math.floor(Gn.fromMillis(t).as("days"))}function kn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){return e=e[0],t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var i=e.charCodeAt(n);if(-1!==e[n].search(me.hanidec))t+=Ie.indexOf(e[n]);else for(var r in pe){var a=(r=pe[r])[0];r=r[1];a<=i&&i<=r&&(t+=i-a)}}return parseInt(t,10)}return t}(e))}}}var Vn="[ "+String.fromCharCode(160)+"]",Rn=new RegExp(Vn,"g");function En(e){return e.replace(/\./g,"\\.?").replace(Rn,Vn)}function Ln(e){return e.replace(/\./g,"").replace(Rn," ").toLowerCase()}function Wn(e,t){return null===e?null:{regex:RegExp(e.map(En).join("|")),deser:function(n){var i=n[0];return e.findIndex((function(e){return Ln(i)===Ln(e)}))+t}}}function Tn(e,t){return{regex:e,deser:function(e){return gt(e[1],e[2])},groups:t}}function Nn(e){return{regex:e,deser:function(e){return e[0]}}}var Xn={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",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},On=null;function Mn(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return n=t,e.literal||null==(n=Yn(kt.macroTokenToFormatOpts(e.val),n))||n.includes(void 0)?e:n;var n})))}var Dn=function(){function e(e,t){var n;this.locale=e,this.format=t,this.tokens=Mn(kt.parseFormat(t),e),this.units=this.tokens.map((function(t){return function(e,t){function n(e){return{regex:RegExp(e.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:function(e){return e[0]},literal:!0}}var i=ye(t),r=ye(t,"{2}"),a=ye(t,"{3}"),o=ye(t,"{4}"),s=ye(t,"{6}"),l=ye(t,"{1,2}"),c=ye(t,"{1,3}"),u=ye(t,"{1,6}"),d=ye(t,"{1,9}"),g=ye(t,"{2,4}"),f=ye(t,"{4,6}"),h=function(h){if(e.literal)return n(h);switch(h.val){case"G":return Wn(t.eras("short"),0);case"GG":return Wn(t.eras("long"),0);case"y":return kn(u);case"yy":case"kk":return kn(g,ut);case"yyyy":case"kkkk":return kn(o);case"yyyyy":return kn(f);case"yyyyyy":return kn(s);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(l);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(r);case"MMM":return Wn(t.months("short",!0),1);case"MMMM":return Wn(t.months("long",!0),1);case"LLL":return Wn(t.months("short",!1),1);case"LLLL":return Wn(t.months("long",!1),1);case"o":case"S":return kn(c);case"ooo":case"SSS":return kn(a);case"u":return Nn(d);case"uu":return Nn(l);case"uuu":case"E":case"c":return kn(i);case"a":return Wn(t.meridiems(),0);case"EEE":return Wn(t.weekdays("short",!1),1);case"EEEE":return Wn(t.weekdays("long",!1),1);case"ccc":return Wn(t.weekdays("short",!0),1);case"cccc":return Wn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Tn(new RegExp("([+-]"+l.source+")(?::("+r.source+"))?"),2);case"ZZZ":return Tn(new RegExp("([+-]"+l.source+")("+r.source+")?"),2);case"z":return Nn(/[a-z_+-/]{1,256}?/i);case" ":return Nn(/[^\S\n\r]/);default:return n(h)}}(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return h.token=e,h}(t,e)})),this.disqualifyingUnit=this.units.find((function(e){return e.invali
vendor: 11,239 bytes, line 1
1dReason})),this.disqualifyingUnit||(n=(t=["^"+(t=this.units).map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",t])[1],this.regex=RegExp(t[0],"i"),this.handlers=n)}return e.prototype.explainFromTokens=function(e){if(this.isValid){var t=function(e,t,n){var i=e.match(t);if(i){var r,a,o,s={},l=1;for(r in n)je(n,r)&&(o=(a=n[r]).groups?a.groups+1:1,!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(i.slice(l,l+o))),l+=o);return[i,s]}return[i,{}]}(e,this.regex,this.handlers),n=t[0],i=(t=t[1])?(i=null,_e((s=t).z)||(i=z.create(s.z)),_e(s.Z)||(i=i||new ge(s.Z),r=s.Z),_e(s.q)||(s.M=3*(s.q-1)+1),_e(s.h)||(s.h<12&&1===s.a?s.h+=12:12===s.h&&0===s.a&&(s.h=0)),0===s.G&&s.y&&(s.y=-s.y),_e(s.u)||(s.S=nt(s.u)),[Object.keys(s).reduce((function(e,t){var n=function(e){switch(e){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}}(t);return n&&(e[n]=s[t]),e}),{}),i,r]):[null,null,void 0],r=i[0],a=i[1],o=i[2];if(je(t,"a")&&je(t,"H"))throw new m("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:t,result:r,zone:a,specificOffset:o}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};var s},n(e,[{key:"isValid",get:function(){return!this.disqualifyingUnit}},{key:"invalidReason",get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}]),e}();function _n(e,t,n){return new Dn(e,n).explainFromTokens(t)}function Yn(e,t){var n,i;return e?(n=(t=kt.create(t,e).dtFormatter(On=On||Ci.fromMillis(1555555555555))).formatToParts(),i=t.resolvedOptions(),n.map((function(t){return n=e,r=i,o=t.type,t=t.value,"literal"===o?{literal:!(a=/^\s+$/.test(t)),val:a?" ":t}:(a=n[o],"hour"===(t=o)&&(t=null!=n.hour12?n.hour12?"hour12":"hour24":null!=n.hourCycle?"h11"===n.hourCycle||"h12"===n.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24"),(o="object"==typeof(o=Xn[t])?o[a]:o)?{literal:!1,val:o}:void 0);var n,r,a,o}))):null}var Hn="Invalid DateTime";function zn(e){return new xe("unsupported zone",'the zone "'+e.name+'" is not supported')}function Jn(e){return null===e.weekData&&(e.weekData=We(e.c)),e.weekData}function Pn(e){return null===e.localWeekData&&(e.localWeekData=We(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function jn(e,t){return e={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid},new Ci(i({},e,t,{old:e}))}function Kn(e,t,n){var i=e-60*t*1e3,r=n.offset(i);return t===r?[i,t]:r===(n=n.offset(i-=60*(r-t)*1e3))?[i,r]:[e-60*Math.min(r,n)*1e3,Math.max(r,n)]}function qn(e,t){return{year:(t=new Date(e+=60*t*1e3)).getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function $n(e,t,n){return Kn(st(e),t,n)}function ei(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),a=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters);r=i({},e.c,{year:r,month:a,day:Math.min(e.c.day,ot(r,a))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),a=Gn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),r=(t=Kn(st(r),n,e.zone))[0],n=t[1];return 0!==a&&(n=e.zone.offset(r+=a)),{ts:r,o:n}}function ti(e,t,n,r,a,o){var s=n.setZone,l=n.zone;return e&&0!==Object.keys(e).length||t?(e=Ci.fromObject(e,i({},n,{zone:t||l,specificOffset:o})),s?e:e.setZone(l)):Ci.invalid(new xe("unparsable",'the input "'+a+"\" can't be parsed as "+r))}function ni(e,t,n){return void 0===n&&(n=!0),e.isValid?kt.create(ue.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function ii(e,t,n){var i=9999<e.c.year||e.c.year<0,r="";if(i&&0<=e.c.year&&(r+="+"),r+=$e(e.c.year,i?6:4),"year"!==n){if(t){if(r=(r+="-")+$e(e.c.month),"month"===n)return r;r+="-"}else if(r+=$e(e.c.month),"month"===n)return r;r+=$e(e.c.day)}return r}function ri(e,t,n,i,r,a,o){var s=!n||0!==e.c.millisecond||0!==e.c.second,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=$e(e.c.hour),"hour"!==o){if(t){if(l=(l+=":")+$e(e.c.minute),"minute"===o)break;s&&(l=(l+=":")+$e(e.c.second))}else{if(l+=$e(e.c.minute),"minute"===o)break;s&&(l+=$e(e.c.second))}"second"===o||!s||i&&0===e.c.millisecond||(l=(l+=".")+$e(e.c.millisecond,3))}}return r&&(e.isOffsetFixed&&0===e.offset&&!a?l+="Z":l=e.o<0?(l=(l+="-")+$e(Math.trunc(-e.o/60))+":")+$e(Math.trunc(-e.o%60)):(l=(l+="+")+$e(Math.trunc(e.o/60))+":")+$e(Math.trunc(e.o%60))),a&&(l+="["+e.zone.ianaName+"]"),l}var ai,oi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},si={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},li={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ci=["year","month","day","hour","minute","second","millisecond"],ui=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],di=["year","ordinal","hour","minute","second","millisecond"];function gi(e){var t={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"}[e.toLowerCase()];if(t)return t;throw new p(e)}function fi(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return gi(e)}}function hi(e,t){var n=he(t.zone,Se.defaultZone);if(!n.isValid)return Ci.invalid(zn(n));var i;t=ue.fromObject(t);if(_e(e.year))l=Se.now();else{for(var r=0,a=ci;r<a.length;r++){var o=a[r];_e(e[o])&&(e[o]=oi[o])}if(s=Me(e)||De(e))return Ci.invalid(s);s=n,void 0===ai&&(ai=Se.now());var s,l=(s=$n(e,"iana"!==s.type?s.offset(ai):(c=s.name,void 0===(i=Ii.get(c))&&(i=s.offset(ai),Ii.set(c,i)),i),n))[0],c=s[1]}return new Ci({ts:l,zone:n,loc:t,o:c})}function mi(e,t,n){function i(e,i){return e=it(e,a||n.calendary?0:2,n.calendary?"round":o),t.loc.clone(n).relFormatter(n).format(e,i)}function r(i){return n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i)}var a=!!_e(n.round)||n.round,o=_e(n.rounding)?"trunc":n.rounding;if(n.unit)return i(r(n.unit),n.unit);for(var s=u(n.units);!(l=s()).done;){var l=l.value,c=r(l);if(1<=Math.abs(c))return i(c,l)}return i(t<e?-0:0,n.units[n.units.length-1])}function pi(e){var t={};e=0<e.length&&"object"==typeof e[e.length-1]?(t=e[e.length-1],Array.from(e).slice(0,e.length-1)):Array.from(e);return[t,e]}var Ii=new Map,Ci=function(e){function t(e){var t,n=e.zone||Se.defaultZone,i=e.invalid||(Number.isNaN(e.ts)?new xe("invalid input"):null)||(n.isValid?null:zn(n)),r=(this.ts=_e(e.ts)?Se.now():e.ts,null),a=null;i||(a=e.old&&e.old.ts===this.ts&&e.old.zone.equals(n)?(r=(t=[e.old.c,e.old.o])[0],t[1]):(t=Ye(e.o)&&!e.old?e.o:n.offset(this.ts),r=qn(this.ts,t),r=(i=Number.isNaN(r.year)?new xe("invalid input"):null)?null:r,i?null:t)),this._zone=n,this.loc=e.loc||ue.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=r,this.o=a,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(){var e,t=(e=pi(arguments))[0];return hi({year:(e=e[1])[0],month:e[1],day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]},t)},t.utc=function(){var e=(s=pi(arguments))[0],t=(s=s[1])[0],n=s[1],i=s[2],r=s[3],a=s[4],o=s[5],s=s[6];return e.zone=ge.utcInstance,hi({year:t,month:n,day:i,hour:r,minute:a,second:o,millisecond:s},e)},t.fromJSDate=function(e,n){void 0===n&&(n={});var i;e="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;return Number.isNaN(e)?t.invalid("invalid input"):(i=he(n.zone,Se.defaultZone)).isValid?new t({ts:e,zone:i,loc:ue.fromObject(n)}):t.invalid(zn(i))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),Ye(e))return e<-864e13||864e13<e?t.invalid("Timestamp out of range"):new t({ts:e,zone:he(n.zone,Se.defaultZone),loc:ue.fromObject(n)});throw new I("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),Ye(e))return new t({ts:1e3*e,zone:he(n.zone,Se.defaultZone),loc:ue.fromObject(n)});throw new I("fromSeconds requires a numerical input")},t.fromObject=function(e,n){e=e||{};var i=he((n=void 0===n?{}:n).zone,Se.defaultZone);if(!i.isValid)return t.invalid(zn(i));var r=ue.fromObject(n),a=ht(e,fi),o=(s=Oe(a,r)).minDaysInFirstWeek,s=s.startOfWeek,l=Se.now(),c=(n=_e(n.specificOffset)?i.offset(l):n.specificOffset,!_e(a.ordinal)),d=!_e(a.year),g=!_e(a.month)||!_e(a.day),f=(d=d||g,a.weekYear||a.weekNumber);if((d||c)&&f)throw new m("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(g&&c)throw new m("Can't mix ordinal dates with month/day");g=f||a.weekday&&!d;for(var h,p=qn(l,n),I=(g?(b=ui,h=si,p=We(p,o,s)):c?(b=di,h=li,p=Ne(p)):(b=ci,h=oi),!1),C=u(b);!(y=C()).done;){var y=y.value;_e(a[y])?a[y]=(I?h:p)[y]:I=!0}var A,b=(g?(f=o,l=s,A=He((b=a).weekYear),f=qe(b.weekNumber,1,ct(b.weekYear,f=void 0===f?4:f,l=void 0===l?1:l)),l=qe(b.weekday,1,7),A?f?!l&&ke("weekday",b.weekday):ke("week",b.weekNumber):ke("weekYear",b.weekYear)):c?(f=He((A=a).year),l=qe(A.ordinal,1,at(A.year)),f?!l&&ke("ordinal",A.ordinal):ke("year",A.year)):Me(a))||De(a);return b?t.invalid(b):(l=new t({ts:(f=$n(g?Te(a,o,s):c?Xe(a):a,n,i))[0],zone:i,o:f[1],loc:r}),a.weekday&&d&&e.weekday!==l.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+l.toISO()):l.isValid?l:t.invalid(l.invalid))},t.fromISO=function(e,t){void 0===t&&(t={});var n=Lt(e,[on,un],[sn,dn],[ln,gn],[cn,fn]);return ti(n[0],n[1],t,"ISO 8601",e)},t.fromRFC2822=function(e,t){void 0===t&&(t={});var n=Lt(e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[qt,$t]);return ti(n[0],n[1],t,"RFC 2822",e)},t.fromHTTP=function(e,t){return void 0===t&&(t={}),ti((e=Lt(e,[en,rn],[tn,rn],[nn,an]))[0],e[1],t,"HTTP",t)},t.fromFormat=function(e,n,i){if(void 0===i&&(i={}),_e(e)||_e(n))throw new I("fromFormat requires an input string and a format");var r=(a=i).locale,a=a.numberingSystem,o=(a=(r=[(a=_n(a=r=ue.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===a?null:a,defaultToEN:!0}),e,n)).result,a.zone,a.specificOffset,a.invalidReason])[0],r[1]),s=r[2];return(r=r[3])?t.invalid(r):ti(a,o,i,"format "+n,e,s)},t.fromString=function(e,n,i){return t.fromFormat(e,n,i=void 0===i?{}:i)},t.fromSQL=function(e,t){void 0===t&&(t={});var n=Lt(e,[mn,un],[pn,In]);return ti(n[0],n[1],t,"SQL",e)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new I("need to specify a reason the DateTime is invali
1d");if(e=e instanceof xe?e:new xe(e,n),Se.throwOnInvalid)throw new g(e);return new t({invalid:e})},t.isDateTime=function(e){return e&&e.isLuxonDateTime||!1},t.parseFormatForOpts=function(e,t){return(e=Yn(e,ue.fromObject(t=void 0===t?{}:t)))?e.map((function(e){return e?e.val:null})).join(""):null},t.expandFormat=function(e,t){return void 0===t&&(t={}),Mn(kt.parseFormat(e),ue.fromObject(t)).map((function(e){return e.val})).join("")},t.resetCache=function(){ai=void 0,Ii.clear()};var r=t.prototype;return r.get=function(e){return this[e]},r.getPossibleOffsets=function(){var e,t,n,i;return this.isValid&&!this.isOffsetFixed&&(e=st(this.c),n=this.zone.offset(e-864e5),i=this.zone.offset(e+864e5),(n=this.zone.offset(e-6e4*n))!==(i=this.zone.offset(e-6e4*i)))&&(t=e-6e4*i,n=qn(e-=6e4*n,n),i=qn(t,i),n.hour===i.hour)&&n.minute===i.minute&&n.second===i.second&&n.millisecond===i.millisecond?[jn(this,{ts:e}),jn(this,{ts:t})]:[this]},r.resolvedLocaleOptions=function(e){return{locale:(e=kt.create(this.loc.clone(e=void 0===e?{}:e),e).resolvedOptions(this)).locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},r.toUTC=function(e,t){return void 0===t&&(t={}),this.setZone(ge.instance(e=void 0===e?0:e),t)},r.toLocal=function(){return this.setZone(Se.defaultZone)},r.setZone=function(e,n){var i,r=void 0!==(r=(n=void 0===n?{}:n).keepLocalTime)&&r;n=void 0!==(n=n.keepCalendarTime)&&n;return(e=he(e,Se.defaultZone)).equals(this.zone)?this:e.isValid?(i=this.ts,(r||n)&&(r=e.offset(this.ts),i=$n(this.toObject(),r,e)[0]),jn(this,{ts:i,zone:e})):t.invalid(zn(e))},r.reconfigure=function(e){var t=(e=void 0===e?{}:e).locale,n=e.numberingSystem;e=e.outputCalendar;return jn(this,{loc:t=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:e})})},r.setLocale=function(e){return this.reconfigure({locale:e})},r.set=function(e){if(!this.isValid)return this;var t,n=(r=Oe(e=ht(e,fi),this.loc)).minDaysInFirstWeek,r=r.startOfWeek,a=!_e(e.weekYear)||!_e(e.weekNumber)||!_e(e.weekday),o=!_e(e.ordinal),s=!_e(e.year),l=!_e(e.month)||!_e(e.day),c=e.weekYear||e.weekNumber;if((s||l||o)&&c)throw new m("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new m("Can't mix ordinal dates with month/day");return a?t=Te(i({},We(this.c,n,r),e),n,r):_e(e.ordinal)?(t=i({},this.toObject(),e),_e(e.day)&&(t.day=Math.min(ot(t.year,t.month),t.day))):t=Xe(i({},Ne(this.c),e)),jn(this,{ts:(s=$n(t,this.o,this.zone))[0],o:s[1]})},r.plus=function(e){return this.isValid?jn(this,ei(this,Gn.fromDurationLike(e))):this},r.minus=function(e){return this.isValid?jn(this,ei(this,Gn.fromDurationLike(e).negate())):this},r.startOf=function(e,t){if(t=void 0!==(t=(void 0===t?{}:t).useLocaleWeeks)&&t,!this.isValid)return this;var n={};switch(e=Gn.normalizeUnit(e)){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}return"weeks"===e&&(t?(t=this.loc.getStartOfWeek(),this.weekday<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t):n.weekday=1),"quarters"===e&&(t=Math.ceil(this.month/3),n.month=3*(t-1)+1),this.set(n)},r.endOf=function(e,t){var n;return this.isValid?this.plus(((n={})[e]=1,n)).startOf(e,t).minus(1):this},r.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?kt.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Hn},r.toLocaleString=function(e,t){return void 0===e&&(e=y),void 0===t&&(t={}),this.isValid?kt.create(this.loc.clone(t),e).formatDateTime(this):Hn},r.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?kt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},r.toISO=function(e){var t,n=(e=void 0===e?{}:e).format,i=void 0!==(i=e.suppressSeconds)&&i,r=void 0!==(r=e.suppressMilliseconds)&&r,a=void 0===(a=e.includeOffset)||a,o=void 0!==(o=e.extendedZone)&&o;e=e.precision;return this.isValid?(t=ii(this,n="extended"===(void 0===n?"extended":n),e=gi(void 0===e?"milliseconds":e)),3<=ci.indexOf(e)&&(t+="T"),t+ri(this,n,i,r,a,o,e)):null},r.toISODate=function(e){var t=(e=void 0===e?{}:e).format;e=e.precision;return this.isValid?ii(this,"extended"===(void 0===t?"extended":t),gi(void 0===e?"day":e)):null},r.toISOWeekDate=function(){return ni(this,"kkkk-'W'WW-c")},r.toISOTime=function(e){var t=void 0!==(t=(e=void 0===e?{}:e).suppressMilliseconds)&&t,n=void 0!==(n=e.suppressSeconds)&&n,i=void 0===(i=e.includeOffset)||i,r=void 0!==(r=e.includePrefix)&&r,a=void 0!==(a=e.extendedZone)&&a,o=void 0===(o=e.format)?"extended":o;e=e.precision;
vendor: 9,995 bytes, line 1
1return this.isValid?(e=gi(e=void 0===e?"milliseconds":e),(r&&3<=ci.indexOf(e)?"T":"")+ri(this,"extended"===o,n,t,i,a,e)):null},r.toRFC2822=function(){return ni(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},r.toHTTP=function(){return ni(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},r.toSQLDate=function(){return this.isValid?ii(this,!0):null},r.toSQLTime=function(e){var t=void 0===(t=(e=void 0===e?{}:e).includeOffset)||t,n=void 0!==(n=e.includeZone)&&n,i=(e=e.includeOffsetSpace,"HH:mm:ss.SSS");return(n||t)&&((void 0===e||e)&&(i+=" "),n?i+="z":t&&(i+="ZZ")),ni(this,i,!0)},r.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},r.toString=function(){return this.isValid?this.toISO():Hn},r[e]=function(){return this.isValid?"DateTime { ts: "+this.toISO()+", zone: "+this.zone.name+", locale: "+this.locale+" }":"DateTime { Invalid, reason: "+this.invalidReason+" }"},r.valueOf=function(){return this.toMillis()},r.toMillis=function(){return this.isValid?this.ts:NaN},r.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},r.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},r.toJSON=function(){return this.toISO()},r.toBSON=function(){return this.toJSDate()},r.toObject=function(e){var t;return void 0===e&&(e={}),this.isValid?(t=i({},this.c),e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t):{}},r.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},r.diff=function(e,t,n){var r;return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.isValid&&e.isValid?(n=i({locale:this.locale,numberingSystem:this.numberingSystem},n),t=(Array.isArray(t)?t:[t]).map(Gn.normalizeUnit),e=function(e,t,n,i){e=function(e,t,n){for(var i,r,a={},o=e,s=0,l=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter+4*(t.year-e.year)}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){return((e=Zn(e,t))-e%7)/7}],["days",Zn]];s<l.length;s++){var c=(u=l[s])[0],u=u[1];0<=n.indexOf(c)&&(a[i=c]=u(e,t),t<(r=o.plus(a))?(a[c]--,t<(e=o.plus(a))&&(r=e,a[c]--,e=o.plus(a))):e=r)}return[e,a,r,i]}(e,t,n);var r=e[0],a=e[1],o=e[2],s=(e=e[3],t-r);return n=n.filter((function(e){return 0<=["hours","minutes","seconds","milliseconds"].indexOf(e)})),0===n.length&&(o=o<t?r.plus(((t={})[e]=1,t)):o)!==r&&(a[e]=(a[e]||0)+s/(o-r)),t=Gn.fromObject(a,i),0<n.length?(e=Gn.fromMillis(s,i)).shiftTo.apply(e,n).plus(t):t}((r=e.valueOf()>this.valueOf())?this:e,r?e:this,t,n),r?e.negate():e):Gn.invalid("created by diffing an invalid DateTime")},r.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},r.until=function(e){return this.isValid?xn.fromDateTimes(this,e):this},r.hasSame=function(e,t,n){var i;return!!this.isValid&&(i=e.valueOf(),(e=this.setZone(e.zone,{keepLocalTime:!0})).startOf(t,n)<=i)&&i<=e.endOf(t,n)},r.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},r.toRelative=function(e){var n,r,a,o;return this.isValid?(n=(e=void 0===e?{}:e).base||t.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0,a=["years","months","days","hours","minutes","seconds"],o=e.unit,Array.isArray(e.unit)&&(a=e.unit,o=void 0),mi(n,this.plus(r),i({},e,{numeric:"always",units:a,unit:o}))):null},r.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?mi(e.base||t.fromObject({},{zone:this.zone}),this,i({},e,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},t.min=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(n.every(t.isDateTime))return Pe(n,(function(e){return e.valueOf()}),Math.min);throw new I("min requires all arguments be DateTimes")},t.max=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(n.every(t.isDateTime))return Pe(n,(function(e){return e.valueOf()}),Math.max);throw new I("max requires all arguments be DateTimes")},t.fromFormatExplain=function(e,t,n){var i=(n=n=void 0===n?{}:n).locale;n=n.numberingSystem;return _n(ue.fromOpts({locale:void 0===i?null:i,numberingSystem:void 0===n?null:n,defaultToEN:!0}),e,t)},t.fromStringExplain=function(e,n,i){return t.fromFormatExplain(e,n,i=void 0===i?{}:i)},t.buildFormatParser=function(e,t){var n=(t=t=void 0===t?{}:t).locale;t=t.numberingSystem,n=ue.fromOpts({locale:void 0===n?null:n,numberingSystem:void 0===t?null:t,defaultToEN:!0});return new Dn(n,e)},t.fromFormatParser=function(e,n,i){if(void 0===i&&(i={}),_e(e)||_e(n))throw new I("fromFormatParser requires an input string and a format parser");var r,a,o,s=(l=i).locale,l=l.numberingSystem;if((s=ue.fromOpts({locale:void 0===s?null:s,numberingSystem:void 0===l?null:l,defaultToEN:!0})).equals(n.locale))return r=(l=n.explainFromTokens(e)).result,a=l.zone,o=l.specificOffset,(l=l.invalidReason)?t.invalid(l):ti(r,a,i,"format "+n.format,e,o);throw new I("fromFormatParser called with a locale of "+s+", but the format parser was created for "+n.locale)},n(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?Jn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Jn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Jn(this).weekday:NaN}},{key:"isWeekend",get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}},{key:"localWeekday",get:function(){return this.isValid?Pn(this).weekday:NaN}},{key:"localWeekNumber",get:function(){return this.isValid?Pn(this).weekNumber:NaN}},{key:"localWeekYear",get:function(){return this.isValid?Pn(this).weekYear:NaN}},{key:"ordinal",get:function(){return this.isValid?Ne(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?wn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?wn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?wn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?wn.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.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return rt(this.year)}},{key:"daysInMonth",get:function(){return ot(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?at(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}},{key:"weeksInLocalWeekYear",get:function(){return this.isValid?ct(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}}],[{key:"DATE_SHORT",get:function(){return y}},{key:"DATE_MED",get:function(){return A}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return b}},{key:"DATE_FULL",get:function(){return v}},{key:"DATE_HUGE",get:function(){return B}},{key:"TIME_SIMPLE",get:function(){return F}},{key:"TIME_WITH_SECONDS",get:function(){return Q}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return U}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return G}},{key:"TIME_24_SIMPLE",get:function(){return S}},{key:"TIME_24_WITH_SECONDS",get:function(){return x}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return w}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return Z}},{key:"DATETIME_SHORT",get:function(){return k}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_MED",get:function(){return R}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return E}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return L}},{key:"DATETIME_FULL",get:function(){return W}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return T}},{key:"DATETIME_HUGE",get:function(){return N}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return X}}]),t}(Symbol.for("nodejs.util.inspect.custom"));function yi(e){if(Ci.isDateTime(e))return e;if(e&&e.valueOf&&Ye(e.valueOf()))return Ci.fromJSDate(e);if(e&&"object"==typeof e)return Ci.fromObject(e);throw new I("Unknown datetime argument: "+e+", of type "+typeof e)}return e.DateTime=Ci,e.Duration=Gn,e.FixedOffsetZone=ge,e.IANAZone=z,e.Info=wn,e.Interval=xn,e.InvalidZone=fe,e.Settings=Se,e.SystemZone=D,e.VERSION="3.7.2",e.Zone=O,Object.defineProperty(e,"__esMo
1dule",{value:!0}),e}({});!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e;function t(){return e.apply(null,arguments)}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(r(e,t))return;return 1}function o(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){for(var n=[],i=e.length,r=0;r<i;++r)n.push(t(e[r],r));return n}function u(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return Ut(e,t,n,i,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){var t,n,i=e._d&&!isNaN(e._d.getTime());return i&&(t=g(e),n=m.call(t.parsedDateParts,(function(e){return null!=e})),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict)&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function h(e){var t=d(NaN);return null!=e?u(g(t),e):g(t).userInvalidated=!0,t}var m=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},p=t.momentProperties=[],I=!1;function C(e,t){var n,i,r,a=p.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=g(t)),o(t._locale)||(e._locale=t._locale),0<a)for(n=0;n<a;n++)o(r=t[i=p[n]])||(e[i]=r);return e}function y(e){C(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===I&&(I=!0,t.updateOffset(this),I=!1)}function A(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function v(e,n){var i=!0;return u((function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){for(var a,o,s=[],l=arguments.length,c=0;c<l;c++){if(a="","object"==typeof arguments[c]){for(o in a+="\n["+c+"] ",arguments[0])r(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[c];s.push(a)}b(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var B={};function F(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),B[e]||(b(n),B[e]=!0)}function Q(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function U(e,t){var n,a=u({},e);for(n in t)r(t,n)&&(i(e[n])&&i(t[n])?(a[n]={},u(a[n],e[n]),u(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)r(e,n)&&!r(t,n)&&i(e[n])&&(a[n]=u({},a[n]));return a}function G(e){null!=e&&this.set(e)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var S=Object.keys||function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n};function x(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var w=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 2,766 bytes, line 1
1|x|X|zz?|ZZ?|.)/g,Z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,k={},V={};function R(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(V[e]=r),t&&(V[t[0]]=function(){return x(r.apply(this,arguments),t[1],t[2])}),n&&(V[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function E(e,t){return e.isValid()?(t=L(t,e.localeData()),k[t]=k[t]||function(e){for(var t,n=e.match(w),i=0,r=n.length;i<r;i++)V[n[i]]?n[i]=V[n[i]]:n[i]=(t=n[i]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var i="",a=0;a<r;a++)i+=Q(n[a])?n[a].call(t,e):n[a];return i}}(t),k[t](e)):e.localeData().invalidDate()}function L(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(Z.lastIndex=0;0<=n&&Z.test(e);)e=e.replace(Z,i),Z.lastIndex=0,--n;return e}var W={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function T(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function N(e){var t,n,i={};for(n in e)r(e,n)&&(t=T(n))&&(i[t]=e[n]);return i}var X={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},O=/\d/,M=/\d\d/,D=/\d{3}/,_=/\d{4}/,Y=/[+-]?\d{6}/,H=/\d\d?/,z=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,P=/\d{1,3}/,j=/\d{1,4}/,K=/[+-]?\d{1,6}/,q=/\d+/,$=/[+-]?\d+/,ee=/Z|[+-]\d\d:?\d\d/gi,te=/Z|[+-]\d\d(?::?\d\d)?/gi,ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,re=/^([1-9]\d|\d)/;function ae(e,t,n){ue[e]=Q(t)?t:function(e,i){return e&&n?n:t}}function oe(e,t){return r(ue,e)?ue[e](t._strict,t._locale):new RegExp(se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=0;return 0!=(e=+e)&&isFinite(e)?le(e):t}var ue={},de={};function ge(e,t){var n,i,r=t;
1for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=ce(e)}),i=e.length,n=0;n<i;n++)de[e[n]]=r}function fe(e,t){ge(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function he(e){return e%4==0&&e%100!=0||e%400==0}var me=0,pe=1,Ie=2,Ce=3,ye=4,Ae=5,be=6,ve=7,Be=8;function Fe(e){return he(e)?366:365}R("Y",0,0,(function(){var e=this.year();return e<=9999?x(e,4):"+"+e})),R(0,["YY",2],0,(function(){return this.year()%100})),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),ae("Y",$),ae("YY",H,M),ae("YYYY",j,_),ae("YYYYY",K,Y),ae("YYYYYY",K,Y),ge(["YYYYY","YYYYYY"],me),ge("YYYY",(function(e,n){n[me]=2===e.length?t.parseTwoDigitYear(e):ce(e)})),ge("YY",(function(e,n){n[me]=t.parseTwoDigitYear(e)})),ge("Y",(function(e,t){t[me]=parseInt(e,10)})),t.parseTwoDigitYear=function(e){return ce(e)+(68<ce(e)?1900:2e3)};var Qe,Ue=Ge("FullYear",!0);function Ge(e,n){return function(i){return null!=i?(xe(this,e,i),t.updateOffset(this,n),this):Se(this,e)}}function Se(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function xe(e,t,n){var i,r,a;if(e.isValid()&&!isNaN(n)){switch(i=e._d,r=e._isUTC,t){case"Milliseconds":return r?i.setUTCMilliseconds(n):i.setMilliseconds(n);case"Seconds":return r?i.setUTCSeconds(n):i.setSeconds(n);case"Minutes":return r?i.setUTCMinutes(n):i.setMinutes(n);case"Hours":return r?i.setUTCHours(n):i.setHours(n);case"Date":return r?i.setUTCDate(n):i.setDate(n);case"FullYear":break;default:return}t=n,a=e.month(),e=29!==(e=e.date())||1!==a||he(t)?e:28,r?i.setUTCFullYear(t,a,e):i.setFullYear(t,a,e)}}function we(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(e+=(t-(n=(t%(n=12)+n)%n))/12,1==n?he(e)?29:28:31-n%7%2)}Qe=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},R("M",["MM",2],"Mo",(function(){return this.month()+1})),R("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),R("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ae("M",H,ie),ae("MM",H,M),ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),ae("MMMM",(function(e,t){return t.monthsRegex(e)})),ge(["M","MM"],(function(e,t){t[pe]=ce(e)-1})),ge(["MMM","MMMM"],(function(e,t,n,i){null!=(i=n._locale.monthsParse(e,i,n._strict))?t[pe]=i:g(n).invalidMonth=e}));var Ze="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ke="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ve=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=ne,Ee=ne;function Le(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=ce(t);else if(!s(t=e.localeData().monthsParse(t)))return;var n=(n=e.date())<29?n:Math.min(n,we(e.year(),t));e._isUTC?e._d.setUTCMonth(t,n):e._d.setMonth(t,n)}}function We(e){return null!=e?(Le(this,e),t.updateOffset(this,!0),this):Se(this,"Month")}function Te(){function e(e,t){return t.length-e.length}for(var t,n,i=[],r=[],a=[],o=0;o<12;o++)n=d([2e3,o]),t=se(this.monthsShort(n,"")),n=se(this.months(n,"")),i.push(t),r.push(n),a.push(n),a.push(t);i.sort(e),r.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ne(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function Xe(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Oe(e,t,n){return(n=7+t-n)-(7+Xe(e,0,n).getUTCDay()-t)%7-1}function Me(e,t,n,i,r){var a;n=(t=1+7*(t-1)+(7+n-i)%7+Oe(e,i,r))<=0?Fe(a=e-1)+t:t>Fe(e)?(a=e+1,t-Fe(e)):(a=e,t);return{year:a,dayOfYear:n}}function De(e,t,n){var i,r,a=Oe(e.year(),t,n);return(a=Math.floor((e.dayOfYear()-a-1)/7)+1)<1?i=a+_e(r=e.year()-1,t,n):a>_e(e.year(),t,n)?(i=a-_e(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function _e(e,t,n){var i=Oe(e,t,n);t=Oe(e+1,t,n);return(Fe(e)-i+t)/7}function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),ae("w",H,ie),ae("ww",H,M),ae("W",H,ie),ae("WW",H,M),fe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=ce(e)})),R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),ae("d",H),ae("e",H),ae("E",H),ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),fe(["dd","ddd","dddd"],(function(e,t,n,i){null!=(i=n._locale.weekdaysParse(e,i,n._strict))?t.d=i:g(n).invalidWeekday=e})),fe(["d","e","E"],(function(e,t,n,i){t[i]=ce(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pe=ne,je=ne,Ke=ne;function qe(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],a=[],o=[],s=[],l=0;l<7;l++)i=d([2e3,1]).day(l),t=se(this.weekdaysMin(i,"")),n=se(this.weekdaysShort(i,"")),i=se(this.weekdays(i,"")),r.push(t),a.push(n),o.push(i),s.push(t),s.push(n),s.push(i);r.sort(e),a.sort(e),o.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function $e(){return this.hours()%12||12}function et(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tt(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,$e),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+$e.apply(this)+x(this.minutes(),2)}
vendor: 15,298 bytes, line 1
1)),R("hmmss",0,0,(function(){return""+$e.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),et("a",!0),et("A",!1),ae("a",tt),ae("A",tt),ae("H",H,re),ae("h",H,ie),ae("k",H,ie),ae("HH",H,M),ae("hh",H,M),ae("kk",H,M),ae("hmm",z),ae("hmmss",J),ae("Hmm",z),ae("Hmmss",J),ge(["H","HH"],Ce),ge(["k","kk"],(function(e,t,n){e=ce(e),t[Ce]=24===e?0:e})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[Ce]=ce(e),g(n).bigHour=!0})),ge("hmm",(function(e,t,n){var i=e.length-2;t[Ce]=ce(e.substr(0,i)),t[ye]=ce(e.substr(i)),g(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[Ce]=ce(e.substr(0,i)),t[ye]=ce(e.substr(i,2)),t[Ae]=ce(e.substr(r)),g(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var i=e.length-2;t[Ce]=ce(e.substr(0,i)),t[ye]=ce(e.substr(i))})),ge("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[Ce]=ce(e.substr(0,i)),t[ye]=ce(e.substr(i,2)),t[Ae]=ce(e.substr(r))})),ne=Ge("Hours",!0);var nt,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ze,monthsShort:ke,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Je,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},rt={},at={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function st(e){var t,n;if(void 0===rt[e]&&"undefined"!=typeof module&&module&&module.exports&&(n=e)&&n.match("^[^/\\\\]*$"))try{t=nt._abbr,require("./locale/"+e),lt(t)}catch(t){rt[e]=null}return rt[e]}function lt(e,t){return e&&((t=o(t)?ut(e):ct(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ct(e,t){if(null===t)return delete rt[e],null;var n,i=it;if(t.abbr=e,null!=rt[e])F("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=st(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new G(U(i,t)),at[e]&&at[e].forEach((function(e){ct(e.name,e.config)})),lt(e),rt[e]}function ut(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!n(e)){if(t=st(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=ot(e[a]).split("-")).length,n=(n=ot(e[a+1]))?n.split("-"):null;0<t;){if(i=st(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}a++}return nt}(e)}function dt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[pe]<0||11<t[pe]?pe:t[Ie]<1||t[Ie]>we(t[me],t[pe])?Ie:t[Ce]<0||24<t[Ce]||24===t[Ce]&&(0!==t[ye]||0!==t[Ae]||0!==t[be])?Ce:t[ye]<0||59<t[ye]?ye:t[Ae]<0||59<t[Ae]?Ae:t[be]<0||999<t[be]?be:-1,g(e)._overflowDayOfYear&&(t<me||Ie<t)&&(t=Ie),g(e)._overflowWeeks&&-1===t&&(t=ve),g(e)._overflowWeekday&&-1===t&&(t=Be),g(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],It=/^\/?Date\((-?\d+)/i,Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,i,r,a,o,s=e._i,l=gt.exec(s)||ft.exec(s),c=(s=mt.length,pt.length);if(l){for(g(e).iso=!0,t=0,n=s;t<n;t++)if(mt[t][1].exec(l[1])){r=mt[t][0],i=!1!==mt[t][2];break}if(null==r)e._isValid=!1;else{if(l[3]){for(t=0,n=c;t<n;t++)if(pt[t][1].exec(l[3])){a=(l[2]||" ")+pt[t][0];break}if(null==a)return void(e._isValid=!1)}if(i||null==a){if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),Ft(e)}else e._isValid=!1}}else e._isValid=!1}function bt(e){var t,n,i=Ct.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));i?(t=function(e,t,n,i,r,a){return e=[function(e){return(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e}(e),ke.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)],a&&e.push(parseInt(a,10)),e}(i[4],i[3],i[2],i[5],i[6],i[7]),function(e,t,n){if(!e||ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay())return 1;g(n).weekdayMismatch=!0,n._isValid=!1}(i[1],t,e)&&(e._a=t,e._tzm=(t=i[8],n=i[9],i=i[10],t?yt[t]:n?0:((t=parseInt(i,10))-(n=t%100))/100*60+n),e._d=Xe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function vt(e,t,n){return null!=e?e:null!=t?t:n}function Bt(e){var n,i,r,a,o,s,l,c,u,d,f,h=[];if(!e._d){for(r=e,a=new Date(t.now()),i=r._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()],e._w&&null==e._a[Ie]&&null==e._a[pe]&&(null!=(a=(r=e)._w).GG||null!=a.W||null!=a.E?(c=1,u=4,o=vt(a.GG,r._a[me],De(Gt(),1,4).year),s=vt(a.W,1),((l=vt(a.E,1))<1||7<l)&&(d=!0)):(c=r._locale._week.dow,u=r._locale._week.doy,f=De(Gt(),c,u),o=vt(a.gg,r._a[me],f.year),s=vt(a.w,f.week),null!=a.d?((l=a.d)<0||6<l)&&(d=!0):null!=a.e?(l=a.e+c,(a.e<0||6<a.e)&&(d=!0)):l=c),s<1||s>_e(o,c,u)?g(r)._overflowWeeks=!0:null!=d?g(r)._overflowWeekday=!0:(f=Me(o,s,l,c,u),r._a[me]=f.year,r._dayOfYear=f.dayOfYear)),null!=e._dayOfYear&&(a=vt(e._a[me],i[me]),(e._dayOfYear>Fe(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),d=Xe(a,0,e._dayOfYear),e._a[pe]=d.getUTCMonth(),e._a[Ie]=d.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=h[n]=i[n];for(;n<7;n++)e._a[n]=h[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[Ce]&&0===e._a[ye]&&0===e._a[Ae]&&0===e._a[be]&&(e._nextDay=!0,e._a[Ce]=0),e._d=(e._useUTC?Xe:Ne).apply(null,h),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ce]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(g(e).weekdayMismatch=!0)}}function Ft(e){if(e._f===t.ISO_8601)At(e);else if(e._f===t.RFC_2822)bt(e);else{e._a=[],g(e).empty=!0;for(var n,i,a,o,s,l=""+e._i,c=l.length,u=0,d=L(e._f,e._locale).match(w)||[],f=d.length,h=0;h<f;h++)i=d[h],(n=(l.match(oe(i,e))||[])[0])&&(0<(a=l.substr(0,l.indexOf(n))).length&&g(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),V[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),a=i,s=e,null!=(o=n)&&r(de,a)&&de[a](o,s._a,s,a)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=c-u,0<l.length&&g(e).unusedInput.push(l),e._a[Ce]<=12&&!0===g(e).bigHour&&0<e._a[Ce]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ce]=function(e,t,n){return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[Ce],e._meridiem),null!==(c=g(e).era)&&(e._a[me]=e._locale.erasConvertYear(c,e._a[me])),Bt(e),dt(e)}}function Qt(e){var r,a,d,m=e._i,p=e._f;if(e._locale=e._locale||ut(e._l),null===m||void 0===p&&""===m)return h({nullInput:!0});if("string"==typeof m&&(e._i=m=e._locale.preparse(m)),A(m))return new y(dt(m));if(l(m))e._d=m;else if(n(p)){var I,b,v,B,F,Q,U=e,G=!1,S=U._f.length;if(0===S)g(U).invalidFormat=!0,U._d=new Date(NaN);else{for(B=0;B<S;B++)F=0,Q=!1,I=C({},U),null!=U._useUTC&&(I._useUTC=U._useUTC),I._f=U._f[B],Ft(I),f(I)&&(Q=!0),F=(F+=g(I).charsLeftOver)+10*g(I).unusedTokens.length,g(I).score=F,G?F<v&&(v=F,b=I):(null==v||F<v||Q)&&(v=F,b=I,Q)&&(G=!0);u(U,b||I)}}else p?Ft(e):o(p=(m=e)._i)?m._d=new Date(t.now()):l(p)?m._d=new Date(p.valueOf()):"string"==typeof p?(a=m,null!==(r=It.exec(a._i))?a._d=new Date(+r[1]):(At(a),!1===a._isValid&&(delete a._isValid,bt(a),!1===a._isValid)&&(delete a._isValid,a._strict?a._isValid=!1:t.createFromInputFallback(a)))):n(p)?(m._a=c(p.slice(0),(function(e){return parseInt(e,10)})),Bt(m)):i(p)?(r=m)._d||(d=void 0===(a=N(r._i)).day?a.date:a.day,r._a=c([a.year,a.month,d,a.hour,a.minute,a.second,a.millisecond],(function(e){return e&&parseInt(e,10)})),Bt(r)):s(p)?m._d=new Date(p):t.createFromInputFallback(m);return f(e)||(e._d=null),e}function Ut(e,t,r,o,s){var l={};return!0!==t&&!1!==t||(o=t,t=void 0),!0!==r&&!1!==r||(o=r,r=void 0),(i(e)&&a(e)||n(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=r,l._i=e,l._f=t,l._strict=o,(s=new y(dt(Qt(s=l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Gt(e,t,n,i){return Ut(e,t,n,i,!1)}function St(e,t){var i,r;if(!(t=1===t.length&&n(t[0])?t[0]:t).length)return Gt();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}t.createFromInputFallback=v("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),t.ISO_8601=function(){},t.RFC_2822=function(){},z=v("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()})),J=v("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:h()}));var xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function wt(e){var t=(e=N(e)).year||0,n=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,n,i=!1,a=xt.length;for(t in e)if(r(e,t)&&(-1===Qe.call(xt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[xt[n]]){if(i)return!1;parseFloat(e[xt[n]])!==ce(e[xt[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*n+12*t,this._data={},this._locale=ut(),this._bubble()}function Zt(e){return e instanceof wt}function kt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Vt(e,t){R(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+x(~~(e/60),2)+t+x(~~e%60,2)}))}Vt("Z",":"),Vt("ZZ",""),ae("Z",te),ae("ZZ",te),ge(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Et(te,e)}));var Rt=/([\+\-]|\d\d)/gi;function Et(e,t){return null===(t=(t||"").match(e))?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+ce(e[2]))?0:"+"===e[0]?t:-t}function Lt(e,n){var i;return n._isUTC?(n=n.clone(),i=(A(e)||l(e)?e:Gt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+i),t.updateOffset(n,!1),n):Gt(e).local()}function Wt(e){return-Math.round(e._d.getTimezoneOffset())}function Tt(){return!!this.isValid()&&this._isUTC&&0===this._offset}t.updateOffset=function(){};var Nt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Xt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ot(e,t){var n,i=e;return Zt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=Nt.exec(e))?(n="-"===t[1]?-1:1,i={y:0,d:ce(t[Ie])*n,h:ce(t[Ce])*n,m:ce(t[ye])*n,s:ce(t[Ae])*n,ms:ce(kt(1e3*t[be]))*n}):(t=Xt.exec(e))?(n="-"===t[1]?-1:1,i={y:Mt(t[2],n),M:Mt(t[3],n),w:Mt(t[4],n),d:Mt(t[5],n),h:Mt(t[6],n),m:Mt(t[7],n),s:Mt(t[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=function(e,t){var n;return e.isValid()&&t.isValid()?(t=Lt(t,e),e.isBefore(t)?n=Dt(e,t):((n=Dt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Gt(i.from),Gt(i.to)),(i={}).ms=t.milliseconds,i.M=t.months),n=new wt(i),Zt(e)&&r(e,"_locale")&&(n._locale=e._locale),Zt(e)&&r(e,"_isValid")&&(n._isValid=e._isValid),n}function Mt(e,t){return e=e&&parseFloat(e.replace(",",".")),(isNaN(e)?0:e)*t}function Dt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function _t(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(F(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Yt(this,Ot(n,i),e),this}}function Yt(e,n,i,r){var a=n._milliseconds,o=kt(n._days);n=kt(n._months);e.isValid()&&(r=null==r||r,n&&Le(e,Se(e,"Month")+n*i),o&&xe(e,"Date",Se(e,"Date")+o*i),a&&e._d.setTime(e._d.valueOf()+a*i),r)&&t.updateOffset(e,o||n)}function Ht(e){return"string"==typeof e||e instanceof String}function zt(e,t){var n,i;return e.date()<t.date()?-zt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(n,"months"))<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=ut(e))&&(this._locale=e),this)}function Pt(){return this._locale}Ot.fn=wt.prototype,Ot.invalid=function(){return Ot(NaN)},Ze=_t(1,"add"),He=_t(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",Je=v("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));var jt=126227808e5;function Kt(e,t){return(e%t+t)%t}function qt(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-jt:new Date(e,t,n).valueOf()}function $t(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-jt:Date.UTC(e,t,n
1)}function en(e,t){return t.erasAbbrRegex(e)}function tn(){for(var e,t,n,i=[],r=[],a=[],o=[],s=this.eras(),l=0,c=s.length;l<c;++l)e=se(s[l].name),t=se(s[l].abbr),n=se(s[l].narrow),r.push(e),i.push(t),a.push(n),o.push(e),o.push(t),o.push(n);this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function nn(e,t){R(0,[e,e.length],0,t)}function rn(e,t,n,i,r){var a;return null==e?De(this,i,r).year:(a=_e(e,i,r),function(e,t,n,i,r){return t=Xe((e=Me(e,t,n,i,r)).year,0,e.dayOfYear),this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=a<t?a:t,n,i,r))}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),ae("N",en),ae("NN",en),ae("NNN",en),ae("NNNN",(function(e,t){return t.erasNameRegex(e)})),ae("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){(i=n._locale.erasParse(e,i,n._strict))?g(n).era=i:g(n).invalidEra=e})),ae("y",q),ae("yy",q),ae("yyy",q),ae("yyyy",q),ae("yo",(function(e,t){return t._eraYearOrdinalRegex||q})),ge(["y","yy","yyy","yyyy"],me),ge(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[me]=n._locale.eraYearOrdinalParse(e,r):t[me]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),nn("gggg","weekYear"),nn("ggggg","weekYear"),nn("GGGG","isoWeekYear"),nn("GGGGG","isoWeekYear"),ae("G",$),ae("g",$),ae("GG",H,M),ae("gg",H,M),ae("GGGG",j,_),ae("gggg",j,_),ae("GGGGG",K,Y),ae("ggggg",K,Y),fe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=ce(e)})),fe(["gg","GG"],(function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),ae("Q",O),ge("Q",(function(e,t){t[pe]=3*(ce(e)-1)})),R("D",["DD",2],"Do","date"),ae("D",H,ie),ae("DD",H,M),ae("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],Ie),ge("Do",(function(e,t){t[Ie]=ce(e.match(H)[0])})),j=Ge("Date",!0),R("DDD",["DDDD",3],"DDDo","dayOfYear"),ae("DDD",P),ae("DDDD",D),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),R("m",["mm",2],0,"minute"),ae("m",H,re),ae("mm",H,M),ge(["m","mm"],ye);var an;_=Ge("Minutes",!1),R("s",["ss",2],0,"second"),ae("s",H,re),ae("ss",H,M),ge(["s","ss"],Ae),K=Ge("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ae("S",P,O),ae("SS",P,M),ae("SSS",P,D),an="SSSS";an.length<=9;an+="S")ae(an,q);function on(e,t){t[be]=ce(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")ge(an,on);function sn(e){return e}function ln(e,t,n,i){var r=ut();i=d().set(i,t);return r[n](i,e)}function cn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ln(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=ln(e,r,n,"month");return i}function un(e,t,n,i){"boolean"==typeof e?s(t)&&(n=t,t=void 0):(t=e,e=!1,s(n=t)&&(n=t,t=void 0)),t=t||"";var r,a=ut(),o=e?a._week.dow:0,l=[];if(null!=n)return ln(t,(n+o)%7,i,"day");for(r=0;r<7;r++)l[r]=ln(t,(r+o)%7,i,"day");return l}Y=Ge("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName"),(ie=y.prototype).add=Ze,ie.calendar=function(e,o){1===arguments.length&&(arguments[0]?function(e){return A(e)||l(e)||Ht(e)||s(e)||function(e){var t=n(e),i=!1;return t&&(i=0===e.filter((function(t){return!s(t)&&Ht(e)})).length),t&&i}(e)||function(e){var t,n=i(e)&&!a(e),o=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=s.length;for(t=0;t<l;t+=1)o=o||r(e,s[t]);return n&&o}(e)||null==e}(arguments[0])?(e=arguments[0],o=void 0):function(e){for(var t=i(e)&&!a(e),n=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s=0;s<o.length;s+=1)n=n||r(e,o[s]);return t&&n}(arguments[0])&&(o=arguments[0],e=void 0):o=e=void 0);var c=Lt(e=e||Gt(),this).startOf("day");c=t.calendarFormat(this,c)||"sameElse",o=o&&(Q(o[c])?o[c].call(this,e):o[c]);
vendor: 17,105 bytes, line 1
1return this.format(o||this.localeData().calendar(c,this,Gt(e)))},ie.clone=function(){return new y(this)},ie.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Lt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=T(t)){case"year":a=zt(this,i)/12;break;case"month":a=zt(this,i);break;case"quarter":a=zt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:le(a)},ie.endOf=function(e){var n,i;if(void 0!==(e=T(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?$t:qt,e){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-Kt(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-Kt(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-Kt(n,1e3)-1}this._d.setTime(n),t.updateOffset(this,!0)}return this},ie.format=function(e){return e=E(this,e=e||(this.isUtc()?t.defaultFormatUtc:t.defaultFormat)),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(A(e)&&e.isValid()||Gt(e).isValid())?Ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Gt(),e)},ie.to=function(e,t){return this.isValid()&&(A(e)&&e.isValid()||Gt(e).isValid())?Ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Gt(),e)},ie.get=function(e){return Q(this[e=T(e)])?this[e]():this},ie.invalidAt=function(){return g(this).overflow},ie.isAfter=function(e,t){return e=A(e)?e:Gt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=T(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=A(e)?e:Gt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=T(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,n,i){return e=A(e)?e:Gt(e),t=A(t)?t:Gt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},ie.isSame=function(e,t){e=A(e)?e:Gt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=T(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return f(this)},ie.lang=Je,ie.locale=Jt,ie.localeData=Pt,ie.max=J,ie.min=z,ie.parsingFlags=function(){return u({},g(this))},ie.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:X[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=N(e)),i=n.length,a=0;a<i;a++)this[n[a].unit](e[n[a].unit]);else if(Q(this[e=T(e)]))return this[e](t);return this},ie.startOf=function(e){var n,i;if(void 0!==(e=T(e))&&"millisecond"!==e&&this.isValid()){switch(i=this._isUTC?$t:qt,e){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Kt(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=Kt(n,6e4);break;case"second":n=this._d.valueOf(),n-=Kt(n,1e3)}this._d.setTime(n),t.updateOffset(this,!0)}return this},ie.subtract=He,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?E(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Q(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",E(t,"Z")):E(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},ie.inspect=function(){var e,t,n;return this.isValid()?(t="moment",e="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},ie.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},ie.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},ie.eraYear=function(){for(var e,n,i=this.localeData().eras(),r=0,a=i.length;r<a;++r)if(e=i[r].since<=i[r].until?1:-1,n=this.clone().startOf("day").valueOf(),i[r].since<=n&&n<=i[r].until||i[r].until<=n&&n<=i[r].since)return(this.year()-t(i[r].since).year())*e+i[r].offset;return this.year()},ie.year=Ue,ie.isLeapYear=function(){return he(this.year())},ie.weekYear=function(e){return rn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return rn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=We,ie.daysInMonth=function(){return we(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=De(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return _e(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return _e(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return _e(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return _e(this.isoWeekYear(),1,4)},ie.date=j,ie.day=ie.days=function(e){var t,n,i;return this.isValid()?(t=Se(this,"Day"),null!=e?(n=e,i=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},ie.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},ie.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},ie.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},ie.hour=ie.hours=ne,ie.minute=ie.minutes=_,ie.second=ie.seconds=K,ie.millisecond=ie.milliseconds=Y,ie.utcOffset=function(e,n,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?a:Wt(this);if("string"==typeof e){if(null===(e=Et(te,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&n&&(r=Wt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!n||this._changeInProgress?Yt(this,Ot(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Wt(this),"m"),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Et(ee,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Gt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Tt,ie.isUTC=Tt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=v("dates accessor is deprecated. Use date instead.",j),ie.months=v("months accessor is deprecated. Use month instead",We),ie.years=v("years accessor is deprecated. Use year instead",Ue),ie.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()})),ie.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){var e,t;return o(this._isDSTShifted)&&(C(e={},this),(e=Qt(e))._a?(t=(e._isUTC?d:Gt)(e._a),this._isDSTShifted=this.isValid()&&0<function(e,t){for(var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<n;a++)ce(e[a])!==ce(t[a])&&r++;return r+i}(e._a,t.toArray())):this._isDSTShifted=!1),this._isDSTShifted})),(re=G.prototype).calendar=function(e,t,n){return Q(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},re.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(w).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},re.invalidDate=function(){return this._invalidDate},re.ordinal=function(e){return this._ordinal.replace("%d",e)},re.preparse=sn,re.postformat=sn,re.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return Q(r)?r(e,t,n,i):r.replace(/%d/i,e)},re.pastFuture=function(e,t){return Q(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},re.set=function(e){var t,n;for(n in e)r(e,n)&&(Q(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},re.eras=function(e,n){for(var i,r=this._eras||ut("en")._eras,a=0,o=r.length;a<o;++a){if("string"==typeof r[a].since)i=t(r[a].since).startOf("day"),r[a].since=i.valueOf();switch(typeof r[a].until){case"undefined":r[a].until=1/0;break;case"string":i=t(r[a].until).startOf("day").valueOf(),r[a].until=i.valueOf()}}return r},re.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if(0<=[a,o,s].indexOf(e))return l[i]},re.erasConvertYear=function(e,n){var i=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*i},re.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||tn.call(this),e?this._erasAbbrRegex:this._erasRegex},re.erasNameRegex=function(e){return r(this,"_erasNameRegex")||tn.call(this),e?this._erasNameRegex:this._erasRegex},re.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||tn.call(this),e?this._erasNarrowRegex:this._erasRegex},re.months=function(e,t){return e?(n(this._months)?this._months:this._months[(this._months.isFormat||Ve).test(t)?"format":"standalone"])[e.month()]:n(this._months)?this._months:this._months.standalone},re.monthsShort=function(e,t){return e?(n(this._monthsShort)?this._monthsShort:this._monthsShort[Ve.test(t)?"format":"standalone"])[e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},re.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,a;e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Qe.call(this._shortMonthsParse,e))?r:null:-1!==(r=Qe.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=Qe.call(this._shortMonthsParse,e))||-1!==(r=Qe.call(this._longMonthsParse,e))?r:null:-1!==(r=Qe.call(this._longMonthsParse,e))||-1!==(r=Qe.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},re.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},re.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},re.week=function(e){return De(e,this._week.dow,this._week.doy).week},re.firstDayOfYear=function(){return this._week.doy},re.firstDayOfWeek=function(){return this._week.dow},re.weekdays=function(e,t){return t=n(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ye(t,this._week.dow):e?t[e.day()]:t},re.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},re.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},re.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a;e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Qe.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=Qe.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=Qe.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=Qe.call(this._weekdaysParse,e))||-1!==(r=Qe.call(this._shortWeekdaysParse,e))||-1!==(r=Qe.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=Qe.call(this._shortWeekdaysParse,e))||-1!==(r=Qe.call(this._weekdaysParse,e))||-1!==(r=Qe.call(this._minWeekdaysParse,e))?r:null:-1!==(r=Qe.call(this._minWeekdaysParse,e))||-1!==(r=Qe.call(this._weekdaysParse,e))||-1!==(r=Qe.call(this._shortWeekdaysParse,e))?r:null}
vendor: 5,847 bytes, line 1
1.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},re.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Pe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},re.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},re.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},re.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},re.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),t.lang=v("moment.lang is deprecated. Use moment.locale instead.",lt),t.langData=v("moment.langData is deprecated. Use moment.localeData instead.",ut);var dn=Math.abs;function gn(e,t,n,i){return t=Ot(t,n),e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function fn(e){return e<0?Math.floor(e):Math.ceil(e)}function hn(e){return 4800*e/146097}function mn(e){return 146097*e/4800}function pn(e){return function(){return this.as(e)}}function In(e){return function(){return this.isValid()?this._data[e]:NaN}}O=pn("ms"),M=pn("s"),P=pn("m"),D=pn("h"),Ze=pn("d"),J=pn("w"),z=pn("M"),He=pn("Q"),ne=pn("y"),_=O;K=In("milliseconds"),Y=In("seconds"),j=In("minutes"),Ue=In("hours"),re=In("days");var Cn=In("months"),yn=In("years"),An=Math.round,bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var vn=Math.abs;function Bn(e){return(0<e)-(e<0)||+e}function Fn(){var e,t,n,i,r,a,o,s,l,c,u;return this.isValid()?(e=vn(this._milliseconds)/1e3,t=vn(this._days),n=vn(this._months),(s=this.asSeconds())?(i=le(e/60),r=le(i/60),e%=60,i%=60,a=le(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=Bn(this._months)!==Bn(s)?"-":"",c=Bn(this._days)!==Bn(s)?"-":"",u=Bn(this._milliseconds)!==Bn(s)?"-":"",(s<0?"-":"")+"P"+(a?l+a+"Y":"")+(n?l+n+"M":"")+(t?c+t+"D":"")+(r||i||e?"T":"")+(r?u+r+"H":"")+(i?u+i+"M":"")+(e?u+o+"S":"")):"P0D"):this.localeData().invalidDate()}var Qn=wt.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=dn(this._milliseconds),this._days=dn(this._days),this._months=dn(this._months),e.milliseconds=dn(e.milliseconds),e.seconds=dn(e.seconds),e.minutes=dn(e.minutes),e.hours=dn(e.hours),e.months=dn(e.months),e.years=dn(e.years),this},Qn.add=function(e,t){return gn(this,e,t,1)},Qn.subtract=function(e,t){return gn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=T(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+hn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(mn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=O,Qn.asSeconds=M,Qn.asMinutes=P,Qn.asHours=D,Qn.asDays=Ze,Qn.asWeeks=J,Qn.asMonths=z,Qn.asQuarters=He,Qn.asYears=ne,Qn.valueOf=_,Qn._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*fn(mn(n)+t),n=t=0),i.milliseconds=e%1e3,e=le(e/1e3),i.seconds=e%60,e=le(e/60),i.minutes=e%60,e=le(e/60),i.hours=e%24,t+=le(e/24),n+=e=le(hn(t)),t-=fn(mn(e)),e=le(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},Qn.clone=function(){return Ot(this)},Qn.get=function(e){return e=T(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=K,Qn.seconds=Y,Qn.minutes=j,Qn.hours=Ue,Qn.days=re,Qn.weeks=function(){return le(this.days()/7)},Qn.months=Cn,Qn.years=yn,Qn.humanize=function(e,t){var n,i;return this.isValid()?(n=!1,i=bn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},bn,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=function(e,t,n,i){var r=Ot(e).abs(),a=An(r.as("s")),o=An(r.as("m")),s=An(r.as("h")),l=An(r.as("d")),c=An(r.as("M")),u=An(r.as("w"));return r=An(r.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||(o<=1?["m"]:o<n.m&&["mm",o])||(s<=1?["h"]:s<n.h&&["hh",s])||
1(l<=1?["d"]:l<n.d&&["dd",l]),(a=(a=null!=n.w?a||(u<=1?["w"]:u<n.w&&["ww",u]):a)||(c<=1?["M"]:c<n.M&&["MM",c])||(r<=1?["y"]:["yy",r]))[2]=t,a[3]=0<+e,a[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,a)}(this,!n,i,e=this.localeData()),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},Qn.toISOString=Fn,Qn.toString=Fn,Qn.toJSON=Fn,Qn.locale=Jt,Qn.localeData=Pt,Qn.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),Qn.lang=Je,R("X",0,0,"unix"),R("x",0,0,"valueOf"),ae("x",$),ae("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(ce(e))})),t.version="2.30.1",e=Gt,t.fn=ie,t.min=function(){return St("isBefore",[].slice.call(arguments,0))},t.max=function(){return St("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=d,t.unix=function(e){return Gt(1e3*e)},t.months=function(e,t){return cn(e,t,"months")},t.isDate=l,t.locale=lt,t.invalid=h,t.duration=Ot,t.isMoment=A,t.weekdays=function(e,t,n){return un(e,t,n,"weekdays")},t.parseZone=function(){return Gt.apply(null,arguments).parseZone()},t.localeData=ut,t.isDuration=Zt,t.monthsShort=function(e,t){return cn(e,t,"monthsShort")},t.weekdaysMin=function(e,t,n){return un(e,t,n,"weekdaysMin")},t.defineLocale=ct,t.updateLocale=function(e,t){var n,i;return null!=t?(i=it,null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(U(rt[e]._config,t)):(t=U(i=null!=(n=st(e))?n._config:i,t),null==n&&(t.abbr=e),(i=new G(t)).parentLocale=rt[e],rt[e]=i),lt(e)):null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===lt()&<(e)):null!=rt[e]&&delete rt[e]),rt[e]},t.locales=function(){return S(rt)},t.weekdaysShort=function(e,t,n){return un(e,t,n,"weekdaysShort")},t.normalizeUnits=T,t.relativeTimeRounding=function(e){return void 0===e?An:"function"==typeof e&&(An=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==bn[e]&&(void 0===t?bn[e]:(bn[e]=t,"s"===e&&(bn.ss=t-1),!0))},t.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},t.prototype=ie,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})),function(e,t){"use strict";"object"==typeof module&&module.exports?module.exports=t(require("moment")):"function"==typeof define&&define.amd?define(["moment"],t):t(e.moment)}(this,(function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},i={},r={},a={},o={},s=+(x=(e&&"string"==typeof e.version||U("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/"),e.version.split(".")))[0],l=+x[1];function c(e){return 96<e?e-87:64<e?e-29:e-48}function u(e){var t=0,n=(o=e.split("."))[0],i=o[1]||"",r=1,a=0,o=1;for(45===e.charCodeAt(0)&&(o=-(t=1));t<n.length;t++)a=60*a+c(n.charCodeAt(t));for(t=0;t<i.length;t++)r/=60,a+=c(i.charCodeAt(t))*r;return a*o}function d(e){for(var t=0;t<e.length;t++)e[t]=u(e[t])}function g(e,t){for(var n=[],i=0;i<t.length;i++)n[i]=e[t[i]];return n}function f(e){for(var t=(e=e.split("|"))[2].split(" "),n=e[3].split(""),i=e[4].split(" "),r=(d(t),d(n),d(i),i),a=n.length,o=0;o<a;o++)r[o]=Math.round((r[o-1]||0)+6e4*r[o]);return r[a-1]=1/0,{name:e[0],abbrs:g(e[1].split(" "),n),offsets:g(t,n),untils:i,population:0|e[5]}}function h(e){e&&this._set(f(e))}function m(e,t){this.name=e,this.zones=t}function p(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function I(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function C(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:e.zone.population!==t.zone.population?t.zone.population-e.zone.population:t.zone.name.localeCompare(e.zone.name)}function y(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&3<e.length){var t=a[A(e)];if(t)return t;U("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}for(var n,i,r=function(){for(var e,t,n,i=(new Date).getFullYear()-2,r=new p(new Date(i,0,1)),a=r.offset,o=[r],s=1;s<48;s++)(n=new Date(i,s,1).getTimezoneOffset())!==a&&(e=function(e,t){for(var n;n=6e4*((t.at-e.at)/12e4|0);)(n=new p(new Date(e.at+n))).offset===e.offset?e=n:t=n;return e}(r,t=new p(new Date(i,s,1))),o.push(e),o.push(new p(new Date(e.at+6e4))),r=t,a=n);for(s=0;s<4;s++)o.push(new p(new Date(i+s,0,1))),o.push(new p(new Date(i+s,6,1)));return o}(),s=r.length,l=function(e){for(var t,n,i,r=e.length,s={},l=[],c={},u=0;u<r;u++)if(n=e[u].offset,!c.hasOwnProperty(n)){for(t in i=o[n]||{})i.hasOwnProperty(t)&&(s[t]=!0);c[n]=!0}for(u in s)s.hasOwnProperty(u)&&l.push(a[u]);return l}(r),c=[],u=0;u<l.length;u++){for(n=new I(v(l[u])),i=0;i<s;i++)n.scoreOffsetAt(r[i]);c.push(n)}return c.sort(C),0<c.length?c[0].zone.name:void 0}function A(e){return(e||"").toLowerCase().replace(/\//g,"_")}function b(e){var t,i,r,s;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++){s=A(i=(r=e[t].split("|"))[0]),n[s]=e[t],a[s]=i,c=l=void 0;var l,c,u=s,g=r[2].split(" ");for(d(g),l=0;l<g.length;l++)c=g[l],o[c]=o[c]||{},o[c][u]=!0}}function v(e,t){e=A(e);var r=n[e];return r instanceof h?r:"string"==typeof r?(r=new h(r),n[e]=r):i[e]&&t!==v&&(t=v(i[e],v))?((r=n[e]=new h)._set(t),r.name=a[e],r):null}function B(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=A((n=e[t].split("|"))[0]),o=A(n[1]),i[r]=o,a[r]=n[0],i[o]=r,a[o]=n[1]}function F(e){b(e.zones),B(e.links);var t,n,i,a=e.countries;if(a&&a.length)for(t=0;t<a.length;t++)n=(i=a[t].split("|"))[0].toUpperCase(),i=i[1].split(" "),r[n]=new m(n,i);G.dataVersion=e.version}function Q(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function U(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function G(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1];n=e.utc.apply(null,n);return!e.isMoment(t)&&Q(n)&&(t=v(i))&&n.add(t.parse(n),"minutes"),n.tz(i),n}(s<2||2==s&&l<6)&&U("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),h.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){if(e=function(e,t){var n,i=t.length;if(e<t[0])return 0;if(1<i&&t[i-1]===1/0&&e>=t[i-2])return i-1;if(e>=t[i-1])return-1;for(var r=0,a=i-1;1<a-r;)t[n=Math.floor((r+a)/2)]<=e?r=n:a=n;return a}(+e,this.untils),0<=e)return e},countries:function(){var e=this.name;return Object.keys(r).filter((function(t){return-1!==r[t].zones.indexOf(e)}))},parse:function(e){for(var t,n,i,r=+e,a=this.offsets,o=this.untils,s=o.length-1,l=0;l<s;l++)if(t=a[l],n=a[l+1],i=a[l&&l-1],t<n&&G.moveAmbiguousForward?t=n:i<t&&G.moveInvalidForward&&(t=i),r<o[l]-6e4*t)return a[l];return a[s]},abbr:function(e){return this.abbrs[this._index(e)]}
vendor: 4,585 bytes, line 1
1,offset:function(e){return U("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},I.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},G.version="0.6.2",G.dataVersion="",G._zones=n,G._links=i,G._names=a,G._countries=r,G.add=b,G.link=B,G.load=F,G.zone=v,G.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,U("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!v(t)},G.guess=function(e){return t=t&&!e?t:y()},G.names=function(){var e,t=[];for(e in a)a.hasOwnProperty(e)&&(n[e]||n[i[e]])&&a[e]&&t.push(a[e]);return t.sort()},G.Zone=h,G.unpack=f,G.unpackBase60=u,G.needsOffset=Q,G.moveInvalidForward=!0,G.moveAmbiguousForward=!1,G.countries=function(){return Object.keys(r)},G.zonesForCountry=function(e,t){var n;return n=(n=e).toUpperCase(),(e=r[n]||null)?(n=e.zones.sort(),t?n.map((function(e){return{name:e,offset:v(e).utcOffset(new Date)}})):n):null};var S,x=e.fn;function w(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function Z(e){return function(){return this._z=null,e.apply(this,arguments)}}return e.tz=G,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;void 0===t._z&&(r&&Q(t)&&!t._isUTC&&t.isValid()&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z&&(r=t._z.utcOffset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset?(i=t._z,t.utcOffset(-r,n),t._z=i):t.zone(r,n))},x.tz=function(t,n){if(t){if("string"!=typeof t)throw new Error("Time zone name must be a string, got "+t+" ["+typeof t+"]");return this._z=v(t),this._z?e.updateOffset(this,n):U("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},x.zoneName=w(x.zoneName),x.zoneAbbr=w(x.zoneAbbr),x.utc=Z(x.utc),x.local=Z(x.local),x.utcOffset=(S=x.utcOffset,function(){return 0<arguments.length&&(this._z=null),S.apply(this,arguments)}),e.tz.setDefault=function(t){return(s<2||2==s&&l<9)&&U("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?v(t):null,e},x=e.momentProperties,"[object Array]"===Object.prototype.toString.call(x)?(x.push("_z"),x.push("_a")):x&&(x._z=null),F({version:"2026b",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|15e6","Africa/Casablanca|+01 +00|-10 0|010101010101010101010101|24Pe0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|24Ec0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|24Eb0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Sao_Paulo|-03|30|0||20e6","America/Asuncion|-03 -04|30 40|010101010|24JD0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010|24Mw0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|24E90 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Chicago|CST CDT|60 50|01010101010101010101010|24E80 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01012|24Mx0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010120101010101010101010|24E90 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Coyhaique|-03 -04|30 40|010101010|24Mr0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0|","America/Phoenix|MST|70|0||42e5","America/Ne
1w_York|EST EDT|50 40|01010101010101010101010|24E70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6
vendor: 9,785 bytes, line 1
1","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|24Ea0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|24E60 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101012121212121212121|24JB0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Havana|CST CDT|50 40|01010101010101010101010|24E50 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010|24Mx0 1nX0 11B0 1nX0|44e4","America/Miquelon|-03 -02|30 20|01010101010101010101010|24E50 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01012323232323232323232|24E90 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|24Mr0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Scoresbysund|-01 +00 -02|10 0 20|0101010202020202020202|24JB0 1qM0 WM0 1qM0 WM0 1qM0 2pA0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|24E5u 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT MST|80 70 70|0101010101012|24Ea0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","Antarctica/Casey|+11 +08|-b0 -80|010101|24DN0 1lf1 14kX 1lf1 13bX|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|24Mg0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|24Me0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|+07 +05|-70 -50|01|2bnv0|25","Asia/Almaty|+06 +05|-60 -50|01|2bR60|15e5","Asia/Amman|EET EEST +03|-20 -30 -30|01012|24IK0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|24Jy0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Dhaka|+06|-60|0||16e6","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01012|24IK0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|24Ja0 1qo0 XA0 1qp0 1cN0 1cL0 1a10 1fz0 17d0 1in0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|24IM0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Seoul|KST|-90|0||23e6","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Tehran|+0330 +0430|-3u -4u|01010|24H8u 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|24Mgu 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|24Mf0 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|24Mr0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|24JB0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|24JA0 1qM0 WN0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Moscow|MSK|-30|0||16e6","Pacific/Honolulu|HST|a0|0||37e4","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|24Me0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01|24Me0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01|24hq0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+12 +11|-c0 -b0|01010101010101010101010|24Mf0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Metlakatla","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Caracas|America/Boa_Vista","America/Caracas|America/Campo_Grande","America/Caracas|America/Cuiaba","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/
1Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US
vendor: 16,271 bytes, line 1
1/Mountain","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Grand_Turk","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|America/Whitehorse","America/Phoenix|Canada/Yukon","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|America/Araguaina","America/Sao_Paulo|America/Argentina/Buenos_Aires","America/Sao_Paulo|America/Argentina/Catamarca","America/Sao_Paulo|America/Argentina/ComodRivadavia","America/Sao_Paulo|America/Argentina/Cordoba","America/Sao_Paulo|America/Argentina/Jujuy","America/Sao_Paulo|America/Argentina/La_Rioja","America/Sao_Paulo|America/Argentina/Mendoza","America/Sao_Paulo|America/Argentina/Rio_Gallegos","America/Sao_Paulo|America/Argentina/Salta","America/Sao_Paulo|America/Argentina/San_Juan","America/Sao_Paulo|America/Argentina/San_Luis","America/Sao_Paulo|America/Argentina/Tucuman","America/Sao_Paulo|America/Argentina/Ushuaia","America/Sao_Paulo|America/Bahia","America/Sao_Paulo|America/Belem","America/Sao_Paulo|America/Buenos_Aires","America/Sao_Paulo|America/Catamarca","America/Sao_Paulo|America/Cayenne","America/Sao_Paulo|America/Cordoba","America/Sao_Paulo|America/Fortaleza","America/Sao_Paulo|America/Jujuy","America/Sao_Paulo|America/Maceio","America/Sao_Paulo|America/Mendoza","America/Sao_Paulo|America/Montevideo","America/Sao_Paulo|America/Paramaribo","America/Sao_Paulo|America/Punta_Arenas","America/Sao_Paulo|America/Recife","America/Sao_Paulo|America/Rosario","America/Sao_Paulo|America/Santarem","America/Sao_Paulo|Antarctica/Palmer","America/Sao_Paulo|Antarctica/Rothera","America/Sao_Paulo|Atlantic/Stanley","America/Sao_Paulo|Brazil/East","America/Sao_Paulo|Etc/GMT+3","America/St_Johns|Canada/Newfoundland","America/Vancouver|Canada/Pacific","Asia/Almaty|Asia/Qostanay","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|Asia/Pyongyang","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Qyzylorda","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|Europe/Volgograd","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|MET","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Antarctica/Vostok Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Asia/Singapore Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla Asia/Tokyo","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Vancouver America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Coyhaique America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London
vendor: 6,034 bytes, line 1
1Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}
1),e})), 2/*! Moment Duration Format v2.2.2 3 * https://github.com/jsmreese/moment-duration-format 4 * Date: 2018-02-16 5 * 6 * Duration format plugin function for the Moment.js library 7 * http://momentjs.com/ 8 * 9 * Copyright 2018 John Madhavan-Reese 10 * Released under the MIT license 11 */ 12function(e,t){if("function"==typeof define&&define.amd)define(["moment"],t);else if("object"==typeof exports)try{module.exports=t(require("moment"))}catch(e){module.exports=t}e&&(e.momentDurationFormatSetup=e.moment?t(e.moment):t)}(this,(function(e){var t=!1,n=!1,i=!1,r=!1,a="escape years months weeks days hours minutes seconds milliseconds general".split(" "),o=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function s(e,t){return!(t.length>e.length)&&-1!==e.indexOf(t)}function l(e){for(var t="";e;)t+="0",e-=1;return t}function c(e,t){var n=e+"+"+I(F(t).sort(),(function(e){return e+":"+t[e]})).join(",");return c.cache[n]||(c.cache[n]=Intl.NumberFormat(e,t)),c.cache[n]}function u(e,t,a){var o,s,d,g=t.useToLocaleString,f=t.useGrouping,h=f&&t.grouping.slice(),m=t.maximumSignificantDigits,p=t.minimumIntegerDigits||1,I=t.fractionDigits||0,C=t.groupingSeparator,y=t.decimalSeparator;if(g&&a){var A={minimumIntegerDigits:p,useGrouping:f};if(I&&(A.maximumFractionDigits=I,A.minimumFractionDigits=I),m&&e>0&&(A.maximumSignificantDigits=m),i){var b;if(!r)(b=B({},t)).useGrouping=!1,b.decimalSeparator=".",e=parseFloat(u(e,b),10);return c(a,A).format(e)}return n||((b=B({},t)).useGrouping=!1,b.decimalSeparator=".",e=parseFloat(u(e,b),10)),e.toLocaleString(a,A)}var v=(m?e.toPrecision(m+1):e.toFixed(I+1)).split("e");d=v[1]||"",s=(v=v[0].split("."))[1]||"";var F=(o=v[0]||"").length,Q=s.length,U=F+Q,G=o+s;(m&&U===m+1||!m&&Q===I+1)&&((G=function(e){for(var t=e.split("").reverse(),n=0,i=!0;i&&n<t.length;)n?"9"===t[n]?t[n]="0":(t[n]=(parseInt(t[n],10)+1).toString(),i=!1):(parseInt(t[n],10)<5&&(i=!1),t[n]="0"),n+=1;return i&&t.push("1"),t.reverse().join("")}(G)).length===U+1&&(F+=1),Q&&(G=G.slice(0,-1)),o=G.slice(0,F),s=G.slice(F)),m&&(s=s.replace(/0*$/,""));var S=parseInt(d,10);S>0?s.length<=S?(o+=s+=l(S-s.length),s=""):(o+=s.slice(0,S),s=s.slice(S)):S<0&&(s=l(Math.abs(S)-o.length)+o+s,o="0"),m||((s=s.slice(0,I)).length<I&&(s+=l(I-s.length)),o.length<p&&(o=l(p-o.length)+o));var x,w="";if(f)for(v=o;v.length;)h.length&&(x=h.shift()),w&&(w=C+w),w=v.slice(-x)+w,v=v.slice(0,-x);else w=o;return s&&(w=w+y+s),w}function d(e,t){return e.label.length>t.label.length?-1:e.label.length<t.label.length?1:0}c.cache={};var g={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"}
12,durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:function(e,t,n){return 1===t&&null===n?e:e+e}};function f(e){return"[object Array]"===Object.prototype.toString.call(e)}function h(e){return"[object Object]"===Object.prototype.toString.call(e)}function m(e,t){var n,i=0,r=e&&e.length||0;for("function"!=typeof t&&(n=t,t=function(e){return e===n});i<r;){if(t(e[i]))return e[i];i+=1}}function p(e,t){var n=0,i=e.length;if(e&&i)for(;n<i;){if(!1===t(e[n],n))return;n+=1}}function I(e,t){var n=0,i=e.length,r=[];if(!e||!i)return r;for(;n<i;)r[n]=t(e[n],n),n+=1;return r}function C(e,t){return I(e,(function(e){return e[t]}))}function y(e){var t=[];return p(e,(function(e){e&&t.push(e)})),t}function A(e){var t=[];return p(e,(function(e){m(t,e)||t.push(e)})),t}function b(e,t){var n=[];return p(e,(function(e){p(t,(function(t){e===t&&n.push(e)}))})),A(n)}function v(e,t){var n=[];return p(e,(function(i,r){if(!t(i))return n=e.slice(r),!1})),n}function B(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function F(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function Q(e,t){var n=0,i=e.length;if(!e||!i)return!1;for(;n<i;){if(!0===t(e[n],n))return!0;n+=1}return!1}function U(e){return"3.6"===e(3.55,"en",{useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:1,maximumFractionDigits:1})}function G(e){var t=!0;return!!(t=(t=(t=t&&"1"===e(1,"en",{minimumIntegerDigits:1}))&&"01"===e(1,"en",{minimumIntegerDigits:2}))&&"001"===e(1,"en",{minimumIntegerDigits:3}))&&(!!(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumFractionDigits:0,minimumFractionDigits:0}))&&"100.0"===e(99.99,"en",{maximumFractionDigits:1,minimumFractionDigits:1}))&&"99.99"===e(99.99,"en",{maximumFractionDigits:2,minimumFractionDigits:2}))&&"99.990"===e(99.99,"en",{maximumFractionDigits:3,minimumFractionDigits:3}))&&(!!(t=(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumSignificantDigits:1}))&&"100"===e(99.99,"en",{maximumSignificantDigits:2}))&&"100"===e(99.99,"en",{maximumSignificantDigits:3}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:4}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:5}))&&!!(t=(t=t&&"1,000"===e(1e3,"en",{useGrouping:!0}))&&"1000"===e(1e3,"en",{useGrouping:!1}))))}function S(){var e,t=[].slice.call(arguments),n={};if(p(t,(function(t,i){if(!i){if(!f(t))throw"Expected array as the first argument to durationsFormat.";e=t}"string"!=typeof t&&"function"!=typeof t?"number"!=typeof t?h(t)&&B(n,t):n.precision=t:n.template=t})),!e||!e.length)return[];n.returnMomentTypes=!0;var i,r=I(e,(function(e){return e.format(n)})),o=b(a,A(C((i=[],p(r,(function(e){i=i.concat(e)})),i),"type"))),s=n.largest;return s&&(o=o.slice(0,s)),n.returnMomentTypes=!1,n.outputTypes=o,I(e,(function(e){return e.format(n)}))}function x(){var n=[].slice.call(arguments),r=B({},this.format.defaults),l=this.asMilliseconds(),c=this.asMonths();"function"==typeof this.isValid&&!1===this.isValid()&&(l=0,c=0);var U=l<0,G=e.duration(Math.abs(l),"milliseconds"),S=e.duration(Math.abs(c),"months");p(n,(function(e){"string"!=typeof e&&"function"!=typeof e?"number"!=typeof e?h(e)&&B(r,e):r.precision=e:r.template=e}));var x={years:"y",months:"M",weeks:"w",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"S"},w={escape:/\[(.+?)\]/,years:/\*?[Yy]+/,months:/\*?M+/,weeks:/\*?[Ww]+/,days:/\*?[Dd]+/,hours:/\*?[Hh]+/,minutes:/\*?m+/,seconds:/\*?s+/,milliseconds:/\*?S+/,general:/.+?/};r.types=a;var Z=function(e){return m(a,(function(t){return w[t].test(e)}))},k=new RegExp(I(a,(function(e){return w[e].source})).join("|"),"g");r.duration=this;var V="function"==typeof r.template?r.template.apply(r):r.template,R=r.outputTypes,E=r.returnMomentTypes,L=r.largest,W=[];R||(f(r.stopTrim)&&(r.stopTrim=r.stopTrim.join("")),r.stopTrim&&p(r.stopTrim.match(k),(function(e){var t=Z(e);"escape"!==t&&"general"!==t&&W.push(t)})));var T=e.localeData();T||(T={}),p(F(g),(function(e){"function"!=typeof g[e]?T["_"+e]||(T["_"+e]=g[e]):T[e]||(T[e]=g[e])})),p(F(T._durationTimeTemplates),(function(e){V=V.replace("_"+e+"_",T._durationTimeTemplates[e])}));var N=r.userLocale||e.locale(),X=r.useLeftUnits,O=r.usePlural,M=r.precision,D=r.forceLength,_=r.useGrouping,Y=r.trunc,H=r.useSignificantDigits&&M>0,z=H?r.precision:0,J=z,P=r.minValue,j=!1,K=r.maxValue,q=!1,$=r.useToLocaleStr
12ing,ee=r.groupingSeparator,te=r.decimalSeparator,ne=r.grouping;$=$&&(t||i);var ie=r.trim;f(ie)&&(ie=ie.join(" ")),null===ie&&(L||K||H)&&(ie="all"),null!==ie&&!0!==ie&&"left"!==ie&&"right"!==ie||(ie="large"),!1===ie&&(ie="");var re=function(e){return e.test(ie)},ae=/both/,oe=/^all|[^sm]all/,se=L>0||Q([/large/,ae,oe],re),le=Q([/small/,ae,oe],re),ce=Q([/mid/,oe],re),ue=Q([/final/,oe],re),de=I(V.match(k),(function(e,t){var n=Z(e);return"*"===e.slice(0,1)&&(e=e.slice(1),"escape"!==n&&"general"!==n&&W.push(n)),{index:t,length:e.length,text:"",token:"escape"===n?e.replace(w.escape,"$1"):e,type:"escape"===n||"general"===n?null:n}})),ge={index:0,length:0,token:"",text:"",type:null},fe=[];X&&de.reverse(),p(de,(function(e){if(e.type)return(ge.type||ge.text)&&fe.push(ge),void(ge=e);X?ge.text=e.token+ge.text:ge.text+=e.token})),(ge.type||ge.text)&&fe.push(ge),X&&fe.reverse();var he=b(a,A(y(C(fe,"type"))));if(!he.length)return C(fe,"text").join("");he=I(he,(function(e,t){var n,i=t+1===he.length,a=!t;n="years"===e||"months"===e?S.as(e):G.as(e);var o=Math.floor(n),s=n-o,l=m(fe,(function(t){return e===t.type}));return a&&K&&n>K&&(q=!0),i&&P&&Math.abs(r.duration.as(e))<P&&(j=!0),a&&null===D&&l.length>1&&(D=!0),G.subtract(o,e),S.subtract(o,e),{rawValue:n,wholeValue:o,decimalValue:i?s:0,isSmallest:i,isLargest:a,type:e,tokenLength:l.length}}));var me,pe=Y?Math.floor:Math.round,Ie=function(e,t){var n=Math.pow(10,t);return pe(e*n)/n},Ce=!1,ye=!1,Ae=function(e,t){var n={useGrouping:_,groupingSeparator:ee,decimalSeparator:te,grouping:ne,useToLocaleString:$};return H&&(z<=0?(e.rawValue=0,e.wholeValue=0,e.decimalValue=0):(n.maximumSignificantDigits=z,e.significantDigits=z)),q&&!ye&&(e.isLargest?(e.wholeValue=K,e.decimalValue=0):(e.wholeValue=0,e.decimalValue=0)),j&&!ye&&(e.isSmallest?(e.wholeValue=P,e.decimalValue=0):(e.wholeValue=0,e.decimalValue=0)),e.isSmallest||e.significantDigits&&e.significantDigits-e.wholeValue.toString().length<=0?M<0?e.value=Ie(e.wholeValue,M):0===M?e.value=pe(e.wholeValue+e.decimalValue):H?(e.value=Y?Ie(e.rawValue,z-e.wholeValue.toString().length):e.rawValue,e.wholeValue&&(z-=e.wholeValue.toString().length)):(n.fractionDigits=M,e.value=Y?e.wholeValue+Ie(e.decimalValue,M):e.wholeValue+e.decimalValue):H&&e.wholeValue?(e.value=Math.round(Ie(e.wholeValue,e.significantDigits-e.wholeValue.toString().length)),z-=e.wholeValue.toString().length):e.value=e.wholeValue,e.tokenLength>1&&(D||Ce)&&(n.minimumIntegerDigits=e.tokenLength,ye&&n.maximumSignificantDigits<e.tokenLength&&delete n.maximumSignificantDigits),!Ce&&(e.value>0||""===ie||m(W,e.type)||m(R,e.type))&&(Ce=!0),e.formattedValue=u(e.value,n,N),n.useGrouping=!1,n.decimalSeparator=".",e.formattedValueEn=u(e.value,n,"en"),2===e.tokenLength&&"milliseconds"===e.type&&(e.formattedValueMS=u(e.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),e};if((he=y(he=I(he,Ae))).length>1){var be=function(e){return m(he,(function(t){return t.type===e}))};p(o,(function(e){var t=be(e.type);t&&p(e.targets,(function(e){var n=be(e.type);n&&parseInt(t.formattedValueEn,10)===e.value&&(t.rawValue=0,t.wholeValue=0,t.decimalValue=0,n.rawValue+=1,n.wholeValue+=1,n.decimalValue=0,n.formattedValueEn=n.wholeValue.toString(),ye=!0)}))}))}return ye&&(Ce=!1,z=J,he=y(he=I(he,Ae))),!R||q&&!r.trim?(se&&(he=v(he,(function(e){return!e.isSmallest&&!e.wholeValue&&!m(W,e.type)}))),L&&he.length&&(he=he.slice(0,L)),le&&he.length>1&&(me=function(e){return!e.wholeValue&&!m(W,e.type)&&!e.isLargest},he=v(he.slice().reverse(),me).reverse()),ce&&(he=y(he=I(he,(function(e,t){return t>0&&t<he.length-1&&!e.wholeValue?null:e})))),!ue||1!==he.length||he[0].wholeValue||!Y&&he[0].isSmallest&&he[0].rawValue<P||(he=[])):he=y(he=I(he,(function(e){return m(R,(function(t){return e.type===t}))?e:null}))),E?he:(p(fe,(function(e){var t=x[e.type],n=m(he,(function(t){return t.type===e.type}));if(t&&n){var i=n.formattedValueEn.split(".");i[0]=parseInt(i[0],10),i[1]?i[1]=parseFloat("0."+i[1],10):i[1]=null;var r=T.durationPluralKey(t,i[0],i[1]),a=function(e,t){var n=[];return p(F(t),(function(i){if("_durationLabels"===i.slice(0,15)){var r=i.slice(15).toLowerCase();p(F(t[i]),(function(a){a.slice(0,1)===e&&n.push({type:r,key:a,label:t[i][a]})}))}})),n}(t,T),o=!1,l={};p(T._durationLabelTypes,(function(t){var n=m(a,(function(e){return e.type===t.type&&e.key===r}));n&&(l[n.type]=n.label,s(e.text,t.string)&&(e.text=e.text.replace(t.string,n.label),o=!0))})),O&&!o&&(a.sort(d),p(a,(function(t){return l[t.type]===t.label?!s(e.text,t.label)&&void 0:s(e.text,t.label)?(e.text=e.text.replace(t.label,l[t.type]),!1):void 0})))}})),(fe=I(fe,(function(e){if(!e.type)return e.text;var t=m(he,(function(t){return t.type===e.type}));if(!t)return"";var n="";return X&&(n+=e.text),(U&&q||!U&&j)&&(n+="< ",q=!1,j=!1),(U&&j||!U&&q)&&(n+="> ",q=!1,j=!1),U&&(t.value>0||""===ie||m(W,t.type)||m(R,t.type))&&(n+="-",U=!1),"milliseconds"===e.type&&t.formattedValueMS?n+=t.formattedValueMS:n+=t.formattedValue,X||(n+=e.text),n}))).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function w(){var e=this.duration,t=function(t){return e._data[t]},n=m(this.types,t),i=function(e,t){for(var n=e.length;n-=1;)if(t(e[n]))return e[n]}(this.types,t);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===i)return"d __";case"weeks":return n===i?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===i)return"M __";case"years":return n===i?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function Z(e){if(!e)throw"Moment Duration Format init cannot find moment instance.";e.duration.format=S,e.duration.fn.format=x,e.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:w,useToLocaleStr
12ing:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},e.updateLocale("en",g)}var k=function(e,t,n){return e.toLocaleString(t,n)};t=function(){try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1}()&&G(k),n=t&&U(k);var V=function(e,t,n){if("undefined"!=typeof window&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(t,n).format(e)};return i=G(V),r=i&&U(V),Z(e),Z})),function(){"use strict";window.PULSE||(window.PULSE={}),window.PULSE.core={},window.PULSE.app={},window.PULSE.ui={}}(),function(){"use strict";window.PULSE.core.common={},window.PULSE.core.data={},window.PULSE.core.date={},window.PULSE.core.dom={},window.PULSE.core.event={},window.PULSE.core.localStorage={},window.PULSE.core.object={},window.PULSE.core.style={},window.PULSE.core.url={}}(),function(e){e.common.formatString=function(e,t){if(e&&t){for(var n=Object.keys(t),i=0;i<n.length;i++)e=e.replace("{{"+n[i]+"}}",t[n[i]]);return e}return!1},e.common.commafy=function(e){return e.toString().replace(/(^|[^\w.])(\d{4,})/g,(function(e,t,n){return t+n.replace(/\d(?=(?:\d\d\d)+(?!\d))/g,"$&,")}))},e.common.romanize=function(e){if(isNaN(parseFloat(e))||!isFinite(e))return!1;for(var t=String(+e).split(""),n=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],i="",r=3;r--;)i=(n[+t.pop()+10*r]||"")+i;return Array(+t.join("")+1).join("M")+i},e.common.deromanize=function(e){var t,n=e.toUpperCase(),i=/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,r={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},a=0;if(!n||!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(n))return!1;for(;null!==(t=i.exec(n));)a+=r[t[0]];return a}}(PULSE.core),function(e){e.common.quicksort=function(t,n,i,r){if(n<i){var a=function(e,t,n,i){for(var r=e[n],a=t,o=t;o<n;o++)if(i(e[o],r)>=0){var s=e[a];e[a]=e[o],e[o]=s,a+=1}var l=e[a];return e[a]=e[n],e[n]=l,a}(t,n,i,r);e.common.quicksort(t,n,a-1,r),e.common.quicksort(t,a+1,i,r)}}}(PULSE.core),function(e){"use strict";var t=function(e,t){if(!t)return e.replace(/(https{0,1}:\/\/\S+)/g,'<a target="_blank" href="$1">$1</a>').replace(/@(\S+)/g,'<a target="_blank" href="http://twitter.com/$1">@$1</a>').replace(/#(\S+)/g,'<a target="_blank" href="http://twitter.com/#!/search?q=%23$1">#$1</a>');var r,a=[];if(t.urls)for(var o=0,s=t.urls.length;o<s;o++){var l=t.urls[o];r='<a href="'+l.url+'" title="'+l.expanded_url+'" target="_blank">'+l.display_url+"</a>",a.push({html:r,original:l.url,start:l.indices[0],end:l.indices[1]})}if(t.media)for(var c=0,u=t.media.length;c<u;c++){var d=t.media[c];r='<a href="'+d.url+'" title="'+d.expanded_url+'" target="_blank">'+d.display_url+"</a>",a.push({html:r,original:d.url,start:d.indices[0],end:d.indices[1]})}if(t.user_mentions)for(var g=0,f=t.user_mentions.length;g<f;g++){var h=t.user_mentions[g];r='<a href="'+n(h.screen_name)+'" target="_blank">@'+h.screen_name+"</a>",a.push({html:r,original:"@"+h.screen_name,start:h.indices[0],end:h.indices[1]})}if(t.hashtags)for(var m=0,p=t.hashtags.length;m<p;m++){var I=t.hashtags[m];r='<a href="'+i(I.text)+'" target="_blank">#'+I.text+"</a>",a.push({html:r,original:"#"+I.text,start:I.indices[0],end:I.indices[1]})}a.sort((function(e,t){return e.start-t.start}));for(var C=0,y=a.length;C<y;C++){var A=a[C],b=e.toLowerCase(),v=A.original.toLowerCase();A.start=b.search(v),A.end=A.start+A.original.length}for(var B="",F=0,Q=0,U=a.length;Q<U;Q++){var G=a[Q],S=G.start-F;B+=e.substr(F,S),B+=G.html,F=G.end}return B+e.substr(F)},n=function(e){return"http://twitter.com/"+e},i=function(e){return"http://twitter.com/search?q=%23"+e},r=function(e){var t=new Date(Date.parse(e));return o.ie&&(t=Date.parse(e.replace(/( \+)/," UTC$1"))),t},a=function(e){var t=e.user.screen_name;return n(t)+"/status/"+e.id_str},o={ie:navigator.userAgent.match(/MSIE\s([^;]*)/)};e.common.getTweetModel=function(e){var i=n(e.user.screen_name),o=e.timestamp_ms?new Date(parseInt(e.timestamp_ms,void 0)):r(e.created_at),s="";if(e.entities&&e.entities.media)for(var l=0,c=e.entities.media.length;l<c;l++)"photo"===e.entities.media[l].type&&(s=e.entities.media[l].media_url);return{timestamp:e.timestamp_ms,date:o,id:e.id_str,text:t(e.text),link:a(e),photo:s,user:{id:e.user.id_str,name:e.user.name,account:e.user.screen_name,link:i,description:e.user.description,avatarUrl:e.user.profile_image_url},favorites:e.favorite_count,retweets:e.retweet_count}}}(PULSE.core),function(e){"use strict";var t,n,i;e.data.manager={},e.data.manager=(t={},n=function(t){var n=this;n.url=t.url,n.method=t.method,n.target=t.target,n.type=t.type,n.subscribers=[],n.headers=t.headers,n.requestPayload=t.requestPayload||!1,n.data=null,n.formData=t.formData||!1;
12var i=function(e,t){n.subscribers.forEach((function(t){(!n.data||t.forceCallback||function(e){var t=function(e){if("object"==typeof e){var t="";for(var n in e)e.hasOwnProperty(n)&&"fullXhttpResponse"!==n&&(t+=JSON.stringify(e[n]));return t}return e};return t(n.data)!=t(e)}(e))&&t.callback.call(t.target,e,t.config)})),n.data=e},r=function(){var e=!1;return n.subscribers.map((function(t){t.jsonpCallback&&(e=t.jsonpCallback)})),e},a=function(){(function(){var e=!1;return n.subscribers.map((function(t){t.constant&&(e=t.constant)})),e})()&&n.data?i(n.data):e.data.request(n.url,n.method,i,n.target,n.jsonpCallback,n.requestPayload,n.headers,n.type,n.formData)};n.stop=function(){n.timer&&clearInterval(n.timer)},n.start=function(){a();var e=function(){var e=!1;return n.subscribers.forEach((function(t){(!e||t.interval<e)&&(e=t.interval)})),n.interval=e,e}();e&&(n.timer=setInterval(a,e))},n.add=function(e){n.stop(),n.subscribers.push(e),n.jsonpCallback=r(),n.start()},n.remove=function(e){n.stop();var t=n.subscribers.indexOf(e);n.subscribers.splice(t,1),n.subscribers.length>0?(n.jsonp=r(),n.start()):n.data=!1}},i=function(t,n){var i=this;i.config=t,i.callback=t.callback,i.target=t.target,i.interval=t.interval,i.forceCallback=t.forceCallback||!1,i.jsonpCallback=t.jsonpCallback||!1,i.constant=t.constant||!1,i.data=t.data||!1,i.formData=t.formData||!1,i.headers=t.headers||[],i.stop=function(){n.remove(i)},i.start=function(){n.subscribers.indexOf(i)<0&&n.add(i)},i.request=function(){e.data.request(n.url,"GET",i.callback,i.target,i.jsonpCallback,i.data,i.headers,i.type,i.formData)}},{add:function(e){t[e.url]||(t[e.url]=new n({url:e.url,method:e.method,type:e.type,headers:e.headers||[],requestPayload:e.data||!1,formData:e.formData||!1}));var r=new i(e,t[e.url]);return t[e.url].add(r),r},remove:function(e){void 0!==t[e.url]&&delete t[e.url]}})}(PULSE.core),function(e){"use strict";PULSE.core.data.request=function(e,n,i,r,a,o,s,l,c){var u={url:e,method:n||"GET",target:r,callback:i,requestPayload:o||{},formData:c||!1,headers:s||[],type:l||"json"};if(a){var d=function(e){var t=document.getElementById(e);t&&t.parentNode.removeChild(t);var n=document.createElement("script");return n.id=e,n.src=u.url,n}(a);window[a]=function(e){u.callback.call(u.target,e,u)},document.body.appendChild(d)}else{var g=new XMLHttpRequest;g.open(u.method,u.url,!0);var f=!1;u.headers.length&&u.headers.forEach((function(e){g.setRequestHeader(e.label,e.value),"Content-Type"===e.label&&e.value&&(f=!0)})),f||u.formData||g.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),g.responseType=u.type,g.onreadystatechange=function(){var e;4===this.readyState&&(this.status>=200&&this.status<400?"json"===u.type&&("string"==typeof this.response||this.response instanceof String)?((e=JSON.parse(this.response)).fullXhttpResponse=this,u.callback.call(u.target,e,u)):((e=this.response||{}).fullXhttpResponse=this,u.callback.call(u.target,e,u)):(e={fullXhttpResponse:this},u.callback.call(u.target,e,u)))},"POST"===u.method||"PUT"===u.method||"DELETE"===u.method?g.send(u.formData?u.requestPayload:t(u.requestPayload)):(g.data=u.requestPayload,g.send()),g=null}};var t=function(e){var t=[];for(var n in e)void 0!==e[n]&&t.push(n+"="+e[n]);var i="";return t.length>0&&(i+=t.join("&")),i}}(),function(e){e.dom.appendDomString=function(e,t,n,i){var r="boolean"==typeof i&&!0===i,a=!!r&&[],o=document.createElement("div");if(o.innerHTML=t,!n)return e.appendChild(o.children[0]);for(var s=o.children.length,l=0;l<s;l++)r&&"object"==typeof a&&a.push(e.appendChild(o.children[0])),l===i?a=e.appendChild(o.children[0]):r||e.appendChild(o.children[0]);return a||e},e.dom.prependDomString=function(e,t,n,i){var r="boolean"==typeof i&&!0===i,a=!!r&&[],o=document.createElement("div");if(o.innerHTML=t,!n)return e.insertBefore(o.children[0],e.firstChild);for(var s=o.children.length,l=0;l<s;l++)r&&"object"==typeof a&&a.push(e.insertBefore(o.children[0],e.firstChild)),l===i?a=e.insertBefore(o.children[0],e.firstChild):r||e.insertBefore(o.children[0],e.firstChild);return a||e},e.dom.isWhitespace=function(e){return 3==e.nodeType&&/^\s*$/.test(e.data)},e.dom.getNextSiblings=function(t,n){for(var i=[];null!==(t=t.nextSibling);)e.dom.isWhitespace(t)||n&&!n(t)||i.push(t);return i},e.dom.getPreviousSiblings=function(t,n){for(var i=[];null!==(t=t.previousSibling);)e.dom.isWhitespace(t)||n&&!n(t)||i.push(t);return i},e.dom.isDescendant=function(e,t){for(var n=e.parentNode;null!==n;){if(n==t)return!0;n=n.parentNode}return!1},e.dom.isElementInView=function(e,t){var n=e.getBoundingClientRect(),i=n.top>=0&&n.top<window.innerHeight,r=n.bottom>=0&&n.bottom<window.innerHeight,a=n.left>=0&&n.left<window.innerWidth,o=n.right>=0&&n.right<window.innerWidth;return t?i&&r&&a&&o:(i||r)&&(a||o)},e.dom.scrollWindowToElement=function(e,t,n){var i=e.offsetTop;isNaN(t)||(i+=t),isNaN(n)&&(n=100);var r,a=i<(window.scrollY||window.pageYOffset);r=a?requestAnimationFrame((function e(){var t=window.scrollY||window.pageYOffset,a=t-n;a<=i?window.scrollTo(window.scrollX||window.pageXOffset,i):window.scrollTo(window.scrollX||window.pageXOffset,a),t<=i?cancelAnimationFrame(r):requestAnimationFrame(e)})):requestAnimationFrame((function e(){var t=window.scrollY||window.pageYOffset,a=t+n;a>=i?window.scrollTo(window.scrollX||window.pageXOffset,i):window.scrollTo(window.scrollX||window.pageXOffset,a),t>=i?cancelAnimationFrame(r):requestAnimationFrame(e)}))}}(PULSE.core),function(e){"use strict";PULSE.core.date.parseString=function(e){if(e){var t;"string"!=typeof e&&(e=e.toISOString());var n=e.split("T");if(1===n.length)return new Date(n[0].replace(/\-/g,"/"));if(2===n.length){var i=n[0].replace(/\-/g,"/"),r=n[1];t=new Date(i+" "+r)}return t&&t.getTime()&&!isNaN(t.getTime())||(t=new Date(e))&&t.getTime()&&isNaN(t.getTime()),t}}}(),function(e){"use strict";e.localStorage={},e.localStorage.setStorage=function(e,t,n,i,r){var a=function(){var i=new Date;n instanceof Date?i=n:i.setDate(i.getDate()+n);var a=escape(t)+(null===n?"":"; expires="+i.toUTCString())+";",o=r?" domain="+(r||window.location.host)+";":"";document.cookie=e+"="+a+o+" path=/"};i?a():"localStorage"in window&&null!==window.localStorage?window.localStorage.setItem(e,t):a()},e.localStorage.getStorage=function(e,t){var n=function(){var t,n,i,r=document.cookie.split(";");for(t=0;t<r.length;t++)if(n=r[t].substr(0,r[t].indexOf("=")),i=r[t].substr(r[t].indexOf("=")+1),(n=n.replace(/^\s+|\s+$/g,""))==e)return unescape(i)};return t?n():"localStorage"in window&&null!==window.localStorage?window.localStorage.getItem(e):n()},e.localStorage.clearStorage=function(t,n,i){var r=function(){e.localStorage.setStorage(encodeURIComponent(t),"",-1,!0,i)};n?r():"localStorage"in window&&null!==window.localStorage?window.localStorage.removeItem(t):r
12()}}(PULSE.core),function(e){"use strict";PULSE.core.event.listenForMultiple=function(e,t,n){if(e&&t&&t.length&&n&&"function"==typeof n){for(var i=0;i<t.length;i++)e.addEventListener(t[i],n);return!0}return!1}}(),function(e){var t=[],n=function(e){for(var n,i=0;i<t.length;i++)!(n=t[i])||n.element===e.target||n.element&&n.element.contains(e.target)||e.target===n.preventTriggerOn||n.preventTriggerOn&&n.preventTriggerOn.contains(e.target)||"function"!=typeof n.callback||n.callback(n.element)};e.event.listenForOutsideClick={addElement:function(e,i,r){0===t.length&&document.addEventListener("click",n),t.push({element:e,callback:i,preventTriggerOn:r})},removeElement:function(e){for(var i=0;i<t.length;i++)t[i]&&t[i].element===e&&t.splice(i,1);0===t.length&&document.removeEventListener("click",n)}}}(PULSE.core),function(e){"use strict";PULSE.core.event.windowOnScroll=new function(){var e=this;e.initialised=!1,e.notifiers=[],e.add=function(n){e.notifiers.indexOf(n)<0&&e.notifiers.push(n),e.initialised||t()},e.remove=function(t){var n=e.notifiers.indexOf(t);n&&e.notifiers.splice(n,1)};var t=function(){window.onscroll=function(){e.notifiers.map((function(e){e.method(e.args)}))},e.initialised=!0}}(100)}(),function(e){"use strict";PULSE.core.event.windowResize=new function(e){var t,n=this;n.timer=e||200,n.initialised=!1,n.notifiers=[],n.add=function(e){n.notifiers.indexOf(e)<0&&n.notifiers.push(e),n.initialised||i()},n.remove=function(e){var t=n.notifiers.indexOf(e);t&&n.notifiers.splice(t,1)};var i=function(){window.onresize=function(){clearTimeout(t),t=setTimeout((function(){n.notifiers.map((function(e){e.method(e.args)}))}),n.timer)},n.initialised=!0}}(100)}(),function(e){"use strict";e.object.extend=function(){var t={},n=!1,i=0,r=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(n=arguments[0],i++);for(var a=function(i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=n?e.object.clone(i[r]):i[r])};i<r;i++){a(arguments[i])}return t},e.object.clone=function(t){if(null===t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t.getTime());if(Array.isArray(t))return t.map((function(t){return e.object.clone(t)}));var n=new t.constructor;for(var i in t)t.hasOwnProperty(i)&&(n[i]=e.object.clone(t[i]));return n},e.object.objectByString=function(e,t){for(var n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i=0,r=n.length;i<r;++i){var a=n[i];if(!(a in e))return;e=e[a]}return e},e.object.objectSize=function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&n++;return n},e.object.sameObject=function(t,n){if(e.object.objectSize(t)!=e.object.objectSize(n))return!1;for(var i in t)if(t[i]!=n[i])return!1;return!0},e.object.getNestedItemFromPath=function(e,t){if(0===e.length)return t;for(var n=t,i=0;i<e.length;i++)n=n[e[i]];return n},e.object.makeArray=function(t){var n=[];if(e.object.isArray(t))n=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)n.push(t[i]);else n.push(t);return n},e.object.isArray=function(e){return"[object Array]"==Object.prototype.toString.call(e)}}(PULSE.core),function(e){"use strict";e.style={},e.style.hasClass=function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},e.style.removeClass=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},e.style.addClass=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},e.style.toggleClass=function(t,n){e.style.hasClass(t,n)?e.style.removeClass(t,n):e.style.addClass(t,n)},e.style.outerWidth=function(e){var t=e.offsetWidth,n=e.currentStyle||getComputedStyle(e);return t+(("auto"===n.marginLeft?0:parseInt(n.marginLeft,10))+("auto"===n.marginRight?0:parseInt(n.marginRight,10)))}}(PULSE.core),function(e){e.url.updateUrlStringParam=function(e,t,n){var i=t+"="+n;name=name.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r=new RegExp("([\\?&])"+t+"=([^&#]*)").exec(e);if(r){var a=r[1],o=void 0!==n&&""!==n?a+i:a;e=e.replace(r[0],o)}else void 0!==n&&""!==n&&(e=-1===e.indexOf("?")?e+"?"+i:e+"&"+i);return e},e.url.getParameterByName=function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);if(!n)return null;if(!n[2])return"";var i=decodeURIComponent(n[2].replace(/\+/g," "));return"null"===i&&(i=null),i},e.url.getParam=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},e.url.setUrlWithParams=function(t,n){var i=(n=n||{}).state||{},r=n.title||document.title,a=n.url||window.location.href.split("?")[0];n.name,a+=e.url.buildQueryString(t,!0),window.history.pushState(i,r,a)},e.url.buildQueryString=function(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)&&void 0!==e[i]&&("[object Array]"!==Object.prototype.toString.call(e[i])||e[i].length)){var r=[].
12concat(e[i]).join(","),a=[i,encodeURIComponent(r)];n.push(a.join("="))}return n.length?(t?"?":"")+n.join("&"):""}}(PULSE.core),function(e){e.loader=function(e,t){var n=this;n.element=e,n.append=t.append,n.init=t.init,n.active=!1,n.loaderTemplate=t.loaderTemplate,n.init&&n.addLoader()},e.loader.prototype.removeLoader=function(){var e=this;e.element&&e.active&&(e.loaderDiv?e.element.removeChild(e.loaderDiv):e.element.innerHTML="",e.active=!1)},e.loader.prototype.addLoader=function(){var e=this,t=Mustache.render(e.loaderTemplate,{});e.append?(e.loaderDiv=document.createElement("div"),e.loaderDiv.innerHTML=t,e.element.insertBefore(e.loaderDiv,e.element.firstChild)):e.element.innerHTML=t,e.active=!0}}(PULSE.ui),function(e,t){"use strict";var n=function(e){(function(e){var n=document.getElementById(e.config.modalWrapId);n?e.config.modal=n:(e.config.modal=document.createElement("div"),e.config.modal.id=e.config.modalWrapId,e.config.modalWrapClass&&t.style.addClass(e.config.modal,e.config.modalWrapClass),e.config.modal.addEventListener("click",(function(t){e.config.modal===t.target&&e.close()})),document.body.insertBefore(e.config.modal,document.body.firstChild));var i=e.config.modal.querySelector("#"+e.config.modalContentId);if(i)e.config.modalContent=i;else{e.config.modalContent=document.createElement("div"),e.config.modalContent.id=e.config.modalContentId,e.config.modalContentWrapClass&&t.style.addClass(e.config.modalContent,e.config.modalContentWrapClass),e.config.modal.appendChild(e.config.modalContent);var r=document.createElement("a");t.style.addClass(r,"close"),r.setAttribute("role","button"),r.setAttribute("tabindex",0),r.textContent=e.config.closeText,r.addEventListener("click",(function(){e.close()})),r.addEventListener("keydown",(function(t){13==t.which&&e.close()})),e.config.modalContent.appendChild(r)}e.config.closeBtn=e.config.modalContent.querySelector("a.close")})(e),function(e){Array.prototype.map.call(e.config.activators,e.createInstance.bind(e))}(e)};e.modal=function(e){var t=this;t.config=function(e){return e.parent||(e.parent=document),e.selector||(e.selector="[data-ui-modal]"),e.openClass||(e.openClass="open"),e.modalWrapId||(e.modalWrapId="modalWrap"),e.modalContentId||(e.modalContentId="modalContent"),e.closeText||(e.closeText="close"),e.activators=e.parent.querySelectorAll(e.selector),e.instances=[],e}(e||{}),t.escapeClose=function(e){27==e.which&&t.close()},n(t)},e.modal.prototype.open=function(){var e=this;return document.addEventListener("keydown",e.escapeClose),t.style.addClass(e.config.modal,e.config.openClass),"function"==typeof e.config.openCallback&&e.config.openCallback(e),setTimeout((function(){e.config.closeBtn.focus()}),100),e},e.modal.prototype.close=function(){var e=this;return document.removeEventListener("keydown",e.escapeClose),t.style.removeClass(e.config.modal,e.config.openClass),"function"==typeof e.config.closeCallback&&e.config.closeCallback(e),e},e.modal.prototype.setInstance=function(e){return this.config.current=e,e.show(),this},e.modal.prototype.createInstance=function(e){var n,i=this,r=document.querySelectorAll(e.getAttribute("data-ui-modal"));e.getAttribute("data-ui-args")&&(n=JSON.parse(e.getAttribute("data-ui-args")));var a={activator:e,content:r[0],uiArgs:n,show:function(){i.config.instances.forEach((function(e){t.style.removeClass(e.content,i.config.openClass)})),t.style.addClass(a.content,i.config.openClass)}};a.content.parentElement!==i.config.modalContent&&i.config.modalContent.appendChild(a.content),i.config.instances.push(a),function(e,t){e.activator.addEventListener("click",(function(n){n.preventDefault(),t.setInstance(e),t.open(e)})),e.activator.setAttribute("data-modal-active",!0)}(a,i)}}(PULSE.ui,PULSE.core),function(e,t){"use strict";var n=function(e){var n;if(e.config.moreButton instanceof HTMLElement)n=e.config.moreButton;else if("string"==typeof e.config.moreButton&&e.config.moreButton.length>0){var i=document.createElement("div");i.innerHTML=e.config.moreButton,n=i.children[0]}else{(n=document.createElement("div")).textContent=e.config.moreLabel;var r=document.createElement("span");t.style.addClass(r,e.config.iconPrefix),t.style.addClass(r,e.config.iconClass),n.appendChild(r)}return t.style.addClass(n,e.config.moreToggleClass),n.addEventListener("click",(function(){o(e)})),n.addEventListener("keypress",(function(t){13===(t.which||t.keyCode)&&o(e)})),n.setAttribute("tabindex",0),n},i=function(e){e.moreNavs={},e.moreNavs.visible=!1;var i=document.createElement(e.config.navItemTag);t.style.addClass(i,e.config.moreWrapClass),e.moreNavs.nav=i;var a=n(e);i.appendChild(a),e.moreNavs.button=a;var o=document.createElement(e.config.navWrapTag);t.style.addClass(o,e.config.moreDropdownClass),i.appendChild(o),e.moreNavs.dropdown=o,e.config.navItemsWrap.appendChild(i),i.isMoreNav=!0,e.config.navs.push(i),e.moreNavs.wrapWidth=0,r(e);var s={method:function(e){r(e.scope)},args:{scope:e}}
12;t.event.windowResize.add(s)},r=function(e){var n=getComputedStyle(e.config.navItemsWrap),i=parseInt(n.paddingLeft)+parseInt(n.paddingRight),r=t.style.outerWidth(e.config.navWrap)-(i+e.config.toleranceWidth);if(e.moreNavs.wrapWidth!==r){var o=r;a(e,!0),o-=t.style.outerWidth(e.moreNavs.nav),a(e,!1),e.config.navs.forEach((function(n,i){if(!n.isMoreNav){var r=0;-1!==o&&(e.aboveTriggerThreshold&&l(n,e),r=t.style.outerWidth(n)),o<r?(e.aboveTriggerThreshold&&s(n,e),o=-1):o-=r}})),-1===o&&a(e,!0),c(e),e.moreNavs.wrapWidth=r}},a=function(e,n){e.aboveTriggerThreshold&&(n?(t.style.addClass(e.config.navItemsWrap,"showMoreEnabled"),t.event.listenForOutsideClick.addElement(e.moreNavs.dropdown,(function(){o(e,!0)}),e.moreNavs.button)):(t.style.removeClass(e.config.navItemsWrap,"showMoreEnabled"),t.event.listenForOutsideClick.removeElement(e.moreNavs.dropdown)))},o=function(e,n){n?t.style.removeClass(e.moreNavs.nav,e.config.openClass):t.style.toggleClass(e.moreNavs.nav,e.config.openClass)},s=function(e,n){if(!t.style.hasClass(e,n.config.hideClass)){e.navClone||(e.navClone=e.cloneNode(!0)),e.isHidden=!0,t.style.addClass(e,n.config.hideClass);var i=n.moreNavs.dropdown.getElementsByTagName(n.config.navItemTag);if(0===i.length)n.moreNavs.dropdown.appendChild(e.navClone);else for(var r=0;r<i.length;r++){if(e.index>i[r].getAttribute(n.config.dataNavIndexSelector))return void n.moreNavs.dropdown.insertBefore(e.navClone,i[r]);r===i.length-1&&n.moreNavs.dropdown.appendChild(e.navClone)}}},l=function(e,n){t.style.hasClass(e,n.config.hideClass)&&(e.isHidden=!1,t.style.removeClass(e,n.config.hideClass),n.moreNavs.dropdown.removeChild(e.navClone))},c=function(e){for(var n=!1,i=0;i<e.moreNavs.dropdown.childNodes.length;i++)if(e.moreNavs.dropdown.childNodes[i].classList.contains(e.config.activeClass)){n=!0;break}n?t.style.addClass(e.moreNavs.dropdown.parentNode,e.config.activeClass):t.style.removeClass(e.moreNavs.dropdown.parentNode,e.config.activeClass)},u=function(e){!function(e){e.config.navItemsWrap=e.config.navWrap.querySelector(e.config.navWrapTag);var t=0;Array.prototype.map.call(e.config.navItemsWrap.children,(function(n){n.tagName.toLowerCase()===e.config.navItemTag.toLowerCase()&&(n.setAttribute(e.config.dataNavIndexSelector,t++),e.config.navs.push(n))})),e.config.navItemsWrap.children&&(e.numMenuItems=e.config.navItemsWrap.children.length),e.aboveTriggerThreshold=e.numMenuItems>=e.config.minTrigger,i(e),c(e)}(e)};e.moreNav=function(e){var t=this;t.config=function(e){return e.dataNavIndexSelector||(e.dataNavIndexSelector="data-nav-index"),e.navWrap||(e.navWrap=document.querySelector("[data-ui-more-nav]")),e.navWrapTag||(e.navWrapTag="ul"),e.navItemTag||(e.navItemTag="li"),e.moreWrapClass||(e.moreWrapClass="more"),e.moreButton||(e.moreLabel||(e.moreLabel="More"),e.iconPrefix||(e.iconPrefix="icn"),e.iconClass||(e.iconClass="chevron-down")),e.moreToggleClass||(e.moreToggleClass="moreToggle"),e.moreDropdownClass||(e.moreDropdownClass="moreToggleDropdown"),e.activeClass||(e.activeClass="active"),e.openClass||(e.openClass="open"),e.hideClass||(e.hideClass="hide"),e.toleranceWidth||(e.toleranceWidth=20),e.minTrigger||(e.minTrigger=0),e.navs=[],e}(e||{}),u(t),"function"==typeof t.config.buildCallback&&t.config.buildCallback(t)},e.moreNav.prototype.reset=function(){this.moreNavs.wrapWidth=0,r(this)}}(PULSE.ui,PULSE.core),function(e,t){var n=function(e){e.previousContainer.addEventListener("click",(function(n){t.style.hasClass(e.previousContainer,"inactive")||(e.pageInfo.page--,e.refreshPagination(e.config.callback))})),e.nextContainer.addEventListener("click",(function(n){t.style.hasClass(e.nextContainer,"inactive")||(e.pageInfo.page++,e.refreshPagination(e.config.callback))}))};e.pagination=function(e,t){var i=this;i.config=t||{},i.element=e,i.paginationTemplate=t.paginationTemplate,function(e){e.element.innerHTML=Mustache.render(e.paginationTemplate,{}),e.previousContainer=e.element.getElementsByClassName("paginationPreviousContainer")[0],e.nextContainer=e.element.getElementsByClassName("paginationNextContainer")[0]}(i),i.initPagination(t.pageInfo),n(i)},e.pagination.prototype.initPagination=function(e){var t=this;t.pageInfo=e||{},t.pageInfo.page||(t.pageInfo.page=0),t.pageInfo.pageSize||(t.pageInfo.pageSize=10),t.pageInfo.numEntries||(t.pageInfo.numEntries=0),!t.pageInfo.numPages&&parseInt(t.pageInfo.numEntries)>-1&&(t.pageInfo.numPages=Math.ceil(parseInt(t.pageInfo.numEntries)/parseInt(t.pageInfo.pageSize))),t.refreshPagination()},e.pagination.prototype.refreshPagination=function(e){var n=this;void 0!==n.pageInfo.numPages&&(n.pageInfo.page>=n.pageInfo.numPages-1||n.pageInfo.numPages<1)||void 0===n.pageInfo.numPages&&n.pageInfo.currentSize<n.pageInfo.pageSize?(n.pageInfo.page=void 0!==n.pageInfo.numPages?n.pageInfo.numPages-1:n.pageInfo.page,t.style.addClass(n.nextContainer,"inactive")):t.style.removeClass(n.nextContainer,"inactive"),n.pageInfo.page>0?t.style.removeClass(n.previousContainer,"inactive"):(n.pageInfo.page=0,t.style.addClass(n.previousContainer,"inactive")),e&&n.config.target&&e.call(n.config.target,n.pageInfo)},e.pagination.prototype.updateCurrentSize=function(e){this.pageInfo.currentSize=e,this.refreshPagination()}}(PULSE.ui,PULSE.core),function(e,t){"use strict";var n=function(t,n){var i=n.getSocialDataset(t.currentTarget);i&&i.socialService&&e.socialHelpers[i.socialService].sharePage(null,!1,n.selectedText,n.config.hideUrl,t.currentTarget)},i=function(e,t){t.mouseDown&&(t.pointer=e,setTimeout((function(){r(t),t.mouseDown=!1}),t.config.delay))},r=function(e){e.selectedText=a(),e.selectedText&&e.selectedText.length?o(e):s(e)},a=function(){var e="";return void 0!==window.getSelection?e=window.getSelection().toString():void 0!==document.selection&&"Text"==document.selection.type&&(e=document.selection.createRange().text),String.prototype.trim&&(e=e.trim()),e},o=function(e){t.style.addClass(e.shareOptions,e.config.activeClass);var n=(e.pointer.pageY,e.contentElement.offsetTop,document.documentElement.scrollTop>document.body.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);e.shareOptions.style.left=(e.shareOptions.offsetWidth?e.pointer.clientX-e.shareOptions.offsetWidth/2:e.pointer.clientX)+"px",e.shareOptions.style.top=e.pointer.clientY+n+"px"},s=function(e){t.style.removeClass(e.shareOptions,e.config.activeClass)},l=function(e){e.contentElement=document.querySelector(e.config.content),e.shareOptions=document.querySelector(e.config.shareOptions),e.shareChannels=document.querySelectorAll(e.config.shareChannels),e.contentElement&&e.shareOptions&&function(e){if(e.contentElement.addEventListener("mousedown",(function(t){e.mouseDown=!0})),e.contentElement.addEventListener("touchstart",(function(t){e.mouseDown=!0})),document.body.addEventListener("mouseup",(function(t){i(t,e)})),document.body.addEventListener("touchend",(function(t){t.changedTouches.length&&i(t.changedTouches[0],e)})),document.body.addEventListener("mousedown",(function(){s(e)})),document.body.addEventListener("keydown",(function(){s(e)})),e.shareChannels.length)for(var t=function(t){t.preventDefault(),t.stopPropagation(),"function"==typeof e.config.channelSelectionCallback?e.config.channelSelectionCallback(this,e.selectedText):n(t,e)},r=function(e){e.preventDefault()},a=0;a<e.shareChannels.length;a++)e.shareChannels[a].addEventListener("mousedown",t),e.shareChannels[a].addEventListener("touchstart",t),null!==e.shareChannels[a].getAttribute("prevent-action")&&e.shareChannels[a].addEventListener("click",r)}(e)};e.shareText=function(e){var t=this;t.config=function(e){return e.activeClass||(e.activeClass="active"),e.socialService||(e.socialService="data-social-service"),void 0===e.hideUrl&&(e.hideUrl=!0),e.delay||(e.delay=250),e}(e||{}),l(t),"function"==typeof t.config.buildCallback&&t.config.buildCallback(t)},e.shareText.prototype.getSocialDataset=function(e){var t=e;do{if(!t)break;
12if(t.getAttribute("data-social-service"))return t.dataset;t=t.parentElement}while(t!==this.element);return!1}}(PULSE.ui,PULSE.core),function(e){var t=function(e){var t=this;t.name=e,t.socialLinks={twitter:{shareUrl:"http://www.twitter.com/intent/tweet?text="},facebook:{shareUrl:"http://www.facebook.com/sharer/sharer.php?u="},googleplus:{shareUrl:"http://plus.google.com/share?url="},whatsapp:{shareUrl:"whatsapp://send?text="},email:{}},t.defaultWindowConfiguration={width:"500",height:"500",menubar:0,location:1,resizable:0,scrollbars:0,status:0,titlebar:0,toolbar:0}};t.prototype.buildShareUrl=function(e,t,n,i){var r=e||window.location.href,a=i?"":r;return t&&(a+=" "+t),"facebook"===n&&(a=r),this.socialLinks[this.name].shareUrl+encodeURIComponent(a)},t.prototype.makeWindowConfigurationString=function(e){if(e){var t=Object.keys(e),n="";for(c=0;c<t.length;c++)n+=t[c]+"="+e[t[c]],c<t.length-1&&(n+=",");return n}return!1},t.prototype.sharePage=function(e,t,n,i,r){var a,o=this;switch(o.name){case"email":r&&(a="mailto:?body="+n,r.setAttribute("href",a));break;case"whatsapp":r&&(a=o.socialLinks.whatsapp.shareUrl+n,r.setAttribute("href",a));break;default:window.open(o.buildShareUrl(e,n,o.name,i),"_blank",o.makeWindowConfigurationString(t||o.defaultWindowConfiguration))}},e.socialHelpers={twitter:new t("twitter"),facebook:new t("facebook"),google:new t("googleplus"),email:new t("email"),whatsapp:new t("whatsapp")}}(PULSE.ui),function(e,t){"use strict";e.photoGalleries=[];var n=function(e){return e.singlePhotoViewer="true"===e.singlePhotoViewer,t.object.extend({itemSelector:".swingSloth__item",imageSelector:".swingSloth__image",instances:[],attractionStrength:.025,friction:.16,initialIndex:0,draggable:!1,resize:!0,expandable:!0,thumbnails:null,controls:{},singlePhotoViewer:!1,keyboardNavigation:!0,onGalleryBuilt:function(){},onFullscreenOpened:function(){},onFullscreenClosed:function(){},isVisibleEvent:function(){}},e)},i=function(e){e.selectedIndex=e.config.initialIndex,e.sliderPos=0,e.sliderPosTarget=0,e.firstItemLoaded=!1,e.highestItem=e.config.maxHeight?99999:0,e.controls={},e.velocityX=0,e.acceleration=0,e.friction=1-e.config.friction,e.attractStrength=e.config.attractionStrength,r(e),a(e),o(e),l(e),c(e),s(e),e.selectedIndex>0&&e.selectedIndex<e.items.length?e.moveSlideTo(e.selectedIndex,1,!0):e.selectedIndex=0},r=function(e){e.wrapper=document.createElement("div"),e.wrapper.className="swingSloth__wrapper"},a=function(e){e.viewport=document.createElement("div"),e.viewport.className="swingSloth__viewport",e.viewport.style.position="relative",e.viewport.style.overflow=e.config.singlePhotoViewer?"visible":"hidden"},o=function(e){var t=document.createElement("div");t.className="swingSloth__slider",e.slider=t},s=function(e){if(!document.getElementById("swingsloth__css-styles")){var t=".swingSloth__wrapper.expanded { position: fixed; width: 100%; height: 100%; max-width: none; top: 0; left: 0; }";t+=".swingSloth__viewport { width: 100%; }",t+=".swingSloth__wrapper.expanded .bigger-than-viewport img { height: 100%; width: auto; margin: 0 auto; }";var n=document.createElement("style");n.type="text/css",n.setAttribute("id","swingsloth__css-styles"),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),document.querySelector("head").appendChild(n)}},l=function(e){e.dragging.initHandlers(e)},c=function(e){e.viewport.appendChild(e.slider),e.wrapper.appendChild(e.viewport),e.element.insertBefore(e.wrapper,e.element.firstChild),t.style.addClass(e.element,"swingSloth");var n=e.element.querySelectorAll(e.config.itemSelector);if(!e.isActive&&n.length){if(e.isActive=!0,u(n,e.slider),d(e),I(e),e.width=e.viewport.offsetWidth,e.config.resize){var i={method:function(){U(e)}};t.event.windowResize.add(i)}g(e),e.animation.animate(e),"function"==typeof e.config.onGalleryBuilt&&setTimeout((function(){e.config.onGalleryBuilt()}),0)}},u=function(e,n){for(e=t.object.makeArray(e);e.length;)n.appendChild(e.shift())},d=function(e){e.items=m(e),f(e),p(e),F(e),e.config.created&&C(e)},g=function(e){window.addEventListener("scroll",x,!1),document.onkeydown=S},f=function(e){for(var n,i=0,r=e.items.length;i<r;i++)(n=e.items[i]).width=n.element.offsetWidth,n.height=n.element.offsetHeight,n.positionX=i*n.width,e.expanded&&n.height>=window.innerHeight?(t.style.addClass(n.element,"bigger-than-viewport"),n.width=n.element.offsetWidth,n.height=n.element.offsetHeight,n.positionX=i*n.width):t.style.removeClass(n.element,"bigger-than-viewport"),n.height<e.highestItem?(n.element.style.top="50%",!e.config.singlePhotoViewer||e.config.singlePhotoViewer&&e.expanded?n.element.style.marginTop=-n.height/2+"px":n.element.style.marginTop=0):(n.element.style.top=0,n.element.style.marginTop=0)},h=function(e,t){t.height=t.element.offsetHeight,t.width=t.element.offsetWidth,(e.config.maxHeight?t.height<e.highestItem:t.height>e.highestItem)&&(e.highestItem=t.height,F(e)),e.items&&f(e)},m=function(e){var t,n,i,r=e.element.querySelectorAll(e.config.itemSelector),a=[];for(n=0,i=r.length;n<i;
12n++)t=new e.Item(r[n],e,h),a.push(t);return a},p=function(e){for(var t,n=0,i=e.items.length;n<i;n++)(t=e.items[n]).positionX=n*t.width,t.element.style.left=100*n+"%"},I=function(e){y(e),e.config.expandable&&b(e),e.config.thumbnails&&A(e),e.config.created=!0},C=function(e){e.items.length>1&&(0===e.selectedIndex?(e.controls.arrowLeft.style.display="none",e.controls.arrowRight.style.display="block"):e.selectedIndex===e.items.length-1&&(e.controls.arrowLeft.style.display="block",e.controls.arrowRight.style.display="none"))},y=function(e){var t,n;e.config.controls.prev?t=e.config.controls.prev:((t=document.createElement("span")).className="swingSloth__arrowleft",t.innerHTML="<"),e.config.controls.next?n=e.config.controls.next:((n=document.createElement("span")).className="swingSloth__arrowright",n.innerHTML=">"),e.wrapper.appendChild(t),e.wrapper.appendChild(n),t.style.display="none",n.style.display="none",t.addEventListener("click",(function(t){B(e,-1,!1)})),n.addEventListener("click",(function(t){B(e,1,!1)})),e.controls.arrowLeft=t,e.controls.arrowRight=n,C(e)},A=function(e){new e.Thumbnails(e,e.config.thumbnails)},b=function(e){var n=e.config.controls.expand;n?t.style.addClass(n,"swingSloth__expandicon"):((n=document.createElement("span")).className="swingSloth__expandicon",n.innerHTML="F",e.wrapper.appendChild(n)),e.controls.expand=n,n.addEventListener("click",(function(t){e.toggleGalleryFullscreen()})),e.viewport.addEventListener("touchend",(function(t){v(e)}))},v=function(e){e.hasBeenDragged||e.toggleGalleryFullscreen()},B=function(e,t,n){e.moveSlideTo(e.selectedIndex+t,n)},F=function(e){e.items&&e.items.length>=0&&(e.highestItem<=0?e.highestItem=e.items[0].height:window.innerHeight<e.highestItem&&(e.highestItem=window.innerHeight),e.viewport.style.height=e.highestItem+"px",e.slider.style.height=e.highestItem+"px")},Q=function(e){var t;for(f(e),e.highestItem=-1,t=0;t<e.items.length;t++)e.items[t].height=e.items[t].element.offsetHeight,(e.config.maxHeight?e.items[t].height<e.highestItem:e.items[t].height>e.highestItem)&&(e.highestItem=e.items[t].height);F(e)},U=function(e){var t=e.viewport.offsetWidth;t!==e.width&&(e.width=t,Q(e),e.moveSlideTo(e.selectedIndex,!0),e.expanded&&w(e))},G=function(e){e.viewport.style.marginTop=0,e.viewport.style.height="100%",e.slider.style.height="100%",Q(e),e.moveSlideTo(e.selectedIndex,!0),e.expanded&&w(e)},S=function(t){var n,i;for(t=t||window.event,n=0;n<e.photoGalleries.length;n++)if(e.photoGalleries[n].expanded){i=e.photoGalleries[n];break}if(i&&i.expanded){switch(t.keyCode){case 37:i.selectedIndex>0&&i.moveSlideTo(i.selectedIndex-1);break;case 39:i.moveSlideTo(i.selectedIndex+1);break;case 27:i.toggleGalleryFullscreen()}t.stopPropagation()}},x=function(){var t,n,i=document.documentElement,r=window.innerHeight||i.clientHeight;for(n=0;n<e.photoGalleries.length;n++)(t=e.photoGalleries[n].element.getBoundingClientRect()).top>=0&&t.top<=r||t.bottom>=0&&t.bottom<=r?(e.photoGalleries[n].isInViewport=!0,"function"==typeof e.photoGalleries[n].config.isVisibleEvent&&e.photoGalleries[n].config.isVisibleEvent()):e.photoGalleries[n].isInViewport=!1},w=function(e){var t;t=((window.innerHeight||document.documentElement.clientHeight)-e.highestItem)/2,e.viewport.style.marginTop=t+"px"};e.swingSloth=function(t,r){if(t){var a=this;a.element=t,a.config=n(r||{}),e.photoGalleries.push(a),i(a)}},e.swingSloth.prototype.moveSlideTo=function(e,t){var n=this;n.selectedIndex=e,n.selectedIndex<n.items.length&&n.selectedIndex>=0?(n.selectedItem=n.items[n.selectedIndex],n.selectedIndex===n.items.length-1?n.controls.arrowRight.style.display="none":n.controls.arrowRight.style.display="block",0===n.selectedIndex?n.controls.arrowLeft.style.display="none":n.controls.arrowLeft.style.display="block",n.sliderPosTarget=-n.selectedItem.positionX,t&&(n.sliderPos=-n.selectedItem.positionX)):n.selectedIndex===n.items.length?n.selectedIndex=n.items.length-1:n.selectedIndex<0&&(n.selectedIndex=0)},e.swingSloth.prototype.addItem=function(e){var n=this;if(e){if(t.object.isArray(e))for(var i=0;i<e.length;i++)e[i]&&n.slider.appendChild(e[i]);else n.slider.appendChild(e);d(n),n.animation.animate(n)}},e.swingSloth.prototype.removeItem=function(e){var t=this;e>=0&&e<t.items.length&&(t.slider.removeChild(t.items[e].element),t.items.splice(e,1)),d(t)},e.swingSloth.prototype.toggleGalleryFullscreen=function(){var e=this;(function(e,n){for(var i=function(n){n.imageVariants.fullscreen.image.onload=null,n.imageVariants.fullscreen.loaded=!0,t.style.addClass(n.imageVariants.preview.image,"u-hide"),t.style.removeClass(n.imageVariants.fullscreen.image,"u-hide"),G(e),w(e)}
12,r=0;r<e.items.length;r++)n&&e.items[r].imageVariants.fullscreen?e.items[r].imageVariants.fullscreen.loaded?(t.style.addClass(e.items[r].imageVariants.preview.image,"u-hide"),t.style.removeClass(e.items[r].imageVariants.fullscreen.image,"u-hide")):(e.items[r].imageVariants.fullscreen.image.onload=i.bind(this,e.items[r]),e.items[r].imageVariants.fullscreen.image.src=e.items[r].imageVariants.fullscreen.url):!n&&e.items[r].imageVariants.fullscreen&&(t.style.removeClass(e.items[r].imageVariants.preview.image,"u-hide"),t.style.addClass(e.items[r].imageVariants.fullscreen.image,"u-hide"))})(e,!e.expanded),e.expanded?(e.viewport.style.marginTop=0,e.element.style.height="auto",t.style.removeClass(e.wrapper,"expanded"),e.expanded=!1,G(e),"function"==typeof e.config.onFullscreenClosed&&e.config.onFullscreenClosed()):(e.expanded=!0,t.style.addClass(e.wrapper,"expanded"),e.element.style.height=e.highestItem,G(e),w(e),"function"==typeof e.config.onFullscreenOpened&&e.config.onFullscreenOpened())},e.swingSloth.prototype.setEventListener=function(e,t){"function"==typeof this.config[e]&&(this.config[e]=t)},e.swingSloth.prototype.removeEventListener=function(e){"function"==typeof this.config[e]&&(this.config[e]=function(){})},e.swingSloth.prototype.refresh=function(){d(this)},e.Particle=function(e){e&&(this.element=e,this.positionX=0,this.dragPositionX=0,this.velocityX=1,this.friction=.95,this.accelerationX=1,this.isDragging=!1)},e.Particle.prototype.render=function(){this.element.style.transform="translateX("+this.positionX+"px)"},e.Particle.prototype.update=function(){this.velocityX+=this.accelerationX,this.velocityX*=this.friction,this.positionX+=this.velocityX,this.accelerationX=0},e.Particle.prototype.applyForce=function(e){this.accelerationX+=e}}(PULSE.ui,PULSE.core),function(e,t){"use strict";var n=function(e,n,i){n.config.current!==e&&(t.style.hasClass(e.activator,n.config.disableClass)||(n.config.tabs.map((function(e){t.style.removeClass(e.content,n.config.activeClass),t.style.removeClass(e.activator,n.config.activeClass),n.config.moreToggle&&(e.activatorClone&&t.style.removeClass(e.activatorClone,n.config.activeClass),t.style.removeClass(n.moreTabs.tab,n.config.activeClass))})),t.style.addClass(e.content,n.config.activeClass),t.style.addClass(e.activator,n.config.activeClass),n.config.moreToggle&&(l(n,!0),e.activatorClone&&t.style.addClass(e.activatorClone,n.config.activeClass),n.moreTabs.visible&&e.isHidden&&t.style.addClass(n.moreTabs.tab,n.config.activeClass)),n.config.current=e,"function"!=typeof n.config.tabCallback||i||n.config.tabCallback(n)))},i=function(e,t){var n=e.config.tabs[e.config.defaultIndex];if(e.config.tabs.length>1)for(var i=0;i<e.config.tabs.length;i++)if(e.config.tabs[i].title===t)return e.config.tabs[i];return n},r=function(e){for(var n=0,i=e.config.defaultIndex;n<e.config.tabs.length;){if(i>e.config.tabs.length-1&&(i=0),!t.style.hasClass(e.config.tabs[i].activator,e.config.disableClass))return e.config.tabs[i];i++,n++}return e.config.tabs[e.config.defaultIndex]},a=function(e,a){var o=e.config.defaultTitle?e.config.defaultTitle:t.url.getParam(e.config.tabParam),s=a||o,l=e.config.tabs[e.config.defaultIndex];s&&(l=i(e,s)),t.style.hasClass(l.activator,e.config.disableClass)&&(l=r(e)),n(l,e,!0),"function"==typeof e.config.buildCallback&&e.config.buildCallback(e)},o=function(e){e.moreTabs={},e.moreTabs.visible=!1;var n=document.createElement("li");t.style.addClass(n,e.config.moreClass),e.moreTabs.tab=n;var i=document.createElement("div");t.style.addClass(i,e.config.moreToggleClass),i.textContent=e.config.moreLabel,i.addEventListener("click",(function(){l(e)})),n.appendChild(i);var r=document.createElement("div");t.style.addClass(r,"icn"),t.style.addClass(r,"chevron-down"),i.appendChild(r);var a=document.createElement("ul");t.style.addClass(a,e.config.moreToggleDropdownClass),n.appendChild(a),e.moreTabs.dropdown=a,e.config.nav.appendChild(n),e.moreTabs.wrapWidth=0,s(e);var o={method:function(e){s(e.scope)},args:{scope:e}};t.event.windowResize.add(o)},s=function(e){var n=e.config.wrap.offsetWidth;if(e.moreTabs.wrapWidth!==n){var i=0;
12if(e.config.tabs.forEach((function(e){var n=t.style.outerWidth(e.activator);i+=n,e.activatorWidth=n})),n<=i){var r=n;r-=t.style.outerWidth(e.moreTabs.tab),e.moreTabs.visible=!0,t.style.addClass(e.config.nav,e.config.showMoreEnabledClass),e.config.tabs.forEach((function(n,i){r<n.activatorWidth?(c(n,e),r=-1,e.config.current===n&&t.style.addClass(e.moreTabs.tab,e.config.activeClass)):(u(n,e),r-=n.activatorWidth,e.config.current===n&&t.style.removeClass(e.moreTabs.tab,e.config.activeClass))}))}else e.moreTabs.visible=!1,t.style.removeClass(e.config.nav,e.config.showMoreEnabledClass),e.config.tabs.forEach((function(t){u(t,e)}));e.moreTabs.wrapWidth=n}},l=function(e,n){n?t.style.removeClass(e.moreTabs.tab,e.config.openClass):t.style.toggleClass(e.moreTabs.tab,e.config.openClass)},c=function(e,i){if(!t.style.hasClass(e.activator,i.config.hideClass)){e.activatorClone||(e.activatorClone=e.activator.cloneNode(!0),e.activatorClone.addEventListener("click",(function(){n(e,i)}))),e.isHidden=!0,t.style.addClass(e.activator,i.config.hideClass);var r=i.moreTabs.dropdown.getElementsByTagName("li");if(0===r.length)i.moreTabs.dropdown.appendChild(e.activatorClone);else for(var a=0;a<r.length;a++){if(e.index<r[a].getAttribute("data-tab-index"))return void i.moreTabs.dropdown.insertBefore(e.activatorClone,r[a]);a===r.length-1&&i.moreTabs.dropdown.appendChild(e.activatorClone)}}},u=function(e,n){t.style.hasClass(e.activator,n.config.hideClass)&&(e.isHidden=!1,t.style.removeClass(e.activator,n.config.hideClass),n.moreTabs.dropdown.removeChild(e.activatorClone))},d=function(e){(function(e){if(e.config.wrap=document.createElement("div"),e.config.tabItems[0].parentNode.insertBefore(e.config.wrap,e.config.tabItems[0]),e.config.nav=document.createElement("ul"),e.config.nav.classList.add(e.config.tablistClass),e.config.nav.setAttribute("role","tablist"),Array.prototype.map.call(e.config.tabItems,(function(t,i){var r,a=t.getAttribute("data-ui-tab");t.getAttribute("data-ui-args")&&(r=JSON.parse(t.getAttribute("data-ui-args")));var o={index:i,title:a,content:t,activator:document.createElement("li"),uiArgs:r,isHidden:!1};o.title=o.content.getAttribute("data-ui-tab"),o.activator.textContent=o.title,o.activator.setAttribute("role","tab"),o.activator.setAttribute("tabindex","0"),o.activator.setAttribute("data-tab-index",o.index),o.activator.addEventListener("click",(function(){n(o,e)})),o.activator.addEventListener("keyup",(function(t){13===(t.which||t.keyCode)&&n(o,e)})),e.config.setTabClass&&o.activator.classList.add(e.config.setTabClass);var s=o.content.getAttribute("data-ui-class");s&&o.activator.classList.add(s),o.content.getAttribute("data-ui-disabled")&&o.activator.classList.add(e.config.disableClass),e.config.tabs.push(o),e.config.wrap.appendChild(o.content),e.config.nav.appendChild(o.activator)})),e.config.tabs.length-1<e.config.defaultIndex&&(e.config.defaultIndex=e.config.tabs.length-1),e.config.tabLinkWrap)e.config.tabLinkWrap.appendChild(e.config.nav);else{var t=document.createElement("nav");t.classList.add(e.config.tabNavClass),t.appendChild(e.config.nav),e.config.wrap.insertBefore(t,e.config.wrap.firstChild)}e.config.wrap.classList.add(e.config.builtClass),e.config.moreToggle&&o(e)})(e),a(e)},g=function(e,i){if(t.style.addClass(e.activator,i.config.disableClass),t.style.hasClass(e.activator,i.config.activeClass)){var a=r(i);n(a,i)}};e.tab=function(e){if(e.tabItems&&e.tabItems.length<1)return"no tab items to build";this.config=function(e){return e.tabItems||(e.tabItems=document.querySelectorAll("[data-ui-tab]")),e.builtClass||(e.builtClass="tabbed"),e.tablistClass||(e.tablistClass="tablist"),e.tabNavClass||(e.tabNavClass="tabs"),e.defaultIndex||(e.defaultIndex=0),e.activeClass||(e.activeClass="active"),e.disableClass||(e.disableClass="disabled"),e.tabParam||(e.tabParam="tab"),e.moreToggle||(e.moreToggle=!1),e.moreLabel||(e.moreLabel="More"),e.moreClass||(e.moreClass="more"),e.moreToggleClass||(e.moreToggleClass="moreToggle"),e.moreToggleDropdownClass||(e.moreToggleDropdownClass="moreToggleDropdown"),e.showMoreEnabledClass||(e.showMoreEnabledClass="showMoreEnabled"),e.hideClass||(e.hideClass="hide"),e.openClass||(e.openClass="open"),e.tabs=[],e}(e||{}),d(this)},e.tab.prototype.showTabByIndex=function(e){var t=this,i=t.config.tabs[e]||t.config.tabs[0];return n(i,t),t},e.tab.prototype.showTabByTitle=function(e){return a(this,e),this},e.tab.prototype.enableTabByIndex=function(e){var n=this,i=n.config.tabs[e]||n.config.tabs[0];return t.style.removeClass(i.activator,n.config.disableClass),n},e.tab.prototype.enableTabByTitle=function(e){var n=this,r=i(n,e);return t.style.removeClass(r.activator,n.config.disableClass),n},e.tab.prototype.disableTabByIndex=function(e){var t=this,n=t.config.tabs[e]||t.config.tabs[0];return g(n,t),t},e.tab.prototype.disableTabByTitle=function(e){var t=this,n=i(t,e);return g(n,t),t}}(PULSE.ui,PULSE.core),function(e){"use strict";var t={lastSliderPos:0,render:function(e){var n=e.sliderPos-t.lastSliderPos;
12n<0&&(n=-n),n>.1&&(e.slider.style.transform="translateX("+e.sliderPos+"px)",t.lastSliderPos=e.sliderPos)},applyPhysics:function(e){e.velocityX+=e.acceleration,e.sliderPos+=e.velocityX,e.velocityX*=e.friction,e.acceleration=0},applyForce:function(e,t){t.acceleration+=e},animate:function(e){var n=(e.sliderPosTarget-e.sliderPos)*e.attractStrength;isNaN(n)||t.applyForce(n,e),t.applyPhysics(e),t.render(e),requestAnimationFrame((function(){t.animate(e)}))}};e.prototype.animation=t}(PULSE.ui.swingSloth),function(e){"use strict";var t=function(e){return e.clientX?e.clientX:e.touches&&e.touches[0]?e.touches[0].clientX:0},n={gallery:null,initHandlers:function(e){n.gallery=e,e.config.draggable&&(n.gallery.viewport.addEventListener("dragstart",n.onDragStart,!1),n.gallery.viewport.addEventListener("drag",n.onDrag,!1),n.gallery.viewport.addEventListener("dragend",n.onDragEnd,!1)),n.gallery.viewport.addEventListener("touchstart",n.onDragStart,!1),n.gallery.viewport.addEventListener("touchmove",n.onDrag,!1),n.gallery.viewport.addEventListener("touchend",n.onDragEnd,!1)},onDragStart:function(e,i){"touchstart"===e.type&&e.preventDefault();var r=n.gallery;r.hasBeenDragged=!1,r.dragStartPosition=t(e),r.dragLastPosition=t(e)},onDrag:function(e,i,r){e.preventDefault();var a=n.gallery,o=t(e);if(o!==a.dragLastPosition){var s=o-a.dragLastPosition;s<150&&s>-150&&(a.sliderPosTarget+=s),0!==o&&(a.dragLastPosition=o),a.hasBeenDragged=!0}},onDragEnd:function(e,t){var i,r=n.gallery,a=1;e.preventDefault(),r.dragStartPosition>r.dragLastPosition?a=-1:r.dragStartPosition===self.dragLastPosition&&(a=0),0!==a&&(i=n.getNextSnappingPoint(a),r.moveSlideTo(i))},getPointer:function(e){return{x:void 0!==e.pageX?e.pageX:e.clientX,y:void 0!==e.pageY?e.pageY:e.clientY}},getNextSnappingPoint:function(e){var t,i,r,a=n.gallery,o=-a.sliderPosTarget,s=99999;for(e=e||1,t=0;t<a.items.length;t++)(r=o-a.items[t].positionX-e*(a.items[t].width/2.25))<0&&(r=-r),r<s&&(s=r,i=t);return i}};e.prototype.dragging=n}(PULSE.ui.swingSloth),function(e,t){"use strict";var n=function(e,t,n){var i=this;i.element=e,i.parent=t,i.create(n)},i=function(e){var n;(function(e){var n=e.nextElementSibling;n&&t.style.hasClass("js-item-fullscreen")&&n.remove()})(e),e.imageVariants={preview:{},fullscreen:{},current:{}},e.imageVariants.preview.imageContainer=e.element.querySelector(e.parent.config.imageSelector),e.imageVariants.preview.image=e.imageVariants.preview.imageContainer.querySelector("img"),t.style.addClass(e.imageVariants.preview.image,"js-item-preview"),e.imageVariants.current=e.imageVariants.preview,e.imageVariants.preview.imageContainer.dataset.fullscreen?(n=document.createElement("img"),e.imageVariants.preview.image.classList&&e.imageVariants.preview.image.classList.length&&(n.className=e.imageVariants.preview.image.classList.toString()),t.style.addClass(n,"js-item-fullscreen"),t.style.addClass(n,"u-hide"),e.imageVariants.fullscreen.imageContainer=e.imageVariants.preview.imageContainer,e.imageVariants.fullscreen.image=n,e.imageVariants.fullscreen.url=e.imageVariants.preview.imageContainer.dataset.fullscreen,e.imageVariants.fullscreen.loaded=!1,e.imageVariants.preview.imageContainer.appendChild(e.imageVariants.fullscreen.image)):e.imageVariants.fullscreen=null};n.prototype.create=function(e){var t=this;t.parent.config.singlePhotoViewer||(t.element.style.position="absolute"),t.element.style.width="100%",i(t),t.positionX=0,t.target=0,t.width=t.imageVariants.current.image.offsetWidth,t.height=t.imageVariants.current.image.offsetHeight,t.height<=20?t.imageVariants.current.image.onload=function(n){e(t.parent,t)}:e(t.parent,t)},n.prototype.setPosition=function(e){this.positionX=e},e.prototype.Item=n}(PULSE.ui.swingSloth,PULSE.core),function(e,t){"use strict";var n=function(e,n,i){e.gallery.moveSlideTo(n),e.previousActiveThumb&&e.previousActiveThumb!==i&&t.style.removeClass(e.previousActiveThumb,"is-active"),t.style.addClass(i,"is-active"),e.previousActiveThumb=i;var r=e.thumbList.offsetWidth;e.thumbList.scrollLeft=i.offsetLeft-r/2},i=function(e,t){var n=e.thumbList.offsetWidth;e.thumbList.scrollLeft+=t*n};e.prototype.Thumbnails=function(e,t){var r,a,o=this;if(o.gallery=e,o.config=t,o.config.thumbnails&&(o.items=document.querySelectorAll(
vendor: 10,065 bytes, line 12
12o.config.thumbnails),o.items.length)){for(o.previousActiveThumb=o.items[0],r=function(e){o.items[e].addEventListener("click",(function(t){n(o,e,t.target)}))},a=0;a<o.items.length;a++)r(a);o.config.controls&&o.config.list&&(o.thumbList=document.querySelector(o.config.list),document.querySelector(o.config.controls.left).addEventListener("click",(function(e){i(o,-1)})),document.querySelector(o.config.controls.right).addEventListener("click",(function(e){i(o,1)})))}}}(PULSE.ui.swingSloth,PULSE.core),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).fullpage=t()}(this,(function(){"use strict";var e,t,n,i;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r<n;){var a=t[r];if(e.call(i,a,r,t))return a;r++}}}),Array.from||(Array.from=(e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=Math.pow(2,53)-1,i=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),n)},function(e){var n=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var o,s=i(n.length),l=t(this)?Object(new this(s)):new Array(s),c=0;c<s;)o=n[c],l[c]=a?void 0===r?a(o,c):a.call(r,o,c):o,c+=1;return l.length=s,l}));var r,a=window,o=document,s=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,l=/(Mac|iPhone|iPod|iPad)/i.test(a.navigator.userAgent),c="ontouchstart"in a||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,u=!!window.MSInputMethodContext&&!!document.documentMode,d={test:{},shared:{}},g=["parallax","scrollOverflowReset","dragAndMove","offsetSections","fadingEffect","responsiveSlides","continuousHorizontal","interlockedSlides","scrollHorizontally","resetSliders","cards","dropEffect","waterEffect"],f=(r=window.self!==window.top,function(){return r});function h(e,t){a.console&&a.console[e]&&a.console[e]("fullPage: "+t)}function m(e){return"none"!==a.getComputedStyle(e).display}function p(e){return Array.from(e).filter((function(e){return m(e)}))}function I(e,t){return(t=arguments.length>1?t:document)?t.querySelectorAll(e):null}function C(e){e=e||{};for(var t=1,n=arguments.length;t<n;++t){var i=arguments[t];if(i)for(var r in i)i.hasOwnProperty(r)&&"__proto__"!=r&&"constructor"!=r&&("[object Object]"!==Object.prototype.toString.call(i[r])?e[r]=i[r]:e[r]=C(e[r],i[r]))}return e}function y(e,t){return null!=e&&e.classList.contains(t)}function A(){return"innerHeight"in a?a.innerHeight:o.documentElement.offsetHeight}function b(){return a.innerWidth}function v(e,t){var n;for(n in e=G(e),t)if(t.hasOwnProperty(n)&&null!==n)for(var i=0;i<e.length;i++)e[i].style[n]=t[n];return e}function B(e){return e.previousElementSibling}function F(e){return e.nextElementSibling}function Q(e){return e[e.length-1]}function U(e,t){e=w(e)?e[0]:e;for(var n=null!=t?I(t,e.parentNode):e.parentNode.childNodes,i=0,r=0;r<n.length;r++){if(n[r]==e)return i;1==n[r].nodeType&&i++}return-1}function G(e){return w(e)?e:[e]}function S(e){e=G(e);for(var t=0;t<e.length;t++)e[t].style.display="none";return e}function x(e){e=G(e);for(var t=0;t<e.length;t++)e[t].style.display="block";return e}function w(e){return"[object Array]"===Object.prototype.toString.call(e)||"[object NodeList]"===Object.prototype.toString.call(e)}function Z(e,t){e=G(e);for(var n=0;n<e.length;n++)e[n].classList.add(t);return e}function k(e,t){e=G(e);for(var n=t.split(" "),i=0;i<n.length;i++){t=n[i];for(var r=0;r<e.length;r++)e[r].classList.remove(t)}return e}function V(e,t){t.appendChild(e)}function R(e,t,n){var i;t=t||o.createElement("div");for(var r=0;r<e.length;r++){var a=e[r];(n&&!r||!n)&&(i=t.cloneNode(!0),a.parentNode.insertBefore(i,a)),i.appendChild(a)}return e}function E(e,t){R(e,t,!0)}function L(e,t){for(e.appendChild(t);e.firstChild!==t;)t.appendChild(e.firstChild)}function W(e){for(var t=o.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}function T(e,t){return e&&1===e.nodeType?q(e,t)?e:T(e.parentNode,t):null}function N(e,t){O(e,e.nextSibling,t)}function X(e,t){O(e,e,t)}function O(e,t,n){w(n)||("string"==typeof n&&(n=ee(n)),n=[n]);for(var i=0;i<n.length;i++)e.parentNode.insertBefore(n[i],t)}function M(){var e=o.documentElement;return(a.pageYOffset||e.scrollTop)-(e.clientTop||0)}function D(e){return Array.prototype.filter.call(e.parentNode.children,(function(t){return t!==e}))}function _(e){e.preventDefault()}function Y(e,t){return e.getAttribute(t)}function H(e,t,n){o.addEventListener(e,t,"undefined"===n?null:n)}function z(e,t,n){a.addEventListener(e,t,"undefined"===n?null:n)}function J(e,t,n){o.removeEventListener(e,t,"undefined"===n?null:n)}function P(e,t,n){a.removeEventListener(e,t,"undefined"===n?null:n)}function j(e){if("function"==typeof e)return!0;var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}function K(e,t,n){var i;n=void 0===n?{}:n,"function"==typeof a.CustomEvent?i=new CustomEvent(t,{detail:n}):(i=o.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,n),e.dispatchEvent(i)}function q(e,t){return(e.matches||e.t||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function $(e,t){if("boolean"==typeof t)for(var n=0;n<e.length;n++)e[n].style.display=t?"block":"none";return e}function ee(e){var t=o.createElement("div");return t.innerHTML=e.trim(),t.firstChild}function te(e){e=G(e);for(var t=0;t<e.length;t++){var n=e[t];n&&n.parentElement&&n.parentNode.removeChild(n)}}function ne(e,t,n){for(var i=e[n],r=[];i;)(q(i,t)||null==t)&&r.push(i),i=i[n];return r}function ie(e,t){return ne(e,t,"nextElementSibling")}function re(e,t){return ne(e,t,"previousElementSibling")}function ae(e){return Object.keys(e).map((function(t){return e[t]}))}function oe(e){return e[e.length-1]}function se(e,t){for(var n=0,i=e.slice(Math.max(e.length-t,1)),r=0;r<i.length;r++)n+=i[r];return Math.ceil(n/t)}function le(e,t){e.setAttribute(t,Y(e,"data-"+t)),e.removeAttribute("data-"+t)}function ce(e,t){var n=[e];do{e=e.parentNode,n.push(e)}while(!q(e,t));return n}function ue(){var e=o.activeElement;return q(e,"textarea")||q(e,"input")||q(e,"select")||"true"==Y(e,"contentEditable")||""==Y(e,"contentEditable")}a.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])}return n},writable:!0,i:!0}),String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=Array.apply(null,Array(e)).map((function(){return t})).join("")),t.slice(0,e)+String(this))}),window.fp_utils={$:I,deepExtend:C,hasClass:y,getWindowHeight:A,css:v,prev:B,next:F,last:Q,index:U,getList:G,hide:S,show:x,isArrayOrList:w,addClass:Z,removeClass:k,appendTo:V,wrap:R,wrapAll:E,unwrap:W,closest:T,after:N,before:X,insertBefore:O,getScrollTop:M,siblings:D,preventDefault:_,isFunction:j,trigger:K,matches:q,toggle:$,createElementFromHTML:ee,remove:te,untilAll:ne,nextAll:ie,prevAll:re,showError:h};var de=Object.freeze({__proto__:null,showError:h,isVisible:m,o:p,$:I,deepExtend:C,hasClass:y,getWindowHeight:A,u:b,css:v,prev:B,next:F,last:Q,index:U,getList:G,hide:S,show:x,isArrayOrList:w,addClass:Z,removeClass:k,appendTo:V,wrap:R,wrapAll:E,l:L,unwrap:W,closest:T,after:N,before:X,insertBefore:O,getScrollTop:M,siblings:D,preventDefault:_,v:Y,h:H,p:z,g:J,S:P,isFunction:j,trigger:K,matches:q,toggle:$,createElementFromHTML:ee,remove:te,untilAll:ne,nextAll:ie,prevAll:re,toArray:ae,M:oe,T:se,A:le,O:ce,j:ue});function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}var fe={L:{},D:function(e,t){var n=this;return"object"!==ge(this.L[e])&&(this.L[e]=[]),this.L[e].push(t),function(){return n.removeListener(e,t)}},removeListener:function(e,t){if("object"===ge(this.L[e])){var n=this.L[e].indexOf(t);n>-1&&this.L[e].splice(n,1)}},R:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];"object"===ge(this.L[e])&&this.L[e].forEach((function(e){return e.apply(t,i)}))},once:function(e,t){var n=this,i=this.D(e,(function(){i();for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];t.apply(n,r)}))}},he={P:0,F:0,slides:[],C:[],I:null,N:null,B:!1,H:!1,W:!1,V:!1,U:!1,_:void 0,K:void 0,q:!1,G:!0,Y:"none",X:"none",J:!1,Z:!1,nn:!0,tn:0,en:A(),on:!1,rn:{},scrollY:0,scrollX:0,an:!1},me=Object.assign({},he);function pe(e){Object.assign(me,e)}function Ie(){return me}a.state=me;var Ce="onAfterRenderNoAnchor",ye="onClickOrTouch",Ae="moveSlideLeft",be="moveSlideRight",ve="onInitialise",Be="beforeInit",Fe="bindEvents",Qe="onDestroy",Ue="onDestroyAll",Ge="contentChanged",Se="onScrollOverflowScrolled",xe="onScrollPageAndSlide",we="onKeyDown",Ze="onMenuClick",ke="scrollPage",Ve="landscape
12Scroll",Re="scrollBeyondFullpage",Ee="onPerformMovement",Le="onSlideLeave",We="onLeave",Te="afterSectionLoads",Ne="afterSlideLoads";function Xe(e){fe.R(ye,{e:e,target:e.target})}function Oe(){["click","touchstart"].forEach((function(e){J(e,Xe)}))}function Me(){pe({nn:!0})}fe.D(Fe,(function(){["click","touchstart"].forEach((function(e){H(e,Xe)})),z("focus",Me),fe.D(Qe,Oe)}));var De="fullpage-wrapper",_e="."+De,Ye="fp-scrollable",He="fp-responsive",ze="fp-notransition",Je="fp-destroyed",Pe="fp-enabled",je="active",Ke=".active",qe="fp-completely",$e="fp-loaded",et="fp-section",tt="."+et,nt=".fp-tableCell",it="fp-auto-height",rt="#fp-nav",at="fp-slide",ot="."+at,st=".fp-slide.active",lt="fp-slides",ct=".fp-slides",ut="fp-slidesContainer",dt="."+ut,gt="fp-table",ft="fp-overflow",ht="."+ft,mt="fp-is-overflow",pt=".fp-slidesNav",It=".fp-slidesNav a",Ct="fp-controlArrow",yt="."+Ct,At="fp-prev",bt=".fp-controlArrow.fp-prev",vt=".fp-controlArrow.fp-next",Bt={menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,licenseKey:"",credits:{enabled:!0,label:"Made with fullPage.js",position:"right"},css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:600,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!0,scrollOverflowReset:!1,skipIntermediateItems:!1,touchSensitivity:5,touchWrapper:null,bigSectionsDestination:null,adjustOnNavChange:!0,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,allowCorrectDirection:!1,scrollOverflowMacStyle:!0,controlArrows:!0,controlArrowsHTML:['<div class="fp-arrow"></div>','<div class="fp-arrow"></div>'],controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0,rtl:!1},Ft=null,Qt=!1,Ut=C({},Bt),Gt=null;function St(e){return Ft}function xt(){return Gt||Bt}function wt(){return Ut}function Zt(e,t,n){Gt[e]=t,"internal"!==n&&(Ut[e]=t)}function kt(){if(!xt().anchors.length){var e=I(xt().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",Ft);e.length&&e.length===I(xt().sectionSelector,Ft).length&&(Qt=!0,e.forEach((function(e){xt().anchors.push(Y(e,"data-anchor").toString())})))}if(!xt().navigationTooltips.length){var t=I(xt().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",Ft);t.length&&t.forEach((function(e){xt().navigationTooltips.push(Y(e,"data-tooltip").toString())}))}}var Vt=function(e){this.anchor=e.anchor,this.item=e.item,this.index=e.index(),this.isLast=this.index===e.item.parentElement.querySelectorAll(e.selector).length-1,this.isFirst=!this.index,this.isActive=e.isActive},Rt=function(e,t){this.parent=this.parent||null,this.selector=t,this.anchor=Y(e,"data-anchor")||xt().anchors[U(e,xt().sectionSelector)],this.item=e,this.isVisible=m(e),this.isActive=y(e,je),this.un=y(e,ft)||null!=I(ht,e)[0],this.ln=t===xt().sectionSelector,this.cn=T(e,dt)||T(e,_e),this.index=function(){return this.siblings().indexOf(this)}};function Et(e){return e.map((function(e){return e.item}))}function Lt(e,t){return e.find((function(e){return e.item===t}))}Rt.prototype.siblings=function(){return this.ln?this.isVisible?me.C:me.sn:this.parent?this.parent.slides:0},Rt.prototype.prev=function(){var e=this.siblings(),t=(this.ln?e.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?e[t]:null},Rt.prototype.next=function(){var e=this.siblings(),t=(this.ln?e.indexOf(this):this.parent.slides.indexOf(this))+1;return t<e.length?e[t]:null},Rt.prototype.prevPanel=function(){return this.prev()||(this.parent?this.parent.prev():null)},Rt.prototype.nextPanel=function(){return this.next()||(this.parent?this.parent.next():null)},Rt.prototype.vn=function(){return this.ln?me.C:me.dn};var Wt,Tt=function(e){Vt.call(this,e)},Nt=function(e){Vt.call(this,e)};function Xt(e){var t=I(st,e);return t.length&&(e=t[0]),e}function Ot(e){return e?e.activeSlide?e.activeSlide:e:null}function Mt(e){var t,n,i=xt();return i.autoScrolling&&!i.scrollBar?(t=-e,n=I(_e)[0]):(t=e,n=window),{options:t,element:n}}function Dt(e,t){!xt().autoScrolling||xt().scrollBar||e.self!=window&&y(e,lt)?e.self!=window&&y(e,lt)?e.scrollLeft=t:e.scrollTo(0,t):e.style.top=t+"px"}function _t(e){var t="transform "+xt().scrollingSpeed+"ms "+xt().easingcss3;return k(e,ze),v(e,{"-webkit-transition":t,transition:t})}function Yt(e,t){var n=e.index(),i=U(t,tt);return n==i?"none":n>i?"up":"down"}function Ht(e){return Z(e,ze)}function zt(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Jt(e,t){t?_t(St()):Ht(St()),clearTimeout(Wt),v(St(),zt(e)),d.test.hn=e,Wt=setTimeout((function(){k(St(
vendor: 42,492 bytes, line 12
12),ze)}),10)}function Pt(e){var t=Math.round(e);if(xt().css3&&xt().autoScrolling&&!xt().scrollBar)Jt("translate3d(0px, -"+t+"px, 0px)",!1);else if(xt().autoScrolling&&!xt().scrollBar)v(St(),{top:-t+"px"}),d.test.top=-t+"px";else{var n=Mt(t);Dt(n.element,n.options)}}function jt(e,t){Zt("scrollingSpeed",e,t)}d.setScrollingSpeed=jt;var Kt,qt=null,$t=null,en=null;function tn(e,t,n,i){var r,o=function(e){return e.self!=a&&y(e,lt)?e.scrollLeft:!xt().autoScrolling||xt().scrollBar?M():e.offsetTop}(e),s=t-o,l=!1,c=me.q;pe({q:!0}),Kt&&window.cancelAnimationFrame(Kt),Kt=function(u){r||(r=u);var d=Math.floor(u-r);if(me.q){var g=t;n&&(g=a.fp_easings[xt().easing](d,o,s,n)),d<=n&&Dt(e,g),d<n?window.requestAnimationFrame(Kt):void 0===i||l||(Dt(e,t),i(),pe({q:!1}),l=!0)}else l||c||(i(),pe({q:!1}),l=!0)},window.requestAnimationFrame(Kt)}function nn(e){return e&&!e.item?new Tt(new fi(e)):e?new Tt(e):null}function rn(e){return e?new Nt(e):null}function an(e,t){var n=function(e,t){var n={afterRender:function(){return{section:nn(Ie().I),pn:rn(Ie().I.activeSlide)}},onLeave:function(){return{origin:nn(t.items.origin),destination:nn(t.items.destination),direction:t.direction,trigger:Ie().N}},afterLoad:function(){return n.onLeave()},afterSlideLoad:function(){return{section:nn(t.items.section),origin:nn(t.items.origin),destination:nn(t.items.destination),direction:t.direction,trigger:Ie().N}},onSlideLeave:function(){return n.afterSlideLoad()},beforeLeave:function(){return n.onLeave()},onScrollOverflow:function(){return{section:nn(Ie().I),pn:rn(Ie().I.activeSlide),position:t.position,direction:t.direction}}};return n[e]()}(e,t);return K(St(),e,n),!1!==xt()[e].apply(n[Object.keys(n)[0]],ae(n))}function on(e){return e.hasAttribute("data-autoplay")||e.hasAttribute("autoplay")}function sn(e){var t=Xt(e);I("video, audio",t).forEach((function(e){on(e)&&"function"==typeof e.play&&e.play()})),I('iframe[src*="youtube.com/embed/"]',t).forEach((function(e){on(e)&&ln(e),e.onload=function(){on(e)&&ln(e)}}))}function ln(e){e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function cn(e){var t=Xt(e);I("video, audio",t).forEach((function(e){e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()})),I('iframe[src*="youtube.com/embed/"]',t).forEach((function(e){/youtube\.com\/embed\//.test(Y(e,"src"))&&!e.hasAttribute("data-keepplaying")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function un(e){if(xt().lazyLoading){var t=Xt(e);I("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",t).forEach((function(e){if(["src","srcset"].forEach((function(t){var n=Y(e,"data-"+t);null!=n&&n&&(le(e,t),e.addEventListener("load",(function(){})))})),q(e,"source")){var t=T(e,"video, audio");t&&(t.load(),t.onloadeddata=function(){})}})),Z(t,$e)}}function dn(e){var t=xt().lazyLoadThreshold;un(e.item),t&&(gn(e,"prev",t),gn(e,"next",t))}function gn(e,t,n){for(var i=e,r=0;r<n&&(i=i[t]());r++)un(i.item)}function fn(){var e=Ie().I.item,t=Ie().I.activeSlide,n=hn(e),i=String(n);t&&(i=i+"-"+hn(t.item)),i=i.replace("/","-").replace("#","").replace(/\s/g,"");var r=new RegExp("\\b\\s?fp-viewing-[^\\s]+\\b","g");qt.className=qt.className.replace(r,""),Z(qt,"fp-viewing-"+i)}function hn(e){if(!e)return null;var t=Y(e,"data-anchor"),n=U(e);return null==t&&(t=n),t}function mn(e,t,n){var i="";xt().anchors.length&&!xt().lockAnchors&&(e?(null!=n&&(i=n),null==t&&(t=e),pe({K:t}),pn(i+"/"+t)):null!=e?(pe({K:t}),pn(n)):pn(n)),fn()}function pn(e){xt().recordHistory?location.hash=e:a.history.replaceState(void 0,void 0,"#"+e)}function In(e,t,n){var i="Section"===t?xt().anchors[e]:Y(n,"data-anchor");return encodeURI(xt().navigationTooltips[e]||i||t+" "+(e+1))}function Cn(e){e.cancelable&&_(e),pe({N:"horizontalNav"});var t=T(this,tt),n=I(ct,T(this,tt))[0],i=Lt(Ie().C,t).slides[U(T(this,"li"))];fe.R(Ve,{slides:n,destination:i.item})}fe.D(Ue,(function(){a.history.replaceState(null,"",a.location.pathname+window.location.search)}));var yn={};function An(e,t,n){"all"!==t?yn[n][t]=e:Object.keys(yn[n]).forEach((function(t){yn[n][t]=e}))}function bn(){return yn}function vn(){var e=T(this,tt);y(this,At)||T(this,".fp-prev")?bn().m.left&&(pe({N:"slideArrow"}),fe.R(Ae,{section:e})):bn().m.right&&(pe({N:"slideArrow"}),fe.R(be,{section:e}))}function Bn(e,t){Zt("recordHistory",e,t)}function Fn(e,t){e||Pt(0),Zt("autoScrolling",e,t);var n=Ie().I.item;if(xt().autoScrolling&&!xt().scrollBar)v(en,{overflow:"hidden",height:"100%"}),k(qt,Ye),Bn(wt().recordHistory,"internal"),v(St(),{"-ms-touch-action":"none","touch-action":"none"}),null!=n&&Pt(n.offsetTop);else if(v(en,{overflow:"visible",height:"initial"}),Z(qt,Ye),Bn(!!xt().autoScrolling&&wt().recordHistory,"internal"),v(St(),{"-ms-touch-action":"","touch-action":""}),null!=n){var i=Mt(n.offsetTop);i.element.scrollTo(0,i.options)}}function Qn(e){return y(Ie().I.item,it)?Xn(Ie().I.item):Ie().I.item.offsetTop}function Un(){var e=I(".fp-auto-height")[0]||Hn()&&I(".fp-auto-height-responsive")[0];xt().lazyLoading&&e&&I(".fp-section:not(.active)").forEach((function(e){var t,n,i,r,a;n=(t=e.getBoundingClientRect()).top,i=t.bottom,r=n+2<me.en&&n>0,a=i>2&&i<me.en,(r||a)&&dn(Lt(Ie().C,e))}))}function Gn(){K(B(this),"click")}function Sn(){te(I(rt));var e=o.createElement("div");e.setAttribute("id","fp-nav");var t=o.createElement("ul");e.appendChild(t),V(e,qt);var n=I(rt)[0];Z(n,"fp-"+xt().navigationPosition),xt().showActiveTooltip&&Z(n,"fp-show-active");for(var i="",r=0;r<Ie().C.length;r++){var a=Ie().C[r],s="";xt().anchors.length&&(s=a.anchor),i+='<li><a href="#'+encodeURI(s)+'"><span class="fp-sr-only">'+In(a.index(),"Section")+"</span><span></span></a>";var l=xt().navigationTooltips[a.index()];void 0!==l&&""!==l&&(i+='<div class="fp-tooltip fp-'+xt().navigationPosition+'">'+l+"</div>"),i+="</li>"}I("ul",n)[0].innerHTML=i;var c=I("li",I(rt)[0])[Ie().I.index()];Z(I("a",c),je)}function xn(e){e.preventDefault&&_(e),pe({N:"verticalNav"});var t=U(T(this,"#fp-nav li"));fe.R(ke,{destination:Ie().C[t]})}function wn(e,t){var n;n=e,xt().menu&&xt().menu.length&&I(xt().menu).forEach((function(e){null!=e&&(k(I(Ke,e),je),Z(I('[data-menuanchor="'+n+'"]',e),je))})),function(e,t){var n=I(rt)[0];xt().navigation&&null!=n&&"none"!==n.style.display&&(k(I(Ke,n),je),Z(e?I('a[href="#'+e+'"]',n):I("a",I("li",n)[t]),je))}(e,t)}yn.m={up:!0,down:!0,left:!0,right:!0},yn.k=C({},yn.m),fe.D(ye,(function(e){var t=e.target;(q(t,yt)||T(t,yt))&&vn.call(t,e)})),d.setRecordHistory=Bn,d.setAutoScrolling=Fn,d.test.setAutoScrolling=Fn,(new Date).getTime();var Zn,kn,Vn,Rn,En,Ln,Wn=(kn=!0,Vn=(new Date).getTime(),Rn=!a.fullpage_api,function(e,t){var n=(new Date).getTime(),i="wheel"===e?xt().scrollingSpeed:100;return kn=Rn||n-Vn>=i,Rn=!a.fullpage_api,kn&&(Zn=t(),Vn=n),void 0===Zn||Zn});function Tn(e,t){if(j(xt().beforeLeave))return Wn(Ie().N,(function(){return an(e,t)}))}function Nn(e,t,n){var i=e.item;if(null!=i){var r,a,o={element:i,callback:t,isMovementUp:n,dtop:Xn(i),yMovement:Yt(Ie().I,i),anchorLink:e.anchor,sectionIndex:e.index(),activeSlide:e.activeSlide?e.activeSlide.item:null,leavingSection:Ie().I.index()+1,localIsResizing:me.V,items:{origin:Ie().I,destination:e},direction:null};if(!(Ie().I.item==i&&!me.V||xt().scrollBar&&M()===o.dtop&&!y(i,it))){if(null!=o.activeSlide&&(r=Y(o.activeSlide,"data-anchor"),a=U(o.activeSlide,null)),!o.localIsResizing){var s=o.yMovement;if(void 0!==n&&(s=n?"up":"down"),o.direction=s,j(xt().beforeLeave)&&!1===Tn("beforeLeave",o))return;if(j(xt().onLeave)&&!an("onLeave",o))return}xt().autoScrolling&&xt().continuousVertical&&void 0!==o.isMovementUp&&(!o.isMovementUp&&"up"==o.yMovement||o.isMovementUp&&"down"==o.yMovement)&&(o=function(e){pe({on:!0});var t=Ie().I.item;return e.isMovementUp?X(t,ie(t,tt)):N(t,re(t,tt).reverse()[0]),Pt(Qn()),function(){for(var e=I(st),t=0;t<e.length;t++)oi(e[t],"internal")}(),e.gn=t,e.dtop=function(e){return e.isMovementUp&&y(e.element,it)?Xn(e.element)-A()+e.element.offsetHeight:e.element.offsetTop}(e),e.yMovement=Yt(Ie().I,e.element),e}(o)),o.localIsResizing||cn(Ie().I.item),Z(i,je),k(D(i),je),ci(),dn(e),pe({G:d.test.mn}),mn(a,r,o.anchorLink),fe.R(We,o),function(e){pe({Y:"none",scrollY:Math.round(e.dtop)}),fe.R(Ee,e);var t=xt().scrollingSpeed<700,n=t?700:xt().scrollingSpeed;if(xt().css3&&xt().autoScrolling&&!xt().scrollBar)Jt("translate3d(0px, -"+Math.round(e.dtop)+"px, 0px)",!0),xt().scrollingSpeed?(clearTimeout(En),En=setTimeout((function(){On(e),pe({G:!t||d.test.mn})}),xt().scrollingSpeed)):On(e);else{var i=Mt(e.dtop);d.test.top=-e.dtop+"px",clearTimeout(En),tn(i.element,i.options,xt().scrollingSpeed,(function(){xt().scrollBar?En=setTimeout((function(){On(e)}),30):(On(e),pe({G:!t||d.test.mn}))}))}t&&(clearTimeout(Ln),Ln=setTimeout((function(){pe({G:!0})}),n))}(o),pe({_:o.anchorLink}),wn(o.anchorLink,o.sectionIndex)}}}function Xn(e){var t=e.offsetHeight,n=e.offsetTop,i=n,r=n>me.tn,a=i-A()+t,o=xt().bigSectionsDestination;return t>A()?(r||o)&&"bottom"!==o||(i=a):(r||me.V&&null==F(e))&&(i=a),pe({tn:i}),i}function On(e){pe({B:!1}),function(e){null!=e.gn&&(e.isMovementUp?X(I(tt)[0],e.gn):N(I(tt)[Ie().C.length-1],re(e.element,tt).reverse()),Pt(Qn()),function(){for(var e=I(st),t=0;t<e.length;t++)oi(e[t],"internal")}(),pe({on:!1}))}(e),j(xt().afterLoad)&&!e.localIsResizing&&an("afterLoad",e),ci(),e.localIsResizing||sn(e.element),Z(e.element,qe),k(D(e.element),qe),Un(),pe({G:!0}),fe.R(Te,e),j(e.callback)&&e.callback()}function Mn(e,t){Zt("fitToSection",e,t)}function Dn(){me.G&&xt().fitToSection&&(pe({V:!0}),Nn(me.I),pe({V:!1}))}function _n(){var e=xt().responsive||xt().responsiveWidth,t=xt().responsiveHeight,n=e&&a.innerWidth<e,i=t&&a.innerHeight<t;e&&t?Yn(n||i):e?Yn(n):t&&Yn(i)}function Yn(e){var t=Hn();e?t||(Fn(!1,"internal"),Mn(!1,"internal"),S(I(rt)),Z(qt,He),j(xt().afterResponsive)&&xt().afterResponsive.call(St(),e)):t&&(Fn(wt().autoScrolling,"internal"),Mn(wt().autoScrolling,"internal"),x(I(rt)),k(qt,He),j(xt().afterResponsive)&&xt().afterResponsive.call(St(),e))}function Hn(){return y(qt,He)}function zn(e){xt().verticalCentered&&(!xt().scrollOverflow&&ti.wn(e.item)||ti.bn(e)||y(e.item,gt)||Z(e.item,gt))}d.moveTo=moveTo,d.getScrollY=function(){return me.scrollY},fe.D(Qe,(function(){clearTimeout(En),clearTimeout(Ln)})),d.setFitToSection=Mn,d.fitToSection=Dn,d.setResponsive=Yn;var Jn,Pn=null;function jn(e){var t=e.item,n=e.yn.length,i=e.index();!Ie().I&&e.isVisible&&(Z(t,je),ci()),!Pn&&e.isVisible&&(Pn=Ie().I.item),xt().paddingTop&&v(t,{"padding-top":xt().paddingTop}),xt().paddingBottom&&v(t,{"padding-bottom":xt().paddingBottom}),void 0!==xt().sectionsColor[i]&&v(t,{"background-color":xt().sectionsColor[i]}),void 0!==xt().anchors[i]&&t.setAttribute("data-anchor",e.anchor),n||zn(e)}function Kn(){xt().scrollOverflow&&!xt().scrollBar&&(ti.Sn(),ti.Mn())}function qn(){fe.removeListener(Ce,Kn),J("keyup",ti.Tn)}d.getActiveSection=function(){return Ie().I},fe.D(Fe,(function(){fe.D(Ce,Kn),fe.D(We,ti.onLeave),fe.D(Le,ti.onLeave),fe.D(Ne,ti.afterLoad),fe.D(Te,ti.afterLoad),fe.D(Qe,qn),H("keyup",ti.Tn)}));var $n,ei,ti={An:null,xn:!0,kn:!0,On:null,jn:null,Ln:function(e){var t=Ie().I;if(!me.G||f()&&xt().scrollOverflow&&ti.bn(t)&&ti.isScrolled(Ie().X,t.item))return _(e),!1},Dn:function(e){if(!ue()&&xt().keyboardScrolling&&[38,33,32,40,34,36,35].indexOf(e.keyCode)>-1&&!ti.kn)return _(e),!1},Tn:function(){ti.xn=me.G},onLeave:function(){clearTimeout(Jn),ti.kn=!1},afterLoad:function(){ti.kn=!1,clearTimeout(Jn),Jn=setTimeout((function(){ti.xn=me.G}),200)},En:function(){o.activeElement===this.An&&(this.An.blur(),ti.kn=!1)},Mn:function(){if(xt().scrollOverflow&&ti.xn){ti.En();var e=ti.Rn(Ie().I.item);!e||s||c||(this.An=e,requestAnimationFrame((function(){e.focus({Pn:!0}),ti.kn=!0}))),ti.xn=!1}},Sn:function(){xt().scrollOverflowMacStyle&&!l&&Z(qt,"fp-scroll-mac"),Ie().dn.forEach((function(e){if(!(e.slides&&e.slides.length||y(e.item,"fp-auto-height-responsive")&&Hn())){var t,n=Xt(e.item),i=ti.wn(e.item),r=(t=e).ln?t:t.parent;if(u){var a=i?"addClass":"removeClass";de[a](r.item,mt),de[a](e.item,mt)}else Z(r.item,mt),Z(e.item,mt);e.un||(ti.Fn(n),ti.Cn(n)),e.un=!0}}))},Cn:function(e){var t=ti.Rn(e);t&&t.addEventListener("scroll",ti.zn),e.addEventListener("wheel",ti.Ln,{passive:!1}),e.addEventListener("keydown",ti.Dn,{passive:!1})},In:function(e){var t=ti.Rn(e);t&&t.removeEventListener("scroll",ti.zn),e.removeEventListener("wheel",ti.Ln,{passive:!1}),e.removeEventListener("keydown",ti.Dn,{passive:!1})},Fn:function(e){var t=document.createElement("div");t.className=ft,L(e,t),t.setAttribute("tabindex","-1")},Nn:function(e){e.slides&&e.slides.length||e.un&&(ti.Bn(e.item),ti.In(e.item),e.un=!1)},Bn:function(e){var t=I(ht,e)[0];t&&(W(t),e.removeAttribute("tabindex"))},Rn:function(e){var t=Xt(e);return I(ht,t)[0]||t},un:function(e){return y(e,ft)||null!=I(ht,e)[0]},bn:function(e){return e.ln&&e.activeSlide?e.activeSlide.un:e.un},wn:function(e){return ti.Rn(e).scrollHeight>a.innerHeight},isScrolled:function(e,t){if(!me.G)return!1;if(xt().scrollBar)return!0;var n=ti.Rn(t);if(!xt().scrollOverflow||!y(n,ft)||y(t,"fp-noscroll")||y(Xt(t),"fp-noscroll"))return!0;var i=u?1:0,r=n.scrollTop,a="up"===e&&r<=0,o="down"===e&&n.scrollHeight<=Math.ceil(n.offsetHeight+r)+i,s=a||o;return s||"none"===e||(this.On=(new Date).getTime()),s},Hn:function(){this.jn=(new Date).getTime();var e=this.jn-ti.On,t=(s||c)&&me.J,n=me.Z&&e>600;return t&&e>400||n},zn:($n=0,function(e){var t=e.target.scrollTop,n="none"!==me.Y?me.Y:$n<t?"down":"up";$n=t,j(xt().onScrollOverflow)&&an("onScrollOverflow",{position:t,direction:n}),y(e.target,ft)&&me.G&&ti.isScrolled(n,e.target)&&ti.Hn()&&ti.wn(Ie().I.item)&&fe.R(Se,{direction:n})})};function ni(){clearTimeout(ei),pe({W:!1})}function ii(e,t,n){var i,r,a=T(e,tt),o=Ie().C.filter((function(e){return e.item==a}))[0],s=o.slides.filter((function(e){return e.item==t}))[0],l={slides:e,destiny:t,direction:n,destinyPos:{left:t.offsetLeft},slideIndex:s.index(),section:a,sectionIndex:o.index(),anchorLink:o.anchor,slidesNav:I(pt,a)[0],slideAnchor:s.anchor,prevSlide:o.activeSlide.item,prevSlideIndex:o.activeSlide.index(),items:{section:o,origin:o.activeSlide,destination:s},localIsResizing:me.V};l.Wn=(i=l.prevSlideIndex)==(r=l.slideIndex)?"none":i>r?"left":"right",l.direction=l.direction?l.direction:l.Wn,l.localIsResizing||pe({G:!1}),xt().onSlideLeave&&!l.localIsResizing&&"none"!==l.Wn&&j(xt().onSlideLeave)&&!1===an("onSlideLeave",l)?pe({W:!1}):(Z(t,je),k(D(t),je),ci(),l.localIsResizing||(cn(l.prevSlide),dn(s)),function(e){!xt().loopHorizontal&&xt().controlArrows&&($(I(bt,e.section),0!==e.slideIndex),$(I(vt,e.section),null!=F(e.destiny)))}(l),o.isActive&&!l.localIsResizing&&mn(l.slideIndex,l.slideAnchor,l.anchorLink),fe.R(Le,l),function(e,t){var n,i,r=t.destinyPos;if(n=t.slidesNav,i=t.slideIndex,xt().slidesNavigation&&null!=n&&(k(I(Ke,n),je),Z(I("a",I("li",n)[i]),je)),pe({scrollX:Math.round(r.left)}),xt().css3){var a="translate3d(-"+Math.round(r.left)+"px, 0px, 0px)";d.test.Vn[t.sectionIndex]=a,v(_t(I(dt,e)),zt(a)),clearTimeout(ei),ei=setTimeout((function(){ai(t)}),xt().scrollingSpeed)}else d.test.left[t.sectionIndex]=Math.round(r.left),tn(e,Math.round(r.left),xt().scrollingSpeed,(function(){ai(t)}))}(e,l))}function ri(){clearTimeout(ei)}function ai(e){e.localIsResizing||(j(xt().afterSlideLoad)&&an("afterSlideLoad",e),pe({G:!0}),sn(e.destiny),fe.R(Ne,e)),pe({W:!1})}function oi(e,t){jt(0,"internal"),void 0!==t&&pe({V:!0}),ii(T(e,ct),e),void 0!==t&&pe({V:!1}),jt(wt().scrollingSpeed,"internal")}d.landscapeScroll=ii,fe.D(Fe,(function(){fe.D(Ee,ni)}));var si=null,li=null;function ci(){me.I=null,me.C.map((function(e){var t=y(e.item,je);if(e.isActive=t,e.un=ti.un(e.item),t&&(me.I=e),e.slides.length&&(e.activeSlide=null,e.slides.map((function(t){var n=y(t.item,je);t.un=ti.un(e.item),t.isActive=n,n&&(e.activeSlide=t)})),!e.slides.find((function(e){return e.isActive})))){var n=xt().rtl&&e.slides.length>0?e.slides[e.slides.length-1]:e.slides[0];e.activeSlide=n,e.activeSlide&&(e.activeSlide.isActive=!0)}})),function(){var e=me.I,t=!!me.I&&me.I.slides.length,n=me.I?me.I.activeSlide:null;if(!e&&me.C.length&&!Ie().B&&null!==si){var i=gi(si,me.C);i&&(me.I=i,me.I.isActive=!0,Z(me.I.item,je)),me.I&&Pt(me.I.item.offsetTop)}if(t&&!n&&null!==li){var r=gi(li,me.I.slides);r&&(me.I.activeSlide=r,me.I.activeSlide.isActive=!0,Z(me.I.activeSlide.item,je)),me.I.activeSlide&&oi(me.I.activeSlide.item,"internal")}}()}function ui(){var e=I(xt().sectionSelector,St()),t=p(e),n=Array.from(e).map((function(e){return new fi(e)})),i=n.filter((function(e){return e.isVisible})),r=i.reduce((function(e,t){return e.concat(t.slides)}),[]);si=di(me.I),li=di(me.I?me.I.activeSlide:null),me.P=t.length,me.F=i.reduce((function(e,t){return e+t.slides.length}),0),me.C=i,me.sn=n,me.slides=r,me.dn=me.C.concat(me.slides)}function di(e){if(!e)return null;var t=e?e.item:null,n=e.ln?me.sn:me.I.Un;if(t){var i=Lt(n,t);return i?i.index():null}return null}function gi(e,t){var n,i=e-1,r=e;do{if(n=t[i]||t[r])break;i-=1,r+=1}while(i>=0||r<t.length);return n}fe.D(Ue,(function(){si=null,li=null}));var fi=function(e){var t=this;[].push.call(arguments,xt().sectionSelector),Rt.apply(this,arguments),this.yn=I(xt().slideSelector,e),this.Un=Array.from(this.yn).map((function(e){return new mi(e,t)})),this.slides=this.Un.filter((function(e){return e.isVisible}));var n=xt().rtl&&this.slides.length>0?this.slides[this.slides.length-1]:this.slides.length>0?this.slides[0]:null;this.activeSlide=this.slides.length?this.slides.filter((function(e){return e.isActive}))[0]||n:null,this.activeSlide&&(this.activeSlide.isActive=!0)};fi.prototype=Rt.prototype,fi.prototype.constructor=fi;var hi,mi=function(e,t){this.parent=t,Rt.call(this,e,xt().slideSelector)};function pi(){Z(I(xt().sectionSelector,St()),et),Z(I(xt().slideSelector,St()),at)}function Ii(e){var t=e.slides.length,n=e.yn,i=e.slides,r=100*t,a=100/t;if(!I(ct,e.item)[0]){var s=o.createElement("div");s.className=lt,E(n,s);var l=o.createElement("div");l.className=ut,E(n,l)}v(I(dt,e.item),{width:r+"%"}),t>1&&(xt().controlArrows&&function(e){var t=e.item,n=[ee(xt().controlArrowsHTML[0]),ee(xt().controlArrowsHTML[1])];N(I(ct,t)[0],n),Z(n,Ct),Z(n[0],At),Z(n[1],"fp-next"),"#fff"!==xt().controlArrowColor&&(v(I(vt,t),{"border-color":"transparent transparent transparent "+xt().controlArrowColor}),v(I(bt,t),{"border-color":"transparent "+xt().controlArrowColor+" transparent transparent"})),xt().loopHorizontal||S(I(bt,t))}(e),xt().slidesNavigation&&function(e){var t=e.item,n=e.slides.length;V(ee('<div class="fp-slidesNav"><ul></ul></div>'),t);var i=I(pt,t)[0];Z(i,"fp-"+xt().slidesNavPosition);for(var r=0;r<n;r++)V(ee('<li><a href="#"><span class="fp-sr-only">'+In(r,"Slide",I(ot,t)[r])+"</span><span></span></a></li>"),I("ul",i)[0]);v(i,{"margin-left":"-"+i.innerWidth/2+"px"});var a=e.activeSlide?e.activeSlide.index():0;Z(I("a",I("li",i)[a]),je)}(e)),i.forEach((function(e){v(e.item,{width:a+"%"}),xt().verticalCentered&&zn(e)}));var c=e.activeSlide||null;null!=c&&me.I&&(0!==me.I.index()||0===me.I.index()&&0!==c.index())?oi(c.item,"internal"):Z(n[xt().rtl&&n.length>0?n.length-1:0],je)}mi.prototype=Rt.prototype,mi.prototype.constructor=fi;var Ci={attributes:!1,subtree:!0,childList:!0,characterData:!0};function yi(){return p(I(xt().slideSelector,St())).length!==Ie().F}function Ai(e){var t=yi();(yi()||p(I(xt().sectionSelector,St())).length!==Ie().P)&&!me.on&&(xt().observer&&hi&&hi.disconnect(),ui(),ci(),xt().anchors=[],te(I(rt)),pi(),kt(),xt().navigation&&Sn(),xt().scrollOverflow&&ti.Sn(),t&&(te(I(pt)),te(I(yt))),Ie().C.forEach((function(e){e.slides.length?t&&Ii(e):jn(e)}))),xt().observer&&hi&&I(_e)[0]&&hi.observe(I(_e)[0],Ci)}fe.D(Fe,(function(){var e,t,n;xt().observer&&"MutationObserver"in window&&I(_e)[0]&&(e=I(_e)[0],t=Ci,(n=new MutationObserver(Ai)).observe(e,t),hi=n),fe.D(Ge,Ai)})),fe.D(Qe,(function(){hi&&(hi.disconnect(),hi=null)})),d.render=Ai;var bi=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});z("testPassive",null,t),P("testPassive",null,t)}catch(e){}return function(){return e}}();function vi(){return!!bi()&&{passive:!1}}var Bi,Fi,Qi,Ui,Gi=(Qi=(new Date).getTime(),Ui=[],{_n:function(e){var t=(e=e||a.event).wheelDelta||-e.deltaY||-e.detail,n=Math.max(-1,Math.min(1,t)),i=void 0!==e.wheelDeltaX||void 0!==e.deltaX;Bi=Math.abs(e.wheelDeltaX)<Math.abs(e.wheelDelta)||Math.abs(e.deltaX)<Math.abs(e.deltaY)||!i;var r=(new Date).getTime();Fi=n<0?"down":"up",Ui.length>149&&Ui.shift(),Ui.push(Math.abs(t));var o=r-Qi;Qi=r,o>200&&(Ui=[])},Kn:function(){var e=se(Ui,10)>=se(Ui,70);return!!Ui.length&&e&&Bi},qn:function(){return Fi}});function Si(){var e=xt().css3?M()+A():oe(Ie().C).item.offsetTop+oe(Ie().C).item.offsetHeight,t=Mt(e);d.test.top=-e+"px",pe({G:!1}),tn(t.element,t.options,xt().scrollingSpeed,(function(){setTimeout((function(){pe({B:!0}),pe({G:!0})}),30)}))}function xi(){St().getBoundingClientRect().bottom>=0&&wi()}function wi(){var e=Mt(oe(Ie().C).item.offsetTop);pe({G:!1}),tn(e.element,e.options,xt().scrollingSpeed,(function(){pe({G:!0}),pe({B:!1}),pe({Gn:!1})}))}var Zi,ki,Vi,Ri=(Zi=!1,ki={},Vi={},function(e,t,n){switch(e){case"set":ki[t]=(new Date).getTime(),Vi[t]=n;break;case"isNewKeyframe":var i=(new Date).getTime();Zi=i-ki[t]>Vi[t]}return Zi});function Ei(){var e=Ie().I.next();e||!xt().loopBottom&&!xt().continuousVertical||(e=Ie().C[0]),null!=e?Nn(e,null,!1):St().scrollHeight<qt.scrollHeight&&xt().scrollBar&&xt().scrollBeyondFullpage&&fe.R(Re)}function Li(){var e=Ie().I.prev();e||!xt().loopTop&&!xt().continuousVertical||(e=oe(Ie().C)),null!=e&&Nn(e,null,!0)}d.moveSectionDown=Ei,d.moveSectionUp=Li;var Wi=0;function Ti(e){xt().autoScrolling&&(me.G&&(e.pageY<Wi&&bn().m.up?Li():e.pageY>Wi&&bn().m.down&&Ei()),Wi=e.pageY)}function Ni(e){if(bn().m[e]){var t="down"===e?Ei:Li;xt().scrollOverflow&&ti.bn(Ie().I)?ti.isScrolled(e,Ie().I.item)&&ti.Hn()&&t():t()}}var Xi,Oi,Mi,Di,_i=0,Yi=0,Hi=0,zi=0,Ji=(a.PointerEvent&&(Di={down:"pointerdown",move:"pointermove"}),Di),Pi={$n:"ontouchmove"in window?"touchmove":Ji?Ji.move:null,Yn:"ontouchstart"in window?"touchstart":Ji?Ji.down:null};function ji(e){var t=T(e.target,tt)||Ie().I.item,n=ti.bn(Ie().I);if(Ki(e)){pe({J:!0,Z:!1}),xt().autoScrolling&&(n&&!me.G||xt().scrollBar)&&_(e);var i=er(e);Hi=i.y,zi=i.x;var r=Math.abs(_i-Hi)>a.innerHeight/100*xt().touchSensitivity,o=Math.abs(Yi-zi)>b()/100*xt().touchSensitivity,s=I(ct,t).length&&Math.abs(Yi-zi)>Math.abs(_i-Hi),l=_i>Hi?"down":"up";pe({Y:s?Yi>zi?"right":"left":l}),s?!me.W&&o&&(Yi>zi?bn().m.right&&fe.R(be,{section:t}):bn().m.left&&fe.R(Ae,{section:t})):xt().autoScrolling&&me.G&&r&&Ni(l)}}function Ki(e){return void 0===e.pointerType||"mouse"!=e.pointerType}function qi(e){if(xt().fitToSection&&pe({q:!1}),Ki(e)){var t=er(e);_i=t.y,Yi=t.x}z("touchend",$i)}function $i(){P("touchend",$i),pe({J:!1})}function er(e){var t={};return t.y=void 0!==e.pageY&&(e.pageY||e.pageX)?e.pageY:e.touches[0].pageY,t.x=void 0!==e.pageX&&(e.pageY||e.pageX)?e.pageX:e.touches[0].pageX,c&&Ki(e)&&xt().scrollBar&&void 0!==e.touches&&(t.y=e.touches[0].pageY,t.x=e.touches[0].pageX),t}function tr(e){xt().autoScrolling&&Ki(e)&&bn().m.up&&(me.G||_(e))}function nr(e,t){var n=null==t?Ie().I.item:t,i=Lt(me.C,n),r=I(ct,n)[0];if(!(null==r||me.W||i.slides.length<2)){var a=i.activeSlide,o="left"===e?a.prev():a.next();if(!o){if(!xt().loopHorizontal)return;o="left"===e?oe(i.slides):i.slides[0]}pe({W:!d.test.mn}),ii(r,o.item,e)}}function ir(e){nr("left",e)}function rr(e){nr("right",e)}function ar(e){var t=Ie().C.filter((function(t){return t.anchor===e}))[0];if(!t){var n=void 0!==e?e-1:0;t=Ie().C[n]}return t}function or(e){null!=e&&ii(T(e,ct),e)}function sr(e,t){var n=ar(e);if(null!=n){var i=function(e,t){var n=t.slides.filter((function(t){return t.anchor===e}))[0];return null==n&&(e=void 0!==e?e:0,n=t.slides[e]),n?n.item:null}(t,n);n.anchor&&n.anchor===me._||y(n.item,je)?or(i):Nn(n,(function(){or(i)}))}}function lr(e,t){var n=ar(e);void 0!==t?sr(e,t):null!=n&&Nn(n)}function cr(){clearTimeout(Oi),J("keydown",ur),J("keyup",dr)}function ur(e){clearTimeout(Oi);var t=e.keyCode,n=[37,39].indexOf(t)>-1,i=xt().autoScrolling||xt().fitToSection||n;9===t?function(e){var t=e.shiftKey,n=o.activeElement,i=pr(Xt(Ie().I.item));function r(e){return _(e),i[0]?i[0].focus():null}if(me.G){if(!function(e){var t=pr(o),n=t.indexOf(o.activeElement),i=t[e.shiftKey?n-1:n+1],r=T(i,ot),a=T(i,tt);return!r&&!a}(e)){n?null==T(n,".fp-section.active,.fp-section.active .fp-slide.active")&&(n=r(e)):r(e);var a=n==i[0],s=n==i[i.length-1],l=t&&a;if(l||!t&&s){_(e);var c=function(e){var t,n=e?"prevPanel":"nextPanel",i=[],r=Ot((me.I&&me.I.activeSlide?me.I.activeSlide:me.I)[n]());do{(i=pr(r.item)).length&&(t={Xn:r,Qn:i[e?i.length-1:0]}),r=Ot(r[n]())}while(r&&0===i.length);return t}(l),u=c?c.Xn:null;if(u){var d=u.ln?u:u.parent;fe.R(xe,{Jn:d.index()+1,slideAnchor:u.ln?0:u.index()}),Mi=c.Qn,_(e)}}}}else _(e)}(e):!ue()&&xt().keyboardScrolling&&i&&(Xi=e.ctrlKey,Oi=setTimeout((function(){!function(e){var t=e.shiftKey,n=o.activeElement,i=q(n,"video")||q(n,"audio"),r=ti.isScrolled("up",Ie().I.item),a=ti.isScrolled("down",Ie().I.item),s=[37,39].indexOf(e.keyCode)>-1;if(function(e){(function(e){return[40,38,32,33,34].indexOf(e.keyCode)>-1&&!me.B})(e)&&!T(e.target,ht)&&e.preventDefault()}(e),me.G||s)switch(pe({N:"keydown"}),e.keyCode){case 38:case 33:bn().k.up&&r?me.B?fe.R(we,{e:e}):Li():ti.Mn();break;case 32:if(t&&bn().k.up&&!i&&r){Li();break}case 40:case 34:if(bn().k.down&&a){if(me.B)return;32===e.keyCode&&i||Ei()}else ti.Mn();break;case 36:bn().k.up&&lr(1);break;case 35:bn().k.down&&lr(Ie().C.length);break;case 37:bn().k.left&&(xt().rtl?rr():ir());break;case 39:bn().k.right&&(xt().rtl?ir():rr())}}(e)}),0))}function dr(e){me.nn&&(Xi=e.ctrlKey)}function gr(){pe({nn:!1}),Xi=!1}function fr(e){mr()}function hr(e){T(Mi,ot)&&!T(Mi,st)||mr()}function mr(){Mi&&(Mi.focus(),Mi=null)}function pr(e){return[].slice.call(I('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',e)).filter((function(e){return"-1"!==Y(e,"tabindex")&&null!==e.offsetParent}))}d.moveSlideLeft=ir,d.moveSlideRight=rr,d.moveTo=lr,fe.D(Fe,(function(){z("blur",gr),H("keydown",ur),H("keyup",dr),fe.D(Qe,cr),fe.D(Ne,fr),fe.D(Te,hr)}));var Ir=(new Date).getTime(),Cr=(new Date).getTime(),yr=[],Ar=[];function br(e){e?(function(){var e,t="";a.addEventListener?e="addEventListener":(e="attachEvent",t="on");var n="onwheel"in o.createElement("div")?"wheel":void 0!==o.onmousewheel?"mousewheel":"DOMMouseScroll",i=vi();"DOMMouseScroll"==n?o[e](t+"MozMousePixelScroll",Br,i):o[e](t+n,Br,i)}(),St().addEventListener("mousedown",Fr),St().addEventListener("mouseup",Qr)):(o.addEventListener?(J("mousewheel",Br,!1),J("wheel",Br,!1),J("MozMousePixelScroll",Br,!1)):o.detachEvent("onmousewheel",Br),St().removeEventListener("mousedown",Fr),St().removeEventListener("mouseup",Qr))}function vr(e){return se(e,10)>=se(e,70)}function Br(e){var t=(new Date).getTime(),n=y(I(".fp-completely")[0],"fp-normal-scroll"),i=function(e,t){(new Date).getTime();var n=Ie().B&&e.getBoundingClientRect().bottom>=0&&"up"===Gi.qn(),i=Ie().Gn;if(i)return _(t),!1;if(Ie().B){if(n){var r;if(!(i||Ri("isNewKeyframe","beyondFullpage")&&Gi.Kn()))return(r=Mt(oe(Ie().C).item.offsetTop+oe(Ie().C).item.offsetHeight)).element.scrollTo(0,r.options),pe({Gn:!1}),_(t),!1;if(Gi.Kn())return n=!1,pe({Gn:!0}),pe({N:"wheel"}),wi(),_(t),!1}else Ri("set","beyondFullpage",1e3);if(!i&&!n)return!0}}(St(),e);if(me.Z||pe({J:!1,Z:!0,Y:"none"}),i)return!0;if(!1===i)return _(e),!1;if(xt().autoScrolling&&!Xi&&!n){var r=(e=e||a.event).wheelDelta||-e.deltaY||-e.detail,o=Math.max(-1,Math.min(1,r)),s=e.wheelDeltaX||-e.deltaX||0,l=e.deltaY||0,c=e.deltaX||0,u=e.shiftKey||!1,d=Math.abs(s)>0||Math.abs(c)>0,g=!u&&(Math.abs(c)<Math.abs(l)||!d),f=u||!g&&d&&Math.abs(c)>Math.abs(l),h=o<0?"down":o>0?"up":"none",m=u?o:Math.max(-1,Math.min(1,s)),p=f?m<0?"right":m>0?"left":"none":"none";if(g&&!bn().m.down&&!bn().m.up)return!1;if(f&&"left"===p&&!bn().m.left)return!1;if(f&&"right"===p&&!bn().m.right)return!1;if(yr.length>149&&yr.shift(),Ar.length>149&&Ar.shift(),g)yr.push(Math.abs(r));else if(f){var C=u?Math.abs(r):Math.abs(s);Ar.push(C)}!xt().scrollBar&&xt().scrollOverflow||_(e);var A=t-Ir,b=t-Cr;return g?Ir=t:f&&(Cr=t),A>200&&(yr=[]),b>200&&(Ar=[]),pe({X:h}),me.G&&(g&&vr(yr)?(pe({N:"wheel"}),Ni(o<0?"down":"up")):f&&(u||vr(Ar))&&(pe({N:"wheel"}),"left"===p?ir():"right"===p&&rr())),!1}xt().fitToSection&&pe({q:!1})}function Fr(e){var t;2==e.which&&(t=e.pageY,Wi=t,St().addEventListener("mousemove",Ti))}function Qr(e){2==e.which&&St().removeEventListener("mousemove",Ti)}function Ur(e){e?(br(!0),function(){if(Pi.$n&&(s||c)){xt().autoScrolling&&(qt.removeEventListener(Pi.$n,tr,{passive:!1}),qt.addEventListener(Pi.$n,tr,{passive:!1}));var e=xt().touchWrapper;e.removeEventListener(Pi.Yn,qi),e.removeEventListener(Pi.$n,ji,{passive:!1}),e.addEventListener(Pi.Yn,qi),e.addEventListener(Pi.$n,ji,{passive:!1})}}()):(br(!1),function(){if(Pi.$n&&(s||c)){xt().autoScrolling&&(qt.removeEventListener(Pi.$n,ji,{passive:!1}),qt.removeEventListener(Pi.$n,tr,{passive:!1}));var e=xt().touchWrapper;e.removeEventListener(Pi.Yn,qi),e.removeEventListener(Pi.$n,ji,{passive:!1})}}())}d.setMouseWheelScrolling=br;var Gr=!0;function Sr(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(e){J(e,wr,!0)}))}function xr(e,t){document["fp_"+e]=t,H(e,wr,!0)}function wr(e){var t=e.type,n=!1,i="mouseleave"===t?e.toElement||e.relatedTarget:e.target;i!=document&&i?("touchend"===t&&(Gr=!1,setTimeout((function(){Gr=!0}),800)),("mouseenter"!==t||Gr)&&(xt().normalScrollElements.split(",").forEach((function(e){if(!n){var t=q(i,e),r=T(i,e);(t||r)&&(d.shared.Zn||Ur(!1),d.shared.Zn=!0,n=!0)}})),!n&&d.shared.Zn&&(Ur(!0),d.shared.Zn=!1))):Ur(!0)}function Zr(e,t){jt(0,"internal"),lr(e,t),jt(wt().scrollingSpeed,"internal")}fe.D(Fe,(function(){xt().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(e){xr(e,!1)})),["mouseleave","touchend"].forEach((function(e){xr(e,!0)}))),fe.D(Qe,Sr)})),d.silentMoveTo=Zr;var kr,Vr,Rr=A(),Er=b(),Lr=!1;function Wr(){clearTimeout(kr),clearTimeout(Vr),P("resize",Tr)}function Tr(){Lr||(xt().autoScrolling&&!xt().scrollBar||!xt().fitToSection)&&Xr(A()),me.an&&function(){if(s)for(var e=0;e<4;e++)Vr=setTimeout((function(){window.requestAnimationFrame((function(){xt().autoScrolling&&!xt().scrollBar&&(pe({V:!0}),Zr(me.I.index()+1),pe({V:!1}))}))}),200*e)}(),Lr=!0,clearTimeout(kr),kr=setTimeout((function(){!function(){var e,t,n;if(pe({V:!0}),(!s||xt().adjustOnNavChange)&&(Xr(""),me.B||xt().autoScrolling||(e=.01*a.innerHeight,o.documentElement.style.setProperty("--vh","".concat(e,"px")))),fe.R(Ge),ci(),_n(),s){var i=o.activeElement;if(!q(i,"textarea")&&!q(i,"input")&&!q(i,"select")){var r=A();Math.abs(r-Rr)>20*Math.max(Rr,r)/100&&(Nr(!0),Rr=r)}}else t=A(),n=b(),me.en===t&&Er===n||(pe({en:t}),Er=n,Nr(!0));pe({V:!1})}(),Lr=!1}),400)}function Nr(e){if(!y(St(),Je)){pe({V:!0,en:A(),nt:b()});for(var t=Ie().C,n=0;n<t.length;++n){var i=t[n],r=I(ct,i.item)[0];i.slides.length>1&&ii(r,i.activeSlide.item)}xt().scrollOverflow&&ti.Sn();var o=Ie().I.index();me.B||o&&Zr(o+1),pe({V:!1}),j(xt().afterResize)&&e&&xt().afterResize.call(St(),a.innerWidth,a.innerHeight),j(xt().afterReBuild)&&!e&&xt().afterReBuild.call(St()),K(St(),"afterRebuild")}}function Xr(e){var t=""===e?"":e+"px";Ie().C.forEach((function(e){v(e.item,{height:t})}))}function Or(){var e,t,n=a.location.hash;if(n.length){var i=n.replace("#","").split("/"),r=n.indexOf("#/")>-1;e=r?"/"+i[1]:decodeURIComponent(i[0]);var o=r?i[2]:i[1];o&&o.length&&(t=decodeURIComponent(o))}return{section:e,pn:t}}function Mr(){P("hashchange",Dr),J("click",_r)}function Dr(){if(!me.U&&!xt().lockAnchors){var e=Or(),t=e.section,n=e.pn,i=void 0===me._,r=void 0===me._&&void 0===n&&!me.W;t&&t.length&&(t&&t!==me._&&!i||r||!me.W&&me.K!=n)&&fe.R(xe,{Jn:t,slideAnchor:n})}}function _r(e){var t=T(e.target,'a[href^="#"]');if(t){var n=Y(t,"href");if(n&&"#"!==n){var i=I(n)[0];if(i){var r=St();if(r&&r.contains(i)){var a=T(i,xt().sectionSelector);if(a){var o=Lt(me.C,a);if(o){var s=T(i,xt().slideSelector),l=s&&a.contains(s)?Lt(o.slides,s):null;_(e),lr(o.index()+1,l?l.index():null);var c=I(ht,l?l.item:o.item)[0];c&&c.scrollTo(0,i.offsetTop)}}}}}}}function Yr(e){var t=e.target;T(t,xt().menu+" [data-menuanchor]")&&Hr.call(t,e.e)}function Hr(e){if(pe({N:"menu"}),I(xt().menu)[0]&&(xt().lockAnchors||!xt().anchors.length)){_(e);var t=T(this,"[data-menuanchor]");fe.R(Ze,{anchor:Y(t,"data-menuanchor")})}}function zr(e){var t=e.target;t&&T(t,"#fp-nav a")?xn.call(t,e.e):q(t,".fp-tooltip")?Gn.call(t):(q(t,It)||null!=T(t,It))&&Cn.call(t,e.e)}d.reBuild=Nr,fe.D(Fe,(function(){Tr(),z("resize",Tr),fe.D(Qe,Wr)})),d.setLockAnchors=function(e){xt().lockAnchors=e},fe.D(Fe,(function(){z("hashchange",Dr),H("click",_r),fe.D(Qe,Mr)})),fe.D(Fe,(function(){H("wheel",Gi._n,vi()),fe.D(Re,Si),fe.D(we,xi)})),fe.D(Fe,(function(){fe.D(ye,Yr)})),fe.D(Fe,(function(){fe.D(ye,zr)}));var Jr,Pr,jr=0;function Kr(e){var t,n,i,r,a;if(!me.V&&Ie().I&&(oe(Ie().C),!Ie().B&&!Ie().Gn&&(!xt().autoScrolling||xt().scrollBar))){var o=M(),l=function(e){var t=e>jr?"down":"up";return jr=e,pe({tn:e}),t}(o),c=0,u=o+A()/2,d=qt.scrollHeight-A()===o,g=Ie().C;if(pe({scrollY:o}),d)c=g.length-1;else if(o)for(var f=0;f<g.length;++f)g[f].item.offsetTop<=u&&(c=f);else c=0;if(i=l,a=(r=Ie().I.item.offsetTop)+A(),("up"==i?a>=M()+A():r<=M())&&(y(Ie().I.item,qe)||(Z(Ie().I.item,qe),k(D(Ie().I.item),qe))),n=(t=g[c]).item,!t.isActive){pe({U:!0});var h,m,p=Ie().I.item,I=Ie().I.index()+1,C=Yt(Ie().I,n),b=t.anchor,v=t.index()+1,B=t.activeSlide,F={I:p,sectionIndex:v-1,anchorLink:b,element:n,leavingSection:I,direction:C,items:{origin:Ie().I,destination:t}};B&&(m=B.anchor,h=B.index()),me.G&&(Z(n,je),k(D(n),je),j(xt().beforeLeave)&&Tn("beforeLeave",F),j(xt().onLeave)&&an("onLeave",F),j(xt().afterLoad)&&an("afterLoad",F),cn(p),dn(t),sn(n),wn(b,v-1),xt().anchors.length&&pe({_:b}),ci(),mn(h,m,b)),clearTimeout(Jr),Jr=setTimeout((function(){pe({U:!1})}),100)}xt().fitToSection&&me.G&&(clearTimeout(Pr),Pr=setTimeout((function(){var e;if(!me.C.filter((function(e){var t=e.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(A())||0===Math.round(t.top)})).length){if(s&&(e=document.activeElement)&&e.matches("input, textarea"))return;Dn()}}),xt().fitToSectionDelay))}}function qr(e){var t=e.items.destination.activeSlide;pe({scrollX:t?Math.round(t.offsetLeft):0})}function $r(e){var t=xt().skipIntermediateItems,n=e.items.origin.ln?"sections":"slides",i=Math.abs(e.items.origin.index()-e.items.destination.index())>1;(!0===t||t===n)&&i&&jt(0,"internal")}function ea(e){xt().skipIntermediateItems&&Zt("scrollingSpeed",wt().scrollingSpeed,"internal")}function ta(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){An(e,t,"k")})):(An(e,"all","k"),xt().keyboardScrolling=e)}function na(e){var t=e.index();void 0!==xt().anchors[t]&&e.isActive&&wn(xt().anchors[t],t),xt().menu&&xt().css3&&null!=T(I(xt().menu)[0],_e)&&I(xt().menu).forEach((function(e){qt.appendChild(e)}))}function ia(){var e,t,n=Ie().I,i=Ie().I.item;Z(i,qe),dn(Ie().I),Un(),sn(i),t=ar((e=Or()).section),e.section&&t&&(void 0===t||t.index()!==U(Pn))||!j(xt().afterLoad)||an("afterLoad",{I:i,element:i,direction:null,anchorLink:n.anchor,sectionIndex:n.index(),items:{origin:Ie().I,destination:Ie().I}}),j(xt().afterRender)&&an("afterRender")}function ra(e,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){An(e,t,"m")})):An(e,"all","m")}function aa(){var e=Or(),t=e.section,n=e.pn;t?xt().animateAnchor?sr(t,n):Zr(t,n):fe.R(Ce,null)}function oa(){var e=xt().licenseKey;""===xt().licenseKey.trim()?(h("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),h("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):xt()&&me.tt||o.domain.indexOf("alvarotrigo.com")>-1?e&&e.length:(h("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),h("error","https://alvarotrigo.com/fullPage/pricing")),y($t,Pe)?h("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(xt().continuousVertical&&(xt().loopTop||xt().loopBottom)&&(xt().continuousVertical=!1,h("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!xt().scrollOverflow||!xt().scrollBar&&xt().autoScrolling||h("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!xt().continuousVertical||!xt().scrollBar&&xt().autoScrolling||(xt().continuousVertical=!1,h("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),g.forEach((function(e){xt()[e]&&h("warn","fullpage.js extensions require fullpage.extensions.min.js file instead of the usual fullpage.js. Requested: "+e)})),xt().anchors.forEach((function(e){var t=[].slice.call(I("[name]")).filter((function(t){return Y(t,"name")&&Y(t,"name").toLowerCase()==e.toLowerCase()})),n=[].slice.call(I("[id]")).filter((function(t){return Y(t,"id")&&Y(t,"id").toLowerCase()==e.toLowerCase()}));if(n.length||t.length){h("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=n.length?"id":"name";(n.length||t.length)&&h("error",'"'+e+'" is is being used by another element `'+i+"` property")}})))}function sa(e,t){var n;if(qt=I("body")[0],$t=I("html")[0],en=I("html, body"),!y($t,Pe))return n="string"==typeof e?I(e)[0]:e,Bt.touchWrapper=n,function(e){Gt=C({},Bt,e),Ut=Object.assign({},Gt)}(t),function(e){Ft=e}("string"==typeof e?I(e)[0]:e),fe.R(ve),oa(),d.getFullpageData=function(){return{options:xt()}},d.version="4.0.41",d.test=Object.assign(d.test,{top:"0px",hn:"translate3d(0px, 0px, 0px)",Vn:function(){for(var e=[],t=0;t<I(xt().sectionSelector,St()).length;t++)e.push("translate3d(0px, 0px, 0px)");return e}(),left:function(){for(var e=[],t=0;t<I(xt().sectionSelector,St()).length;t++)e.push(0);return e}(),options:xt(),setAutoScrolling:null}),d.shared=Object.assign(d.shared,{et:null,Zn:!1}),a.fullpage_api=d,St()&&(fe.R(Be),ui(),ci(),xt().scrollBar=xt().scrollBar||xt().hybrid,kt(),function(){v(ce(St(),"body"),{height:"100%",position:"relative"}),Z(St(),De),Z($t,Pe),pe({en:A()}),k(St(),Je),pi();for(var e=Ie().sn,t=0;t<e.length;t++){var n=e[t],i=n.yn,r=Y(n.item,"style");r&&n.item.setAttribute("data-fp-styles",r),jn(n),na(n),i.length>0&&Ii(n)}xt().fixedElements&&xt().css3&&I(xt().fixedElements).forEach((function(e){qt.appendChild(e)})),xt().navigation&&Sn(),I('iframe[src*="youtube.com/embed/"]',St()).forEach((function(e){var t,n;n=Y(t=e,"src"),t.setAttribute("src",n+(/\?/.test(n)?"&":"?")+"enablejsapi=1")})),xt().scrollOverflow&&ti.Sn()}(),ra(!0),Ur(!0),Fn(xt().autoScrolling,"internal"),_n(),fn(),"loading"!==document.readyState?aa():document.addEventListener("DOMContentLoaded",aa),ia(),ui(),ci(),fe.R(Fe)),pe({an:!0}),a.fullpage_api;oa()}return fe.D(Qe,(function(){clearTimeout(Jr),clearTimeout(Pr)})),fe.D(Fe,(function(){z("scroll",Kr),o.body.addEventListener("scroll",Kr),fe.D(xe,(function(e){sr(e.Jn,e.slideAnchor)})),fe.D(Ze,(function(e){lr(e.anchor,void 0)})),fe.D(Se,(function(e){("down"===e.direction?Ei:Li)()})),fe.D(ke,(function(e){Nn(e.destination)}))})),fe.D(Qe,(function(){P("scroll",Kr)})),d.getActiveSlide=function(){return rn(Ie().I.activeSlide)},d.getScrollX=function(){return me.scrollX},fe.D(Fe,(function(){fe.D(Qe,ri),fe.D(Ve,(function(e){ii(e.slides,e.destination)})),fe.D(be,(function(e){rr(e.section)})),fe.D(Ae,(function(e){ir(e.section)})),fe.D(Te,qr)})),fe.D(Fe,(function(){var e=xt().credits.position||"right",t=["left","right"].indexOf(e)>-1?"".concat(e,": 0;"):"",n='\n <div class="'.concat("fp-watermark",'" style="').concat(t,'">\n <a href="https://alvarotrigo.com/fullPage/" \n rel="nofollow noopener" \n target="_blank" \n style="text-decoration:none; color: #000;">\n ').concat(xt().credits.label||"Made with fullPage.js","\n </a>\n </div>\n "),i=oe(me.C),r=!me.tt||xt().credits.enabled;i&&i.item&&r&&i.item.insertAdjacentHTML("beforeend",n)})),function(){fe.D(ve,(function(){var t,s,l;pe({tt:(xt().licenseKey,t=xt().licenseKey,s=function(t){var n=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(e[0]).length)return null;var i=["Each","for"][r()]().join(""),s=t[["split"]]("-"),l=[];s[i]((function(e,t){if(t<4){var i=function(e){var t=e[e.length-1],n=["NaN","is"][r()]().join("");return window[n](t)?a(t):function(e){return e-je.length}(t)}(e);l.push(i);var o=a(e[i]);if(1===t){var s=["pa","dS","t","art"].join("");o=o.toString()[s](2,"0")}n+=o,0!==t&&1!==t||(n+="-")}}));var c=0,u="";return t.split("-").forEach((function(e,t){if(t<4){for(var n=0,i=0;i<4;i++)i!==l[t]&&(n+=Math.abs(a(e[i])),isNaN(e[i])||c++);var r=o(n);u+=r}})),u+=o(c),{it:new Date(n+"T00:00"),ot:n.split("-")[2]===8*(je.length-2)+"",rt:u}}(t),l=function(e){var t=i[r()]().join("");return e&&0===t.indexOf(e)&&e.length===t.length}(t)||function(e){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(e)}(t),(s||l)&&(s&&n<=s.it&&s.rt===t.split(e[0])[4]||l||s.ot)||!1)})}));var e=["-"],t="2026-2-4".split("-"),n=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function r(){return["re","verse"].join("")}function a(e){return e?isNaN(e)?e.charCodeAt(0)-72:e:""}function o(e){var t=72+e;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),fe.D(Ee,$r),fe.D(Te,ea),fe.D(Le,$r),fe.D(Ne,ea),fe.D(Be,(function(){ta(xt().keyboardScrolling)})),d.setKeyboardScrolling=ta,d.shared.et=ia,d.setAllowScrolling=ra,d.destroy=function(e){Fn(!1,"internal"),ra(!0),Ur(!1),ta(!1),Z(St(),Je),fe.R(Qe),e&&(Pt(0),I("img[data-src], source[data-src], audio[data-src], iframe[data-src]",St()).forEach((function(e){le(e,"src")})),I("img[data-srcset]").forEach((function(e){le(e,"srcset")})),te(I("#fp-nav, .fp-slidesNav, .fp-controlArrow, .fp-watermark")),v(Et(Ie().C),{height:"","background-color":"",padding:""}),v(Et(Ie().slides),{width:""}),v(St(),{height:"",position:"","-ms-touch-action":"","touch-action":""}),v(en,{overflow:"",height:""}
12),k($t,Pe),k(qt,He+" "+Ye),qt.className.split(/\s+/).forEach((function(e){0===e.indexOf("fp-viewing")&&k(qt,e)})),xt().scrollOverflow&&Ie().dn.forEach((function(e){ti.Nn(e)})),Et(Ie().dn).forEach((function(e){k(e,"fp-table active fp-completely fp-is-overflow "+$e);var t=Y(e,"data-fp-styles");t&&e.setAttribute("style",t),y(e,et)&&!Qt&&e.removeAttribute("data-anchor")})),Ht(St()),[nt,dt,ct].forEach((function(e){I(e,St()).forEach((function(e){W(e)}))})),v(St(),{"-webkit-transition":"none",transition:"none"}),k(St(),De),a.scrollTo(0,0),[et,at,ut].forEach((function(e){k(I("."+e),e)})),pe(he),fe.R(Ue))},a.fp_easings=C(a.fp_easings,{easeInOutCubic:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}}),a.jQuery&&function(e,t){e&&t?e.fn.fullpage=function(n){n=e.extend({},n,{$:e}),new t(this[0],n),Object.keys(d).forEach((function(e){xt().$.fn.fullpage[e]=d[e]}))}:h("error","jQuery is required to use the jQuery fullpage adapter!")}(a.jQuery,sa),sa})),function(e,t){var n,i;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(e="undefined"!=typeof globalThis?globalThis:e||self,n=e._,(i=e._=t()).noConflict=function(){return e._=n,i})}(this,(function(){var e="1.13.8",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},n=Array.prototype,i=Object.prototype,r="undefined"!=typeof Symbol?Symbol.prototype:null,a=n.push,o=n.slice,s=i.toString,l=i.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,d=Array.isArray,g=Object.keys,f=Object.create,h=c&&ArrayBuffer.isView,m=isNaN,p=isFinite,I=!{toString:null}.propertyIsEnumerable("toString"),C=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],y=Math.pow(2,53)-1;function A(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var a=Array(t+1);for(r=0;r<t;r++)a[r]=arguments[r];return a[t]=i,e.apply(this,a)}}function b(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function v(e){return void 0===e}function B(e){return!0===e||!1===e||"[object Boolean]"===s.call(e)}function F(e){var t="[object "+e+"]";return function(e){return s.call(e)===t}}var Q=F("String"),U=F("Number"),G=F("Date"),S=F("RegExp"),x=F("Error"),w=F("Symbol"),Z=F("ArrayBuffer"),k=F("Function"),V=t.document&&t.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof V&&(k=function(e){return"function"==typeof e||!1});var R=k,E=F("Object"),L=u&&(!/\[native code\]/.test(String(DataView))||E(new DataView(new ArrayBuffer(8)))),W="undefined"!=typeof Map&&E(new Map),T=F("DataView"),N=L?function(e){return null!=e&&R(e.getInt8)&&Z(e.buffer)}:T,X=d||F("Array");function O(e,t){return null!=e&&l.call(e,t)}var M=F("Arguments");!function(){M(arguments)||(M=function(e){return O(e,"callee")})}();var D=M;function _(e){return U(e)&&m(e)}function Y(e){return function(){return e}}function H(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=y}}function z(e){return function(t){return null==t?void 0:t[e]}}var J=z("byteLength"),P=H(J),j=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,K=c?function(e){return h?h(e)&&!N(e):P(e)&&j.test(s.call(e))}:Y(!1),q=z("length");function $(e,t){t=function(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(e){return!0===t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=C.length,r=e.constructor,a=R(r)&&r.prototype||i,o="constructor";for(O(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=C[n])in e&&e[o]!==a[o]&&!t.contains(o)&&t.push(o)}function ee(e){if(!b(e))return[];if(g)return g(e);var t=[];for(var n in e)O(e,n)&&t.push(n);return I&&$(e,t),t}function te(e,t){var n=ee(t),i=n.length;if(null==e)return!i;for(var r=Object(e),a=0;a<i;a++){var o=n[a];if(t[o]!==r[o]||!(o in r))return!1}return!0}function ne(e){return e instanceof ne?e:this instanceof ne?void(this._wrapped=e):new ne(e)}function ie(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,J(e))}ne.VERSION=e,ne.prototype.value=function(){return this._wrapped},ne.prototype.valueOf=ne.prototype.toJSON=ne.prototype.value,ne.prototype.toString=function(){return String(this._wrapped)};var re="[object DataView]";function ae(e){if(!b(e))return[];var t=[];for(var n in e)t.push(n);return I&&$(e,t),t}function oe(e){var t=q(e);return function(n){if(null==n)return!1;var i=ae(n);if(q(i))return!1;for(var r=0;r<t;r++)if(!R(n[e[r]]))return!1;return e!==de||!R(n[se])}}var se="forEach",le=["clear","delete"],ce=["get","has","set"],ue=le.concat(se,ce),de=le.concat(ce),ge=["add"].concat(le,se,"has"),fe=W?oe(ue):F("Map"),he=W?oe(de):F("WeakMap"),me=W?oe(ge):F("Set"),pe=F("WeakSet");function Ie(e){for(var t=ee(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function Ce(e){for(var t={},n=ee(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function ye(e){var t=[];
vendor: 15,305 bytes, line 12
12for(var n in e)R(e[n])&&t.push(n);return t.sort()}function Ae(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||null==n)return n;for(var r=1;r<i;r++)for(var a=arguments[r],o=e(a),s=o.length,l=0;l<s;l++){var c=o[l];t&&void 0!==n[c]||(n[c]=a[c])}return n}}var be=Ae(ae),ve=Ae(ee),Be=Ae(ae,!0);function Fe(e){if(!b(e))return{};if(f)return f(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Qe(e){return X(e)?e:[e]}function Ue(e){return ne.toPath(e)}function Ge(e,t){for(var n=t.length,i=0;i<n;i++){if(null==e)return;e=e[t[i]]}return n?e:void 0}function Se(e,t,n){var i=Ge(e,Ue(t));return v(i)?n:i}function xe(e){return e}function we(e){return e=ve({},e),function(t){return te(t,e)}}function Ze(e){return e=Ue(e),function(t){return Ge(t,e)}}function ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,r){return e.call(t,n,i,r)};case 4:return function(n,i,r,a){return e.call(t,n,i,r,a)}}return function(){return e.apply(t,arguments)}}function Ve(e,t,n){return null==e?xe:R(e)?ke(e,t,n):b(e)&&!X(e)?we(e):Ze(e)}function Re(e,t){return Ve(e,t,1/0)}function Ee(e,t,n){return ne.iteratee!==Re?ne.iteratee(e,t):Ve(e,t,n)}function Le(){}function We(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}ne.toPath=Qe,ne.iteratee=Re;var Te=Date.now||function(){return(new Date).getTime()};function Ne(e){var t=function(t){return e[t]},n="(?:"+ee(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(r,t):e}}var Xe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Oe=Ne(Xe),Me=Ne(Ce(Xe)),De=ne.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},_e=/(.)^/,Ye={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},He=/\\|'|\r|\n|\u2028|\u2029/g;function ze(e){return"\\"+Ye[e]}var Je=/^\s*(\w|\$)+\s*$/,Pe=0;function je(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var a=Fe(e.prototype),o=e.apply(a,r);return b(o)?o:a}var Ke=A((function(e,t){var n=Ke.placeholder,i=function(){for(var r=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===n?arguments[r++]:t[s];for(;r<arguments.length;)o.push(arguments[r++]);return je(e,i,this,this,o)};return i}));Ke.placeholder=ne;var qe=A((function(e,t,n){if(!R(e))throw new TypeError("Bind must be called on a function");var i=A((function(r){return je(e,i,t,this,n.concat(r))}));return i})),$e=H(q);function et(e,t,n){t||0===t||(t=1/0);for(var i=[],r=0,a=0,o=q(e)||0,s=[];;)if(a>=o){if(!s.length)break;var l=s.pop();a=l.i,e=l.v,o=q(e)}else{var c=e[a++];s.length>=t?i[r++]=c:$e(c)&&(X(c)||D(c))?(s.push({i:a,v:e}),a=0,o=q(e=c)):n||(i[r++]=c)}return i}var tt=A((function(e,t){var n=(t=et(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=qe(e[i],e)}return e})),nt=A((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),it=Ke(nt,ne,1);function rt(e){return function(){return!e.apply(this,arguments)}}function at(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ot=Ke(at,2);function st(e,t,n){t=Ee(t,n);for(var i,r=ee(e),a=0,o=r.length;a<o;a++)if(t(e[i=r[a]],i,e))return i}function lt(e){return function(t,n,i){n=Ee(n,i);for(var r=q(t),a=e>0?0:r-1;a>=0&&a<r;a+=e)if(n(t[a],a,t))return a;return-1}}var ct=lt(1),ut=lt(-1);function dt(e,t,n,i){for(var r=(n=Ee(n,i,1))(t),a=0,o=q(e);a<o;){var s=Math.floor((a+o)/2);n(e[s])<r?a=s+1:o=s}return a}function gt(e,t,n){return function(i,r,a){var s=0,l=q(i);if("number"==typeof a)e>0?s=a>=0?a:Math.max(a+l,s):l=a>=0?Math.min(a+1,l):a+l+1;else if(n&&a&&l)return i[a=n(i,r)]===r?a:-1;if(r!=r)return(a=t(o.call(i,s,l),_))>=0?a+s:-1;for(a=e>0?s:l-1;a>=0&&a<l;a+=e)if(i[a]===r)return a;return-1}}var ft=gt(1,ct,dt),ht=gt(-1,ut);function mt(e,t,n){var i=($e(e)?ct:st)(e,t,n);if(void 0!==i&&-1!==i)return e[i]}function pt(e,t,n){var i,r;if(t=ke(t,n),$e(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var a=ee(e);for(i=0,r=a.length;i<r;i++)t(e[a[i]],a[i],e)}return e}function It(e,t,n){t=Ee(t,n);for(var i=!$e(e)&&ee(e),r=(i||e).length,a=Array(r),o=0;o<r;o++){var s=i?i[o]:o;a[o]=t(e[s],s,e)}return a}function Ct(e){var t=function(t,n,i,r){var a=!$e(t)&&ee(t),o=(a||t).length,s=e>0?0:o-1;for(r||(i=t[a?a[s]:s],s+=e);s>=0&&s<o;s+=e){var l=a?a[s]:s;i=n(i,t[l],l,t)}return i};return function(e,n,i,r){var a=arguments.length>=3;return t(e,ke(n,r,4),i,a)}}var yt=Ct(1),At=Ct(-1);function bt(e,t,n){var i=[];return t=Ee(t,n),pt(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function vt(e,t,n){t=Ee(t,n);for(var i=!$e(e)&&ee(e),r=(i||e).length,a=0;a<r;a++){var o=i?i[a]:a;if(!t(e[o],o,e))return!1}return!0}function Bt(e,t,n){t=Ee(t,n);for(var i=!$e(e)&&ee(e),r=(i||e).length,a=0;a<r;a++){var o=i?i[a]:a;if(t(e[o],o,e))return!0}return!1}function Ft(e,t,n,i){return $e(e)||(e=Ie(e)),("number"!=typeof n||i)&&(n=0),ft(e,t,n)>=0}var Qt=A((function(e,t,n){var i,r;return R(t)?r=t:(t=Ue(t),i=t.slice(0,-1),t=t[t.length-1]),It(e,(function(e){var a=r;if(!a){if(i&&i.length&&(e=Ge(e,i)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function Ut(e,t){return It(e,Ze(t))}function Gt(e,t,n){var i,r,a=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=$e(e)?e:Ie(e)).length;s<l;s++)null!=(i=e[s])&&i>a&&(a=i);else t=Ee(t,n),pt(e,(function(e,n,i){((r=t(e,n,i))>o||r===-1/0&&a===-1/0)&&(a=e,o=r)}));return a}var St=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function xt(e){return e?X(e)?o.call(e):Q(e)?e.match(St):$e(e)?It(e,xe):Ie(e):[]}function wt(e,t,n){if(null==t||n)return $e(e)||(e=Ie(e)),e[We(e.length-1)];var i=xt(e),r=q(i);t=Math.max(Math.min(t,r),0);for(var a=r-1,o=0;o<t;o++){var s=We(o,a),l=i[o];i[o]=i[s],i[s]=l}return i.slice(0,t)}function Zt(e,t){return function(n,i,r){var a=t?[[],[]]:{};return i=Ee(i,r),pt(n,(function(t,r){var o=i(t,r,n);e(a,t,o)})),a}}var kt=Zt((function(e,t,n){O(e,n)?e[n].push(t):e[n]=[t]})),Vt=Zt((function(e,t,n){e[n]=t})),Rt=Zt((function(e,t,n){O(e,n)?e[n]++:e[n]=1})),Et=Zt((function(e,t,n){e[n?0:1].push(t)}),!0);function Lt(e,t,n){return t in n}var Wt=A((function(e,t){var n={},i=t[0];if(null==e)return n;R(i)?(t.length>1&&(i=ke(i,t[1])),t=ae(e)):(i=Lt,t=et(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r<a;r++){var o=t[r],s=e[o];i(s,o,e)&&(n[o]=s)}return n})),Tt=A((function(e,t){var n,i=t[0];return R(i)?(i=rt(i),t.length>1&&(n=t[1])):(t=It(et(t,!1,!1),String),i=function(e,n){return!Ft(t,n)}),Wt(e,i,n)}));function Nt(e,t,n){return o.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Xt(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Nt(e,e.length-t)}function Ot(e,t,n){return o.call(e,null==t||n?1:t)}var Mt=A((function(e,t){return t=et(t,!0,!0),bt(e,(function(e){return!Ft(t,e)}))})),Dt=A((function(e,t){return Mt(e,t)}));function _t(e,t,n,i){B(t)||(i=n,n=t,t=!1),null!=n&&(n=Ee(n,i));for(var r=[],a=[],o=0,s=q(e);o<s;o++){var l=e[o],c=n?n(l,o,e):l;t&&!n?(o&&a===c||r.push(l),a=c):n?Ft(a,c)||(a.push(c),r.push(l)):Ft(r,l)||r.push(l)}return r}var Yt=A((function(e){return _t(et(e,!0,!0))}));function Ht(e){for(var t=e&&Gt(e,q).length||0,n=Array(t),i=0;i<t;i++)n[i]=Ut(e,i);return n}var zt=A(Ht);function Jt(e,t){return e._chain?ne(t).chain():t}function Pt(e){return pt(ye(e),(function(t){var n=ne[t]=e[t];ne.prototype[t]=function(){var e=[this._wrapped];return a.apply(e,arguments),Jt(this,n.apply(ne,e))}})),ne}pt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=n[e];ne.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Jt(this,n)}})),pt(["concat","join","slice"],(function(e){var t=n[e];ne.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Jt(this,e)}}));var jt=Pt({__proto__:null,VERSION:e,restArguments:A,isObject:b,isNull:function(e){return null===e},isUndefined:v,isBoolean:B,isElement:function(e){return!(!e||1!==e.nodeType)},isString:Q,isNumber:U,isDate:G,isRegExp:S,isError:x,isSymbol:w,isArrayBuffer:Z,isDataView:N,isArray:X,isFunction:R,isArguments:D,isFinite:function(e){return!w(e)&&p(e)&&!isNaN(parseFloat(e))},isNaN:_,isTypedArray:K,isEmpty:function(e){if(null==e)return!0;var t=q(e);return"number"==typeof t&&(X(e)||Q(e)||D(e))?0===t:0===q(ee(e))},isMatch:te,isEqual:function(e,t){for(var n=[{a:e,b:t}],i=[],a=[];n.length;){var o=n.pop();if(!0!==o){if((e=o.a)===(t=o.b)){if(0!==e||1/e==1/t)continue;return!1}if(null==e||null==t)return!1;if(e!=e){if(t!=t)continue;return!1}var l=typeof e;if("function"!==l&&"object"!==l&&"object"!=typeof t)return!1;e instanceof ne&&(e=e._wrapped),t instanceof ne&&(t=t._wrapped);var c=s.call(e);if(c!==s.call(t))return!1;if(L&&"[object Object]"==c&&N(e)){if(!N(t))return!1;c=re}switch(c){case"[object RegExp]":case"[object String]":if(""+e==""+t)continue;return!1;case"[object Number]":n.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e==+t)continue;return!1;case"[object Symbol]":if(r.valueOf.call(e)===r.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case re:n.push({a:ie(e),b:ie(t)});continue}var u="[object Array]"===c;if(!u&&K(e)){if(J(e)!==J(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;u=!0}if(!u){if("object"!=typeof e||"object"!=typeof t)return!1;var d=e.constructor,g=t.constructor;if(d!==g&&!(R(d)&&d instanceof d&&R(g)&&g instanceof g)&&"constructor"in e&&"constructor"in t)return!1}for(var f=i.length;f--;)if(i[f]===e){if(a[f]===t)break;return!1}if(!(f>=0))if(i.push(e),a.push(t),n.push(!0),u){if((f=e.length)!==t.length)return!1;for(;f--;)n.push({a:e[f],b:t[f]})}else{var h,m=ee(e);if(f=m.length,ee(t).length!==f)return!1;for(;f--;){if(!O(t,h=m[f]))return!1;n.push({a:e[h],b:t[h]})}}}else i.pop(),a.pop()}return!0},isMap:fe,isWeakMap:he,isSet:me,isWeakSet:pe,keys:ee,allKeys:ae,values:Ie,pairs:function(e){for(var t=ee(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i},invert:Ce,functions:ye,methods:ye,extend:be,extendOwn:ve,assign:ve,defaults:Be,create:function(e,t){var n=Fe(e);return t&&ve(n,t),n},clone:function(e){return b(e)?X(e)?e.slice():be({},e):e},tap:function(e,t){return t(e),e},get:Se,has:function(e,t){for(var n=(t=Ue(t)).length,i=0;i<n;i++){var r=t[i];if(!O(e,r))return!1;e=e[r]}return!!n},mapObject:function(e,t,n){t=Ee(t,n);for(var i=ee(e),r=i.length,a={},o=0;o<r;o++){var s=i[o];a[s]=t(e[s],s,e)}return a},identity:xe,constant:Y,noop:Le,toPath:Qe,property:Ze,propertyOf:function(e){return null==e?Le:function(t){return Se(e,t)}},matcher:we,matches:we,times:function(e,t,n){var i=Array(Math.max(0,e));t=ke(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i},random:We,now:Te,escape:Oe,unescape:Me,templateSettings:De,template:function(e,t,n){!t&&n&&(t=n),t=Be({},t,ne.templateSettings);var i=RegExp([(t.escape||_e).source,(t.interpolate||_e).source,(t.evaluate||_e).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,(function(t,n,i,o,s){return a+=e.slice(r,s).replace(He,ze),r=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":o&&(a+="';\n"+o+"\n__p+='"),t})),a+="';\n";var o,s=t.variable;if(s){if(!Je.test(s))throw new Error("variable is not a bare identifier: "+s)}else a="with(obj||{}){\n"+a+"}\n",s="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{o=new Function(s,"_",a)}catch(e){throw e.source=a,e}var l=function(e){return o.call(this,e,ne)};return l.source="function("+s+"){\n"+a+"}",l},result:function(e,t,n){var i=(t=Ue(t)).length;if(!i)return R(n)?n.call(e):n;for(var r=0;r<i;r++){var a=null==e?void 0:e[t[r]];void 0===a&&(a=n,r=i),e=R(a)?a.call(e):a}return e},uniqueId:function(e){var t=++Pe+"";return e?e+t:t},chain:function(e){var t=ne(e);return t._chain=!0,t},iteratee:Re,partial:Ke,bind:qe,bindAll:tt,memoize:function(e,t){var n=function(i){var r=n.cache,a=""+(t?t.apply(this,arguments):i);return O(r,a)||(r[a]=e.apply(this,arguments)),r[a]};return n.cache={},n},delay:nt,defer:it,throttle:function(e,t,n){var i,r,a,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Te(),i=null,o=e.apply(r,a),i||(r=a=null)},c=function(){var c=Te();s||!1!==n.leading||(s=c);var u=t-(c-s);return r=this,a=arguments,u<=0||u>t?(i&&(clearTimeout(i),i=null),s=c,o=e.apply(r,a),i||(r=a=null)):i||!1===n.trailing||(i=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(i),s=0,i=r=a=null},c},debounce:function(e,t,n){var i,r,a,o,s,l=function(){var c=Te()-r;t>c?i=setTimeout(l,t-c):(i=null,n||(o=e.apply(s,a)),i||(a=s=null))},c=A((function(c){return s=this,a=c,r=Te(),i||(i=setTimeout(l,t),n&&(o=e.apply(s,a))),o}));return c.cancel=function(){clearTimeout(i),i=a=s=null},c},wrap:function(e,t){return Ke(t,e)},negate:rt,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:at,once:ot,findKey:st,findIndex:ct,findLastIndex:ut,sortedIndex:dt,indexOf:ft,lastIndexOf:ht,find:mt,detect:mt,findWhere:function(e,t){return mt(e,we(t))},each:pt,forEach:pt,map:It,collect:It,reduce:yt,foldl:yt,inject:yt,reduceRight:At,foldr:At,filter:bt,select:bt,reject:function(e,t,n){return bt(e,rt(Ee(t)),n)},every:vt,all:vt,some:Bt,any:Bt,contains:Ft,includes:Ft,include:Ft,invoke:Qt,pluck:Ut,where:function(e,t){return bt(e,we(t))},max:Gt,min:function(e,t,n){var i,r,a=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=$e(e)?e:Ie(e)).length;s<l;s++)null!=(i=e[s])&&i<a&&(a=i);else t=Ee(t,n),pt(e,(function(e,n,i){((r=t(e,n,i))<o||r===1/0&&a===1/0)&&(a=e,o=r)}));return a},shuffle:function(e){return wt(e,1/0)},sample:wt,sortBy:function(e,t,n){var i=0;return t=Ee(t,n),Ut(It(e,(function(e,n,r){return{value:e,index:i++,criteria:t(e,n,r)}})).sort((function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return e.index-t.index})),"value")},groupBy:kt,indexBy:Vt,countBy:Rt,partition:Et,toArray:xt,size:function(e){return null==e?0:$e(e)?e.length:ee(e).length},pick:Wt,omit:Tt,first:Xt,head:Xt,take:Xt,initial:Nt,last:function(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Ot(e,Math.max(0,e.length-t))},rest:Ot,tail:Ot,drop:Ot,compact:function(e){return bt(e,Boolean)},flatten:function(e,t){return et(e,t,!1)},without:Dt,uniq:_t,unique:_t,union:Yt,intersection:function(e){for(var t=[],n=arguments.length,i=0,r=q(e);i<r;i++){var a=e[i];if(!Ft(t,a)){var o;for(o=1;o<n&&Ft(arguments[o],a);o++);o===n&&t.push(a)}}return t},difference:Mt,unzip:Ht,transpose:Ht,zip:zt,object:function(e,t){for(var n={},i=0,r=q(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},range:function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),a=0;a<i;a++,e+=n)r[a]=e;return r},chunk:function(e,t){if(null==t||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(o.call(e,i,i+=t));return n},mixin:Pt,default:ne});return jt._=jt,jt}));var fylter=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};
vendor: 4,650 bytes, line 12
12return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n/**\n * @typedef {string} FilterState\n */\n\n/**\n * Define possible states of the filter\n * @readonly\n * @enum {FilterState}\n */\nvar FILTER_STATE = exports.FILTER_STATE = {\n /** Filter has not been constructed yet */\n BUILDING: 'filter/state/building',\n /** Filter has started the data fetch process */\n LOADING: 'filter/state/loading',\n /** Filter has encountered some sort of error */\n ERROR: 'filter/state/error',\n /** Filter is not currently perfroming any specific action and is ready for user inout */\n IDLE: 'filter/state/idle',\n /** Filter has been disabled and user input is not possible */\n DISABLED: 'filter/state/disabled'\n};\n\n/**\n * @typedef {string} FilterSetState\n */\n\n/**\n * Define possible states of the filter set as a whole\n * @readonly\n * @enum {FilterSetState}\n */\nvar FILTER_SET_STATE = exports.FILTER_SET_STATE = {\n /** Filter set is in the process of building and populating initial data in filters */\n INITIALISING: 'filterset/state/init',\n /** Filter set is not currently perfroming any specific action and is ready for user inout */\n IDLE: 'filterset/state/idle',\n /** Filter set has encountereda problem and user input is not possible */\n ERROR: 'filterset/state/error',\n /** Filter set is in process of resetting values */\n RESETTING: 'filter/state/resetting'\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvZW51bS9FbnVtLmpzPzM2ZGYiXSwibmFtZXMiOlsiRklMVEVSX1NUQVRFIiwiQlVJTERJT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cm9ibGVtIGFuZCB1c2VyIGlucHV0IGlzIG5vdCBwb3NzaWJsZSAqL1xuICAgIEVSUk9SOiAnZmlsdGVyc2V0L3N0YXRlL2Vycm9yJyxcbiAgICAvKiogRmlsdGVyIHNldCBpcyBpbiBwcm9jZXNzIG9mIHJlc2V0dGluZyB2YWx1ZXMgKi9cbiAgICBSRVNFVFRJTkc6ICdmaWx0ZXIvc3RhdGUvcmVzZXR0aW5nJ1xufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vbGliL2pzL2VudW0vRW51bS5qcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///0\n")},function(module,exports,__webpack_require__){"use strict";
12eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Filter = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _TreeNode2 = __webpack_require__(5);\n\nvar _NativeSelect = __webpack_require__(6);\n\nvar _Enum = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Middlewares to use when there is no middlewares provided in filter config\n * @typedef {Object} Middlewares\n * @property {Function} beforeOptionUpdate function called after the filter has successfully fetched data, passed teh data and should return a set of options to render\n * @property {Function} decideDefault function taht is passed tehset of options adn should return an id of an option to set as default\n * @property {Function} decideFilterEnabledState passed a filter that caused an update event and returns a boolean of wether the filter is enabled\n */\n\n/**\n * Type that defines a single filter option, this should be the format returned by the beforeOptionUpdate function\n * @typedef {Object} Option\n * @property {String} name options display name\n * @property {String} value the value for the options\n * @property {Object} extra extra data attached to the options\n */\n\n/**\n * Default filter config to use when no filter config passed\n * @typedef {Object} FilterConfig\n * @property {String} name the name of the filter\n * @property {Function} data a function that defines data grabbing behaviour, returns a string, array of Options or a promise that resolves with a Array of Options\n * @property {FilterInterface} uiClass the class to use to render the filter, must extends the FilterInterface class\n * @property {String} wrapperClass class that gets applied around the whole filter\n * @property {Middlewares} middleWares set of middlewares to use in this filter\n * @property {Array.<String>}
12 dependsOn the set of filters that will cause this one to update\n * @property {HTMLElement} wrapper the wrapper element where the filter should be appended, set by the filter set and shouldnt be overridden\n */\n\n/**\n * Object that represents a filters current state and selected option\n * @typedef {Object} CurrentFilterValue\n * @property {String} filterName the name of the filter\n * @property {String} [name] the name of the curretn option\n * @property {String} [value] the value of the current selcted option\n * @property {Object} [extra] extra data attached to the option\n * @property {FilterState} state the current state of the filter\n */\n\n/**\n * FIlter class to handle interactions between the filter set and the ui element that is implmented\n * by the user or the default filter ui class\n *\n * @extends TreeNode\n */\nvar Filter = exports.Filter = function (_TreeNode) {\n _inherits(Filter, _TreeNode);\n\n _createClass(Filter, null, [{\n key: 'DEFAULT_MIDDLEWARES',\n\n\n /**\n * Get the default set of middlewares for a filter\n *\n * @return {Middlewares} the middlewares to use of none already set in filter config\n * @static\n */\n value: function DEFAULT_MIDDLEWARES() {\n return {\n beforeOptionUpdate: function beforeOptionUpdate(options) {\n return options;\n },\n decideDefault: function decideDefault(options) {\n return options[0].value;\n },\n decideFilterEnabledState: function decideFilterEnabledState(dependantUpdated) {\n return true;\n }\n };\n }\n\n /**\n * Get the default filter config\n *\n * @return {FilterConfig} the filter config\n * @static\n */\n\n }, {\n key: 'DEFAULT_CONFIG',\n value: function DEFAULT_CONFIG() {\n return {\n uiClass: _NativeSelect.NativeSelectFilter,\n wrapperClass: 'filter'\n };\n }\n\n /**\n * Render a warning into the console, automatically add this filters name\n * @param {String} name the name of the filter\n * @param {String} message the warning message\n * @static\n */\n\n }, {\n key: 'warn',\n value: function warn(name, message) {\n console.warn('Filter (' + name + '): ' + message);\n }\n\n /**\n * Get a set of utility functions that can be used in middleware functions\n * @return {Object} set of utility functions\n * @static\n */\n\n }, {\n key: 'FILTER_UTIL_FUNCTIONS',\n value: function FILTER_UTIL_FUNCTIONS() {\n return {\n DISABLE_WHEN_VALUE: function DISABLE_WHEN_VALUE(value) {\n\n return function (dependantsUpdated) {\n if (dependantsUpdated[0].getCurrentOption().value === value) {\n return false;\n }\n return true;\n };\n }\n };\n }\n\n /**\n * Check if any filter in the set has an error state\n * \n * @param {Array.<Filter>} filters\n * @return {boolean} wether any filter is in error state\n */\n\n }, {\n key: 'anyError',\n value: function anyError(filters) {\n for (var fCount = 0; fCount < filters.length; fCount++) {\n var filter = filters[fCount];\n if (filter.getState() === window.fylter.FILTER_STATE.ERROR) {\n return true;\n }\n }\n\n return false;\n }\n\n /**\n * Check if any filter in the set has a disabled state\n * \n * @param {Array.<Filter>} filters\n * @return {boolean} wether any filter is in disabled state\n */\n\n }, {\n key: 'anyDisabled',\n value: function anyDisabled(filters) {\n for (var fCount = 0; fCount < filters.length;
12 fCount++) {\n var filter = filters[fCount];\n if (filter.isDisabled()) {\n return true;\n }\n }\n\n return false;\n }\n\n /**\n * Constructor function for filter class creates filter and sets state to loading\n *\n * @param {FilterConfig} config configuration for this filter\n */\n\n }]);\n\n function Filter(config) {\n _classCallCheck(this, Filter);\n\n var _this = _possibleConstructorReturn(this, (Filter.__proto__ || Object.getPrototypeOf(Filter)).call(this));\n\n _this.setState(_Enum.FILTER_STATE.BUILDING);\n _this.config = _extends({}, Filter.DEFAULT_CONFIG(), config);\n _this.config.middleWares = _extends({}, Filter.DEFAULT_MIDDLEWARES(), _this.config.middleWares);\n _this.uiElement = new _this.config.uiClass();\n _this.uiElement.setSelectedCallback(_this.onSelect.bind(_this));\n _this.setupContainer();\n _this.optionList = [];\n _this.setState(_Enum.FILTER_STATE.LOADING);\n return _this;\n }\n\n /**\n * Set the state of the filter\n *\n * @param {FilterState} state the filter state\n */\n\n\n _createClass(Filter, [{\n key: 'setState',\n value: function setState(state) {\n this.state = state;\n }\n\n /**\n * Creates the container that the ui element will render its contents into\n */\n\n }, {\n key: 'setupContainer',\n value: function setupContainer() {\n\n this.container = document.createElement('div');\n this.config.wrapper.appendChild(this.container);\n this.container.classList.add(this.config.wrapperClass);\n this.uiElement.setContainer(this.container);\n }\n\n /**\n * Function only called for root filters, called once on the set up of the filter\n *\n * @return {Promise} promise that resolves when filter data has been fetched\n */\n\n }, {\n key: 'init',\n value: function init() {\n var _this2 = this;\n\n return this.getOptionsData().then(function () {\n return _this2.config.onOptionSelected(_this2);\n });\n }\n\n /**\n * Callback that is invoked by the uiClass when an item has been selected by the user\n *\n * @param {string} id the id of the selected item\n * @return {Promise} promise that resolves when the filterset has finished its updates related to this change\n */\n\n }, {\n key: 'onSelect',\n value: function onSelect(id) {\n this.setCurrentId(id);\n return this.config.onOptionSelected(this);\n }\n\n /**\n * Get an object representing the current state of the filter\n *\n * @return {CurrentFilterValue} the current value of the filter\n */\n\n }, {\n key: 'getCurrentOption',\n value: function getCurrentOption() {\n\n var option = this._getOptionForValue(this.getCurrentId());\n\n return _extends({\n filterName: this.getName(),\n state: this.getState()\n }, option);\n }\n\n /**\n * Given a value fetch an option from the list\n *\n * @param {String} value the value of option to find\n * @return {Option|Object} the option or an empty object\n */\n\n }, {\n key: '_getOptionForValue',\n value: function _getOptionForValue(value) {\n\n if (value === false) {\n return {};\n }\n\n var options = this.getOptionList();\n\n for (var x = 0; x < options.length; x++) {\n var option = options[x];\n\n if (option.value.toString() === value.toString()) {\n return option;\n }\n }\n\n return {};\n }\n\n /**\n * When the config.data function returns a string this is used to make a network call. You can also use\n * format str
12ings with parent filter values here\n *\n * @example <caption>Using format parameters in a data url</caption>\n * // The {{SomeFilter}} value will be replaced by the current value of that filter\n * // The filter used must be a parent of this filter\n * {\n * dependsOn: [ 'SomeFilter' ]\n * data: () => 'http://www.myapi.com/endpoint/{{someFilter}}/data'\n * }\n *\n * @param {String} url url from the config.data function\n * @return {String} the url with any format strings evaluated\n */\n\n }, {\n key: '_buildAPIUrl',\n value: function _buildAPIUrl(url) {\n\n var parents = this.getParents();\n if (!parents.length) {\n return url;\n }\n\n return parents.reduce(function (urlString, parent) {\n var replace = '{{' + parent.getName() + '}}';\n return urlString.replace(replace, parent.getCurrentOption().value);\n }, url);\n }\n\n /**\n * The config.data function can return a array, promise or string, here we abstract out this behaviour so whatever\n * is specified in the config can be fetched as a promise that eventually resolves with data.\n *\n * @example <caption>Different ways of specifying the config data property</caption>\n *\n * {\n * data: updatingFilter => 'http://www.myapi...',\n * data: updatingFilter => [ { name, value }... ],\n * data: updatingFilter => new Promise(...)\n * }\n *\n * @param {Array.<Filter>} initiatingFilters the filter that caused the update\n * @return {Promise<Array.<Option>>} promise that resolves with data\n */\n\n }, {\n key: '_getDataPromise',\n value: function _getDataPromise(initiatingFilters) {\n var dataResult = this.config.data(initiatingFilters);\n\n switch (typeof dataResult === 'undefined' ? 'undefined' : _typeof(dataResult)) {\n\n case 'string':\n return this.config.dataFetchImplementation(this._buildAPIUrl(dataResult));\n break;\n case 'object':\n if (dataResult instanceof Array) {\n return Promise.resolve(dataResult);\n }\n\n if (dataResult instanceof Promise) {\n return dataResult;\n }\n\n window.fylter.Filter.warn(this.getName(), 'Filter data needs to be a api endpoint (string) an array or promise');\n return Promise.resolve([]);\n default:\n window.fylter.Filter.warn(this.getName(), 'Filter data needs to be a api endpoint (string) an array or promise');\n return Promise.resolve([]);\n\n }\n }\n\n /**\n * main function to initilate the fetching of data for the filter\n *\n * @param {Array.<Filter>} [initiatingFilter] The filter that was updated to cause this filter to update\n * @return {Promise} Promise that resolves when the data fetch and render is complete\n */\n\n }, {\n key: 'getOptionsData',\n value: function getOptionsData(initiatingFilters) {\n var _this3 = this;\n\n if (initiatingFilters && (window.fylter.Filter.anyDisabled(initiatingFilters) // any parent is disbaled\n || !this.config.middleWares.decideFilterEnabledState(initiatingFilters))) {\n // middleware tells us to disable\n this.setCurrentId(false);\n this.setState(window.fylter.FILTER_STATE.DISABLED);\n return Promise.resolve();\n }\n\n this.setState(window.fylter.FILTER_STATE.LOADING);\n return this._getDataPromise(initiatingFilters).then(function (data) {\
12n _this3.setRawOptionsData(data);\n return _this3.config.middleWares.beforeOptionUpdate(data);\n }).then(function (options) {\n _this3.setOptionList(options);\n if (options && options.length) {\n _this3.setCurrentId(_this3.config.middleWares.decideDefault(_this3.getOptionList()));\n _this3.render();\n _this3.setState(window.fylter.FILTER_STATE.IDLE);\n } else {\n _this3.setState(window.fylter.FILTER_STATE.DISABLED);\n }\n }).catch(function (error) {\n Filter.warn(_this3.getName(), error.toString());\n _this3.setState(window.fylter.FILTER_STATE.ERROR);\n });\n }\n\n /**\n * Get the name of this filter\n *\n * @return {String} the name of the filter\n */\n\n }, {\n key: 'getName',\n value: function getName() {\n return this.config.name;\n }\n\n /**\n * get the names of the filters that this filter depends on\n *\n * @return {Array.<String>} the filter names\n */\n\n }, {\n key: 'getDependencies',\n value: function getDependencies() {\n return this.config.dependsOn || [];\n }\n\n /**\n * Determine if the filter is disabled\n *\n * @return {Boolean} wether this filter is currently disabled\n */\n\n }, {\n key: 'isDisabled',\n value: function isDisabled() {\n return this.getState() === _Enum.FILTER_STATE.DISABLED;\n }\n\n /**\n * Function that is called when a filter that this instance is dependent on is updated. This is called by the\n * FilterSet code. Should not be invoked manually.\n *\n * @param {Array.<Filter>} filter filter causing the update\n * @return {Promise} promise that resolves when this filter is finished fetching data\n */\n\n }, {\n key: 'dependencyDidUpdate',\n value: function dependencyDidUpdate(filters) {\n\n if (Filter.anyError(filters)) {\n this.setState(window.fylter.FILTER_STATE.ERROR);\n return Promise.reject(new Error('Filter cannot be updated when parent is in an error state'));\n }\n\n return this.getOptionsData(filters);\n }\n\n /**\n * Set the set of options that will be displayed by the filter\n *\n * @param {Array.<Option>} list list of options\n */\n\n }, {\n key: 'setOptionList',\n value: function setOptionList(list) {\n this.optionList = list;\n }\n\n /**\n * Get the current option set\n *\n * @return {Array.<Option>} current option set\n */\n\n }, {\n key: 'getOptionList',\n value: function getOptionList() {\n return this.optionList;\n }\n\n /**\n * This function will initiate the reset of this filter and also its dependants, this should\n * not be called manually and is only called by the FilterSet\n *\n * @returns {Promise} promise that resolves when this filter and its children has been reset\n */\n\n }, {\n key: 'reset',\n value: function reset() {\n\n var defaultVal = this.config.middleWares.decideDefault(this.getOptionList());\n this.uiElement.setValue(defaultVal);\n return this.onSelect(defaultVal);\n }\n\n /**\n * Set the ID (value) of the current option that is selected\n *\n * @param {String} id the id that has been selected\n */\n\n }, {\n key: 'setCurrentId',\n value: function setCurrentId(id) {\n this.currentId = id;\n }\n\n /**\n * Get the id of the currently selected option\n *\n * @return {String|boolean} the id\n */\n\n }, {\n key: 'getCurrentId',\n value: function getCurrentId() {\n return this.currentId || false;\n }\n\n /**\n * Set the state of this filter and perform any associated actions\n *\n * @param {FilterState} state state to set\n */\n\n }, {\n key: 'setState',\n value: function setState(state) {\n this.state = state;\n\n switch (this.state) {\n case _Enum.FILTER_STATE.LOADING:\n this.uiElement.setLoadingState(this.getName());\n break;\n case _Enum.FILTER_STATE.ERROR:\n this.uiElement.removeLoadingState(this.getName());\n this.uiElement.setErrorState(this.getName());\n break;\n case _Enum.FILTER_STATE.IDLE:\n this.uiElement.removeLoadingState(this.getName());\n break;\n case _Enum.FILTER_STATE.DISABLED:\n this.uiElement.setDisabledState(this.getName());\n break;\n }\n }\n\n /**\n * Get the current state of the filter\n *\n * @return {FilterState} current state\n */\n\n }, {\n key: 'getState',\n value: function getState() {\n return this.state;\n }\n\n /**\n * checks if all the initial update events have been fired\n * \n * @return {boolean} wether the filter is ready\n */\n\n }, {\n key: 'readyToUpdateFromDependency',\n value: function readyToUpdateFromDependency() {\n return this.initCount === 0;\n }\n\n /**\n * Decrease the init count by one, means the filter is one init closer to having all the initial init events fired on it\n * by its parents\n */\n\n }, {\n key: 'decrementInitCount',\n value: function decrementInitCount() {\n this.initCount = Math.max(this.initCount - 1, 0);\n }\n\n /**\n * Tell the uiClass that it needs to render the filter into the page as all of the data needed is ready\n */\n\n }, {\n key: 'render',\n value: function render() {\n this.uiElement.render(this.getName(), this.getOptionList(), this.getCurrentId());\n }\n\n /**\n * Return the uiElement that is used to manage the filter in the DOM\n * @return {FilterInterface} a class implementing the FilterInterface class\n */\n\n }, {\n key: 'getUiElement',\n value: function getUiElement() {\n return this.uiElement;\n }\n\n /**\n * Override superclass method and add functionality to update the init count value\n * \n * @param {TreeNode} node \n * @override\n */\n\n }, {\n key: 'setParent',\n value: function setParent(node) {\n\n _get(Filter.prototype.__proto__ || Object.getPrototypeOf(Filter.prototype), 'setParent', this).call(this, node);\n /*\n For filters with multiple dependencies we only want the initial update event to be called\n once. Not once for each parent that updates. So we keep a counter about how many invocations\n we are expecting before we can allow the init event to be fired.\n */\n this.initCount = typeof this.initCount === 'undefined' ? 0 : this.parents.length - 1;\n }\n\n /**\n * Save a reference to the options data before it is converted to an Array.<Options>\n * \n * @param {object} data \n */\n\n }, {\n key: 'setRawOptionsData',\n value: function setRawOptionsData(data) {\
12n this.rawOptionsData = data;\n }\n }]);\n\n return Filter;\n}(_TreeNode2.TreeNode);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvZmlsdGVyL0ZpbHRlci5qcz9iYjMxIl0sIm5hbWVzIjpbIkZpbHRlciIsImJlZm9yZU9wdGlvblVwZGF0ZSIsIm9wdGlvbnMiLCJkZWNpZGVEZWZhdWx0IiwidmFsdWUiLCJkZWNpZGVGaWx0ZXJFbmFibGVkU3RhdGUiLCJ1aUNsYXNzIiwiTmF0aXZlU2VsZWN0RmlsdGVyIiwid3JhcHBlckNsYXNzIiwibmFtZSIsIm1lc3NhZ2UiLCJjb25zb2xlIiwid2FybiIsIkRJU0FCTEVfV0hFTl9WQUxVRSIsImRlcGVuZGFudHNVcGRhdGVkIiwiZ2V0Q3VycmVudE9wdGlvbiIsImZpbHRlcnMiLCJmQ291bnQiLCJsZW5ndGgiLCJmaWx0ZXIiLCJnZXRTdGF0ZSIsIndpbmRvdyIsImZ5bHRlciIsIkZJTFRFUl9TVEFURSIsIkVSUk9SIiwiaXNEaXNhYmxlZCIsImNvbmZpZyIsInNldFN0YXRlIiwiQlVJTERJTkciLCJERUZBVUxUX0NPTkZJRyIsIm1pZGRsZVdhcmVzIiwiREVGQVVMVF9NSURETEVXQVJFUyIsInVpRWxlbWVudCIsInNldFNlbGVjdGVkQ2FsbGJhY2siLCJvblNlbGVjdCIsImJpbmQiLCJzZX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G4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBDaGVjayBpZiBhbnkgZmlsdGVyIGluIHRoZSBzZXQgaGFzIGFuIGVycm9yIHN0YXRlXG4gICAgICogXG4gICAgICogQHBhcmFtIHtBcnJheS48RmlsdGVyPn0gZmlsdGVyc1xuICAgICAqIEByZXR1cm4ge2Jvb2xlYW59IHdldGhlciBhbnkgZmlsdGVyIGlzIGluIGVycm9yIHN0YXRlXG4gICAgICovXG4gICAgc3RhdGljIGFueUVycm9yKCBmaWx0ZXJzICkge1xuICAgICAgICBmb3IoIGxldCBmQ291bnQgPSAwIDsgZkNvdW50IDwgZmlsdGVycy5sZW5ndGg7IGZDb3VudCsrICkge1xuICAgICAgICAgICAgY29uc3QgZmlsdGVyID0gZmlsdGVyc1sgZkNvdW50IF07XG4gICAgICAgICAgICBpZiggZmlsdGVyLmdldFN0YXRlKCkgPT09IHdpbmRvdy5meWx0ZXIuRklMVEVSX1NUQVRFLkVSUk9SICkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgXG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBDaGVjayBpZiBhbnkgZmlsdGVyIGluIHRoZSBzZXQgaGFzIGEgZGlzYWJsZWQgc3RhdGVcbiAgICAgKiBcbiAgICAgKiBAcGFyYW0ge0FycmF5LjxGaWx0ZXI+fSBmaWx0ZXJzXG4gICAgICogQHJldHVybiB7Ym9vbGVhbn0gd2V0aGVyIGFueSBmaWx0ZXIgaXMgaW4gZGlzYWJsZWQgc3RhdGVcbiAgICAgKi9cbiAgICBzdGF0aWMgYW55RGlzYWJsZWQoIGZpbHRlcnMgKSB7XG4gICAgICAgIGZvciggbGV0IGZDb3VudCA9IDAgOyBmQ291bnQgPCBmaWx0ZXJzLmxlbmd0aDsgZkNvdW50KysgKSB7XG4gICAgICAgICAgICBjb25zdCBmaW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n0gcHJvbWlzZSB0aGF0IHJlc29sdmVzIHdpdGggZGF0YVxuICAgICAqL1xuICAgIF9nZXREYXRhUHJvbWlzZSggaW5pdGlhdGluZ0ZpbHRlcnMgKSB7XG4gICAgICAgIGNvbnN0IGRhdGFSZXN1bHQgPSB0aGlzLmNvbmZpZy5kYXRhKCBpbml0aWF0aW5nRmlsdGVycyApO1xuXG4gICAgICAgIHN3aXRjaCAoIHR5cGVvZiBkYXRhUmVzdWx0ICkge1xuICAgIFxuICAgICAgICAgICAgY2FzZSAnc3RyaW5nJzpcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5jb25maWcuZGF0YUZldGNoSW1wbGVtZW50YXRpb24oIHRoaXMuX2J1aWxkQVBJVXJsKCBkYXRhUmVzdWx0ICkgKVxuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAnb2JqZWN0JzpcbiAgICAgICAgICAgICAgICBpZiAoIGRhdGFSZXN1bHQgaW5zdGFuY2VvZiBBcnJheSApIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSggZGF0YVJlc3VsdCApO1xuICAgICAgICAgICAgICAgIH1cbiAgICBcbiAgICAgICAgICAgICAgICBpZiAoIGRhdGFSZXN1bHQgaW5zdGFuY2VvZiBQcm9taXNlICkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZGF0YVJlc3VsdDtcbiAgICAgICAgICAgICAgICB9XG4gICAgXG4gICAgICAgICAgICAgICAgd2luZG93LmZ5bHRlci5GaWx0ZXIud2FybiggdGhpcy5nZXROYW1lKCksICdGaWx0ZXIgZGF0YSBuZWVkcyB0byBiZSBhIGFwaSBlbmRwb2ludCAoc3RyaW5nKSBhbiBhcnJheSBvciBwcm9taXNlJyApO1xuICAgICAgICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUoIFtdICk7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIHdpb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1cnJlbnRJZCggZmFsc2UgKTtcbiAgICAgICAgICAgIHRoaXMuc2V0U3RhdGUoIHdpbmRvdy5meWx0ZXIuRklMVEVSX1NUQVRFLkRJU0FCTEVEICk7XG4gICAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLnNldFN0YXRlKCB3aW5kb3cuZnlsdGVyLkZJTFRFUl9TVEFURS5MT0FESU5HICk7XG4gICAgICAgIHJldHVybiB0aGlzLl9nZXREYXRhUHJvbWlzZSggaW5pdGlhdGluZ0ZpbHRlcnMgKVxuICAgICAgICAgICAgLnRoZW4oIGRhdGEgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuc2V0UmF3T3B0aW9uc0RhdGEoIGRhdGEgKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5jb25maWcubWlkZGxlV2FyZXMuYmVmb3JlT3B0aW9uVXBkYXRlKCBkYXRhICk7XG4gICAgICAgICAgICB9IClcbiAgICAgICAgICAgIC50aGVuKCBvcHRpb25zID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnNldE9wdGlvbkxpc3QoIG9wdGlvbnMgKTtcbiAgICAgICAgICAgICAgICBpZiAoIG9wdGlvbnMgJiYgb3B0aW9ucy5sZW5ndGggKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0Q3VycmVudElkKCB0aGlzLmNvbmZpZy5taWRkbGVXYXJlcy5kZWNpZGVEZWZhdWx0KCB0aGlzLmdldE9wdGlvbkxpc3QoKSApICk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyKCk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0U3RhdGUoIHdpbmRvdy5meWx0ZXIuRklMVEVSX1NUQVRFLklETEUgKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldFN0YXRlKCB3aW5kb3cuZnlsdGVyLkZJTFRFUl9TVEFURS5ESVNBQkxFRCApO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgfSApXG4gICAgICAgICAgICAuY2F0Y2goIGVycm9yID0+IHtcbiAgICAgICAgICAgICAgICBGaWx0ZXIud2FybiggdGhpcy5nZXROYW1lKCksIGVycm9yLnRvU3RyaW5nKCkgKTtcbiAgICAgICAgICAgICAgICB0aGlzLnNldFN0YXRlKCB3aW5kb3cuZnlsdGVyLkZJTFRFUl9TVEFURS5FUlJPUiApO1xuICAgICAgICAgICAgfSApO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEdldCB0aGUgbmFtZSBvZiB0aGlzIGZpbHRlclxuICAgICAqXG4gICAgICogQHJldHVybiB7U3RyaW5nfSB0aGUgbmFtZSBvZiB0aGUgZmlsdGVyXG4gICAgICovXG4gICAgZ2V0TmFtZSgpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuY29uZmlnLm5hbWU7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogZ2V0IHRoZSBuYW1lcyBvZiB0aGUgZmlsdGVycyB0aGF0IHRoaXMgZmlsdGVyIGRlcGVuZHMgb25cbiAgICAgKlxuICAgICAqIEByZXR1cm4ge0FycmF5LjxTdHJpbmc+fSB0aGUgZmlsdGVyIG5hbWVzXG4gICAgICovXG4gICAgZ2V0RGVwZW5kZW5jaWVzKCkge1xuICAgICAgICByZXR1cm4gdGhpcy5jb25maWcuZGVwZW5kc09uIHx8IFtdO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIERldGVybWluZSBpZiB0aGUgZmlsdGVyIGlzIGRpc2FibGVkXG4gICAgICpcbiAgICAgKiBAcmV0dXJuIHtCb29sZWFufSB3ZXRoZXIgdGhpcyBmaWx0ZXIgaXMgY3VycmVudGx5IGRpc2FibGVkXG4gICAgICovXG4gICAgaXNEaXNhYmxlZCgpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZ2V0U3RhdGUoKSA9PT0gRklMVEVSX1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gICAgKiBAb3ZlcnJpZGVcbiAgICAgKi9cbiAgICBzZXRQYXJlbnQoIG5vZGUgKSB7XG5cbiAgICAgICAgc3VwZXIuc2V0UGFyZW50KCBub2RlICk7XG4gICAgICAgIC8qXG4gICAgICAgICAgICBGb3IgZmlsdGVycyB3aXRoIG11bHRpcGxlIGRlcGVuZGVuY2llcyB3ZSBvbmx5IHdhbnQgdGhlIGluaXRpYWwgdXBkYXRlIGV2ZW50IHRvIGJlIGNhbGxlZFxuICAgICAgICAgICAgb25jZS4gTm90IG9uY2UgZm9yIGVhY2ggcGFyZW50IHRoYXQgdXBkYXRlcy4gU28gd2Uga2VlcCBhIGNvdW50ZXIgYWJvdXQgaG93IG1hbnkgaW52b2NhdGlvbnNcbiAgICAgICAgICAgI
12HdlIGFyZSBleHBlY3RpbmcgYmVmb3JlIHdlIGNhbiBhbGxvdyB0aGUgaW5pdCBldmVudCB0byBiZSBmaXJlZC5cbiAgICAgICAgKi9cbiAgICAgICAgdGhpcy5pbml0Q291bnQgPSB0eXBlb2YgdGhpcy5pbml0Q291bnQgPT09ICd1bmRlZmluZWQnID8gMCA6IHRoaXMucGFyZW50cy5sZW5ndGggLSAxO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIFNhdmUgYSByZWZlcmVuY2UgdG8gdGhlIG9wdGlvbnMgZGF0YSBiZWZvcmUgaXQgaXMgY29udmVydGVkIHRvIGFuIEFycmF5LjxPcHRpb25zPlxuICAgICAqIFxuICAgICAqIEBwYXJhbSB7b2JqZWN0fSBkYXRhIFxuICAgICAqL1xuICAgIHNldFJhd09wdGlvbnNEYXRhKCBkYXRhICkge1xuICAgICAgICB0aGlzLnJhd09wdGlvbnNEYXRhID0gZGF0YTtcbiAgICB9XG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9saWIvanMvZmlsdGVyL0ZpbHRlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///1\n")},function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Class representing the functions that must be implemented by a custom filter\n * @interface\n */\nvar FilterInterface = exports.FilterInterface = function () {\n function FilterInterface() {\n _classCallCheck(this, FilterInterface);\n }\n\n /**\n * This function will be called with a callback function by fylter library code.\n * You can then store this callback reference and invoke it with the value of the option\n * that was seldcted when this happens in you rimplementation\n *\n * @param {Function} callback the callback function that accepts a single 'value' argument\n */\n\n\n _createClass(FilterInterface, [{\n key: 'setSelectedCallback',\n value: function setSelectedCallback(callback) {\n console.warn('setSelectedCallback should be overridden by a implementing class');\n }\n\n /**\n * Your custom implmentation should provide a way to set the value of a filter programatically given\n * an ID of an option\n *\n * @param {String} id the id of the option to set\n */\n\n }, {\n key: 'setValue',\n value: function setValue(id) {\n console.warn('setValue should be overridden by a implementing class');\n }\n\n /**\n * The main render function that will be called to add the filter to the DOM\n *\n * @param {String} title the title of the filter\n * @param {Array.<Option>} options the set of options to render\n * @param {String} defaultOptionValue the ID of the option that is currently selected\n */\n\n }, {\n key: 'render',\n value: function render(title, options, defaultOptionValue) {\n console.warn('render should be overridden by a implementing class');\n }\n\n /**\n * Your custom implementation should provide a loading state for the filter this will be invoked when\n * the filter starts to fetch data\n *\n * @param {String} title the title of the filter\n */\n\n }, {\n key: 'setLoadingState',\n value: function setLoadingState(title) {\n console.warn('setLoading should be overridden by a implementing class');\n }\n\n /**\n * Remove the loading state from tge filter called by library code when the data has been fetched\n *\n * @param {String} title the title of the filter\n */\n\n }, {\n key: 'removeLoadingState',\n value: function removeLoadingState(title) {\n console.warn('removeLoading should be overridden by a implementing class');\n }\n\n /**\n * Disable the filter so that the user cannot interact with it\n *\n * @param {String} title the title of the filter\n */\n\n }, {\n key: 'setDisabledState',\n value: function setDisabledState(title) {\n console.warn('setDisabledState should be overridden by a implementing class');\n }\n\n /**\n * Something has gone wrong with the filter ! display an error state to the user\n */\n\n }, {\n key: 'setErrorState',\n value: function setErrorState() {\n console.warn('setErrorState should be overridden by a implementing class');\n }\n\n /**\n * Allows you to keep a reference to the container element and when rendering your custom markup should go into this container\n * @param {HTMLElement} container the container where the filter should be rendered\n */\n\n }, {\n key: 'setContainer',\n value: function setContainer(container) {\n console.warn('setContainer should be overridden by a implementing class');\n }\n }]);\n\n return FilterInterface;\n}();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvZmlsdGVyL0ZpbHRlckludGVyZmFjZS5qcz83ZjRlIl0sIm5hbWVzIjpbIkZpbHRlckludGVyZmFjZSIsImNhbGxiYWNrIiwiY29uc29sZSIsIndhcm4iLCJpZCIsInRpdGxlIiwib3B0aW9ucyIsImRlZmF1bHRPcHRpb25WYWx1ZSIsImNvbn
12RhaW5lciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBOzs7O0lBSWFBLGUsV0FBQUEsZTtBQUVULDZCQUFjO0FBQUE7QUFBRTs7QUFFaEI7Ozs7Ozs7Ozs7O3dDQU9xQkMsUSxFQUFXO0FBQzVCQyxjQUFRQyxJQUFSLENBQWMsa0VBQWQ7QUFDSDs7QUFFRDs7Ozs7Ozs7OzZCQU1VQyxFLEVBQUs7QUFDWEYsY0FBUUMsSUFBUixDQUFjLHVEQUFkO0FBQ0g7O0FBRUQ7Ozs7Ozs7Ozs7Mk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sZCBiZSByZW5kZXJlZFxuICAgICAqL1xuICAgIHNldENvbnRhaW5lciggY29udGFpbmVyICkge1xuICAgICAgICBjb25zb2xlLndhcm4oICdzZXRDb250YWluZXIgc2hvdWxkIGJlIG92ZXJyaWRkZW4gYnkgYSBpbXBsZW1lbnRpbmcgY2xhc3MnICk7XG4gICAgfVxuXG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9saWIvanMvZmlsdGVyL0ZpbHRlckludGVyZmFjZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///2\n")},function(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});
12\nexports.FILTER_STATE = exports.FilterInterface = exports.Filter = exports.FilterSet = undefined;\n\nvar _FilterSet = __webpack_require__(4);\n\nvar _Filter = __webpack_require__(1);\n\nvar _FilterInterface = __webpack_require__(2);\n\nvar _Enum = __webpack_require__(0);\n\nexports.FilterSet = _FilterSet.FilterSet;\nexports.Filter = _Filter.Filter;\nexports.FilterInterface = _FilterInterface.FilterInterface;\nexports.FILTER_STATE = _Enum.FILTER_STATE;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvSW5kZXguanM/Y2RlMiJdLCJuYW1lcyI6WyJGaWx0ZXJTZXQiLCJGaWx0ZXIiLCJGaWx0ZXJJbnRlcmZhY2UiLCJGSUxURVJfU1RBVEUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7UUFHSUEsUyxHQUFBQSxvQjtRQUNBQyxNLEdBQUFBLGM7UUFDQUMsZSxHQUFBQSxnQztRQUNBQyxZLEdBQUFBLGtCIiwiZmlsZSI6IjMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGaWx0ZXJTZXQgfSBmcm9tICcuL2ZpbHRlci1zZXQvRmlsdGVyU2V0LmpzJztcbmltcG9ydCB7IEZpbHRlciB9IGZyb20gJy4vZmlsdGVyL0ZpbHRlci5qcyc7XG5pbXBvcnQgeyBGaWx0ZXJJbnRlcmZhY2UgfSBmcm9tICcuL2ZpbHRlci9GaWx0ZXJJbnRlcmZhY2UuanMnO1xuaW1wb3J0IHsgRklMVEVSX1NUQVRFIH0gZnJvbSAnLi9lbnVtL0VudW0uanMnO1xuXG5leHBvcnQge1xuICAgIEZpbHRlclNldCxcbiAgICBGaWx0ZXIsXG4gICAgRmlsdGVySW50ZXJmYWNlLFxuICAgIEZJTFRFUl9TVEFURVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL2xpYi9qcy9JbmRleC5qcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///3\n')},function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FilterSet = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Filter = __webpack_require__(1);\n\nvar _Request = __webpack_require__(7);\n\nvar _Enum = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * The configuration needed to create a filterset\n * @typedef {Object} FilterSetConfig\n * @property {Array.<FilterConfig>} filters the set of filters to create\n * @property {Function} onUpdate function that is passed a single parameter Array.<C~CurrentFilterValue> when the filter reaches a new state\n * @property {Function} dataFetchImplementation the function that is used to fetch data, takes a URL and must return a promise in your implementation\n */\n\n/**\n * Filter Set clas, this is the main class exported from the library\n */\nvar FilterSet = exports.FilterSet = function () {\n _createClass(FilterSet, [{\n key: '_getFilterByName',\n\n\n /**\n * Fetch a filter by providing its name\n *\n * @param {String} name name of the filter\n * @param {Array.<Filter>} filters the set of filters\n * @return {Filter|null} the filter found or null\n */\n value: function _getFilterByName(name, filters) {\n for (var g = 0; g < filters.length; g++) {\n var filter = filters[g];\n if (filter.getName() === name) {\n return filter;\n }\n }\n }\n\n /**\n * Filter dependencies are represented as a tree structure, every filter class extends TreeNode which provides the node behaviour\n * This function builds that tree.\n *\n * @param {Array.<Filter>} filters the set of filters\n */\n\n }, {\n key: '_buildTree',\n value: function _buildTree(filters) {\n var _this = this;
12\n\n filters.forEach(function (filter) {\n var deps = filter.getDependencies();\n if (deps.length === 0) {\n return;\n }\n\n deps.forEach(function (depName) {\n var depFilter = _this._getFilterByName(depName, filters);\n depFilter.addChild(filter);\n });\n });\n }\n\n /**\n * We can immediatley determine which filters will be updated when a filter is changed by following its dependency tree\n * So here we do this and set these filters to loading state while we do any work needed to update them.\n *\n * This is done recursivley on children of a given filter\n *\n * @param {Filter} filter the filter whose children to set loading\n */\n\n }, {\n key: '_setAffectedFiltersLoading',\n value: function _setAffectedFiltersLoading(filter) {\n\n if (!filter.hasChildren()) {\n return;\n }\n\n for (var x = 0; x < filter.getChildren().length; x++) {\n var child = filter.getChildren()[x];\n child.setState(_Enum.FILTER_STATE.LOADING);\n this._setAffectedFiltersLoading(child);\n }\n }\n\n /**\n * Set all filters in the tree to a particular state\n *\n * @param {FilterState} state the state to set\n */\n\n }, {\n key: '_setAllFiltersToState',\n value: function _setAllFiltersToState(state) {\n\n this.filters.forEach(function (filter) {\n filter.setState(state);\n });\n }\n }, {\n key: '_getAllChildren',\n\n\n /**\n * Fetch all the children for a given set of filters\n *\n * @param {Array.<Filter>} filters the filters\n * @return {Array.<Filter>} the resulting children\n */\n value: function _getAllChildren(filters) {\n return filters.reduce(function (array, filter) {\n return array.concat(filter.getChildren());\n }, []);\n }\n\n /**\n * get all children of a set of nodes that are ready to be updated\n * \n * @param {Array.<TreeNode>} filters the set of filters\n */\n\n }, {\n key: '_getAllReadyChildren',\n value: function _getAllReadyChildren(filters) {\n return filters.reduce(function (array, filter) {\n\n var filterChildren = filter.getChildren();\n var readyChildren = [];\n\n for (var fCount = 0; fCount < filterChildren.length; fCount++) {\n var child = filterChildren[fCount];\n if (child.readyToUpdateFromDependency()) {\n readyChildren.push(child);\n } else {\n child.decrementInitCount();\n }\n }\n\n return array.concat(readyChildren);\n }, []);\n }\n\n /**\n * This is the main update function that is called when a filter is updated, Ite evaluates each\n * level of the dependency tree in turn and returns a promise to resolve the next level the promise is\n * resolved when there are no more children to update\n *\n * @param {Array.<Filter>} filters the filters which have children that need to be resolved\n * @return {Promise} promise that resolves when all updates are complete\n */\n\n }, {\n key: '_updateFilterTree',\n value: function _updateFilterTree(filters) {\n var _this2 = this;\n\n var allChildren = this._getAllReadyChildren(filters);\n\n if (allChildren.length === 0) {\n return Promise.resolve();\n }\n\n var treeLevelPromises = allChildren.map(function (filterChild) {\n return filterChild.dependencyDidUpdate(filterChild.getParents());\n });\n\n return Promise.all(treeLevelPromises).then(function () {\n return _this2._updateFilterTree(allChildren);\n }
12).catch(function (error) {\n _this2._catchGenericError(error);\n });\n }\n\n /**\n * Something went wrong in the filters, show the error in the console and set the filter states to error. The update callback\n * will not have been called if an error was thrown so make sure this is invoked also\n *\n * @param {Error} error the error thrown\n */\n\n }, {\n key: '_catchGenericError',\n value: function _catchGenericError(error) {\n console.warn(error);\n this._setAllFiltersToState(_Enum.FILTER_STATE.ERROR);\n this.config.onUpdate(this._getFilterStates());\n }\n\n /**\n * Function that begins the filter updating process\n *\n * @param {Filter} filter The filter that was updated\n * @return {Promise} promise that resolves when the update is complete, state has been updated and user callback invoked\n */\n\n }, {\n key: '_onFilterUpdated',\n value: function _onFilterUpdated(filter) {\n var _this3 = this;\n\n this._setAffectedFiltersLoading(filter);\n return this._updateFilterTree([filter]).then(function () {\n // if the state is initialising\n if (_this3.getState() !== _Enum.FILTER_SET_STATE.INITIALISING && _this3.getState() !== _Enum.FILTER_SET_STATE.RESETTING) {\n _this3.config.onUpdate(_this3._getFilterStates());\n }\n });\n }\n\n /**\n * takes in the configs and creates Filter class instances from these\n *\n * @param {Array.<FilterConfig>} filterConfigs the configurations\n * @return {Array.<Filter>} the constructed instances\n */\n\n }, {\n key: '_buildFilterInstances',\n value: function _buildFilterInstances(filterConfigs) {\n var _this4 = this;\n\n return filterConfigs.map(function (config) {\n return new _Filter.Filter(_extends({}, config, {\n wrapper: _this4.container,\n onOptionSelected: _this4._onFilterUpdated.bind(_this4),\n dataFetchImplementation: _this4.config.dataFetchImplementation\n }));\n });\n }\n\n /**\n * Function that is called only once when the filters are initialising. It will tell all the root filters\n * to fetch their data and render. The normal dependency behaviour will then handle the rest of the updates\n */\n\n }, {\n key: '_initialiseFilters',\n value: function _initialiseFilters() {\n var _this5 = this;\n\n var rootResolution = this.filters.map(function (filter) {\n if (filter.isRoot()) {\n return filter.init();\n }\n });\n\n Promise.all(rootResolution).then(function () {\n _this5.setState(_Enum.FILTER_SET_STATE.IDLE);\n _this5.config.onUpdate(_this5._getFilterStates());\n });\n }\n\n /**\n * Set the state of the filter set\n *\n * @param {FilterSetState} state state to set\n */\n\n }, {\n key: 'setState',\n value: function setState(state) {\n this.state = state;\n }\n\n /**\n * Get the current state of the filter\n *\n * @return {FilterSetState} th current state\n */\n\n }, {\n key: 'getState',\n value: function getState() {\n return this.state;\n }\n\n /**\n * Get the state of each filter\n *\n * @return {Array.<CurrentFilterValue>} the curretn states\n */\n\n }, {\n key: '_getFilterStates',\n value: function _getFilterStates() {\n return this.filters.map(function (filter) {\n return filter.getCurrentOption();\n });\n }\n\n /**\n * Begin the process of resetting the filters to their original value\n *\n * @return {Promise} promise that resolves when the filter has been reset\n */\n\n }, {\n key: 'reset',\n value: function reset() {\n var _this6 = this;\n\n this.setState(_Enum.FILTER_SET_STATE.RESETTING);\n var resetPromises = this.filters.map(function (filter) {\n if (filter.isRoot()) {\n return filter.reset();\n }\n });\n\n return Promise.all(resetPromises).then(function () {\n _this6.setState(_Enum.FILTER_SET_STATE.IDLE);\n _this6.config.onUpdate(_this6._getFilterStates());\n }).catch(function (error) {\n _this6._catchGenericError(error);\n });\n }
12\n\n /**\n * Renders neccacary elements into the container\n */\n\n }, {\n key: '_render',\n value: function _render() {\n var _this7 = this;\n\n var button = document.createElement('button');\n button.innerText = 'Reset';\n button.onclick = function () {\n _this7.reset();\n };\n button.classList.add('reset');\n this.container.appendChild(button);\n }\n\n /**\n * Construct the filter set\n *\n * @param {HTMLElement} container container where filters are to be rendered\n * @param {FilterSetConfig} config the configuration\n */\n\n }], [{\n key: 'DEFAULT_CONFIG',\n\n\n /**\n * Get the default configuration for the filterSet\n *\n * @returns {FilterSetConfig} the default config\n */\n value: function DEFAULT_CONFIG() {\n return {\n filters: [],\n onUpdate: function onUpdate() {},\n dataFetchImplementation: function dataFetchImplementation(url) {\n return (0, _Request.promiseRequest)(url, 'GET');\n }\n };\n }\n }]);\n\n function FilterSet(container, config) {\n _classCallCheck(this, FilterSet);\n\n this.setState(_Enum.FILTER_SET_STATE.INITIALISING);\n this.container = container;\n this.config = _extends({}, FilterSet.DEFAULT_CONFIG(), config);\n this.filterTree = null;\n this.filters = this._buildFilterInstances(config.filters);\n this._buildTree(this.filters);\n this._initialiseFilters();\n this._render();\n }\n\n /**\n * Get the filter instances\n *\n * @return {Array.<Filter>} the filters\n */\n\n\n _createClass(FilterSet, [{\n key: 'getInstances',\n value: function getInstances() {\n return this.filters;\n }\n }]);\n\n return FilterSet;\n}();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2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AgICB9LCBbXSApO1xuICAgIH1cblxuXG4gICAgLyoqXG4gICAgICogZ2V0IGFsbCBjaGlsZHJlbiBvZiBhIHNldCBvZiBub2RlcyB0aGF0IGFyZSByZWFkeSB0byBiZSB1cGRhdGVkXG4gICAgICogXG4gICAgICogQHBhcmFtIHtBcnJheS48VHJlZU5vZGU+fSBmaWx0ZXJzIHRoZSBzZXQgb2YgZmlsdGVyc1xuICAgICAqL1xuICAgIF9nZXRBbGxSZWFkeUNoaWxkcmVuKCBmaWx0ZXJzICkge1xuICAgICAgICByZXR1cm4gZmlsdGVycy5yZWR1Y2UoICggYXJyYXksIGZpbHRlciApID0+IHtcblxuICAgICAgICAgICAgY29uc3QgZmlsdGVyQ2hpbGRyZW4gPSBmaWx0ZXIuZ2V0Q2hpbGRyZW4oKTtcbiAgICAgICAgICAgIGNvbnN0IHJlYWR5Q2hpbGRyZW4gPSBbXTtcbiAgICBcbiAgICAgICAgICAgIGZvciAoIGxldCBmQ291bnQgPSAwOyBmQ291bnQgPCBmaWx0ZXJDaGlsZHJlbi5sZW5ndGg7IGZDb3VudCsrICkge1xuICAgICAgICAgICAgICAgIGNvbnN0IGNoaWxkID0gZmlsdGVyQ2hpbGRyZW5bIGZDb3VudCBdO1xuICAgICAgICAgICAgICAgIGlmICggY2hpbGQucmVhZHlUb1VwZGF0ZUZyb21EZXBlbmRlbmN5KCkgKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlYWR5Q2hpbGRyZW4ucHVzaCggY2hpbGQgKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBjaGlsZC5kZWNyZW1lbnRJbml0Q291bnQoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgXG4gICAgICAgICAgICByZXR1cm4gYXJyYXkuY29uY2F0KCByZWFkeUNoaWxkcmVuICk7XG4gICAgICAgIH0sIFtdICk7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogVGhpcyBp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AgICAgIHJldHVybiBmaWx0ZXIuZ2V0Q3VycmVudE9wdGlvbigpO1xuICAgICAgICB9ICk7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogQmVnaW4gdGhlIHByb2Nlc3Mgb2YgcmVzZXR0aW5nIHRoZSBmaWx0ZXJzIHRvIHRoZWlyIG9yaWdpbmFsIHZhbHVlXG4gICAgICpcbiAgICAgKiBAcmV0dXJuIHtQcm9taXNlfSBwcm9taXNlIHRoYXQgcmVzb2x2ZXMgd2hlbiB0aGUgZmlsdGVyIGhhcyBiZWVuIHJlc2V0XG4gICAgICovXG4gICAgcmVzZXQoKSB7XG4gICAgICAgIHRoaXMuc2V0U3RhdGUoIEZJTFRFUl9TRVRfU1RBVEUuUkVTRVRUSU5HICk7XG4gICAgICAgIGNvbnN0IHJlc2V0UHJvbWlzZXMgPSB0aGlzLmZpbHRlcnMubWFwKCBmaWx0ZXIgPT4ge1xuICAgICAgICAgICAgaWYgKCBmaWx0ZXIuaXNSb290KCkgKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZpbHRlci5yZXNldCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9ICk7XG5cbiAgICAgICAgcmV0dXJuIFByb21pc2UuYWxsKCByZXNldFByb21pc2VzIClcbiAgICAgICAgICAgIC50aGVuKCAoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5zZXRTdGF0ZSggRklMVEVSX1NFVF9TVEFURS5JRExFICk7XG4gICAgICAgICAgICAgICAgdGhpcy5jb25maWcub25VcGRhdGUoIHRoaXMuX2dldEZpbHRlclN0YXRlcygpICk7XG4gICAgICAgICAgICB9IClcbiAgICAgICAgICAgIC5jYXRjaCggZXJyb3IgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuX2NhdGNoR2VuZXJpY0Vycm9yKCBlcnJvciApO1xuICAgICAgICAgICAgfSApXG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogUmVuZGVycyBuZWNjYWNhcnkgZWxlbWVudH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cmVlKCB0aGlzLmZpbHRlcnMgKTtcbiAgICAgICAgdGhpcy5faW5pdGlhbGlzZUZpbHRlcnMoKTtcbiAgICAgICAgdGhpcy5fcmVuZGVyKCk7XG5cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBHZXQgdGhlIGZpbHRlciBpbnN0YW5jZXNcbiAgICAgKlxuICAgICAqIEByZXR1cm4ge0FycmF5LjxGaWx0ZXI+fSB0aGUgZmlsdGVyc1xuICAgICAqL1xuICAgIGdldEluc3RhbmNlcygpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZmlsdGVycztcbiAgICB9XG59XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9saWIvanMvZmlsdGVyLXNldC9GaWx0ZXJTZXQuanMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///4\n")},function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Class the describes a simple node in a treew data structure. Each filter is modeled as a element in a tree and this\n * is how the dependencies are modeled and evaluated, dependencies are represented as a parent child relationship.\n * Here we provide helper methods for evalutaing these relationships.\n */\nvar TreeNode = exports.TreeNode = function () {\n\n /**\n * initialise the tree node with no parent and no children\n */\n function TreeNode() {\n _classCallCheck(this, TreeNode);\n\n this.parent = null;\n this.children = [];\n }\n\n /**\n * Is a given node a child of this node?\n *\n * @param {TreeNode} node the node to check\n * @return {Boolean} if the given node is a child of a parent\n */\n\n\n _createClass(TreeNode, [{\n key: 'hasChild',\n value: function hasChild(node) {\n\n return this.children.indexOf(node) > -1;\n }\n\n /**\n * Check wether the given node is the parent of this node\n *\n * @param {TreeNode} node node to check\n * @return {Boolean} wether the given node is a preant of this node\n */\n\n }, {\n key: 'parentIs',\n value: function parentIs(node) {\n if (!this.parents) {\n return false;\n }\n\n return this.parents.indexOf(node) > -1;\n }\n\n /**\n * Add a TreeNode as a child of this node and set it as parent value\n *\n * @param {TreeNode} node the node to add as a child\n */\n\n }, {\n key: 'addChild',\n value: function addChild(node) {\n\n if (this.hasChild(node)) {\n throw new Error('Attempted to add a child that already exists');\n return;\n }\n\n if (this.parentIs(node)) {\n throw new Error('Attempted to create a cyclic dependency, adding a child that is already the parent');\n return;\n }\n\n this.children.push(node);\n node.setParent(this);\n }\n\n /**\n * Wether the node has any children at the moment\n *\n * @return {Boolean} wether the node has any children\n */\n\n }, {\n key: 'hasChildren',\n value: function hasChildren() {\n return this.children.length > 0;\n }\n\n /**\n * Add a given node as a parent of this node\n *\n * @param {TreeNode} node the parent to set\n */\n\n }, {\n key: 'setParent',\n value: function setParent(node) {\n\n this.parents = this.parents || [];\n\n if (this.hasChild(node)) {\n throw new Error('Attempted to create a cyclic dependency, adding a parent that is already a child');\n return;\n }\n\n if (this.parentIs(node)) {\n throw new Error('Attempted to set a parent that is already the parent');\n return;\n }\n\n this.parents.push(node);\n }
12\n\n /**\n * A root node is a node with no parents, i.e. this node is dependant on no others\n *\n * @return {Boolean} Wether the node is a child\n */\n\n }, {\n key: 'isRoot',\n value: function isRoot() {\n return !this.parents;\n }\n\n /**\n * Get all the children of this node\n *\n * @return {Array.<TreeNode>} the children\n */\n\n }, {\n key: 'getChildren',\n value: function getChildren() {\n return this.children;\n }\n\n /**\n * Get the current parents\n *\n * @return {Array.<TreeNode>} the parent or empty array\n */\n\n }, {\n key: 'getParents',\n value: function getParents() {\n return this.parents || [];\n }\n }]);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ZGUgKTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBBIHJvb3Qgbm9kZSBpcyBhIG5vZGUgd2l0aCBubyBwYXJlbnRzLCBpLmUuIHRoaXMgbm9kZSBpcyBkZXBlbmRhbnQgb24gbm8gb3RoZXJzXG4gICAgICpcbiAgICAgKiBAcmV0dXJuIHtCb29sZWFufSBXZXRoZXIgdGhlIG5vZGUgaXMgYSBjaGlsZFxuICAgICAqL1xuICAgIGlzUm9vdCAoKSB7XG4gICAgICAgIHJldHVybiAhdGhpcy5wYXJlbnRzO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEdldCBhbGwgdGhlIGNoaWxkcmVuIG9mIHRoaXMgbm9kZVxuICAgICAqXG4gICAgICogQHJldHVybiB7QXJyYXkuPFRyZWVOb2RlPn0gdGhlIGNoaWxkcmVuXG4gICAgICovXG4gICAgZ2V0Q2hpbGRyZW4gKCkge1xuICAgICAgICByZXR1cm4gdGhpcy5jaGlsZHJlbjtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBHZXQgdGhlIGN1cnJlbnQgcGFyZW50c1xuICAgICAqXG4gICAgICogQHJldHVybiB7QXJyYXkuPFRyZWVOb2RlPn0gdGhlIHBhcmVudCBvciBlbXB0eSBhcnJheVxuICAgICAqL1xuICAgIGdldFBhcmVudHMoKSB7XG4gICAgICAgIHJldHVybiB0aGlzLnBhcmVudHMgfHwgW107XG4gICAgfVxufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vbGliL2pzL3RyZWUvVHJlZU5vZGUuanMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///5\n")},function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NativeSelectFilter = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _FilterInterface2 = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
12onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * An example implementation of a custom filter dropdown\n * @implements FilterInterface\n */\nvar NativeSelectFilter = exports.NativeSelectFilter = function (_FilterInterface) {\n _inherits(NativeSelectFilter, _FilterInterface);\n\n function NativeSelectFilter() {\n _classCallCheck(this, NativeSelectFilter);\n\n return _possibleConstructorReturn(this, (NativeSelectFilter.__proto__ || Object.getPrototypeOf(NativeSelectFilter)).call(this));\n }\n\n /**\n * Save a reference to the callback passed by library code\n *\n * @param {Function} callback the callback function that accepts a single 'value' argument\n * @override\n */\n\n\n _createClass(NativeSelectFilter, [{\n key: 'setSelectedCallback',\n value: function setSelectedCallback(callback) {\n\n this.callback = callback;\n }\n\n /**\n * Set a specific value on the select dropdown\n *\n * @param {String} id the id of the option to set\n * @override\n */\n\n }, {\n key: 'setValue',\n value: function setValue(id) {\n var select = this.container.querySelector('select');\n\n if (!select) {\n return;\n }\n\n select.value = id;\n }\n\n /**\n * Callback for when the select dropdown changes its value\n */\n\n }, {\n key: 'onSelect',\n value: function onSelect() {\n\n var select = this.container.querySelector('select');\n\n if (select && select.getBoundingClientRect().width > this.container.getBoundingClientRect().width) {\n this.container.classList.add('filter--overflow');\n } else {\n this.container.classList.remove('filter--overflow');\n }\n\n this.callback(select.value);\n }\n\n /**\n * The main render function that will be called to add the filter to the DOM\n *\n * @param {String} title the title of the filter\n * @param {Array.<Option>} options the set of options to render\n * @param {String} defaultOptionValue the ID of the option that is currently selected\n * @override\n */\n\n }, {\n key: 'render',\n value: function render(title, options, defaultOptionValue) {\n\n this.container.innerHTML = '';\n var elements = this.createSelectElement(title, options, defaultOptionValue);\n this.container.appendChild(elements.label);\n this.container.appendChild(elements.select);\n this.container.appendChild(elements.indicator);\n elements.select.onchange = this.onSelect.bind(this);\n }\n\n /**\n * Create a select element in memory\n *\n * @param {String} name the title of the filter\n * @param {Array.<Option>} options the set of options to render\n * @param {String} defaultValue the ID of the option that is currently selected\n * @return {Object}
12 object containing a select element, label and a indicator element which is colored depending on state\n */\n\n }, {\n key: 'createSelectElement',\n value: function createSelectElement(name, options, defaultValue) {\n var _this2 = this;\n\n var select = document.createElement('select');\n var label = document.createElement('label');\n var indicator = document.createElement('div');\n\n select.id = name;\n label.for = name;\n label.innerText = name;\n select.classList.add('filter__select');\n label.classList.add('filter__label');\n indicator.classList.add('filter__indicator');\n\n options.forEach(function (option) {\n var optionEl = _this2.createOptionElement(option);\n if (option.value === defaultValue) {\n optionEl.selected = 'true';\n }\n select.appendChild(optionEl);\n });\n\n return { label: label, select: select, indicator: indicator };\n }\n\n /**\n * Create a select dropdown <option> element in memory\n *\n * @param {Option} option the option to create\n * @return {HTMLElement} the <option> element\n */\n\n }, {\n key: 'createOptionElement',\n value: function createOptionElement(option) {\n\n var optionEl = document.createElement('option');\n optionEl.value = option.value;\n optionEl.innerText = option.name;\n if (option.default) {\n optionEl.selected = true;\n }\n\n return optionEl;\n }\n\n /**\n * Set the select into a loading state while it fetches data\n * @param {String} title title of the element\n */\n\n }, {\n key: 'setLoadingState',\n value: function setLoadingState(title) {\n this.render(title, [{ name: 'Loading', value: '-1' }], '-1');\n this.container.classList.remove('filter--disabled');\n this.container.classList.add('filter--loading');\n }\n\n /**\n * Get rid of the loading class\n *\n * @param {String} title title of the element\n */\n\n }, {\n key: 'removeLoadingState',\n value: function removeLoadingState(title) {\n this.container.classList.remove('filter--loading');\n }\n\n /**\n * make sure the user cannot interact with the filter\n *\n * @param {String} title title of the element\n */\n\n }, {\n key: 'setDisabledState',\n value: function setDisabledState(title) {\n this.render(title, [{ name: 'Disabled', value: 'disabled' }], 'disabled');\n this.container.classList.add('filter--disabled');\n this.container.classList.remove('filter--loading');\n }\n\n /**\n * Set the filter into a error state as something has gone wrong\n */\n\n }, {\n key: 'setErrorState',\n value: function setErrorState(title) {\n this.render(title, [{ name: 'Error', value: '-1' }], '-1');\n }\n\n /**\n * Set the container so it can be used to render the filter into later\n *\n * @param {HTMLElement} container the filter container\n */\n\n }, {\n key: 'setContainer',\n value: function setContainer(container) {\n this.container = container;\n }\n }]);\n\n return NativeSelectFilter;\n}(_FilterInterface2.FilterInterface);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvZmlsdGVyL05hdGl2ZVNlbGVjdC5qcz9jNzkyIl0sIm5hbWVzIjpbIk5hdGl2ZVNlbGVjdEZpbHRlciIsImNhbGxiYWNrIiwiaWQiLCJzZWxlY3QiLCJjb250YWluZXIiLCJxdWVyeVNlbGVjdG9yIiwidmFsdWUiLCJnZXRCb3VuZGluZ0NsaWVudFJlY3QiLCJ3aWR0aCIsImNsYXNzTGlzdCIsImFkZCIsInJlbW92ZSIsInRpdGxlIiwib3B0aW9ucyIsImRlZmF1bHRPcHRpb25WYWx1ZSIsImlubmVySFRNTCIsImVsZW1lbnRzIiwiY3JlYXRlU2VsZWN0RWxlbWVudCIsImFwcGVuZENoaWxkIiwibGFiZWwiLCJpbmRpY2F0b3IiLC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nRhaW5lciBzbyBpdCBjYW4gYmUgdXNlZCB0byByZW5kZXIgdGhlIGZpbHRlciBpbnRvIGxhdGVyXG4gICAgICpcbiAgICAgKiBAcGFyYW0ge0hUTUxFbGVtZW50fSBjb250YWluZXIgdGhlIGZpbHRlciBjb250YWluZXJcbiAgICAgKi9cbiAgICBzZXRDb250YWluZXIoIGNvbnRhaW5lciApIHtcbiAgICAgICAgdGhpcy5jb250YWluZXIgPSBjb250YWluZXI7XG4gICAgfVxufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vbGliL2pzL2ZpbHRlci9OYXRpdmVTZWxlY3QuanMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///6\n")},function(module,exports,__webpack_require__){"use strict";eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.promiseRequest = undefined;\n\nvar _parameterError = __webpack_require__(8);\n\n/**\n * Very simple in-built data request functionality for filters. You can override this with your own data\n * fetching layer.\n *\n * @param {String} url The URL to call to fetch data\n * @param {String} method get\n * @return {Promise} promise that resolves with data or rejects with error\n */\nvar promiseRequest = exports.promiseRequest = function promiseRequest
12() {\n var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (0, _parameterError.parameterError)('Url must be provided to make request');\n var method = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GET';\n\n\n return new Promise(function (resolve, reject) {\n\n var xhttp = new XMLHttpRequest();\n xhttp.addEventListener('load', function (evt) {\n\n console.log(xhttp.status);\n\n if (xhttp.status < 400 && xhttp.status > 0) {\n try {\n return resolve({\n data: JSON.parse(xhttp.responseText)\n });\n } catch (e) {\n return reject(e);\n }\n }\n\n return reject('Non 200+ response from API');\n });\n\n xhttp.addEventListener('error', reject);\n xhttp.addEventListener('abort', reject);\n xhttp.open(\"GET\", url, true);\n xhttp.send();\n });\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLC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5cbiAgICAgICAgdmFyIHhodHRwID0gbmV3IFhNTEh0dHBSZXF1
12ZXN0KCk7XG4gICAgICAgIHhodHRwLmFkZEV2ZW50TGlzdGVuZXIoICdsb2FkJywgZXZ0ID0+IHtcblxuICAgICAgICAgICAgY29uc29sZS5sb2coIHhodHRwLnN0YXR1cyApO1xuXG4gICAgICAgICAgICBpZiAoIHhodHRwLnN0YXR1cyA8IDQwMCAmJiB4aHR0cC5zdGF0dXMgPiAwICkge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiByZXNvbHZlKCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiBKU09OLnBhcnNlKCB4aHR0cC5yZXNwb25zZVRleHQgKVxuICAgICAgICAgICAgICAgICAgICB9IClcbiAgICAgICAgICAgICAgICB9IGNhdGNoICggZSApIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHJlamVjdCggZSApO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHJlamVjdCggJ05vbiAyMDArIHJlc3BvbnNlIGZyb20gQVBJJyApO1xuXG4gICAgICAgIH0gKTtcblxuICAgICAgICB4aHR0cC5hZGRFdmVudExpc3RlbmVyKCAnZXJyb3InLCByZWplY3QgKVxuICAgICAgICB4aHR0cC5hZGRFdmVudExpc3RlbmVyKCAnYWJvcnQnLCByZWplY3QgKVxuICAgICAgICB4aHR0cC5vcGVuKFwiR0VUXCIsIHVybCwgdHJ1ZSk7XG4gICAgICAgIHhodHRwLnNlbmQoKTtcblxuICAgIH0gKTtcbn1cblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL2xpYi9qcy9uZXR3b3JrL1JlcXVlc3QuanMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///7\n")},function(module,exports,__webpack_require__){"use strict";eval('\n\nObject.defineProperty(exports, "__esModule", {\n value: true\n});\n/**\n * Throw an error when a parameter is wrongly missed out from the function call\n * @param {String} message message to display in error\n * @throws {Error}\n */\nvar parameterError = exports.parameterError = function parameterError(message) {\n throw new Error("Parameter Error " + message);\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9saWIvanMvdXRpbC9wYXJhbWV0ZXJFcnJvci5qcz83YzI3Il0sIm5hbWVzIjpbInBhcmFtZXRlckVycm9yIiwibWVzc2FnZSIsIkVycm9yIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBOzs7OztBQUtPLElBQU1BLDBDQUFpQixTQUFqQkEsY0FBaUIsQ0FBVUMsT0FBVixFQUFvQjtB
12QUM5QyxRQUFNLElBQUlDLEtBQUosc0JBQStCRCxPQUEvQixDQUFOO0FBQ0gsQ0FGTSIsImZpbGUiOiI4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaHJvdyBhbiBlcnJvciB3aGVuIGEgcGFyYW1ldGVyIGlzIHdyb25nbHkgbWlzc2VkIG91dCBmcm9tIHRoZSBmdW5jdGlvbiBjYWxsXG4gKiBAcGFyYW0gIHtTdHJpbmd9IG1lc3NhZ2UgbWVzc2FnZSB0byBkaXNwbGF5IGluIGVycm9yXG4gKiBAdGhyb3dzIHtFcnJvcn1cbiAqL1xuZXhwb3J0IGNvbnN0IHBhcmFtZXRlckVycm9yID0gZnVuY3Rpb24oIG1lc3NhZ2UgKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKCBgUGFyYW1ldGVyIEVycm9yICR7IG1lc3NhZ2UgfWAgKTtcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9saWIvanMvdXRpbC9wYXJhbWV0ZXJFcnJvci5qcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///8\n')}]);!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).clipboard={})}(this,(function(e){"use strict"; 13/*! ***************************************************************************** 14 Copyright (c) Microsoft Corporation. 15 16 Permission to use, copy, modify, and/or distribute this software for any 17 purpose with or without fee is hereby granted. 18 19 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 20 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 21 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 22 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 23 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 24 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 25 PERFORMANCE OF THIS SOFTWARE. 26 ***************************************************************************** */function t(e,t,n,i){return new(n||(n=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function n(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}var i=function(e){};function r(e){i(e)}var a=!0;function o(){return a}(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]");var s,l,c,u,d="undefined"==typeof navigator?void 0:navigator,g=null==d?void 0:d.clipboard,f=null===(s=null==g?void 0:g.read)||void 0===s?void 0:s.bind(g),h=null===(l=null==g?void 0:g.readText)||void 0===l?void 0:l.bind(g),m=null===(c=null==g?void 0:g.write)||void 0===c?void 0:c.bind(g),p=null===(u=null==g?void 0:g.writeText)||void 0===u?void 0:u.bind(g),I="undefined"==typeof window?void 0:window,C=null==I?void 0:I.ClipboardItem,y=I;function A(){return"undefined"==typeof ClipboardEvent&&void 0!==y.clipboardData&&void 0!==y.clipboardData.setData}function b(){return t(this,void 0,void 0,(function(){var e;return n(this,(function(t){if(""===(e=y.clipboardData.getData("Text")))throw new Error("Empty clipboard or could not read plain text from clipboard");return[2,e]}))}))}var v=function(){this.success=!1};function B(e,t,n){for(var i in r("listener called"),e.success=!0,t){var a=t[i],o=n.clipboardData;o.setData(i,a),"text/plain"===i&&o.getData(i)!==a&&(r("setting text/plain failed"),e.success=!1)}n.preventDefault()}function F(e){var t=new v,n=B.bind(this,t,e);document.addEventListener("copy",n);try{document.execCommand("copy")}finally{document.removeEventListener("copy",n)}return t.success}function Q(e,t){U(e);var n=F(t);return G(),n}function U(e){var t=document.getSelection();if(t){var n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}}function G(){var e=document.getSelection();e&&e.removeAllRanges()}function S(e){return t(this,void 0,void 0,(function(){var t;return n(this,(function(n){if(t="text/plain"in e,A()){if(!t)throw new Error("No `text/plain` value was specified.");
26if(i=e["text/plain"],y.clipboardData.setData("Text",i))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var i;return F(e)?(r("regular execCopy worked"),[2,!0]):navigator.userAgent.indexOf("Edge")>-1?(r('UA "Edge" => assuming success'),[2,!0]):Q(document.body,e)?(r("copyUsingTempSelection worked"),[2,!0]):function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important"),t.textContent="temporary element",document.body.appendChild(t);var n=Q(t,e);return document.body.removeChild(t),n}(e)?(r("copyUsingTempElem worked"),[2,!0]):function(e){r("copyTextUsingDOM");var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important");var n=t;t.attachShadow&&(r("Using shadow DOM."),n=t.attachShadow({mode:"open"}));var i=document.createElement("span");i.innerText=e,n.appendChild(i),document.body.appendChild(t),U(i);var a=document.execCommand("copy");return G(),document.body.removeChild(t),a}(e["text/plain"])?(r("copyTextUsingDOM worked"),[2,!0]):[2,!1]}))}))}function x(){return t(this,void 0,void 0,(function(){return n(this,(function(e){if(h)return r("Using `navigator.clipboard.readText()`."),[2,h()];if(A())return r("Reading text using IE strategy."),[2,b()];throw new Error("Read is not supported in your browser.")}))}))}function w(e,t){for(var n=0,i=e;n<i.length;n++)if(-1!==i[n].types.indexOf(t))return!0;return!1}var Z=function(){function e(e,t){var n;for(var i in void 0===t&&(t={}),this.types=Object.keys(e),this._items={},e){var r=e[i];this._items[i]="string"==typeof r?k(i,r):r}this.presentationStyle=null!==(n=null==t?void 0:t.presentationStyle)&&void 0!==n?n:"unspecified"}return e.prototype.getType=function(e){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this._items[e]]}))}))},e}();function k(e,t){return new Blob([t],{type:e})}function V(e){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,new Promise((function(t,n){var i=new FileReader;i.addEventListener("load",(function(){var e=i.result;"string"==typeof e?t(e):n("could not convert blob to string")})),i.readAsText(e)}))]}))}))}function R(e){return t(this,void 0,void 0,(function(){var t,i,r,a,o,s,l;return n(this,(function(n){switch(n.label){case 0:t={},i=0,r=e.types,n.label=1;case 1:return i<r.length?(a=r[i],o=t,s=a,[4,e.getType(a)]):[3,4];case 2:o[s]=n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return l={},e.presentationStyle&&(l.presentationStyle=e.presentationStyle),[2,new C(t,l)]}}))}))}function E(e){var t={};return t["text/plain"]=k(e,"text/plain"),new Z(t)}function L(e,i){return t(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e.getType(i)];case 1:return[4,V(t.sent())];case 2:return[2,t.sent()]}}))}))}function W(e){return t(this,void 0,void 0,(function(){var t,i,r,a,o,s;return n(this,(function(n){switch(n.label){case 0:t={},i=0,r=e.types,n.label=1;case 1:return i<r.length?(a=r[i],o=t,s=a,[4,L(e,a)]):[3,4];case 2:o[s]=n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2,t]}}))}))}e.ClipboardItem=Z,e.read=function(){return t(this,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:return f?(r("Using `navigator.clipboard.read()`."),[2,f()]):(e=E,[4,x()]);case 1:return[2,[e.apply(void 0,[t.sent()])]]}}))}))},e.readText=x,e.setDebugLog=function(e){i=e},e.suppressWarnings=function(){a=!1},e.write=function(e){return t(this,void 0,void 0,(function(){var t,i,a,s;return n(this,(function(n){switch(n.label){case 0:return m&&C?(r("Using `navigator.clipboard.write()`."),[4,Promise.all(e.map(R))]):[3,5];case 1:t=n.sent(),n.label=2;case 2:return n.trys.push([2,4,,5]),[4,m(t)];case 3:return[2,n.sent()];case 4:if(i=n.sent(),!w(e,"text/plain")&&!w(e,"text/html"))throw i;return[3,5];case 5:return a=w(e,"text/plain"),o&&!a&&r("clipboard.write() was called without a `text/plain` data type. On some platforms, this may result in an empty clipboard. Call suppressWarnings() to suppress this warning."),s=S,[4,W(e[0])];case 6:if(!s.apply(void 0,[n.sent()]))throw new Error("write() failed");return[2]}}
26))}))},e.writeText=function(e){return t(this,void 0,void 0,(function(){return n(this,(function(t){if(p)return r("Using `navigator.clipboard.writeText()`."),[2,p(e)];if(!S(function(e){var t={};return t["text/plain"]=e,t}(e)))throw new Error("writeText() failed");return[2]}))}))},Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).immer={})}(this,(function(e){"use strict";var t,n,i,r="undefined"!=typeof Symbol,a="undefined"!=typeof Map,o="undefined"!=typeof Set,s=r?Symbol("immer-nothing"):((t={})["immer-nothing"]=!0,t),l=r?Symbol("immer-draftable"):"__$immer_draftable",c=r?Symbol("immer-state"):"__$immer_state",u=r?Symbol.iterator:"@@iterator",d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function g(e,t){function n(){this.constructor=e}d(e,t),e.prototype=(n.prototype=t.prototype,new n)}function f(e){return!!e&&!!e[c]}function h(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||Array.isArray(e)||!!e[l]||!!e.constructor[l]||b(e)||v(e))}!function(e){e[e.Object=0]="Object",e[e.Array=1]="Array",e[e.Map=2]="Map",e[e.Set=3]="Set"}(n||(n={})),function(e){e[e.ProxyObject=0]="ProxyObject",e[e.ProxyArray=1]="ProxyArray",e[e.ES5Object=2]="ES5Object",e[e.ES5Array=3]="ES5Array",e[e.Map=4]="Map",e[e.Set=5]="Set"}(i||(i={}));var m="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function p(e,t){I(e)===n.Object?m(e).forEach((function(n){return t(n,e[n],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function I(e){if(e||G(),e[c])switch(e[c].type){case i.ES5Object:case i.ProxyObject:return n.Object;case i.ES5Array:case i.ProxyArray:return n.Array;case i.Map:return n.Map;case i.Set:return n.Set}return Array.isArray(e)?n.Array:b(e)?n.Map:v(e)?n.Set:n.Object}function C(e,t){return I(e)===n.Map?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function y(e,t){return I(e)===n.Map?e.get(t):e[t]}function A(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function b(e){return a&&e instanceof Map}function v(e){return o&&e instanceof Set}function B(e){return e.copy||e.base}function F(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return m(e).forEach((function(i){if(i!==c){var r=Object.getOwnPropertyDescriptor(e,i),a=r.value;if(r.get){if(!t)throw new Error("Immer drafts cannot have computed properties");a=r.get.call(e)}r.enumerable?n[i]=a:Object.defineProperty(n,i,{value:a,writable:!0,configurable:!0})}})),n}function Q(e,t){if(h(e)&&!f(e)&&!Object.isFrozen(e)){var i=I(e);i===n.Set?e.add=e.clear=e.delete=U:i===n.Map&&(e.set=e.clear=e.delete=U),Object.freeze(e),t&&p(e,(function(e,t){return Q(t,!0)}))}}function U(){throw new Error("This object has been frozen and should not be mutated")}function G(){throw new Error("Illegal state, please file a bug")}var S=function(){function e(e,t){this.drafts=[],this.parent=e,this.immer=t,this.canAutoFreeze=!0}return e.prototype.usePatches=function(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},e.prototype.revoke=function(){this.leave(),this.drafts.forEach(x),this.drafts=null},e.prototype.leave=function(){this===e.current&&(e.current=this.parent)},e.enter=function(t){var n=new e(e.current,t);return e.current=n,n},e}();function x(e){var t=e[c];t.type===i.ProxyObject||t.type===i.ProxyArray?t.revoke():t.revoked=!0}function w(e,t,n){var i=n.drafts[0],r=void 0!==t&&t!==i;if(e.willFinalize(n,t,r),r){if(i[c].modified)throw n.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");h(t)&&(t=Z(e,t,n),n.parent||V(e,t)),n.patches&&(n.patches.push({op:"replace",path:[],value:t}),n.inversePatches.push({op:"replace",path:[],value:i[c].base}))}else t=Z(e,i,n,[]);return n.revoke(),n.patches&&n.patchListener(n.patches,n.inversePatches),t!==s?t:void 0}function Z(e,t,n,r){var a=t[c];if(!a)return Object.isFrozen(t)?t:k(e,t,n);if(a.scope!==n)return t;if(!a.modified)return V(e,a.base,!0),a.base;if(!a.finalized){if(a.finalized=!0,k(e,a.draft,n,r),e.onDelete&&a.type!==i.Set)if(e.useProxies)p(a.assigned,(function(t,n){n||e.onDelete(a,t)}
26));else{var o=a.base,s=a.copy;p(o,(function(t){C(s,t)||e.onDelete(a,t)}))}e.onCopy&&e.onCopy(a),e.autoFreeze&&n.canAutoFreeze&&Q(a.copy,!1),r&&n.patches&&function(e,t,n,r){switch(e.type){case i.ProxyObject:case i.ES5Object:case i.Map:return function(e,t,n,i){var r=e.base,a=e.copy;p(e.assigned,(function(e,o){var s=y(r,e),l=y(a,e),c=o?C(r,e)?"replace":"add":"remove";if(s!==l||"replace"!==c){var u=t.concat(e);n.push("remove"===c?{op:c,path:u}:{op:c,path:u,value:l}),i.push("add"===c?{op:"remove",path:u}:"remove"===c?{op:"add",path:u,value:s}:{op:"replace",path:u,value:s})}}))}(e,t,n,r);case i.ES5Array:case i.ProxyArray:return function(e,t,n,i){var r,a,o=e.base,s=e.assigned,l=e.copy;l||G(),l.length<o.length&&(o=(r=[l,o])[0],l=r[1],n=(a=[i,n])[0],i=a[1]);for(var c=l.length-o.length,u=0;o[u]===l[u]&&u<o.length;)++u;for(var d=o.length;d>u&&o[d-1]===l[d+c-1];)--d;for(var g=u;g<d;++g)if(s[g]&&l[g]!==o[g]){var f=t.concat([g]);n.push({op:"replace",path:f,value:l[g]}),i.push({op:"replace",path:f,value:o[g]})}var h=n.length;for(g=d+c-1;g>=d;--g){f=t.concat([g]);n[h+g-d]={op:"add",path:f,value:l[g]},i.push({op:"remove",path:f})}}(e,t,n,r);case i.Set:!function(e,t,n,i){var r=e.base,a=e.copy,o=0;r.forEach((function(e){if(!a.has(e)){var r=t.concat([o]);n.push({op:"remove",path:r,value:e}),i.unshift({op:"add",path:r,value:e})}o++})),o=0,a.forEach((function(e){if(!r.has(e)){var a=t.concat([o]);n.push({op:"add",path:a,value:e}),i.unshift({op:"remove",path:a,value:e})}o++}))}(e,t,n,r)}}(a,r,n.patches,n.inversePatches)}return a.copy}function k(e,t,r,a){var o=t[c];return o&&(o.type!==i.ES5Object&&o.type!==i.ES5Array||(o.copy=F(o.draft,!0)),t=o.copy),p(t,(function(i,s){return function e(t,i,r,a,o,s,l,c){if(l===o)throw Error("Immer forbids circular references");var u=!!a&&o===r,d=v(o);if(f(l)){var g=c&&u&&!d&&!C(a.assigned,s)?c.concat(s):void 0;(function(e,t,i){switch(I(e)){case n.Map:e.set(t,i);break;case n.Set:e.delete(t),e.add(i);break;default:e[t]=i}})(o,s,l=Z(t,l,i,g)),f(l)&&(i.canAutoFreeze=!1)}else{if(u&&A(l,y(a.base,s)))return;h(l)&&(p(l,(function(n,o){return e(t,i,r,a,l,n,o,c)})),i.parent||V(t,l))}u&&t.onAssign&&!d&&t.onAssign(a,s,l)}(e,r,t,o,t,i,s,a)})),t}function V(e,t,n){void 0===n&&(n=!1),e.autoFreeze&&!f(t)&&Q(t,n)}var R={get:function(e,t){if(t===c)return e;var n=e.drafts;if(!e.modified&&C(n,t))return n[t];var i=B(e)[t];if(e.finalized||!h(i))return i;if(e.modified){if(i!==L(e.base,t))return i;n=e.copy}return n[t]=e.scope.immer.createProxy(i,e)},has:function(e,t){return t in B(e)},ownKeys:function(e){return Reflect.ownKeys(B(e))},set:function(e,t,n){if(!e.modified){var i=L(e.base,t);if(n?A(i,n)||n===e.drafts[t]:A(i,n)&&t in e.base)return!0;T(e),W(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){return void 0!==L(e.base,t)||t in e.base?(e.assigned[t]=!1,T(e),W(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=B(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=e.type!==i.ProxyArray||"length"!==t),r},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},E={};function L(e,t){var n=e[c],i=Reflect.getOwnPropertyDescriptor(n?B(n):e,t);return i&&i.value}function W(e){if(!e.modified){if(e.modified=!0,e.type===i.ProxyObject||e.type===i.ProxyArray){var t=e.copy=F(e.base);p(e.drafts,(function(e,n){t[e]=n})),e.drafts=void 0}e.parent&&W(e.parent)}}function T(e){e.copy||(e.copy=F(e.base))}function N(e,t){var n=e[c];if(n&&!n.finalizing){n.finalizing=!0;var i=e[t];return n.finalizing=!1,i}return e[t]}function X(e){e.modified||(e.modified=!0,e.parent&&X(e.parent))}function O(e){e.copy||(e.copy=M(e.base))}function M(e){var t=e&&e[c];if(t){t.finalizing=!0;var n=F(t.draft,!0);return t.finalizing=!1,n}return F(e)}p(R,(function(e,t){E[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),E.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer only supports deleting array indices");return R.deleteProperty.call(this,e[0],t)},E.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer only supports setting array indices and the 'length' property");return R.set.call(this,e[0],t,n,e[0])};var D={};function _(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(B(e)))}function Y(e){for(var t=e.length-1;t>=0;t--){var n=e[t][c];if(!n.modified)switch(n.type){case i.ES5Array:z(n)&&X(n);break;case i.ES5Object:H(n)&&X(n)}}}function H(e){for(var t=e.base,n=e.draft,i=Object.keys(n),r=i.length-1;r>=0;r--){var a=i[r],o=t[a];if(void 0===o&&!C(t,a))return!0;var s=n[a],l=s&&s[c];if(l?l.base!==o:!A(s,o))return!0}return i.length!==Object.keys(t).length}function z(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var J=function(e){if(!e)throw new Error("Map is not polyfilled");function t(e,t){return this[c]={type:i.Map,parent:t,scope:t?t.scope:S.current,modified:!1,finalized:!1,copy:void 0,assigned:void 0,base:e,draft:this,isManual:!1,revoked:!1},this}g(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return B(this[c]).size},enumerable:!0,configurable:!0}),n.has=function(e){return B(this[c]).has(e)},n.set=function(e,t){var n=this[c];return _(n),B(n).get(e)!==t&&(P(n),n.scope.immer.markChanged(n),n.assigned.set(e,!0),n.copy.set(e,t),n.assigned.set(e,!0)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[c];return _(t),P(t),t.scope.immer.markChanged(t),t.assigned.set(e,!1),t.copy.delete(e),!0},n.clear=function(){var e=this[c];return _(e),P(e),e.scope.immer.markChanged(e),e.assigned=new Map,e.copy.clear()}
26,n.forEach=function(e,t){var n=this;B(this[c]).forEach((function(i,r,a){e.call(t,n.get(r),r,n)}))},n.get=function(e){var t=this[c];_(t);var n=B(t).get(e);if(t.finalized||!h(n))return n;if(n!==t.base.get(e))return n;var i=t.scope.immer.createProxy(n,t);return P(t),t.copy.set(e,i),i},n.keys=function(){return B(this[c]).keys()},n.values=function(){var e,t=this,n=this.keys();return(e={})[u]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},n.entries=function(){var e,t=this,n=this.keys();return(e={})[u]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var i=t.get(e.value);return{done:!1,value:[e.value,i]}},e},n[u]=function(){return this.entries()},t}(Map);function P(e){e.copy||(e.assigned=new Map,e.copy=new Map(e.base))}var j=function(e){if(!e)throw new Error("Set is not polyfilled");function t(e,t){return this[c]={type:i.Set,parent:t,scope:t?t.scope:S.current,modified:!1,finalized:!1,copy:void 0,base:e,draft:this,drafts:new Map,revoked:!1,isManual:!1},this}g(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return B(this[c]).size},enumerable:!0,configurable:!0}),n.has=function(e){var t=this[c];return _(t),t.copy?!!t.copy.has(e)||!(!t.drafts.has(e)||!t.copy.has(t.drafts.get(e))):t.base.has(e)},n.add=function(e){var t=this[c];return _(t),t.copy?t.copy.add(e):t.base.has(e)||(K(t),t.scope.immer.markChanged(t),t.copy.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[c];return _(t),K(t),t.scope.immer.markChanged(t),t.copy.delete(e)||!!t.drafts.has(e)&&t.copy.delete(t.drafts.get(e))},n.clear=function(){var e=this[c];return _(e),K(e),e.scope.immer.markChanged(e),e.copy.clear()},n.values=function(){var e=this[c];return _(e),K(e),e.copy.values()},n.entries=function(){var e=this[c];return _(e),K(e),e.copy.entries()},n.keys=function(){return this.values()},n[u]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),i=n.next();!i.done;)e.call(t,i.value,i.value,this),i=n.next()},t}(Set);function K(e){e.copy||(e.copy=new Set,e.base.forEach((function(t){if(h(t)){var n=e.scope.immer.createProxy(t,e);e.drafts.set(t,n),e.copy.add(n)}else e.copy.add(t)})))}function q(e,t){return t.forEach((function(t){var i=t.path,r=t.op;i.length||G();for(var a=e,o=0;o<i.length-1;o++)if(!(a=y(a,i[o]))||"object"!=typeof a)throw new Error("Cannot apply patch, path doesn't resolve: "+i.join("/"));
26var s=I(a),l=$(t.value),c=i[i.length-1];switch(r){case"replace":switch(s){case n.Map:return a.set(c,l);case n.Set:throw new Error('Sets cannot have "replace" patches.');default:return a[c]=l}case"add":switch(s){case n.Array:return a.splice(c,0,l);case n.Map:return a.set(c,l);case n.Set:return a.add(l);default:return a[c]=l}case"remove":switch(s){case n.Array:return a.splice(c,1);case n.Map:return a.delete(c);case n.Set:return a.delete(t.value);default:return delete a[c]}default:throw new Error("Unsupported patch operation: "+r)}})),e}function $(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map($);if(b(e))return new Map(Array.from(e.entries()).map((function(e){return[e[0],$(e[1])]})));if(v(e))return new Set(Array.from(e).map($));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=$(e[n]);return t}function ee(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}var te={useProxies:"undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,autoFreeze:"undefined"!=typeof process?"production"!==process.env.NODE_ENV:"verifyMinified"===function(){}.name,onAssign:null,onDelete:null,onCopy:null},ne=function(){function e(e){var t=this;this.useProxies=!1,this.autoFreeze=!1,p(te,(function(n,i){var r,a;t[n]=null!=(a=null===(r=e)||void 0===r?void 0:r[n])?a:i})),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}return e.prototype.produce=function(e,t,n){var i,r=this;if("function"==typeof e&&"function"!=typeof t){var a=t;t=e;var o=this;return function(e){var n=arguments,i=this;void 0===e&&(e=a);for(var r=[],s=1;s<arguments.length;s++)r[s-1]=n[s];return o.produce(e,(function(e){return t.call.apply(t,ee([i,e],r))}))}}if("function"!=typeof t)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("The third argument to `produce` must be a function or undefined");if(h(e)){var l=S.enter(this),c=this.createProxy(e,void 0),u=!0;try{i=t(c),u=!1}finally{u?l.revoke():l.leave()}return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return l.usePatches(n),w(r,e,l)}),(function(e){throw l.revoke(),e})):(l.usePatches(n),w(this,i,l))}if((i=t(e))!==s)return void 0===i&&(i=e),V(this,i,!0),i},e.prototype.produceWithPatches=function(e,t,n){var i,r,a=this;return"function"==typeof e?function(t){for(var n=arguments,i=[],r=1;r<arguments.length;r++)i[r-1]=n[r];return a.produceWithPatches(t,(function(t){return e.apply(void 0,ee([t],i))}))}:(n&&G(),[this.produce(e,t,(function(e,t){i=e,r=t})),i,r])},e.prototype.createDraft=function(e){if(!h(e))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=S.enter(this),n=this.createProxy(e,void 0);return n[c].isManual=!0,t.leave(),n},e.prototype.finishDraft=function(e,t){var n=e&&e[c];if(!n||!n.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw new Error("The given draft is already finalized");var i=n.scope;return i.usePatches(t),w(this,void 0,i)},e.prototype.setAutoFreeze=function(e){this.autoFreeze=e},e.prototype.setUseProxies=function(e){this.useProxies=e},e.prototype.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}return f(e)?q(e,t):this.produce(e,(function(e){return q(e,t.slice(n+1))}))},e.prototype.createProxy=function(e,t){var n=b(e)?function(e,t){return new J(e,t)}(e,t):v(e)?function(e,t){return new j(e,t)}(e,t):this.useProxies?function(e,t){var n=Array.isArray(e),r={type:n?i.ProxyArray:i.ProxyObject,scope:t?t.scope:S.current,modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null,isManual:!1},a=r,o=R;n&&(a=[r],o=E);var s=Proxy.revocable(a,o),l=s.revoke,c=s.proxy;return r.draft=c,r.revoke=l,c}(e,t):function(e,t){var n=Array.isArray(e),r=M(e);p(r,(function(t){!function(e,t,n){var i=D[t];i?i.enumerable=n:D[t]=i={configurable:!0,enumerable:n,get:function(){return function(e,t){_(e);var n=N(B(e),t);return e.finalizing?n:n===N(e.base,t)&&h(n)?(O(e),e.copy[t]=e.scope.immer.createProxy(n,e)):n}(this[c],t)}
26,set:function(e){!function(e,t,n){if(_(e),e.assigned[t]=!0,!e.modified){if(A(n,N(B(e),t)))return;X(e),O(e)}e.copy[t]=n}(this[c],t,e)}},Object.defineProperty(e,t,i)}(r,t,n||function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(!n||!n.enumerable)}(e,t))}));var a,o,s,l={type:n?i.ES5Array:i.ES5Object,scope:t?t.scope:S.current,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:t,base:e,draft:r,copy:null,revoked:!1,isManual:!1};return a=r,o=c,s=l,Object.defineProperty(a,o,{value:s,enumerable:!1,writable:!0}),r}(e,t);return(t?t.scope:S.current).drafts.push(n),n},e.prototype.willFinalize=function(e,t,n){this.useProxies||function(e,t,n){e.drafts.forEach((function(e){e[c].finalizing=!0})),n?f(t)&&t[c].scope===e&&Y(e.drafts):(e.patches&&function e(t){if(t&&"object"==typeof t){var n=t[c];if(n){var r=n.base,a=n.draft,o=n.assigned,s=n.type;if(s===i.ES5Object)p(a,(function(t){t!==c&&(void 0!==r[t]||C(r,t)?o[t]||e(a[t]):(o[t]=!0,X(n)))})),p(r,(function(e){void 0!==a[e]||C(a,e)||(o[e]=!1,X(n))}));else if(s===i.ES5Array){if(z(n)&&(X(n),o.length=!0),a.length<r.length)for(var l=a.length;l<r.length;l++)o[l]=!1;else for(l=r.length;l<a.length;l++)o[l]=!0;var u=Math.min(a.length,r.length);for(l=0;l<u;l++)void 0===o[l]&&e(a[l])}}}}(e.drafts[0]),Y(e.drafts))}(e,t,n)},e.prototype.markChanged=function(e){this.useProxies?W(e):X(e)},e}(),ie=new ne,re=ie.produce,ae=ie.produceWithPatches.bind(ie),oe=ie.setAutoFreeze.bind(ie),se=ie.setUseProxies.bind(ie),le=ie.applyPatches.bind(ie),ce=ie.createDraft.bind(ie),ue=ie.finishDraft.bind(ie);e.Immer=ne,e.applyPatches=le,e.castDraft=function(e){return e},e.castImmutable=function(e){return e},e.createDraft=ce,e.default=re,e.finishDraft=ue,e.immerable=l,e.isDraft=f,e.isDraftable=h,e.nothing=s,e.original=function(e){if(e&&e[c])return e[c].base},e.produce=re,e.produceWithPatches=ae,e.setAutoFreeze=oe,e.setUseProxies=se,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Redux={})}(this,(function(e){"use strict";function t(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var n="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},r={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(e,i,o){var s;if("function"==typeof i&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw Error(t(0));if("function"==typeof i&&void 0===o&&(o=i,i=void 0),void 0!==o){if("function"!=typeof o)throw Error(t(1));return o(a)(e,i)}if("function"!=typeof e)throw Error(t(2));var l=e,c=i,u=[],d=u,g=!1;function f(){d===u&&(d=u.slice())}function h(){if(g)throw Error(t(3));return c}function m(e){if("function"!=typeof e)throw Error(t(4));if(g)throw Error(t(5));var n=!0;return f(),d.push(e),function(){if(n){if(g)throw Error(t(6));n=!1,f();var i=d.indexOf(e);d.splice(i,1),u=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(t(7));if(void 0===e.type)throw Error(t(8));if(g)throw Error(t(9));try{g=!0,c=l(c,e)}finally{g=!1}for(var n=u=d,i=0;n.length>i;i++)(0,n[i])();return e}return p({type:r.INIT}),(s={dispatch:p,subscribe:m,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw Error(t(10));l=e,p({type:r.REPLACE})}})[n]=function(){var e,i=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(t(11));function n(){e.next&&e.next(h())}return n(),{unsubscribe:i(n)}}})[n]=function(){return this},e},s}var o=a;function s(e,t){return function(){return t(e.apply(this,arguments))}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};
26t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}e.__DO_NOT_USE__ActionTypes=r,e.applyMiddleware=function(){for(var e=arguments.length,n=Array(e),i=0;e>i;i++)n[i]=arguments[i];return function(e){return function(){var i=e.apply(void 0,arguments),r=function(){throw Error(t(15))},a={getState:i.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=n.map((function(e){return e(a)}));return r=d.apply(void 0,o)(i.dispatch),u(u({},i),{},{dispatch:r})}}},e.bindActionCreators=function(e,n){if("function"==typeof e)return s(e,n);if("object"!=typeof e||null===e)throw Error(t(16));var i={};for(var r in e){var a=e[r];"function"==typeof a&&(i[r]=s(a,n))}return i},e.combineReducers=function(e){for(var n=Object.keys(e),i={},a=0;n.length>a;a++){var o=n[a];"function"==typeof e[o]&&(i[o]=e[o])}var s,l=Object.keys(i);try{!function(e){Object.keys(e).forEach((function(n){var i=e[n];if(void 0===i(void 0,{type:r.INIT}))throw Error(t(12));if(void 0===i(void 0,{type:r.PROBE_UNKNOWN_ACTION()}))throw Error(t(13))}))}(i)}catch(e){s=e}return function(e,n){if(void 0===e&&(e={}),s)throw s;for(var r=!1,a={},o=0;l.length>
26o;o++){var c=l[o],u=e[c],d=(0,i[c])(u,n);if(void 0===d)throw Error(t(14));a[c]=d,r=r||d!==u}return(r=r||l.length!==Object.keys(e).length)?a:e}},e.compose=d,e.createStore=a,e.legacy_createStore=o,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).ReduxSaga={})}(this,(function(e){"use strict";var t=function(e){return"@@redux-saga/"+e},n=t("CANCEL_PROMISE"),i=t("CHANNEL_END"),r=t("IO"),a=t("MATCH"),o=t("MULTICAST"),s=t("SAGA_ACTION"),l=t("SELF_CANCELLATION"),c=t("TASK"),u=t("TASK_CANCEL"),d=t("TERMINATE"),g=t("LOCATION");function f(){return(f=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var h=function(e){return null==e},m=function(e){return null!=e},p=function(e){return"function"==typeof e},I=function(e){return"string"==typeof e},C=Array.isArray,y=function(e){return e&&p(e.then)},A=function(e){return e&&p(e.next)&&p(e.throw)},b=function e(t){return t&&(I(t)||F(t)||p(t)||C(t)&&t.every(e))},v=function(e){return e&&p(e.take)&&p(e.close)},B=function(e){return p(e)&&e.hasOwnProperty("toString")},F=function(e){return!!e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},Q=function(e){return v(e)&&e[o]},U=function(){return!0},G=function(){},S=function(e){return e},x=function(e,t){f(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function w(e,t){var n=e.indexOf(t);0>n||e.splice(n,1)}function Z(e){var t=!1;return function(){t||(t=!0,e())}}var k=function(e){throw e},V=function(e){return{value:e,done:!0}};function R(e,t,n){void 0===t&&(t=k),void 0===n&&(n="iterator");var i={meta:{name:n},next:e,throw:t,return:V,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function E(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var L=function(e){return Array.apply(null,Array(e))},W=function(e){return function(t){return e(Object.defineProperty(t,s,{value:!0}))}},T=function(e){return e===d},N=function(e){return e===u},X=function(e){return T(e)||N(e)};function O(e,t){var n,i=Object.keys(e),r=i.length,a=0,o=C(e)?L(r):{},s={};return i.forEach((function(e){var i=function(i,s){n||(s||X(i)?(t.cancel(),t(i,s)):(o[e]=i,++a===r&&(n=!0,t(o))))};i.cancel=G,s[e]=i})),t.cancel=function(){n||(n=!0,i.forEach((function(e){return s[e].cancel()})))},s}function M(e){return{name:e.name||"anonymous",location:D(e)}}function D(e){return e[g]}var _={isEmpty:U,put:G,take:G};function Y(e,t){void 0===e&&(e=10);var n=Array(e),i=0,r=0,a=0,o=function(t){n[r]=t,r=(r+1)%e,i++},s=function(){if(0!=i){var t=n[a];return n[a]=null,i--,a=(a+1)%e,t}},l=function(){for(var e=[];i;)e.push(s());return e};return{isEmpty:function(){return 0==i},put:function(s){var c;if(e>i)o(s);else switch(t){case 1:throw Error("Channel's Buffer overflow!");case 3:n[r]=s,a=r=(r+1)%e;break;case 4:c=2*e,n=l(),i=n.length,r=n.length,a=0,n.length=c,e=c,o(s)}},take:s,flush:l}}var H=function(){return _},z=function(e){return Y(e,3)},J=function(e){return Y(e,4)},P=Object.freeze({__proto__:null,none:H,fixed:function(e){return Y(e,1)},dropping:function(e){return Y(e,2)},sliding:z,expanding:J}),j=[],K=0;function q(e){try{te(),e()}finally{ne()}}function $(e){j.push(e),K||(te(),ie())}function ee(e){try{return te(),e()}finally{ie()}}function te(){K++}function ne(){K--}function ie(){var e;for(ne();!K&&void 0!==(e=j.shift());)q(e)}var re=function(e){return function(t){return e.some((function(e){return ce(e)(t)}))}},ae=function(e){return function(t){return e(t)}},oe=function(e){return function(t){return t.type===e+""}},se=function(e){return function(t){return t.type===e}},le=function(){return U};function ce(e){var t="*"===e?le:I(e)?oe:C(e)?re:B(e)?oe:p(e)?ae:F(e)?se:null;if(null===t)throw Error("invalid pattern: "+e);return t(e)}var ue={type:i},de=function(e){return e&&e.type===i};function ge(e){void 0===e&&(e=J());var t=!1,n=[];return{take:function(i){t&&e.isEmpty()?i(ue):e.isEmpty()?(n.push(i),i.cancel=function(){w(n,i)}):i(e.take())},put:function(i){if(!t){if(0===n.length)return e.put(i);n.shift()(i)}},flush:function(n){t&&e.isEmpty()?n(ue):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var i=0,r=e.length;r>i;i++)(0,e[i])(ue)}}}}function fe(){var e,t=!1,n=[],i=n,r=function(){i===n&&(i=n.slice())},s=function(){t=!0;var e=n=i;i=[],e.forEach((function(e){e(ue)}))};return(e={})[o]=!0,e.put=function(e){if(!t)if(de(e))s();else for(var r=n=i,o=0,l=r.length;l>o;o++){var c=r[o];c[a](e)&&(c.cancel(),c(e))}},e.take=function(e,n){void 0===n&&(n=le),t?e(ue):(e[a]=n,r(),i.push(e),e.cancel=Z((function(){r(),w(i,e)})))},e.close=s,e}
26function he(){var e=fe(),t=e.put;return e.put=function(e){e[s]?t(e):$((function(){t(e)}))},e}!function(){var e,t=("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()).Symbol;"function"==typeof t?t.observable?e=t.observable:(e=t("observable"),t.observable=e):e="@@observable"}();var me=function(){return Math.random().toString(36).substring(7).split("").join(".")};me(),me();var pe=0,Ie=1,Ce=2,ye=3,Ae="TAKE",be="PUT",ve="ALL",Be="RACE",Fe="CALL",Qe="CPS",Ue="FORK",Ge="JOIN",Se="CANCEL",xe="SELECT",we="ACTION_CHANNEL",Ze="CANCELLED",ke="FLUSH",Ve="GET_CONTEXT",Re="SET_CONTEXT",Ee=Object.freeze({__proto__:null,TAKE:Ae,PUT:be,ALL:ve,RACE:Be,CALL:Fe,CPS:Qe,FORK:Ue,JOIN:Ge,CANCEL:Se,SELECT:xe,ACTION_CHANNEL:we,CANCELLED:Ze,FLUSH:ke,GET_CONTEXT:Ve,SET_CONTEXT:Re});function Le(e,t){var i=e[n];p(i)&&(t.cancel=i),e.then(t,(function(e){t(e,!0)}))}var We,Te=0,Ne=function(){return++Te};function Xe(e){e.isRunning()&&e.cancel()}var Oe=((We={})[Ae]=function(e,t,n){var i=t.channel,r=void 0===i?e.channel:i,a=t.pattern,o=t.maybe,s=function(e){e instanceof Error?n(e,!0):!de(e)||o?n(e):n(d)};try{r.take(s,m(a)?ce(a):null)}catch(e){return void n(e,!0)}n.cancel=s.cancel},We[be]=function(e,t,n){var i=t.channel,r=t.action,a=t.resolve;$((function(){var t;try{t=(i?i.put:e.dispatch)(r)}catch(e){return void n(e,!0)}a&&y(t)?Le(t,n):n(t)}))},We[ve]=function(e,t,n,i){var r=i.digestEffect,a=Te,o=Object.keys(t);if(0!==o.length){var s=O(t,n);o.forEach((function(e){r(t[e],a,s[e],e)}))}else n(C(t)?[]:{})},We[Be]=function(e,t,n,i){var r=i.digestEffect,a=Te,o=Object.keys(t),s=C(t)?L(o.length):{},l={},c=!1;o.forEach((function(e){var t=function(t,i){c||(i||X(t)?(n.cancel(),n(t,i)):(n.cancel(),c=!0,s[e]=t,n(s)))};t.cancel=G,l[e]=t})),n.cancel=function(){c||(c=!0,o.forEach((function(e){return l[e].cancel()})))},o.forEach((function(e){c||r(t[e],a,l[e],e)}))},We[Fe]=function(e,t,n,i){var r=t.context,a=t.fn,o=t.args,s=i.task;try{var l=a.apply(r,o);if(y(l))return void Le(l,n);if(A(l))return void qe(e,l,s.context,Te,M(a),!1,n);n(l)}catch(e){n(e,!0)}},We[Qe]=function(e,t,n){var i=t.context,r=t.fn,a=t.args;try{var o=function(e,t){h(e)?n(t):n(e,!0)};r.apply(i,a.concat(o)),o.cancel&&(n.cancel=o.cancel)}catch(e){n(e,!0)}},We[Ue]=function(e,t,n,i){var r=t.fn,a=t.detached,o=i.task,s=function(e){var t=e.context,n=e.fn,i=e.args;try{var r=n.apply(t,i);if(A(r))return r;var a=!1;return R((function(e){return a?{value:e,done:!0}:(a=!0,{value:r,done:!y(r)})}))}catch(e){return R((function(){throw e}))}}({context:t.context,fn:r,args:t.args}),l=function(e,t){return e.isSagaIterator?{name:e.meta.name}:M(t)}(s,r);ee((function(){var t=qe(e,s,o.context,Te,l,a,void 0);a?n(t):t.isRunning()?(o.queue.addTask(t),n(t)):t.isAborted()?o.queue.abort(t.error()):n(t)}))},We[Ge]=function(e,t,n,i){var r=i.task,a=function(e,t){if(e.isRunning()){var n={task:r,cb:t};t.cancel=function(){e.isRunning()&&w(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(C(t)){if(0===t.length)return void n([]);var o=O(t,n);t.forEach((function(e,t){a(e,o[t])}))}else a(t,n)},We[Se]=function(e,t,n,i){t===l?Xe(i.task):C(t)?t.forEach(Xe):Xe(t),n()},We[xe]=function(e,t,n){var i=t.selector,r=t.args;try{n(i.apply(void 0,[e.getState()].concat(r)))}catch(e){n(e,!0)}},We[we]=function(e,t,n){var i=t.pattern,r=ge(t.buffer),a=ce(i),o=function t(n){de(n)||e.channel.take(t,a),r.put(n)},s=r.close;r.close=function(){o.cancel(),s()},e.channel.take(o,a),n(r)},We[Ze]=function(e,t,n,i){n(i.task.isCancelled())},We[ke]=function(e,t,n){t.flush(n)},We[Ve]=function(e,t,n,i){n(i.task.context[t])},We[Re]=function(e,t,n,i){x(i.task.context,t),n()},We);function Me(e,t){return e+"?"+t}function De(e){var t=e.name,n=e.location;return n?t+" "+Me(n.fileName,n.lineNumber):t}function _e(e){var t=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))}((function(e){return e.cancelledTasks}),e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var Ye=null,He=[],ze=function(e){e.crashedEffect=Ye,He.push(e)},Je=function(){Ye=null,He.length=0},Pe=function(e){Ye=e},je=function(){var e,t=He[0],n=He.slice(1),i=t.crashedEffect?(e=D(t.crashedEffect))?e.code+" "+Me(e.fileName,e.lineNumber):"":null;return["The above error occurred in task "+De(t.meta)+(i?" \n when executing effect "+i:"")].concat(n.map((function(e){return" created by "+De(e.meta)})),[_e(He)]).join("\n")};function Ke(e,t,n,i,r,a,o){var s;void 0===o&&(o=G);var l,d,g=pe,f=null,h=[],m=Object.create(n),p=function(e,t,n){var i,r=[],a=!1;function o(e){t(),l(),n(e,!0)}function s(t){r.push(t),t.cont=function(s,l){a||(w(r,t),t.cont=G,l?o(s):(t===e&&(i=s),r.length||(a=!0,n(i))))}}function l(){a||(a=!0,r.forEach((function(e){e.cont=G,e.cancel()})),r=[])}return s(e),{addTask:s,cancelAll:l,abort:o,getTasks:function(){return r}}}(t,(function(){h.push.apply(h,p.getTasks().map((function(e){return e.meta.name})))}),I);function I(t,n){if(n){if(g=Ce,ze({meta:r,cancelledTasks:h}),C.isRoot){var i=je();Je(),e.onError(t,{sagaStack:i})}d=t,f&&f.reject(t)}else t===u?g=Ie:g!==Ie&&(g=ye),l=t,f&&f.resolve(t);
26C.cont(t,n),C.joiners.forEach((function(e){e.cb(t,n)})),C.joiners=null}var C=((s={})[c]=!0,s.id=i,s.meta=r,s.isRoot=a,s.context=m,s.joiners=[],s.queue=p,s.cancel=function(){g===pe&&(g=Ie,p.cancelAll(),I(u,!1))},s.cont=o,s.end=I,s.setContext=function(e){x(m,e)},s.toPromise=function(){return f||((e={}).promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),f=e,g===Ce?f.reject(d):g!==pe&&f.resolve(l)),f.promise;var e},s.isRunning=function(){return g===pe},s.isCancelled=function(){return g===Ie||g===pe&&t.status===Ie},s.isAborted=function(){return g===Ce},s.result=function(){return l},s.error=function(){return d},s);return C}function qe(e,t,n,i,a,o,s){var l=e.finalizeRunEffect((function(t,n,i){if(y(t))Le(t,i);else if(A(t))qe(e,t,d.context,n,a,!1,i);else if(t&&t[r]){(0,Oe[t.type])(e,t.payload,i,g)}else i(t)}));f.cancel=G;var c={meta:a,cancel:function(){c.status===pe&&(c.status=Ie,f(u))},status:pe},d=Ke(e,c,n,i,a,o,s),g={task:d,digestEffect:h};return s&&(s.cancel=d.cancel),f(),d;function f(e,n){try{var r;n?(r=t.throw(e),Je()):N(e)?(c.status=Ie,f.cancel(),r=p(t.return)?t.return(u):{done:!0,value:u}):r=T(e)?p(t.return)?t.return():{done:!0}:t.next(e),r.done?(c.status!==Ie&&(c.status=ye),c.cont(r.value)):h(r.value,i,f)}catch(e){if(c.status===Ie)throw e;c.status=Ce,c.cont(e,!0)}}function h(t,n,i,r){void 0===r&&(r="");var a,o=Ne();function s(n,r){a||(a=!0,i.cancel=G,e.sagaMonitor&&(r?e.sagaMonitor.effectRejected(o,n):e.sagaMonitor.effectResolved(o,n)),r&&Pe(t),i(n,r))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:o,parentEffectId:n,label:r,effect:t}),s.cancel=G,i.cancel=function(){a||(a=!0,s.cancel(),s.cancel=G,e.sagaMonitor&&e.sagaMonitor.effectCancelled(o))},l(t,o,s)}}function $e(e,t){for(var n=e.channel,i=void 0===n?he():n,r=e.dispatch,a=e.getState,o=e.context,s=void 0===o?{}:o,l=e.sagaMonitor,c=e.effectMiddlewares,u=e.onError,d=void 0===u?E:u,g=arguments.length,f=Array(g>2?g-2:0),h=2;g>h;h++)f[h-2]=arguments[h];var m,p=t.apply(void 0,f),I=Ne();if(l&&(l.rootSagaStarted=l.rootSagaStarted||G,l.effectTriggered=l.effectTriggered||G,l.effectResolved=l.effectResolved||G,l.effectRejected=l.effectRejected||G,l.effectCancelled=l.effectCancelled||G,l.actionDispatched=l.actionDispatched||G,l.rootSagaStarted({effectId:I,saga:t,args:f})),c){var C=function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}.apply(void 0,c);m=function(e){return function(t,n,i){return C((function(t){return e(t,n,i)}))(t)}}}else m=S;var y={channel:i,dispatch:W(r),getState:a,sagaMonitor:l,onError:d,finalizeRunEffect:m};return ee((function(){var e=qe(y,p,s,I,M(t),!0,void 0);return l&&l.effectResolved(I,e),e}))}var et=function(e,t){var n;return(n={})[r]=!0,n.combinator=!1,n.type=e,n.payload=t,n},tt=function(e){return et(Ue,f({},e.payload,{detached:!0}))};function nt(e,t){return void 0===e&&(e="*"),b(e)?(m(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),et(Ae,{pattern:e})):Q(e)&&m(t)&&b(t)?et(Ae,{channel:e,pattern:t}):v(e)?(m(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),et(Ae,{channel:e})):void 0}function it(e,t){return h(t)&&(t=e,e=void 0),et(be,{channel:e,action:t})}function rt(e){var t=et(Be,e);return t.combinator=!0,t}function at(e,t){var n,i=null;return p(e)?n=e:(C(e)?(i=e[0],n=e[1]):(i=e.context,n=e.fn),i&&I(n)&&p(i[n])&&(n=i[n])),{context:i,fn:n,args:t}}function ot(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];return et(Fe,at(e,n))}function st(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];return et(Ue,at(e,n))}function lt(e){return void 0===e&&(e=l),et(Se,e)}function ct(e,t){return et(we,{pattern:e,buffer:t})}var ut=ot.bind(null,(function(e,t){var i;void 0===t&&(t=!0);var r=new Promise((function(n){i=setTimeout(n,Math.min(2147483647,e),t)}));return r[n]=function(){clearTimeout(i)},r})),dt=function(e){return{done:!0,value:e}},gt={};function ft(e){return v(e)?"channel":B(e)?e+"":p(e)?e.name:e+""}function ht(e,t,n){var i,r,a,o=t;function s(t,n){if(o===gt)return dt(t);if(n&&!r)throw o=gt,n;i&&i(t);var s=n?e[r](n):e[o]();return a=s.effect,i=s.stateUpdater,r=s.errorState,(o=s.nextState)===gt?dt(t):a}return R(s,(function(e){return s(null,e)}),n)}function mt(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];var a,o={done:!1,value:nt(e)},s=function(e){return a=e};return ht({q1:function(){return{nextState:"q2",effect:o,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=a,{done:!1,value:st.apply(void 0,[t].concat(i,[e]))})};var e}},"q1","takeEvery("+ft(e)+", "+t.name+")")}function pt(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];var a,o,s={done:!1,value:nt(e)},l=function(e){return{done:!1,value:st.apply(void 0,[t].concat(i,[e]))}},c=function(e){return{done:!1,value:lt(e)}},u=function(e){return a=e},d=function(e){return o=e};return ht({q1:function(){return{nextState:"q2",effect:s,stateUpdater:d}},q2:function(){return a?{nextState:"q3",effect:c(a)}:{nextState:"q1",effect:l(o),stateUpdater:u}},q3:function(){return{nextState:"q1",effect:l(o),stateUpdater:u}}},"q1","takeLatest("+ft(e)+", "+t.name+")")}function It(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];var a,o={done:!1,value:nt(e)},s=function(e){return a=e};return ht({q1:function(){return{nextState:"q2",effect:o,stateUpdater:s}},q2:function(){return{nextState:"q1",effect:(e=a,{done:!1,value:ot.apply(void 0,[t].concat(i,[e]))})};var e}},"q1","takeLeading("+ft(e)+", "+t.name+")")}function Ct(e,t,n){for(var i=arguments.length,r=Array(i>3?i-3:0),a=3;i>a;a++)r[a-3]=arguments[a];var o,s,l={done:!1,value:ut(e)},c=function(e){return o=e},u=function(e){return s=e},d=!v(t);return d||u(t),ht({q1:function(){return{nextState:"q2",effect:{done:!1,value:ct(t,z(1))},stateUpdater:u}},q2:function(){return{nextState:"q3",effect:{done:!1,value:nt(s)},stateUpdater:c}},q3:function(){return{nextState:"q4",effect:(e=o,{done:!1,value:st.apply(void 0,[n].concat(r,[e]))})};var e},q4:function(){return{nextState:"q2",effect:l}}},d?"q1":"q2","throttle("+ft(t)+", "+n.name+")")}function yt(e,t,n){for(var i=e,r=arguments.length,a=Array(r>3?r-3:0),o=3;r>o;o++)a[o-3]=arguments[o];var s={done:!1,value:ot.apply(void 0,[n].concat(a))},l={done:!1,value:ut(t)};return ht({q1:function(){return{nextState:"q2",effect:s,errorState:"q10"}},q2:function(){return{nextState:gt}},q10:function(e){if(0>=(i-=1))throw e;return{nextState:"q1",effect:l}}},"q1","retry("+n.name+")")}function At(e,t,n){for(var i=arguments.length,r=Array(i>3?i-3:0),a=3;i>a;a++)r[a-3]=arguments[a];var o,s,l={done:!1,value:nt(t)},c={done:!1,value:rt({action:nt(t),debounce:ut(e)})},u=function(e){return o=e},d=function(e){return s=e};return ht({q1:function(){return{nextState:"q2",effect:l,stateUpdater:u}},q2:function(){return{nextState:"q3",effect:c,stateUpdater:d}},q3:function(){return s.debounce?{nextState:"q1",effect:(t=o,{done:!1,value:st.apply(void 0,[n].concat(r,[t]))})}:{nextState:"q2",effect:(e=s.action,{done:!1,value:e}),stateUpdater:u};var e,t}},"q1","debounce("+ft(t)+", "+n.name+")")}var bt=Object.freeze({__proto__:null,effectTypes:Ee,take:nt,takeMaybe:function(){var e=nt.apply(void 0,arguments);return e.payload.maybe=!0,e},put:it,putResolve:function(){var e=it.apply(void 0,arguments);return e.payload.resolve=!0,e},all:function(e){var t=et(ve,e);return t.combinator=!0,t},race:rt,call:ot,apply:function(e,t,n){return void 0===n&&(n=[]),et(Fe,at([e,t],n))},cps:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];return et(Qe,at(e,n))},fork:st,spawn:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];return tt(st.apply(void 0,[e].concat(n)))},join:function(e){return et(Ge,e)},cancel:lt,select:function(e){void 0===e&&(e=S);for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];return et(xe,{selector:e,args:n})},actionChannel:ct,cancelled:function(){return et(Ze,{})},flush:function(e){return et(ke,e)},getContext:function(e){return et(Ve,e)},setContext:function(e){return et(Re,e)}
26,delay:ut,debounce:function(e,t,n){for(var i=arguments.length,r=Array(i>3?i-3:0),a=3;i>a;a++)r[a-3]=arguments[a];return st.apply(void 0,[At,e,t,n].concat(r))},retry:function(e,t,n){for(var i=arguments.length,r=Array(i>3?i-3:0),a=3;i>a;a++)r[a-3]=arguments[a];return ot.apply(void 0,[yt,e,t,n].concat(r))},takeEvery:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];return st.apply(void 0,[mt,e,t].concat(i))},takeLatest:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];return st.apply(void 0,[pt,e,t].concat(i))},takeLeading:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];return st.apply(void 0,[It,e,t].concat(i))},throttle:function(e,t,n){for(var i=arguments.length,r=Array(i>3?i-3:0),a=3;i>a;a++)r[a-3]=arguments[a];return st.apply(void 0,[Ct,e,t,n].concat(r))}});e.CANCEL=n,e.END=ue,e.SAGA_LOCATION=g,e.buffers=P,e.channel=ge,e.default=function(e){var t,n=void 0===e?{}:e,i=n.context,r=void 0===i?{}:i,a=n.channel,o=void 0===a?he():a,s=n.sagaMonitor,l=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;a.length>i;i++)0>t.indexOf(n=a[i])&&(r[n]=e[n]);return r}(n,["context","channel","sagaMonitor"]);function c(e){return t=$e.bind(null,f({},l,{context:r,channel:o,dispatch:e.dispatch,getState:e.getState,sagaMonitor:s})),function(e){return function(t){s&&s.actionDispatched&&s.actionDispatched(t);var n=e(t);return o.put(t),n}}}return c.run=function(){return t.apply(void 0,arguments)},c.setContext=function(e){x(r,e)},c},e.detach=tt,e.effects=bt,e.eventChannel=function(e,t){void 0===t&&(t=H());var n,i=!1,r=ge(t),a=function(){i||(i=!0,p(n)&&n(),r.close())};return n=Z(n=e((function(e){de(e)?a():r.put(e)}))),i&&n(),{take:r.take,flush:r.flush,close:a}},e.isEnd=de,e.multicastChannel=fe,e.runSaga=$e,e.stdChannel=he,Object.defineProperty(e,"__esModule",{value:!0})})),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e){this.message=e}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var t="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,r,a=0,o=0,s="";r=n.charAt(o++);~r&&(i=a%4?64*i+r:r,a++%4)?s+=String.fromCharCode(255&i>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function n(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(t(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(n)}catch(e){return t(n)}}function i(e){this.message=e}function r(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(n(e.split(".")[r]))}catch(e){throw new i("Invalid token specified: "+e.message)}}i.prototype=new Error,i.prototype.name="InvalidTokenError",window&&("function"==typeof window.define&&window.define.amd?window.define("jwt_decode",(function(){return r})):window&&(window.jwt_decode=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.