PageSourceSearch

https://nabataea.net/js/primary-bundle.min.js?version=md5-o0mVd6Zhn42ZDtXKAu5CfQ%3d%3d

js nabataea.net collected 2026-10-02 10:09:29 UTC 105,412 bytes, 53 lines download raw bytes

1//! moment.js
2/*! lozad.js - v1.16.0 - 2020-09-06
3* https://github.com/ApoorvSaxena/lozad.js
4* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Handlebars=t():e.Handlebars=t()}(this,function(){return function(e){function t(s){if(n[s])return n[s].exports;var o=n[s]={exports:{},id:s,loaded:!1};return e[s].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function l(){var e=new c.HandlebarsEnvironment;return a.extend(e,c),e.SafeString=u.default,e.Exception=m.default,e.Utils=a,e.escapeExpression=a.escapeExpression,e.VM=r,e.template=function(t){return r.template(t,e)},e}o=n(1).default,i=n(2).default,t.__esModule=!0;var o,i,b=n(3),c=o(b),d=n(36),u=i(d),h=n(5),m=i(h),f=n(4),a=o(f),p=n(37),r=o(p),g=n(43),v=i(g),s=l();s.create=l,v.default(s),s.default=s,t.default=s,e.exports=t.default},function(e,t){"use strict";t.default=function(e){if(e&&e.__esModule)return e;var n,t={};if(e!=null)for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__esModule=!0},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){"use strict";function r(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},m.registerDefaultHelpers(this),f.registerDefaultDecorators(this)}c=n(2).default,t.__esModule=!0,t.HandlebarsEnvironment=r;var i,c,l,d,u,h,s=n(4),g=n(5),a=c(g),m=n(9),f=n(29),p=n(31),o=c(p),v=n(32),b="4.7.3";t.VERSION=b,l=8,t.COMPILER_REVISION=l,d=7,t.LAST_COMPATIBLE_COMPILER_REVISION=d,u={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"},t.REVISION_CHANGES=u,i="[object Object]",r.prototype={constructor:r,logger:o.default,log:o.default.log,registerHelper:function(e,t){if(s.toString.call(e)===i){if(t)throw new a.default("Arg not supported with multiple helpers");s.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(s.toString.call(e)===i)s.extend(this.partials,e);else{if("undefined"==typeof t)throw new a.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(s.toString.call(e)===i){if(t)throw new a.default("Arg not supported with multiple decorators");s.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){v.resetLoggedProperties()}},h=o.default.log,t.log=h,t.createFrame=s.createFrame,t.logger=o.default},function(e,t){"use strict";function c(e){return d[e]}function i(e){for(var n,t=1;t<arguments.length;t++)for(n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function p(e,t){for(var n=0,s=e.length;n<s;n++)if(e[n]===t)return n;return-1}function f(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}return h.test(e)?e.replace(u,c):e}function m(e){return!e&&0!==e||!!o(e)&&0===e.length}function r(e){var t=i({},e);return t._parent=e,t}function a(e,t){return e.path=t,e}function l(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=i,t.indexOf=p,t.escapeExpression=f,t.isEmpty=m,t.createFrame=r,t.blockParams=a,t.appendContextPath=l;var n,o,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},u=/[&<>"'`=]/g,h=/[&<>"'`=]/,s=Object.prototype.toString;t.toString=s,n=function(e){return"function"==typeof e},n(/x/)&&(t.isFunction=n=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=n,o=Array.isArray||function(e){return!!e&&"object"==typeof e&&"[object Array]"===s.call(e)},t.isArray=o},function(e,t,n){"use strict";function o(e,t){var a,u,n=t&&t.loc,c=0[0],d=0[0],r=0[0],l=0[0];n&&(c=n.start.line,d=n.end.line,r=n.start.column,l=n.end.column,e
4+=" - "+c+":"+r);for(u=Error.prototype.constructor.call(this,e),a=0;a<s.length;a++)this[s[a]]=u[s[a]];Error.captureStackTrace&&Error.captureStackTrace(this,o);try{n&&(this.lineNumber=c,this.endLineNumber=d,i?(Object.defineProperty(this,"column",{value:r,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=r,this.endColumn=l))}catch{}}var s,i=n(6).default;t.__esModule=!0,s=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"],o.prototype=new Error,t.default=o,e.exports=t.default},function(e,t,n){e.exports={default:n(7),__esModule:!0}},function(e,t,n){var s=n(8);e.exports=function(e,t,n){return s.setDesc(e,t,n)}},function(e){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){"use strict";function m(e){r.default(e),l.default(e),o.default(e),i.default(e),p.default(e),v.default(e),j.default(e)}function d(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])}s=n(2).default,t.__esModule=!0,t.registerDefaultHelpers=m,t.moveHelperToHooks=d;var s,a=n(10),r=s(a),c=n(11),l=s(c),u=n(24),o=s(u),h=n(25),i=s(h),f=n(26),p=s(f),g=n(27),v=s(g),b=n(28),j=s(b)},function(e,t,n){"use strict";t.__esModule=!0;var s=n(4);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var o,i=n.inverse,a=n.fn;return t===!0?a(this):t===!1||t==null?i(this):s.isArray(t)?t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this):(n.data&&n.ids&&(o=s.createFrame(n.data),o.contextPath=s.appendContextPath(n.data.contextPath,n.name),n={data:o}),a(t,n))})},e.exports=t.default},function(e,t,n){(function(s){"use strict";i=n(12).default,a=n(2).default,t.__esModule=!0;var i,a,o=n(4),r=n(5),c=a(r);t.default=function(e){e.registerHelper("each",function(e,t){function r(t,n,s){a&&(a.key=t,a.index=n,a.first=0===n,a.last=!!s,l&&(a.contextPath=l+t)),u+=p(e[t],{data:a,blockParams:o.blockParams([e[t],t],[l+t,null])})}if(!t)throw new c.default("Must pass iterator to #each");var d,p=t.fn,g=t.inverse,n=0,u="",a=0[0],l=0[0];if(t.data&&t.ids&&(l=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(a=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(d=e.length;n<d;n++)n in e&&r(n,n,n===e.length-1);else if(s.Symbol&&e[s.Symbol.iterator]){for(var m=[],f=e[s.Symbol.iterator](),h=f.next();!h.done;h=f.next())m.push(h.value);e=m;for(d=e.length;n<d;n++)r(n,n,n===e.length-1)}else!function(){var t=0[0];i(e).forEach(function(e){0[0]!==t&&r(t,n-1),t=e,n++}),0[0]!==t&&r(t,n-1,!0)}();return 0===n&&(u=g(this)),u})},e.exports=t.default}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(13),__esModule:!0}},function(e,t,n){n(14),e.exports=n(20).Object.keys},function(e,t,n){var s=n(15);n(17)("keys",function(e){return function(t){return e(s(t))}})},function(e,t,n){var s=n(16);e.exports=function(e){return Object(s(e))}},function(e){e.exports=function(e){if(e==null)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var s=n(18),o=n(20),i=n(23);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),s(s.S+s.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var i=n(19),a=n(20),r=n(21),o="prototype",s=function(e,t,n){var c,l,u,p=e&s.F,h=e&s.G,g=e&s.S,f=e&s.P,v=e&s.B,b=e&s.W,m=h?a:a[t]||(a[t]={}),d=h?i:g?i[t]:(i[t]||{})[o];h&&(n=t);for(c in n)u=!p&&d&&c in d,u&&c in m||(l=u?d[c]:n[c],m[c]=h&&"function"!=typeof d[c]?n[c]:v&&u?r(l,i):b&&d[c]==l?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[o]=e[o],t}(l):f&&"function"==typeof l?r(Function.call,l):l,f&&((m[o]||(m[o]={}))[c]=l))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,e.exports=s},function(e){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e){var n=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(e,t,n){var s=n(22);e.exports=function(e,t,n){if(s(e),0[0]===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,s){return e.call(t,n,s)};case 3:return function(n,s,o){return e.call(t,n,s,o)}}return function(){return e.apply(t,arguments)}}},function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e){e.exports=function(e){try{return!!e()}catch{return!0}}},function(e,t,n){"use strict";s=n(2).default,t.__esModule=!0;var s,o=n(5),i=s(o);t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";s=n(2).default,t.__esModule=!0;var s,o=n(4),a=n(5),i=s(a);t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var n,s=[0[0]],t=arguments[arguments.length-1],o=0;o<arguments.length-1;o++)s.push(arguments[o]);n=1,null!=t.hash.level?n=t.hash.level:t.data&&null!=t.data.level&&(n=t.data.level),s[0]=n,e.log.apply(e,s)})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,n){return e&&n.lookupProperty(e,t)})},e.exports=t.default},function(e,t,n){"use strict";o=n(2).default,t.__esModule=!0;var o,s=n(4),i=n(5),a=o(i);t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");s.isFunction(e)&&(e=e.call(this));var n,o=t.fn;return s.isEmpty(e)?t.inverse(this):(n=t.data,t.data&&t.ids&&(n=s.createFrame(t.data),n.contextPath=s.appendContextPath(t.data.contextPath,t.ids[0])),o(e,{data:n,blockParams:s.blockParams([e],[n&&n.contextPath])}
4))})},e.exports=t.default},function(e,t,n){"use strict";function o(e){a.default(e)}s=n(2).default,t.__esModule=!0,t.registerDefaultDecorators=o;var s,i=n(30),a=s(i)},function(e,t,n){"use strict";t.__esModule=!0;var s=n(4);t.default=function(e){e.registerDecorator("inline",function(e,t,n,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var r,a=n.partials;return n.partials=s.extend({},a,t.partials),r=e(o,i),n.partials=a,r}),t.partials[o.args[0]]=o.fn,i})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=n(4),s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=o.indexOf(s.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=s.lookupLevel(e),"undefined"!=typeof console&&s.lookupLevel(s.level)<=e){t=s.methodMap[e],console[t]||(t="log");for(var t,o=arguments.length,i=Array(o>1?o-1:0),n=1;n<o;n++)i[n-1]=arguments[n];console[t].apply(console,i)}}};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function r(e){var n,t=o(null);return t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1,n=o(null),n.__proto__=!1,{properties:{whitelist:a.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:a.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function c(e,t,n){return"function"==typeof e?i(t.methods,n):i(t.properties,n)}function i(e,t){return 0[0]!==e.whitelist[t]?e.whitelist[t]===!0:0[0]!==e.defaultValue?e.defaultValue:(l(t),!1)}function l(e){s[e]!==!0&&(s[e]=!0,f.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent.
5You can add a runtime option to disable the check or this warning:
6See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function d(){u(s).forEach(function(e){delete s[e]})}var o=n(33).default,u=n(12).default,h=n(1).default;t.__esModule=!0,t.createProtoAccessControl=r,t.resultIsAllowed=c,t.resetLoggedProperties=d;var a=n(35),m=n(31),f=h(m),s=o(null)},function(e,t,n){e.exports={default:n(34),__esModule:!0}},function(e,t,n){var s=n(8);e.exports=function(e,t){return s.create(e,t)}},function(e,t,n){"use strict";function o(){for(var t=arguments.length,n=Array(t),e=0;e<t;e++)n[e]=arguments[e];return s.extend.apply(0[0],[i(null)].concat(n))}var s,i=n(33).default;t.__esModule=!0,t.createNewLookupObject=o,s=n(4)},function(e,t){"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},function(e,t,n){"use strict";function g(e){var n,s,t=e&&e[0]||1,a=o.COMPILER_REVISION;if(!(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION))throw t<o.LAST_COMPATIBLE_COMPILER_REVISION?(n=o.REVISION_CHANGES[a],s=o.REVISION_CHANGES[t],new i.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")):new i.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}function _(e,t){function r(n,o,a){if(a.hash&&(o=s.extend({},o,a.hash),a.ids&&(a.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,o,a),d=s.extend({},a,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),r=t.VM.invokePartial.call(this,n,o,d),r==null&&t.compile&&(a.partials[a.name]=t.compile(n,e.compilerOptions,t),r=a.partials[a.name](o,d)),r!=null){if(a.indent){for(var r,d,l=r.split(`
7`),c=0,u=l.length;c<u&&(l[c]||c+1!==u);c++)l[c]=a.indent+l[c];r=l.join(`
8`)}return r}throw new i.default("The partial "+a.name+" could not be compiled when running in runtime-only mode")}function o(t){function c(t){return""+e.main(n,t,n.helpers,n.partials,i,r,a)}var a,r,s=arguments.length<=1||0[0]===arguments[1]?{}:arguments[1],i=s.data;return o._setup(s),!s.partial&&e.useData&&(i=x(t,i)),a=0[0],r=e.useBlockParams?[]:0[0],e.useDepths&&(a=s.depths?t!=s.depths[0]?[t].concat(s.depths):s.depths:[t]),(c=d(e.main,c,n,s.depths||[],i,r))(t,s)}if(!t)throw new i.default("No environment passed to template");if(!e||!e.main)throw new i.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var u=e.compiler&&7===e.compiler[0],n={strict:function(e,t,n){if(!(e&&t in e))throw new i.default('"'+t+'" not defined in '+e,{loc:n});return e[t]},lookupProperty:function(e,t){var s=e[t];return s==null?s:Object.prototype.hasOwnProperty.call(e,t)?s:l.resultIsAllowed(s,n.protoAccessControl,t)?s:0[0]},lookup:function(e,t){for(var o,i=e.length,s=0;s<i;s++)if(o=e[s]&&n.lookupProperty(e[s],t),o!=null)return e[s][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:s.escapeExpression,invokePartial:r,fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,s,o){var i=this.programs[e],r=this.fn(e);return t||o||s||n?i=a(this,e,r,t,n,s,o):i||(i=this.programs[e]=a(this,e,r)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=s.extend({},t,e)),n},nullContext:m({}),noop:t.VM.noop,compilerInfo:e.compiler};
8return o.isTop=!0,o._setup=function(o){if(o.partial)n.protoAccessControl=o.protoAccessControl,n.helpers=o.helpers,n.partials=o.partials,n.decorators=o.decorators,n.hooks=o.hooks;else{var i,a=s.extend({},t.helpers,o.helpers);w(a,n),n.helpers=a,e.usePartial&&(n.partials=n.mergeIfNeeded(o.partials,t.partials)),(e.usePartial||e.useDecorators)&&(n.decorators=s.extend({},t.decorators,o.decorators)),n.hooks={},n.protoAccessControl=l.createProtoAccessControl(o),i=o.allowCallsToHelperMissing||u,c.moveHelperToHooks(n,"helperMissing",i),c.moveHelperToHooks(n,"blockHelperMissing",i)}},o._child=function(t,s,o,r){if(e.useBlockParams&&!o)throw new i.default("must pass block params");if(e.useDepths&&!r)throw new i.default("must pass parent depths");return a(n,t,e[t],s,0,o,r)},o}function a(e,t,n,s,o,i,a){function r(t){var o=arguments.length<=1||0[0]===arguments[1]?{}:arguments[1],r=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(r=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||s,i&&[o.blockParams].concat(i),r)}return r=d(n,r,e,a,s,i),r.program=t,r.depth=a?a.length:0,r.blockParams=o||0,r}function y(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e}function h(e,t,n){var a,c=n.data&&n.data["partial-block"];if(n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath),a=0[0],n.fn&&n.fn!==r&&!function(){n.data=o.createFrame(n.data);var e=n.fn;a=n.data["partial-block"]=function(t){var n=arguments.length<=1||0[0]===arguments[1]?{}:arguments[1];return n.data=o.createFrame(n.data),n.data["partial-block"]=c,e(t,n)},e.partials&&(n.partials=s.extend({},n.partials,e.partials))}(),0[0]===e&&a&&(e=a),0[0]===e)throw new i.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function r(){return""}function x(e,t){return t&&"root"in t||(t=t?o.createFrame(t):{},t.root=e),t}function d(e,t,n,o,i,a){if(e.decorator){var r={};t=e.decorator(t,r,n,o&&o[0],i,a,o),s.extend(t,r)}return t}function w(e,t){f(e).forEach(function(n){var s=e[n];e[n]=b(s,t)})}function b(e,t){var n=t.lookupProperty;return O.wrapHelper(e,function(e){return s.extend({lookupProperty:n},e)})}var m=n(38).default,f=n(12).default,p=n(1).default,u=n(2).default;t.__esModule=!0,t.checkRevision=g,t.template=_,t.wrapProgram=a,t.resolvePartial=y,t.invokePartial=h,t.noop=r;var v=n(4),s=p(v),j=n(5),i=u(j),o=n(3),c=n(9),O=n(42),l=n(32)},function(e,t,n){e.exports={default:n(39),__esModule:!0}},function(e,t,n){n(40),e.exports=n(20).Object.seal},function(e,t,n){var s=n(41);n(17)("seal",function(e){return function(t){return e&&s(t)?e(t):t}})},function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){"use strict";function n(e,t){if("function"!=typeof e)return e;var n=function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)};return n}t.__esModule=!0,t.wrapHelper=n},function(e,t){(function(n){"use strict";t.__esModule=!0,t.default=function(e){var t="undefined"!=typeof n?n:window,s=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=s),e}},e.exports=t.default}).call(t,function(){return this}())}])}),function(){var e=Handlebars.template,t=Handlebars.templates=Handlebars.templates||{};t.comment=e({1:function(e,t,n,s,o){var i,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return(i=e.invokePartial(a(s,"comment"),t,{name:"comment",hash:{comment:t},data:o,indent:"        ",helpers:n,partials:s,decorators:e.decorators}))!=null?i:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,o){var i,r=e.lambda,c=e.escapeExpression,l=t??(e.nullContext||{}),a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return`<div class="comment">
9    <div class="comment-container">
10        <div class="avatar"><img src="`+c(r((i=t!=null?a(t,"attributes"):t)!=null?a(i,"author_profile"):i,t))+`" /></div>
11        <div class="body">
12            <div class="meta"><span class="author">`+c(r((i=(i=t!=null?a(t,"comment"):t)!=null?a(i,"attributes"):i)!=null?a(i,"author"):i,t))+'</span> <span class="date">'+c((a(n,"when")||t&&a(t,"when")||e.hooks.helperMissing).call(l,(i=(i=t!=null?a(t,"comment"):t)!=null?a(i,"attributes"):i)!=null?a(i,"date"):i,{name:"when",hash:{},data:o,loc:{start:{line:5,column:107},end:{line:5,column:139}}}))+`</span></div>
13            <div class="content">`+((i=r((i=(i=t!=null?a(t,"comment"):t)!=null?a(i,"attributes"):i)!=null?a(i,"content"):i,t))!=null?i:"")+`</div>
14        </div>
15    </div>
16    <div class="child-comments">
17`+((i=a(n,"each").call(l,(i=t!=null?a(t,"comment"):t)!=null?a(i,"children"):i,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:10,column:8},end:{line:12,column:17}}}
17))!=null?i:"")+`    </div>
18</div>`},usePartial:!0,useData:!0}),t.comment_new=e({1:function(e,t,n,s,o){var i,r,c=e.escapeExpression,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return'    <p class="user-info">Welcome <span class="user">'+c((i=(i=a(n,"user")||(t!=null?a(t,"user"):t))!=null?i:e.hooks.helperMissing,typeof i=="function"?i.call(t??(e.nullContext||{}),{name:"user",hash:{},data:o,loc:{start:{line:3,column:52},end:{line:3,column:60}}}):i))+`</span> (<a onclick="logout(); return false;">logout</a>). 
19    New comments must be approved before they are shown publicly.</p>
20    <form action="" method="post" onsubmit="post_comment(this); return false;">
21        <input name="user_id" value="`+c(e.lambda((r=t!=null?a(t,"user"):t)!=null?a(r,"id"):r,t))+`" type="hidden" />
22        <textarea class="new_comment_text" name="content" placeholder="Add your thoughts..."></textarea>
23        <button type="submit">Post Comment</button>
24    </form>
25`},3:function(){return`    <a href="/login" onclick="login(); return false;" class="button signin-button">Sign In And Comment!</a>
26`},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,o){var i,r=t??(e.nullContext||{}),a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return`<div class="new_comment">
27`+((i=a(n,"if").call(r,t!=null?a(t,"user"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:4},end:{line:10,column:11}}}))!=null?i:"")+((i=a(n,"unless").call(r,t!=null?a(t,"user"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:11,column:4},end:{line:13,column:15}}}))!=null?i:"")+"</div>"},useData:!0}),t.comments=e({1:function(e,t,n,s,o){var i,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return(i=a(n,"unless").call(t??(e.nullContext||{}),(i=t!=null?a(t,"attributes"):t)!=null?a(i,"parent"):i,{name:"unless",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:2},end:{line:5,column:13}}}))!=null?i:""},2:function(e,t,n,s,o){var i,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return(i=e.invokePartial(a(s,"comment"),t,{name:"comment",hash:{comment:t},data:o,indent:"    ",helpers:n,partials:s,decorators:e.decorators}))!=null?i:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,o){var i,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return((i=e.invokePartial(a(s,"comment_new"),t,{name:"comment_new",data:o,helpers:n,partials:s,decorators:e.decorators}))!=null?i:"")+((i=a(n,"each").call(t??(e.nullContext||{}),t!=null?a(t,"comments"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:2,column:0},end:{line:6,column:9}}}))!=null?i:"")},usePartial:!0,useData:!0}),t.recommendation=e({1:function(e,t,n,s,o){var i,r=t??(e.nullContext||{}),c=e.hooks.helperMissing,l="function",d=e.escapeExpression,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return'    <a class="recommendation row media-link" href="'+d((i=(i=a(n,"url")||(t!=null?a(t,"url"):t))!=null?i:c,typeof i===l?i.call(r,{name:"url",hash:{},data:o,loc:{start:{line:4,column:51},end:{line:4,column:58}}}):i))+"?utm_campaign=nab_recommender&utm_medium=web&utm_content="+d((i=(i=a(n,"page")||(t!=null?a(t,"page"):t))!=null?i:c,typeof i===l?i.call(r,{name:"page",hash:{},data:o,loc:{start:{line:4,column:115},end:{line:4,column:123}}}):i))+"_"+d((i=(i=a(n,"page_zone")||(t!=null?a(t,"page_zone"):t))!=null?i:c,typeof i===l?i.call(r,{name:"page_zone",hash:{},data:o,loc:{start:{line:4,column:124},end:{line:4,column:137}}}):i))+`">
28        <div class="cell">
29            <img src="/media/`+d((i=(i=a(n,"image")||(t!=null?a(t,"image"):t))!=null?i:c,typeof i===l?i.call(r,{name:"image",hash:{},data:o,loc:{start:{line:6,column:29},end:{line:6,column:38}}}):i))+`" />
30        </div>
31        <div class="cell text">
32            <h3>`+d((i=(i=a(n,"title")||(t!=null?a(t,"title"):t))!=null?i:c,typeof i===l?i.call(r,{name:"title",hash:{},data:o,loc:{start:{line:9,column:16},end:{line:9,column:25}}}):i))+`</h3>
33            <span class="summary">`+d((i=(i=a(n,"description")||(t!=null?a(t,"description"):t))!=null?i:c,typeof i===l?i.call(r,{name:"description",hash:{},data:o,loc:{start:{line:10,column:34},end:{line:10,column:49}}}):i))+`...</span>
34        </div>
35    </a>
36`},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,o){var i,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return`<div class="other_in_series">
37<h2>Recommended Reading</h2>
38`+((i=a(n,"each").call(t??(e.nullContext||{}),t!=null?a(t,"recommendations"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:3,column:0},end:{line:13,column:9}}}))!=null?i:"")+"</div>"},useData:!0}),t.search_results=e({1:function(e,t,n,s,o){var i,r=e.lambda,c=e.escapeExpression,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return'    <a href="'+c(r((i=t!=null?a(t,"page"):t)!=null?a(i,"uri"):i,t))+`" class="search_result row media-link">
39        <div class="cell">
40            <img src="/media/`+c(r((i=t!=null?a(t,"page"):t)!=null?a(i,"thumbnail"):i,t))+`" />
41        </div>
42        <div class="cell">
43            <h3>`+c(r((i=t!=null?a(t,"page"):t)!=null?a(i,"title"):i,t))+`</h3>
44            <p>`+((i=(a(n,"truncate")||t&&a(t,"truncate")||e.hooks.helperMissing).call(t??(e.nullContext||{}),(i=t!=null?a(t,"page"):t)!=null?a(i,"summary"):i,200,{name:"truncate",hash:{},data:o,loc:{start:{line:8,column:15},end:{line:8,column:47}}}))!=null?i:"")+`</p>
45        </div>
46    </a>
47`},3:function(){return`    <div class="no_results">No matches.  Try searching for something else!</div>
48`},5:function(e,t,n,s,o){var i,c,r=t??(e.nullContext||{}),l=e.hooks.helperMissing,d="function",u=e.escapeExpression,a=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]};return'        <a class="'+((c=a(n,"if").call(r,t!=null?a(t,"current_page"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:16,column:18},end:{line:16,column:57}}}))!=null?c:"")+'" onclick="render_search_results('+u((i=(i=a(n,"num")||(t!=null?a(t,"num"):t))!=null?i:l,typeof i===d?i.call(r,{name:"num",hash:{},data:o,loc:{start:{line:16,column:90},end:{line:16,column:97}}}):i))+'); return false;">'+u((i=(i=a(n,"num")||(t!=null?a(t,"num"):t))!=null?i:l,typeof i===d?i.call(r,{name:"num",hash:{},data:o,loc:{start:{line:16,column:115},end:{line:16,column:122}}}):i))+`</a>
49`},6:function(){return"current_page"},compiler:[8,">= 4.3.0"],main:function(e,t,n,s,o){var a,c,l=t??(e.nullContext||{}),r=e.lookupProperty||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:0[0]},d=((i=r(n,"each").call(l,t!=null?r(t,"results"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:13,column:9}}}))!=null?i:"")+`<div class="page_controls">
50`,i=(a=(a=r(n,"page_controls")||(t!=null?r(t,"page_controls"):t))!=null?a:e.hooks.helperMissing,c={name:"page_controls",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:15,column:4},end:{line:17,column:22}}},typeof a=="function"?a.call(l,c):a);return r(n,"page_controls")||(i=e.hooks.blockHelperMissing.call(t,i,c)),i!=null&&(d+=i),d+"</div>"},useData:!0})}(),Handlebars.registerHelper("when",function(e){var t=moment(e);return t.format("ddd, hA")}),Handlebars.registerHelper("truncate",function(e,t){return e==null?"":e.substring(0,t-3)+"..."}),Handlebars.partials=Handlebars.templates,function(e){if(typeof exports=="object"&&typeof module!="undefined")module.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window!="undefined"?t=window:typeof global!="undefined"?t=global:typeof self!="undefined"?t=self:t=this,t.OAuth2AuthCodePKCE=e()}}(function(){var e,t,n;return function(){function e(t,n,s){function o(i,r){if(!n[i]){if(!t[i]){var c,l,d="function"==typeof require&&require;if(!r&&d)return d(i,!0);if(a)return a(i,!0);throw l=new Error("Cannot find module '"+i+"'"),l.code="MODULE_NOT_FOUND",l}c=n[i]={exports:{}},t[i][0].call(c.exports,function(e){var n=t[i][1][e];return o(n||e)},c,c.exports,e,t,n,s)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<s.length;i++)o(s[i]);return o}return e}()({1:[function(e,t,n){"use strict";var o,i,r,c,l,u,h,m,f,p,g,v,b,j,y,_,w,O,x,C,A,S,M,s=this&&this.__extends||function(){var e=function(t,n){return e=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,n)};return function(t,n){e(t,n);function s(){this.constructor=t}
50t.prototype=n===null?Object.create(n):(s.prototype=n.prototype,new s)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,s,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},a.apply(this,arguments)},T=this&&this.__awaiter||function(e,t,n,s){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function r(e){try{a(s.next(e))}catch(e){i(e)}}function c(e){try{a(s.throw(e))}catch(e){i(e)}}function a(e){e.done?n(e.value):o(e.value).then(r,c)}a((s=s.apply(e,t||[])).next())})},F=this&&this.__generator||function(e,t){var n,o,i,a,s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(e){return function(t){return c([e,t])}}function c(a){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(n=a[0]&2?o.return:a[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;switch((o=0,n)&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){s=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){s.label=a[1];break}if(a[0]===6&&s.label<n[1]){s.label=n[1],n=a;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(a);break}n[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],o=0}finally{i=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:0[0],done:!0}}},E=this&&this.__spreadArrays||function(){for(var n=0,e=0,s=arguments.length;e<s;e++)n+=arguments[e].length;for(var o=Array(n),i=0,e=0;e<s;e++)for(var a=arguments[e],t=0,r=a.length;t<r;t++,i++)o[i]=a[t];return o};Object.defineProperty(n,"__esModule",{value:!0}),o=function(){function e(){}return e}(),n.ErrorOAuth2=o,v=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorUnknown=v,g=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorNoAuthCode=g,p=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorInvalidReturnedStateParam=p,w=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorInvalidJson=w,m=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorInvalidScope=m,f=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorInvalidRequest=f,l=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorInvalidToken=l,i=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorAuthenticationGrant=i,u=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(i),n.ErrorUnauthorizedClient=u,h=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(i),n.ErrorAccessDenied=h,j=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(i),n.ErrorUnsupportedResponseType=j,y=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(i),n.ErrorServerError=y,_=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(i),n.ErrorTemporarilyUnavailable=_,c=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(o),n.ErrorAccessTokenResponse=c,O=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(c),n.ErrorInvalidClient=O,x=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(c),n.ErrorInvalidGrant=x,C=function(e){s(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(c),n.ErrorUnsupportedGrantType=C,S=function(){function e(){this.realm="",this.error=""}return e}(),n.ErrorWWWAuthenticate=S,n.RawErrorToErrorClassMap={invalid_request:f,invali
50d_grant:x,unauthorized_client:u,access_denied:h,unsupported_response_type:j,invalid_scope:m,server_error:y,temporarily_unavailable:_,invalid_client:O,unsupported_grant_type:C,invalid_json:w,invalid_token:l};function d(e){return new(n.RawErrorToErrorClassMap[e]||v)}n.toErrorClass=d;function k(e){var t=e.slice("Bearer ".length).replace(/"/g,"").split(", ").map(function(e){var t,n=e.split("="),s=n[0],o=n[1];return t={},t[s]=o,t}).reduce(function(e,t){return a(a({},e),t)});return{realm:t.realm,error:t.error}}n.fromWWWAuthenticateHeaderStringToObject=k,A="Authorization",b="WWW-Authenticate",n.LOCALSTORAGE_ID="oauth2authcodepkce",n.LOCALSTORAGE_STATE=n.LOCALSTORAGE_ID+"-state",n.RECOMMENDED_CODE_VERIFIER_LENGTH=96,n.RECOMMENDED_STATE_LENGTH=32,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",M=function(){function e(e){return this.state={},this.config=e,this.recoverState(),this}return e.prototype.decorateFetchHTTPClient=function(e){var t=this;return function(n,s){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return t.state.isHTTPDecoratorActive?t.getAccessToken().then(function(t){var a=t.token,o=Object.assign({},s);return o.headers||(o.headers={}),o.headers[A]="Bearer "+a.value,e.apply(0[0],E([n,o],i))}).then(function(e){if(e.ok)return e;if(!e.headers.has(b.toLowerCase()))return e;var n=d(k(e.headers.get(b.toLowerCase())).error);return n instanceof l&&t.config.onAccessTokenExpiry(function(){return t.exchangeRefreshTokenForAccessToken()}),Promise.reject(n)}):e.apply(0[0],E([n,s],i))}},e.prototype.isReturningFromAuthServer=function(){var t,s,o,a,i=e.extractParamFromUrl(location.href,"error");return i?Promise.reject(d(i)):(s=e.extractParamFromUrl(location.href,"code"),s?(t=JSON.parse(localStorage.getItem(n.LOCALSTORAGE_STATE)||"{}"),o=e.extractParamFromUrl(location.href,"state"),o!==t.stateQueryParam?(console.warn("state query string parameter doesn't match the one sent! Possible malicious activity somewhere."),console.log(o),console.log(t.stateQueryParam),Promise.reject(new p)):(t.authorizationCode=s,t.hasAuthCodeBeenExchangedForAccessToken=!1,localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(t)),this.setState(t),a=e.removeQueryParams(location.href),window.history.replaceState({},"",a),Promise.resolve(!0))):Promise.resolve(!1))},e.prototype.fetchAuthorizationCode=function(){return T(this,0[0],0[0],function(){var t,s,o,i,r,c,l,d,u;return F(this,function(h){switch(h.label){case 0:return this.assertStateAndConfigArePresent(),t=this.config,r=t.clientId,c=t.redirectUrl,l=t.scopes,[4,e.generatePKCECodes()];case 1:return s=h.sent(),o=s.codeChallenge,d=s.codeVerifier,i=e.generateRandomState(n.RECOMMENDED_STATE_LENGTH),this.state=a(a({},this.state),{codeChallenge:o,codeVerifier:d,stateQueryParam:i,isHTTPDecoratorActive:!0}),localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(this.state)),u=this.config.authorizationUrl+"?response_type=code&"+("client_id="+encodeURIComponent(r)+"&")+("redirect_uri="+encodeURIComponent(c)+"&")+("scope="+encodeURIComponent(l.join(" "))+"&")+("state="+i+"&")+("code_challenge="+encodeURIComponent(o)+"&")+"code_challenge_method=S256",location.replace(u),[2]}})})},e.prototype.getAccessToken=function(){t=this,this.assertStateAndConfigArePresent();var t,n=this.config.onAccessTokenExpiry,e=this.state,s=e.accessToken,o=e.authorizationCode,i=e.hasAuthCodeBeenExchangedForAccessToken,a=e.refreshToken,r=e.scopes;return o?this.authCodeForAccessTokenRequest?this.authCodeForAccessTokenRequest:!this.isAuthorized()||!i?(this.authCodeForAccessTokenRequest=this.exchangeAuthCodeForAccessToken(),this.authCodeForAccessTokenRequest):a&&this.isAccessTokenExpired()?n(function(){return t.exchangeRefreshTokenForAccessToken()}):Promise.resolve({token:s,scopes:r}):Promise.reject(new g)},e.prototype.exchangeRefreshTokenForAccessToken=function(){e=this,this.assertStateAndConfigArePresent();var e,t,i,a,s=this.config,r=s.onInvalidGrant,c=s.tokenUrl,l=s.clientId,o=this.state.refreshToken;return o||console.warn("No refresh token is present."),i=c,a="grant_type=refresh_token&"+("client_id="+encodeURIComponent(l)+"&")+("refresh_token="+((t=o)===null||t===0[0]?0[0]:t.value)),fetch(i,{method:"POST",body:a,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){return e.status===400?Promise.reject(e.json()):e.json()}).then(function(t){var c,l,d=t.access_token,u=t.expires_in,o=t.refresh_token,i=t.id_token,a=t.scope,s=[],r={value:d,expiry:new Date(Date.now()+parseInt(u)*1e3).toString()};return e.state.accessToken=r,o&&(c={value:o},e.state.refreshToken=c),i&&(l={value:i},e.state.idToken=l),a&&(s=a.split(" "),e.state.scopes=s),localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(e.state)),{token:r,scopes:s}}).catch(function(e){return Promise.reject(e)}).catch(function(t){var n=t.error||"There was a network error.";
50switch(n){case"invalid_grant":r(function(){return e.fetchAuthorizationCode()});break;default:break}return Promise.reject(n)})},e.prototype.getGrantedScopes=function(){return this.state.scopes},e.prototype.isHTTPDecoratorActive=function(e){this.state.isHTTPDecoratorActive=e,localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(this.state))},e.prototype.isAuthorized=function(){return!!this.state.accessToken},e.prototype.isAccessTokenExpired=function(){var e=this.state.accessToken;return Boolean(e&&new Date>=new Date(e.expiry))},e.prototype.reset=function(){this.setState({}),this.authCodeForAccessTokenRequest=0[0]},e.prototype.assertStateAndConfigArePresent=function(){if(!this.state||!this.config)throw console.error("state:",this.state,"config:",this.config),new Error("state or config is not set.")},e.prototype.exchangeAuthCodeForAccessToken=function(e){t=this,this.assertStateAndConfigArePresent();var t,l,u,o=this.state,i=o.authorizationCode,a=i===0[0]?e:i,r=o.codeVerifier,c=r===0[0]?"":r,s=this.config,h=s.clientId,m=s.onInvalidGrant,f=s.redirectUrl;return c?a||console.warn("No authorization grant code is being passed."):console.warn("No code verifier is being sent."),l=this.config.tokenUrl,u="grant_type=authorization_code&"+("code="+encodeURIComponent(a||"")+"&")+("redirect_uri="+encodeURIComponent(f)+"&")+("client_id="+encodeURIComponent(h)+"&")+("code_verifier="+c),fetch(l,{method:"POST",body:u,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(e){var s=e.json().catch(function(){return{error:"invalid_json"}});return e.ok?s.then(function(e){var o,c,l,d=e.access_token,u=e.expires_in,i=e.refresh_token,a=e.id_token,r=e.scope,s=[];return t.state.hasAuthCodeBeenExchangedForAccessToken=!0,t.authCodeForAccessTokenRequest=0[0],o={value:d,expiry:new Date(Date.now()+parseInt(u)*1e3).toString()},t.state.accessToken=o,i&&(c={value:i},t.state.refreshToken=c),a&&(l={value:a},t.state.idToken=l),r&&(s=r.split(" "),t.state.scopes=s),localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(t.state)),{token:o,scopes:s}}):s.then(function(e){var n=e.error;switch(n){case"invalid_grant":m(function(){return t.fetchAuthorizationCode()});break;default:break}return Promise.reject(d(n))})})},e.prototype.recoverState=function(){return this.state=JSON.parse(localStorage.getItem(n.LOCALSTORAGE_STATE)||"{}"),this},e.prototype.setState=function(e){return this.state=e,localStorage.setItem(n.LOCALSTORAGE_STATE,JSON.stringify(e)),this},e.base64urlEncode=function(e){var t=btoa(e),t=t.replace(/\+/g,"-"),t=t.replace(/\//g,"_"),t=t.replace(/=/g,"");return t},e.extractParamFromUrl=function(e,t){var s,o,n=e.split("?");return n.length<2?"":(n=n[1].split("#"),s=n[0].split("&").reduce(function(e,t){return e.concat(t.split("="))},[]),s.length<2?"":(o=s.indexOf(t),decodeURIComponent(o>=0?s[o+1]:"")))},e.removeQueryParams=function(e){var t=e.split("?"),o=t[0],i=t[1],n=i.split("#"),a=n[0],s=n[1];return""+o+(s!==0[0]?"#"+s:"")},e.generatePKCECodes=function(){var t,s=new Uint32Array(n.RECOMMENDED_CODE_VERIFIER_LENGTH);return crypto.getRandomValues(s),t=e.base64urlEncode(Array.from(s).map(function(e){return r[e%r.length]}).join("")),crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then(function(e){for(var n=new Uint8Array(e),s="",o=n.byteLength,t=0;t<o;t++)s+=String.fromCharCode(n[t]);return s}).then(e.base64urlEncode).then(function(e){return{codeChallenge:e,codeVerifier:t}})},e.generateRandomState=function(e){var t=new Uint32Array(e);return crypto.getRandomValues(t),Array.from(t).map(function(e){return r[e%r.length]}).join("")},e}(),n.OAuth2AuthCodePKCE=M},{}]},{},[1])(1)}),!function e(t,n,s){function o(i,r){if(!n[i]){if(!t[i]){var c,l,d="function"==typeof require&&require;if(!r&&d)return d(i,!0);if(a)return a(i,!0);throw l=new Error("Cannot find module '"+i+"'"),l.code="MODULE_NOT_FOUND",l}c=n[i]={exports:{}},t[i][0].call(c.exports,function(e){var n=t[i][1][e];return o(n||e)},c,c.exports,e,t,n,s)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<s.length;i++)o(s[i]);return o}({1:[function(e,t){function s(e){this.message=e}function o(e){if(n=String(e).replace(/=+$/,""),n.length%4==1)throw new s("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,n,o,a=0,c=0,r="";t=n.charAt(c++);~t&&(o=a%4?64*o+t:t,a++%4)?r+=String.fromCharCode(255&o>>(-2*a&6)):0)t=i.indexOf(t);return r}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
50+/=";s.prototype=new Error,s.prototype.name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||o},{}],2:[function(e,t){function o(e){return decodeURIComponent(s(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}var s=e("./atob");t.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return o(t)}catch{return s(t)}}},{"./atob":1}],3:[function(e,t){"use strict";function s(e){this.message=e}var o=e("./base64_url_decode");s.prototype=new Error,s.prototype.name="InvalidTokenError",t.exports=function(e,t){if("string"!=typeof e)throw new s("Invalid token specified");t=t||{};var n=t.header===!0?0:1;try{return JSON.parse(o(e.split(".")[n]))}catch(e){throw new s("Invalid token specified: "+e.message)}},t.exports.InvalidTokenError=s},{"./base64_url_decode":2}],4:[function(e){(function(t){var n=e("./lib/index");"function"==typeof t.window.define&&t.window.define.amd?t.window.define("jwt_decode",function(){return n}):t.window&&(t.window.jwt_decode=n)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/index":3}]},{},[4]),function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function t(){return pn.apply(null,arguments)}function Ii(e){pn=e}function S(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Fi(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function v(e){return e===0[0]}function W(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Se(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Pn(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function z(e,t,n,s){return Kn(e,t,n,s,!0).utc()}function li(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function o(e){return e._pf==null&&(e._pf=li()),e._pf}Array.prototype.some?Ie=Array.prototype.some:Ie=function(e){for(var n=Object(this),s=n.length>>>0,t=0;t<s;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};function jt(e){if(e._isValid==null){var t=o(e),s=Ie.call(t.parsedDateParts,function(e){return e!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===0[0]),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function Ee(e){var t=z(NaN);return e!=null?H(o(t),e):o(t).userInvalidated=!0,t}var pn,Ie,ye,We,rt,fn,kn,ss,Un,Hn,hn,Y,gt,Ge,ie,Me,q,Ye,b,Xe,Oe,fe,c,nt,ot,be,je,oe,ln,pe,sn,ue,Ut,Q,ke,Te,f,j,y,x,A,T,P,Qn,qn,qe,h,st,un,at,Vt,Ht,Ct,zt,vt,Rt,Wt,Kt,Yt,nn,on,ct,m,G,ge,On,xn,Cn,he,xe,An,Mn,Nn,Yn,Gn,Jn,ne,ts,Vn,Bn,Tn,Fn,et,se,V,me,lt,mt,Bt,It,I,Pt,e,r,k,Xt,tn,an,rn,cn,Ot,vn,bn,_n,Zn,Nt,En,Ft,Mt,kt,Et,E,D,we,a,pt=t.momentProperties=[];function dt(e,t){var n,s,i;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=o(t)),v(t._locale)||(e._locale=t._locale),pt.length>0)for(n=0;n<pt.length;n++)s=pt[n],i=t[s],v(i)||(e[s]=i);return e}ye=!1;function de(e){dt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ye===!1&&(ye=!0,t.updateOffset(this),ye=!1)}function F(e){return e instanceof de||e!=null&&e._isAMomentObject!=null}function O(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function i(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=O(t)),n}
50function In(e,t,n){var s,a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0;for(s=0;s<a;s++)(n&&e[s]!==t[s]||!n&&i(e[s])!==i(t[s]))&&o++;return o+r}function es(e){t.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function w(e,n){var s=!0;return H(function(){if(t.deprecationHandler!=null&&t.deprecationHandler(null,e),s){for(var o,r,a=[],i=0;i<arguments.length;i++){if(o="",typeof arguments[i]=="object"){o+=`
51[`+i+"] ";for(r in arguments[0])o+=r+": "+arguments[0][r]+", ";o=o.slice(0,-2)}else o=arguments[i];a.push(o)}es(e+`
52Arguments: `+Array.prototype.slice.call(a).join("")+`
53`+(new Error).stack),s=!1}return n.apply(this,arguments)},n)}We={};function jn(e,n){t.deprecationHandler!=null&&t.deprecationHandler(e,n),We[e]||(es(n),We[e]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function M(e){return e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function to(e){var t,n;for(n in e)t=e[n],M(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mn(e,t){var n,s=H({},e);for(n in t)u(t,n)&&(re(e[n])&&re(t[n])?(s[n]={},H(s[n],e[n]),H(s[n],t[n])):t[n]!=null?s[n]=t[n]:delete s[n]);for(n in e)u(e,n)&&!u(t,n)&&re(e[n])&&(s[n]=H({},s[n]));return s}function it(e){e!=null&&this.set(e)}Object.keys?rt=Object.keys:rt=function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n},fn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function pi(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return M(s)?s.call(t,n):s}kn={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"};function wi(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}ss="Invalid date";function Oi(){return this._invalidDate}Un="%d",Hn=/\d{1,2}/;function xi(e){return this._ordinal.replace("%d",e)}hn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ei(e,t,n,s){var o=this._relativeTime[n];return M(o)?o(e,t,n,s):o.replace(/%d/i,e)}function ki(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}Y={};function p(e,t){var n=e.toLowerCase();Y[n]=Y[n+"s"]=Y[t]=e}function _(e){return typeof e=="string"?Y[e]||Y[e.toLowerCase()]:0[0]}function yt(e){var t,n,s={};for(t in e)u(e,t)&&(n=_(t),n&&(s[n]=e[t]));return s}gt={};function g(e,t){gt[e]=t}function Ri(e){var n,t=[];for(n in e)t.push({unit:n,priority:gt[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function N(e,t,n){var s=""+(e<0?-e:e),o=t-s.length,i=e>=0;return(i?n?"+":"":"-")+(10**Math.max(0,o)).toString().substr(1)+s}Ge=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Me={},q={};function s(e,t,n,s){var o=s;typeof s=="string"&&(o=function(){return this[s]()}),e&&(q[e]=o),t&&(q[t[0]]=function(){return N(o.apply(this,arguments),t[1],t[2])}),n&&(q[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function Hi(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Pi(e){var n,s,t=e.match(Ge);for(n=0,s=t.length;n<s;n++)q[t[n]]?t[n]=q[t[n]]:t[n]=Hi(t[n]);return function(n){var o,i="";for(o=0;o<s;o++)i+=M(t[o])?t[o].call(n,e):t[o];return i}}function De(e,t){return e.isValid()?(t=os(t,e.localeData()),Me[t]=Me[t]||Pi(t),Me[t](e)):e.localeData().invalidDate()}function os(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;n>=0&&ie.test(e);)e=e.replace(ie,s),ie.lastIndex=0,n-=1;return e}Ye=/\d/,b=/\d\d/,Xe=/\d{3}/,Oe=/\d{4}/,fe=/[+-]?\d{6}/,c=/\d\d?/,nt=/\d\d\d\d?/,ot=/\d\d\d\d\d\d?/,be=/\d{1,3}/,je=/\d{1,4}/,oe=/[+-]?\d{1,6}/,ln=/\d+/,pe=/[+-]?\d+/,sn=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,Ut=/[+-]?\d+(\.\d{1,3})?/,Q=/[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,ke={};function n(e,t,n){ke[e]=M(t)?t:function(e){return e&&n?n:t}}function Mi(e,t){return u(ke,e)?ke[e](t._strict,t._locale):new RegExp(Ai(e))}function Ai(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\][]*)\]|\\(.)/g,function(e,t,n,s,o){return t||n||s||o}))}function K(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Te={};function d(e,t){var n,s=t;
53typeof e=="string"&&(e=[e]),W(t)&&(s=function(e,n){n[t]=i(e)});for(n=0;n<e.length;n++)Te[e[n]]=s}function ce(e,t){d(e,function(e,n,s,o){s._w=s._w||{},t(e,s._w,s,o)})}function Ci(e,t,n){t!=null&&u(Te,e)&&Te[e](t,n._a,n,e)}y=0,A=1,x=2,f=3,j=4,T=5,P=6,Qn=7,qn=8,s("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),p("year","y"),g("year",1),n("Y",pe),n("YY",c,b),n("YYYY",je,Oe),n("YYYYY",oe,fe),n("YYYYYY",oe,fe),d(["YYYYY","YYYYYY"],y),d("YYYY",function(e,n){n[y]=e.length===2?t.parseTwoDigitYear(e):i(e)}),d("YY",function(e,n){n[y]=t.parseTwoDigitYear(e)}),d("Y",function(e,t){t[y]=parseInt(e,10)});function ve(e){return Pe(e)?366:365}function Pe(e){return e%4===0&&e%100!==0||e%400===0}t.parseTwoDigitYear=function(e){return i(e)+(i(e)>68?1900:2e3)},qe=ee("FullYear",!0);function _i(){return Pe(this.year())}function ee(e,n){return function(s){return s!=null?(wn(this,e,s),t.updateOffset(this,n),this):Re(this,e)}}function Re(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function wn(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&Pe(e.year())&&e.month()===1&&e.date()===29?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Le(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function bi(e){return e=_(e),M(this[e])?this[e]():this}function vi(e,t){if(typeof e=="object"){e=yt(e);for(var s=Ri(e),n=0;n<s.length;n++)this[s[n].unit](e[s[n].unit])}else if(e=_(e),M(this[e]))return this[e](t);return this}function gi(e,t){return(e%t+t)%t}Array.prototype.indexOf?h=Array.prototype.indexOf:h=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=gi(t,12);return e+=(t-n)/12,n===1?Pe(e)?29:28:31-n%7%2}s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),p("month","M"),g("month",8),n("M",c),n("MM",c,b),n("MMM",function(e,t){return t.monthsShortRegex(e)}),n("MMMM",function(e,t){return t.monthsRegex(e)}),d(["M","MM"],function(e,t){t[A]=i(e)-1}),d(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);i!=null?t[A]=i:o(n).invalidMonth=e}),st=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,un="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function fi(e,t){return e?S(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][e.month()]:S(this._months)?this._months:this._months.standalone}at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function mi(e,t){return e?S(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[st.test(t)?"format":"standalone"][e.month()]:S(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function hi(e,t,n){var s,o,a,i=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[];for(o=0;o<12;++o)a=z([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(a,"").toLocaleLowerCase()}return n?t==="MMM"?(s=h.call(this._shortMonthsParse,i),s!==-1?s:null):(s=h.call(this._longMonthsParse,i),s!==-1?s:null):t==="MMM"?(s=h.call(this._shortMonthsParse,i),s!==-1?s:(s=h.call(this._longMonthsParse,i),s!==-1?s:null)):(s=h.call(this._longMonthsParse,i),s!==-1?s:(s=h.call(this._shortMonthsParse,i),s!==-1?s:null))}function ui(e,t,n){var s,o,i;if(this._monthsParseExact)return hi.call(this,e,t,n);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);for(s=0;s<12;s++){if(o=z([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(n&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}}function Zt(e,t){var n;if(!e.isValid())return e;if(typeof t=="string")if(/^\d+$/.test(t))t=i(t);else if(t=e.localeData().monthsParse(t),!W(t))return e;return n=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Qt(e){return e!=null?(Zt(this,e),t.updateOffset(this,!0),this):Re(this,"Month")}function di(){return Le(this.year(),this.month())}Vt=Q;function ai(e){return this._monthsParseExact?(u(this,"_monthsRegex")||wt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Vt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}Ht=Q;function ii(e){return this._monthsParseExact?(u(this,"_monthsRegex")||wt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Ht),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function wt(){function i(e,t){return t.length-e.length}var e,o,n=[],s=[],t=[];for(e=0;e<12;e++)o=z([2e3,e]),n.push(this.monthsShort(o,"")),s.push(this.months(o,"")),t.push(this.months(o,"")),t.push(this.monthsShort(o,""));n.sort(i),s.sort(i),t.sort(i);for(e=0;e<12;e++)n[e]=K(n[e]),s[e]=K(s[e]);for(e=0;e<24;e++)t[e]=K(t[e]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function si(e,t,n,s,o,i,a){var r;return e<100&&e>=0?(r=new Date(e+400,t,n,s,o,i,a),isFinite(r.getFullYear())&&r.setFullYear(e)):r=new Date(e,t,n,s,o,i,a),r}function ae(e){if(e<100&&e>=0){var t,n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function ze(e,t,n){var s=7+t-n,o=(7+ae(e,0,s).getUTCDay()-t)%7;return-o+s-1}function At(e,t,n,s,o){var a,r,c=(7+n-s)%7,l=ze(e,s,o),i=1+7*(t-1)+c+l;return i<=0?(a=e-1,r=ve(a)+i):i>ve(e)?(a=e+1,r=i-ve(e)):(a=e,r=i),{year:a,dayOfYear:r}}function le(e,t,n){var o,i,a=ze(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?(o=e.year()-1,i=s+U(o,t,n)):s>U(e.year(),t,n)?(i=s-U(e.year(),t,n),o=e.year()+1):(o=e.year(),i=s),{week:i,year:o}}function U(e,t,n){var s=ze(e,t,n),o=ze(e+1,t,n);return(ve(e)-s+o)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),p("week","w"),p("isoWeek","W"),g("week",5),g("isoWeek",5),n("w",c),n("ww",c,b),n("W",c),n("WW",c,b),ce(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=i(e)});function ei(e){return le(e,this._week.dow,this._week.doy).week}Ct={dow:0,doy:6};function is(){return this._week.dow}function Zo(){return this._week.doy}function Ko(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Uo(e){var t=le(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),p("day","d"),p("weekday","e"),p("isoWeekday","E"),g("day",11),g("weekday",11),g("isoWeekday",11),n("d",c),n("e",c),n("E",c),n("dd",function(e,t){return t.weekdaysMinRegex(e)}),n("ddd",function(e,t){return t.weekdaysShortRegex(e)}),n("dddd",function(e,t){return t.weekdaysRegex(e)}),ce(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);i!=null?t.d=i:o(n).invalidWeekday=e}),ce(["d","e","E"],function(e,t,n,s){t[s]=i(e)});function Wo(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function $o(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function bt(e,t){return e.slice(t,7).concat(e.slice(0,t))}zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Vo(e,t){var n=S(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?bt(n,this._week.dow):e?n[e.day()]:n}vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Ho(e){return e===!0?bt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Lo(e){return e===!0?bt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}
53function Do(e,t,n){var s,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];for(i=0;i<7;++i)a=z([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?t==="dddd"?(s=h.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=h.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=h.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=h.call(this._weekdaysParse,o),s!==-1?s:(s=h.call(this._shortWeekdaysParse,o),s!==-1?s:(s=h.call(this._minWeekdaysParse,o),s!==-1?s:null))):t==="ddd"?(s=h.call(this._shortWeekdaysParse,o),s!==-1?s:(s=h.call(this._weekdaysParse,o),s!==-1?s:(s=h.call(this._minWeekdaysParse,o),s!==-1?s:null))):(s=h.call(this._minWeekdaysParse,o),s!==-1?s:(s=h.call(this._weekdaysParse,o),s!==-1?s:(s=h.call(this._shortWeekdaysParse,o),s!==-1?s:null)))}function zo(e,t,n){var s,o,i;if(this._weekdaysParseExact)return Do.call(this,e,t,n);this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]);for(s=0;s<7;s++){if(o=z([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(n&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(n&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}}function To(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Wo(e,this.localeData()),this.add(e-t,"d")):t}function Mo(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function ko(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=$o(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}Wt=Q;function wo(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}Kt=Q;function co(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}Yt=Q;function ro(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function o(e,t){return t.length-e.length}var e,i,r,c,l,a=[],n=[],s=[],t=[];for(e=0;e<7;e++)i=z([2e3,1]).day(e),r=this.weekdaysMin(i,""),c=this.weekdaysShort(i,""),l=this.weekdays(i,""),a.push(r),n.push(c),s.push(l),t.push(r),t.push(c),t.push(l);a.sort(o),n.sort(o),s.sort(o),t.sort(o);for(e=0;e<7;e++)n[e]=K(n[e]),s[e]=K(s[e]),t[e]=K(t[e]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ut(){return this.hours()%12||12}function ao(){return this.hours()||24}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,ut),s("k",["kk",2],0,ao),s("hmm",0,0,function(){return""+ut.apply(this)+N(this.minutes(),2)}
53),s("hmmss",0,0,function(){return""+ut.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)});function Jt(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Jt("a",!0),Jt("A",!1),p("hour","h"),g("hour",13);function en(e,t){return t._meridiemParse}n("a",en),n("A",en),n("H",c),n("h",c),n("k",c),n("HH",c,b),n("hh",c,b),n("kk",c,b),n("hmm",nt),n("hmmss",ot),n("Hmm",nt),n("Hmmss",ot),d(["H","HH"],f),d(["k","kk"],function(e,t){var s=i(e);t[f]=s===24?0:s}),d(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),d(["h","hh"],function(e,t,n){t[f]=i(e),o(n).bigHour=!0}),d("hmm",function(e,t,n){var s=e.length-2;t[f]=i(e.substr(0,s)),t[j]=i(e.substr(s)),o(n).bigHour=!0}),d("hmmss",function(e,t,n){var s=e.length-4,a=e.length-2;t[f]=i(e.substr(0,s)),t[j]=i(e.substr(s,2)),t[T]=i(e.substr(a)),o(n).bigHour=!0}),d("Hmm",function(e,t){var s=e.length-2;t[f]=i(e.substr(0,s)),t[j]=i(e.substr(s))}),d("Hmmss",function(e,t){var s=e.length-4,o=e.length-2;t[f]=i(e.substr(0,s)),t[j]=i(e.substr(s,2)),t[T]=i(e.substr(o))});function io(e){return(e+"").toLowerCase().charAt(0)==="p"}nn=/[ap]\.?m?\.?/i;function oo(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}on=ee("Hours",!0),ct={calendar:fn,longDateFormat:kn,invalidDate:ss,ordinal:Un,dayOfMonthOrdinalParse:Hn,relativeTime:hn,months:un,monthsShort:at,week:Ct,weekdays:zt,weekdaysMin:Rt,weekdaysShort:vt,meridiemParse:nn},m={},G={};function dn(e){return e&&e.toLowerCase().replace("_","-")}function so(e){for(var t,n,o,i,s=0;s<e.length;){for(o=dn(e[s]).split("-"),n=o.length,t=dn(e[s+1]),t=t?t.split("-"):null;n>0;){if(i=_e(o.slice(0,n).join("-")),i)return i;if(t&&t.length>=n&&In(o,t,!0)>=n-1)break;n--}s++}return ge}function _e(e){var n,t=null;if(!m[e]&&typeof module!="undefined"&&module&&module.exports)try{t=ge._abbr,n=require,n("./locale/"+e),X(t)}catch{}return m[e]}function X(e,t){var n;return e&&(v(t)?n=R(e):n=tt(e,t),n?ge=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ge._abbr}function tt(e,t){if(t!==null){var s,n=ct;if(t.abbr=e,m[e]!=null)jn("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=m[e]._config;else if(t.parentLocale!=null)if(m[t.parentLocale]!=null)n=m[t.parentLocale]._config;else if(s=_e(t.parentLocale),s!=null)n=s._config;else return G[t.parentLocale]||(G[t.parentLocale]=[]),G[t.parentLocale].push({name:e,config:t}),null;return m[e]=new it(mn(n,t)),G[e]&&G[e].forEach(function(e){tt(e.name,e.config)}),X(e),m[e]}return delete m[e],null}function no(e,t){if(t!=null){var n,o=ct,s=_e(e);s!=null&&(o=s._config),t=mn(o,t),n=new it(t),n.parentLocale=m[e],m[e]=n,X(e)}else m[e]!=null&&(m[e].parentLocale!=null?m[e]=m[e].parentLocale:m[e]!=null&&delete m[e]);return m[e]}function R(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ge;if(!S(e)){if(t=_e(e),t)return t;e=[e]}return so(e)}function eo(){return rt(m)}function He(e){var n,t=e._a;return t&&o(e).overflow===-2&&(n=t[A]<0||t[A]>11?A:t[x]<1||t[x]>Le(t[y],t[A])?x:t[f]<0||t[f]>24||t[f]===24&&(t[j]!==0||t[T]!==0||t[P]!==0)?f:t[j]<0||t[j]>59?j:t[T]<0||t[T]>59?T:t[P]<0||t[P]>999?P:-1,o(e)._overflowDayOfYear&&(n<y||n>x)&&(n=x),o(e)._overflowWeeks&&n===-1&&(n=Qn),o(e)._overflowWeekday&&n===-1&&(n=qn),o(e).overflow=n),e}function J(e,t,n){return e??t??n}function Js(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Ze(e){var t,n,i,a,r,s=[];if(e._d)return;i=Js(e),e._w&&e._a[x]==null&&e._a[A]==null&&Ws(e),e._dayOfYear!=null&&(a=J(e._a[y],i[y]),(e._dayOfYear>ve(a)||e._dayOfYear===0)&&(o(e)._overflowDayOfYear=!0),n=ae(a,0,e._dayOfYear),e._a[A]=n.getUTCMonth(),e._a[x]=n.getUTCDate());for(t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[f]===24&&e._a[j]===0&&e._a[T]===0&&e._a[P]===0&&(e._nextDay=!0,e._a[f]=0),e._d=(e._useUTC?ae:si).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[f]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==r&&(o(e).weekdayMismatch=!0)}function Ws(e){if(t=e._w,t.GG!=null||t.W!=null||t.E!=null)s=1,a=4,r=J(t.GG,e._a[y],le(l(),1,4).year),i=J(t.W,1),n=J(t.E,1),(n<1||n>7)&&(c=!0);else{s=e._locale._week.dow,a=e._locale._week.doy;var t,n,s,i,a,r,c,d,u=le(l(),s,a);r=J(t.gg,e._a[y],u.year),i=J(t.w,u.week),t.d!=null?(n=t.d,(n<0||n>6)&&(c=!0)):t.e!=null?(n=t.e+s,(t.e<0||t.e>6)&&(c=!0)):n=s}i<1||i>U(r,s,a)?o(e)._overflowWeeks=!0:c!=null?o(e)._overflowWeekday=!0:(d=At(r,i,n,s,a),e._a[y]=d.year,e._dayOfYear=d.dayOfYear)}On=/^\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)?)?$/,xn=/^\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)?)?$/,Cn=/Z|[+-]\d\d(?::?\d\d)?/,he=[["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}/]],xe=[["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/]],An=/^\/?Date\((-?\d+)/i;function Sn(e){var t,s,i,a,c,l,r=e._i,n=On.exec(r)||xn.exec(r);if(n){o(e).iso=!0;for(t=0,s=he.length;t<s;
vendor: 19,274 bytes, line 53
53t++)if(he[t][1].exec(n[1])){a=he[t][0],c=he[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(n[3]){for(t=0,s=xe.length;t<s;t++)if(xe[t][1].exec(n[3])){i=(n[2]||" ")+xe[t][0];break}if(i==null){e._isValid=!1;return}}if(!c&&i!=null){e._isValid=!1;return}if(n[4])if(Cn.exec(n[4]))l="Z";else{e._isValid=!1;return}e._f=a+(i||"")+(l||""),Ke(e)}else e._isValid=!1}Mn=/^(?:(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}))$/;function zs(e,t,n,s,o,i){var a=[Ts(e),at.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Ts(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Fs(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ms(e,t,n){if(e){var s=vt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(s!==i)return o(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}Nn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function As(e,t,n){if(e)return Nn[e];if(t)return 0;var s=parseInt(n,10),o=s%100,i=(s-o)/100;return i*60+o}function Rn(e){var n,t=Mn.exec(Fs(e._i));if(t){if(n=zs(t[4],t[3],t[2],t[5],t[6],t[7]),!Ms(t[1],n,e))return;e._a=n,e._tzm=As(t[8],t[9],t[10]),e._d=ae.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),o(e).rfc2822=!0}else e._isValid=!1}function ks(e){var n=An.exec(e._i);if(n!==null){e._d=new Date(+n[1]);return}if(Sn(e),e._isValid===!1)delete e._isValid;else return;if(Rn(e),e._isValid===!1)delete e._isValid;else return;t.createFromInputFallback(e)}t.createFromInputFallback=w("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 and will be removed in an upcoming major release. 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(){};function Ke(e){if(e._f===t.ISO_8601){Sn(e);return}if(e._f===t.RFC_2822){Rn(e);return}e._a=[],o(e).empty=!0;var s,i,a,r,n=""+e._i,d=n.length,l=0,c=os(e._f,e._locale).match(Ge)||[];for(a=0;a<c.length;a++)i=c[a],s=(n.match(Mi(i,e))||[])[0],s&&(r=n.substr(0,n.indexOf(s)),r.length>0&&o(e).unusedInput.push(r),n=n.slice(n.indexOf(s)+s.length),l+=s.length),q[i]?(s?o(e).empty=!1:o(e).unusedTokens.push(i),Ci(i,s,e)):e._strict&&!s&&o(e).unusedTokens.push(i);o(e).charsLeftOver=d-l,n.length>0&&o(e).unusedInput.push(n),e._a[f]<=12&&o(e).bigHour===!0&&e._a[f]>0&&(o(e).bigHour=0[0]),o(e).parsedDateParts=e._a.slice(0),o(e).meridiem=e._meridiem,e._a[f]=Es(e._locale,e._a[f],e._meridiem),Ze(e),He(e)}function Es(e,t,n){var s;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):e.isPM!=null?(s=e.isPM(n),s&&t<12&&(t+=12),!s&&t===12&&(t=0),t):t}function Cs(e){var t,n,s,i,a;if(e._f.length===0){o(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<e._f.length;s++){if(n=0,t=dt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],Ke(t),!jt(t))continue;n+=o(t).charsLeftOver,n+=o(t).unusedTokens.length*10,o(t).score=n,(i==null||n<i)&&(i=n,a=t)}H(e,a||t)}function xs(e){if(e._d)return;var t=yt(e._i);e._a=Pn([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ze(e)}function Os(e){var t=new de(He(Wn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=0[0]),t}function Wn(e){var t=e._i,n=e._f;return e._locale=e._locale||R(e._l),t===null||n===0[0]&&t===""?Ee({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new de(He(t)):(Se(t)?e._d=t:S(n)?Cs(e):n?Ke(e):hs(e),jt(e)||(e._d=null),e))}function hs(e){var n=e._i;v(n)?e._d=new Date(t.now()):Se(n)?e._d=new Date(n.valueOf()):typeof n=="string"?ks(e):S(n)?(e._a=Pn(n.slice(0),function(e){return parseInt(e,10)}),Ze(e)):re(n)?xs(e):W(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Kn(e,t,n,s,o){var i={};return(n===!0||n===!1)&&(s=n,n=0[0]),(re(e)&&Fi(e)||S(e)&&e.length===0)&&(e=0[0]),i._isAMomentObject=!0,i._useUTC=i._isUTC=o,i._l=n,i._i=e,i._f=t,i._strict=s,Os(i)}function l(e,t,n,s){return Kn(e,t,n,s,!1)}Yn=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=l.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ee()}),Gn=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=l.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ee()});function Xn(e,t){var n,s;if(t.length===1&&S(t[0])&&(t=t[0]),!t.length)return l();s=t[0];for(n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](s))&&(s=t[n]);return s}function us(){var e=[].slice.call(arguments,0);return Xn("isBefore",e)}function ds(){var e=[].slice.call(arguments,0);return Xn("isAfter",e)}Jn=function(){return Date.now?Date.now():+new Date},ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ls(e){for(n in e)if(h.call(ne,n)===-1||e[n]!=null&&!!isNaN(e[n]))return!1;for(var n,s=!1,t=0;t<ne.length;++t)if(e[ne[t]]){if(s)return!1;parseFloat(e[ne[t]])!==i(e[ne[t]])&&(s=!0)}return!0}function cs(){return this._isValid}function rs(){return C(NaN)}function Fe(e){var t=yt(e),n=t.year||0,s=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,r=t.hour||0,c=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=ls(t),this._milliseconds=+d+l*1e3+c*6e4+r*1e3*60*60,this._days=+a+i*7,this._months=+o+s*3+n*12,this._data={},this._locale=R(),this._bubble()}function Je(e){return e instanceof Fe}function Be(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ns(e,t){s(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)})}ns("Z",":"),ns("ZZ",""),n("Z",ue),n("ZZ",ue),d(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(ue,e)}),ts=/([+-]|\d\d)/gi;function Ve(e,t){var n,s,a,o=(t||"").match(e);return o===null?null:(a=o[o.length-1]||[],n=(a+"").match(ts)||["-",0,0],s=+(n[1]*60)+i(n[2]),s===0?0:n[0]==="+"?s:-s)}function $e(e,n){var s,o;return n._isUTC?(s=n.clone(),o=(F(e)||Se(e)?e.valueOf():l(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+o),t.updateOffset(s,!1),s):l(e).local()}function Ue(e){return-Math.round(e._d.getTimezoneOffset()/15)*15}t.updateOffset=function(){};function ms(e,n,s){var i,o=this._offset||0;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ve(ue,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&n&&(i=Ue(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?zn(this,C(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ue(this)}function fs(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ps(e){return this.utcOffset(0,e)}function gs(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ue(this),"m")),this}function vs(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ve(sn,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function bs(e){return!!this.isValid()&&(e=e?l(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function js(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ys(){if(!v(this._isDSTShifted))return this._isDSTShifted;var t,e={};return dt(e,this),e=Wn(e),e._a?(t=e._isUTC?z(e._a):l(e._a),this._isDSTShifted=this.isValid()&&In(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _s(){return!!this.isValid()&&!this._isUTC}function ws(){return!!this.isValid()&&this._isUTC}function $n(){return!!this.isValid()&&this._isUTC&&this._offset===0}Vn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(e,t){var o,a,r,n=e,s=null;return Je(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:W(e)?(n={},t?n[t]=e:n.milliseconds=e):(s=Vn.exec(e))?(o=s[1]==="-"?-1:1,n={y:0,d:i(s[x])*o,h:i(s[f])*o,m:i(s[j])*o,s:i(s[T])*o,ms:i(Be(s[P]*1e3))*o}):(s=Bn.exec(e))?(o=s[1]==="-"?-1:1,n={y:$(s[2],o),M:$(s[3],o),w:$(s[4],o),d:$(s[5],o),h:$(s[6],o),m:$(s[7],o),s:$(s[8],o)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(r=Ss(l(n.from),l(n.to)),n={},n.ms=r.milliseconds,n.M=r.months),a=new Fe(n),Je(e)&&u(e,"_locale")&&(a._locale=e._locale),a}C.fn=Fe.prototype,C.invalid=rs;function $(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ln(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ss(e,t){var n;return e.isValid()&&t.isValid()?(t=$e(t,e),e.isBefore(t)?n=Ln(e,t):(n=Ln(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Dn(e,t){return function(n,s){var o,i;return s!==null&&!isNaN(+s)&&(jn(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."),i=n,n=s,s=i),n=typeof n=="string"?+n:n,o=C(n,s),zn(this,o,e),this}}function zn(e,n,s,o){var r=n._milliseconds,i=Be(n._days),a=Be(n._months);if(!e.isValid())return;o=o??!0,a&&Zt(e,Re(e,"Month")+a*s),i&&wn(e,"Date",Re(e,"Date")+i*s),r&&e._d.setTime(e._d.valueOf()+r*s),o&&t.updateOffset(e,i||a)}Tn=Dn(1,"add"),Fn=Dn(-1,"subtract");function Ds(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ns(e,n){var o=e||l(),i=$e(o,this).startOf("day"),s=t.calendarFormat(this,i)||"sameElse",a=n&&(M(n[s])?n[s].call(this,o):n[s]);return this.format(a||this.localeData().calendar(s,this,l(o)))}function Ls(){return new de(this)}function Rs(e,t){var n=F(e)?e:l(e);return!!(this.isValid()&&n.isValid())&&(t=_(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ps(e,t){var n=F(e)?e:l(e);return!!(this.isValid()&&n.isValid())&&(t=_(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Hs(e,t,n,s){var o=F(e)?e:l(e),i=F(t)?t:l(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(s=s||"()",(s[0]==="("?this.isAfter(o,n):!this.isBefore(o,n))&&(s[1]===")"?this.isBefore(i,n):!this.isAfter(i,n)))}function Is(e,t){var s,n=F(e)?e:l(e);return!!(this.isValid()&&n.isValid())&&(t=_(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf()))}function Bs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Vs(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function $s(e,t,n){var s,o,i;if(!this.isValid())return NaN;if(s=$e(e,this),!s.isValid())return NaN;switch(i=(s.utcOffset()-this.utcOffset())*6e4,t=_(t),t){case"year":o=Qe(this,s)/12;break;case"month":o=Qe(this,s);break;case"quarter":o=Qe(this,s)/3;break;case"second":o=(this-s)/1e3;break;case"minute":o=(this-s)/6e4;break;case"hour":o=(this-s)/36e5;break;case"day":o=(this-s-i)/864e5;break;case"week":o=(this-s-i)/6048e5;break;default:o=this-s}return n?o:O(o)}function Qe(e,t){var o,i,s=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(s,"months");return t-n<0?(o=e.clone().add(s-1,"months"),i=(t-n)/(n-o)):(o=e.clone().add(s+1,"months"),i=(t-n)/(o-n)),-(s+i)||0}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Us(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ks(e){if(!this.isValid())return null;var n=e!==!0,t=n?this.clone().utc():this;return t.year()<0||t.year()>9999?De(t,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",De(t,"Z")):De(t,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function qs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var n,s,o,i,e="moment",t="";return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+s+o+i)}function Ys(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=De(this,e);return this.localeData().postformat(n)}function Gs(e,t){return this.isValid()&&(F(e)&&e.isValid()||l(e).isValid())?C({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Xs(e){return this.from(l(),e)}function Qs(e,t){return this.isValid()&&(F(e)&&e.isValid()||l(e).isValid())?C({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Zs(e){return this.to(l(),e)}function yn(e){var t;return e===0[0]?this._locale._abbr:(t=R(e),t!=null&&(this._locale=t),this)}et=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===0[0]?this.localeData():this.locale(e)});function gn(){return this._locale}se=1e3,V=60*se,me=60*V,lt=(365*400+97)*24*me;function Z(e,t){return(e%t+t)%t}function Gt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-lt:new Date(e,t,n).valueOf()}function qt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-lt:Date.UTC(e,t,n)}function lo(e){if(e=_(e),e===0[0]||e==="millisecond"||!this.isValid())return this;var n,s=this._isUTC?qt:Gt;switch(e){case"year":n=s(this.year(),0,1);break;case"quarter":n=s(this.year(),this.month()-this.month()%3,1);break;case"month":n=s(this.year(),this.month(),1);break;case"week":n=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=s(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Z(n+(this._isUTC?0:this.utcOffset()*V),me);break;case"minute":n=this._d.valueOf(),n-=Z(n,V);break;case"second":n=this._d.valueOf(),n-=Z(n,se);break}return this._d.setTime(n),t.updateOffset(this,!0),this}function uo(e){if(e=_(e),e===0[0]||e==="millisecond"||!this.isValid())return this;var n,s=this._isUTC?qt:Gt;switch(e){case"year":n=s(this.year()+1,0,1)-1;break;case"quarter":n=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=s(this.year(),this.month()+1,1)-1;break;case"week":n=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=me-Z(n+(this._isUTC?0:this.utcOffset()*V),me)-1;break;case"minute":n=this._d.valueOf(),n+=V-Z(n,V)-1;break;case"second":n=this._d.valueOf(),n+=se-Z(n,se)-1;break}return this._d.setTime(n),t.updateOffset(this,!0),this}function ho(){return this._d.valueOf()-(this._offset||0)*6e4}function mo(){return Math.floor(this.valueOf()/1e3)}function fo(){return new Date(this.valueOf())}function po(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function go(){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()}}function vo(){return this.isValid()?this.toISOString():null}function bo(){return jt(this)}function jo(){return H({},o(this))}function yo(){return o(this).overflow}function _o(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ce(e,t){s(0,[e,e.length],0,t)}Ce("gggg","weekYear"),Ce("ggggg","weekYear"),Ce("GGGG","isoWeekYear"),Ce("GGGGG","isoWeekYear"),p("weekYear","gg"),p("isoWeekYear","GG"),g("weekYear",1),g("isoWeekYear",1),n("G",pe),n("g",pe),n("GG",c,b),n("gg",c,b),n("GGGG",je,Oe),n("gggg",je,Oe),n("GGGGG",oe,fe),n("ggggg",oe,fe),ce(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=i(e)}),ce(["gg","GG"],function(e,n,s,o){n[o]=t.parseTwoDigitYear(e)});function Oo(e){return $t.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function xo(e){return $t.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Co(){return U(this.year(),1,4)}function Eo(){var e=this.localeData()._week;return U(this.year(),e.dow,e.doy)}function $t(e,t,n,s,o){var i;return e==null?le(this,s,o).year:(i=U(e,s,o),t>i&&(t=i),Ao.call(this,e,t,n,s,o))}function Ao(e,t,n,s,o){var a=At(e,t,n,s,o),i=ae(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}s("Q",0,"Qo","quarter"),p("quarter","Q"),g("quarter",7),n("Q",Ye),d("Q",function(e,t){t[A]=(i(e)-1)*3});function So(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}s("D",["DD",2],"Do","date"),p("date","D"),g("date",9),n("D",c),n("DD",c,b),n("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),d(["D","DD"],x),d("Do",function(e,t){t[x]=i(e.match(c)[0])}),mt=ee("Date",!0),s("DDD",["DDDD",3],"DDDo","dayOfYear"),p("dayOfYear","DDD"),g("dayOfYear",4),n("DDD",be),n("DDDD",Xe),d(["DDD","DDDD"],function(e,t,n){n._dayOfYear=i(e)});function Fo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}s("m",["mm",2],0,"minute"),p("minute","m"),g("minute",14),n("m",c),n("mm",c,b),d(["m","mm"],j),Bt=ee("Minutes",!1),s("s",["ss",2],0,"second"),p("second","s"),g("second",15),n("s",c),n("ss",c,b),d(["s","ss"],T),It=ee("Seconds",!1),s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return this.millisecond()*10}),s(0,["SSSSS",5],0,function(){return this.millisecond()*100}),s(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),s(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),s(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),s(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),p("millisecond","ms"),g("millisecond",16),n("S",be,Ye),n("SS",be,b),n("SSS",be,Xe);for(I="SSSS";I.length<=9;I+="S")n(I,ln);function No(e,t){t[P]=i(("0."+e)*1e3)}for(I="S";I.length<=9;I+="S")d(I,No);Pt=ee("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");function Ro(){return this._isUTC?"UTC":""}function Po(){return this._isUTC?"Coordinated Universal Time":""}e=de.prototype,e.add=Tn,e.calendar=Ns,e.clone=Ls,e.diff=$s,e.endOf=uo,e.format=Ys,e.from=Gs,e.fromNow=Xs,e.to=Qs,e.toNow=Zs,e.get=bi,e.invali
53dAt=yo,e.isAfter=Rs,e.isBefore=Ps,e.isBetween=Hs,e.isSame=Is,e.isSameOrAfter=Bs,e.isSameOrBefore=Vs,e.isValid=bo,e.lang=et,e.locale=yn,e.localeData=gn,e.max=Gn,e.min=Yn,e.parsingFlags=jo,e.set=vi,e.startOf=lo,e.subtract=Fn,e.toArray=po,e.toObject=go,e.toDate=fo,e.toISOString=Ks,e.inspect=qs,e.toJSON=vo,e.toString=Us,e.unix=mo,e.valueOf=ho,e.creationData=_o,e.year=qe,e.isLeapYear=_i,e.weekYear=Oo,e.isoWeekYear=xo,e.quarter=e.quarters=So,e.month=Qt,e.daysInMonth=di,e.week=e.weeks=Ko,e.isoWeek=e.isoWeeks=Uo,e.weeksInYear=Eo,e.isoWeeksInYear=Co,e.date=mt,e.day=e.days=To,e.weekday=Mo,e.isoWeekday=ko,e.dayOfYear=Fo,e.hour=e.hours=on,e.minute=e.minutes=Bt,e.second=e.seconds=It,e.millisecond=e.milliseconds=Pt,e.utcOffset=ms,e.utc=ps,e.local=gs,e.parseZone=vs,e.hasAlignedHourOffset=bs,e.isDST=js,e.isLocal=_s,e.isUtcOffset=ws,e.isUtc=$n,e.isUTC=$n,e.zoneAbbr=Ro,e.zoneName=Po,e.dates=w("dates accessor is deprecated. Use date instead.",mt),e.months=w("months accessor is deprecated. Use month instead",Qt),e.years=w("years accessor is deprecated. Use year instead",qe),e.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",fs),e.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ys);function Io(e){return l(e*1e3)}function Bo(){return l.apply(null,arguments).parseZone()}function Dt(e){return e}r=it.prototype,r.calendar=pi,r.longDateFormat=wi,r.invalidDate=Oi,r.ordinal=xi,r.preparse=Dt,r.postformat=Dt,r.relativeTime=Ei,r.pastFuture=ki,r.set=to,r.months=fi,r.monthsShort=mi,r.monthsParse=ui,r.monthsRegex=ii,r.monthsShortRegex=ai,r.week=ei,r.firstDayOfYear=Zo,r.firstDayOfWeek=is,r.weekdays=Vo,r.weekdaysMin=Lo,r.weekdaysShort=Ho,r.weekdaysParse=zo,r.weekdaysRegex=wo,r.weekdaysShortRegex=co,r.weekdaysMinRegex=ro,r.isPM=io,r.meridiem=oo;function Ae(e,t,n,s){var o=R(),i=z().set(s,t);return o[n](i,e)}function St(e,t,n){if(W(e)&&(t=e,e=0[0]),e=e||"",t!=null)return Ae(e,t,n,"month");var s,o=[];for(s=0;s<12;s++)o[s]=Ae(e,s,n,"month");return o}function _t(e,t,n,s){typeof e=="boolean"?(W(t)&&(n=t,t=0[0]),t=t||""):(t=e,n=t,e=!1,W(t)&&(n=t,t=0[0]),t=t||"");var o,i,r=R(),a=e?r._week.dow:0;if(n!=null)return Ae(t,(n+a)%7,s,"day");i=[];for(o=0;o<7;o++)i[o]=Ae(t,(o+a)%7,s,"day");return i}function qo(e,t){return St(e,t,"months")}function Yo(e,t){return St(e,t,"monthsShort")}function Go(e,t,n){return _t(e,t,n,"weekdays")}function Xo(e,t,n){return _t(e,t,n,"weekdaysShort")}function Qo(e,t,n){return _t(e,t,n,"weekdaysMin")}X("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=i(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),t.lang=w("moment.lang is deprecated. Use moment.locale instead.",X),t.langData=w("moment.langData is deprecated. Use moment.localeData instead.",R),k=Math.abs;function Jo(){var e=this._data;return this._milliseconds=k(this._milliseconds),this._days=k(this._days),this._months=k(this._months),e.milliseconds=k(e.milliseconds),e.seconds=k(e.seconds),e.minutes=k(e.minutes),e.hours=k(e.hours),e.months=k(e.months),e.years=k(e.years),this}function xt(e,t,n,s){var o=C(t,n);return e._milliseconds+=s*o._milliseconds,e._days+=s*o._days,e._months+=s*o._months,e._bubble()}function ti(e,t){return xt(this,e,t,1)}function ni(e,t){return xt(this,e,t,-1)}function Tt(e){return e<0?Math.floor(e):Math.ceil(e)}function oi(){var o,i,a,r,c,s=this._milliseconds,e=this._days,t=this._months,n=this._data;return s>=0&&e>=0&&t>=0||s<=0&&e<=0&&t<=0||(s+=Tt(ft(t)+e)*864e5,e=0,t=0),n.milliseconds=s%1e3,o=O(s/1e3),n.seconds=o%60,i=O(o/60),n.minutes=i%60,a=O(i/60),n.hours=a%24,e+=O(a/24),r=O(Lt(e)),t+=r,e-=Tt(ft(r)),c=O(t/12),t%=12,n.days=e,n.months=t,n.years=c,this}function Lt(e){return e*4800/146097}function ft(e){return e*146097/4800}function ri(e){if(!this.isValid())return NaN;var t,s,n=this._milliseconds;if(e=_(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,s=this._months+Lt(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(ft(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function ci(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+i(this._months/12)*31536e6:NaN}function L(e){return function(){return this.as(e)}}Xt=L("ms"),tn=L("s"),an=L("m"),rn=L("h"),cn=L("d"),Ot=L("w"),vn=L("M"),bn=L("Q"),_n=L("y");function ji(){return C(this)}function yi(e){return e=_(e),this.isValid()?this[e+"s"]():NaN}function B(e){return function(){return this.isValid()?this._data[e]:NaN}}Zn=B("milliseconds"),Nt=B("seconds"),En=B("minutes"),Ft=B("hours"),Mt=B("days"),kt=B("months"),Et=B("years");function Si(){return O(this.days()/7)}D=Math.round,E={ss:44,s:45,m:45,h:22,d:26,M:11};function Ti(e,t,n,s,o){return o.relativeTime(t||1,!!n,e,s)}function zi(e,t,n){var s=C(e).abs(),o=D(s.as("s")),a=D(s.as("m")),r=D(s.as("h")),c=D(s.as("d")),l=D(s.as("M")),d=D(s.as("y")),i=o<=E.ss&&["s",o]||o<E.s&&["ss",o]||a<=1&&["m"]||a<E.m&&["mm",a]||r<=1&&["h"]||r<E.h&&["hh",r]||c<=1&&["d"]||c<E.d&&["dd",c]||l<=1&&["M"]||l<E.M&&["MM",l]||d<=1&&["y"]||["yy",d];return i[2]=t,i[3]=+e>0,i[4]=n,Ti.apply(null,i)}function Di(e){return e===0[0]?D:typeof e=="function"&&(D=e,!0)}function Ni(e,t){return E[e]!==0[0]&&(t===0[0]?E[e]:(E[e]=t,e==="s"&&(E.ss=t-1),!0))}function Li(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=zi(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}we=Math.abs;function te(e){return(e>0)-(e<0)||+e}function Ne(){if(!this.isValid())return this.localeData().invalidDate();var e,n,s,o,i,a,r,c,u,h,m,f,t=we(this._milliseconds)/1e3,g=we(this._days),d=we(this._months),l=O(t/60),p=O(l/60);return t%=60,l%=60,h=O(d/12),d%=12,c=h,r=d,a=g,i=p,o=l,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",e=this.asSeconds(),e?(m=e<0?"-":"",u=te(this._months)!==te(e)?"-":"",f=te(this._days)!==te(e)?"-":"",n=te(this._milliseconds)!==te(e)?"-":"",m+"P"+(c?u+c+"Y":"")+(r?u+r+"M":"")+(a?f+a+"D":"")+(i||o||s?"T":"")+(i?n+i+"H":"")+(o?n+o+"M":"")+(s?n+s+"S":"")):"P0D"}return a=Fe.prototype,a.isValid=cs,a.abs=Jo,a.add=ti,a.subtract=ni,a.as=ri,a.asMilliseconds=Xt,a.asSeconds=tn,a.asMinutes=an,a.asHours=rn,a.asDays=cn,a.asWeeks=Ot,a.asMonths=vn,a.asQuarters=bn,a.asYears=_n,a.valueOf=ci,a._bubble=oi,a.clone=ji,a.get=yi,a.milliseconds=Zn,a.seconds=Nt,a.minutes=En,a.hours=Ft,a.days=Mt,a.weeks=Si,a.months=kt,a.years=Et,a.humanize=Li,a.toISOString=Ne,a.toString=Ne,a.toJSON=Ne,a.locale=yn,a.localeData=gn,a.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ne),a.lang=et,s("X",0,0,"unix"),s("x",0,0,"valueOf"),n("x",pe),n("X",Ut),d("X",function(e,t,n){n._d=new Date(parseFloat(e,10)*1e3)}),d("x",function(e,t,n){n._d=new Date(i(e))}),t.version="2.24.0",Ii(l),t.fn=e,t.min=us,t.max=ds,t.now=Jn,t.utc=z,t.unix=Io,t.months=qo,t.isDate=Se,t.locale=X,t.invalid=Ee,t.duration=C,t.isMoment=F,t.weekdays=Go,t.parseZone=Bo,t.localeData=R,t.isDuration=Je,t.monthsShort=Yo,t.weekdaysMin=Qo,t.defineLocale=tt,t.updateLocale=no,t.locales=eo,t.weekdaysShort=Xo,t.normalizeUnits=_,t.relativeTimeRounding=Di,t.relativeTimeThreshold=Ni,t.calendarFormat=Ds,t.prototype=e,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});const{OAuth2AuthCodePKCE}=window.OAuth2AuthCodePKCE,oauth=new OAuth2AuthCodePKCE({authorizationUrl:"https://nabataea.auth.us-east-2.amazoncognito.com/login",tokenUrl:"https://nabataea.auth.us-east-2.amazoncognito.com/oauth2/token",clientId:"23e3nfik14su34iglsht4jkqpt",scopes:["email","openid"],redirectUrl:base_url+"/logged_in/",onAccessTokenExpiry(e){return e()},onInvalidGrant(e){return e()}});function login(){localStorage.setItem("before_log_page",window.location),oauth.fetchAuthorizationCode()}function isLoggedIn(){return oauth.isAuthorized()}function loadTokens(){oauth.getAccessToken().then(function(){console.log(oauth.state)})}
53function get_user(){if(isLoggedIn()){var e=jwt_decode(oauth.state.idToken.value);return console.log(e),e["cognito:username"]}return null}function logout(){oauth.reset(),localStorage.setItem("before_log_page",window.location),window.location="https://nabataea.auth.us-east-2.amazoncognito.com/logout?client_id="+oauth.config.clientId+"&logout_uri="+base_url+"/logged_out"}function setupLoginButtons(){var e=document.getElementById("menu_login");isLoggedIn()&&e.classList.add("logged_in"),e.addEventListener("click",function(e){return e.preventDefault(),e.stopPropagation(),isLoggedIn()?logout():login(),!1},!1)}setupLoginButtons();function build_tree(e){for(var t=[],n=0;Object.keys(t).length<e.length;)if(e.forEach(function(e){if(t[e.id]===0[0]){var n,s=e.attributes.parent;s==null?t[e.id]=e:(n=t[s],n.children==0[0]&&(n.children=[]),n.children.push(e),t[e.id]=e)}}),n++,n>100){console.log("problem");break}}var page_data={comments:[]};function render_comments(){var e=document.getElementById("comments"),n="",t=Handlebars.templates.comments;e.innerHTML=t({comments:page_data.comments,user:get_user(),new_comment_url:commentBackend+"/comments"})}function display_comments(){var e,n,s,t=document.getElementById("comments");t!=null&&(e=new XMLHttpRequest,s="",n=document.body.getAttribute("data-comment-page")||window.location,e.open("GET",commentBackend+"/comments?filter[page]="+encodeURI(n)),e.setRequestHeader("Content-Type","application/json"),e.onload=function(){console.log("Received comments data");var t=JSON.parse(e.responseText),n=build_tree(t.data);page_data.comments=t.data,render_comments()},e.send(),console.log(t))}function post_comment(e){oauth.getAccessToken().then(function(){var t,n,s=oauth.state.idToken;console.log(e),t=$("textarea",e).val(),n={data:{type:"comment",attributes:{parent:null,page:document.body.getAttribute("data-comment-page")||window.location.href,content:t}}},$.ajax({type:"POST",url:commentBackend+"/comments",dataType:"json",contentType:"application/json",data:JSON.stringify(n),headers:{Authorization:"Bearer "+s.value},success:function(e){page_data.comments.push(e.data),render_comments()}})})}display_comments();function load_recommendations(){var e=recommendBackend,t=$(".sidebar");if(t.length>0){let n=configcat.getClient(configCatKey,configcat.PollingMode.LazyLoad,{cacheTimeToLiveSeconds:600});n.getValueAsync("recommender",!1).then(n=>{if(n){var s=$('<div class="recommendations"></div>').eq(0);$.ajax({dataType:"json",url:e+"/recommendation?page_id="+page_id,xhrFields:{withCredentials:!0},success:function(n){console.log(n),changeToRelativeUrls(n);var s,o,i,a,r,c,l=Handlebars.templates.recommendation,d=l({recommendations:n});t[0].insertAdjacentHTML("afterbegin",d);for(c=new URLSearchParams(window.location.search),i="",a=["utm_campaign","utm_source","utm_medium","utm_content"],s=0;s<a.length;s++)r=a[s],o=c.get(r),o!=null&&o!=""&&(i+="&"+r+"="+o);$.ajax({dataType:"json",url:e+"/transaction?page_id="+page_id+i,xhrFields:{withCredentials:!0}})}})}})}}function changeToRelativeUrls(e){for(var t of e)t.url=t.url.replace(/^.*\/\/[^/]+/,"")}load_recommendations(),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.lozad=t()}(this,function(){"use strict";var e,n,s="undefined"!=typeof document&&document.documentMode,o={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()&&(o=e.querySelector("img"),r=!1,null===o&&(o=document.createElement("img"),r=!0),s&&e.getAttribute("data-iesrc")&&(o.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(o.alt=e.getAttribute("data-alt")),r&&e.append(o)),"video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var t,n,o,a,r,c=e.children,l=0[0],i=0;i<=c.length-1;i++)(l=c[i].getAttribute("data-src"))&&(c[i].src=l);e.load()}e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset")),a=",",e.getAttribute("data-background-delimiter")&&(a=e.getAttribute("data-background-delimiter")),e.getAttribute("data-background-image")?e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(a).join("'),url
53('")+"')":e.getAttribute("data-background-image-set")&&(t=e.getAttribute("data-background-image-set").split(a),n=t[0].substr(0,t[0].indexOf(" "))||t[0],n=-1===n.indexOf("url(")?"url("+n+")":n,1===t.length?e.style.backgroundImage=n:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+n+"; background-image: -webkit-image-set("+t+"); background-image: image-set("+t+")")),e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function t(e){e.setAttribute("data-loaded",!0)}return e=function(e){return"true"===e.getAttribute("data-loaded")},n=function(e){var t=1<arguments.length&&0[0]!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:t.querySelectorAll(e)},function(){var i,r,l,h,f,m=0<arguments.length&&0[0]!==arguments[0]?arguments[0]:".lozad",p=1<arguments.length&&0[0]!==arguments[1]?arguments[1]:{},s=Object.assign({},o,p),c=s.root,v=s.rootMargin,g=s.threshold,d=s.load,u=s.loaded,a=0[0];"undefined"!=typeof window&&window.IntersectionObserver&&(a=new IntersectionObserver((f=d,h=u,function(n,s){n.forEach(function(n){(0<n.intersectionRatio||n.isIntersecting)&&(s.unobserve(n.target),e(n.target)||(f(n.target),t(n.target),h(n.target)))})}),{root:c,rootMargin:v,threshold:g}));for(l=n(m,c),i=0;i<l.length;i++)(r=l[i]).getAttribute("data-placeholder-background")&&(r.style.background=r.getAttribute("data-placeholder-background"));return{observe:function(){for(var o=n(m,c),s=0;s<o.length;s++)e(o[s])||(a?a.observe(o[s]):(d(o[s]),t(o[s]),u(o[s])))},triggerLoad:function(n){e(n)||(d(n),t(n),u(n))},observer:a}}})

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.