vendor: 4,653 bytes, lines 1-2
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(()=>{var t={6771:(t,r,e)=>{e(9554),e(1539),e(4747),e(8674),function(t,r,e,n){"use strict";r.behaviors.nara_digital_room_carousel={attach:function(r,n){var o,i=".wp-block-nara-drr-carousel";(o=i,new Promise((function(t){if(document.querySelector(o))return t(document.querySelector(o));var r=new MutationObserver((function(e){document.querySelector(o)&&(t(document.querySelector(o)),r.disconnect())}));r.observe(document.body,{childList:!0,subtree:!0})}))).then((function(r){e("nara_digital_room_carousel",i).forEach((function(r){t(i).slick({slidesToShow:6,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{slidesToShow:6}},{breakpoint:992,settings:{slidesToShow:4}},{breakpoint:768,settings:{slidesToShow:3}},{breakpoint:576,settings:{slidesToShow:1}}]})}))}))}}}(jQuery,Drupal,once,drupalSettings)},9662:(t,r,e)=>{var n=e(614),o=e(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},9483:(t,r,e)=>{var n=e(4411),o=e(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},6077:(t,r,e)=>{var n=e(614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},5787:(t,r,e)=>{var n=e(7976),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw o("Incorrect invocation")}},9670:(t,r,e)=>{var n=e(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},8533:(t,r,e)=>{"use strict";var n=e(2092).forEach,o=e(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,r,e)=>{var n=e(5656),o=e(1400),i=e(6244),c=function(t){return function(r,e,c){var a,u=n(r),s=i(u),f=o(c,s);if(t&&e!=e){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},2092:(t,r,e)=>{var n=e(9974),o=e(1702),i=e(8361),c=e(7908),a=e(6244),u=e(5417),s=o([].push),f=function(t){var r=1==t,e=2==t,o=3==t,f=4==t,p=6==t,v=7==t,l=5==t||p;return function(h,d,y,b){for(var g,m,x=c(h),S=i(x),w=n(d,y),j=a(S),O=0,T=b||u,E=r?T(h,j):e||v?T(h,0):void 0;j>O;O++)if((l||O in S)&&(m=w(g=S[O],O,x),t))if(r)E[O]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:s(E,g)}else switch(t){case 4:return!1;case 7:s(E,g)}return p?-1:o||f?f:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9341:(t,r,e)=>{"use strict";var n=e(7293);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){return 1},1)}))}},206:(t,r,e)=>{var n=e(1702);t.exports=n([].slice)},7475:(t,r,e)=>{var n=e(3157),o=e(4411),i=e(111),c=e(5112)("species"),a=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===a||n(r.prototype))||i(r)&&null===(r=r[c]))&&(r=void 0)),void 0===r?a:r}},5417:(t,r,e)=>{var n=e(7475);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},7072:(t,r,e)=>{var n=e(5112)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},4326:(t,r,e)=>{var n=e(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:(t,r,e)=>{var n=e(1694),o=e(614),i=e(4326),c=e(5112)("toStringTag"),a=Object,u="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=a(t),c))?e:u?i(r):"Object"==(n=i(r))&&o(r.callee)?"Arguments":n}},9920:(t,r,e)=>{var n=e(2597),o=e(3887),i=e(1236),c=e(3070);t.exports=function(t,r,e){for(var a=o(r),u=c.f,s=i.f,f=0;f<a.length;f++){var p=a[f];n(t,p)||e&&n(e,p)||u(t,p,s(r,p))}}},8880:(t,r,e)=>{var n=e(9781),o=e(3070),i=e(9114);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},9114:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},7045:(t,r,e)=>{var n=e(6339),o=e(3070);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},8052:(t,r,e)=>{var n=e(614),o=e(3070),i=e(6339),c=e(3072);t.exports=function(t,r,e,a){a||(a={});var u=a.enumerable,s=void 0!==a.name?a.name:r;if(n(e)&&i(e,s,a),a.global)u?t[r]=e:c(r,e);else{try{a.unsafe?t[r]&&(u=!0):delete t[r]}catch(t){}
vendor: 1,598 bytes, line 2
2u?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},3072:(t,r,e)=>{var n=e(7854),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},9781:(t,r,e)=>{var n=e(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var r="object"==typeof document&&document.all,e=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:e}},317:(t,r,e)=>{var n=e(7854),o=e(111),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(t,r,e)=>{var n=e(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7871:(t,r,e)=>{var n=e(3823),o=e(5268);t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},3823:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},1528:(t,r,e)=>{var n=e(8113);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:(t,r,e)=>{var n=e(8113);
vendor: 15,991 bytes, line 2
2t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:(t,r,e)=>{var n=e(4326);t.exports="undefined"!=typeof process&&"process"==n(process)},1036:(t,r,e)=>{var n=e(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,r,e)=>{var n,o,i=e(7854),c=e(8113),a=i.process,u=i.Deno,s=a&&a.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,r,e)=>{var n=e(7854),o=e(1236).f,i=e(8880),c=e(8052),a=e(3072),u=e(9920),s=e(4705);t.exports=function(t,r){var e,f,p,v,l,h=t.target,d=t.global,y=t.stat;if(e=d?n:y?n[h]||a(h,{}):(n[h]||{}).prototype)for(f in r){if(v=r[f],p=t.dontCallGetSet?(l=o(e,f))&&l.value:e[f],!s(d?f:h+(y?".":"#")+f,t.forced)&&void 0!==p){if(typeof v==typeof p)continue;u(v,p)}(t.sham||p&&p.sham)&&i(v,"sham",!0),c(e,f,v,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},2104:(t,r,e)=>{var n=e(4374),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(i):function(){return c.apply(i,arguments)})},9974:(t,r,e)=>{var n=e(1470),o=e(9662),i=e(4374),c=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?c(t,r):function(){return t.apply(r,arguments)}}},4374:(t,r,e)=>{var n=e(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,r,e)=>{var n=e(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:(t,r,e)=>{var n=e(9781),o=e(2597),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,s=a&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:s}},5668:(t,r,e)=>{var n=e(1702),o=e(9662);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},1470:(t,r,e)=>{var n=e(4326),o=e(1702);t.exports=function(t){if("Function"===n(t))return o(t)}},1702:(t,r,e)=>{var n=e(4374),o=Function.prototype,i=o.call,c=n&&o.bind.bind(i,i);t.exports=n?c:function(t){return function(){return i.apply(t,arguments)}}},5005:(t,r,e)=>{var n=e(7854),o=e(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},1246:(t,r,e)=>{var n=e(648),o=e(8173),i=e(8554),c=e(7497),a=e(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,a)||o(t,"@@iterator")||c[n(t)]}},4121:(t,r,e)=>{var n=e(6916),o=e(9662),i=e(9670),c=e(6330),a=e(1246),u=TypeError;t.exports=function(t,r){var e=arguments.length<2?a(t):r;if(o(e))return i(n(e,t));throw u(c(t)+" is not iterable")}},8173:(t,r,e)=>{var n=e(9662),o=e(8554);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},7854:(t,r,e)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},2597:(t,r,e)=>{var n=e(1702),o=e(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},3501:t=>{t.exports={}},842:t=>{t.exports=function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}},490:(t,r,e)=>{var n=e(5005);t.exports=n("document","documentElement")},4664:(t,r,e)=>{var n=e(9781),o=e(7293),i=e(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(4326),c=Object,a=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):c(t)}:c},2788:(t,r,e)=>{var n=e(1702),o=e(614),i=e(5465),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},9909:(t,r,e)=>{var n,o,i,c=e(4811),a=e(7854),u=e(111),s=e(8880),f=e(2597),p=e(5465),v=e(6200),l=e(3501),h="Object already initialized",d=a.TypeError,y=a.WeakMap;if(c||p.state){var b=p.state||(p.state=new y);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,r){if(b.has(t))throw d(h);return r.facade=t,b.set(t,r),r},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var g=v("state");l[g]=!0,n=function(t,r){if(f(t,g))throw d(h);return r.facade=t,s(t,g,r),r},o=function(t){return f(t,g)?t[g]:{}},i=function(t){return f(t,g)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw d("Incompatible receiver, "+t+" required");return e}}}},7659:(t,r,e)=>{var n=e(5112),o=e(7497),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},3157:(t,r,e)=>{var n=e(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:(t,r,e)=>{var n=e(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4411:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(614),c=e(648),a=e(5005),u=e(2788),s=function(){},f=[],p=a("Reflect","construct"),v=/^\s*(?:class|function)\b/,l=n(v.exec),h=!v.exec(s),d=function(t){if(!i(t))return!1;try{return p(s,f,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(v,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!p||o((function(){var t;return d(d.call)||!d(Object)||!d((function(){t=!0}))||t}))?y:d},4705:(t,r,e)=>{var n=e(7293),o=e(614),i=/#|\.prototype\./,c=function(t,r){var e=u[a(t)];return e==f||e!=s&&(o(r)?n(r):!!r)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},8554:t=>{t.exports=function(t){return null==t}},111:(t,r,e)=>{var n=e(614),o=e(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},2190:(t,r,e)=>{var n=e(5005),o=e(614),i=e(7976),c=e(3307),a=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,a(t))}},408:(t,r,e)=>{var n=e(9974),o=e(6916),i=e(9670),c=e(6330),a=e(7659),u=e(6244),s=e(7976),f=e(4121),p=e(1246),v=e(9212),l=TypeError,h=function(t,r){this.stopped=t,this.result=r},d=h.prototype;t.exports=function(t,r,e){var y,b,g,m,x,S,w,j=e&&e.that,O=!(!e||!e.AS_ENTRIES),T=!(!e||!e.IS_RECORD),E=!(!e||!e.IS_ITERATOR),P=!(!e||!e.INTERRUPTED),L=n(r,j),C=function(t){return y&&v(y,"normal",t),new h(!0,t)},R=function(t){return O?(i(t),P?L(t[0],t[1],C):L(t[0],t[1])):P?L(t,C):L(t)};if(T)y=t.iterator;else if(E)y=t;else{if(!(b=p(t)))throw l(c(t)+" is not iterable");if(a(b)){for(g=0,m=u(t);m>g;g++)if((x=R(t[g]))&&s(d,x))return x;return new h(!1)}y=f(t,b)}for(S=T?t.next:y.next;!(w=o(S,y)).done;){try{x=R(w.value)}catch(t){v(y,"throw",t)}if("object"==typeof x&&x&&s(d,x))return x}return new h(!1)}},9212:(t,r,e)=>{var n=e(6916),o=e(9670),i=e(8173);t.exports=function(t,r,e){var c,a;o(t);try{if(!(c=i(t,"return"))){if("throw"===r)throw e;return e}c=n(c,t)}catch(t){a=!0,c=t}if("throw"===r)throw e;if(a)throw c;return o(c),e}},7497:t=>{t.exports={}},6244:(t,r,e)=>{var n=e(7466);t.exports=function(t){return n(t.length)}},6339:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(614),c=e(2597),a=e(9781),u=e(6530).CONFIGURABLE,s=e(2788),f=e(9909),p=f.enforce,v=f.get,l=String,h=Object.defineProperty,d=n("".slice),y=n("".replace),b=n([].join),g=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,r,e){"Symbol("===d(l(r),0,7)&&(r="["+y(l(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!c(t,"name")||u&&t.name!==r)&&(a?h(t,"name",{value:r,configurable:!0}):t.name=r),g&&e&&c(e,"arity")&&t.length!==e.arity&&h(t,"length",{value:e.arity});try{e&&c(e,"constructor")&&e.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=p(t);return c(n,"source")||(n.source=b(m,"string"==typeof r?r:"")),t};Function.prototype.toString=x((function(){return i(this)&&v(this).source||s(this)}),"toString")},4758:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},5948:(t,r,e)=>{var n,o,i,c,a,u=e(7854),s=e(9974),f=e(1236).f,p=e(261).set,v=e(8572),l=e(6833),h=e(1528),d=e(1036),y=e(5268),b=u.MutationObserver||u.WebKitMutationObserver,g=u.document,m=u.process,x=u.Promise,S=f(u,"queueMicrotask"),w=S&&S.value;if(!w){var j=new v,O=function(){var t,r;for(y&&(t=m.domain)&&t.exit();r=j.get();)try{r()}catch(t){throw j.head&&n(),t}t&&t.enter()};l||y||d||!b||!g?!h&&x&&x.resolve?((c=x.resolve(void 0)).constructor=x,a=s(c.then,c),n=function(){a(O)}):y?n=function(){m.nextTick(O)}:(p=s(p,u),n=function(){p(O)}):(o=!0,i=g.createTextNode(""),new b(O).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),w=function(t){j.head||n(),j.add(t)}}t.exports=w},8523:(t,r,e)=>{"use strict";var n=e(9662),o=TypeError,i=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw o("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new i(t)}},3070:(t,r,e)=>{var n=e(9781),o=e(4664),i=e(3353),c=e(9670),a=e(4948),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",v="configurable",l="writable";r.f=n?i?function(t,r,e){if(c(t),r=a(r),c(e),"function"==typeof t&&"prototype"===r&&"value"in e&&l in e&&!e[l]){var n=f(t,r);n&&n[l]&&(t[r]=e.value,e={configurable:v in e?e[v]:n[v],enumerable:p in e?e[p]:n[p],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(c(t),r=a(r),c(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},1236:(t,r,e)=>{var n=e(9781),o=e(6916),i=e(5296),c=e(9114),a=e(5656),u=e(4948),s=e(2597),f=e(4664),p=Object.getOwnPropertyDescriptor;r.f=n?p:function(t,r){if(t=a(t),r=u(r),f)try{return p(t,r)}catch(t){}if(s(t,r))return c(!o(i.f,t,r),t[r])}},8006:(t,r,e)=>{var n=e(6324),o=e(748).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,r)=>{r.f=Object.getOwnPropertySymbols},7976:(t,r,e)=>{var n=e(1702);t.exports=n({}.isPrototypeOf)},6324:(t,r,e)=>{var n=e(1702),o=e(2597),i=e(5656),c=e(1318).indexOf,a=e(3501),u=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(a,e)&&o(n,e)&&u(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~c(f,e)||u(f,e));return f}},5296:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},7674:(t,r,e)=>{var n=e(5668),o=e(9670),i=e(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),i(n),r?t(e,n):e.__proto__=n,e}}():void 0)},288:(t,r,e)=>{"use strict";var n=e(1694),o=e(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(t,r,e)=>{var n=e(6916),o=e(614),i=e(111),c=TypeError;t.exports=function(t,r){var e,a;if("string"===r&&o(e=t.toString)&&!i(a=n(e,t)))return a;if(o(e=t.valueOf)&&!i(a=n(e,t)))return a;if("string"!==r&&o(e=t.toString)&&!i(a=n(e,t)))return a;throw c("Can't convert object to primitive value")}},3887:(t,r,e)=>{var n=e(5005),o=e(1702),i=e(8006),c=e(5181),a=e(9670),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(a(t)),e=c.f;return e?u(r,e(t)):r}},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},3702:(t,r,e)=>{var n=e(7854),o=e(2492),i=e(614),c=e(4705),a=e(2788),u=e(5112),s=e(7871),f=e(3823),p=e(1913),v=e(7392),l=o&&o.prototype,h=u("species"),d=!1,y=i(n.PromiseRejectionEvent),b=c("Promise",(function(){var t=a(o),r=t!==String(o);if(!r&&66===v)return!0;if(p&&(!l.catch||!l.finally))return!0;if(!v||v<51||!/native code/.test(t)){var e=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((e.constructor={})[h]=n,!(d=e.then((function(){}))instanceof n))return!0}return!r&&(s||f)&&!y}));t.exports={CONSTRUCTOR:b,REJECTION_EVENT:y,SUBCLASSING:d}},2492:(t,r,e)=>{var n=e(7854);t.exports=n.Promise},9478:(t,r,e)=>{var n=e(9670),o=e(111),i=e(8523);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},612:(t,r,e)=>{var n=e(2492),o=e(7072),i=e(3702).CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}))}))},8572:t=>{var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=r},4488:(t,r,e)=>{var n=e(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},6340:(t,r,e)=>{"use strict";var n=e(5005),o=e(7045),i=e(5112),c=e(9781),a=i("species");t.exports=function(t){var r=n(t);c&&r&&!r[a]&&o(r,a,{configurable:!0,get:function(){return this}})}},8003:(t,r,e)=>{var n=e(3070).f,o=e(2597),i=e(5112)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},6200:(t,r,e)=>{var n=e(2309),o=e(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,r,e)=>{var n=e(7854),o=e(3072),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},2309:(t,r,e)=>{var n=e(1913),o=e(5465);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,r,e)=>{var n=e(9670),o=e(9483),i=e(8554),c=e(5112)("species");t.exports=function(t,r){var e,a=n(t).constructor;return void 0===a||i(e=n(a)[c])?r:o(e)}},6293:(t,r,e)=>{var n=e(7392),o=e(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},261:(t,r,e)=>{var n,o,i,c,a=e(7854),u=e(2104),s=e(9974),f=e(614),p=e(2597),v=e(7293),l=e(490),h=e(206),d=e(317),y=e(8053),b=e(6833),g=e(5268),m=a.setImmediate,x=a.clearImmediate,S=a.process,w=a.Dispatch,j=a.Function,O=a.MessageChannel,T=a.String,E=0,P={},L="onreadystatechange";v((function(){n=a.location}));var C=function(t){if(p(P,t)){var r=P[t];delete P[t],r()}},R=function(t){return function(){C(t)}},_=function(t){C(t.data)},M=function(t){a.postMessage(T(t),n.protocol+"//"+n.host)};m&&x||(m=function(t){y(arguments.length,1);var r=f(t)?t:j(t),e=h(arguments,1);return P[++E]=function(){u(r,void 0,e)},o(E),E},x=function(t){delete P[t]},g?o=function(t){S.nextTick(R(t))}:w&&w.now?o=function(t){w.now(R(t))}:O&&!b?(c=(i=new O).port2,i.port1.onmessage=_,o=s(c.postMessage,c)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!v(M)?(o=M,a.addEventListener("message",_,!1)):o=L in d("script")?function(t){l.appendChild(d("script"))[L]=function(){l.removeChild(this),C(t)}}:function(t){setTimeout(R(t),0)}),t.exports={set:m,clear:x}},1400:(t,r,e)=>{var n=e(9303),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5656:(t,r,e)=>{var n=e(8361),o=e(4488);t.exports=function(t){return n(o(t))}},9303:(t,r,e)=>{var n=e(4758);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},7466:(t,r,e)=>{var n=e(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,r,e)=>{var n=e(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:(t,r,e)=>
vendor: 4,043 bytes, line 2
2{var n=e(6916),o=e(111),i=e(2190),c=e(8173),a=e(2140),u=e(5112),s=TypeError,f=u("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,u=c(t,f);if(u){if(void 0===r&&(r="default"),e=n(u,t,r),!o(e)||i(e))return e;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),a(t,r)}},4948:(t,r,e)=>{var n=e(7593),o=e(2190);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},1694:(t,r,e)=>{var n={};n[e(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},6330:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},9711:(t,r,e)=>{var n=e(1702),o=0,i=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},3307:(t,r,e)=>{var n=e(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,r,e)=>{var n=e(9781),o=e(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:t=>{var r=TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},4811:(t,r,e)=>{var n=e(7854),o=e(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:(t,r,e)=>{var n=e(7854),o=e(2309),i=e(2597),c=e(9711),a=e(6293),u=e(3307),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)||(f[t]=a&&i(s,t)?s[t]:p("Symbol."+t)),f[t]}},9554:(t,r,e)=>{"use strict";var n=e(2109),o=e(8533);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},1539:(t,r,e)=>{var n=e(1694),o=e(8052),i=e(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},821:(t,r,e)=>{"use strict";var n=e(2109),o=e(6916),i=e(9662),c=e(8523),a=e(2534),u=e(408);n({target:"Promise",stat:!0,forced:e(612)},{all:function(t){var r=this,e=c.f(r),n=e.resolve,s=e.reject,f=a((function(){var e=i(r.resolve),c=[],a=0,f=1;u(t,(function(t){var i=a++,u=!1;f++,o(e,r,t).then((function(t){u||(u=!0,c[i]=t,--f||n(c))}),s)})),--f||n(c)}));return f.error&&s(f.value),e.promise}})},4164:(t,r,e)=>{"use strict";var n=e(2109),o=e(1913),i=e(3702).CONSTRUCTOR,c=e(2492),a=e(5005),u=e(614),s=e(8052),f=c&&c.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(c)){var p=a("Promise").prototype.catch;f.catch!==p&&s(f,"catch",p,{unsafe:!0})}},3401:(t,r,e)=>{"use strict";var n,o,i,c=e(2109),a=e(1913),u=e(5268),s=e(7854),f=e(6916),p=e(8052),v=e(7674),l=e(8003),h=e(6340),d=e(9662),y=e(614),b=e(111),g=e(5787),m=e(6707),x=e(261).set,S=e(5948),w=e(842),j=e(2534),O=e(8572),T=e(9909),E=e(2492),P=e(3702),L=e(8523),C="Promise",R=P.CONSTRUCTOR,_=P.REJECTION_EVENT,M=P.SUBCLASSING,A=T.getterFor(C),I=T.set,N=E&&E.prototype,D=E,k=N,F=s.TypeError,G=s.document,U=s.process,V=L.f,z=V,H=!!(G&&G.createEvent&&s.dispatchEvent),q="unhandledrejection",B=function(t){var r;return!(!b(t)||!y(r=t.then))&&r},W=function(t,r){var e,n,o,i=r.value,c=1==r.state,a=c?t.ok:t.fail,u=t.resolve,s=t.reject,p=t.domain;try{a?(c||(2===r.rejection&&Y(r),r.rejection=1),!0===a?e=i:(p&&p.enter(),e=a(i),p&&(p.exit(),o=!0)),e===t.promise?s(F("Promise-chain cycle")):(n=B(e))?f(n,e,u,s):u(e)):s(i)}catch(t){p&&!o&&p.exit(),s(t)}},J=function(t,r){t.notified||(t.notified=!0,S((function(){for(var e,n=t.reactions;e=n.get();)W(e,t);t.notified=!1,r&&!t.rejection&&Q(t)})))},K=function(t,r,e){var n,o;H?((n=G.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:r,reason:e},!_&&(o=s["on"+t])?o(n):t===q&&w("Unhandled promise rejection",e)},Q=function(t){f(x,s,(function(){var r,e=t.facade,n=t.value;if(X(t)&&(r=j((function(){u?U.emit("unhandledRejection",n,e):K(q,e,n)})),t.rejection=u||X(t)?2:1,r.error))throw r.value}))},X=function(t){return 1!==t.rejection&&!t.parent},Y=function(t){f(x,s,(function(){var r=t.facade;u?U.emit("rejectionHandled",r):K("rejectionhandled",r,t.value)}))},$=function(t,r,e){return function(n){t(r,n,e)}},Z=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,J(t,!0))},tt=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);
vendor: 4,349 bytes, lines 2-4
2try{if(t.facade===r)throw F("Promise can't be resolved itself");var n=B(r);n?S((function(){var e={done:!1};try{f(n,r,$(tt,e,t),$(Z,e,t))}catch(r){Z(e,r,t)}})):(t.value=r,t.state=1,J(t,!1))}catch(r){Z({done:!1},r,t)}}};if(R&&(k=(D=function(t){g(this,k),d(t),f(n,this);var r=A(this);try{t($(tt,r),$(Z,r))}catch(t){Z(r,t)}}).prototype,(n=function(t){I(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:void 0})}).prototype=p(k,"then",(function(t,r){var e=A(this),n=V(m(this,D));return e.parent=!0,n.ok=!y(t)||t,n.fail=y(r)&&r,n.domain=u?U.domain:void 0,0==e.state?e.reactions.add(n):S((function(){W(n,e)})),n.promise})),o=function(){var t=new n,r=A(t);this.promise=t,this.resolve=$(tt,r),this.reject=$(Z,r)},L.f=V=function(t){return t===D||undefined===t?new o(t):z(t)},!a&&y(E)&&N!==Object.prototype)){i=N.then,M||p(N,"then",(function(t,r){var e=this;return new D((function(t,r){f(i,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete N.constructor}catch(t){}v&&v(N,k)}c({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:D}),l(D,C,!1,!0),h(C)},8674:(t,r,e)=>{e(3401),e(821),e(4164),e(6027),e(683),e(6294)},6027:(t,r,e)=>{"use strict";var n=e(2109),o=e(6916),i=e(9662),c=e(8523),a=e(2534),u=e(408);n({target:"Promise",stat:!0,forced:e(612)},{race:function(t){var r=this,e=c.f(r),n=e.reject,s=a((function(){var c=i(r.resolve);u(t,(function(t){o(c,r,t).then(e.resolve,n)}))}));return s.error&&n(s.value),e.promise}})},683:(t,r,e)=>{"use strict";var n=e(2109),o=e(6916),i=e(8523);n({target:"Promise",stat:!0,forced:e(3702).CONSTRUCTOR},{reject:function(t){var r=i.f(this);return o(r.reject,void 0,t),r.promise}})},6294:(t,r,e)=>{"use strict";var n=e(2109),o=e(5005),i=e(1913),c=e(2492),a=e(3702).CONSTRUCTOR,u=e(9478),s=o("Promise"),f=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(t){return u(f&&this===s?c:this,t)}})},4747:(t,r,e)=>{var n=e(7854),o=e(8324),i=e(8509),c=e(8533),a=e(8880),u=function(t){if(t&&t.forEach!==c)try{a(t,"forEach",c)}catch(r){t.forEach=c}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.n=t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),(()=>{"use strict";e(6771)})()})();; 3/*! For license information please see nara_timeline_app.js.LICENSE.txt */ 4(()=>{var t={9662:(t,e,i)=>{var n=i(614),s=i(6330),a=TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not a function")}},9483:(t,e,i)=>{var n=i(4411),s=i(6330),a=TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not a constructor")}},6077:(t,e,i)=>{var n=i(614),s=String,a=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw a("Can't set "+s(t)+" as a prototype")}},1223:(t,e,i)=>{var n=i(5112),s=i(30),a=i(3070).f,r=n("unscopables"),o=Array.prototype;null==o[r]&&a(o,r,{configurable:!0,value:s(null)}),t.exports=function(t){o[r][t]=!0}},1530:(t,e,i)=>{"use strict";var n=i(8710).charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},5787:(t,e,i)=>{var n=i(7976),s=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw s("Incorrect invocation")}},9670:(t,e,i)=>{var n=i(111),s=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not an object")}},8533:(t,e,i)=>{"use strict";var n=i(2092).forEach,s=i(9341)("forEach");t.exports=s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,e,i)=>{var n=i(5656),s=i(1400),a=i(6244),r=function(t){return function(e,i,r){var o,l=n(e),h=a(l),d=s(r,h);if(t&&i!=i){for(;h>d;)if((o=l[d++])!=o)return!0}else for(;h>d;d++)if((t||d in l)&&l[d]===i)return t||d||0;return!t&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},2092:(t,e,i)=>{var n=i(9974),s=i(1702),a=i(8361),r=i(7908),o=i(6244),l=i(5417),h=s([].push),d=function(t){var e=1==t,i=2==t,s=3==t,d=4==t,c=6==t,u=7==t,p=5==t||c;return function(m,f,g,_){for(var v,y,b=r(m),w=a(b),x=n(f,g),k=o(w),T=0,E=_||l,S=e?E(m,k):i||u?E(m,0):void 0;k>T;
vendor: 3,863 bytes, line 4
4T++)if((p||T in w)&&(y=x(v=w[T],T,b),t))if(e)S[T]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return T;case 2:h(S,v)}else switch(t){case 4:return!1;case 7:h(S,v)}return c?-1:s||d?d:S}};t.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},9341:(t,e,i)=>{"use strict";var n=i(7293);t.exports=function(t,e){var i=[][t];return!!i&&n((function(){i.call(null,e||function(){return 1},1)}))}},206:(t,e,i)=>{var n=i(1702);t.exports=n([].slice)},7475:(t,e,i)=>{var n=i(3157),s=i(4411),a=i(111),r=i(5112)("species"),o=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(s(e)&&(e===o||n(e.prototype))||a(e)&&null===(e=e[r]))&&(e=void 0)),void 0===e?o:e}},5417:(t,e,i)=>{var n=i(7475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},7072:(t,e,i)=>{var n=i(5112)("iterator"),s=!1;try{var a=0,r={next:function(){return{done:!!a++}},return:function(){s=!0}};r[n]=function(){return this},Array.from(r,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!s)return!1;var i=!1;try{var a={};a[n]=function(){return{next:function(){return{done:i=!0}}}},t(a)}catch(t){}return i}},4326:(t,e,i)=>{var n=i(1702),s=n({}.toString),a=n("".slice);t.exports=function(t){return a(s(t),8,-1)}},648:(t,e,i)=>{var n=i(1694),s=i(614),a=i(4326),r=i(5112)("toStringTag"),o=Object,l="Arguments"==a(function(){return arguments}());t.exports=n?a:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=o(t),r))?i:l?a(e):"Object"==(n=a(e))&&s(e.callee)?"Arguments":n}},9920:(t,e,i)=>{var n=i(2597),s=i(3887),a=i(1236),r=i(3070);t.exports=function(t,e,i){for(var o=s(e),l=r.f,h=a.f,d=0;d<o.length;d++){var c=o[d];n(t,c)||i&&n(i,c)||l(t,c,h(e,c))}}},8880:(t,e,i)=>{var n=i(9781),s=i(3070),a=i(9114);t.exports=n?function(t,e,i){return s.f(t,e,a(1,i))}:function(t,e,i){return t[e]=i,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:(t,e,i)=>{var n=i(614),s=i(3070),a=i(6339),r=i(3072);t.exports=function(t,e,i,o){o||(o={});var l=o.enumerable,h=void 0!==o.name?o.name:e;if(n(i)&&a(i,h,o),o.global)l?t[e]=i:r(e,i);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:s.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},3072:(t,e,i)=>{var n=i(7854),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(i){n[t]=e}return e}},9781:(t,e,i)=>{var n=i(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:(t,e,i)=>{var n=i(7854),s=i(111),a=n.document,r=s(a)&&s(a.createElement);t.exports=function(t){return r?a.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(t,e,i)=>{var n=i(317)("span").classList,s=n&&n.constructor&&n.constructor.prototype;t.exports=s===Object.prototype?void 0:s},7871:(t,e,i)=>{var n=i(3823),s=i(5268);t.exports=!n&&!s&&"object"==typeof window&&"object"==typeof document},3823:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},1528:(t,e,i)=>{var n=i(8113),s=i(7854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==s.Pebble},6833:(t,e,i)=>{var n=i(8113);
vendor: 8,836 bytes, line 4
4t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:(t,e,i)=>{var n=i(4326),s=i(7854);t.exports="process"==n(s.process)},1036:(t,e,i)=>{var n=i(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:(t,e,i)=>{var n=i(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,i)=>{var n,s,a=i(7854),r=i(8113),o=a.process,l=a.Deno,h=o&&o.versions||l&&l.version,d=h&&h.v8;d&&(s=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&r&&(!(n=r.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=r.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,i)=>{var n=i(7854),s=i(1236).f,a=i(8880),r=i(8052),o=i(3072),l=i(9920),h=i(4705);t.exports=function(t,e){var i,d,c,u,p,m=t.target,f=t.global,g=t.stat;if(i=f?n:g?n[m]||o(m,{}):(n[m]||{}).prototype)for(d in e){if(u=e[d],c=t.dontCallGetSet?(p=s(i,d))&&p.value:i[d],!h(f?d:m+(g?".":"#")+d,t.forced)&&void 0!==c){if(typeof u==typeof c)continue;l(u,c)}(t.sham||c&&c.sham)&&a(u,"sham",!0),r(i,d,u,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,i)=>{"use strict";i(4916);var n=i(1470),s=i(8052),a=i(2261),r=i(7293),o=i(5112),l=i(8880),h=o("species"),d=RegExp.prototype;t.exports=function(t,e,i,c){var u=o(t),p=!r((function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})),m=p&&!r((function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[h]=function(){return i},i.flags="",i[u]=/./[u]),i.exec=function(){return e=!0,null},i[u](""),!e}));if(!p||!m||i){var f=n(/./[u]),g=e(u,""[t],(function(t,e,i,s,r){var o=n(t),l=e.exec;return l===a||l===d.exec?p&&!r?{done:!0,value:f(e,i,s)}:{done:!0,value:o(i,e,s)}:{done:!1}}));s(String.prototype,t,g[0]),s(d,u,g[1])}c&&l(d[u],"sham",!0)}},2104:(t,e,i)=>{var n=i(4374),s=Function.prototype,a=s.apply,r=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?r.bind(a):function(){return r.apply(a,arguments)})},9974:(t,e,i)=>{var n=i(1470),s=i(9662),a=i(4374),r=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:a?r(t,e):function(){return t.apply(e,arguments)}}},4374:(t,e,i)=>{var n=i(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,i)=>{var n=i(4374),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},6530:(t,e,i)=>{var n=i(9781),s=i(2597),a=Function.prototype,r=n&&Object.getOwnPropertyDescriptor,o=s(a,"name"),l=o&&"something"===function(){}.name,h=o&&(!n||n&&r(a,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:h}},1470:(t,e,i)=>{var n=i(4326),s=i(1702);t.exports=function(t){if("Function"===n(t))return s(t)}},1702:(t,e,i)=>{var n=i(4374),s=Function.prototype,a=s.call,r=n&&s.bind.bind(a,a);t.exports=n?r:function(t){return function(){return a.apply(t,arguments)}}},5005:(t,e,i)=>{var n=i(7854),s=i(614),a=function(t){return s(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t]):n[t]&&n[t][e]}},1246:(t,e,i)=>{var n=i(648),s=i(8173),a=i(8554),r=i(7497),o=i(5112)("iterator");t.exports=function(t){if(!a(t))return s(t,o)||s(t,"@@iterator")||r[n(t)]}},4121:(t,e,i)=>{var n=i(6916),s=i(9662),a=i(9670),r=i(6330),o=i(1246),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?o(t):e;if(s(i))return a(n(i,t));throw l(r(t)+" is not iterable")}},8173:(t,e,i)=>{var n=i(9662),s=i(8554);t.exports=function(t,e){var i=t[e];return s(i)?void 0:n(i)}},647:(t,e,i)=>{var n=i(1702),s=i(7908),a=Math.floor,r=n("".charAt),o=n("".replace),l=n("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,n,c,u){var p=i+t.length,m=n.length,f=d;return void 0!==c&&(c=s(c),f=h),o(u,f,(function(s,o){var h;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,i);case"'":return l(e,p);case"<":h=c[l(o,1,-1)];break;default:var d=+o;if(0===d)return s;if(d>m){var u=a(d/10);return 0===u?s:u<=m?void 0===n[u-1]?r(o,1):n[u-1]+r(o,1):s}h=n[d-1]}return void 0===h?"":h}))}},7854:(t,e,i)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:(t,e,i)=>{var n=i(1702),s=i(7908),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(s(t),e)}},3501:t=>{t.exports={}},842:(t,e,i)=>{var n=i(7854);t.exports=function(t,e){var i=n.console;i&&i.error&&(1==arguments.length?i.error(t):i.error(t,e))}},490:(t,e,i)=>{var n=i(5005);t.exports=n("document","documentElement")},4664:(t,e,i)=>{var n=i(9781),s=i(7293),a=i(317);t.exports=!n&&!s((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,i)=>{var n=i(1702),s=i(7293),a=i(4326),r=Object,o=n("".split);t.exports=s((function(){return!r("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?o(t,""):r(t)}:r},2788:(t,e,i)=>{var n=i(1702),s=i(614),a=i(5465),r=n(Function.toString);s(a.inspectSource)||(a.inspectSource=function(t){return r(t)}),t.exports=a.inspectSource},9909:(t,e,i)=>{var n,s,a,r=i(4811),o=i(7854),l=i(111),h=i(8880),d=i(2597),c=i(5465),u=i(6200),p=i(3501),m="Object already initialized",f=o.TypeError,g=o.WeakMap;if(r||c.state){var _=c.state||(c.state=new g);_.get=_.get,_.has=_.has,_.set=_.set,n=function(t,e){if(_.has(t))throw f(m);return e.facade=t,_.set(t,e),e},s=function(t){return _.get(t)||{}},a=function(t){return _.has(t)}}else{var v=u("state");p[v]=!0,n=function(t,e){if(d(t,v))throw f(m);return e.facade=t,h(t,v,e),e},s=function(t){return d(t,v)?t[v]:{}},a=function(t){return d(t,v)}}t.exports={set:n,get:s,has:a,enforce:function(t){return a(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=s(e)).type!==t)throw f("Incompatible receiver, "+t+" required");return i}}}},7659:(t,e,i)=>{var n=i(5112),s=i(7497),a=n("iterator"),r=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||r[a]===t)}},3157:(t,e,i)=>{var n=i(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},614:(t,e,i)=>{var n=i(4154),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},4411:(t,e,i)=>{var n=i(1702),s=i(7293),a=i(614),r=i(648),o=i(5005),l=i(2788),h=function(){},d=[],c=o("Reflect","construct"),u=/^\s*(?:class|function)\b/,p=n(u.exec),m=!u.exec(h),f=function(t){if(!a(t))return!1;try{return c(h,d,t),!0}catch(t){return!1}},g=function(t){if(!a(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!p(u,l(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||s((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?g:f},4705:(t,e,i)=>{var n=i(7293),s=i(614),a=/#|\.prototype\./,r=function(t,e){var i=l[o(t)];return i==d||i!=h&&(s(e)?n(e):!!e)},o=r.normalize=function(t){return String(t).replace(a,".").toLowerCase()},l=r.data={},h=r.NATIVE="N",d=r.POLYFILL="P";t.exports=r},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,i)=>{var n=i(614),s=i(4154),a=s.all;t.exports=s.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===a}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},2190:(t,e,i)=>{var n=i(5005),s=i(614),a=i(7976),r=i(3307),o=Object;t.exports=r?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&a(e.prototype,o(t))}},408:(t,e,i)=>{var n=i(9974),s=i(6916),a=i(9670),r=i(6330),o=i(7659),l=i(6244),h=i(7976),d=i(4121),c=i(1246),u=i(9212),p=TypeError,m=function(t,e){this.stopped=t,this.result=e},f=m.prototype;t.exports=function(t,e,i){var g,_,v,y,b,w,x,k=i&&i.that,T=!(!i||!i.AS_ENTRIES),E=!(!i||!i.IS_RECORD),S=!(!i||!i.IS_ITERATOR),M=!(!i||!i.INTERRUPTED),L=n(e,k),A=function(t){return g&&u(g,"normal",t),new m(!0,t)},C=function(t){return T?(a(t),M?L(t[0],t[1],A):L(t[0],t[1])):M?L(t,A):L(t)};if(E)g=t.iterator;else if(S)g=t;else{if(!(_=c(t)))throw p(r(t)+" is not iterable");if(o(_)){for(v=0,y=l(t);y>v;v++)if((b=C(t[v]))&&h(f,b))return b;return new m(!1)}g=d(t,_)}for(w=E?t.next:g.next;!(x=s(w,g)).done;){try{b=C(x.value)}catch(t){u(g,"throw",t)}if("object"==typeof b&&b&&h(f,b))return b}return new m(!1)}},9212:(t,e,i)=>{var n=i(6916),s=i(9670),a=i(8173);t.exports=function(t,e,i){var r,o;s(t);try{if(!(r=a(t,"return"))){if("throw"===e)throw i;return i}r=n(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw i;if(o)throw r;return s(r),i}},7497:t=>{t.exports={}},6244:(t,e,i)=>{var n=i(7466);t.exports=function(t){return n(t.length)}},6339:(t,e,i)=>{var n=i(7293),s=i(614),a=i(2597),r=i(9781),o=i(6530).CONFIGURABLE,l=i(2788),h=i(9909),d=h.enforce,c=h.get,u=Object.defineProperty,p=r&&!n((function(){return 8!==u((function(){}),"length",{value:8}).length}
vendor: 9,612 bytes, line 4
4)),m=String(String).split("String"),f=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!a(t,"name")||o&&t.name!==e)&&(r?u(t,"name",{value:e,configurable:!0}):t.name=e),p&&i&&a(i,"arity")&&t.length!==i.arity&&u(t,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?r&&u(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=d(t);return a(n,"source")||(n.source=m.join("string"==typeof e?e:"")),t};Function.prototype.toString=f((function(){return s(this)&&c(this).source||l(this)}),"toString")},4758:t=>{var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?i:e)(n)}},5948:(t,e,i)=>{var n,s,a,r,o,l,h,d,c=i(7854),u=i(9974),p=i(1236).f,m=i(261).set,f=i(6833),g=i(1528),_=i(1036),v=i(5268),y=c.MutationObserver||c.WebKitMutationObserver,b=c.document,w=c.process,x=c.Promise,k=p(c,"queueMicrotask"),T=k&&k.value;T||(n=function(){var t,e;for(v&&(t=w.domain)&&t.exit();s;){e=s.fn,s=s.next;try{e()}catch(t){throw s?r():a=void 0,t}}a=void 0,t&&t.enter()},f||v||_||!y||!b?!g&&x&&x.resolve?((h=x.resolve(void 0)).constructor=x,d=u(h.then,h),r=function(){d(n)}):v?r=function(){w.nextTick(n)}:(m=u(m,c),r=function(){m(n)}):(o=!0,l=b.createTextNode(""),new y(n).observe(l,{characterData:!0}),r=function(){l.data=o=!o})),t.exports=T||function(t){var e={fn:t,next:void 0};a&&(a.next=e),s||(s=e,r()),a=e}},8523:(t,e,i)=>{"use strict";var n=i(9662),s=TypeError,a=function(t){var e,i;this.promise=new t((function(t,n){if(void 0!==e||void 0!==i)throw s("Bad Promise constructor");e=t,i=n})),this.resolve=n(e),this.reject=n(i)};t.exports.f=function(t){return new a(t)}},30:(t,e,i)=>{var n,s=i(9670),a=i(6048),r=i(748),o=i(3501),l=i(490),h=i(317),d=i(6200),c=d("IE_PROTO"),u=function(){},p=function(t){return"<script>"+t+"</"+"script>"},m=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},f=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;f="undefined"!=typeof document?document.domain&&n?m(n):((e=h("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):m(n);for(var i=r.length;i--;)delete f.prototype[r[i]];return f()};o[c]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(u.prototype=s(t),i=new u,u.prototype=null,i[c]=t):i=f(),void 0===e?i:a.f(i,e)}},6048:(t,e,i)=>{var n=i(9781),s=i(3353),a=i(3070),r=i(9670),o=i(5656),l=i(1956);e.f=n&&!s?Object.defineProperties:function(t,e){r(t);for(var i,n=o(e),s=l(e),h=s.length,d=0;h>d;)a.f(t,i=s[d++],n[i]);return t}},3070:(t,e,i)=>{var n=i(9781),s=i(4664),a=i(3353),r=i(9670),o=i(4948),l=TypeError,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",p="writable";e.f=n?a?function(t,e,i){if(r(t),e=o(e),r(i),"function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i.writable){var n=d(t,e);n&&n.writable&&(t[e]=i.value,i={configurable:u in i?i.configurable:n.configurable,enumerable:c in i?i.enumerable:n.enumerable,writable:!1})}return h(t,e,i)}:h:function(t,e,i){if(r(t),e=o(e),r(i),s)try{return h(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:(t,e,i)=>{var n=i(9781),s=i(6916),a=i(5296),r=i(9114),o=i(5656),l=i(4948),h=i(2597),d=i(4664),c=Object.getOwnPropertyDescriptor;e.f=n?c:function(t,e){if(t=o(t),e=l(e),d)try{return c(t,e)}catch(t){}if(h(t,e))return r(!s(a.f,t,e),t[e])}},8006:(t,e,i)=>{var n=i(6324),s=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},7976:(t,e,i)=>{var n=i(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,i)=>{var n=i(1702),s=i(2597),a=i(5656),r=i(1318).indexOf,o=i(3501),l=n([].push);t.exports=function(t,e){var i,n=a(t),h=0,d=[];for(i in n)!s(o,i)&&s(n,i)&&l(d,i);for(;e.length>h;)s(n,i=e[h++])&&(~r(d,i)||l(d,i));return d}},1956:(t,e,i)=>{var n=i(6324),s=i(748);t.exports=Object.keys||function(t){return n(t,s)}},5296:(t,e)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!i.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},7674:(t,e,i)=>{var n=i(1702),s=i(9670),a=i(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),e=i instanceof Array}catch(t){}return function(i,n){return s(i),a(n),e?t(i,n):i.__proto__=n,i}}():void 0)},288:(t,e,i)=>{"use strict";var n=i(1694),s=i(648);t.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},2140:(t,e,i)=>{var n=i(6916),s=i(614),a=i(111),r=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&s(i=t.toString)&&!a(o=n(i,t)))return o;if(s(i=t.valueOf)&&!a(o=n(i,t)))return o;if("string"!==e&&s(i=t.toString)&&!a(o=n(i,t)))return o;throw r("Can't convert object to primitive value")}},3887:(t,e,i)=>{var n=i(5005),s=i(1702),a=i(8006),r=i(5181),o=i(9670),l=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=a.f(o(t)),i=r.f;return i?l(e,i(t)):e}},2534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},3702:(t,e,i)=>{var n=i(7854),s=i(2492),a=i(614),r=i(4705),o=i(2788),l=i(5112),h=i(7871),d=i(3823),c=i(1913),u=i(7392),p=s&&s.prototype,m=l("species"),f=!1,g=a(n.PromiseRejectionEvent),_=r("Promise",(function(){var t=o(s),e=t!==String(s);if(!e&&66===u)return!0;if(c&&(!p.catch||!p.finally))return!0;if(!u||u<51||!/native code/.test(t)){var i=new s((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((i.constructor={})[m]=n,!(f=i.then((function(){}))instanceof n))return!0}return!e&&(h||d)&&!g}));t.exports={CONSTRUCTOR:_,REJECTION_EVENT:g,SUBCLASSING:f}},2492:(t,e,i)=>{var n=i(7854);t.exports=n.Promise},9478:(t,e,i)=>{var n=i(9670),s=i(111),a=i(8523);t.exports=function(t,e){if(n(t),s(e)&&e.constructor===t)return e;var i=a.f(t);return(0,i.resolve)(e),i.promise}},612:(t,e,i)=>{var n=i(2492),s=i(7072),a=i(3702).CONSTRUCTOR;t.exports=a||!s((function(t){n.all(t).then(void 0,(function(){}))}))},8572:t=>{var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=e},7651:(t,e,i)=>{var n=i(6916),s=i(9670),a=i(614),r=i(4326),o=i(2261),l=TypeError;t.exports=function(t,e){var i=t.exec;if(a(i)){var h=n(i,t,e);return null!==h&&s(h),h}if("RegExp"===r(t))return n(o,t,e);throw l("RegExp#exec called on incompatible receiver")}},2261:(t,e,i)=>{"use strict";var n,s,a=i(6916),r=i(1702),o=i(1340),l=i(7066),h=i(2999),d=i(2309),c=i(30),u=i(9909).get,p=i(9441),m=i(7168),f=d("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,_=g,v=r("".charAt),y=r("".indexOf),b=r("".replace),w=r("".slice),x=(s=/b*/g,a(g,n=/a/,"a"),a(g,s,"a"),0!==n.lastIndex||0!==s.lastIndex),k=h.BROKEN_CARET,T=void 0!==/()??/.exec("")[1];(x||T||k||p||m)&&(_=function(t){var e,i,n,s,r,h,d,p=this,m=u(p),E=o(t),S=m.raw;if(S)return S.lastIndex=p.lastIndex,e=a(_,S,E),p.lastIndex=S.lastIndex,e;var M=m.groups,L=k&&p.sticky,A=a(l,p),C=p.source,D=0,N=E;if(L&&(A=b(A,"y",""),-1===y(A,"g")&&(A+="g"),N=w(E,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==v(E,p.lastIndex-1))&&(C="(?: "+C+")",N=" "+N,D++),i=new RegExp("^(?:"+C+")",A)),T&&(i=new RegExp("^"+C+"$(?!\\s)",A)),x&&(n=p.lastIndex),s=a(g,L?i:p,N),L?s?(s.input=w(s.input,D),s[0]=w(s[0],D),s.index=p.lastIndex,p.lastIndex+=s[0].length):p.lastIndex=0:x&&s&&(p.lastIndex=p.global?s.index+s[0].length:n),T&&s&&s.length>1&&a(f,s[0],i,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(s[r]=void 0)})),s&&M)for(s.groups=h=c(null),r=0;r<M.length;r++)h[(d=M[r])[0]]=s[d[1]];return s}),t.exports=_},7066:(t,e,i)=>{"use strict";var n=i(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},2999:(t,e,i)=>{var n=i(7293),s=i(7854).RegExp,a=n((function(){var t=s("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r=a||n((function(){return!s("a","y").sticky})),o=a||n((function(){var t=s("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:a}},9441:(t,e,i)=>{var n=i(7293),s=i(7854).RegExp;t.exports=n((function(){var t=s(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,i)=>{var n=i(7293),s=i(7854).RegExp;t.exports=n((function(){var t=s("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,e,i)=>{var n=i(8554),s=TypeError;t.exports=function(t){if(n(t))throw s("Can't call method on "+t);return t}},1150:t=>{t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},7152:(t,e,i)=>{var n=i(7854),s=i(2104),a=i(614),r=i(8113),o=i(206),l=i(8053),h=/MSIE .\./.test(r),d=n.Function,c=function(t){return h?function(e,i){var n=l(arguments.length,1)>2,r=a(e)?e:d(e),h=n?o(arguments,2):void 0;return t(n?function(){s(r,this,h)}:r,i)}:t};t.exports={setTimeout:c(n.setTimeout),setInterval:c(n.setInterval)}},6340:(t,e,i)=>{"use strict";var n=i(5005),s=i(3070),a=i(5112),r=i(9781),o=a("species");t.exports=function(t){var e=n(t),i=s.f;r&&e&&!e[o]&&i(e,o,{configurable:!0,get:function(){return this}})}},8003:(t,e,i)=>
vendor: 9,761 bytes, line 4
4{var n=i(3070).f,s=i(2597),a=i(5112)("toStringTag");t.exports=function(t,e,i){t&&!i&&(t=t.prototype),t&&!s(t,a)&&n(t,a,{configurable:!0,value:e})}},6200:(t,e,i)=>{var n=i(2309),s=i(9711),a=n("keys");t.exports=function(t){return a[t]||(a[t]=s(t))}},5465:(t,e,i)=>{var n=i(7854),s=i(3072),a="__core-js_shared__",r=n[a]||s(a,{});t.exports=r},2309:(t,e,i)=>{var n=i(1913),s=i(5465);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,i)=>{var n=i(9670),s=i(9483),a=i(8554),r=i(5112)("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||a(i=n(o)[r])?e:s(i)}},8710:(t,e,i)=>{var n=i(1702),s=i(9303),a=i(1340),r=i(4488),o=n("".charAt),l=n("".charCodeAt),h=n("".slice),d=function(t){return function(e,i){var n,d,c=a(r(e)),u=s(i),p=c.length;return u<0||u>=p?t?"":void 0:(n=l(c,u))<55296||n>56319||u+1===p||(d=l(c,u+1))<56320||d>57343?t?o(c,u):n:t?h(c,u,u+2):d-56320+(n-55296<<10)+65536}};t.exports={codeAt:d(!1),charAt:d(!0)}},6293:(t,e,i)=>{var n=i(7392),s=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},261:(t,e,i)=>{var n,s,a,r,o=i(7854),l=i(2104),h=i(9974),d=i(614),c=i(2597),u=i(7293),p=i(490),m=i(206),f=i(317),g=i(8053),_=i(6833),v=i(5268),y=o.setImmediate,b=o.clearImmediate,w=o.process,x=o.Dispatch,k=o.Function,T=o.MessageChannel,E=o.String,S=0,M={},L="onreadystatechange";try{n=o.location}catch(t){}var A=function(t){if(c(M,t)){var e=M[t];delete M[t],e()}},C=function(t){return function(){A(t)}},D=function(t){A(t.data)},N=function(t){o.postMessage(E(t),n.protocol+"//"+n.host)};y&&b||(y=function(t){g(arguments.length,1);var e=d(t)?t:k(t),i=m(arguments,1);return M[++S]=function(){l(e,void 0,i)},s(S),S},b=function(t){delete M[t]},v?s=function(t){w.nextTick(C(t))}:x&&x.now?s=function(t){x.now(C(t))}:T&&!_?(r=(a=new T).port2,a.port1.onmessage=D,s=h(r.postMessage,r)):o.addEventListener&&d(o.postMessage)&&!o.importScripts&&n&&"file:"!==n.protocol&&!u(N)?(s=N,o.addEventListener("message",D,!1)):s=L in f("script")?function(t){p.appendChild(f("script")).onreadystatechange=function(){p.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:y,clear:b}},1400:(t,e,i)=>{var n=i(9303),s=Math.max,a=Math.min;t.exports=function(t,e){var i=n(t);return i<0?s(i+e,0):a(i,e)}},5656:(t,e,i)=>{var n=i(8361),s=i(4488);t.exports=function(t){return n(s(t))}},9303:(t,e,i)=>{var n=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:(t,e,i)=>{var n=i(9303),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},7908:(t,e,i)=>{var n=i(4488),s=Object;t.exports=function(t){return s(n(t))}},7593:(t,e,i)=>{var n=i(6916),s=i(111),a=i(2190),r=i(8173),o=i(2140),l=i(5112),h=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!s(t)||a(t))return t;var i,l=r(t,d);if(l){if(void 0===e&&(e="default"),i=n(l,t,e),!s(i)||a(i))return i;throw h("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},4948:(t,e,i)=>{var n=i(7593),s=i(2190);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},1694:(t,e,i)=>{var n={};n[i(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,i)=>{var n=i(648),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,i)=>{var n=i(1702),s=0,a=Math.random(),r=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++s+a,36)}},3307:(t,e,i)=>{var n=i(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,i)=>{var n=i(9781),s=i(7293);t.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:t=>{var e=TypeError;t.exports=function(t,i){if(t<i)throw e("Not enough arguments");return t}},4811:(t,e,i)=>{var n=i(7854),s=i(614),a=n.WeakMap;t.exports=s(a)&&/native code/.test(String(a))},5112:(t,e,i)=>{var n=i(7854),s=i(2309),a=i(2597),r=i(9711),o=i(6293),l=i(3307),h=s("wks"),d=n.Symbol,c=d&&d.for,u=l?d:d&&d.withoutSetter||r;t.exports=function(t){if(!a(h,t)||!o&&"string"!=typeof h[t]){var e="Symbol."+t;o&&a(d,t)?h[t]=d[t]:h[t]=l&&c?c(e):u(e)}return h[t]}},9826:(t,e,i)=>{"use strict";var n=i(2109),s=i(2092).find,a=i(1223),r="find",o=!0;r in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(t){return s(this,t,arguments.length>1?arguments[1]:void 0)}}),a(r)},9554:(t,e,i)=>{"use strict";var n=i(2109),s=i(8533);n({target:"Array",proto:!0,forced:[].forEach!=s},{forEach:s})},1539:(t,e,i)=>{var n=i(1694),s=i(8052),a=i(288);n||s(Object.prototype,"toString",a,{unsafe:!0})},821:(t,e,i)=>{"use strict";var n=i(2109),s=i(6916),a=i(9662),r=i(8523),o=i(2534),l=i(408);n({target:"Promise",stat:!0,forced:i(612)},{all:function(t){var e=this,i=r.f(e),n=i.resolve,h=i.reject,d=o((function(){var i=a(e.resolve),r=[],o=0,d=1;l(t,(function(t){var a=o++,l=!1;d++,s(i,e,t).then((function(t){l||(l=!0,r[a]=t,--d||n(r))}),h)})),--d||n(r)}));return d.error&&h(d.value),i.promise}})},4164:(t,e,i)=>{"use strict";var n=i(2109),s=i(1913),a=i(3702).CONSTRUCTOR,r=i(2492),o=i(5005),l=i(614),h=i(8052),d=r&&r.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!s&&l(r)){var c=o("Promise").prototype.catch;d.catch!==c&&h(d,"catch",c,{unsafe:!0})}},3401:(t,e,i)=>{"use strict";var n,s,a,r=i(2109),o=i(1913),l=i(5268),h=i(7854),d=i(6916),c=i(8052),u=i(7674),p=i(8003),m=i(6340),f=i(9662),g=i(614),_=i(111),v=i(5787),y=i(6707),b=i(261).set,w=i(5948),x=i(842),k=i(2534),T=i(8572),E=i(9909),S=i(2492),M=i(3702),L=i(8523),A="Promise",C=M.CONSTRUCTOR,D=M.REJECTION_EVENT,N=M.SUBCLASSING,I=E.getterFor(A),O=E.set,j=S&&S.prototype,P=S,R=j,z=h.TypeError,q=h.document,H=h.process,F=L.f,B=F,W=!!(q&&q.createEvent&&h.dispatchEvent),$="unhandledrejection",Y=function(t){var e;return!(!_(t)||!g(e=t.then))&&e},U=function(t,e){var i,n,s,a=e.value,r=1==e.state,o=r?t.ok:t.fail,l=t.resolve,h=t.reject,c=t.domain;try{o?(r||(2===e.rejection&&J(e),e.rejection=1),!0===o?i=a:(c&&c.enter(),i=o(a),c&&(c.exit(),s=!0)),i===t.promise?h(z("Promise-chain cycle")):(n=Y(i))?d(n,i,l,h):l(i)):h(a)}catch(t){c&&!s&&c.exit(),h(t)}},X=function(t,e){t.notified||(t.notified=!0,w((function(){for(var i,n=t.reactions;i=n.get();)U(i,t);t.notified=!1,e&&!t.rejection&&V(t)})))},G=function(t,e,i){var n,s;W?((n=q.createEvent("Event")).promise=e,n.reason=i,n.initEvent(t,!1,!0),h.dispatchEvent(n)):n={promise:e,reason:i},!D&&(s=h["on"+t])?s(n):t===$&&x("Unhandled promise rejection",i)},V=function(t){d(b,h,(function(){var e,i=t.facade,n=t.value;if(Z(t)&&(e=k((function(){l?H.emit("unhandledRejection",n,i):G($,i,n)})),t.rejection=l||Z(t)?2:1,e.error))throw e.value}))},Z=function(t){return 1!==t.rejection&&!t.parent},J=function(t){d(b,h,(function(){var e=t.facade;l?H.emit("rejectionHandled",e):G("rejectionhandled",e,t.value)}))},K=function(t,e,i){return function(n){t(e,n,i)}},Q=function(t,e,i){t.done||(t.done=!0,i&&(t=i),t.value=e,t.state=2,X(t,!0))},tt=function(t,e,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===e)throw z("Promise can't be resolved itself");var n=Y(e);n?w((function(){var i={done:!1};try{d(n,e,K(tt,i,t),K(Q,i,t))}catch(e){Q(i,e,t)}})):(t.value=e,t.state=1,X(t,!1))}catch(e){Q({done:!1},e,t)}}};if(C&&(R=(P=function(t){v(this,R),f(t),d(n,this);var e=I(this);try{t(K(tt,e),K(Q,e))}catch(t){Q(e,t)}}).prototype,(n=function(t){O(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:0,value:void 0})}).prototype=c(R,"then",(function(t,e){var i=I(this),n=F(y(this,P));return i.parent=!0,n.ok=!g(t)||t,n.fail=g(e)&&e,n.domain=l?H.domain:void 0,0==i.state?i.reactions.add(n):w((function(){U(n,i)})),n.promise})),s=function(){var t=new n,e=I(t);this.promise=t,this.resolve=K(tt,e),this.reject=K(Q,e)},L.f=F=function(t){return t===P||undefined===t?new s(t):B(t)},!o&&g(S)&&j!==Object.prototype)){a=j.then,N||c(j,"then",(function(t,e){var i=this;return new P((function(t,e){d(a,i,t,e)})).then(t,e)}),{unsafe:!0});try{delete j.constructor}catch(t){}u&&u(j,R)}r({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:P}),p(P,A,!1,!0),m(A)},8674:(t,e,i)=>{i(3401),i(821),i(4164),i(6027),i(683),i(6294)},6027:(t,e,i)=>{"use strict";var n=i(2109),s=i(6916),a=i(9662),r=i(8523),o=i(2534),l=i(408);n({target:"Promise",stat:!0,forced:i(612)},{race:function(t){var e=this,i=r.f(e),n=i.reject,h=o((function(){var r=a(e.resolve);l(t,(function(t){s(r,e,t).then(i.resolve,n)}))}));return h.error&&n(h.value),i.promise}})},683:(t,e,i)=>{"use strict";var n=i(2109),s=i(6916),a=i(8523);n({target:"Promise",stat:!0,forced:i(3702).CONSTRUCTOR},{reject:function(t){var e=a.f(this);return s(e.reject,void 0,t),e.promise}})},6294:(t,e,i)=>{"use strict";var n=i(2109),s=i(5005),a=i(1913),r=i(2492),o=i(3702).CONSTRUCTOR,l=i(9478),h=s("Promise"),d=a&&!o;n({target:"Promise",stat:!0,forced:a||o},{resolve:function(t){return l(d&&this===h?r:this,t)}})},4916:(t,e,i)=>{"use strict";var n=i(2109),s=i(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},5306:(t,e,i)=>{"use strict";var n=i(2104),s=i(6916),a=i(1702),r=i(7007),o=i(7293),l=i(9670),h=i(614),d=i(8554),c=i(9303),u=i(7466),p=i(1340),m=i(4488),f=i(1530),g=i(8173),_=i(647),v=i(7651),y=i(5112)("replace"),b=Math.max,w=Math.min,x=a([].concat),k=a([].push),T=a("".indexOf),E=a("".slice),S="$0"==="a".replace(/./,"$0"),M=!!/./[y]&&""===/./[y]("a","$0");
vendor: 7,996 bytes, line 4
4r("replace",(function(t,e,i){var a=M?"$":"$0";return[function(t,i){var n=m(this),a=d(t)?void 0:g(t,y);return a?s(a,t,n,i):s(e,p(n),t,i)},function(t,s){var r=l(this),o=p(t);if("string"==typeof s&&-1===T(s,a)&&-1===T(s,"$<")){var d=i(e,r,o,s);if(d.done)return d.value}var m=h(s);m||(s=p(s));var g=r.global;if(g){var y=r.unicode;r.lastIndex=0}for(var S=[];;){var M=v(r,o);if(null===M)break;if(k(S,M),!g)break;""===p(M[0])&&(r.lastIndex=f(o,u(r.lastIndex),y))}for(var L,A="",C=0,D=0;D<S.length;D++){for(var N=p((M=S[D])[0]),I=b(w(c(M.index),o.length),0),O=[],j=1;j<M.length;j++)k(O,void 0===(L=M[j])?L:String(L));var P=M.groups;if(m){var R=x([N],O,I,o);void 0!==P&&k(R,P);var z=p(n(s,void 0,R))}else z=_(N,o,I,O,P,s);I>=C&&(A+=E(o,C,I)+z,C=I+N.length)}return A+E(o,C)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!S||M)},4765:(t,e,i)=>{"use strict";var n=i(6916),s=i(7007),a=i(9670),r=i(8554),o=i(4488),l=i(1150),h=i(1340),d=i(8173),c=i(7651);s("search",(function(t,e,i){return[function(e){var i=o(this),s=r(e)?void 0:d(e,t);return s?n(s,e,i):new RegExp(e)[t](h(i))},function(t){var n=a(this),s=h(t),r=i(e,n,s);if(r.done)return r.value;var o=n.lastIndex;l(o,0)||(n.lastIndex=0);var d=c(n,s);return l(n.lastIndex,o)||(n.lastIndex=o),null===d?-1:d.index}]}))},4747:(t,e,i)=>{var n=i(7854),s=i(8324),a=i(8509),r=i(8533),o=i(8880),l=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var h in s)s[h]&&l(n[h]&&n[h].prototype);l(a)},6815:(t,e,i)=>{var n=i(2109),s=i(7854),a=i(7152).setInterval;n({global:!0,bind:!0,forced:s.setInterval!==a},{setInterval:a})},8417:(t,e,i)=>{var n=i(2109),s=i(7854),a=i(7152).setTimeout;n({global:!0,bind:!0,forced:s.setTimeout!==a},{setTimeout:a})},2564:(t,e,i)=>{i(6815),i(8417)},7856:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,i){return e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},e(t,i)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function n(t,s,a){return n=i()?Reflect.construct:function(t,i,n){var s=[null];s.push.apply(s,i);var a=new(Function.bind.apply(t,s));return n&&e(a,n.prototype),a},n.apply(null,arguments)}function s(t){return a(t)||r(t)||o(t)||h()}function a(t){if(Array.isArray(t))return l(t)}function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function o(t,e){if(t){if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=Object.hasOwnProperty,c=Object.setPrototypeOf,u=Object.isFrozen,p=Object.getPrototypeOf,m=Object.getOwnPropertyDescriptor,f=Object.freeze,g=Object.seal,_=Object.create,v="undefined"!=typeof Reflect&&Reflect,y=v.apply,b=v.construct;y||(y=function(t,e,i){return t.apply(e,i)}),f||(f=function(t){return t}),g||(g=function(t){return t}),b||(b=function(t,e){return n(t,s(e))});var w=N(Array.prototype.forEach),x=N(Array.prototype.pop),k=N(Array.prototype.push),T=N(String.prototype.toLowerCase),E=N(String.prototype.toString),S=N(String.prototype.match),M=N(String.prototype.replace),L=N(String.prototype.indexOf),A=N(String.prototype.trim),C=N(RegExp.prototype.test),D=I(TypeError);function N(t){return function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return y(t,e,n)}}function I(t){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return b(t,i)}}function O(t,e,i){i=i||T,c&&c(t,null);for(var n=e.length;n--;){var s=e[n];if("string"==typeof s){var a=i(s);a!==s&&(u(e)||(e[n]=a),s=a)}t[s]=!0}return t}function j(t){var e,i=_(null);for(e in t)y(d,t,[e])&&(i[e]=t[e]);return i}function P(t,e){for(;null!==t;){var i=m(t,e);if(i){if(i.get)return N(i.get);if("function"==typeof i.value)return N(i.value)}t=p(t)}function n(t){return console.warn("fallback value for",t),null}return n}var R=f(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),z=f(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),q=f(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),H=f(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),F=f(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=f(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=f(["#text"]),$=f(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
4spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Y=f(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=f(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),X=f(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),V=g(/<%[\w\W]*|[\w\W]*%>/gm),Z=g(/\${[\w\W]*}/gm),J=g(/^data-[\-\w.\u00B7-\uFFFF]/),K=g(/^aria-[\-\w]+$/),Q=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tt=g(/^(?:\w+script|data):/i),et=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=g(/^html$/i),nt=function(){return"undefined"==typeof window?null:window},st=function(e,i){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var n=null,s="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(s)&&(n=i.currentScript.getAttribute(s));var a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nt(),i=function(t){return at(t)};if(i.version="2.4.1",i.removed=[],!e||!e.document||9!==e.document.nodeType)return i.isSupported=!1,i;var n=e.document,a=e.document,r=e.DocumentFragment,o=e.HTMLTemplateElement,l=e.Node,h=e.Element,d=e.NodeFilter,c=e.NamedNodeMap,u=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,p=e.HTMLFormElement,m=e.DOMParser,g=e.trustedTypes,_=h.prototype,v=P(_,"cloneNode"),y=P(_,"nextSibling"),b=P(_,"childNodes"),N=P(_,"parentNode");if("function"==typeof o){var I=a.createElement("template");
vendor: 9,379 bytes, line 4
4I.content&&I.content.ownerDocument&&(a=I.content.ownerDocument)}var rt=st(g,n),ot=rt?rt.createHTML(""):"",lt=a,ht=lt.implementation,dt=lt.createNodeIterator,ct=lt.createDocumentFragment,ut=lt.getElementsByTagName,pt=n.importNode,mt={};try{mt=j(a).documentMode?a.documentMode:{}}catch(t){}var ft={};i.isSupported="function"==typeof N&&ht&&void 0!==ht.createHTMLDocument&&9!==mt;var gt,_t,vt=G,yt=V,bt=Z,wt=J,xt=K,kt=tt,Tt=et,Et=Q,St=null,Mt=O({},[].concat(s(R),s(z),s(q),s(F),s(W))),Lt=null,At=O({},[].concat(s($),s(Y),s(U),s(X))),Ct=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Dt=null,Nt=null,It=!0,Ot=!0,jt=!1,Pt=!1,Rt=!1,zt=!1,qt=!1,Ht=!1,Ft=!1,Bt=!1,Wt=!0,$t=!1,Yt="user-content-",Ut=!0,Xt=!1,Gt={},Vt=null,Zt=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Jt=null,Kt=O({},["audio","video","img","source","image","track"]),Qt=null,te=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",ie="http://www.w3.org/2000/svg",ne="http://www.w3.org/1999/xhtml",se=ne,ae=!1,re=null,oe=O({},[ee,ie,ne],E),le=["application/xhtml+xml","text/html"],he="text/html",de=null,ce=a.createElement("form"),ue=function(t){return t instanceof RegExp||t instanceof Function},pe=function(e){de&&de===e||(e&&"object"===t(e)||(e={}),e=j(e),gt=gt=-1===le.indexOf(e.PARSER_MEDIA_TYPE)?he:e.PARSER_MEDIA_TYPE,_t="application/xhtml+xml"===gt?E:T,St="ALLOWED_TAGS"in e?O({},e.ALLOWED_TAGS,_t):Mt,Lt="ALLOWED_ATTR"in e?O({},e.ALLOWED_ATTR,_t):At,re="ALLOWED_NAMESPACES"in e?O({},e.ALLOWED_NAMESPACES,E):oe,Qt="ADD_URI_SAFE_ATTR"in e?O(j(te),e.ADD_URI_SAFE_ATTR,_t):te,Jt="ADD_DATA_URI_TAGS"in e?O(j(Kt),e.ADD_DATA_URI_TAGS,_t):Kt,Vt="FORBID_CONTENTS"in e?O({},e.FORBID_CONTENTS,_t):Zt,Dt="FORBID_TAGS"in e?O({},e.FORBID_TAGS,_t):{},Nt="FORBID_ATTR"in e?O({},e.FORBID_ATTR,_t):{},Gt="USE_PROFILES"in e&&e.USE_PROFILES,It=!1!==e.ALLOW_ARIA_ATTR,Ot=!1!==e.ALLOW_DATA_ATTR,jt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pt=e.SAFE_FOR_TEMPLATES||!1,Rt=e.WHOLE_DOCUMENT||!1,Ht=e.RETURN_DOM||!1,Ft=e.RETURN_DOM_FRAGMENT||!1,Bt=e.RETURN_TRUSTED_TYPE||!1,qt=e.FORCE_BODY||!1,Wt=!1!==e.SANITIZE_DOM,$t=e.SANITIZE_NAMED_PROPS||!1,Ut=!1!==e.KEEP_CONTENT,Xt=e.IN_PLACE||!1,Et=e.ALLOWED_URI_REGEXP||Et,se=e.NAMESPACE||ne,e.CUSTOM_ELEMENT_HANDLING&&ue(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ct.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ue(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ct.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ct.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(Ot=!1),Ft&&(Ht=!0),Gt&&(St=O({},s(W)),Lt=[],!0===Gt.html&&(O(St,R),O(Lt,$)),!0===Gt.svg&&(O(St,z),O(Lt,Y),O(Lt,X)),!0===Gt.svgFilters&&(O(St,q),O(Lt,Y),O(Lt,X)),!0===Gt.mathMl&&(O(St,F),O(Lt,U),O(Lt,X))),e.ADD_TAGS&&(St===Mt&&(St=j(St)),O(St,e.ADD_TAGS,_t)),e.ADD_ATTR&&(Lt===At&&(Lt=j(Lt)),O(Lt,e.ADD_ATTR,_t)),e.ADD_URI_SAFE_ATTR&&O(Qt,e.ADD_URI_SAFE_ATTR,_t),e.FORBID_CONTENTS&&(Vt===Zt&&(Vt=j(Vt)),O(Vt,e.FORBID_CONTENTS,_t)),Ut&&(St["#text"]=!0),Rt&&O(St,["html","head","body"]),St.table&&(O(St,["tbody"]),delete Dt.tbody),f&&f(e),de=e)},me=O({},["mi","mo","mn","ms","mtext"]),fe=O({},["foreignobject","desc","title","annotation-xml"]),ge=O({},["title","style","font","a","script"]),_e=O({},z);O(_e,q),O(_e,H);var ve=O({},F);O(ve,B);var ye=function(t){var e=N(t);e&&e.tagName||(e={namespaceURI:se,tagName:"template"});var i=T(t.tagName),n=T(e.tagName);return!!re[t.namespaceURI]&&(t.namespaceURI===ie?e.namespaceURI===ne?"svg"===i:e.namespaceURI===ee?"svg"===i&&("annotation-xml"===n||me[n]):Boolean(_e[i]):t.namespaceURI===ee?e.namespaceURI===ne?"math"===i:e.namespaceURI===ie?"math"===i&&fe[n]:Boolean(ve[i]):t.namespaceURI===ne?!(e.namespaceURI===ie&&!fe[n])&&!(e.namespaceURI===ee&&!me[n])&&!ve[i]&&(ge[i]||!_e[i]):!("application/xhtml+xml"!==gt||!re[t.namespaceURI]))},be=function(t){k(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=ot}catch(e){t.remove()}}},we=function(t,e){try{k(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){k(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Lt[t])if(Ht||Ft)try{be(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},xe=function(t){var e,i;if(qt)t="<remove></remove>"+t;else{var n=S(t,/^[\r\n\t ]+/);i=n&&n[0]}"application/xhtml+xml"===gt&&se===ne&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var s=rt?rt.createHTML(t):t;if(se===ne)try{e=(new m).parseFromString(s,gt)}catch(t){}if(!e||!e.documentElement){e=ht.createDocument(se,"template",null);try{e.documentElement.innerHTML=ae?"":s}catch(t){}}var r=e.body||e.documentElement;return t&&i&&r.insertBefore(a.createTextNode(i),r.childNodes[0]||null),se===ne?ut.call(e,Rt?"html":"body")[0]:Rt?e.documentElement:r},ke=function(t){return dt.call(t.ownerDocument||t,t,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},Te=function(t){return t instanceof p&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof u)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Ee=function(e){return"object"===t(l)?e instanceof l:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Se=function(t,e,n){ft[t]&&w(ft[t],(function(t){t.call(i,e,n,de)}))},Me=function(t){var e;if(Se("beforeSanitizeElements",t,null),Te(t))return be(t),!0;if(C(/[\u0080-\uFFFF]/,t.nodeName))return be(t),!0;var n=_t(t.nodeName);if(Se("uponSanitizeElement",t,{tagName:n,allowedTags:St}),t.hasChildNodes()&&!Ee(t.firstElementChild)&&(!Ee(t.content)||!Ee(t.content.firstElementChild))&&C(/<[/\w]/g,t.innerHTML)&&C(/<[/\w]/g,t.textContent))return be(t),!0;if("select"===n&&C(/<template/i,t.innerHTML))return be(t),!0;if(!St[n]||Dt[n]){if(!Dt[n]&&Ae(n)){if(Ct.tagNameCheck instanceof RegExp&&C(Ct.tagNameCheck,n))return!1;if(Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(n))return!1}if(Ut&&!Vt[n]){var s=N(t)||t.parentNode,a=b(t)||t.childNodes;if(a&&s)for(var r=a.length-1;r>=0;--r)s.insertBefore(v(a[r],!0),y(t))}return be(t),!0}return t instanceof h&&!ye(t)?(be(t),!0):"noscript"!==n&&"noembed"!==n||!C(/<\/no(script|embed)/i,t.innerHTML)?(Pt&&3===t.nodeType&&(e=t.textContent,e=M(e,vt," "),e=M(e,yt," "),e=M(e,bt," "),t.textContent!==e&&(k(i.removed,{element:t.cloneNode()}),t.textContent=e)),Se("afterSanitizeElements",t,null),!1):(be(t),!0)},Le=function(t,e,i){if(Wt&&("id"===e||"name"===e)&&(i in a||i in ce))return!1;if(Ot&&!Nt[e]&&C(wt,e));else if(It&&C(xt,e));else if(!Lt[e]||Nt[e]){if(!(Ae(t)&&(Ct.tagNameCheck instanceof RegExp&&C(Ct.tagNameCheck,t)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(t))&&(Ct.attributeNameCheck instanceof RegExp&&C(Ct.attributeNameCheck,e)||Ct.attributeNameCheck instanceof Function&&Ct.attributeNameCheck(e))||"is"===e&&Ct.allowCustomizedBuiltInElements&&(Ct.tagNameCheck instanceof RegExp&&C(Ct.tagNameCheck,i)||Ct.tagNameCheck instanceof Function&&Ct.tagNameCheck(i))))return!1}else if(Qt[e]);else if(C(Et,M(i,Tt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==L(i,"data:")||!Jt[t])if(jt&&!C(kt,M(i,Tt,"")));else if(i)return!1;return!0},Ae=function(t){return t.indexOf("-")>0},Ce=function(e){var n,s,a,r;Se("beforeSanitizeAttributes",e,null);var o=e.attributes;if(o){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Lt};for(r=o.length;r--;){var h=n=o[r],d=h.name,c=h.namespaceURI;if(s="value"===d?n.value:A(n.value),a=_t(d),l.attrName=a,l.attrValue=s,l.keepAttr=!0,l.forceKeepAttr=void 0,Se("uponSanitizeAttribute",e,l),s=l.attrValue,!l.forceKeepAttr&&(we(d,e),l.keepAttr))if(C(/\/>/i,s))we(d,e);else{Pt&&(s=M(s,vt," "),s=M(s,yt," "),s=M(s,bt," "));var u=_t(e.nodeName);if(Le(u,a,s)){if(!$t||"id"!==a&&"name"!==a||(we(d,e),s=Yt+s),rt&&"object"===t(g)&&"function"==typeof g.getAttributeType)if(c);else switch(g.getAttributeType(u,a)){case"TrustedHTML":s=rt.createHTML(s);break;case"TrustedScriptURL":s=rt.createScriptURL(s)}try{c?e.setAttributeNS(c,d,s):e.setAttribute(d,s),x(i.removed)}catch(t){}}}}Se("afterSanitizeAttributes",e,null)}},De=function t(e){var i,n=ke(e);for(Se("beforeSanitizeShadowDOM",e,null);i=n.nextNode();)Se("uponSanitizeShadowNode",i,null),Me(i)||(i.content instanceof r&&t(i.content),Ce(i));Se("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(s){var a,o,h,d,c,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ae=!s)&&(s="\x3c!--\x3e"),"string"!=typeof s&&!Ee(s)){if("function"!=typeof s.toString)throw D("toString is not a function");if("string"!=typeof(s=s.toString()))throw D("dirty is not a string, aborting")}if(!i.isSupported){if("object"===t(e.toStaticHTML)||"function"==typeof e.toStaticHTML){
4if("string"==typeof s)return e.toStaticHTML(s);if(Ee(s))return e.toStaticHTML(s.outerHTML)}return s}if(zt||pe(u),i.removed=[],"string"==typeof s&&(Xt=!1),Xt){if(s.nodeName){var p=_t(s.nodeName);if(!St[p]||Dt[p])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(s instanceof l)1===(o=(a=xe("\x3c!----\x3e")).ownerDocument.importNode(s,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!Ht&&!Pt&&!Rt&&-1===s.indexOf("<"))return rt&&Bt?rt.createHTML(s):s;if(!(a=xe(s)))return Ht?null:Bt?ot:""}a&&qt&&be(a.firstChild);for(var m=ke(Xt?s:a);h=m.nextNode();)3===h.nodeType&&h===d||Me(h)||(h.content instanceof r&&De(h.content),Ce(h),d=h);if(d=null,Xt)return s;if(Ht){if(Ft)for(c=ct.call(a.ownerDocument);a.firstChild;)c.appendChild(a.firstChild);else c=a;return Lt.shadowroot&&(c=pt.call(n,c,!0)),c}var f=Rt?a.outerHTML:a.innerHTML;return Rt&&St["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&C(it,a.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+f),Pt&&(f=M(f,vt," "),f=M(f,yt," "),f=M(f,bt," ")),rt&&Bt?rt.createHTML(f):f},i.setConfig=function(t){pe(t),zt=!0},i.clearConfig=function(){de=null,zt=!1},i.isValidAttribute=function(t,e,i){de||pe({});var n=_t(t),s=_t(e);return Le(n,s,i)},i.addHook=function(t,e){"function"==typeof e&&(ft[t]=ft[t]||[],k(ft[t],e))},i.removeHook=function(t){if(ft[t])return x(ft[t])},i.removeHooks=function(t){ft[t]&&(ft[t]=[])},i.removeAllHooks=function(){ft={}},i}return at()}()},7727:function(t){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}var s=Date.now();function a(){var t={},e=!0,i=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],i++);for(var s=function(i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e&&"[object Object]"===Object.prototype.toString.call(i[n])?t[n]=a(!0,t[n],i[n]):t[n]=i[n])};i<n;i++)s(arguments[i]);return t}function r(t,e){if((E(t)||t===window||t===document)&&(t=[t]),M(t)||L(t)||(t=[t]),0!=D(t))if(M(t)&&!L(t))for(var i=t.length,n=0;n<i&&!1!==e.call(t[n],t[n],n,t);n++);else if(L(t))for(var s in t)if(C(t,s)&&!1===e.call(t[s],t[s],s,t))break}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=t[s]=t[s]||[],a={all:n,evt:null,found:null};return e&&i&&D(n)>0&&r(n,(function(t,n){if(t.eventName==e&&t.fn.toString()==i.toString())return a.found=!0,a.evt=n,!1})),a}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.onElement,n=e.withCallback,s=e.avoidDuplicate,a=void 0===s||s,l=e.once,h=void 0!==l&&l,d=e.useCapture,c=void 0!==d&&d,u=arguments.length>2?arguments[2]:void 0,p=i||[];function m(t){k(n)&&n.call(u,t,this),h&&m.destroy()}return T(p)&&(p=document.querySelectorAll(p)),m.destroy=function(){r(p,(function(e){var i=o(e,t,m);i.found&&i.all.splice(i.evt,1),e.removeEventListener&&e.removeEventListener(t,m,c)}))},r(p,(function(e){var i=o(e,t,m);(e.addEventListener&&a&&!i.found||!a)&&(e.addEventListener(t,m,c),i.all.push({eventName:t,fn:m}))})),m}function h(t,e){r(e.split(" "),(function(e){return t.classList.add(e)}))}function d(t,e){r(e.split(" "),(function(e){return t.classList.remove(e)}))}function c(t,e){return t.classList.contains(e)}function u(t,e){for(;t!==document.body;){if(!(t=t.parentElement))return!1;if("function"==typeof t.matches?t.matches(e):t.msMatchesSelector(e))return t}}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||""===e)return!1;if("none"===e)return k(i)&&i(),!1;var n=y(),s=e.split(" ");r(s,(function(e){h(t,"g"+e)})),l(n,{onElement:t,avoidDuplicate:!1,once:!0,withCallback:function(t,e){r(s,(function(t){d(e,"g"+t)})),k(i)&&i()}})}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===e)return t.style.webkitTransform="",t.style.MozTransform="",t.style.msTransform="",t.style.OTransform="",t.style.transform="",!1;t.style.webkitTransform=e,t.style.MozTransform=e,t.style.msTransform=e,t.style.OTransform=e,t.style.transform=e}function f(t){t.style.display="block"}function g(t){t.style.display="none"}function _(t){var e=document.createDocumentFragment(),i=document.createElement("div");for(i.innerHTML=t;i.firstChild;)e.appendChild(i.firstChild);return e}function v(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function y(){var t,e=document.createElement("fakeelement"),i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(t in i)if(void 0!==e.style[t])return i[t]}function b(t,e,i,n){if(t())e();else{var s;i||(i=100);var a=setInterval((function(){t()&&(clearInterval(a),s&&clearTimeout(s),e())}),i);n&&(s=setTimeout((function(){clearInterval(a)}),n))}}function w(t,e,i){if(A(t))console.error("Inject assets error");else if(k(e)&&(i=e,e=!1),T(e)&&e in window)k(i)&&i();else{var n;if(-1!==t.indexOf(".css")){if((n=document.querySelectorAll('link[href="'+t+'"]'))&&n.length>0)return void(k(i)&&i());var s=document.getElementsByTagName("head")[0],a=s.querySelectorAll('link[rel="stylesheet"]'),r=document.createElement("link");return r.rel="stylesheet",r.type="text/css",r.href=t,r.media="all",a?s.insertBefore(r,a[0]):s.appendChild(r),void(k(i)&&i())}if((n=document.querySelectorAll('script[src="'+t+'"]'))&&n.length>0){if(k(i)){if(T(e))return b((function(){return void 0!==window[e]}),(function(){i()})),!1;i()}}else{var o=document.createElement("script");o.type="text/javascript",o.src=t,o.onload=function(){if(k(i)){if(T(e))return b((function(){return void 0!==window[e]}),(function(){i()})),!1;i()}},document.body.appendChild(o)}}}function x(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function k(t){return"function"==typeof t}function T(t){return"string"==typeof t}function E(t){return!(!t||!t.nodeType||1!=t.nodeType)}function S(t){return Array.isArray(t)}function M(t){return t&&t.length&&isFinite(t.length)}function L(e){return"object"===t(e)&&null!=e&&!k(e)&&!S(e)}function A(t){return null==t}function C(t,e){return null!==t&&hasOwnProperty.call(t,e)}function D(t){if(L(t)){if(t.keys)return t.keys().length;var e=0;for(var i in t)C(t,i)&&e++;return e}return t.length}function N(t){return!isNaN(parseFloat(t))&&isFinite(t)}
vendor: 6,867 bytes, line 4
4function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,e=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!e.length)return!1;if(1==e.length)return e[0];"string"==typeof t&&(t=parseInt(t));var i=[];r(e,(function(t){i.push(t.getAttribute("data-taborder"))}));var n=Math.max.apply(Math,i.map((function(t){return parseInt(t)}))),s=t<0?1:t+1;s>n&&(s="1");var a=i.filter((function(t){return t>=parseInt(s)})),o=a.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(o,'"]'))}function O(t){if(t.events.hasOwnProperty("keyboard"))return!1;t.events.keyboard=l("keydown",{onElement:window,withCallback:function(e,i){var n=(e=e||window.event).keyCode;if(9==n){var s=document.querySelector(".gbtn.focused");if(!s){var a=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==a||"textarea"==a||"button"==a)return}e.preventDefault();var r=document.querySelectorAll(".gbtn[data-taborder]");if(!r||r.length<=0)return;if(!s){var o=I();return void(o&&(o.focus(),h(o,"focused")))}var l=I(s.getAttribute("data-taborder"));d(s,"focused"),l&&(l.focus(),h(l,"focused"))}39==n&&t.nextSlide(),37==n&&t.prevSlide(),27==n&&t.close()}})}function j(t){return Math.sqrt(t.x*t.x+t.y*t.y)}function P(t,e){var i=function(t,e){var i=j(t)*j(e);if(0===i)return 0;var n=function(t,e){return t.x*e.x+t.y*e.y}(t,e)/i;return n>1&&(n=1),Math.acos(n)}(t,e);return function(t,e){return t.x*e.y-e.x*t.y}(t,e)>0&&(i*=-1),180*i/Math.PI}var R=function(){function t(i){e(this,t),this.handlers=[],this.el=i}return n(t,[{key:"add",value:function(t){this.handlers.push(t)}},{key:"del",value:function(t){t||(this.handlers=[]);for(var e=this.handlers.length;e>=0;e--)this.handlers[e]===t&&this.handlers.splice(e,1)}},{key:"dispatch",value:function(){for(var t=0,e=this.handlers.length;t<e;t++){var i=this.handlers[t];"function"==typeof i&&i.apply(this.el,arguments)}}}]),t}();function z(t,e){var i=new R(t);return i.add(e),i}var q=function(){function t(i,n){e(this,t),this.element="string"==typeof i?document.querySelector(i):i,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var s=function(){};this.rotate=z(this.element,n.rotate||s),this.touchStart=z(this.element,n.touchStart||s),this.multipointStart=z(this.element,n.multipointStart||s),this.multipointEnd=z(this.element,n.multipointEnd||s),this.pinch=z(this.element,n.pinch||s),this.swipe=z(this.element,n.swipe||s),this.tap=z(this.element,n.tap||s),this.doubleTap=z(this.element,n.doubleTap||s),this.longTap=z(this.element,n.longTap||s),this.singleTap=z(this.element,n.singleTap||s),this.pressMove=z(this.element,n.pressMove||s),this.twoFingerPressMove=z(this.element,n.twoFingerPressMove||s),this.touchMove=z(this.element,n.touchMove||s),this.touchEnd=z(this.element,n.touchEnd||s),this.touchCancel=z(this.element,n.touchCancel||s),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return n(t,[{key:"start",value:function(t){if(t.touches)if(t.target&&t.target.nodeName&&["a","button","input"].indexOf(t.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",t.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=t.touches[0].pageX,this.y1=t.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(t,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var e=this.preV;if(t.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:t.touches[1].pageX-this.x1,y:t.touches[1].pageY-this.y1};e.x=i.x,e.y=i.y,this.pinchStartLen=j(e),this.multipointStart.dispatch(t,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(t,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(t){if(t.touches){var e=this.preV,i=t.touches.length,n=t.touches[0].pageX,s=t.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var a=t.touches[1].pageX,r=t.touches[1].pageY,o={x:t.touches[1].pageX-n,y:t.touches[1].pageY-s};null!==e.x&&(this.pinchStartLen>0&&(t.zoom=j(o)/this.pinchStartLen,this.pinch.dispatch(t,this.element)),t.angle=P(o,e),this.rotate.dispatch(t,this.element)),e.x=o.x,e.y=o.y,null!==this.x2&&null!==this.sx2?(t.deltaX=(n-this.x2+a-this.sx2)/2,t.deltaY=(s-this.y2+r-this.sy2)/2):(t.deltaX=0,t.deltaY=0),this.twoFingerPressMove.dispatch(t,this.element),this.sx2=a,this.sy2=r}else{if(null!==this.x2){t.deltaX=n-this.x2,t.deltaY=s-this.y2;var l=Math.abs(this.x1-this.x2),h=Math.abs(this.y1-this.y2);(l>10||h>10)&&(this._preventTap=!0)}else t.deltaX=0,t.deltaY=0;this.pressMove.dispatch(t,this.element)}this.touchMove.dispatch(t,this.element),this._cancelLongTap(),this.x2=n,this.y2=s,i>1&&t.preventDefault()}}},{key:"end",value:function(t){if(t.changedTouches){this._cancelLongTap();var e=this;t.touches.length<2&&(this.multipointEnd.dispatch(t,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(t.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){e.swipe.dispatch(t,e.element)}),0)):(this.tapTimeout=setTimeout((function(){e._preventTap||e.tap.dispatch(t,e.element),e.isDoubleTap&&(e.doubleTap.dispatch(t,e.element),e.isDoubleTap=!1)}),0),e.isDoubleTap||(e.singleTapTimeout=setTimeout((function(){e.singleTap.dispatch(t,e.element)}),250))),this.touchEnd.dispatch(t,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(t){this.cancelAll(),this.touchCancel.dispatch(t,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}}
vendor: 11,769 bytes, line 4
4,{key:"_swipeDirection",value:function(t,e,i,n){return Math.abs(t-e)>=Math.abs(i-n)?t-e>0?"Left":"Right":i-n>0?"Up":"Down"}},{key:"on",value:function(t,e){this[t]&&this[t].add(e)}},{key:"off",value:function(t,e){this[t]&&this[t].del(e)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),t}();function H(t){var e=function(){var t,e=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in i)if(void 0!==e.style[t])return i[t]}(),i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=c(t,"gslide-media")?t:t.querySelector(".gslide-media"),s=u(n,".ginner-container"),a=t.querySelector(".gslide-description");i>769&&(n=s),h(n,"greset"),m(n,"translate3d(0, 0, 0)"),l(e,{onElement:n,once:!0,withCallback:function(t,e){d(n,"greset")}}),n.style.opacity="",a&&(a.style.opacity="")}function F(t){if(t.events.hasOwnProperty("touch"))return!1;var e,i,n,s=v(),a=s.width,r=s.height,o=!1,l=null,p=null,f=null,g=!1,_=1,y=1,b=!1,w=!1,x=null,k=null,T=null,E=null,S=0,M=0,L=!1,A=!1,C={},D={},N=0,I=0,O=document.getElementById("glightbox-slider"),j=document.querySelector(".goverlay"),P=new q(O,{touchStart:function(e){if(o=!0,(c(e.targetTouches[0].target,"ginner-container")||u(e.targetTouches[0].target,".gslide-desc")||"a"==e.targetTouches[0].target.nodeName.toLowerCase())&&(o=!1),u(e.targetTouches[0].target,".gslide-inline")&&!c(e.targetTouches[0].target.parentNode,"gslide-inline")&&(o=!1),o){if(D=e.targetTouches[0],C.pageX=e.targetTouches[0].pageX,C.pageY=e.targetTouches[0].pageY,N=e.targetTouches[0].clientX,I=e.targetTouches[0].clientY,l=t.activeSlide,p=l.querySelector(".gslide-media"),n=l.querySelector(".gslide-inline"),f=null,c(p,"gslide-image")&&(f=p.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(p=l.querySelector(".ginner-container")),d(j,"greset"),e.pageX>20&&e.pageX<window.innerWidth-20)return;e.preventDefault()}},touchMove:function(s){if(o&&(D=s.targetTouches[0],!b&&!w)){if(n&&n.offsetHeight>r){var l=C.pageX-D.pageX;if(Math.abs(l)<=13)return!1}g=!0;var h,d=s.targetTouches[0].clientX,c=s.targetTouches[0].clientY,u=N-d,_=I-c;if(Math.abs(u)>Math.abs(_)?(L=!1,A=!0):(A=!1,L=!0),e=D.pageX-C.pageX,S=100*e/a,i=D.pageY-C.pageY,M=100*i/r,L&&f&&(h=1-Math.abs(i)/r,j.style.opacity=h,t.settings.touchFollowAxis&&(S=0)),A&&(h=1-Math.abs(e)/a,p.style.opacity=h,t.settings.touchFollowAxis&&(M=0)),!f)return m(p,"translate3d(".concat(S,"%, 0, 0)"));m(p,"translate3d(".concat(S,"%, ").concat(M,"%, 0)"))}},touchEnd:function(){if(o){if(g=!1,w||b)return T=x,void(E=k);var e=Math.abs(parseInt(M)),i=Math.abs(parseInt(S));if(!(e>29&&f))return e<29&&i<25?(h(j,"greset"),j.style.opacity=1,H(p)):void 0;t.close()}},multipointEnd:function(){setTimeout((function(){b=!1}),50)},multipointStart:function(){b=!0,_=y||1},pinch:function(t){if(!f||g)return!1;b=!0,f.scaleX=f.scaleY=_*t.zoom;var e=_*t.zoom;if(w=!0,e<=1)return w=!1,e=1,E=null,T=null,x=null,k=null,void f.setAttribute("style","");e>4.5&&(e=4.5),f.style.transform="scale3d(".concat(e,", ").concat(e,", 1)"),y=e},pressMove:function(t){if(w&&!b){var e=D.pageX-C.pageX,i=D.pageY-C.pageY;T&&(e+=T),E&&(i+=E),x=e,k=i;var n="translate3d(".concat(e,"px, ").concat(i,"px, 0)");y&&(n+=" scale3d(".concat(y,", ").concat(y,", 1)")),m(f,n)}},swipe:function(e){if(!w)if(b)b=!1;else{if("Left"==e.direction){if(t.index==t.elements.length-1)return H(p);t.nextSlide()}if("Right"==e.direction){if(0==t.index)return H(p);t.prevSlide()}}}});t.events.touch=P}var B=function(){function t(i,n){var s=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e(this,t),this.img=i,this.slide=n,this.onclose=a,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",(function(t){return s.dragStart(t)}),!1),this.img.addEventListener("mouseup",(function(t){return s.dragEnd(t)}),!1),this.img.addEventListener("mousemove",(function(t){return s.drag(t)}),!1),this.img.addEventListener("click",(function(t){return s.slide.classList.contains("dragging-nav")?(s.zoomOut(),!1):s.zoomedIn?void(s.zoomedIn&&!s.dragging&&s.zoomOut()):s.zoomIn()}),!1),this.img.setZoomEvents=!0}return n(t,[{key:"zoomIn",value:function(){var t=this.widowWidth();if(!(this.zoomedIn||t<=768)){var e=this.img;if(e.setAttribute("data-style",e.getAttribute("style")),e.style.maxWidth=e.naturalWidth+"px",e.style.maxHeight=e.naturalHeight+"px",e.naturalWidth>t){var i=t/2-e.naturalWidth/2;this.setTranslate(this.img.parentNode,i,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(t){t.preventDefault(),this.zoomedIn?("touchstart"===t.type?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset),t.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(t){var e=this;t.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){e.dragging=!1,e.img.isDragging=!1,e.img.classList.remove("dragging")}),100)}},{key:"drag",value:function(t){this.active&&(t.preventDefault(),"touchmove"===t.type?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(t){if(this.zoomedIn){var e=t.clientX-this.img.naturalWidth/2,i=t.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,e,i)}}},{key:"setTranslate",value:function(t,e,i){t.style.transform="translate3d("+e+"px, "+i+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),t}(),W=function(){function t(){var i=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t);var s=n.dragEl,a=n.toleranceX,r=void 0===a?40:a,o=n.toleranceY,l=void 0===o?65:o,h=n.slide,d=void 0===h?null:h,c=n.instance,u=void 0===c?null:c;this.el=s,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=r,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=u,this.el.addEventListener("mousedown",(function(t){return i.dragStart(t)}),!1),this.el.addEventListener("mouseup",(function(t){return i.dragEnd(t)}),!1),this.el.addEventListener("mousemove",(function(t){return i.drag(t)}),!1)}return n(t,[{key:"dragStart",value:function(t){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===t.type?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset);var e=t.target.nodeName.toLowerCase();t.target.classList.contains("nodrag")||u(t.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(e)?this.active=!1:(t.preventDefault(),(t.target===this.el||"img"!==e&&u(t.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=u(t.target,".ginner-container")))}}},{key:"dragEnd",value:function(t){var e=this;t&&t.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){e.instance.preventOutsideClick=!1,e.toleranceReached=!1,e.lastDirection=null,e.dragging=!1,e.el.isDragging=!1,e.el.classList.remove("dragging"),e.slide.classList.remove("dragging-nav"),e.dragContainer.style.transform="",e.dragContainer.style.transition=""}),100)}},{key:"drag",value:function(t){if(this.active){t.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===t.type?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var e=Math.abs(this.currentX),i=Math.abs(this.currentY);if(e>0&&e>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var n=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&n&&(this.doSlideChange=n),this.instance.settings.dragAutoSnap&&n)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==n&&this.instance.prevSlide(),void("left"==n&&this.instance.nextSlide())}if(this.toleranceY>0&&i>0&&i>=e&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var s=this.shouldClose();return!this.instance.settings.dragAutoSnap&&s&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&s&&this.instance.close())}}}},{key:"shouldChange",value:function(){var t=!1;if(Math.abs(this.currentX)>=this.toleranceX){var e=this.currentX>0?"right":"left";("left"==e&&this.slide!==this.slide.parentNode.lastChild||"right"==e&&this.slide!==this.slide.parentNode.firstChild)&&(t=e)}return t}},{key:"shouldClose",value:function(){var t=!1;return Math.abs(this.currentY)>=this.toleranceY&&(t=!0),t}}
vendor: 7,557 bytes, line 4
4,{key:"setTranslate",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.style.transition=n?"all .2s ease":"",t.style.transform="translate3d(".concat(e,"px, ").concat(i,"px, 0)")}}]),t}();function $(t,e,i,n){var s=t.querySelector(".gslide-media"),a=new Image,r="gSlideTitle_"+i,o="gSlideDesc_"+i;a.addEventListener("load",(function(){k(n)&&n()}),!1),a.src=e.href,""!=e.sizes&&""!=e.srcset&&(a.sizes=e.sizes,a.srcset=e.srcset),a.alt="",A(e.alt)||""===e.alt||(a.alt=e.alt),""!==e.title&&a.setAttribute("aria-labelledby",r),""!==e.description&&a.setAttribute("aria-describedby",o),e.hasOwnProperty("_hasCustomWidth")&&e._hasCustomWidth&&(a.style.width=e.width),e.hasOwnProperty("_hasCustomHeight")&&e._hasCustomHeight&&(a.style.height=e.height),s.insertBefore(a,s.firstChild)}function Y(t,e,i,n){var s=this,a=t.querySelector(".ginner-container"),r="gvideo"+i,o=t.querySelector(".gslide-media"),l=this.getAllPlayers();h(a,"gvideo-container"),o.insertBefore(_('<div class="gvideo-wrapper"></div>'),o.firstChild);var d=t.querySelector(".gvideo-wrapper");w(this.settings.plyr.css,"Plyr");var c=e.href,u=null==e?void 0:e.videoProvider,p=!1;o.style.maxWidth=e.width,w(this.settings.plyr.js,"Plyr",(function(){if(!u&&c.match(/vimeo\.com\/([0-9]*)/)&&(u="vimeo"),!u&&(c.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||c.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||c.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/))&&(u="youtube"),"local"===u||!u){u="local";var a='<video id="'+r+'" ';a+='style="background:#000; max-width: '.concat(e.width,';" '),a+='preload="metadata" ',a+='x-webkit-airplay="allow" ',a+="playsinline ",a+="controls ",a+='class="gvideo-local">',a+='<source src="'.concat(c,'">'),p=_(a+="</video>")}var o=p||_('<div id="'.concat(r,'" data-plyr-provider="').concat(u,'" data-plyr-embed-id="').concat(c,'"></div>'));h(d,"".concat(u,"-video gvideo")),d.appendChild(o),d.setAttribute("data-id",r),d.setAttribute("data-index",i);var m=C(s.settings.plyr,"config")?s.settings.plyr.config:{},f=new Plyr("#"+r,m);f.on("ready",(function(t){l[r]=t.detail.plyr,k(n)&&n()})),b((function(){return t.querySelector("iframe")&&"true"==t.querySelector("iframe").dataset.ready}),(function(){s.resize(t)})),f.on("enterfullscreen",U),f.on("exitfullscreen",U)}))}function U(t){var e=u(t.target,".gslide-media");"enterfullscreen"===t.type&&h(e,"fullscreen"),"exitfullscreen"===t.type&&d(e,"fullscreen")}function X(t,e,i,n){var s,a=this,r=t.querySelector(".gslide-media"),o=!(!C(e,"href")||!e.href)&&e.href.split("#").pop().trim(),d=!(!C(e,"content")||!e.content)&&e.content;if(d&&(T(d)&&(s=_('<div class="ginlined-content">'.concat(d,"</div>"))),E(d))){"none"==d.style.display&&(d.style.display="block");var c=document.createElement("div");c.className="ginlined-content",c.appendChild(d),s=c}if(o){var u=document.getElementById(o);if(!u)return!1;var p=u.cloneNode(!0);p.style.height=e.height,p.style.maxWidth=e.width,h(p,"ginlined-content"),s=p}if(!s)return console.error("Unable to append inline slide content",e),!1;r.style.height=e.height,r.style.width=e.width,r.appendChild(s),this.events["inlineclose"+o]=l("click",{onElement:r.querySelectorAll(".gtrigger-close"),withCallback:function(t){t.preventDefault(),a.close()}}),k(n)&&n()}function G(t,e,i,n){var s=t.querySelector(".gslide-media"),a=function(t){var e=t.url,i=t.allow,n=t.callback,s=t.appendTo,a=document.createElement("iframe");return a.className="vimeo-video gvideo",a.src=e,a.style.width="100%",a.style.height="100%",i&&a.setAttribute("allow",i),a.onload=function(){a.onload=null,h(a,"node-ready"),k(n)&&n()},s&&s.appendChild(a),a}({url:e.href,callback:n});s.parentNode.style.maxWidth=e.width,s.parentNode.style.height=e.height,s.appendChild(a)}var V=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},L(i)&&(this.defaults=a(this.defaults,i))}return n(t,[{key:"sourceType",value:function(t){var e=t;return null!==(t=t.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?"image":t.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||t.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||t.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||t.match(/vimeo\.com\/([0-9]*)/)||null!==t.match(/\.(mp4|ogg|webm|mov)/)?"video":null!==t.match(/\.(mp3|wav|wma|aac|ogg)/)?"audio":t.indexOf("#")>-1&&""!==e.split("#").pop().trim()?"inline":t.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(t,e){var i=this,n=a({descPosition:e.descPosition},this.defaults);if(L(t)&&!E(t)){C(t,"type")||(C(t,"content")&&t.content?t.type="inline":C(t,"href")&&(t.type=this.sourceType(t.href)));var s=a(n,t);return this.setSize(s,e),s}var o="",l=t.getAttribute("data-glightbox"),h=t.nodeName.toLowerCase();if("a"===h&&(o=t.href),"img"===h&&(o=t.src,n.alt=t.alt),n.href=o,r(n,(function(s,a){C(e,a)&&"width"!==a&&(n[a]=e[a]);var r=t.dataset[a];A(r)||(n[a]=i.sanitizeValue(r))})),n.content&&(n.type="inline"),!n.type&&o&&(n.type=this.sourceType(o)),A(l)){if(!n.title&&"a"==h){var d=t.title;A(d)||""===d||(n.title=d)}if(!n.title&&"img"==h){var c=t.alt;A(c)||""===c||(n.title=c)}}else{var u=[];r(n,(function(t,e){u.push(";\\s?"+e)})),u=u.join("\\s?:|"),""!==l.trim()&&r(n,(function(t,e){var s=l,a=new RegExp("s?"+e+"s?:s?(.*?)("+u+"s?:|$)"),r=s.match(a);if(r&&r.length&&r[1]){var o=r[1].trim().replace(/;\s*$/,"");n[e]=i.sanitizeValue(o)}}))}if(n.description&&"."===n.description.substring(0,1)){var p;try{p=document.querySelector(n.description).innerHTML}catch(t){if(!(t instanceof DOMException))throw t}p&&(n.description=p)}if(!n.description){var m=t.querySelector(".glightbox-desc");m&&(n.description=m.innerHTML)}return this.setSize(n,e,t),this.slideConfig=n,n}},{key:"setSize",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="video"==t.type?this.checkSize(e.videosWidth):this.checkSize(e.width),s=this.checkSize(e.height);return t.width=C(t,"width")&&""!==t.width?this.checkSize(t.width):n,t.height=C(t,"height")&&""!==t.height?this.checkSize(t.height):s,i&&"image"==t.type&&(t._hasCustomWidth=!!i.dataset.width,t._hasCustomHeight=!!i.dataset.height),t}},{key:"checkSize",value:function(t){return N(t)?"".concat(t,"px"):t}},{key:"sanitizeValue",value:function(t){return"true"!==t&&"false"!==t?t:"true"===t}}]),t}(),Z=function(){function t(i,n,s){e(this,t),this.element=i,this.instance=n,this.index=s}return n(t,[{key:"setContent",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(c(e,"loaded"))return!1;var n=this.instance.settings,s=this.slideConfig,a=x();k(n.beforeSlideLoad)&&n.beforeSlideLoad({index:this.index,slide:e,player:!1});var r=s.type,o=s.descPosition,l=e.querySelector(".gslide-media"),d=e.querySelector(".gslide-title"),u=e.querySelector(".gslide-desc"),p=e.querySelector(".gdesc-inner"),m=i,f="gSlideTitle_"+this.index,g="gSlideDesc_"+this.index;if(k(n.afterSlideLoad)&&(m=function(){k(i)&&i(),n.afterSlideLoad({index:t.index,slide:e,player:t.instance.getSlidePlayerInstance(t.index)})}),""==s.title&&""==s.description?p&&p.parentNode.parentNode.removeChild(p.parentNode):(d&&""!==s.title?(d.id=f,d.innerHTML=s.title):d.parentNode.removeChild(d),u&&""!==s.description?(u.id=g,a&&n.moreLength>
vendor: 8,466 bytes, line 4
40?(s.smallDescription=this.slideShortDesc(s.description,n.moreLength,n.moreText),u.innerHTML=s.smallDescription,this.descriptionEvents(u,s)):u.innerHTML=s.description):u.parentNode.removeChild(u),h(l.parentNode,"desc-".concat(o)),h(p.parentNode,"description-".concat(o))),h(l,"gslide-".concat(r)),h(e,"loaded"),"video"!==r){if("external"!==r)return"inline"===r?(X.apply(this.instance,[e,s,this.index,m]),void(s.draggable&&new W({dragEl:e.querySelector(".gslide-inline"),toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:e,instance:this.instance}))):void("image"!==r?k(m)&&m():$(e,s,this.index,(function(){var i=e.querySelector("img");s.draggable&&new W({dragEl:i,toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:e,instance:t.instance}),s.zoomable&&i.naturalWidth>i.offsetWidth&&(h(i,"zoomable"),new B(i,e,(function(){t.instance.resize()}))),k(m)&&m()})));G.apply(this,[e,s,this.index,m])}else Y.apply(this.instance,[e,s,this.index,m])}},{key:"slideShortDesc",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=document.createElement("div");n.innerHTML=t;var s=i;if((t=n.innerText.trim()).length<=e)return t;var a=t.substr(0,e-1);return s?(n=null,a+'... <a href="#" class="desc-more">'+i+"</a>"):a}},{key:"descriptionEvents",value:function(t,e){var i=this,n=t.querySelector(".desc-more");if(!n)return!1;l("click",{onElement:n,withCallback:function(t,n){t.preventDefault();var s=document.body,a=u(n,".gslide-desc");if(!a)return!1;a.innerHTML=e.description,h(s,"gdesc-open");var r=l("click",{onElement:[s,u(a,".gslide-description")],withCallback:function(t,n){"a"!==t.target.nodeName.toLowerCase()&&(d(s,"gdesc-open"),h(s,"gdesc-closed"),a.innerHTML=e.smallDescription,i.descriptionEvents(a,e),setTimeout((function(){d(s,"gdesc-closed")}),400),r.destroy())}})}})}},{key:"create",value:function(){return _(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){E(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var t=new V(this.instance.settings.slideExtraAttributes);return this.slideConfig=t.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),t}(),J=x(),K=null!==x()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,Q=document.getElementsByTagName("html")[0],tt={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:'<div class="gslide">\n <div class="gslide-inner-content">\n <div class="ginner-container">\n <div class="gslide-media">\n </div>\n <div class="gslide-description">\n <div class="gdesc-inner">\n <h4 class="gslide-title"></h4>\n <div class="gslide-desc"></div>\n </div>\n </div>\n </div>\n </div>\n</div>',lightboxHTML:'<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">\n <div class="gloader visible"></div>\n <div class="goverlay"></div>\n <div class="gcontainer">\n <div id="glightbox-slider" class="gslider"></div>\n <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>\n <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>\n <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>\n</div>\n</div>'},et=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.customOptions=i,this.settings=a(tt,i),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return n(t,[{key:"init",value:function(){var t=this,e=this.getSelector();e&&(this.baseEvents=l("click",{onElement:e,withCallback:function(e,i){e.preventDefault(),t.open(i)}})),this.elements=this.getElements()}},{key:"open",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0===this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var i=N(e)?e:this.settings.startAt;if(E(t)){var n=t.getAttribute("data-gallery");n&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,n)),A(i)&&(i=this.getElementIndex(t))<0&&(i=0)}N(i)||(i=0),this.build(),p(this.overlay,"none"===this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var s=document.body,a=window.innerWidth-document.documentElement.clientWidth;if(a>0){var r=document.createElement("style");r.type="text/css",r.className="gcss-styles",r.innerText=".gscrollbar-fixer {margin-right: ".concat(a,"px}"),document.head.appendChild(r),h(s,"gscrollbar-fixer")}h(s,"glightbox-open"),h(Q,"glightbox-open"),J&&(h(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(i,!0),1===this.elements.length?(h(this.prevButton,"glightbox-button-hidden"),h(this.nextButton,"glightbox-button-hidden")):(d(this.prevButton,"glightbox-button-hidden"),d(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),k(this.settings.onOpen)&&this.settings.onOpen(),K&&this.settings.touchNavigation&&F(this),this.settings.keyboardNavigation&&O(this)}},{key:"openAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,t)}},{key:"showSlide",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];f(this.loader),this.index=parseInt(e);var n=this.slidesContainer.querySelector(".current");n&&d(n,"current"),this.slideAnimateOut();var s=this.slidesContainer.querySelectorAll(".gslide")[e];if(c(s,"loaded"))this.slideAnimateIn(s,i),g(this.loader);else{f(this.loader);
vendor: 8,239 bytes, line 4
4var a=this.elements[e],r={index:this.index,slide:s,slideNode:s,slideConfig:a.slideConfig,slideIndex:this.index,trigger:a.node,player:null};this.trigger("slide_before_load",r),a.instance.setContent(s,(function(){g(t.loader),t.resize(),t.slideAnimateIn(s,i),t.trigger("slide_after_load",r)}))}this.slideDescription=s.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&c(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(e+1),this.preloadSlide(e-1)),this.updateNavigationClasses(),this.activeSlide=s}},{key:"preloadSlide",value:function(t){var e=this;if(t<0||t>this.elements.length-1)return!1;if(A(this.elements[t]))return!1;var i=this.slidesContainer.querySelectorAll(".gslide")[t];if(c(i,"loaded"))return!1;var n=this.elements[t],s=n.type,a={index:t,slide:i,slideNode:i,slideConfig:n.slideConfig,slideIndex:t,trigger:n.node,player:null};this.trigger("slide_before_load",a),"video"===s||"external"===s?setTimeout((function(){n.instance.setContent(i,(function(){e.trigger("slide_after_load",a)}))}),200):n.instance.setContent(i,(function(){e.trigger("slide_after_load",a)}))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(t<0||t>this.elements.length-1))return!1;t<0?t=this.elements.length-1:t>=this.elements.length&&(t=0),this.showSlide(t)}},{key:"insertSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;e<0&&(e=this.elements.length);var i=new Z(t,this,e),n=i.getConfig(),s=a({},n),r=i.create(),o=this.elements.length-1;s.index=e,s.node=!1,s.instance=i,s.slideConfig=n,this.elements.splice(e,0,s);var l=null,h=null;if(this.slidesContainer){if(e>o)this.slidesContainer.appendChild(r);else{var d=this.slidesContainer.querySelectorAll(".gslide")[e];this.slidesContainer.insertBefore(r,d)}(this.settings.preload&&0==this.index&&0==e||this.index-1==e||this.index+1==e)&&this.preloadSlide(e),0===this.index&&0===e&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(".gslide")[e],h=this.getSlidePlayerInstance(e),s.slideNode=l}this.trigger("slide_inserted",{index:e,slide:l,slideNode:l,slideConfig:n,slideIndex:e,trigger:null,player:h}),k(this.settings.slideInserted)&&this.settings.slideInserted({index:e,slide:l,player:h})}},{key:"removeSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(t<0||t>this.elements.length-1)return!1;var e=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[t];e&&(this.getActiveSlideIndex()==t&&(t==this.elements.length-1?this.prevSlide():this.nextSlide()),e.parentNode.removeChild(e)),this.elements.splice(t,1),this.trigger("slide_removed",t),k(this.settings.slideRemoved)&&this.settings.slideRemoved(t)}},{key:"slideAnimateIn",value:function(t,e){var i=this,n=t.querySelector(".gslide-media"),s=t.querySelector(".gslide-description"),a={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},r={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(n.offsetWidth>0&&s&&(g(s),s.style.display=""),d(t,this.effectsClasses),e)p(t,this.settings.cssEfects[this.settings.openEffect].in,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(t),i.trigger("slide_changed",{prev:a,current:r}),k(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[a,r])}));else{var o=this.settings.slideEffect,l="none"!==o?this.settings.cssEfects[o].in:o;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),p(t,l,(function(){i.settings.autoplayVideos&&i.slidePlayerPlay(t),i.trigger("slide_changed",{prev:a,current:r}),k(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[a,r])}))}setTimeout((function(){i.resize(t)}),100),h(t,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var t=this.prevActiveSlide;d(t,this.effectsClasses),h(t,"prev");var e=this.settings.slideEffect,i="none"!==e?this.settings.cssEfects[e].out:e;this.slidePlayerPause(t),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),k(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(i=this.settings.cssEfects.slideBack.out),p(t,i,(function(){var e=t.querySelector(".ginner-container"),i=t.querySelector(".gslide-media"),n=t.querySelector(".gslide-description");e.style.transform="",i.style.transform="",d(i,"greset"),i.style.opacity="",n&&(n.style.opacity=""),d(t,"prev")}))}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(t){var e="gvideo"+t,i=this.getAllPlayers();return!(!C(i,e)||!i[e])&&i[e]}},{key:"stopSlideVideo",value:function(t){if(E(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var i=this.getSlidePlayerInstance(t);i&&i.playing&&i.pause()}},{key:"slidePlayerPause",value:function(t){if(E(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}var i=this.getSlidePlayerInstance(t);i&&i.playing&&i.pause()}},{key:"playSlideVideo",value:function(t){if(E(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var i=this.getSlidePlayerInstance(t);i&&!i.playing&&i.play()}},{key:"slidePlayerPlay",value:function(t){var e;if(!J||null!==(e=this.settings.plyr.config)&&void 0!==e&&e.muted){if(E(t)){var i=t.querySelector(".gvideo-wrapper");i&&(t=i.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(t);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}}},{key:"setElements",value:function(t){var e=this;this.settings.elements=!1;var i=[];t&&t.length&&r(t,(function(t,n){var s=new Z(t,e,n),r=s.getConfig(),o=a({},r);o.slideConfig=r,o.instance=s,o.index=n,i.push(o)})),this.elements=i,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(r(this.elements,(function(){var t=_(e.settings.slideHTML);e.slidesContainer.appendChild(t)})),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(t){var e=!1;return r(this.elements,(function(i,n){if(C(i,"node")&&i.node==t)return e=n,!0})),e}},{key:"getElements",value:function(){var t=this,e=[];this.elements=this.elements?this.elements:[],!A(this.settings.elements)&&S(this.settings.elements)&&this.settings.elements.length&&r(this.settings.elements,(function(i,n){var s=new Z(i,t,n),r=s.getConfig(),o=a({},r);o.node=!1,o.index=n,o.instance=s,o.slideConfig=r,e.push(o)}));var i=!1;
vendor: 4,201 bytes, line 4
4return this.getSelector()&&(i=document.querySelectorAll(this.getSelector())),i?(r(i,(function(i,n){var s=new Z(i,t,n),r=s.getConfig(),o=a({},r);o.node=i,o.index=n,o.instance=s,o.slideConfig=r,o.gallery=i.getAttribute("data-gallery"),e.push(o)})),e):e}},{key:"getGalleryElements",value:function(t,e){return t.filter((function(t){return t.gallery==e}))}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var t=[];for(var e in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(e)){var i=this.settings.cssEfects[e];t.push("g".concat(i.in)),t.push("g".concat(i.out))}return t.join(" ")}},{key:"build",value:function(){var t=this;if(this.built)return!1;var e=document.body.childNodes,i=[];r(e,(function(t){t.parentNode==document.body&&"#"!==t.nodeName.charAt(0)&&t.hasAttribute&&!t.hasAttribute("aria-hidden")&&(i.push(t),t.setAttribute("aria-hidden","true"))}));var n=C(this.settings.svg,"next")?this.settings.svg.next:"",s=C(this.settings.svg,"prev")?this.settings.svg.prev:"",a=C(this.settings.svg,"close")?this.settings.svg.close:"",o=this.settings.lightboxHTML;o=_(o=(o=(o=o.replace(/{nextSVG}/g,n)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,a)),document.body.appendChild(o);var d=document.getElementById("glightbox-body");this.modal=d;var p=d.querySelector(".gclose");this.prevButton=d.querySelector(".gprev"),this.nextButton=d.querySelector(".gnext"),this.overlay=d.querySelector(".goverlay"),this.loader=d.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=i,this.events={},h(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&p&&(this.events.close=l("click",{onElement:p,withCallback:function(e,i){e.preventDefault(),t.close()}})),p&&!this.settings.closeButton&&p.parentNode.removeChild(p),this.nextButton&&(this.events.next=l("click",{onElement:this.nextButton,withCallback:function(e,i){e.preventDefault(),t.nextSlide()}})),this.prevButton&&(this.events.prev=l("click",{onElement:this.prevButton,withCallback:function(e,i){e.preventDefault(),t.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=l("click",{onElement:d,withCallback:function(e,i){t.preventOutsideClick||c(document.body,"glightbox-mobile")||u(e.target,".ginner-container")||u(e.target,".gbtn")||c(e.target,"gnext")||c(e.target,"gprev")||t.close()}})),r(this.elements,(function(e,i){t.slidesContainer.appendChild(e.instance.create()),e.slideNode=t.slidesContainer.querySelectorAll(".gslide")[i]})),K&&h(document.body,"glightbox-touch"),this.events.resize=l("resize",{onElement:window,withCallback:function(){t.resize()}}),this.built=!0}},{key:"resize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((t=t||this.activeSlide)&&!c(t,"zoomed")){var e=v(),i=t.querySelector(".gvideo-wrapper"),n=t.querySelector(".gslide-image"),s=this.slideDescription,a=e.width,r=e.height;if(a<=768?h(document.body,"glightbox-mobile"):d(document.body,"glightbox-mobile"),i||n){var o=!1;if(s&&(c(s,"description-bottom")||c(s,"description-top"))&&!c(s,"gabsolute")&&(o=!0),n)if(a<=768)n.querySelector("img");else if(o){var l=s.offsetHeight,u=n.querySelector("img");u.setAttribute("style","max-height: calc(100vh - ".concat(l,"px)")),s.setAttribute("style","max-width: ".concat(u.offsetWidth,"px;"))}if(i){var p=C(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!p){var m=i.clientWidth,f=i.clientHeight,g=m/f;p="".concat(m/g,":").concat(f/g)}var _=p.split(":"),y=this.settings.videosWidth,b=this.settings.videosWidth,w=(b=N(y)||-1!==y.indexOf("px")?parseInt(y):-1!==y.indexOf("vw")?a*parseInt(y)/100:-1!==y.indexOf("vh")?r*parseInt(y)/100:-1!==y.indexOf("%")?a*parseInt(y)/100:parseInt(i.clientWidth))/(parseInt(_[0])/parseInt(_[1]));if(w=Math.floor(w),o&&(r-=s.offsetHeight),b>a||w>r||r<w&&a>
4b){var x=i.offsetWidth,k=i.offsetHeight,T=r/k,E={width:x*T,height:k*T};i.parentNode.setAttribute("style","max-width: ".concat(E.width,"px")),o&&s.setAttribute("style","max-width: ".concat(E.width,"px;"))}else i.parentNode.style.maxWidth="".concat(y),o&&s.setAttribute("style","max-width: ".concat(y,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var t=this.loop();d(this.nextButton,"disabled"),d(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(h(this.prevButton,"disabled"),h(this.nextButton,"disabled")):0!==this.index||t?this.index!==this.elements.length-1||t||h(this.nextButton,"disabled"):h(this.prevButton,"disabled")}},{key:"loop",value:function(){var t=C(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return t=C(this.settings,"loop")?this.settings.loop:t}},{key:"close",value:function(){var t=this;if(!this.lightboxOpen){if(this.events){for(var e in this.events)this.events.hasOwnProperty(e)&&this.events[e].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&r(this.bodyHiddenChildElms,(function(t){t.removeAttribute("aria-hidden")})),h(this.modal,"glightbox-closing"),p(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),p(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(t.activeSlide=null,t.prevActiveSlideIndex=null,t.prevActiveSlide=null,t.built=!1,t.events){for(var e in t.events)t.events.hasOwnProperty(e)&&t.events[e].destroy();t.events=null}var i=document.body;d(Q,"glightbox-open"),d(i,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),t.modal.parentNode.removeChild(t.modal),t.trigger("close"),k(t.settings.onClose)&&t.settings.onClose();var n=document.querySelector(".gcss-styles");n&&n.parentNode.removeChild(n),t.lightboxOpen=!1,t.closing=null}))}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||!k(e))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:t,once:i,callback:e})}},{key:"once",value:function(t,e){this.on(t,e,!0)}},{key:"trigger",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];r(this.apiEvents,(function(e,s){var a=e.evt,r=e.once,o=e.callback;a==t&&(o(i),r&&n.push(s))})),n.length&&r(n,(function(t){return e.apiEvents.splice(t,1)}))}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.1.0"}}]),t}();return function(){var t=new et(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return t.init(),t}}()},1102:()=>{var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(){if("undefined"!=typeof window){var i=Array.prototype.slice,n=Element.prototype.matches||Element.prototype.msMatchesSelector,s=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","[contenteditable]"].join(","),a=function(){function a(t,i){e(this,a),this._inertManager=i,this._rootElement=t,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}return t(a,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(null!==this._savedAriaHidden?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEac
vendor: 5,100 bytes, line 4
4h((function(t){this._unmanageNode(t.node)}),this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(t){var e=this;h(t,(function(t){return e._visitNode(t)}));var i=document.activeElement;if(!document.body.contains(t)){for(var n=t,s=void 0;n;){if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){s=n;break}n=n.parentNode}s&&(i=s.activeElement)}t.contains(i)&&(i.blur(),i===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=t;e!==this._rootElement&&e.hasAttribute("inert")&&this._adoptInertRoot(e),(n.call(e,s)||e.hasAttribute("tabindex"))&&this._manageNode(e)}}},{key:"_manageNode",value:function(t){var e=this._inertManager.register(t,this);this._managedNodes.add(e)}},{key:"_unmanageNode",value:function(t){var e=this._inertManager.deregister(t,this);e&&this._managedNodes.delete(e)}},{key:"_unmanageSubtree",value:function(t){var e=this;h(t,(function(t){return e._unmanageNode(t)}))}},{key:"_adoptInertRoot",value:function(t){var e=this._inertManager.getInertRoot(t);e||(this._inertManager.setInert(t,!0),e=this._inertManager.getInertRoot(t)),e.managedNodes.forEach((function(t){this._manageNode(t.node)}),this)}},{key:"_onMutation",value:function(t,e){t.forEach((function(t){var e=t.target;if("childList"===t.type)i.call(t.addedNodes).forEach((function(t){this._makeSubtreeUnfocusable(t)}),this),i.call(t.removedNodes).forEach((function(t){this._unmanageSubtree(t)}),this);else if("attributes"===t.type)if("tabindex"===t.attributeName)this._manageNode(e);else if(e!==this._rootElement&&"inert"===t.attributeName&&e.hasAttribute("inert")){this._adoptInertRoot(e);var n=this._inertManager.getInertRoot(e);this._managedNodes.forEach((function(t){e.contains(t.node)&&n._manageNode(t.node)}))}}),this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return null!==this._savedAriaHidden}},{key:"savedAriaHidden",set:function(t){this._savedAriaHidden=t},get:function(){return this._savedAriaHidden}}]),a}(),r=function(){function i(t,n){e(this,i),this._node=t,this._overrodeFocusMethod=!1,this._inertRoots=new Set([n]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}return t(i,[{key:"destructor",value:function(){if(this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE){var t=this._node;null!==this._savedTabIndex?t.setAttribute("tabindex",this._savedTabIndex):t.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete t.focus}this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){if(this.node.nodeType===Node.ELEMENT_NODE){var t=this.node;if(n.call(t,s)){if(-1===t.tabIndex&&this.hasSavedTabIndex)return;t.hasAttribute("tabindex")&&(this._savedTabIndex=t.tabIndex),t.setAttribute("tabindex","-1"),t.nodeType===Node.ELEMENT_NODE&&(t.focus=function(){},this._overrodeFocusMethod=!0)}else t.hasAttribute("tabindex")&&(this._savedTabIndex=t.tabIndex,t.removeAttribute("tabindex"))}}},{key:"addInertRoot",value:function(t){this._throwIfDestroyed(),this._inertRoots.add(t)}},{key:"removeInertRoot",value:function(t){this._throwIfDestroyed(),this._inertRoots.delete(t),0===this._inertRoots.size&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return null!==this._savedTabIndex}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(t){this._throwIfDestroyed(),this._savedTabIndex=t},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),i}(),o=function(){function s(t){if(e(this,s),!t)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=t,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),d(t.head||t.body||t.documentElement),"loading"===t.readyState?t.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}return t(s,[{key:"setInert",value:function(t,e){if(e){if(this._inertRoots.has(t))return;var i=new a(t,this);if(t.setAttribute("inert",""),this._inertRoots.set(t,i),!this._document.body.contains(t))for(var n=t.parentNode;n;)11===n.nodeType&&d(n),n=n.parentNode}else{if(!this._inertRoots.has(t))return;this._inertRoots.get(t).destructor(),this._inertRoots.delete(t),t.removeAttribute("inert")}}},{key:"getInertRoot",value:function(t){return this._inertRoots.get(t)}},{key:"register",value:function(t,e){var i=this._managedNodes.get(t);return void 0!==i?i.addInertRoot(e):i=new r(t,e),this._managedNodes.set(t,i),i}},{key:"deregister",value:function(t,e){var i=this._managedNodes.get(t);return i?(i.removeInertRoot(e),i.destroyed&&this._managedNodes.delete(t),i):null}},{key:"_onDocumentLoaded",value:function(){i.call(this._document.querySelectorAll("[inert]")).forEac
4h((function(t){this.setInert(t,!0)}),this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(t,e){var s=this;t.forEach((function(t){switch(t.type){case"childList":i.call(t.addedNodes).forEach((function(t){if(t.nodeType===Node.ELEMENT_NODE){var e=i.call(t.querySelectorAll("[inert]"));n.call(t,"[inert]")&&e.unshift(t),e.forEach((function(t){this.setInert(t,!0)}),s)}}),s);break;case"attributes":if("inert"!==t.attributeName)return;var e=t.target,a=e.hasAttribute("inert");s.setInert(e,a)}}),this)}}]),s}();if(!HTMLElement.prototype.hasOwnProperty("inert")){var l=new o(document);Object.defineProperty(HTMLElement.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(t){l.setInert(this,t)}})}}function h(t,e,i){if(t.nodeType==Node.ELEMENT_NODE){var n=t;e&&e(n);var s=n.shadowRoot;if(s)return void h(s,e,s);if("content"==n.localName){for(var a=n,r=a.getDistributedNodes?a.getDistributedNodes():[],o=0;o<r.length;o++)h(r[o],e,i);return}if("slot"==n.localName){for(var l=n,d=l.assignedNodes?l.assignedNodes({flatten:!0}):[],c=0;c<d.length;c++)h(d[c],e,i);return}}for(var u=t.firstChild;null!=u;)h(u,e,i),u=u.nextSibling}function d(t){if(!t.querySelector("style#inert-style, link#inert-style")){var e=document.createElement("style");e.setAttribute("id","inert-style"),e.textContent="\n[inert] {\n pointer-events: none;\n cursor: default;\n}\n\n[inert], [inert] * {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n",t.appendChild(e)}}}()}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var a=e[n]={exports:{}};return t[n].call(a.exports,a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";i(1539),i(8674),i(9826),i(4916),i(5306),i(2564),i(9554),i(4747),i(4765);const t=navigator?navigator.userAgent.toLowerCase():"no-user-agent-specified",e=document?document.documentElement:null,s=!!t&&-1!==t.indexOf("phantom"),a=window&&"ActiveXObject"in window,r=(Boolean(a&&t.match(/MSIE 9/i)),a&&document&&document.addEventListener,-1!==t.indexOf("webkit")),o=(t.indexOf("android"),-1!==t.search("android [23]")),l=!!window&&void 0!==window.orientation,h=!(!navigator||!window)&&(navigator.msPointerEnabled&&navigator.msMaxTouchPoints&&!window.PointerEvent),d=navigator&&window?window.PointerEvent&&navigator.pointerEnabled&&navigator.maxTouchPoints:h,c=!!window&&window.opera,u=(t.indexOf("gecko"),-1!==t.indexOf("gecko")&&!r&&!c&&!a),p=(t.indexOf("chrome"),-1!==t.indexOf("edge/")),m=!!e&&(a&&"transition"in e.style),f=!!window&&("WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!o),g=!!e&&"MozPerspective"in e.style,_=!!e&&"OTransition"in e.style;window&&window.L_DISABLE_3D,l&&window.opera;let v=!!window&&("devicePixelRatio"in window&&window.devicePixelRatio>1);if(!v&&window&&"matchMedia"in window){let t=window.matchMedia("(min-resolution:144dpi)");v=t&&t.matches}const y=window&&!window.L_NO_TOUCH&&!s&&(d||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);function b(t){return"string"==typeof t?document.getElementById(t):t}function w(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n}function x(t){for(var e={x:0,y:0};t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e}function T(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}T(["transition","webkitTransition","OTransition","MozTransition","msTransition"]),T(["transformProperty","WebkitTransform","OTransform","MozTransform","msTransform"]);function E(t,e){(function(t,e){return t.className.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)})(t,e)||(t.className+=(t.className?" ":"")+e)}function S(t,e){t.className=t.className.replace(/(\S+)\s*/g,(function(t,i){return i===e?"":t})).replace(/^\s+/,"")}
4class M extends Error{constructor(t,e){super(),this.name="TLError",this.message=t||"error",this.message_key=this.message,this.detail=e||""}}const L={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function A(t){L[t.toLowerCase()]&&(t=L[t.toLowerCase()]);t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function C(t,e){var i;for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}function D(t){for(var e=Array.prototype.slice.call(arguments,1),i=0,n=e.length;i<n;i++)C(t,e[i]||{});return t}const N=[];function I(t){N.forEach((e=>{try{e(t)}catch(t){console&&console.log&&console.log("Error handling trace",t)}}))}function O(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}const j=(P=0,R="_tl_id",function(t){return t[R]=t[R]||++P,t[R]});var P,R;function z(t){return t&&"function"==typeof t.replace?t.replace(/^\s+|\s+$/g,""):""}function q(t,...e){for(let n of e)for(var i of Object.getOwnPropertyNames(n.prototype))t.prototype[i]=n.prototype[i]}function H(t){t=(t=z(t)).toLowerCase();for(var e="ãà áäâẽèéëêìÃïîõòóöôùúüûñç·/_,:;",i=0,n=e.length;i<n;i++)t=t.replace(new RegExp(e.charAt(i),"g"),"aaaaaeeeeeiiiiooooouuuunc------".charAt(i));return t=(t=t.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")).replace(/^([0-9])/,"_$1")}function F(t,e){var i=function(){var t;return"abcdefghijklmnopqurstuvwxyz".substr((t=32,Math.floor(Math.random()*t)),1)},n=function(t){for(var e="",n=0;n<t;n++)e+=i();return e};return e?e+"-"+n(t):"tl-"+n(t)}function B(t){return t==parseFloat(t)?!(t%2):void 0}function W(t,e,i,n){for(var s=n||0,a=0;a<e.length;a++)e[a].data[i]==t&&(s=a);return s}function $(t){return t?t=(t=t.replace(/<a\b[^>]*>/i,"")).replace(/<\/a>/i,""):t}function Y(t){return(t=t.replace(/(<[^>]*>)+/g,"")).replace('"',"'")}
4function U(t,e,i){var n=function(t,e,i){i||(i="");return e&&e.length>30&&(e=e.substring(0,30)+"â¦"),i+"<a class='tl-makelink' href='"+t+"' onclick='void(0)'>"+e+"</a>"};return t.replace(/\b(?:https?|ftp):\/\/([a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|])/gim,(function(t,e,i,s){if(i>0){var a=s[i-1];if('"'==a||"'"==a||"="==a)return t}return n(t,e)})).replace(/(^|[^\/>])(www\.[\S]+(\b|$))/gim,(function(t,e,i,s,a){return n("http://"+i,i,e)})).replace(/([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)/gim,(function(t,e,i,s){return n("mailto:"+e,e)}))}function X(t){return t.replace(/(.*)www.dropbox.com\/(.*)/,"$1dl.dropboxusercontent.com/$2")}const G=t=>{var e={w:0,h:0};return t.w>t.h&&t.h>0?(e.h=t.h,e.w=t.h):(e.w=t.w,e.h=t.w),e},V=t=>null!==t.w&&""!==t.w?Math.round(t.w/16*9):null!==t.h&&""!==t.h?Math.round(t.h/9*16):0;let Z=(K=(J="123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ").length,{encode:function(t){if("number"!=typeof t||t!==parseInt(t))throw'"encode" only accepts integers.';for(var e="";t;){var i=t%K;t=Math.floor(t/K),e=J[i].toString()+e}return e},decode:function(t){if("string"!=typeof t)throw'"decode" only accepts strings.';for(var e=0;t;){var i=J.indexOf(t[0]);if(i<0)throw'"decode" can\'t find "'+t[0]+'" in the alphabet: "'+J+'"';var n=t.length-1;e+=i*Math.pow(K,n),t=t.substring(1)}return e}});var J,K;function Q(t){if("string"==typeof t){let n=t.match(/^\s*(\d+h)?(\d+m)?(\d+s)?\s*/i);if(n){var e=parseInt(n[1])||0,i=parseInt(n[2])||0;return(parseInt(n[3])||0)+60*i+60*e*60}}else if("number"==typeof t)return t;return 0}function tt(t){return(new DOMParser).parseFromString(t,"text/html").body.textContent||""}const et=[.42,0,1,1];function it(t){}function nt(t){return new it(et).get(t)}function st(t){return 1==t?1:1-Math.pow(2,-10*t)}function at(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}let rt=function(){};rt.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments)},i=function(){};i.prototype=this.prototype;var n=new i;for(var s in n.constructor=e,e.prototype=n,e.superclass=this.prototype,this)this.hasOwnProperty(s)&&"prototype"!==s&&"superclass"!==s&&(e[s]=this[s]);return t.statics&&(D(e,t.statics),delete t.statics),t.includes&&(D.apply(null,[n].concat(t.includes)),delete t.includes),t.options&&n.options&&(t.options=D({},n.options,t.options)),D(n,t),e.extend=rt.extend,e.include=function(t){D(this.prototype,t)},e};class ot{on(t,e,i){if(!e)throw new M("No callback function provided");var n=this._tl_events=this._tl_events||{};return n[t]=n[t]||[],n[t].push({action:e,context:i||this}),this}addEventListener(t,e,i){return this.on(t,e,i)}hasEventListeners(t){var e="_tl_events";return e in this&&t in this[e]&&this[e][t].length>0}removeEventListener(t,e,i){if(!this.hasEventListeners(t))return this;for(var n=0,s=this._tl_events,a=s[t].length;n<a;n++)if(s[t][n].action===e&&(!i||s[t][n].context===i))return s[t].splice(n,1),this;return this}off(t,e,i){return this.removeEventListener(t,e,i)}fire(t,e){if(!this.hasEventListeners(t))return this;for(var i=C({type:t,target:this},e),n=this._tl_events[t].slice(),s=0,a=n.length;s<a;s++)n[s].action?n[s].action.call(n[s].context||this,i):I(`no action defined for ${t} listener`);return this}}function lt(t,e){return ht(t,e)}const ht=function(){var t=document,e=window,i=e.performance,n=i&&(i.now||i.webkitNow||i.msNow||i.mozNow),s=n?function(){return n.call(i)}:function(){return+new Date},a=t.documentElement,r=!1,o=1e3,l=/^rgb\(|#/,h=/^([+\-])=([\d\.]+)/,d=/^(?:[\+\-]=?)?\d+(?:\.\d+)?(%|in|cm|mm|em|ex|pt|pc|px)$/,c=/rotate\(((?:[+\-]=)?([\-\d\.]+))deg\)/,u=/scale\(((?:[+\-]=)?([\d\.]+))\)/,p=/skew\(((?:[+\-]=)?([\-\d\.]+))deg, ?((?:[+\-]=)?([\-\d\.]+))deg\)/,m=/translate\(((?:[+\-]=)?([\-\d\.]+))px, ?((?:[+\-]=)?([\-\d\.]+))px\)/,f={lineHeight:1,zoom:1,zIndex:1,opacity:1,transform:1},g=function(){var e,i=t.createElement("a").style,n=["webkitTransform","MozTransform","OTransform","msTransform","Transform"];for(e=0;e<n.length;e++)if(n[e]in i)return n[e]}(),_=void 0!==t.createElement("a").style.opacity,v=t.defaultView&&t.defaultView.getComputedStyle?function(e,i){i=S(i="transform"==i?g:i);var n=null,s=t.defaultView.getComputedStyle(e,"");return s&&(n=s[i]),e.style[i]||n}:a.currentStyle?function(t,e){if("opacity"==(e=S(e))){var i=100;try{i=t.filters["DXImageTransform.Microsoft.Alpha"].opacity}catch(e){try{i=t.filters("alpha").opacity}catch(t){}}return i/100}var n=t.currentStyle?t.currentStyle[e]:null;return t.style[e]||n}:function(t,e){return t.style[S(e)]},y=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||e.oRequestAnimationFrame||function(t){e.setTimeout((function(){t(+new Date)}),17)},b=[];function w(t){var e,i=b.length;for(n&&t>1e12&&(t=s()),r&&(t=s()),e=i;e--;)b[e](t);b.length&&y(w)}
4function x(t){var e,i=function(t,e,i){if(Array.prototype.indexOf)return t.indexOf(e);for(i=0;i<t.length;++i)if(t[i]===e)return i}(b,t);i>=0&&(e=b.slice(i+1),b.length=i,b=b.concat(e))}function k(t,e){var i,n={};return(i=t.match(c))&&(n.rotate=N(i[1],e?e.rotate:null)),(i=t.match(u))&&(n.scale=N(i[1],e?e.scale:null)),(i=t.match(p))&&(n.skewx=N(i[1],e?e.skewx:null),n.skewy=N(i[3],e?e.skewy:null)),(i=t.match(m))&&(n.translatex=N(i[1],e?e.translatex:null),n.translatey=N(i[3],e?e.translatey:null)),n}function T(t){var e="";return"rotate"in t&&(e+="rotate("+t.rotate+"deg) "),"scale"in t&&(e+="scale("+t.scale+") "),"translatex"in t&&(e+="translate("+t.translatex+"px,"+t.translatey+"px) "),"skewx"in t&&(e+="skew("+t.skewx+"deg,"+t.skewy+"deg)"),e}function E(t){var e,i,n,s=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);return(s?(e=s[1],i=s[2],n=s[3],"#"+(1<<24|e<<16|i<<8|n).toString(16).slice(1)):t).replace(/#(\w)(\w)(\w)$/,"#$1$1$2$2$3$3")}function S(t){return t.replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function M(t){return"function"==typeof t}function L(t){return Math.sin(t*Math.PI/2)}function A(t,e,i,n,a,r){n=M(n)?n:I.easings[n]||L;var l,h=t||o,d=this,c=r-a,u=s(),p=0,m=0;return l=function t(s){var o=s-u;if(o>h||p)return r=isFinite(r)?r:1,p?m&&e(r):e(r),x(t),i&&i.apply(d);isFinite(r)?e(c*n(o/h)+a):e(n(o/h))},1===b.push(l)&&y(w),{stop:function(t){p=1,m=t,t||(i=null)}}}function C(t,e){var i,n,s=t.length,a=[];for(i=0;i<s;++i)a[i]=[t[i][0],t[i][1]];for(n=1;n<s;++n)for(i=0;i<s-n;++i)a[i][0]=(1-e)*a[i][0]+e*a[parseInt(i+1,10)][0],a[i][1]=(1-e)*a[i][1]+e*a[parseInt(i+1,10)][1];return[a[0][0],a[0][1]]}function D(t,e,i,n,s,a,r){if("transform"==s){for(var l in r={},i[a][s])r[l]=l in n[a][s]?Math.round(((n[a][s][l]-i[a][s][l])*t+i[a][s][l])*o)/o:i[a][s][l];return r}return"string"==typeof i[a][s]?function(t,e,i){var n,s,a,r,o=[];for(n=0;n<6;n++)a=Math.min(15,parseInt(e.charAt(n),16)),r=Math.min(15,parseInt(i.charAt(n),16)),s=(s=Math.floor((r-a)*t+a))>15?15:s<0?0:s,o[n]=s.toString(16);return"#"+o.join("")}(t,i[a][s],n[a][s]):(r=Math.round(((n[a][s]-i[a][s])*t+i[a][s])*o)/o,s in f||(r+=e[a][s]||"px"),r)}function N(t,e,i,n,s){return(i=h.exec(t))?(s=parseFloat(i[2]))&&e+("+"==i[1]?1:-1)*s:parseFloat(t)}function I(t,e){var i,n,s,a=t?a=isFinite(t.length)?t:[t]:[],r=e.complete,o=e.duration,h=e.easing,c=e.bezier,u=[],p=[],m=[],f=[];for(c&&(n=e.left,s=e.top,delete e.right,delete e.bottom,delete e.left,delete e.top),i=a.length;i--;){if(u[i]={},p[i]={},m[i]={},c){var y=v(a[i],"left"),b=v(a[i],"top"),w=[N(M(n)?n(a[i]):n||0,parseFloat(y)),N(M(s)?s(a[i]):s||0,parseFloat(b))];f[i]=M(c)?c(a[i],w):c,f[i].push(w),f[i].unshift([parseInt(y,10),parseInt(b,10)])}for(var x in e){switch(x){case"complete":case"duration":case"easing":case"bezier":continue}var L,I=v(a[i],x),O=M(e[x])?e[x](a[i]):e[x];"string"!=typeof O||!l.test(O)||l.test(I)?(u[i][x]="transform"==x?k(I):"string"==typeof O&&l.test(O)?E(I).slice(1):parseFloat(I),p[i][x]="transform"==x?k(O,u[i][x]):"string"==typeof O&&"#"==O.charAt(0)?E(O).slice(1):N(O,parseFloat(I)),"string"==typeof O&&(L=O.match(d))&&(m[i][x]=L[1])):delete e[x]}}return A.apply(a,[o,function(t,n,s){for(i=a.length;i--;)for(var r in c&&(s=C(f[i],t),a[i].style.left=s[0]+"px",a[i].style.top=s[1]+"px"),e)n=D(t,m,u,p,r,i),"transform"==r?a[i].style[g]=T(n):"opacity"!=r||_?a[i].style[S(r)]=n:a[i].style.filter="alpha(opacity="+100*n+")"},r,h])}return y((function(t){r=t>1e12!=s()>1e12})),I.tween=A,I.getStyle=v,I.bezier=C,I.transform=g,I.parseTransform=k,I.formatTransform=T,I.easings={},I}();class dt{show(t){t||(this._el.container.style.display="block")}hide(t){this._el.container.style.display="none"}addTo(t){t.appendChild(this._el.container),this.onAdd()}removeFrom(t){t.removeChild(this._el.container),this.onRemove()}animatePosition(t,e){var i={duration:this.options.duration,easing:this.options.ease};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]+"px");this.animator&&this.animator.stop(),this.animator=lt(e,i)}onLoaded(){this.fire("loaded",this.data)}onAdd(){this.fire("added",this.data)}onRemove(){this.fire("removed",this.data)}setPosition(t,e){for(var i in t)t.hasOwnProperty(i)&&(e?e.style[i]=t[i]+"px":this._el.container.style[i]=t[i]+"px")}getPosition(){return x(this._el.container)}}class ct{constructor(t,e,i){this._el={drag:t,move:t}
4,this.mousedrag={down:"mousedown",up:"mouseup",leave:"mouseleave",move:"mousemove"},this.touchdrag={down:"touchstart",up:"touchend",leave:"mouseleave",move:"touchmove"},i&&(this._el.move=i),this.options={enable:{x:!0,y:!0},constraint:{top:!1,bottom:!1,left:!1,right:!1},momentum_multiplier:2e3,duration:1e3,ease:at},this.animator=null,this.dragevent=this.mousedrag,y&&(this.dragevent=this.touchdrag),this.data={sliding:!1,direction:"none",pagex:{start:0,end:0},pagey:{start:0,end:0},pos:{start:{x:0,y:0},end:{x:0,y:0}},new_pos:{x:0,y:0},new_pos_parent:{x:0,y:0},time:{start:0,end:0},touch:!1},C(this.options,e)}enable(t){this.data.pos.start=0,this._el.move.style.left=this.data.pos.start.x+"px",this._el.move.style.top=this.data.pos.start.y+"px",this._el.move.style.position="absolute"}disable(){pt.removeListener(this._el.drag,this.dragevent.down,this._onDragStart,this),pt.removeListener(this._el.drag,this.dragevent.up,this._onDragEnd,this)}stopMomentum(){this.animator&&this.animator.stop()}updateConstraint(t){this.options.constraint=t}_onDragStart(t){y?t.originalEvent?(this.data.pagex.start=t.originalEvent.touches[0].screenX,this.data.pagey.start=t.originalEvent.touches[0].screenY):(this.data.pagex.start=t.targetTouches[0].screenX,this.data.pagey.start=t.targetTouches[0].screenY):(this.data.pagex.start=t.pageX,this.data.pagey.start=t.pageY),this.options.enable.x&&(this._el.move.style.left=this.data.pagex.start-this._el.move.offsetWidth/2+"px"),this.options.enable.y&&(this._el.move.style.top=this.data.pagey.start-this._el.move.offsetHeight/2+"px"),this.data.pos.start=x(this._el.drag),this.data.time.start=(new Date).getTime(),this.fire("dragstart",this.data),pt.addListener(this._el.drag,this.dragevent.move,this._onDragMove,this),pt.addListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this)}_onDragEnd(t){this.data.sliding=!1,pt.removeListener(this._el.drag,this.dragevent.move,this._onDragMove,this),pt.removeListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this),this.fire("dragend",this.data),this._momentum()}_onDragMove(t){t.preventDefault(),this.data.sliding=!0,y?t.originalEvent?(this.data.pagex.end=t.originalEvent.touches[0].screenX,this.data.pagey.end=t.originalEvent.touches[0].screenY):(this.data.pagex.end=t.targetTouches[0].screenX,this.data.pagey.end=t.targetTouches[0].screenY):(this.data.pagex.end=t.pageX,this.data.pagey.end=t.pageY),this.data.pos.end=x(this._el.drag),this.data.new_pos.x=-(this.data.pagex.start-this.data.pagex.end-this.data.pos.start.x),this.data.new_pos.y=-(this.data.pagey.start-this.data.pagey.end-this.data.pos.start.y),this.options.enable.x&&(this._el.move.style.left=this.data.new_pos.x+"px"),this.options.enable.y&&(this._el.move.style.top=this.data.new_pos.y+"px"),this.fire("dragmove",this.data)}_momentum(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i=!1;t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.pos.end.x+t.x),this.data.new_pos.y=Math.min(this.data.pos.end.y+t.y),this.options.enable.x?this.data.new_pos.x<0&&(this.data.new_pos.x=0):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<3e3&&(i=!0),Math.abs(e.x)>1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right")),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down")),this._animateMomentum(),i&&this.fire("swipe_"+this.data.direction,this.data)}_animateMomentum(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:st};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y<this.options.constraint.top&&(t.y=this.options.constraint.top)),e.top=Math.floor(t.y)+"px"),this.options.enable.x&&((this.options.constraint.left||this.options.constraint.right)&&(t.x>this.options.constraint.left?t.x=this.options.constraint.left:t.x<this.options.constraint.right&&(t.x=this.options.constraint.right)),e.left=Math.floor(t.x)+"px"),this.animator=lt(this._el.move,e),this.fire("momentum",this.data)}}q(ot);
4var ut,pt={addListener:function(t,e,i,n){var s=j(i),a="_tl_"+e+s;if(!t[a]){var r=function(e){return i.call(n||t,e||pt._getEvent())};if(y&&"dblclick"===e&&this.addDoubleTapListener)this.addDoubleTapListener(t,r,s);else if("addEventListener"in t)if("mousewheel"===e)t.addEventListener("DOMMouseScroll",r,!1),t.addEventListener(e,r,!1);else if("mouseenter"===e||"mouseleave"===e){var o=r,l="mouseenter"===e?"mouseover":"mouseout";r=function(e){if(pt._checkMouse(t,e))return o(e)},t.addEventListener(l,r,!1)}else t.addEventListener(e,r,!1);else"attachEvent"in t&&t.attachEvent("on"+e,r);t[a]=r}},removeListener:function(t,e,i){var n=j(i),s="_tl_"+e+n,a=t[s];a&&(y&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,n):"removeEventListener"in t?"mousewheel"===e?(t.removeEventListener("DOMMouseScroll",a,!1),t.removeEventListener(e,a,!1)):"mouseenter"===e||"mouseleave"===e?t.removeEventListener("mouseenter"===e?"mouseover":"mouseout",a,!1):t.removeEventListener(e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[s]=null)},_checkMouse:function(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t},_getEvent:function(){var t=window.event;if(!t)for(var e=arguments.callee.caller;e&&(!(t=e.arguments[0])||window.Event!==t.constructor);)e=e.caller;return t},stopPropagation:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},disableClickPropagation:function(t){pt.addListener(t,ct.START,pt.stopPropagation),pt.addListener(t,"click",pt.stopPropagation),pt.addListener(t,"dblclick",pt.stopPropagation)},preventDefault:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},stop:function(t){pt.preventDefault(t),pt.stopPropagation(t)},getWheelDelta:function(t){var e=0;return t.wheelDelta&&(e=t.wheelDelta/120),t.detail&&(e=-t.detail/3),e}},mt=function(){var t,e,i,n,s,a,r=[],o=r.slice,l=r.filter,h=window.document,d={},c={},u={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},p=/^\s*<(\w+|!)[^>]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,f=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,g=/^(?:body|html)$/i,_=/([A-Z])/g,v=["val","css","html","text","data","width","height","offset"],y=h.createElement("table"),b=h.createElement("tr"),w={tr:h.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:b,th:b,"*":h.createElement("div")},x=/complete|loaded|interactive/,k=/^[\w-]*$/,T={},E=T.toString,S={},M=h.createElement("div"),L={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},A=Array.isArray||function(t){return t instanceof Array};function C(t){return null==t?String(t):T[E.call(t)]||"object"}function D(t){return"function"==C(t)}function N(t){return null!=t&&t==t.window}function I(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function O(t){return"object"==C(t)}function j(t){return O(t)&&!N(t)&&Object.getPrototypeOf(t)==Object.prototype}function P(t){return"number"==typeof t.length}function R(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function z(t){return t in c?c[t]:c[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function q(t,e){return"number"!=typeof e||u[R(t)]?e:e+"px"}function H(t){return"children"in t?o.call(t.children):i.map(t.childNodes,(function(t){if(1==t.nodeType)return t}))}function F(i,n,s){for(e in n)s&&(j(n[e])||A(n[e]))?(j(n[e])&&!j(i[e])&&(i[e]={}),A(n[e])&&!A(i[e])&&(i[e]=[]),F(i[e],n[e],s)):n[e]!==t&&(i[e]=n[e])}function B(t,e){return null==e?i(t):i(t).filter(e)}function W(t,e,i,n){return D(e)?e.call(t,i,n):e}function $(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)}function Y(e,i){var n=e.className,s=n&&n.baseVal!==t;if(i===t)return s?n.baseVal:n;s?n.baseVal=i:e.className=i}function U(t){var e;try{return t?"true"==t||"false"!=t&&("null"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\[\{]/.test(t)?i.parseJSON(t):t:e):t}catch(e){return t}}function X(t,e){for(var i in e(t),t.childNodes)X(t.childNodes[i],e)}return S.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var i=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(i)return i.call(t,e);var n,s=t.parentNode,a=!s;return a&&(s=M).appendChild(t),n=~S.qsa(s,e).indexOf(t),a&&M.removeChild(t),n},s=function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},a=function(t){return l.call(t,(function(e,i){return t.indexOf(e)==i}))},S.fragment=function(e,n,s){var a,r,l;return m.test(e)&&(a=i(h.createElement(RegExp.$1))),a||(e.replace&&(e=e.replace(f,"<$1></$2>")),n===t&&(n=p.test(e)&&RegExp.$1),n in w||(n="*"),(l=w[n]).innerHTML=""+e,a=i.each(o.call(l.childNodes),(function(){l.removeChild(this)}))),j(s)&&(r=i(a),i.each(s,(function(t,e){v.indexOf(t)>-1?r[t](e):r.attr(t,e)}))),a},S.Z=function(t,e){return(t=t||[]).__proto__=i.fn,t.selector=e||"",t},S.isZ=function(t){return t instanceof S.Z},S.init=function(e,n){var s,a;if(!e)return S.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&p.test(e))s=S.fragment(e,RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);s=S.qsa(h,e)}else{if(D(e))return i(h).ready(e);if(S.isZ(e))return e;if(A(e))a=e,s=l.call(a,(function(t){return null!=t}));else if(O(e))s=[e],e=null;else if(p.test(e))s=S.fragment(e.trim(),RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);s=S.qsa(h,e)}}return S.Z(s,e)},(i=function(t,e){return S.init(t,e)}
vendor: 4,430 bytes, line 4
4).extend=function(t){var e,i=o.call(arguments,1);return"boolean"==typeof t&&(e=t,t=i.shift()),i.forEach((function(i){F(t,i,e)})),t},S.qsa=function(t,e){var i,n="#"==e[0],s=!n&&"."==e[0],a=n||s?e.slice(1):e,r=k.test(a);return I(t)&&r&&n?(i=t.getElementById(a))?[i]:[]:1!==t.nodeType&&9!==t.nodeType?[]:o.call(r&&!n?s?t.getElementsByClassName(a):t.getElementsByTagName(e):t.querySelectorAll(e))},i.contains=function(t,e){return t!==e&&t.contains(e)},i.type=C,i.isFunction=D,i.isWindow=N,i.isArray=A,i.isPlainObject=j,i.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},i.inArray=function(t,e,i){return r.indexOf.call(e,t,i)},i.camelCase=s,i.trim=function(t){return null==t?"":String.prototype.trim.call(t)},i.uuid=0,i.support={},i.expr={},i.map=function(t,e){var n,s,a,r,o=[];if(P(t))for(s=0;s<t.length;s++)null!=(n=e(t[s],s))&&o.push(n);else for(a in t)null!=(n=e(t[a],a))&&o.push(n);return(r=o).length>0?i.fn.concat.apply([],r):r},i.each=function(t,e){var i,n;if(P(t)){for(i=0;i<t.length;i++)if(!1===e.call(t[i],i,t[i]))return t}else for(n in t)if(!1===e.call(t[n],n,t[n]))return t;return t},i.grep=function(t,e){return l.call(t,e)},window.JSON&&(i.parseJSON=JSON.parse),i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(t,e){T["[object "+e+"]"]=e.toLowerCase()})),i.fn={forEach:r.forEach,reduce:r.reduce,push:r.push,sort:r.sort,indexOf:r.indexOf,concat:r.concat,map:function(t){return i(i.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return i(o.apply(this,arguments))},ready:function(t){return x.test(h.readyState)&&h.body?t(i):h.addEventListener("DOMContentLoaded",(function(){t(i)}),!1),this},get:function(e){return e===t?o.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(t){return r.every.call(this,(function(e,i){return!1!==t.call(e,i,e)})),this},filter:function(t){return D(t)?this.not(this.not(t)):i(l.call(this,(function(e){return S.matches(e,t)})))},add:function(t,e){return i(a(this.concat(i(t,e))))},is:function(t){return this.length>0&&S.matches(this[0],t)},not:function(e){var n=[];if(D(e)&&e.call!==t)this.each((function(t){e.call(this,t)||n.push(this)}));else{var s="string"==typeof e?this.filter(e):P(e)&&D(e.item)?o.call(e):i(e);this.forEach((function(t){s.indexOf(t)<0&&n.push(t)}))}return i(n)},has:function(t){return this.filter((function(){return O(t)?i.contains(this,t):i(this).find(t).size()}))},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!O(t)?t:i(t)},last:function(){var t=this[this.length-1];return t&&!O(t)?t:i(t)},find:function(t){var e=this;return"object"==typeof t?i(t).filter((function(){var t=this;return r.some.call(e,(function(e){return i.contains(e,t)}))})):1==this.length?i(S.qsa(this[0],t)):this.map((function(){return S.qsa(this,t)}))},closest:function(t,e){var n=this[0],s=!1;for("object"==typeof t&&(s=i(t));n&&!(s?s.indexOf(n)>=0:S.matches(n,t));)n=n!==e&&!I(n)&&n.parentNode;return i(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=i.map(n,(function(t){if((t=t.parentNode)&&!I(t)&&e.indexOf(t)<0)return e.push(t),t}));return B(e,t)},parent:function(t){return B(a(this.pluck("parentNode")),t)},children:function(t){return B(this.map((function(){return H(this)})),t)},contents:function(){return this.map((function(){return o.call(this.childNodes)}))},siblings:function(t){return B(this.map((function(t,e){return l.call(H(e.parentNode),(function(t){return t!==e}))})),t)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(t){return i.map(this,(function(e){return e[t]}))},show:function(){return this.each((function(){var t,e,i;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(t=this.nodeName,d[t]||(e=h.createElement(t),h.body.appendChild(e),i=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==i&&(i="block"),d[t]=i),d[t]))}))},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=D(t);if(this[0]&&!e)var n=i(t).get(0),s=n.parentNode||this.length>1;return this.each((function(a){i(this).wrapAll(e?t.call(this,a):s?n.cloneNode(!0):n)}))},wrapAll:function(t){if(this[0]){var e;
4for(i(this[0]).before(t=i(t));(e=t.children()).length;)t=e.first();i(t).append(this)}return this},wrapInner:function(t){var e=D(t);return this.each((function(n){var s=i(this),a=s.contents(),r=e?t.call(this,n):t;a.length?a.wrapAll(r):s.append(r)}))},unwrap:function(){return this.parent().each((function(){i(this).replaceWith(i(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(e){return this.each((function(){var n=i(this);(e===t?"none"==n.css("display"):e)?n.show():n.hide()}))},prev:function(t){return i(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return i(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each((function(e){var n=this.innerHTML;i(this).empty().append(W(this,t,e,n))}))},text:function(e){return 0===arguments.length?this.length>0?this[0].textContent:null:this.each((function(){this.textContent=e===t?"":""+e}))},attr:function(i,n){var s;return"string"==typeof i&&n===t?0==this.length||1!==this[0].nodeType?t:"value"==i&&"INPUT"==this[0].nodeName?this.val():!(s=this[0].getAttribute(i))&&i in this[0]?this[0][i]:s:this.each((function(t){if(1===this.nodeType)if(O(i))for(e in i)$(this,e,i[e]);else $(this,i,W(this,n,t,this.getAttribute(i)))}))},removeAttr:function(t){return this.each((function(){1===this.nodeType&&$(this,t)}))},prop:function(e,i){return e=L[e]||e,i===t?this[0]&&this[0][e]:this.each((function(t){this[e]=W(this,i,t,this[e])}))},data:function(e,i){var n=this.attr("data-"+e.replace(_,"-$1").toLowerCase(),i);return null!==n?U(n):t},val:function(t){return 0===arguments.length?this[0]&&(this[0].multiple?i(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value):this.each((function(e){this.value=W(this,t,e,this.value)}))},offset:function(t){if(t)return this.each((function(e){var n=i(this),s=W(this,t,e,n.offset()),a=n.offsetParent().offset(),r={top:s.top-a.top,left:s.left-a.left};"static"==n.css("position")&&(r.position="relative"),n.css(r)}));if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(t,n){if(arguments.length<2){var a=this[0],r=getComputedStyle(a,"");if(!a)return;if("string"==typeof t)return a.style[s(t)]||r.getPropertyValue(t);if(A(t)){var o={};return i.each(A(t)?t:[t],(function(t,e){o[e]=a.style[s(e)]||r.getPropertyValue(e)})),o}}var l="";if("string"==C(t))n||0===n?l=R(t)+":"+q(t,n):this.each((function(){this.style.removeProperty(R(t))}));else for(e in t)t[e]||0===t[e]?l+=R(e)+":"+q(e,t[e])+";":this.each((function(){this.style.removeProperty(R(e))}));return this.each((function(){this.style.cssText+=";"+l}))},index:function(t){return t?this.indexOf(i(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&r.some.call(this,(function(t){return this.test(Y(t))}),z(t))},addClass:function(t){return t?this.each((function(e){n=[];var s=Y(this);W(this,t,e,s).split(/\s+/g).forEach((function(t){i(this).hasClass(t)||n.push(t)}),this),n.length&&Y(this,s+(s?" ":"")+n.join(" "))})):this},removeClass:function(e){return this.each((function(i){if(e===t)return Y(this,"");n=Y(this),W(this,e,i,n).split(/\s+/g).forEach((function(t){n=n.replace(z(t)," ")})),Y(this,n.trim())}))},toggleClass:function(e,n){return e?this.each((function(s){var a=i(this);W(this,e,s,Y(this)).split(/\s+/g).forEach((function(e){(n===t?!a.hasClass(e):n)?a.addClass(e):a.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var i="scrollTop"in this[0];return e===t?i?this[0].scrollTop:this[0].pageYOffset:this.each(i?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var i="scrollLeft"in this[0];return e===t?i?this[0].scrollLeft:this[0].pageXOffset:this.each(i?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),s=g.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(i(t).css("margin-top"))||0,n.left-=parseFloat(i(t).css("margin-left"))||0,s.top+=parseFloat(i(e[0]).css("border-top-width"))||0,s.left+=parseFloat(i(e[0]).css("border-left-width"))||0,{top:n.top-s.top,left
4:n.left-s.left}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||h.body;t&&!g.test(t.nodeName)&&"static"==i(t).css("position");)t=t.offsetParent;return t}))}},i.fn.detach=i.fn.remove,["width","height"].forEach((function(e){var n=e.replace(/./,(function(t){return t[0].toUpperCase()}));i.fn[e]=function(s){var a,r=this[0];return s===t?N(r)?r["inner"+n]:I(r)?r.documentElement["scroll"+n]:(a=this.offset())&&a[e]:this.each((function(t){(r=i(this)).css(e,W(this,s,t,r[e]()))}))}})),["after","prepend","before","append"].forEach((function(t,e){var n=e%2;i.fn[t]=function(){var t,s,a=i.map(arguments,(function(e){return"object"==(t=C(e))||"array"==t||null==e?e:S.fragment(e)})),r=this.length>1;return a.length<1?this:this.each((function(t,o){s=n?o:o.parentNode,o=0==e?o.nextSibling:1==e?o.firstChild:2==e?o:null,a.forEach((function(t){if(r)t=t.cloneNode(!0);else if(!s)return i(t).remove();X(s.insertBefore(t,o),(function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)}))}))}))},i.fn[n?t+"To":"insert"+(e?"Before":"After")]=function(e){return i(e)[t](this),this}})),S.Z.prototype=i.fn,S.uniq=a,S.deserializeValue=U,i.zepto=S,i}();window.Zepto=mt,void 0===window.$&&(window.$=mt),function(t){t.zepto.qsa;var e,i=1,n=Array.prototype.slice,s=t.isFunction,a=function(t){return"string"==typeof t},r={},o={},l="onfocusin"in window,h={focus:"focusin",blur:"focusout"}
vendor: 4,612 bytes, line 4
4,d={mouseenter:"mouseover",mouseleave:"mouseout"};function c(t){return t._zid||(t._zid=i++)}function u(t,e,i,n){if((e=p(e)).ns)var s=(a=e.ns,new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)"));var a;return(r[c(t)]||[]).filter((function(t){return t&&(!e.e||t.e==e.e)&&(!e.ns||s.test(t.ns))&&(!i||c(t.fn)===c(i))&&(!n||t.sel==n)}))}function p(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function m(t,e){return t.del&&!l&&t.e in h||!!e}function f(t){return d[t]||l&&h[t]||t}function g(i,n,s,a,o,l,h){var u=c(i),g=r[u]||(r[u]=[]);n.split(/\s/).forEach((function(n){if("ready"==n)return t(document).ready(s);var r=p(n);r.fn=s,r.sel=o,r.e in d&&(s=function(e){var i=e.relatedTarget;if(!i||i!==this&&!t.contains(this,i))return r.fn.apply(this,arguments)}),r.del=l;var c=l||s;r.proxy=function(t){if(!(t=x(t)).isImmediatePropagationStopped()){t.data=a;var n=c.apply(i,t._args==e?[t]:[t].concat(t._args));return!1===n&&(t.preventDefault(),t.stopPropagation()),n}},r.i=g.length,g.push(r),"addEventListener"in i&&i.addEventListener(f(r.e),r.proxy,m(r,h))}))}function _(t,e,i,n,s){var a=c(t);(e||"").split(/\s/).forEach((function(e){u(t,e,i,n).forEach((function(e){delete r[a][e.i],"removeEventListener"in t&&t.removeEventListener(f(e.e),e.proxy,m(e,s))}))}))}o.click=o.mousedown=o.mouseup=o.mousemove="MouseEvents",t.event={add:g,remove:_},t.proxy=function(e,i){if(s(e)){var n=function(){return e.apply(i,arguments)};return n._zid=c(e),n}if(a(i))return t.proxy(e[i],e);throw new TypeError("expected function")},t.fn.bind=function(t,e,i){return this.on(t,e,i)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,i,n){return this.on(t,e,i,n,1)};var v=function(){return!0},y=function(){return!1},b=/^([A-Z]|returnValue$|layer[XY]$)/,w={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function x(i,n){return!n&&i.isDefaultPrevented||(n||(n=i),t.each(w,(function(t,e){var s=n[t];i[t]=function(){return this[e]=v,s&&s.apply(n,arguments)},i[e]=y})),(n.defaultPrevented!==e?n.defaultPrevented:"returnValue"in n?!1===n.returnValue:n.getPreventDefault&&n.getPreventDefault())&&(i.isDefaultPrevented=v)),i}function k(t){var i,n={originalEvent:t};for(i in t)b.test(i)||t[i]===e||(n[i]=t[i]);return x(n,t)}t.fn.delegate=function(t,e,i){return this.on(e,t,i)},t.fn.undelegate=function(t,e,i){return this.off(e,t,i)},t.fn.live=function(e,i){return t(document.body).delegate(this.selector,e,i),this},t.fn.die=function(e,i){return t(document.body).undelegate(this.selector,e,i),this},t.fn.on=function(i,r,o,l,h){var d,c,u=this;return i&&!a(i)?(t.each(i,(function(t,e){u.on(t,r,o,e,h)})),u):(a(r)||s(l)||!1===l||(l=o,o=r,r=e),(s(o)||!1===o)&&(l=o,o=e),!1===l&&(l=y),u.each((function(e,s){h&&(d=function(t){return _(s,t.type,l),l.apply(this,arguments)}),r&&(c=function(e){var i,a=t(e.target).closest(r,s).get(0);if(a&&a!==s)return i=t.extend(k(e),{currentTarget:a,liveFired:s}),(d||l).apply(a,[i].concat(n.call(arguments,1)))}),g(s,i,l,o,r,c||d)})))},t.fn.off=function(i,n,r){var o=this;return i&&!a(i)?(t.each(i,(function(t,e){o.off(t,n,e)})),o):(a(n)||s(r)||!1===r||(r=n,n=e),!1===r&&(r=y),o.each((function(){_(this,i,r,n)})))},t.fn.trigger=function(e,i){return(e=a(e)||t.isPlainObject(e)?t.Event(e):x(e))._args=i,this.each((function(){"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,i)}))},t.fn.triggerHandler=function(e,i){var n,s;return this.each((function(r,o){(n=k(a(e)?t.Event(e):e))._args=i,n.target=o,t.each(u(o,e.type||e),(function(t,e){if(s=e.proxy(n),n.isImmediatePropagationStopped())return!1}))})),s},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}})),["focus","blur"].forEach((function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each((function(){try{this[e]()}catch(t){}})),this}})),t.Event=function(t,e){a(t)||(t=(e=t).type);var i=document.createEvent(o[t]||"Events"),n=!0;if(e)for(var s in e)"bubbles"==s?n=!!e[s]:i[s]=e[s];return i.initEvent(t,n,!0),x(i)}}(mt),function(t){var e,i,n=0,s=window.document,a=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,r=/^(?:text|application)\/javascript/i,o=/^(?:text|application)\/xml/i,l="application/json",h="text/html",d=/^\s*$/;function c(e,i,n,a){if(e.global)return function(e,i,n){var s=t.Event(i);return t(e).trigger(s,n),!s.isDefaultPrevented()}(i||s,n,a)}function u(t,e){var i=e.context;
4if(!1===e.beforeSend.call(i,t,e)||!1===c(e,i,"ajaxBeforeSend",[t,e]))return!1;c(e,i,"ajaxSend",[t,e])}function p(t,e,i,n){var s=i.context,a="success";i.success.call(s,t,a,e),n&&n.resolveWith(s,[t,a,e]),c(i,s,"ajaxSuccess",[e,i,t]),f(a,e,i)}function m(t,e,i,n,s){var a=n.context;n.error.call(a,i,e,t),s&&s.rejectWith(a,[i,e,t]),c(n,a,"ajaxError",[i,n,t||e]),f(e,i,n)}function f(e,i,n){var s=n.context;n.complete.call(s,i,e),c(n,s,"ajaxComplete",[i,n]),function(e){e.global&&!--t.active&&c(e,null,"ajaxStop")}(n)}function g(){}function _(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function v(e,i,n,s){var a=!t.isFunction(i);return{url:e,data:a?i:void 0,success:a?t.isFunction(n)?n:void 0:i,dataType:a&&s||n}}t.active=0,t.ajaxJSONP=function(e,i){if(!("type"in e))return t.ajax(e);var a,r,o=e.jsonpCallback,l=(t.isFunction(o)?o():o)||"jsonp"+ ++n,h=s.createElement("script"),d=window[l],c=function(e){t(h).triggerHandler("error",e||"abort")},f={abort:c};return i&&i.promise(f),t(h).on("load error",(function(n,s){clearTimeout(r),t(h).off().remove(),"error"!=n.type&&a?p(a[0],f,e,i):m(null,s||"error",f,e,i),window[l]=d,a&&t.isFunction(d)&&d(a[0]),d=a=void 0})),!1===u(f,e)?(c("abort"),f):(window[l]=function(){a=arguments},h.src=e.url.replace(/\?(.+)=\?/,"?$1="+l),s.head.appendChild(h),e.timeout>0&&(r=setTimeout((function(){c("timeout")}),e.timeout)),f)},t.ajaxSettings={type:"GET",beforeSend:g,success:g,error:g,complete:g,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:l,xml:"application/xml, text/xml",html:h,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(n){var s=t.extend({},n||{}),a=t.Deferred&&t.Deferred();for(e in t.ajaxSettings)void 0===s[e]&&(s[e]=t.ajaxSettings[e]);!function(e){e.global&&0==t.active++&&c(e,null,"ajaxStart")}(s),s.crossDomain||(s.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(s.url)&&RegExp.$2!=window.location.host),s.url||(s.url=window.location.toString()),function(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=_(e.url,e.data),e.data=void 0)}(s),!1===s.cache&&(s.url=_(s.url,"_="+Date.now()));var f=s.dataType,v=/\?.+=\?/.test(s.url);if("jsonp"==f||v)return v||(s.url=_(s.url,s.jsonp?s.jsonp+"=?":!1===s.jsonp?"":"callback=?")),t.ajaxJSONP(s,a);var y,b=s.accepts[f],w={},x=function(t,e){w[t.toLowerCase()]=[t,e]},k=/^([\w-]+:)\/\//.test(s.url)?RegExp.$1:window.location.protocol,T=s.xhr(),E=T.setRequestHeader;if(a&&a.promise(T),s.crossDomain||x("X-Requested-With","XMLHttpRequest"),x("Accept",b||"*/*"),(b=s.mimeType||b)&&(b.indexOf(",")>-1&&(b=b.split(",",2)[0]),T.overrideMimeType&&T.overrideMimeType(b)),(s.contentType||!1!==s.contentType&&s.data&&"GET"!=s.type.toUpperCase())&&x("Content-Type",s.contentType||"application/x-www-form-urlencoded"),s.headers)for(i in s.headers)x(i,s.headers[i]);if(T.setRequestHeader=x,T.onreadystatechange=function(){if(4==T.readyState){T.onreadystatechange=g,clearTimeout(y);var e,i=!1;if(T.status>=200&&T.status<300||304==T.status||0==T.status&&"file:"==k){f=f||function(t){return t&&(t=t.split(";",2)[0]),t&&(t==h?"html":t==l?"json":r.test(t)?"script":o.test(t)&&"xml")||"text"}(s.mimeType||T.getResponseHeader("content-type")),e=T.responseText;try{"script"==f?(0,eval)(e):"xml"==f?e=T.responseXML:"json"==f&&(e=d.test(e)?null:t.parseJSON(e))}catch(t){i=t}i?m(i,"parsererror",T,s,a):p(e,T,s,a)}else m(T.statusText||null,T.status?"error":"abort",T,s,a)}},!1===u(T,s))return T.abort(),m(null,"abort",T,s,a),T;if(s.xhrFields)for(i in s.xhrFields)T[i]=s.xhrFields[i];var S=!("async"in s)||s.async;for(i in T.open(s.type,s.url,S,s.username,s.password),w)E.apply(T,w[i]);return s.timeout>0&&(y=setTimeout((function(){T.onreadystatechange=g,T.abort(),m(null,"timeout",T,s,a)}),s.timeout)),T.send(s.data?s.data:null),T},t.get=function(e,i,n,s){return t.ajax(v.apply(null,arguments))},t.post=function(e,i,n,s){var a=v.apply(null,arguments);return a.type="POST",t.ajax(a)},t.getJSON=function(e,i,n){var s=v.apply(null,arguments);return s.dataType="json",t.ajax(s)},t.fetchJSON=function(t){var e=new XMLHttpRequest;return new Promise((function(i,n){e.onreadystatechange=function(){try{if(4!==e.readyState)return;if(e.status>=200&&e.status<300){var s=JSON.parse(e.responseText);i(s)}else n({status:e.status,statusText:e.statusText})}catch(e){n({status:400,statusText:`Error fetching JSON from ${t}: ${e}`})}}
4,e.open("GET",t,!0),e.send()}))},t.fn.load=function(e,i,n){if(!this.length)return this;var s,r=this,o=e.split(/\s/),l=v(e,i,n),h=l.success;return o.length>1&&(l.url=o[0],s=o[1]),l.success=function(e){r.html(s?t("<div>").html(e.replace(a,"")).find(s):e),h&&h.apply(r,arguments)},t.ajax(l),this};var y=encodeURIComponent;function b(e,i,n,s){var a,r=t.isArray(i),o=t.isPlainObject(i);t.each(i,(function(i,l){a=t.type(l),s&&(i=n?s:s+"["+(o||"object"==a||"array"==a?i:"")+"]"),!s&&r?e.add(l.name,l.value):"array"==a||!n&&"object"==a?b(e,l,n,i):e.add(i,l)}))}t.param=function(t,e){var i=[];return i.add=function(t,e){this.push(y(t)+"="+y(e))},b(i,t,e),i.join("&").replace(/%20/g,"+")}}(mt),(ut=mt).fn.serializeArray=function(){var t,e=[];return ut([].slice.call(this.get(0).elements)).each((function(){var i=(t=ut(this)).attr("type");"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&("radio"!=i&&"checkbox"!=i||this.checked)&&e.push({name:t.attr("name"),value:t.val()})})),e},ut.fn.serialize=function(){var t=[];return this.serializeArray().forEach((function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))})),t.join("&")},ut.fn.submit=function(t){if(t)this.bind("submit",t);else if(this.length){var e=ut.Event("submit");this.eq(0).trigger(e),e.isDefaultPrevented()||this.get(0).submit()}return this},function(t){"__proto__"in{}||t.extend(t.zepto,{Z:function(e,i){return e=e||[],t.extend(e,t.fn),e.selector=i||"",e.__Z=!0,e},isZ:function(e){return"array"===t.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(t){var e=getComputedStyle;window.getComputedStyle=function(t,i){try{return e(t,i)}catch(t){return null}}}}(mt);const ft=mt.getJSON,gt=mt.ajax,_t=mt.fetchJSON,vt=[["millisecond",1,function(t){}],["second",1e3,function(t){t.setMilliseconds(0)}],["minute",6e4,function(t){t.setSeconds(0)}],["hour",36e5,function(t){t.setMinutes(0)}],["day",864e5,function(t){t.setHours(0)}],["month",2592e6,function(t){t.setDate(1)}],["year",31536e6,function(t){t.setMonth(0)}],["decade",31536e7,function(t){var e=t.getFullYear();t.setFullYear(e-e%10)}],["century",31536e8,function(t){var e=t.getFullYear();t.setFullYear(e-e%100)}],["millennium",31536e9,function(t){var e=t.getFullYear();t.setFullYear(e-e%1e3)}]],yt=["millisecond","second","minute","hour","day","month","year"],bt=/^([\+-]?\d+?)(-\d{2}?)?(-\d{2}?)?$/,wt=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;const xt={base:{millisecond:"time_short",second:"time",minute:"time_no_seconds_small_date",hour:"time_no_seconds_small_date",day:"full",month:"month",year:"year",decade:"year",century:"year",millennium:"year",age:"fallback",epoch:"fallback",era:"fallback",eon:"fallback",eon2:"fallback"},short:{millisecond:"time_short",second:"time_short",minute:"time_no_seconds_short",hour:"time_no_minutes_short",day:"full_short",month:"month_short",year:"year",decade:"year",century:"year",millennium:"year",age:"fallback",epoch:"fallback",era:"fallback",eon:"fallback",eon2:"fallback"}},kt=rt.extend({initialize:function(t,e,i){"number"==typeof t?this.data={format:"yyyy mmmm",date_obj:new Date(t)}:Date==t.constructor?this.data={format:"yyyy mmmm",date_obj:t}:(this.data=JSON.parse(JSON.stringify(t)),this._createDateObj()),t.format&&!e&&(e=t.format),this._setFormat(e,i)},setDateFormat:function(t){this.data.format=t},getDisplayDate:function(t,e){if(this.data.display_date)return this.data.display_date;t||(t=Ot.fallback),t.constructor!=Ot&&(I("First argument to getDisplayDate must be type Language"),t=Ot.fallback);var i=e||this.data.format;return t.formatDate(this.data.date_obj,i)},getMillisecond:function(){return this.getTime()},getTime:function(){return this.data.date_obj.getTime()},isBefore:function(t){if(!this.data.date_obj.constructor==t.data.date_obj.constructor)throw new M("date_compare_err");return"isBefore"in this.data.date_obj?this.data.date_obj.isBefore(t.data.date_obj):this.data.date_obj<t.data.date_obj},isAfter:function(t){if(!this.data.date_obj.constructor==t.data.date_obj.constructor)throw new M("date_compare_err");return"isAfter"in this.data.date_obj?this.data.date_obj.isAfter(t.data.date_obj):this.data.date_obj>t.data.date_obj},floor:function(t){for(var e=new Date(this.data.date_obj.getTime()),i=0;i<vt.length;i++)if(vt[i][2](e),vt[i][0]==t)return new kt(e);throw new M("invalid_scale_err",t)},_getDateData:function(){var t={year:0,month:1,day:1,hour:0,minute:0,second:0,millisecond:0};for(var e in C(t,this.data),yt){if(!z(t[yt[e]]).match(/^-?\d*$/))throw new M("invalid_date_err",yt[e]+" = '"+t[yt[e]]+"'");var i=parseInt(t[yt[e]]);isNaN(i)&&(i=4==e||5==e?1:0),t[yt[e]]=i}return t.month>0&&t.month<=12&&(t.month=t.month-1),t},_createDateObj:function(){var t=this._getDateData();this.data.date_obj=new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond),this.data.date_obj.getFullYear()!=t.year&&this.data.date_obj.setFullYear(t.year)},findBestFormat:function(t){for(var e=yt,i=0;i<e.length;i++)if(this.data[e[i]])return t?t in xt||(t="short"):t="base",xt[t][e[i]];return""},_setFormat:function(t,e){t?this.data.format=t:this.data.format||(this.data.format=this.findBestFormat()),e?this.data.format_short=e:this.data.format_short||(this.data.format_short=this.findBestFormat(!0))},getFullYear:function(){return this.data.date_obj.getFullYear()}});function Tt(t){if(t.match(bt)){var e=t.match(bt).slice(1),i={year:e[0].replace("+","")};return e[1]&&(i.month=e[1].replace("-","")),e[2]&&(i.day=e[2].replace("-","")),i}if(t.match(wt))return cls.parseISODate(t);if(t.match(/^\-?\d+$/))return{year:t};var n={};if(t.match(/\d+\/\d+\/\d+/)){var s=t.match(/\d+\/\d+\/\d+/)[0];t=z(t.replace(s,""));var a=s.split("/");n.month=a[0],n.day=a[1],n.year=a[2]}if(t.match(/\d+\/\d+/)){s=t.match(/\d+\/\d+/)[0];t=z(t.replace(s,""));a=s.split("/");n.month=a[0],n.year=a[1]}if(t.match(":")){var r=t.split(":");if(n.hour=r[0],n.minute=r[1],r[2]){let t=r[2].split(".");n.second=t[0],n.millisecond=t[1]}}return n}const Et=rt.extend({initialize:function(t){if(this.year=parseInt(t),isNaN(this.year))throw new M("invalid_year_err",t)},isBefore:function(t){return this.year<t.year},isAfter:function(t){return this.year>t.year},getTime:function(){return this.year}}),St=1e6,Mt=10*St,Lt=10*Mt,At=10*Lt;function Ct(t){return function(e){var i=e.getTime();return new Et(Math.floor(i/t)*t)}}const Dt=[["year",1,new Ct(1)],["decade",10,new Ct(10)],["century",100,new Ct(100)],["millennium",1e3,new Ct(1e3)],["age",St,new Ct(St)],["epoch",Mt,
4new Ct(Mt)],["era",Lt,new Ct(Lt)],["eon",At,new Ct(At)]],Nt=kt.extend({initialize:function(t,e,i){Et==t.constructor?this.data={date_obj:t}:(this.data=JSON.parse(JSON.stringify(t)),this._createDateObj()),t.format&&!e&&(e=t.format),this._setFormat(e,i)},_createDateObj:function(){var t=this._getDateData();this.data.date_obj=new Et(t.year)},floor:function(t){for(var e=0;e<Dt.length;e++)if(Dt[e][0]==t){var i=Dt[e][2](this.data.date_obj);return new Nt(i)}throw new M("invalid_scale_err",t)},getFullYear:function(){return this.data.date_obj.getTime()}}),It=new RegExp(/\$\{(.+?)\}/g);class Ot{constructor(t,e){for(let t in Rt.en)this[t]=Rt.en[t];if(t&&"string"==typeof t&&"en"!=t){var i=t;if(!(i in Rt)){console.log(`Expected language ${i} to be cached. Did you call the constructor directly?`);var n=jt(i,e);_t(n).then((t=>{Rt[i]=t})).catch((t=>{console.log(`Error loading language [${n}] ${t.statusText} [${t.status}]`)}))}C(this,Rt[i])}}mergeData(t){for(k in Rt.en)t[k]&&("object"==typeof this[k]?C(t[k],this[k]):this[k]=t[k])}formatBigYear(t,e){var i=t.year,n=this.bigdateformats[e]||this.bigdateformats.fallback;if(n){for(var s=0;s<n.length;s++){var a=n[s];if(Math.abs(i/a[0])>1)return Pt(Math.abs(i/a[0]),a[1])}return i.toString()}return I("Language file dateformats missing cosmological. Falling back."),Pt(i,e)}_(t,e){let i=this.messages[t]||Ot.fallback.messages[t]||t;if(i.match(It)){if(!e)throw new M("template_message_without_context");for(let t of i.matchAll(It)){if(!(t[1]in e))throw new M("template_message_without_context");i=i.replace(t[0],e[t[1]])}}return i}formatDate(t,e){return t.constructor==Date?this.formatJSDate(t,e):t.constructor==Et?this.formatBigYear(t,e):t.data&&t.data.date_obj?this.formatDate(t.data.date_obj,e):(I("Unfamiliar date presented for formatting"),t.toString())}formatJSDate(t,e){var i=this,n=function(t,e){var n=i.period_labels[t];if(n)t=e<12?n[0]:n[1];return"<span class='tl-timeaxis-timesuffix'>"+t+"</span>"};e||(e="full");var s=this.dateformats[e]||Ot.fallback.dateformats[e];s||(s=e);var a=t.getDate(),r=t.getDay(),o=t.getMonth(),l=t.getFullYear(),h=t.getHours(),d=t.getMinutes(),c=t.getSeconds(),u=t.getMilliseconds(),p=t.getTimezoneOffset(),m={d:a,dd:O(a),ddd:this.date.day_abbr[r],dddd:this.date.day[r],m:o+1,mm:O(o+1),mmm:this.date.month_abbr[o],mmmm:this.date.month[o],yy:String(l).slice(2),yyyy:l<0&&this.has_negative_year_modifier()?Math.abs(l):l,h:h%12||12,hh:O(h%12||12),H:h,HH:O(h),M:d,MM:O(d),s:c,ss:O(c),l:O(u,3),L:O(u>99?Math.round(u/10):u),t:n("t",h),tt:n("tt",h),T:n("T",h),TT:n("TT",h),Z:(String(t).match(/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g)||[""]).pop().replace(/[^-+\dA-Z]/g,""),o:(p>0?"-":"+")+O(100*Math.floor(Math.abs(p)/60)+Math.abs(p)%60,4),S:["th","st","nd","rd"][a%10>3?0:(a%100-a%10!=10)*a%10]},f=s.replace(Ot.DATE_FORMAT_TOKENS,(function(t){return t in m?m[t]:t.slice(1,t.length-1)}));return this._applyEra(f,l)}has_negative_year_modifier(){return Boolean(this.era_labels.negative_year.prefix||this.era_labels.negative_year.suffix)}_applyEra(t,e){var i=e<0?this.era_labels.negative_year:this.era_labels.positive_year,n="";return i.prefix&&(n+="<span>"+i.prefix+"</span> "),n+=t,i.suffix&&(n+=" <span>"+i.suffix+"</span>"),n}}function jt(t,e){if(/\.json$/.test(t))var i=t;else{var n="/locale/"+t+".json";/\/$/.test(e)&&(n=n.substr(1));i=e+n}return i}function Pt(t,e){if(e.match(/%(\.(\d+))?f/)){var i=e.match(/%(\.(\d+))?f/),n=i[0];return i[2]&&(t=t.toFixed(i[2])),e.replace(n,t)}return e}Ot.fallback={messages:{}},Ot.DATE_FORMAT_TOKENS=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g;var Rt={en:{name:"English (built-in)",lang:"en",api:{wikipedia:"en"},messages:{loading:"Loading",wikipedia:"From Wikipedia, the free encyclopedia",error:"Error",return_to_title:"Return to Title",go_to_end:"Go to the last slide",loading_content:"Loading Content",loading_timeline:"Loading Timeline... ",swipe_to_navigate:"Swipe to Navigate<br><span class='tl-button'>OK</span>",zoom_in:"Zoom in",zoom_out:"Zoom out",unknown_read_err:"An unexpected error occurred trying to read your spreadsheet data",invali
4d_url_err:"Unable to read Timeline data. Make sure your URL is for a Google Spreadsheet or a Timeline JSON file.",network_err:"Unable to read your Google Spreadsheet. Make sure you have published it to the web.",missing_start_date_err:"Missing start_date",invalid_start_time_without_date:"Invalid configuration: time cannot be used without date.",invalid_end_time_without_date:"Invalid configuration: end time cannot be used without end date.",date_compare_err:"Can't compare timeline date objects on different scales",invalid_scale_err:"Invalid scale",invalid_date_err:"Invalid date: month, day and year must be numbers.",invalid_separator_error:"Invalid time: misuse of : or . as separator.",invalid_hour_err:"Invalid time (hour)",invalid_minute_err:"Invalid time (minute)",invalid_second_err:"Invalid time (second)",invalid_fractional_err:"Invalid time (fractional seconds)",invalid_second_fractional_err:"Invalid time (seconds and fractional seconds)",invalid_year_err:"Invalid year",flickr_notfound_err:"Photo not found or private",flickr_invalidurl_err:"Invalid Flickr URL",imgur_invalidurl_err:"Invalid Imgur URL",twitter_load_err:"Unable to load Tweet",twitterembed_invalidurl_err:"Invalid Twitter Embed url",wikipedia_load_err:"Unable to load Wikipedia entry",spotify_invalid_url:"Invalid Spotify URL",invalid_rgb_err:"Invalid RGB argument",time_scale_scale_err:"Don't know how to get date from time for scale",axis_helper_no_options_err:"Axis helper must be configured with options",axis_helper_scale_err:"No AxisHelper available for scale",invalid_integer_option:"Invalid option valueâmust be a whole number.",instagram_bad_request:"Invalid or private Instagram URL",template_message_without_context:"Required variables not provided for template translation message",aria_label_timeline:"Timeline",aria_label_timeline_navigation:"Timeline navigation",aria_label_timeline_content:"Timeline content",aria_label_zoomin:"Show less than ${start} to ${end}",aria_label_zoomout:"Show more than ${start} to ${end}"},date:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],month_abbr:["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],day:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],day_abbr:["Sun.","Mon.","Tues.","Wed.","Thurs.","Fri.","Sat."]},era_labels:{positive_year:{prefix:"",suffix:""},negative_year:{prefix:"",suffix:"BCE"}},period_labels:{t:["a","p"],tt:["am","pm"],T:["A","P"],TT:["AM","PM"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time:"h:MM:ss TT' <small>'mmmm d',' yyyy'</small>'",time_short:"h:MM:ss TT",time_no_seconds_short:"h:MM TT",time_no_minutes_short:"h TT",time_no_seconds_small_date:"h:MM TT' <small>'mmmm d',' yyyy'</small>'",time_milliseconds:"l",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT' <small>mmm d',' yyyy'</small>'"},bigdateformats:{fallback:[[1e9,"%.2f billion years ago"],[1e6,"%.1f million years ago"],[1e3,"%.1f thousand years ago"],[1,"%f years ago"]],compact:[[1e9,"%.2f bya"],[1e6,"%.1f mya"],[1e3,"%.1f kya"],[1,"%f years ago"]],verbose:[[1e9,"%.2f billion years ago"],[1e6,"%.1f million years ago"],[1e3,"%.1f thousand years ago"],[1,"%f years ago"]]}}};let zt=new Ot;Ot.fallback=zt;class qt{setLanguage(t){this.language=t}getLanguage(){if(this.language){if("object"==typeof this.language)return this.language;I("I18NMixins.getLanguage: this.language should be object, but is "+typeof this.language)}return zt}_(t,e){return this.getLanguage()._(t,e)}}class Ht{constructor(t,e,i){i&&this.setLanguage(i),this._el={parent:{},container:{},message_container:{},loading_icon:{},message:{}},this.options={width:600,height:600,message_class:"tl-message",message_icon_class:"tl-loading-icon"},this.container=t,C(this.options,e),this._el.container=w("div",this.options.message_class),t&&(t.appendChild(this._el.container),this._el.parent=t),this.animator={},this._initLayout(),this._initEvents()}updateMessage(t){this._el.message.innerHTML=t||this._("loading"),!this._el.parent.atributes&&this.container.attributes&&(this.container.appendChild(this._el.container),this._el.parent=this.container)}updateDisplay(t,e){}_onMouseClick(){this.fire("clicked",this.options)}_onRemove(){this._el.parent={}}_initLayout(){this._el.message_container=w("div","tl-message-container",this._el.container),this._el.loading_icon=w("div",this.options.message_icon_class,this._el.message_container),this._el.message=w("div","tl-message-content",this._el.message_container),this.updateMessage()}_initEvents(){pt.addListener(this._el.container,"click",this._onMouseClick,this),pt.addListener(this,"removed",this._onRemove,this)}}function Ft(t,e){e=e||"start_date";t.sort((function(t,i){return t[e].isBefore(i[e])?-1:t[e].isAfter(i[e])?1:0}))}function Bt(t){var e={hour:null,minute:null,second:null,millisecond:null},i=null,n=t.match(/(\s*[AaPp]\.?[Mm]\.?\s*)$/);n&&(i=z(n[0]),t=z(t.substring(0,t.lastIndexOf(i))));var s=[],a=t.match(/^\s*(\d{1,2})(\d{2})\s*$/);if(a?s=a.slice(1):1==(s=t.split(":")).length&&(s=t.split(".")),s.length>4)throw new M("invalid_separator_error");let r=s[0];if(e.hour=parseInt(r),i&&"p"==i.toLowerCase()[0]&&12!=e.hour?e.hour+=12:i&&"a"==i.toLowerCase()[0]&&12==e.hour&&(e.hour=0),isNaN(e.hour)||e.hour<0||e.hour>23)throw new M("invalid_hour_err",r);if(s.length>1){let t=s[1];if(e.minute=parseInt(t),isNaN(e.minute))throw new M("invalid_minute_err",t)}if(s.length>2){var o=s[2].split(/[\.,]/);if((s=o.concat(s.slice(3))).length>2)throw new M("invalid_second_fractional_err");if(e.second=parseInt(s[0]),isNaN(e.second))throw new M("invalid_second_err",s[0]);if(2==s.length){var l=parseInt(s[1]);if(isNaN(l))throw new M("invalid_fractional_err",s[1]);e.millisecond=100*l}}return e}q(Ht,qt,ot,dt);const Wt=new RegExp("(^-?\\d+$|^$)");function $t(t){try{return Object.keys(t).forEach((e=>{let i=t[e];
4if(i&&i.match&&!i.match(Wt))throw`invalid value ${i} for ${e}`})),!0}catch(t){return!1}}const Yt={human:kt,cosmological:Nt};var Ut=i(7856),Xt=i.n(Ut);const Gt={text:["headline","text"],media:["caption","credit"]},Vt={start_date:["display_date"],end_date:["display_date"],slide:["display_date","group"],date:["display_date"]};function Zt(t,e,i){Object.keys(i).forEach((n=>{var s="slide"==n?t:t[n];s&&i[n].forEach((t=>{void 0!==s[t]&&(s[t]=e(s[t]))}))}))}function Jt(t){return Xt().sanitize(t,{ADD_TAGS:["iframe"],ADD_ATTR:["frameborder","target"]})}Xt().addHook("afterSanitizeAttributes",(function(t){if("A"==t.nodeName&&"href"in t){"target"in t.attributes||t.setAttribute("target","_blank");let e=t.attributes.rel;e?-1==e.value.indexOf("noopener")&&t.setAttribute("rel",`noopener ${e.value}`):t.setAttribute("rel","noopener")}}));class Kt{constructor(t){if(this.title="",this.scale="",this.events=[],this.eras=[],this.event_dict={},this.messages={errors:[],warnings:[]},"object"==typeof t&&t.events){if(this.scale=t.scale,this.events=[],this._ensureValidScale(t.events),t.title){var e=this._assignID(t.title);this._tidyFields(t.title),this.title=t.title,this.event_dict[e]=this.title}for(var i=0;i<t.events.length;i++)try{this.addEvent(t.events[i],!0)}catch(t){this.logError(t)}t.eras&&t.eras.forEach(((t,e)=>{try{this.addEra(t)}catch(t){this.logError("Era "+e+": "+t)}})),Ft(this.events),Ft(this.eras)}}logError(t){I(`logError: ${t}`),this.messages.errors.push(t)}getErrors(t){return t?this.messages.errors.join(t):this.messages.errors}validate(){void 0!==this.events&&void 0!==this.events.length&&0!=this.events.length||this.logError("Timeline configuration has no events.");for(var t=0;t<this.eras.length;t++){var e;if(void 0===this.eras[t].start_date||void 0===this.eras[t].end_date)e=this.eras[t].headline?this.eras[t].headline:"era "+(t+1),this.logError("All eras must have start and end dates. ["+e+"]")}}isValid(){return 0==this.messages.errors.length}addEvent(t,e){var i=this._assignID(t);return void 0===t.start_date?(I("Missing start date, skipping event"),console.log(t),null):(this._processDates(t),this._tidyFields(t),this.events.push(t),this.event_dict[i]=t,e||Ft(this.events),i)}addEra(t){var e=this._assignID(t);if(void 0===t.start_date)throw new M("missing_start_date_err",e);this._processDates(t),this._tidyFields(t),this.eras.push({start_date:t.start_date,end_date:t.end_date,headline:t.text.headline})}_assignID(t){var e=t.unique_id;return z(e)||(e=t.text?H(t.text.headline):null),t.unique_id=function(t,e){if(e||(e=F(6)),!(e in t))return e;var i=e.match(/^(.+)(-\d+)?$/)[1],n=[];for(let e in t)e.match(/^(.+?)(-\d+)?$/)[1]==i&&n.push(e);e=i+"-"+(n.length+1);for(var s=n.length;-1!=n.indexOf(e);s++)e=i+"-"+s;return e}(this.event_dict,e),t.unique_id}_makeUniqueIdentifiers(t,e){for(var i=[t],n=0;n<e.length;n++)z(e[n].unique_id)&&(e[n].unique_id=H(e[n].unique_id),-1==i.indexOf(e[n].unique_id)?i.push(e[n].unique_id):e[n].unique_id="");if(i.length!=e.length+1)for(n=0;n<e.length;n++)if(!e[n].unique_id){var s=e[n].text?H(e[n].text.headline):null;s||(s=F(6)),-1!=i.indexOf(s)&&(s=s+"-"+n),i.push(s),e[n].unique_id=s}}_ensureValidScale(t){if(!this.scale){this.scale="human";
4for(var e=0;e<t.length;e++){if("cosmological"==t[e].scale){this.scale="cosmological";break}if(t[e].start_date&&void 0!==t[e].start_date.year){var i=new Nt(t[e].start_date).data.date_obj.year;if(i<-271820||i>275759){this.scale="cosmological";break}}}I(`Determining scale dynamically: ${this.scale}`)}Yt[this.scale]||this.logError("Don't know how to process dates on scale "+this.scale)}_processDates(t){var e=Yt[this.scale];if(!(t.start_date instanceof e)){var i=t.start_date;if(t.start_date=new e(i),void 0!==t.end_date&&!(t.end_date instanceof e)){var n=t.end_date,s=!0;for(let t in i)s=s&&i[t]==n[t];s?(I("End date same as start date is redundant; dropping end date"),delete t.end_date):t.end_date=new e(n)}}}getEarliestDate(){var t=this.events[0].start_date;return this.eras&&this.eras.length>0&&this.eras[0].start_date.isBefore(t)?this.eras[0].start_date:t}getLatestDate(){for(var t=[],e=0;e<this.events.length;e++)this.events[e].end_date?t.push({date:this.events[e].end_date}):t.push({date:this.events[e].start_date});for(e=0;e<this.eras.length;e++)this.eras[e].end_date?t.push({date:this.eras[e].end_date}):t.push({date:this.eras[e].start_date});return Ft(t,"date"),t.slice(-1)[0].date}_tidyFields(t){function e(t,e,i){i||(i=""),t.hasOwnProperty(e)||(t[e]=i)}t.group&&(t.group=z(t.group)),t.text||(t.text={}),e(t.text,"text"),e(t.text,"headline"),Zt(t,Jt,Gt),Zt(t,tt,Vt)}}async function Qt(t){return new Promise(((e,i)=>{if(t.data){var n=te(ee(t.data,t),t);n.useMemoryStore=!0,e(n)}else t.url&&window.fetch(t.url,{mode:"cors"}).then((function(t){if(200==t.status)return t.text?t.text():t;"application/json"==t.headers.get("content-type")?t.text().then((t=>{i(JSON.parse(t))})):i({status_code:t.status,message:`Error fetching CSV: [${t.status} ${t.statusText}]`})})).then((function(i){if(i){var n=function(t,e){let i=te(ee(t,e)),n=[];return i.records.forEach((t=>{let e={};i.fields.forEach(((i,n)=>e[i]=t[n])),n.push(e)})),n}(i,t);n.useMemoryStore=!0,e(n)}})).catch((t=>{i({status_code:500,message:`Error fetching CSV: ${t}`})}))}))}function te(t,e){return!0!==(e=e||{}).noHeaderRow&&t.length>0?{fields:t[0].map(((t,e)=>t&&t.trim?t.trim():`untitled${e}`)),records:t.slice(1)}:{records:t}}function ee(t,e){(!e||e&&!e.lineterminator)&&(t=function(t,e){if(e&&!e.lineterminator)return t.replace(/(\r\n|\n|\r)/gm,"\n");return t}(t,e));var i=function(t){var e={delimiter:",",doublequote:!0,lineterminator:"\n",quotechar:'"',skipinitialspace:!0,skipinitialrows:0};for(var i in t)"trim"===i?e.skipinitialspace=t.trim:e[i.toLowerCase()]=t[i];return e}(e);t=function(t,e){return null==t?"":(e=e||"\n",t.charAt(t.length-e.length)!==e?t:t.substring(0,t.length-e.length))}(t,i.lineterminator);var n,s,a="",r=!1,o=!1,l="",h=[],d=[];for(s=function(t){return!0!==o&&(""===t?t=null:!0===i.skipinitialspace&&(t=t.trim())),t},n=0;n<t.length;n+=1)a=t.charAt(n),!1!==r||a!==i.delimiter&&a!==i.lineterminator?a!==i.quotechar?l+=a:r?t.charAt(n+1)===i.quotechar?(l+=i.quotechar,n+=1):r=!1:(r=!0,o=!0):(l=s(l),h.push(l),a===i.lineterminator&&(d.push(h),h=[]),l="",o=!1);return l=s(l),h.push(l),d.push(h),i.skipinitialrows&&(d=d.slice(i.skipinitialrows)),d}function ie(t){if(t)return t.replace(/[\s,]+/g,"")}async function ne(t,e){let i=[];t=function(t){if((t=t.trim()).match(/^[a-zA-Z0-9-_]+$/))return`https://docs.google.com/spreadsheets/d/${t}/pub?output=csv`;if(t.startsWith("https://docs.google.com/spreadsheets/")){if(t.match(/\/pub\?output=csv$/))return t;let e=new URL(t),i=new URLSearchParams(e.search);i.set("output","csv"),i.get("gid")&&i.set("single","true"),e.search=`?${i.toString()}`;let n=e.pathname.substr(0,e.pathname.lastIndexOf("/"));return e.pathname=`${n}/pub`,e.toString()}throw new M("invalid_url_err",t)}(t);await Qt({url:`${e}${t}`}).then((t=>{i=t})).catch((t=>{if("response_not_csv"==t.proxy_err_code)throw new M("Timeline could not read the data for your timeline. Make sure you have published it to the web.");throw new M(t.message)}));let n={events:[],errors:[],warnings:[],eras:[]};return i.forEach(((t,e)=>{try{if(!function(t){var e=[];if(Object.keys)e=Object.keys(t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);for(var n=0;n<e.length;n++){var s=e[n];if(null!=t[s]&&"string"!=typeof t[s])return!1;if(0!=z(t[s]).length)return!1}return!0}(t)){let e=function(t){let e={};Object.keys(t).forEach((i=>{e[i]=z(t[i])}));var i,n={media:{caption:e["Media Caption"]||"",credit:e["Media Credit"]||"",url:e.Media||"",thumbnail:e["Media Thumbnail"]||""},text:{headline:e.Headline||"",text:e.Text||""},display_date:e["Display Date"]||"",group:e.Group||e.Tag||"",background:(i=e.Backgroun
4d,"string"!=typeof i?"":i.match(/^(https?:)?\/\/?/)?{url:i}:{color:i}),type:e.Type||""};if(Object.keys(e).includes("Start Date")||Object.keys(e).includes("End Date"))e["Start Date"]&&(n.start_date=Tt(e["Start Date"])),e["End Date"]&&(n.end_date=Tt(e["End Date"]));else{if(e.Year&&(n.start_date={year:ie(e.Year),month:ie(e.Month)||"",day:ie(e.Day)||""}),e["End Year"]&&(n.end_date={year:ie(e["End Year"])||"",month:ie(e["End Month"])||"",day:ie(e["End Day"])||""}),e.Time){if(!n.start_date)throw new M("invalid_start_time_without_date");C(n.start_date,Bt(e.Time))}if(e["End Time"]){if(!n.end_date)throw new M("invalid_end_time_without_date");C(n.end_date,Bt(e["End Time"]))}if(n.start_date&&!$t(n.start_date))throw new M("invalid_date_err");if(n.end_date&&!$t(n.end_date))throw new M("invalid_date_err")}return n}(t);!function(t,e){var i="event";void 0!==t.type&&(i=t.type,delete t.type);"title"==i?e.title?(e.warnings.push("Multiple title slides detected."),e.events.push(t)):e.title=t:"era"==i?e.eras.push(t):e.events.push(t)}(e,n)}}catch(i){if(i.constructor==M)n.errors.push(i);else{i.message&&(i=i.message);let s=t.Headline||e;n.errors.push(i+`[${s}]`)}}})),n}async function se(t,e){let i=null,n={};if("function"==typeof e?i=e:"object"==typeof e&&(n=e,i=e.callback,"function"==typeof n.callback&&(i=n.callback)),!i)throw new M("Second argument to makeConfig must be either a function or an object which includes a 'callback' property with a 'function' type value");var s,a,r=function(t){let e={key:null,worksheet:0};var i=/\bkey=([-_A-Za-z0-9]+)&?/i,n=/docs.google.com\/spreadsheets(.*?)\/d\//;if(t.match(i))e.key=t.match(i)[1];else if(t.match(n)){var s=t.search(n)+t.match(n)[0].length,a=t.substr(s);e.key=a.split("/")[0],t.match(/\?gid=(\d+)/)&&(e.worksheet=t.match(/\?gid=(\d+)/)[1])}else t.match(/^\b[-_A-Za-z0-9]+$/)&&(e.key=t);return e.key?e:null}(t);if(r){try{a=await async function(t,e){if(!e.sheets_proxy)throw new M("Proxy option must be set to read data from Google");var i=await ne(t,e.sheets_proxy);if(i)return i}(t,n)}catch(t){return s=new Kt,"NetworkError"==t.name?s.logError(new M("network_err")):"TLError"==t.name?s.logError(t):s.logError(new M("unknown_read_err",t.name)),void i(s)}if(s=new Kt(a),a.errors)for(var o=0;o<a.errors.length;o++)s.logError(a.errors[o]);i(s)}else gt({url:t,dataType:"json",success:function(t){try{s=new Kt(t)}catch(t){(s=new Kt).logError(t)}i(s)},error:function(t,e,n){if(s=new Kt,"parsererror"==e)n=new M("invalid_url_err");else n=new M("unknown_read_err",e);s.logError(n),i(s)}})}class ae{constructor(t){if(!t)throw new M("axis_helper_no_options_err");this.scale=t.scale,this.minor=t.minor,this.major=t.major}getPixelsPerTick(t){return t*this.minor.factor}getMajorTicks(t){return this._getTicks(t,this.major)}getMinorTicks(t){return this._getTicks(t,this.minor)}_getTicks(t,e){for(var i=t._scaled_padding*e.factor,n=t._earliest-i,s=t._latest+i,a=[],r=n;r<s;r+=e.factor)a.push(t.getDateFromTime(r).floor(e.name));return{name:e.name,ticks:a}}}var re={},oe=function(t,e){re[t]=[];for(var i=0;i<e.length-1;i++){var n=e[i],s=e[i+1];re[t].push(new ae({scale:n[3],minor:{name:n[0],factor:n[1]},major:{name:s[0],factor:s[1]}}))}};oe("human",vt),oe("cosmological",Dt);const le={millisecond:"time_milliseconds",second:"time_short",minute:"time_no_seconds_short",hour:"time_no_minutes_short",day:"full_short",month:"month_short",year:"year",decade:"year",century:"year",millennium:"year",age:"compact",epoch:"compact",era:"compact",eon:"compact",eon2:"compact"};class he{constructor(t,e){var i=t.events;this._scale=t.scale,e=C({display_width:500,screen_multiplier:3,max_rows:null},e),this._display_width=e.display_width,this._screen_multiplier=e.screen_multiplier,this._pixel_width=this._screen_multiplier*this._display_width,this._group_labels=void 0,this._positions=[],this._pixels_per_milli=0,this._earliest=t.getEarliestDate().getTime(),this._latest=t.getLatestDate().getTime(),this._span_in_millis=this._latest-this._earliest,this._span_in_millis<=0&&(this._span_in_millis=this._computeDefaultSpan(t)),this._average=this._span_in_millis/i.length,this._pixels_per_milli=this.getPixelWidth()/this._span_in_millis,this._axis_helper=function(t,e){"number"!=typeof e&&(e=100);var i=t.getScale(),n=re[i];if(!n)throw new M("axis_helper_scale_err",i);for(var s=null,a=0;a<n.length;a++){var r=n[a],o=r.getPixelsPerTick(t._pixels_per_milli);if(o>e)return null==s||Math.abs(e-o)<Math.abs(e-o)?r:s;s=r}return n[n.length-1]}(this),this._scaled_padding=1/this.getPixelsPerTick()*(this._display_width/2),this._computePositionInfo(i,e.max_rows)}_computeDefaultSpan(t){if("human"==t.scale){for(var e={},i=0;i<t.events.length;i++){var n=t.events[i].start_date.findBestFormat();e[n]=e[n]?e[n]+1:1}for(i=vt.length-1;i>=0;i--)if(e.hasOwnProperty(vt[i][0])){var s=vt[vt.length-1];return vt[i+1]&&(s=vt[i+1]),s[1]}return 31536e6}return 2e5}getGroupLabels(){return this._group_labels||[]}getScale(){return this._scale}getNumberOfRows(){return this._number_of_rows}getPixelWidth(){return this._pixel_width}getPosition(t){return(t-this._earliest)*this._pixels_per_milli}getPositionInfo(t){return this._positions[t]}getPixelsPerTick(){return this._axis_helper.getPixelsPerTick(this._pixels_per_milli)}getTicks(){return{major:this._axis_helper.getMajorTicks(this),minor:this._axis_helper.getMinorTicks(this)}}getDateFromTime(t){if("human"==this._scale)return new kt(t);if("cosmological"==this._scale)return new Nt(new Et(t));throw new M("time_scale_scale_err",this._scale)}
4getMajorScale(){return this._axis_helper.major.name}getMinorScale(){return this._axis_helper.minor.name}_assessGroups(t){for(var e=[],i=!1,n=0;n<t.length;n++)t[n].group&&(e.indexOf(t[n].group)<0?e.push(t[n].group):i=!0);return e.length&&i&&e.push(""),e}_computeRowInfo(t,e){for(var i=[],n=0,s=0;s<t.length;s++){var a=t[s],r=[];delete a.row;for(var o=0;o<i.length;o++)if(r.push(i[o].end-a.start),r[o]<=0){a.row=o,i[o]=a;break}if(void 0===a.row)if(null===e)a.row=i.length,i.push(a);else if(e>0)a.row=i.length,i.push(a),e--;else{var l=Math.min.apply(null,r),h=r.indexOf(l);a.row=h,a.end>i[h].end&&(i[h]=a),n++}}return{n_rows:i.length,n_overlaps:n}}_computePositionInfo(t,e,i){i=i||100;for(var n=[],s=!1,a=0;a<t.length;a++){var r={start:this.getPosition(t[a].start_date.getTime())};if(this._positions.push(r),void 0!==t[a].end_date){var o=this.getPosition(t[a].end_date.getTime());r.width=o-r.start,r.width>i?r.end=r.start+r.width:r.end=r.start+i}else r.width=i,r.end=r.start+i;t[a].group?n.indexOf(t[a].group)<0&&n.push(t[a].group):s=!0}if(n.length){s&&n.push("");var l=[];for(a=0;a<n.length;a++)l[a]={label:n[a],idx:a,positions:[],n_rows:1,n_overlaps:0};for(a=0;a<this._positions.length;a++){(r=this._positions[a]).group=n.indexOf(t[a].group||""),r.row=0;for(var h=(u=l[r.group]).positions.length-1;h>=0;h--)u.positions[h].end>r.start&&u.n_overlaps++;u.positions.push(r)}for(var d=n.length;;){var c=Math.max(0,e-d);if(!c)break;if(l.sort((function(t,e){return t.n_overlaps>e.n_overlaps?-1:t.n_overlaps<e.n_overlaps?1:t.idx-e.idx})),!l[0].n_overlaps)break;for(d=0,a=0;a<l.length;a++){var u;if((u=l[a]).n_overlaps&&c){var p=this._computeRowInfo(u.positions,u.n_rows+1);u.n_rows=p.n_rows,u.n_overlaps=p.n_overlaps,c--}d+=u.n_rows}}this._number_of_rows=d,this._group_labels=[],l.sort((function(t,e){return t.idx-e.idx}));a=0;for(var m=0;a<l.length;a++){this._group_labels.push({label:l[a].label,rows:l[a].n_rows});for(h=0;h<l[a].positions.length;h++){(r=l[a].positions[h]).row+=m}m+=l[a].n_rows}}else{var f=this._computeRowInfo(this._positions,e);this._number_of_rows=f.n_rows}}getAxisTickDateFormat(t){return"cosmological"==this._scale?"compact":le[t]}}class de{constructor(t){this._el={parent:{},container:{},message:{}},this.options={width:600,height:600},this.data={label:"",rows:1},this._el.container=w("div","tl-timegroup"),C(this.data,t),this.animator={},this._initLayout(),this._initEvents()}updateDisplay(t,e){}setRowPosition(t,e){this.options.height=e*this.data.rows,this.setPosition({top:t}),this._el.container.style.height=this.options.height+"px"}setAlternateRowColor(t,e){var i="tl-timegroup";t&&(i+=" tl-timegroup-alternate"),e&&(i+=" tl-timegroup-hidden"),this._el.container.className=i}_onMouseClick(){this.fire("clicked",this.options)}_initLayout(){this._el.message=w("div","tl-timegroup-message",this._el.container),this._el.message.innerHTML=this.data.label}_initEvents(){pt.addListener(this._el.container,"click",this._onMouseClick,this)}_updateDisplay(t,e,i){}}q(de,ot,dt);class ce{constructor(t,e,i,n){this.start_date=t,this.end_date=e,this.headline=i,this._el={container:{},background:{},content_container:{},content:{},text:{}},this._text={},this._state={loaded:!1},this.options={duration:1e3,ease:nt,width:600,height:600,marker_width_min:100},this.active=!1,this.animator={},this.has_end_date=!1,C(this.options,n),this._initLayout(),this._initEvents()}show(){}hide(){}setActive(t){}addTo(t){t.appendChild(this._el.container)}removeFrom(t){t.removeChild(this._el.container)}updateDisplay(t,e){this._updateDisplay(t,e)}getLeft(){return this._el.container.style.left.slice(0,-2)}getTime(){return this.start_date.getTime()}getEndTime(){return!!this.end_date&&this.end_date.getTime()}setHeight(t){var e=1;this._el.content_container.style.height=t+"px",this._el.content.className="tl-timeera-content",r?((e=Math.floor(t/14))<1&&(e=1),this._text.className="tl-headline",this._text.style.webkitLineClamp=e):(e=t/12,this._text.className=e>1?"tl-headline tl-headline-fadeout":"tl-headline",this._text.style.height=12*e+"px")}setWidth(t){this.end_date&&(this._el.container.style.width=t+"px",t>this.options.marker_width_min?(this._el.content_container.style.width=t+"px",this._el.content_container.className="tl-timeera-content-container tl-timeera-content-container-long"):(this._el.content_container.style.width=this.options.marker_width_min+"px",this._el.content_container.className="tl-timeera-content-container"))}setClass(t){this._el.container.className=t}setRowPosition(t,e){this.setPosition({top:t}),e<56&&S(this._el.content_container,"tl-timeera-content-container-small")}setColor(t){this._el.container.className="tl-timeera tl-timeera-color"+t}_initLayout(){this._el.container=w("div","tl-timeera"),this.end_date&&(this.has_end_date=!0,this._el.container.className="tl-timeera tl-timeera-with-end"),this._el.content_container=w("div","tl-timeera-content-container",this._el.container),this._el.background=w("div","tl-timeera-background",this._el.content_container),this._el.content=w("div","tl-timeera-content",this._el.content_container),this._el.text=w("div","tl-timeera-text",this._el.content),this._text=w("h2","tl-headline",this._el.text),this.headline&&""!=this.headline&&(this._text.innerHTML=$(this.headline)),this.onLoaded()}_initEvents(){}_updateDisplay(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}q(ce,ot,dt);class ue{constructor(t,e,i){i&&this.setLanguage(i),this._el={container:{},content_container:{},major:{},minor:{}},this._text={},this._state={loaded:!1},this.data={},this.options={duration:1e3,ease:nt,width:600,height:600},this.active=!1,this.animator={},this.axis_helper={},this.minor_ticks=[],this.major_ticks=[],this._el.container="object"==typeof t?t:b(t),C(this.options,e),this._initLayout(),this._initEvents()}show(){}hide(){}addTo(t){t.appendChild(this._el.container)}removeFrom(t){t.removeChild(this._el.container)}updateDisplay(t,e){this._updateDisplay(t,e)}getLeft(){return this._el.container.style.left.slice(0,-2)}
4drawTicks(t,e){var i=t.getTicks();this._el.major.className="tl-timeaxis-major",this._el.minor.className="tl-timeaxis-minor",this._el.major.style.opacity=0,this._el.minor.style.opacity=0,this.major_ticks=this._createTickElements(i.major.ticks,this._el.major,t.getAxisTickDateFormat(i.major.name)),this.minor_ticks=this._createTickElements(i.minor.ticks,this._el.minor,t.getAxisTickDateFormat(i.minor.name),i.major.ticks),this.positionTicks(t,e,!0),this._el.major.className="tl-timeaxis-major tl-animate-opacity tl-timeaxis-animate-opacity",this._el.minor.className="tl-timeaxis-minor tl-animate-opacity tl-timeaxis-animate-opacity",this._el.major.style.opacity=1,this._el.minor.style.opacity=1}_createTickElements(t,e,i,n){e.innerHTML="";var s={};if(s[new Date(-1,13,-30).getTime()]=!0,n)for(var a=0;a<n.length;a++)s[n[a].getTime()]=!0;var r=[];for(a=0;a<t.length;a++){var o=t[a];if(!(o.getTime()in s)){var l=w("div","tl-timeaxis-tick",e),h=w("span","tl-timeaxis-tick-text tl-animate-opacity",l);let t=o.getDisplayDate(this.getLanguage(),i);h.innerHTML=t,r.push({tick:l,tick_text:h,display_date:t,date:o})}}return r}positionTicks(t,e,i){i?(this._el.major.className="tl-timeaxis-major",this._el.minor.className="tl-timeaxis-minor"):(this._el.major.className="tl-timeaxis-major tl-timeaxis-animate",this._el.minor.className="tl-timeaxis-minor tl-timeaxis-animate"),this._positionTickArray(this.major_ticks,t,e),this._positionTickArray(this.minor_ticks,t,e)}_positionTickArray(t,e,i){if(t[1]&&t[0]){var n=1;e.getPosition(t[1].date.getMillisecond())-e.getPosition(t[0].date.getMillisecond())<i&&(n=Math.round(i/e.getPixelsPerTick()));for(var s=1,a=0;a<t.length;a++){var r=t[a];r.tick.style.left=e.getPosition(r.date.getMillisecond())+"px",r.tick_text.innerHTML=r.display_date,n>1?s>=n?(s=1,r.tick_text.style.opacity=1,r.tick.className="tl-timeaxis-tick"):(s++,r.tick_text.style.opacity=0,r.tick.className="tl-timeaxis-tick tl-timeaxis-tick-hidden"):(r.tick_text.style.opacity=1,r.tick.className="tl-timeaxis-tick")}}}getVisibleTicks(){return{major:this._getVisibleTickArray(this.major_ticks),minor:this._getVisibleTickArray(this.minor_ticks)}}_getVisibleTickArray(t){return t.filter((({tick:t})=>function(t){const e=t.getBoundingClientRect();return e.left>=0&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}(t)))}_initLayout(){this._el.content_container=w("div","tl-timeaxis-content-container",this._el.container),this._el.major=w("div","tl-timeaxis-major",this._el.content_container),this._el.minor=w("div","tl-timeaxis-minor",this._el.content_container),this.onLoaded()}_initEvents(){}_updateDisplay(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}q(ue,ot,dt,qt);class pe{constructor(t,e,i){this._el={container:{},content_container:{},content:{},headline_container:{},headline:{},date:{}},this.options={title:!1},this.data={unique_id:"",headline:"headline",text:"text"},function(t,e){t.data=D({},t.data,e),""===t.data.unique_id&&(t.data.unique_id=F(6))}(this,t),C(this.options,e),this._el.container=w("div","tl-text"),this._el.container.id=this.data.unique_id,this._initLayout(),i&&i.appendChild(this._el.container)}show(){}hide(){}addTo(t){t.appendChild(this._el.container)}removeFrom(t){t.removeChild(this._el.container)}headlineHeight(){return this._el.headline.offsetHeight+40}addDateText(t){this._el.date.innerHTML=t}onLoaded(){this.fire("loaded",this.data)}onAdd(){this.fire("added",this.data)}onRemove(){this.fire("removed",this.data)}_initLayout(){if(this._el.content_container=w("div","tl-text-content-container",this._el.container),this._el.headline_container=w("div","tl-text-headline-container",this._el.content_container),""!=this.data.headline){var t="tl-headline";this.options.title&&(t="tl-headline tl-headline-title"),this._el.headline=w("h2",t,this._el.headline_container),this._el.headline.innerHTML=this.data.headline}if(this._el.date=w("h3","tl-headline-date",this._el.headline_container),""!=this.data.text){var e="";e+=(i=1==this.options.autolink?U(this.data.text):this.data.text).match(/<p>[\s\S]*?<\/p>/)?i:"<p>"+i+"</p>",this._el.content=w("div","tl-text-content",this._el.content_container),this._el.content.innerHTML=e}var i;this.onLoaded()}}q(pe,ot);class me{constructor(t,e,i){i&&this.setLanguage(i),this._el={container:{},content_container:{},content:{},content_item:{},content_link:{},caption:null,credit:null,parent:{},link:null},this.player=null,this.timer=null,this.load_timer=null,this.message=null,this.media_id=null,this._state={loaded:!1,show_meta:!1,media_loaded:!1},this.data={unique_id:null,url:null,credit:null,caption:null,credit_alternate:null,caption_alternate:null,link:null,link_target:null},this.options={api_key_flickr:"bd3a7c45ddd52f3101825d41563a6125",api_key_googlemaps:"AIzaSyB9dW8e_iRrATFa8g24qB6BDBGdkrLDZYI",api_key_embedly:"",credit_height:0,caption_height:0,background:0},this.animator={},C(this.options,e),C(this.data,t),this.options.background||(this._el.container=w("div","tl-media"),this.data.unique_id&&(this._el.container.id=this.data.unique_id),this._initLayout())}loadMedia(){var t=this;if(!this._state.loaded)try{this.load_timer=setTimeout((function(){t.loadingMessage(),t._loadMedia(),t._updateDisplay()}),1200)}catch(t){I("Error loading media for ",this._media),I(t)}}_updateMessage(t){this.message&&this.message.updateMessage(t)}loadingMessage(){this._updateMessage(this._("loading")+" "+this.options.media_name)}errorMessage(t){t=t?this._("error")+": "+t:this._("error"),this._updateMessage(t)}updateMediaDisplay(t){this._state.loaded&&!this.options.background&&(this._el.content_item.style.maxHeight=l?this.options.height/2+"px":this.options.height-this.options.credit_height-this.options.caption_height-30+"px",this._el.container.style.maxWidth=this.options.width+"px",u&&(this._el.content_item.offsetWidth,this._el.content_item.offsetHeight),this._updateMediaDisplay(t),this._state.media_loaded&&(this._el.credit&&(this._el.credit.style.width=this._el.content_item.offsetWidth+"px"),this._el.caption&&(this._el.caption.style.width=this._el.content_item.offsetWidth+"px")))}_loadMedia(){this.onLoaded()}_updateMediaDisplay(t){u&&(this._el.content_item.style.maxWidth=this.options.width+"px",this._el.content_item.style.width="auto")}_getMeta(){}_getImageURL(t,e){return""}show(){}hide(){}addTo(t){t.appendChild(this._el.container),this.onAdd()}removeFrom(t){t.removeChild(this._el.container),this.onRemove()}getImageURL(t,e){return this._getImageURL(t,e)}updateDisplay(t,e,i){this._updateDisplay(t,e,i)}stopMedia(){try{this._stopMedia()}catch(t){I(`stopMedia() exception: ${t}`)}}loadErrorDisplay(t){try{this._el.content.removeChild(this._el.content_item)}catch(t){}this._el.content_item=w("div","tl-media-item tl-media-loaderror",this._el.content),this._el.content_item.innerHTML="<div class='tl-icon-"+this.options.media_type+"'></div><p>"+t+"</p>",this.onLoaded(!0)}onLoaded(t){this._state.loaded=!0,this.fire("loaded",this.data),this.message&&this.message.hide(),t||this.options.background||this.showMeta(),this.updateDisplay()}onMediaLoaded(t){this._state.media_loaded=!0,this.fire("media_loaded",this.data),this._el.credit&&(this._el.credit.style.width=this._el.content_item.offsetWidth+"px"),this._el.caption&&(this._el.caption.style.width=this._el.content_item.offsetWidth+"px")}showMeta(t,e){this._state.show_meta=!0,this.data.credit&&""!=this.data.credit&&(this._el.credit=w("div","tl-credit",this._el.content_container),this._el.credit.innerHTML=1==this.options.autolink?U(this.data.credit):this.data.credit,this.options.credit_height=this._el.credit.offsetHeight),this.data.caption&&""!=this.data.caption&&(this._el.caption=w("div","tl-caption",this._el.content_container),this._el.caption.innerHTML=1==this.options.autolink?U(this.data.caption):this.data.caption,this.options.caption_height=this._el.caption.offsetHeight),this.data.caption&&this.data.credit||this.getMeta()}getMeta(){this._getMeta()}updateMeta(){!this.data.credit&&this.data.credit_alternate&&(this._el.credit=w("div","tl-credit",this._el.content_container),this._el.credit.innerHTML=this.data.credit_alternate,this.options.credit_height=this._el.credit.offsetHeight),!this.data.caption&&this.data.caption_alternate&&(this._el.caption=w("div","tl-caption",this._el.content_container),this._el.caption.innerHTML=this.data.caption_alternate,this.options.caption_height=this._el.caption.offsetHeight),this.updateDisplay()}onAdd(){this.fire("added",this.data)}onRemove(){this.fire("removed",this.data)}_initLayout(){this.message=new Ht(this._el.container,this.options,this.getLanguage()),this._el.content_container=w("div","tl-media-content-container",this._el.container),this.data.link&&""!=this.data.link?(this._el.link=w("a","tl-media-link",this._el.content_container),this._el.link.href=this.data.link,this.data.link_target&&""!=this.data.link_target?this._el.link.target=this.data.link_target:this._el.link.target="_blank","_blank"==this._el.link.target&&this._el.link.setAttribute("rel","noopener"),this._el.content=w("div","tl-media-content",this._el.link)):this._el.content=w("div","tl-media-content",this._el.content_container)}_updateDisplay(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e),i&&(this.options.layout=i),this._el.credit&&(this.options.credit_height=this._el.credit.offsetHeight),this._el.caption&&(this.options.caption_height=this._el.caption.offsetHeight+5),this.updateMediaDisplay(this.options.layout)}domCreate(...t){return w(...t)}_stopMedia(){}}q(me,ot,qt);class fe extends me{_loadMedia(){this.loadingMessage(),this.options.background||this.createMedia(),this.onLoaded()}createMedia(){var t=this,e="tl-media-item tl-media-image tl-media-sha
4dow";(this.data.url.match(/.png(\?.*)?$/)||this.data.url.match(/.svg(\?.*)?$/))&&(e="tl-media-item tl-media-image"),this._el.content_item=this.domCreate("img",e,this._el.content),this.data.alt?this._el.content_item.alt=this.data.alt:this.data.caption&&(this._el.content_item.alt=Y(this.data.caption)),this.data.title?this._el.content_item.title=this.data.title:this.data.caption&&(this._el.content_item.title=Y(this.data.caption)),this._el.content_item.addEventListener("load",(function(e){t.onMediaLoaded()})),this._el.content_item.src=this.getImageURL()}getImageURL(t,e){return X(this.data.url)}_updateMediaDisplay(t){u&&(this._el.content_item.style.width="auto")}}function ge(t,e,i,n){ve.js(t,e,i,n)}function _e(t,e,i,n){ve.css(t,e,i,n)}let ve=new class{constructor(t){this.doc=t,this.pending={},this.queue={css:[],js:[]},this.styleSheets=t.styleSheets,this.env=this.getEnv(),this.head=this.doc.head||this.doc.getElementsByTagName("head")[0],this.pollCount=0}createNode(t,e){var i,n=this.doc.createElement(t);for(i in e)e.hasOwnProperty(i)&&n.setAttribute(i,e[i]);return n}finish(t){var e,i,n=this.pending[t];n&&(e=n.callback,(i=n.urls).shift(),this.pollCount=0,i.length||(e&&e.call(n.context,n.obj),this.pending[t]=null,this.queue[t].length&&this.load(t)))}getEnv(){var t=navigator.userAgent,e={async:!0===this.doc.createElement("script").async};return(e.webkit=/AppleWebKit\//.test(t))||(e.ie=/MSIE/.test(t))||(e.opera=/Opera/.test(t))||(e.gecko=/Gecko\//.test(t))||(e.unknown=!0),e}load(t,e,i,n,s){var a,r,o,l,h,d,c=function(){this.finish(t)}.bind(this),u="css"===t,p=[];if(e)if(e="string"==typeof e?[e]:e.concat(),u||this.env.async||this.env.gecko||this.env.opera)this.queue[t].push({urls:e,callback:i,obj:n,context:s});else for(a=0,r=e.length;a<r;++a)this.queue[t].push({urls:[e[a]],callback:a===r-1?i:null,obj:n,context:s});if(!this.pending[t]&&(l=this.pending[t]=this.queue[t].shift())){for(a=0,r=(h=l.urls).length;a<r;++a)d=h[a],u?o=this.env.gecko?this.createNode("style"):this.createNode("link",{href:d,rel:"stylesheet"}):(o=this.createNode("script",{src:d})).async=!1,o.className="lazyload",o.setAttribute("charset","utf-8"),this.env.ie&&!u?o.onreadystatechange=function(){/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,c())}:u&&(this.env.gecko||this.env.webkit)?this.env.webkit?(l.urls[a]=o.href,this.pollWebKit()):(o.innerHTML='@import "'+d+'";',this.pollGecko(o)):o.onload=o.onerror=c,p.push(o);for(a=0,r=p.length;a<r;++a)this.head.appendChild(p[a])}}pollGecko(t){var e;try{e=!!t.sheet.cssRules}catch(n){if(this.pollCount+=1,this.pollCount<200){var i=this;setTimeout((function(){i.pollGecko(t)}),50)}else e&&this.finish("css");return}this.finish("css")}pollWebKit(){var t,e=this.pending.css;if(e){for(t=this.styleSheets.length;--t>=0;)if(this.styleSheets[t].href===e.urls[0]){this.finish("css");break}this.pollCount+=1,e&&(this.pollCount<200?setTimeout(this.pollWebKit.bind(this),50):this.finish("css"))}}css(t,e,i,n){this.load("css",t,e,i,n)}js(t,e,i,n){this.load("js",t,e,i,n)}}(document);class ye extends me{_loadMedia(){var t,e=this;this.youtube_loaded=!1,this._el.content_item=this.domCreate("div","tl-media-item tl-media-youtube tl-media-shadow",this._el.content),this._el.content_item.id=F(7),t=function(t){var e,i,n,s=[];(e=t.toString()).match("&")?e=e.replace("&","&"):e.match("&")?e=e.replace("&","&"):e.match("&")&&(e=e.replace("&","&")),n=e.slice(e.indexOf("?")+1).split("&");for(var a=0;a<n.length;a++)i=n[a].split("="),s.push(i[0]),s[i[0]]=i[1];return s}(this.data.url),this.media_id={},this.data.url.match("v=")?this.media_id.id=t.v:this.data.url.match("/embed/")?this.media_id.id=this.data.url.split("embed/")[1].split(/[?&]/)[0]:this.data.url.match(/v\/|v=|youtu\.be\//)?this.media_id.id=this.data.url.split(/v\/|v=|youtu\.be\//)[1].split(/[?&]/)[0]:I("YOUTUBE IN URL BUT NOT A VALID VIDEO"),this.data.url.match("start=")?this.media_id.start=Q(this.data.url.split("start=")[1]):this.data.url.match("t=")&&(this.media_id.start=Q(this.data.url.split("t=")[1])),this.data.url.match("end=")&&(this.media_id.end=Q(this.data.url.split("end=")[1])),this.media_id.hd=Boolean(void 0!==t.hd),ge("https://www.youtube.com/iframe_api",(function(){e.createMedia()}))}_updateMediaDisplay(){this._el.content_item.style.height=V({w:this.options.width})+"px",this._el.content_item.style.width=this.options.width+"px"}_stopMedia(){if(this.youtube_loaded)try{this.player.getPlayerState()==YT.PlayerState.PLAYING&&this.player.pauseVideo()}catch(t){I(t)}}createMedia(){var t=this;clearTimeout(this.timer),"undefined"!=typeof YT&&void 0!==YT.Player?this.player=new YT.Player(this._el.content_item.id,{playerVars:{enablejsapi:1,
4color:"white",controls:1,start:this.media_id.start,end:this.media_id.end,fs:1},videoId:this.media_id.id,events:{onReady:function(){t.onPlayerReady(),t.onLoaded()},onStateChange:t.onStateChange}}):this.timer=setTimeout((function(){t.createMedia()}),1e3)}onPlayerReady(t){this.youtube_loaded=!0,this._el.content_item=document.getElementById(this._el.content_item.id),this.onMediaLoaded()}onStateChange(t){t.data==YT.PlayerState.ENDED&&(t.target.seekTo(0),t.target.pauseVideo())}}class be extends me{_loadMedia(){this._el.content_item=this.domCreate("div","tl-media-item tl-media-map tl-media-shadow",this._el.content),this.media_id=this.data.url,this.mapframe=this.domCreate("iframe","",this._el.content_item),this.mapframe.width="100%",this.mapframe.height="100%",this.mapframe.frameBorder="0",this.mapframe.src=this.makeGoogleMapsEmbedURL(this.media_id,this.options.api_key_googlemaps),this.onLoaded()}_updateMediaDisplay(){if(this._state.loaded){var t=G({w:this._el.content_item.offsetWidth});this._el.content_item.style.height=t.h+"px"}}makeGoogleMapsEmbedURL(t,e){var i=!1;var n={view:["center"],place:["q","center"],directions:["origin","destination","center"],search:["q","center"],streetview:["fov","heading","pitch"]},s=/(https:\/\/.+google.+?\/maps)/,a=/@([-\d.]+),([-\d.]+)/,r=/([\w\W]+)/,o=/,((?:[-\d.]+[zmayht],?)*)/,l={view:new RegExp(s.source+"/"+a.source+o.source),place:new RegExp(s.source+"/place/"+r.source+"/"+a.source+o.source),directions:new RegExp(s.source+"/dir/"+r.source+"/"+r.source+"/"+a.source+o.source),search:new RegExp(s.source+"/search/"+r.source+"/"+a.source+o.source)};return function(t){function s(e,s){if("z"==e.slice(-1))s.zoom=e;else if("m"==e.slice(-1))s.zoom=14,s.maptype="satellite";else if("t"==e.slice(-1)){if(i=!0,"place"==a)var r=t.match(l.place)[3]+","+t.match(l.place)[4];else{r=s.center;delete s.center}(s={}).location=r,streetview_params=e.split(",");for(let t in n.streetview){var o=parseInt(t)+1;"pitch"==n.streetview[t]&&"90t"==streetview_params[o]?s[n.streetview[t]]=0:s[n.streetview[t]]=streetview_params[o].slice(0,-1)}}return s}let a="view";return t.match(l.place)?a="place":t.match(l.directions)?a="directions":t.match(l.search)&&(a="search"),function(t,a){var r={},o=a[1],l=a[a.length-1];for(let e in n[t]){var h=parseInt(e)+2;"center"==n[t][e]?r[n[t][e]]=a[h]+","+a[++h]:r[n[t][e]]=a[h]}return(r=s(l,r)).key=e,1==i&&(t="streetview"),o+"/embed/v1/"+t+function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i+"="+t[i]);return"?"+e.join("&")}(r)}(a,t.match(l[a]))}(t)}}class we extends me{constructor(t,e,i){super(t,e,i),this.blockquote=Xt().sanitize(this.data.url)}_loadMedia(){this._el.content_item=this.domCreate("div","tl-media-item tl-media-blockquote",this._el.content),this._el.content_container.className="tl-media-content-container tl-media-content-container-text",this._el.content_item.innerHTML=this.blockquote,this.onLoaded()}updateMediaDisplay(){}}class xe extends me{_loadMedia(){var t,e=this;this._el.content_item=this.domCreate("div","tl-media-item tl-media-wikipedia",this._el.content),this._el.content_container.className="tl-media-content-container tl-media-content-container-text",this.media_id=this.data.url.split("wiki/")[1].split("#")[0].replace("_"," "),this.media_id=this.media_id.replace(" ","%20"),t="https://"+this.data.url.split("//")[1].split(".wikipedia")[0]+".wikipedia.org/w/api.php?action=query&prop=extracts|pageimages&redirects=&titles="+this.media_id+"&exintro=1&format=json&callback=?",gt({type:"GET",url:t,dataType:"json",success:function(t){e.createMedia(t)},error:function(t,i){var n="";n+=e._("wikipedia_load_err")+"<br/>"+e.media_id+"<br/>"+i,e.loadErrorDisplay(n)}})}createMedia(t){var e="";if(t.query){var i="";(e={entry:{},title:"",text:"",extract:"",paragraphs:1,page_image:"",text_array:[]}).entry=function(t,e){if(void 0!==t){var i=0;for(var n in t){if(e===i)return t[n];i++}return""}return""}(t.query.pages,0),e.extract=e.entry.extract,e.title=e.entry.title,e.page_image=e.entry.thumbnail,e.extract.match("<p>")?e.text_array=e.extract.split("<p>"):e.text_array.push(e.extract);for(var n=0;n<e.text_array.length;n++)n+1<=e.paragraphs&&n+1<e.text_array.length&&(e.text+="<p>
4"+e.text_array[n+1]);i+="<span class='tl-icon-wikipedia'></span>",i+="<div class='tl-wikipedia-title'><h4><a href='"+this.data.url+"' target='_blank' rel='noopener'>"+e.title+"</a></h4>",i+="<span class='tl-wikipedia-source'>"+this._("wikipedia")+"</span></div>",e.page_image,i+=e.text,e.extract.match("REDIRECT")||(this._el.content_item.innerHTML=i,this.onLoaded())}}updateMediaDisplay(){}}class ke extends me{_loadMedia(){var t,e=this;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-soundcloud tl-media-shadow",this._el.content),this.media_id=this.data.url,t="https://soundcloud.com/oembed?url="+this.media_id+"&format=js&callback=?",ft(t,(function(t){ge("https://w.soundcloud.com/player/api.js",(function(){e.createMedia(t)}))}))}createMedia(t){this._el.content_item.innerHTML=t.html,self.widget=SC.Widget(this._el.content_item.querySelector("iframe")),this.soundCloudCreated=!0,this.onLoaded()}_stopMedia(){this.soundCloudCreated&&self.widget.pause()}}class Te extends me{_loadMedia(){var t,e=this;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-vimeo tl-media-shadow",this._el.content),this.media_id=this.data.url.split(/video\/|\/\/vimeo\.com\//)[1].split(/[?&]/)[0];var i=null;this.data.url.match(/#t=([^&]+).*/)&&(i=this.data.url.match(/#t=([^&]+).*/)[1]),t="https://player.vimeo.com/video/"+this.media_id+"?api=1&title=0&byline=0&portrait=0&color=ffffff",i&&(t=t+="&#t="+i),this.player=this.domCreate("iframe","",this._el.content_item),this.player.addEventListener("load",(function(t){e.onMediaLoaded()})),this.player.width="100%",this.player.height="100%",this.player.frameBorder="0",this.player.src=t,this.player.setAttribute("allowfullscreen",""),this.player.setAttribute("webkitallowfullscreen",""),this.player.setAttribute("mozallowfullscreen",""),this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.height=V({w:this._el.content_item.offsetWidth})+"px"}_stopMedia(){try{this.player&&this.player.contentWindow&&this.player.contentWindow.postMessage(JSON.stringify({method:"pause"}),"https://player.vimeo.com")}catch(t){I(t)}}}class Ee extends me{_loadMedia(){var t;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-dailymotion",this._el.content),-1!=this.data.url.indexOf("dai.ly/")?this.media_id=this.data.url.substr(this.data.url.indexOf("dai.ly/")+"dai.ly/".length):this.data.url.match("video")?this.media_id=this.data.url.split("video/")[1].split(/[?&]/)[0]:this.media_id=this.data.url.split("embed/")[1].split(/[?&]/)[0],-1!=this.media_id.indexOf("_")&&(this.media_id=this.media_id.split("_")[0]),t="https://www.dailymotion.com/embed/video/"+this.media_id+"?api=postMessage",this._el.content_item.innerHTML="<iframe autostart='false' frameborder='0' width='100%' height='100%' src='"+t+"'></iframe>",this.onLoaded()}_updateMediaDisplay(){this._state.loaded&&(this._el.content_item.style.height=V({w:this._el.content_item.offsetWidth})+"px")}_stopMedia(){this._state.loaded&&this._el.content_item.querySelector("iframe").contentWindow.postMessage('{"command":"pause","parameters":[]}',"*")}}class Se extends me{_loadMedia(){var t;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-vine tl-media-shadow",this._el.content),this.media_id=this.data.url.split("vine.co/v/")[1],t="https://vine.co/v/"+this.media_id+"/embed/simple",this._el.content_item.innerHTML="<iframe frameborder='0' width='100%' height='100%' src='"+t+"'></iframe><script async src='https://platform.vine.co/static/scripts/embed.js' charset='utf-8'><\/script>",this.onLoaded()}_updateMediaDisplay(){var t=G({w:this._el.content_item.offsetWidth,h:this.options.height});this._el.content_item.style.height=t.h+"px"}_stopMedia(){this._el.content_item.querySelector("iframe").contentWindow.postMessage("pause","*")}}class Me extends me{_loadMedia(){var t,e=this;if(this._el.content_item=this.domCreate("div","tl-media-twitter",this._el.content),this._el.content_container.className="tl-media-content-container tl-media-content-container-text",this.data.url.match("^(https?:)?/*(www.)?twitter.com"))this.data.url.match("status/")?this.media_id=this.data.url.split("status/")[1]:this.data.url.match("statuses/")?this.media_id=this.data.url.split("statuses/")[1]:this.media_id="";else if(this.data.url.match("<blockquote class=['\"]twitter-tweet['\"]")){var i=this.data.url.match(/(status|statuses)\/(\d+)/);if(!(i&&i.length>
42))return void e.loadErrorDisplay(e._("twitterembed_invalidurl_err"));this.media_id=i[2]}t="https://api.twitter.com/1/statuses/oembed.json?id="+this.media_id+"&omit_script=true&include_entities=true&callback=?",gt({type:"GET",url:t,dataType:"json",success:function(t){e.createMedia(t)},error:function(t,i){var n="";n+=e._("twitter_load_err")+"<br/>"+e.media_id+"<br/>"+i,e.loadErrorDisplay(n)}})}createMedia(t){var e,i,n,s="",a="",r="",o=this;a=t.html.split("</p>—")[0]+"</p></blockquote>",e=t.author_url.split("twitter.com/")[1],i=(r=t.html.split("</p>—")[1].split('<a href="')[1]).split('">')[0],n=r.split('">')[1].split("</a>")[0],(a=a.replace(/<a href/gi,'<a target="_blank" rel="noopener" href')).includes("pic.twitter.com")?(ge("https://platform.twitter.com/widgets.js",(function(){twttr.widgets.createTweet(o.media_id,o._el.content_item,{conversation:"none",linkColor:"#cc0000",theme:"light"})})),this.onLoaded()):(s+=a,s+="<div class='vcard'>",s+="<a href='"+i+"' class='twitter-date' rel='noopener' target='_blank'>"+n+"</a>",s+="<img src='' class='tl-media-item tl-media-image'></a>",s+="<div class='author'>",s+="<a class='screen-name url' href='"+t.author_url+"' rel='noopener' target='_blank'>",s+="<span class='avatar'></span>",s+="<span class='fn'>"+t.author_name+" <span class='tl-icon-twitter'></span></span>",s+="<span class='nickname'>@"+e+"<span class='thumbnail-inline'></span></span>",s+="</a>",s+="</div>",s+="</div>",this._el.content_item.innerHTML=s,this.onLoaded())}updateMediaDisplay(){}_updateMediaDisplay(){}}class Le extends me{_loadMedia(){var t,e=this;this._el.content_item=this.domCreate("div","tl-media-twitter",this._el.content),this._el.content_container.className="tl-media-content-container tl-media-content-container-text";var i,n,s,a,r,o,l=this.data.url.match(/(status|statuses)\/(\d+)/);l&&l.length>2?(this.media_id=l[2],t="https://api.twitter.com/1/statuses/oembed.json?id="+this.media_id+"&omit_script=true&include_entities=true&callback=?",window.twttr=(i=document,n="script",s="twitter-wjs",r=i.getElementsByTagName(n)[0],o=window.twttr||{},i.getElementById(s)||((a=i.createElement(n)).id=s,a.src="https://platform.twitter.com/widgets.js",r.parentNode.insertBefore(a,r),o._e=[],o.ready=function(t){o._e.push(t)}),o),gt({type:"GET",url:t,dataType:"json",success(t){e.createMedia(t)},error:function(t,i){var n="";n+=e._("twitter_load_err")+"<br/>"+e.media_id+"<br/>"+i,e.loadErrorDisplay(n)}})):e.loadErrorDisplay(e._("twitterembed_invalidurl_err"))}createMedia(t){var e,i,n,s="",a="",r="";a=t.html.split("</p>—")[0]+"</p></blockquote>",e=t.author_url.split("twitter.com/")[1],i=(r=t.html.split("</p>—")[1].split('<a href="')[1]).split('">')[0],n=r.split('">')[1].split("</a>")[0],a=a.replace(/<a href/gi,'<a target="_blank" rel="noopener" href');let o=this.media_id;a.includes("pic.twitter.com")?(twttr.ready((function(t){s=document.getElementsByClassName("tl-media-twitter")[0];var e=String(o);twttr.widgets.createTweet(e,s,{conversation:"none",linkColor:"#cc0000",theme:"light"}).then((function(t){this.onLoaded()}))})),this._el.content_item.innerHTML=s,this.onLoaded()):(s+=a,s+="<div class='vcard'>",s+="<a href='"+i+"' class='twitter-date' rel='noopener' target='_blank'>"+n+"</a>",s+="<div class='author'>",s+="<a class='screen-name url' href='"+t.author_url+"' rel='noopener' target='_blank'>",s+="<span class='avatar'></span>",s+="<span class='fn'>"+t.author_name+" <span class='tl-icon-twitter'></span></span>",s+="<span class='nickname'>@"+e+"<span class='thumbnail-inline'></span></span>",s+="</a>",s+="</div>",s+="</div>",this._el.content_item.innerHTML=s,this.onLoaded())}updateMediaDisplay(){}_updateMediaDisplay(){}}class Ae extends me{_loadMedia(){var t,e=this;try{this.establishMediaID(),t="https://api.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key="+this.options.api_key_flickr+"&photo_id="+this.media_id+"&format=json&jsoncallback=?",ft(t,(function(t){"ok"==t.stat?(e.sizes=t.sizes.size,e.options.background||e.createMedia(),e.onLoaded()):e.loadErrorDisplay(e._("flickr_notfound_err"))}))}catch(t){e.loadErrorDisplay(e._(t.message_key))}}establishMediaID(){if(this.data.url.match(/flic.kr\/.+/i)){var t=this.data.url.split("/").slice(-1)[0];this.media_id=Z.decode(t)}else{var e="flickr.com/photos/",i=this.data.url.indexOf(e);if(-1==i)throw new M("flickr_invalidurl_err");var n=i+e.length;this.media_id=this.data.url.substr(n).split("/")[1]}}createMedia(){var t=this;this._el.content_link=this.domCreate("a","",this._el.content),this._el.content_link.href=this.data.url,this._el.content_link.target="_blank",this._el.content_link.setAttribute("rel","noopener"),this._el.content_item=this.domCreate("img","tl-media-item tl-media-image tl-media-flickr tl-media-sha
4dow",this._el.content_link),this.data.alt?this._el.content_item.alt=this.data.alt:this.data.caption&&(this._el.content_item.alt=Y(this.data.caption)),this.data.title?this._el.content_item.title=this.data.title:this.data.caption&&(this._el.content_item.title=Y(this.data.caption)),this._el.content_item.addEventListener("load",(function(e){t.onMediaLoaded()})),this._el.content_item.src=this.getImageURL(this.options.width,this.options.height)}getImageURL(t,e){for(var i=this.size_label(e),n=this.sizes[this.sizes.length-2].source,s=0;s<this.sizes.length;s++)this.sizes[s].label==i&&(n=this.sizes[s].source);return n}_getMeta(){var t,e=this;t="https://api.flickr.com/services/rest/?method=flickr.photos.getInfo&api_key="+this.options.api_key_flickr+"&photo_id="+this.media_id+"&format=json&jsoncallback=?",ft(t,(function(t){e.data.credit_alternate="<a href='"+e.data.url+"' target='_blank' rel='noopener'>"+t.photo.owner.realname+"</a>",e.data.caption_alternate=t.photo.title._content+" "+t.photo.description._content,e.updateMeta()}))}size_label(t){return t<=75?t<=0?"Large":"Thumbnail":t<=180?"Small":t<=240?"Small 320":t<=375?"Medium":t<=480?"Medium 640":"Large"}}class Ce extends me{_loadMedia(){var t=this;this._el.content_item=this.domCreate("div","tl-media-item tl-media-documentcloud tl-media-shadow",this._el.content),this._el.content_item.id=F(7),this.data.url.match(/\.html$/)?this.data.url=this._transformURL(this.data.url):this.data.url.match(/.(json|js)$/)||I("DOCUMENT CLOUD IN URL BUT INVALID SUFFIX"),ge(["https://assets.documentcloud.org/viewer/loader.js","https://assets.documentcloud.org/viewer/viewer.js"],(function(){t.createMedia()}))}_transformURL(t){return t.replace(/(.*)\.html$/,"$1.js")}_updateMediaDisplay(){this._el.content_item.style.height=this.options.height+"px"}createMedia(){DV.load(this.data.url,{container:"#"+this._el.content_item.id,showSidebar:!1}),this.onLoaded()}}const De="https://graph.facebook.com/v8.0/instagram_oembed?access_token=704270473831239|830b21071290df4f81a35c56abbea096&fields=html,thumbnail_url,author_name&url=";function Ne(t){this.oembed_response=t,this._el.content_link=this.domCreate("a","",this._el.content),this._el.content_link.href=this.data.url,this._el.content_link.target="_blank",this._el.content_link.setAttribute("rel","noopener"),this._el.content_item=this.domCreate("img","tl-media-item tl-media-image tl-media-instagram tl-media-shadow",this._el.content_link),this.data.alt?this._el.content_item.alt=this.data.alt:this.data.caption&&(this._el.content_item.alt=Y(this.data.caption)),this.data.title?this._el.content_item.title=this.data.title:this.data.caption&&(this._el.content_item.title=Y(this.data.caption)),this._el.content_item.addEventListener("load",function(t){this.onMediaLoaded()}.bind(this)),this._el.content_item.src=t.thumbnail_url,this.onLoaded()}function Ie(t){let e=`${t.statusText} [${t.status}]`;400==t.status&&(e=this._("instagram_bad_request")),this.loadErrorDisplay(e)}class Oe extends me{_loadMedia(){this.media_id=this.data.url.split("/p/")[1].split("/")[0],this.options.background||this.createMedia()}createMedia(){this.oembed_response=null;let t=`${De}${this.data.url}`;try{gt({url:t,dataType:"json",success:Ne,error:Ie,context:this})}catch(e){console.log(`Instagram: error fetching ${t}`),console.log(e)}}getImageURL(){if(this.oembed_response&&this.oembed_response.thumbnail_url)return this.oembed_response.thumbnail_url;_t(`${De}${this.data.url}`).then((t=>t.thumbnail_url)).catch((t=>{I(`Instagram getImageURL Error: ${t.status} ${t.statusText}`)}))}_getMeta(){this.oembed_response&&this.oembed_response.author_name&&(this.data.credit_alternate=`Instagram: <a href="https://instagram.com/${this.oembed_response.author_name}" target="_blank">@${this.oembed_response.author_name}</a>`),this.updateMeta()}sizes(t){return t<=150?"t":t<=306?"m":"l"}}class je extends me{_loadMedia(){this._el.content_item=this.domCreate("img","tl-media-item tl-media-image tl-media-profile tl-media-shadow",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()}_updateMediaDisplay(t){u&&(this._el.content_item.style.maxWidth=this.options.width/2-40+"px")}}class Pe extends me{_loadMedia(){var t;if(this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe",this._el.content),this.data.url.match(/open\?id=([^&]+)/))t="https://drive.google.com/file/d/"+this.data.url.match(/open\?id=([^&]+)/)[1]+"/preview";else if(this.data.url.match(/file\/d\/([^/]*)\/?/)){t="https://drive.google.com/file/d/"+this.data.url.match(/file\/d\/([^/]*)\/?/)[1]+"/preview"}else t=this.data.url;this._el.content_item.innerHTML="<iframe class='doc' frameborder='0' width='100%' height='100%' src='"+t+"'></iframe>",this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.height=this.options.height+"px"}}class Re extends me{_loadMedia(){var t,e;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-spotify",this._el.content),this.media_id=(e=this.data.url).match(/^spotify:/)?e:`spotify${(e=new URL(e)).pathname.replace(/\/$/,"").replace(/\//g,":")}`,this.media_id?(t="https://embed.spotify.com/?uri="+this.media_id+"&theme=white&view=coverart",this.player=this.domCreate("iframe","tl-media-sha
4dow",this._el.content_item),this.player.width="100%",this.player.height="100%",this.player.frameBorder="0",this.player.src=t,this.onLoaded()):this.loadErrorDisplay(this._("spotify_invalid_url"))}_updateMediaDisplay(t){var e=this.options.height,i=0,n=0;e=l?this.options.height/2:this.options.height-this.options.credit_height-this.options.caption_height-30,this._el.content_item.style.maxHeight="none",I(e),I(this.options.width),e>this.options.width?(I("height is greater"),i=this.options.width+80+"px",n=this.options.width+"px"):(I("width is greater"),I(this.options.width),i=e+"px",n=e-80+"px"),this.player.style.width=n,this.player.style.height=i,this._el.credit&&(this._el.credit.style.width=n),this._el.caption&&(this._el.caption.style.width=n)}_stopMedia(){}}class ze extends me{constructor(t,e,i){super(t,e,i),this.iframe=Xt().sanitize(this.data.url,{ADD_TAGS:["iframe"],ADD_ATTR:["frameborder"]})}_loadMedia(){this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe",this._el.content),this._el.content_item.innerHTML=this.iframe,this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.height=this.options.height+"px"}}class qe extends me{_loadMedia(){try{var t=this;if(this.data.url.match("<blockquote class=['\"]imgur-embed-pub['\"]")){var e=this.data.url.match(/(imgur\.com)\/(\w+)/);this.media_id=e[2],this.data.url="http://imgur.com/gallery/"+this.media_id}else this.data.url&&(this.media_id=this.data.url.split("/").slice(-1)[0]);ge(["https://s.imgur.com/min/embed.js"],(function(){t.createMedia()}))}catch(t){this.loadErrorDisplay(this._("imgur_invalidurl_err"))}}createMedia(){var t=this,e="https://api.imgur.com/oembed.json?url="+this.data.url;this._el.content_item=this.domCreate("div","tl-media-item tl-media-image tl-media-imgur",this._el.content),gt({type:"GET",url:e,dataType:"json",success:function(e){try{t._el.content_item.innerHTML=e.html,setInterval((function(){null==document.querySelector("blockquote.imgur-embed-pub")?clearInterval():(imgurEmbed.createIframe(),document.getElementById("imageElement").removeAttribute("style"),document.getElementById("image").removeAttribute("style"))}),2e3)}catch(t){I("Error processing imgur ajax response")}},error:function(e,i,n){"parsererror"==i?t.loadErrorDisplay(t._("imgur_invalidurl_err")):t.loadErrorDisplay(t._("unknown_read_err",i))}}),this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.width=this.options.width+"px",this._el.content_item.style.height=V({w:this.options.width})+"px"}}class He extends me{_loadMedia(){var t=X(this.data.url);this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe",this._el.content);var e="";e=a||p||t.match(/dl.dropboxusercontent.com/)?"<iframe class='doc' frameborder='0' width='100%' height='100%' src='//docs.google.com/viewer?url="+t+"&embedded=true'></iframe>":"<iframe class='doc' frameborder='0' width='100%' height='100%' src='"+t+"'></iframe>",this._el.content_item.innerHTML=e,this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.height=this.options.height+"px"}}class Fe extends me{_loadMedia(){this.loadingMessage(),this.options.background||this.createMedia(),this.onLoaded()}createMedia(){var t=X(this.data.url),e=this;this._el.content_item=this.domCreate("audio","tl-media-item tl-media-audio tl-media-shadow",this._el.content),this._el.content_item.controls=!0,this._el.source_item=this.domCreate("source","",this._el.content_item),this._el.content_item.addEventListener("load",(function(t){e.onMediaLoaded()})),this._el.source_item.src=t,this._el.source_item.type=this._getType(this.data.url,this.data.mediatype.match_str),this._el.content_item.innerHTML+="Your browser doesn't support HTML5 audio with "+this._el.source_item.type,this.player_element=this._el.content_item}_updateMediaDisplay(t){u&&(this._el.content_item.style.width="auto")}_stopMedia(){this.player_element&&this.player_element.pause()}_getType(t,e){var i="audio/";switch(t.match(e)[1]){case"mp3":i+="mpeg";break;case"wav":i+="wav";break;case"m4a":i+="mp4";break;default:i="audio"}return i}}class Be extends me{_loadMedia(){this.loadingMessage(),this.options.background||this.createMedia(),this.onLoaded()}createMedia(){var t=X(this.data.url),e=this;this._el.content_item=this.domCreate("video","tl-media-item tl-media-video tl-media-sha
4dow",this._el.content),this._el.content_item.controls=!0,this._el.source_item=this.domCreate("source","",this._el.content_item),this._el.content_item.addEventListener("load",(function(t){e.onMediaLoaded()})),this._el.source_item.src=t,this._el.source_item.type=this._getType(this.data.url,this.data.mediatype.match_str),this._el.content_item.innerHTML+="Your browser doesn't support HTML5 video with "+this._el.source_item.type,this.player_element=this._el.content_item}_updateMediaDisplay(t){u&&(this._el.content_item.style.width="auto")}_stopMedia(){this.player_element&&this.player_element.pause()}_getType(t,e){var i="video/";switch(t.match(e)[1]){case"mp4":i+="mp4";break;case"webm":i+="webm";break;default:i="video"}return i}}class We extends me{_loadMedia(){var t,e=this;this._el.content_item=this.domCreate("div","tl-media-item tl-media-iframe tl-media-wistia tl-media-shadow",this._el.content),this.media_id=this.data.url.split(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/medias\/(.*)/)[3],I(`Wistia: media_id: ${this.media_id}`),t="https://fast.wistia.com/embed/iframe/"+this.media_id+"?version=v1&controlsVisibleOnLoad=true&playerColor=aae3d8",this.player=this.domCreate("iframe","",this._el.content_item),this.player.addEventListener("load",(function(t){e.onMediaLoaded()})),this.player.width="100%",this.player.height="100%",this.player.frameBorder="0",this.player.src=t,this.player.setAttribute("allowfullscreen",""),this.player.setAttribute("webkitallowfullscreen",""),this.player.setAttribute("mozallowfullscreen",""),this.onLoaded()}_updateMediaDisplay(){this._el.content_item.style.height=V({w:this._el.content_item.offsetWidth})+"px"}_stopMedia(){try{this.player.contentWindow.postMessage(JSON.stringify({method:"pause"}),"https://player.vimeo.com")}catch(t){I(t)}}}function $e(t,e){var i=[{type:"youtube",name:"YouTube",match_str:"^(https?:)?/*(www.|m.)?youtube|youtu.be",cls:ye},{type:"vimeo",name:"Vimeo",match_str:"^(https?:)?/*(player.)?vimeo.com",cls:Te},{type:"dailymotion",name:"DailyMotion",match_str:"^(https?:)?/*(www.)?(dailymotion.com|dai.ly)",cls:Ee},{type:"vine",name:"Vine",match_str:"^(https?:)?/*(www.)?vine.co",cls:Se},{type:"soundcloud",name:"SoundCloud",match_str:"^(https?:)?/*(player.)?soundcloud.com",cls:ke},{type:"twitter",name:"Twitter",match_str:"^(https?:)?/*(www.)?twitter.com",cls:Me},{type:"twitterembed",name:"TwitterEmbed",match_str:"<blockquote class=['\"]twitter-tweet['\"]",cls:Le},{type:"googlemaps",name:"Google Map",match_str:/google.+?\/maps\/@([-\d.]+),([-\d.]+),((?:[-\d.]+[zmayht],?)*)|google.+?\/maps\/search\/([\w\W]+)\/@([-\d.]+),([-\d.]+),((?:[-\d.]+[zmayht],?)*)|google.+?\/maps\/place\/([\w\W]+)\/@([-\d.]+),([-\d.]+),((?:[-\d.]+[zmayht],?)*)|google.+?\/maps\/dir\/([\w\W]+)\/([\w\W]+)\/@([-\d.]+),([-\d.]+),((?:[-\d.]+[zmayht],?)*)/,cls:be},{type:"flickr",name:"Flickr",match_str:"^(https?:)?/*(www.)?flickr.com/photos",cls:Ae},{type:"flickr",name:"Flickr",match_str:"^(https?://)?flic.kr/.*",cls:Ae},{type:"instagram",name:"Instagram",match_str:/^(https?:)?\/*(www.)?(instagr.am|^(https?:)?\/*(www.)?instagram.com)\/p\//,cls:Oe},{type:"profile",name:"Profile",match_str:/^(https?:)?\/*(www.)?instagr.am\/[a-zA-Z0-9]{2,}|^(https?:)?\/*(www.)?instagram.com\/[a-zA-Z0-9]{2,}/,cls:je},{type:"documentcloud",name:"Document Cloud",match_str:/documentcloud.org\//,cls:Ce},{type:"image",name:"Image",match_str:/(jpg|jpeg|png|gif|svg|webp)(\?.*)?$/i,cls:fe},{type:"imgur",name:"Imgur",match_str:/^.*imgur.com\/.+$|<blockquote class=['\"]imgur-embed-pub['\"]/i,cls:qe},{type:"googledocs",name:"Google Doc",match_str:"^(https?:)?/*[^.]*.google.com/[^/]*/d/[^/]*/[^/]*?usp=shar.*|^(https?:)?/*drive.google.com/open?id=[^&]*&authuser=0|^(https?:)?//*drive.google.com/open\\?id=[^&]*|^(https?:)?/*[^.]*.googledrive.com/host/[^/]*/",cls:Pe},{type:"pdf",name:"PDF",match_str:/^.*\.pdf(\?.*)?(\#.*)?/,cls:He},{type:"wikipedia",name:"Wikipedia",match_str:"^(https?:)?/*(www.)?wikipedia.org|^(https?:)?/*([a-z][a-z].)?wikipedia.org",cls:xe},{type:"spotify",name:"spotify",match_str:"spotify",cls:Re},{type:"iframe",name:"iFrame",match_str:"iframe",cls:ze},{type:"blockquote",name:"Quote",match_str:"blockquote",cls:we},{type:"video",name:"Video",match_str:/(mp4|webm)(\?.*)?$/i,cls:Be},{type:"wistia",name:"Wistia",match_str:/https?:\/\/(.+)?(wistia\.com|wi\.st)\/.*/i,cls:We},{type:"audio",name:"Audio",match_str:/(mp3|wav|m4a)(\?.*)?$/i,cls:Fe},{type:"imageblank",name:"Imageblank",match_str:"",cls:fe}];if(e){if(t instanceof Array)return!1;for(var n=0;n<i.length;n++)switch(i[n].type){case"flickr":case"image":case"instagram":if(t.url.match(i[n].match_str))return i[n]}}else for(n=0;n<i.length;n++)if(t.url.match(i[n].match_str))return i[n];return!1}class Ye{constructor(t,e){this._el={container:{},content_container:{},media_container:{},timespan:{},line_left:{},line_right:{},content:{},text:{},media:{}},this._text={},this._state={loaded:!1},this.data={unique_id:"",background:null,date:{year:0,month:0,day:0,hour:0,minute:0,second:0,millisecond:0,thumbnail:"",format:""},text:{headline:"",text:""},media:null},this.options={duration:1e3,ease:nt,width:600,height:600,marker_width_min:100},this.active=!1,this.animator={},this.has_end_date=!1,this.ariaLabel="",C(this.options,e),C(this.data,t),this._initLayout(),this._initEvents()}show(){}hide(){}setActive(t){this.active=t,this.active&&this.has_end_date?this._el.container.className="tl-timemarker tl-timemarker-with-end tl-timemarker-active":this.active?this._el.container.className="tl-timemarker tl-timemarker-active":this.has_end_date?this._el.container.className="tl-timemarker tl-timemarker-with-end":this._el.container.className="tl-timemarker",this._el.container.ariaLabel=this.ariaLabel,this.active?this._el.container.ariaLabel+=", shown":this._el.container.ariaLabel+=", press space to show"}setFocus(t={preventScroll:!0}){this._el.container.focus(t)}addTo(t){t.appendChild(this._el.container)}removeFrom(t){t.removeChild(this._el.container)}updateDisplay(t,e){this._updateDisplay(t,e)}loadMedia(){this._media&&!this._state.loaded&&(this._media.loadMedia(),this._state.loaded=!0)}stopMedia(){this._media&&this._state.loaded&&this._media.stopMedia()}getLeft(){return this._el.container.style.left.slice(0,-2)}getTime(){return this.data.start_date.getTime()}getEndTime(){return!!this.data.end_date&&this.data.end_date.getTime()}setHeight(t){var e=1;this._el.content_container.style.height=t+"px",this._el.timespan_content.style.height=t+"px",this._el.content.className=t<=30?"tl-timemarker-content tl-timemarker-content-small":"tl-timemarker-content",t<=56?E(this._el.content_container,"tl-timemarker-content-container-small"):S(this._el.content_container,"tl-timemarker-content-container-small"),r?((e=Math.floor(t/14))<1&&(e=1),this._text.className="tl-headline",this._text.style.webkitLineClamp=e):(e=t/12,this._text.className=e>1?"tl-headline tl-headline-fadeout":"tl-headline",this._text.style.height=12*e+"px")}setWidth(t){this.data.end_date&&(this._el.container.style.width=t+"px",t>this.options.marker_width_min?(this._el.content_container.style.width=t+"px",this._el.content_container.className="tl-timemarker-content-container tl-timemarker-content-container-long"):(this._el.content_container.style.width=this.options.marker_width_min+"px",this._el.content_container.className="tl-timemarker-content-container"))}setClass(t){this._el.container.className=t}setRowPosition(t,e){this.setPosition({top:t}),this._el.timespan.style.height=e+"px"}getFormattedDate(){if(z(this.data.display_date).length>0)return this.data.display_date;let t="";return this.data.end_date&&(t=" to "+this.data.end_date.getDisplayDate(this.getLanguage())),this.data.start_date&&(t=(t?"from ":"")+this.data.start_date.getDisplayDate(this.getLanguage())+t),t}_onMarkerClick(t){this.fire("markerclick",{unique_id:this.data.unique_id})}_onMarkerKeydown(t){/Space|Enter/.test(t.code)&&this.fire("markerclick",{unique_id:this.data.unique_id})}_onMarkerBlur(t){this.fire("markerblur",{unique_id:this.data.unique_id})}_initLayout(){if(this._el.container=w("div","tl-timemarker"),this._el.container.setAttribute("tabindex","-1"),this.data.unique_id&&(this._el.container.id=this.data.unique_id+"-marker"),this.data.end_date&&(this.has_end_date=!0,this._el.container.className="tl-timemarker tl-timemarker-with-end"),this._el.timespan=w("div","tl-timemarker-timespan",this._el.container),this._el.timespan_content=w("div","tl-timemarker-timespan-content",this._el.timespan),this._el.content_container=w("div","tl-timemarker-content-container",this._el.container),this._el.content=w("div","tl-timemarker-content",this._el.content_container),this._el.line_left=w("div","tl-timemarker-line-left",this._el.timespan),this._el.line_right=w("div","tl-timemarker-line-right",this._el.timespan),this.data.media){this._el.media_container=w("div","tl-timemarker-media-container",this._el.content);var t={url:this.data.media.thumbnail},e=this.data.media.thumbnail?$e(t,!0):null;if(e){var i=new e.cls(t);i.on("loaded",function(){this._el.media=w("img","tl-timemarker-media",this._el.media_container),this._el.media.src=i.getImageURL()}.bind(this)),i.loadMedia()}else{var n=$e(this.data.media).type;this._el.media=w("span","tl-icon-"+n,this._el.media_container)}}this._el.text=w("div","tl-timemarker-text",this._el.content),this._text=w("h2","tl-headline",this._el.text),this.data.text.headline&&""!=this.data.text.headline?this._text.innerHTML=$(this.data.text.headline):this.data.text.text&&""!=this.data.text.text?this._text.innerHTML=$(this.data.text.text):this.data.media&&this.data.media.caption&&""!=this.data.media.caption&&(this._text.innerHTML=$(this.data.media.caption));const s=this.getFormattedDate();this.ariaLabel=`${this._text.innerHTML}, ${s}`,this.onLoaded()}_initEvents(){pt.addListener(this._el.container,"click",this._onMarkerClick,this),pt.addListener(this._el.container,"keydown",this._onMarkerKeydown,this),pt.addListener(this._el.container,"blur",this._onMarkerBlur,this)}_updateDisplay(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}q(Ye,qt,ot,dt);
4class Ue{constructor(t,e,i){this._el={drag:t,move:t},this.mousedrag={down:"mousedown",up:"mouseup",leave:"mouseleave",move:"mousemove"},this.touchdrag={down:"touchstart",up:"touchend",leave:"mouseleave",move:"touchmove"},e&&(this._el.move=e),this.options={snap:!1,enable:{x:!0,y:!0},constraint:{top:!1,bottom:!1,left:0,right:!1},momentum_multiplier:2e3,duration:1e3,ease:at},this.animator=null,this.dragevent=this.mousedrag,y&&(this.dragevent=this.touchdrag),this.data={sliding:!1,direction:"none",pagex:{start:0,end:0},pagey:{start:0,end:0},pos:{start:{x:0,y:0},end:{x:0,y:0}},new_pos:{x:0,y:0},new_pos_parent:{x:0,y:0},time:{start:0,end:0},touch:!1},C(this.options,i)}enable(t){pt.addListener(this._el.drag,this.dragevent.down,this._onDragStart,this),pt.addListener(this._el.drag,this.dragevent.up,this._onDragEnd,this),this.data.pos.start=0,this._el.move.style.left=this.data.pos.start.x+"px",this._el.move.style.top=this.data.pos.start.y+"px",this._el.move.style.position="absolute"}disable(){pt.removeListener(this._el.drag,this.dragevent.down,this._onDragStart,this),pt.removeListener(this._el.drag,this.dragevent.up,this._onDragEnd,this)}stopMomentum(){this.animator&&this.animator.stop()}updateConstraint(t){this.options.constraint=t}_onDragStart(t){this.animator&&this.animator.stop(),y?t.originalEvent?(this.data.pagex.start=t.originalEvent.touches[0].screenX,this.data.pagey.start=t.originalEvent.touches[0].screenY):(this.data.pagex.start=t.targetTouches[0].screenX,this.data.pagey.start=t.targetTouches[0].screenY):(this.data.pagex.start=t.pageX,this.data.pagey.start=t.pageY),this.options.enable.x,this.options.enable.y,this.data.pos.start={x:this._el.move.offsetLeft,y:this._el.move.offsetTop},this.data.time.start=(new Date).getTime(),this.fire("dragstart",this.data),pt.addListener(this._el.drag,this.dragevent.move,this._onDragMove,this),pt.addListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this)}_onDragEnd(t){this.data.sliding=!1,pt.removeListener(this._el.drag,this.dragevent.move,this._onDragMove,this),pt.removeListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this),this.fire("dragend",this.data),this._momentum()}_onDragMove(t){var e={x:0,y:0};this.data.sliding=!0,y?t.originalEvent?(this.data.pagex.end=t.originalEvent.touches[0].screenX,this.data.pagey.end=t.originalEvent.touches[0].screenY):(this.data.pagex.end=t.targetTouches[0].screenX,this.data.pagey.end=t.targetTouches[0].screenY):(this.data.pagex.end=t.pageX,this.data.pagey.end=t.pageY),e.x=this.data.pagex.start-this.data.pagex.end,e.y=this.data.pagey.start-this.data.pagey.end,this.data.pos.end={x:this._el.drag.offsetLeft,y:this._el.drag.offsetTop},this.data.new_pos.x=-(e.x-this.data.pos.start.x),this.data.new_pos.y=-(e.y-this.data.pos.start.y),this.options.enable.x&&Math.abs(e.x)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.left=this.data.new_pos.x+"px"),this.options.enable.y&&Math.abs(e.y)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.top=this.data.new_pos.y+"px"),this.fire("dragmove",this.data)}_momentum(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i={x:!1,y:!1},n=!1;this.data.direction=null,t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.new_pos.x+t.x),this.data.new_pos.y=Math.min(this.data.new_pos.y+t.y),this.options.enable.x?this.options.constraint.left&&this.data.new_pos.x>this.options.constraint.left&&(this.data.new_pos.x=this.options.constraint.left):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<2e3&&(n=!0),this.options.enable.x&&this.options.enable.y?Math.abs(e.x)>Math.abs(e.y)?i.x=!0:i.y=!0:this.options.enable.x?Math.abs(e.x)>Math.abs(e.y)&&(i.x=!0):Math.abs(e.y)>Math.abs(e.x)&&(i.y=!0),i.x&&(Math.abs(e.x)>this._el.drag.offsetWidth/2&&(n=!0),Math.abs(e.x)>1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right"))),i.y&&(Math.abs(e.y)>this._el.drag.offsetHeight/2&&(n=!0),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down"))),e.time<1e3||this._animateMomentum(),n&&this.data.direction?this.fire("swipe_"+this.data.direction,this.data):this.data.direction?this.fire("swipe_nodirection",this.data):this.options.snap&&(this.animator.stop(),this.animator=lt(this._el.move,{top:this.data.pos.start.y,left
4:this.data.pos.start.x,duration:this.options.duration,easing:st}))}_animateMomentum(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:st};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y<this.options.constraint.top&&(t.y=this.options.constraint.top)),e.top=Math.floor(t.y)+"px"),this.options.enable.x&&(this.options.constraint.left&&t.x>=this.options.constraint.left&&(t.x=this.options.constraint.left),this.options.constraint.right&&t.x<this.options.constraint.right&&(t.x=this.options.constraint.right),e.left=Math.floor(t.x)+"px"),this.animator=lt(this._el.move,e),this.fire("momentum",this.data)}}q(Ue,ot);class Xe{constructor(t,e,i,n){this.language=n,this._el={parent:{},container:{},slider:{},slider_background:{},line:{},marker_container_mask:{},marker_container:{},marker_item_container:{},timeaxis:{},timeaxis_background:{}},this.collapsed=!1,this._el.container="object"==typeof t?t:b(t),this._el.container.setAttribute("tabindex","0"),this._el.container.setAttribute("role","application"),this._el.container.setAttribute("aria-label",this._("aria_label_timeline_navigation")),this._el.container.setAttribute("aria-description",'Navigate between markers with arrow keys. Press "Home" for the first and "End" for the last markers'),this.config=e,this.options={width:600,height:600,duration:1e3,ease:at,has_groups:!1,optimal_tick_width:50,scale_factor:2,marker_padding:5,timenav_height_min:150,marker_height_min:30,marker_width_min:100,zoom_sequence:[.5,1,2,3,5,8,13,21,34,55,89]},this.animator=null,this.ready=!1,this._markers=[],this._eras=[],this.has_eras=!1,this._groups=[],this._calculated_row_height=100,this.current_id="",this.current_focused_id="",this.timescale={},this.timeaxis={},this.max_rows=6,this.animate_css=!1,this._swipable,C(this.options,i)}init(){this._initLayout(),this._initEvents(),this._initData(),this.updateDisplay(),this._onLoaded()}positionMarkers(t){for(var e=0;e<this._markers.length;e++){var i=this.timescale.getPositionInfo(e);t?this._markers[e].setClass("tl-timemarker tl-timemarker-fast"):this._markers[e].setClass("tl-timemarker"),this._markers[e].setPosition({left:i.start}),this._markers[e].setWidth(i.width)}}updateDisplay(t,e,i){let n=!1;t&&(0==this.options.width&&t>0&&(n=!0),this.options.width=t),e&&e!=this.options.height&&(this.options.height=e,this.timescale=this._getTimeScale()),this._assignRowsToMarkers(),this._el.slider_background.style.width=this.timescale.getPixelWidth()+this.options.width+"px",this._el.slider_background.style.left=-this.options.width/2+"px",this._el.slider.style.width=this.timescale.getPixelWidth()+this.options.width+"px",this._swipable.updateConstraint({top:!1,bottom:!1,left:this.options.width/2,right:-(this.timescale.getPixelWidth()-this.options.width/2)}),n&&this._drawTimeline(),this.goToId(this.current_id,!0)}_getTimeScale(){var t=0;try{t=parseInt(this.options.marker_height_min)}catch(e){I("Invalid value for marker_height_min option."),t=30}return 0==t&&(I("marker_height_min option must not be zero."),t=30),this.max_rows=Math.round((this.options.height-this._el.timeaxis_background.offsetHeight-this.options.marker_padding)/t),this.max_rows<1&&(this.max_rows=1),new he(this.config,{display_width:this._el.container.offsetWidth,screen_multiplier:this.options.scale_factor,max_rows:this.max_rows})}_updateTimeScale(t){this.options.scale_factor=t,this._updateDrawTimeline()}zoomIn(){var t=function(t,e,i){for(var n=0;n<t.length;n++)if(e<t[n])return t[n];return i||e}(this.options.zoom_sequence,this.options.scale_factor);this.setZoomFactor(t)}zoomOut(){var t=function(t,e,i){for(var n=t.length-1;n>=0;n--)if(e>t[n])return t[n];return i||e}(this.options.zoom_sequence,this.options.scale_factor);this.setZoomFactor(t)}setZoom(t){var e=this.options.zoom_sequence[t];"number"==typeof e?this.setZoomFactor(e):console.warn("Invalid zoom level. Please use an index number between 0 and "+(this.options.zoom_sequence.length-1))}setZoomFactor(t){t<=this.options.zoom_sequence[0]?this.fire("zoomtoggle",{zoom:"out",show:!1}):this.fire("zoomtoggle",{zoom:"out",show:!0}),t>=this.options.zoom_sequence[this.options.zoom_sequence.length-1]?this.fire("zoomtoggle",{zoom:"in",show:!1}):this.fire("zoomtoggle",{zoom:"in",show:!0}),0==t&&(console.warn("Zoom factor must be greater than zero. Using 0.1"),t=.1),this.options.scale_factor=t,this.goToId(this.current_id,!this._updateDrawTimeline(!0),!0)}_createGroups(){this._groups=[];var t=this.timescale.getGroupLabels();if(t){this.options.has_groups=!0;for(var e=0;e<t.length;e++)this._createGroup(t[e])}}_createGroup(t){var e=new de(t);this._addGroup(e),this._groups.push(e)}_addGroup(t){t.addTo(this._el.container)}_positionGroups(){if(this.options.has_groups)for(var t=this.options.height-this._el.timeaxis_background.offsetHeight,e=Math.floor(t/this.timescale.getNumberOfRows()-this.options.marker_padding),i=(this.timescale.getGroupLabels(),0),n=0;i<this._groups.length;i++){var s=Math.floor(n*(e+this.options.marker_padding)),a=!1;s>t-this.options.marker_padding&&(a=!0),this._groups[i].setRowPosition(s,this._calculated_row_height+this.options.marker_padding/2),this._groups[i].setAlternateRowColor(B(i),a),n+=this._groups[i].data.rows}}_addMarker(t){t.addTo(this._el.marker_item_container),t.on("markerclick",this._onMarkerClick,this),t.on("added",this._onMarkerAdded,this)}_createMarker(t,e){var i=new Ye(t,this.options);this._addMarker(i),e<0?this._markers.push(i):this._markers.splice(e,0,i)}_createMarkers(t){for(var e=0;e<t.length;e++)this._createMarker(t[e],-1)}_removeMarker(t){t.removeFrom(this._el.marker_item_container)}_destroyMarker(t){this._removeMarker(this._markers[t]),this._markers.splice(t,1)}_calculateMarkerHeight(t){return t/this.timescale.getNumberOfRows()-this.options.marker_padding}_calculateRowHeight(t){return t/this.timescale.getNumberOfRows()}_calculateAvailableHeight(){return this.options.height-this._el.timeaxis_background.offsetHeight-this.options.marker_padding}_calculateMinimumTimeNavHeight(){return this.timescale.getNumberOfRows()*this.options.marker_height_min+this._el.timeaxis_background.offsetHeight+this.options.marker_padding}getMinimumHeight(){return this._calculateMinimumTimeNavHeight()}_assignRowsToMarkers(){var t=this._calculateAvailableHeight(),e=this._calculateMarkerHeight(t);this._positionGroups(),this._calculated_row_height=this._calculateRowHeight(t);for(var i=0;i<this._markers.length;i++){this._markers[i].setHeight(e);var n=this.timescale.getPositionInfo(i).row,s=Math.floor(n*(e+this.options.marker_padding))+this.options.marker_padding,a=t-s+this.options.marker_padding;this._markers[i].setRowPosition(s,a)}}_resetMarkersActive(){for(var t=0;t<this._markers.length;t++)this._markers[t].setActive(!1)}_resetMarkersBlurListeners(){for(var t=0;t<this._markers.length;t++)this._markers[t].off("markerblur",this._onMarkerBlur,this)}_findMarkerIndex(t){var e=-1;return("string"==typeof t||t instanceof String)&&(e=W(t,this._markers,"unique_id",e)),e}_createEras(t){for(var e=0;e<t.length;e++){var i=t[e],n=new ce(i.start_date,i.end_date,i.headline,this.options);this._eras.push(n),n.addTo(this._el.marker_item_container),n.on("added",this._onEraAdded,this)}}_positionEras(t){for(var e=0,i=0;i<this._eras.length;i++){var n={start:0,end:0,width:0};n.start=this.timescale.getPosition(this._eras[i].start_date.getTime()),n.end=this.timescale.getPosition(this._eras[i].end_date.getTime()),n.width=n.end-n.start,t?this._eras[i].setClass("tl-timeera tl-timeera-fast"):this._eras[i].setClass("tl-timeera"),this._eras[i].setPosition({left:n.start}
4),this._eras[i].setWidth(n.width),++e>5&&(e=0),this._eras[i].setColor(e)}}createMarker(t,e){this._createMarker(t,e)}createMarkers(t){this._createMarkers(t)}destroyMarker(t){this._destroyMarker(t)}destroyMarkerId(t){this.destroyMarker(this._findMarkerIndex(t))}goTo(t,e,i){var n=this.options.ease,s=this.options.duration,a=t<0?0:t;this._resetMarkersActive(),t>=0&&t<this._markers.length&&this._markers[t].setActive(!0),this.animateMovement(a,e,i,s,n),t>=0&&t<this._markers.length?this.current_id=this.current_focused_id=this._markers[t].data.unique_id:this.current_id=this.current_focused_id="",this._setLabelWithCurrentMarker()}goToId(t,e,i){this.goTo(this._findMarkerIndex(t),e,i)}focusOn(t,e,i){const n=this.options.ease,s=this.options.duration,a=t<0?0:t;this.animateMovement(a,e,i,s,n),this._resetMarkersBlurListeners(),t>=0&&t<this._markers.length&&(this._markers[t].setFocus(),this.current_focused_id=this._markers[t].data.unique_id,this._markers[t].on("markerblur",this._onMarkerBlur,this))}focusNext(){const t=this._findMarkerIndex(this.current_focused_id);t+1<this._markers.length?this.focusOn(t+1):this.focusOn(t)}focusPrevious(){const t=this._findMarkerIndex(this.current_focused_id);t-1>=0?this.focusOn(t-1):this.focusOn(t)}animateMovement(t,e,i,n,s){this.animator&&this.animator.stop(),e?(this._el.slider.className="tl-timenav-slider",this._el.slider.style.left=-this._markers[t].getLeft()+this.options.width/2+"px"):i?(this._el.slider.className="tl-timenav-slider tl-timenav-slider-animate",this.animate_css=!0,this._el.slider.style.left=-this._markers[t].getLeft()+this.options.width/2+"px"):(this._el.slider.className="tl-timenav-slider",this.animator=lt(this._el.slider,{left:-this._markers[t].getLeft()+this.options.width/2+"px",duration:n,easing:s})),t>=0&&t<this._markers.length?this.current_id=this._markers[t].data.unique_id:this.current_id="",this._dispatchVisibleTicksChange()}goToId(t,e,i){this.goTo(this._findMarkerIndex(t),e,i)}_dispatchVisibleTicksChange(){this.ticks_change_timeout&&(clearTimeout(this.ticks_change_timeout),this.ticks_change_timeout=null),this.ticks_change_timeout=setTimeout((()=>{const t=this.timeaxis.getVisibleTicks();this.fire("visible_ticks_change",{visible_ticks:t})}),this.options.duration)}_onLoaded(){this.ready=!0,this.fire("loaded",this.config)}_onMarkerAdded(t){this.fire("dateAdded",this.config)}_onEraAdded(t){this.fire("eraAdded",this.config)}_onMarkerRemoved(t){this.fire("dateRemoved",this.config)}_onMarkerClick(t){this.goToId(t.unique_id),this.fire("change",{unique_id:t.unique_id})}_onMarkerBlur(t){this.current_focused_id!==this.current_id&&this.focusOn(this._findMarkerIndex(this.current_id))}_onMouseScroll(t){var e=0,i=0,n={right:-(this.timescale.getPixelWidth()-this.options.width/2),left:this.options.width/2};t||(t=window.event),t.originalEvent&&(t=t.originalEvent),void 0!==t.wheelDeltaX&&(e=t.wheelDeltaY/6,e=Math.abs(t.wheelDeltaX)>Math.abs(t.wheelDeltaY)?t.wheelDeltaX/6:0),e&&(t.preventDefault&&t.preventDefault(),t.returnValue=!1),(i=parseInt(this._el.slider.style.left.replace("px",""))+e)>n.left?i=n.left:i<n.right&&(i=n.right),this.animate_css&&(this._el.slider.className="tl-timenav-slider",this.animate_css=!1),this._el.slider.style.left=i+"px"}_onDragMove(t){this.animate_css&&(this._el.slider.className="tl-timenav-slider",this.animate_css=!1)}_onKeydown(t){switch(pt.stopPropagation(t),t.key){case"ArrowUp":case"ArrowRight":this.focusNext();break;case"ArrowDown":case"ArrowLeft":this.focusPrevious();break;case"Home":this.focusOn(0);break;case"End":this.focusOn(this._markers.length-1)}}_drawTimeline(t){this.timescale=this._getTimeScale(),this.timeaxis.drawTicks(this.timescale,this.options.optimal_tick_width),this.positionMarkers(t),this._assignRowsToMarkers(),this._createGroups(),this._positionGroups(),this.has_eras&&this._positionEras(t)}_updateDrawTimeline(t){var e=!1;if(t){var i=new he(this.config,{display_width:this._el.container.offsetWidth,screen_multiplier:this.options.scale_factor,max_rows:this.max_rows});this.timescale.getMajorScale()==i.getMajorScale()&&this.timescale.getMinorScale()==i.getMinorScale()&&(e=!0)}else e=!0;return e?(this.timescale=this._getTimeScale(),this.timeaxis.positionTicks(this.timescale,this.options.optimal_tick_width),this.positionMarkers(),this._assignRowsToMarkers(),this._positionGroups(),this.has_eras&&this._positionEras(),this.updateDisplay()):this._drawTimeline(!0),e}_setLabelWithCurrentMarker(){const t=this._markers[this._findMarkerIndex(this.current_focused_id)],e=t&&t.ariaLabel?`, ${t.ariaLabel}, shown`:"";this._el.container.setAttribute("aria-label",`Timeline navigation ${e}`)}_initLayout(){this._el.line=w("div","tl-timenav-line",this._el.container),this._el.slider=w("div","tl-timenav-slider",this._el.container),this._el.slider_background=w("div","tl-timenav-slider-background",this._el.slider),this._el.marker_container_mask=w("div","tl-timenav-container-mask",this._el.slider),this._el.marker_container=w("div","tl-timenav-container",this._el.marker_container_mask),this._el.marker_item_container=w("div","tl-timenav-item-container",this._el.marker_container),this._el.timeaxis=w("div","tl-timeaxis",this._el.slider),this._el.timeaxis_background=w("div","tl-timeaxis-background",this._el.container),this.timeaxis=new ue(this._el.timeaxis,this.options,this.language),this._swipable=new Ue(this._el.slider_background,this._el.slider,{enable:{x:!0,y:!1},constraint:{top:!1,bottom:!1,left:this.options.width/2,right:!1},snap:!1}),this._swipable.enable()}_initEvents(){this._swipable.on("dragmove",this._onDragMove,this),pt.addListener(this._el.container,"mousewheel",this._onMouseScroll,this),pt.addListener(this._el.container,"DOMMouseScroll",this._onMouseScroll,this),pt.addListener(this._el.container,"keydown",this._onKeydown,this)}_initData(){this._createMarkers(this.config.events),this.config.eras&&this.config.eras.length>0&&(this.has_eras=!0,this._createEras(this.config.eras)),this._drawTimeline()}}q(Xe,ot,dt,qt);i(1102);class Ge{constructor(t,e,i,n){n&&this.setLanguage(n),this._el={container:{},scroll_container:{},background:{},content_container:{},content:{}},this._media=null,this._mediaclass={},this._text={},this._background_media=null,this._state={loaded:!1},this.has={headline:!1,text:!1,media:!1,title:!1,background:{image:!1,
4color:!1,color_value:""}},this.has.title=i,this.data={unique_id:null,background:null,start_date:null,end_date:null,location:null,text:null,media:null,autolink:!0},this.options={duration:1e3,slide_padding_lr:40,ease:nt,width:600,height:600,skinny_size:650,media_name:""},this.active=!1,this.animator={},C(this.options,e),C(this.data,t),this._initLayout(),this._initEvents()}show(){this.animator=lt(this._el.slider_container,{left:-this._el.container.offsetWidth*n+"px",duration:this.options.duration,easing:this.options.ease})}hide(){}setActive(t){this.active=t,this.active?(this.data.background&&this.fire("background_change",this.has.background),this._setInteractive(!0),this.loadMedia()):(this.stopMedia(),this._setInteractive(!1))}addTo(t){t.appendChild(this._el.container)}removeFrom(t){t.removeChild(this._el.container)}updateDisplay(t,e,i){var n,s=this.options.slide_padding_lr,a=this.options.slide_padding_lr;this.options.width=t||this._el.container.offsetWidth,n=this.options.width-2*this.options.slide_padding_lr,l&&this.options.width<=this.options.skinny_size?(s=0,a=0,n=this.options.width):"landscape"==i||this.options.width<=this.options.skinny_size&&(s=50,a=50,n=this.options.width-s-a),this._el.content.style.paddingLeft=s+"px",this._el.content.style.paddingRight=a+"px",this._el.content.style.width=n+"px",this.options.height=e||this._el.container.offsetHeight,this._media&&(!this.has.text&&this.has.headline?this._media.updateDisplay(n,this.options.height-this._text.headlineHeight(),i):this.has.text||this.has.headline?this.options.width<=this.options.skinny_size?this._media.updateDisplay(n,this.options.height,i):this._media.updateDisplay(n/2,this.options.height,i):this._media.updateDisplay(n,this.options.height,i)),this._updateBackgroun
4dDisplay()}loadMedia(){var t=this;this._media&&!this._state.loaded&&(this._media.loadMedia(),this._state.loaded=!0),this._background_media&&!this._background_media._state.loaded&&(this._background_media.on("loaded",(function(){t._updateBackgroundDisplay()})),this._background_media.loadMedia())}stopMedia(){this._media&&this._state.loaded&&this._media.stopMedia()}getBackground(){return this.has.background}scrollToTop(){this._el.container.scrollTop=0}getFormattedDate(){if(z(this.data.display_date).length>0)return this.data.display_date;var t="";return this.has.title||(this.data.end_date&&(t=" — "+this.data.end_date.getDisplayDate(this.getLanguage())),this.data.start_date&&(t=this.data.start_date.getDisplayDate(this.getLanguage())+t)),t}_initLayout(){if(this._el.container=w("div","tl-slide"),this.has.title&&(this._el.container.className="tl-slide tl-slide-titleslide"),this.data.unique_id&&(this._el.container.id=this.data.unique_id),this._el.scroll_container=w("div","tl-slide-scrollable-container",this._el.container),this._el.content_container=w("div","tl-slide-content-container",this._el.scroll_container),this._el.content=w("div","tl-slide-content",this._el.content_container),this._el.background=w("div","tl-slide-background",this._el.container),this.data.background){if(this.data.background.url){var t=$e(this.data.background,!0);t&&(this._background_media=new t.cls(this.data.background,{background:1}),this.has.background.image=!0,this._el.container.className+=" tl-full-image-background",this.has.background.color_value="#000",this._el.background.style.display="block"),this.data.background.alt&&(this._el.background.setAttribute("role","img"),this._el.background.setAttribute("aria-label",this.data.background.alt))}this.data.background.color&&(this.has.background.color=!0,this._el.container.className+=" tl-full-color-background",this.has.background.color_value=this.data.background.color),this.data.background.text_background&&(this._el.container.className+=" tl-text-background")}this.data.media&&this.data.media.url&&""!=this.data.media.url&&(this.has.media=!0),this.data.text&&this.data.text.text&&(this.has.text=!0),this.data.text&&this.data.text.headline&&(this.has.headline=!0),this.has.media&&(this.data.media.mediatype=$e(this.data.media),this.options.media_name=this.data.media.mediatype.name,this.options.media_type=this.data.media.mediatype.type,this.options.autolink=this.data.autolink,this._media=new this.data.media.mediatype.cls(this.data.media,this.options,this.getLanguage())),(this.has.text||this.has.headline)&&(this._text=new pe(this.data.text,{title:this.has.title,language:this.getLanguage(),autolink:this.data.autolink}),this._text.addDateText(this.getFormattedDate())),this.has.text||this.has.headline||!this.has.media?this.has.headline&&this.has.media&&!this.has.text?(E(this._el.container,"tl-slide-media-only"),this._text.addTo(this._el.content),this._media.addTo(this._el.content)):this.has.text&&this.has.media?(this._text.addTo(this._el.content),this._media.addTo(this._el.content)):(this.has.text||this.has.headline)&&(E(this._el.container,"tl-slide-text-only"),this._text.addTo(this._el.content)):(E(this._el.container,"tl-slide-media-only"),this._media.addTo(this._el.content)),this.onLoaded()}_initEvents(){}
4_updateBackgroundDisplay(){this._background_media&&this._background_media._state.loaded&&(this._el.background.style.backgroundImage="url('"+this._background_media.getImageURL(this.options.width,this.options.height)+"')")}_setInteractive(t){t?this._el.container.removeAttribute("inert"):this._el.container.setAttribute("inert",!0)}}q(Ge,qt,ot,dt);class Ve{constructor(t,e,i){this._el={container:{},content_container:{},icon:{},title:{},description:{}},this.mediatype={},this.data={title:"Navigation",description:"Description",date:"Date"},this.options={direction:"previous"},this.animator=null,C(this.options,e),C(this.data,t),this._el.container=w("button","tl-slidenav-"+this.options.direction),l&&this._el.container.setAttribute("ontouchstart"," "),this._initLayout(),this._initEvents(),i&&i.appendChild(this._el.container)}update(t){var e={title:"",description:"",date:t.getFormattedDate()};t.data.text&&t.data.text.headline&&(e.title=t.data.text.headline),this._update(e)}setColor(t){this._el.content_container.className=t?"tl-slidenav-content-container tl-slidenav-inverted":"tl-slidenav-content-container"}_onMouseClick(){this.fire("clicked",this.options)}_update(t){this.data=C(this.data,t);const e=$(this.data.title);this._el.title.innerHTML=e;const i=$(this.data.date);this._el.description.innerHTML=i,this._el.container.setAttribute("aria-label",`${this.options.direction}, ${e}, ${i}`)}_initLayout(){this._el.content_container=w("div","tl-slidenav-content-container",this._el.container),this._el.icon=w("div","tl-slidenav-icon",this._el.content_container),this._el.title=w("div","tl-slidenav-title",this._el.content_container),this._el.description=w("div","tl-slidenav-description",this._el.content_container),this._el.icon.innerHTML=" ",this._update()}_initEvents(){pt.addListener(this._el.container,"click",this._onMouseClick,this)}}q(Ve,dt,ot);class Ze{constructor(t,e,i,n){n&&this.setLanguage(n),this._el={container:{},background:{},slider_container_mask:{},slider_container:{},slider_item_container:{}},this._nav={},this._nav.previous={},this._nav.next={},this.slide_spacing=0,this._slides=[],this._swipable,this.preloadTimer,this._message,this.current_id="",this.data={},this.options={id:"",layout:"portrait",width:600,height:600,default_bg_color:{r:255,g:255,b:255},slide_padding_lr:40,start_at_slide:1,slide_default_fade:"0%",duration:1e3,ease:at,dragging:!0,trackResize:!0},"object"==typeof t?(this._el.container=t,this.options.id=F(6,"tl")):(this.options.id=t,this._el.container=b(t)),this._el.container.id||(this._el.container.id=this.options.id),this.animator=null,C(this.options,i),C(this.data,e)}init(){this._initLayout(),this._initEvents(),this._initData(),this.updateDisplay(),this.goTo(this.options.start_at_slide),this._onLoaded()}_addSlide(t){t.addTo(this._el.slider_item_container),t.on("added",this._onSlideAdded,this),t.on("background_change",this._onBackgroundChange,this)}_createSlide(t,e,i){var n=new Ge(t,this.options,e,this.getLanguage());this._addSlide(n),i<0?this._slides.push(n):this._slides.splice(i,0,n)}_createSlides(t){for(var e=0;e<t.length;e++)""==t[e].unique_id&&(t[e].unique_id=F(6,"tl-slide")),this._createSlide(t[e],!1,-1)}_removeSlide(t){t.removeFrom(this._el.slider_item_container),t.off("added",this._onSlideRemoved,this),t.off("background_change",this._onBackgroundChange)}_destroySlide(t){this._removeSlide(this._slides[t]),this._slides.splice(t,1)}_findSlideIndex(t){var e=t;return("string"==typeof t||t instanceof String)&&(e=W(t,this._slides,"unique_id")),e}updateDisplay(t,e,i,n){var s,a;a=void 0===n?this.options.layout:n,this.options.layout=a,this.options.width=t||this._el.container.offsetWidth,this.options.height=e||this._el.container.offsetHeight,this.slide_spacing=2*this.options.width,s=this.options.height/2,this._nav.next.setPosition({top:s}),this._nav.previous.setPosition({top:s});for(var r=0;r<this._slides.length;r++)this._slides[r].updateDisplay(this.options.width,this.options.height,a),this._slides[r].setPosition({left:this.slide_spacing*r,top:0});this.goToId(this.current_id,!0,!0)}createSlide(t,e){this._createSlide(t,!1,e)}createSlides(t){this._createSlides(t)}destroySlide(t){this._destroySlide(t)}destroySlideId(t){this.destroySlide(this._findSlideIndex(t))}goTo(t,e,i){t=parseInt(t),isNaN(t)&&(t=0);var n=this;
4this.changeBackground({color_value:"",image:!1}),this.preloadTimer&&clearTimeout(this.preloadTimer);for(var s=0;s<this._slides.length;s++)this._slides[s].setActive(!1);t<this._slides.length&&t>=0&&(this.current_id=this._slides[t].data.unique_id,this.animator&&this.animator.stop(),this._swipable&&this._swipable.stopMomentum(),e?(this._el.slider_container.style.left=-this.slide_spacing*t+"px",this._onSlideChange(i)):this.animator=lt(this._el.slider_container,{left:-this.slide_spacing*t+"px",duration:this.options.duration,easing:this.options.ease,complete:this._onSlideChange(i)}),this._slides[t].setActive(!0),this._slides[t+1]?(this.showNav(this._nav.next,!0),this._nav.next.update(this._slides[t+1])):this.showNav(this._nav.next,!1),this._slides[t-1]?(this.showNav(this._nav.previous,!0),this._nav.previous.update(this._slides[t-1])):this.showNav(this._nav.previous,!1),this.preloadTimer=setTimeout((function(){n.preloadSlides(t)}),this.options.duration))}goToId(t,e,i){this.goTo(this._findSlideIndex(t),e,i)}preloadSlides(t){this._slides[t+1]&&(this._slides[t+1].loadMedia(),this._slides[t+1].scrollToTop()),this._slides[t+2]&&(this._slides[t+2].loadMedia(),this._slides[t+2].scrollToTop()),this._slides[t-1]&&(this._slides[t-1].loadMedia(),this._slides[t-1].scrollToTop()),this._slides[t-2]&&(this._slides[t-2].loadMedia(),this._slides[t-2].scrollToTop())}next(){var t=this._findSlideIndex(this.current_id);t+1<this._slides.length?this.goTo(t+1):this.goTo(t)}previous(){var t=this._findSlideIndex(this.current_id);t-1>=0?this.goTo(t-1):this.goTo(t)}showNav(t,e){this.options.width<=500&&l?t.hide():e?t.show():t.hide()}changeBackground(t){var e={r:256,g:256,b:256};t.color_value&&""!=t.color_value?(e=A(t.color_value))||(I("Invalid color value "+t.color_value),e=this.options.default_bg_color):(e=this.options.default_bg_color,t.color_value="rgb("+e.r+" , "+e.g+", "+e.b+")"),e.r,e.g,e.b,this._el.background.style.backgroundImage="none",t.color_value?this._el.background.style.backgroundColor=t.color_value:this._el.background.style.backgroundColor="transparent",e.r<255||e.g<255||e.b<255||t.image?(this._nav.next.setColor(!0),this._nav.previous.setColor(!0)):(this._nav.next.setColor(!1),this._nav.previous.setColor(!1))}_updateDrawSlides(){for(var t=this.options.layout,e=0;e<this._slides.length;e++)this._slides[e].updateDisplay(this.options.width,this.options.height,t),this._slides[e].setPosition({left:this.slide_spacing*e,top:0});this.goToId(this.current_id,!0,!1)}_initLayout(){E(this._el.container,"tl-storyslider"),this._nav.previous=new Ve({title:"Previous",description:"description"},{direction:"previous"},this._el.container),this._nav.next=new Ve({title:"Next",description:"description"},{direction:"next"},this._el.container),this._el.slider_container_mask=w("div","tl-slider-container-mask",this._el.container),this._el.background=w("div","tl-slider-background tl-animate",this._el.container),this._el.slider_container=w("div","tl-slider-container tlanimate",this._el.slider_container_mask),this._el.slider_item_container=w("div","tl-slider-item-container",this._el.slider_container),this._el.slider_container.setAttribute("aria-live","polite"),this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this._el.slider_container.style.left="0px",y&&(this._swipable=new Ue(this._el.slider_container_mask,this._el.slider_container,{enable:{x:!0,y:!1},snap:!0}),this._swipable.enable(),this._message=new Ht(this._el.container,{message_class:"tl-message-full",message_icon_class:"tl-icon-swipe-left"},this.getLanguage()),this._message.updateMessage(this._("swipe_to_navigate")),this._message.addTo(this._el.container))}_initEvents(){this._nav.next.on("clicked",this._onNavigation,this),this._nav.previous.on("clicked",this._onNavigation,this),this._message&&this._message.on("clicked",this._onMessageClick,this),this._swipable&&(this._swipable.on("swipe_left",this._onNavigation,this),this._swipable.on("swipe_right",this._onNavigation,this),this._swipable.on("swipe_nodirection",this._onSwipeNoDirection,this))}_initData(){this.data.title&&this._createSlide(this.data.title,!0,-1),this._createSlides(this.data.events)}
4_onBackgroundChange(t){var e=this._findSlideIndex(this.current_id),i=this._slides[e].getBackground();this.changeBackground(t),this.fire("colorchange",i)}_onMessageClick(t){this._message.hide()}_onSwipeNoDirection(t){this.goToId(this.current_id)}_onNavigation(t){"next"==t.direction||"left"==t.direction?this.next():"previous"!=t.direction&&"right"!=t.direction||this.previous(),this.fire("nav_"+t.direction,this.data)}_onSlideAdded(t){I("slideadded"),this.fire("slideAdded",this.data)}_onSlideRemoved(t){this.fire("slideRemoved",this.data)}_onSlideChange(t){t||this.fire("change",{unique_id:this.current_id})}_onMouseClick(t){}_fireMouseEvent(t){if(this._loaded){var e=t.type;e="mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,this.hasEventListeners(e)&&("contextmenu"===e&&pt.preventDefault(t),this.fire(e,{latlng:"something",layerPoint:"something else"}))}}_onLoaded(){this.fire("loaded",this.data)}}q(Ze,qt,ot);class Je{constructor(t,e,i,n){this._el={parent:{},container:{},button_forwardtoend:{},button_backtostart:{},button_zoomin:{},button_zoomout:{},arrow:{},line:{},coverbar:{},grip:{}},this.collapsed=!1,this._el.container="object"==typeof t?t:b(t),e&&(this._el.parent=e),this.data={visible_ticks_dates:{}},this.options={width:600,height:600,duration:1e3,ease:at,menubar_default_y:0},this.animator={},this.setLanguage(n),C(this.options,i),this._initLayout(),this._initEvents()}show(t){this.options.duration}hide(t){}toogleZoomIn(t){t?this._el.button_zoomin.removeAttribute("disabled"):this._el.button_zoomin.setAttribute("disabled",!0)}toogleZoomOut(t){t?this._el.button_zoomout.removeAttribute("disabled"):this._el.button_zoomout.setAttribute("disabled",!0)}changeVisibleTicks(t){const e=t.minor;if(!e.length)return void(this.data.visible_ticks_dates={});const i=e[0].date.getFullYear(),n=e[e.length-1].date.getFullYear();this.data.visible_ticks_dates={start:i,end:n},this._updateZoomAriaLabels()}setSticky(t){this.options.menubar_default_y=t}setColor(t){this._el.container.className=t?"tl-menubar tl-menubar-inverted":"tl-menubar"}updateDisplay(t,e,i,n){this._updateDisplay(t,e,i,n)}_onButtonZoomIn(t){this.fire("zoom_in",t)}_onButtonZoomOut(t){this.fire("zoom_out",t)}_onButtonForwardToEnd(t){this.fire("forward_to_end",t)}_onButtonBackToStart(t){this.fire("back_to_start",t)}_initLayout(){this._el.button_zoomin=w("button","tl-menubar-button",this._el.container),this._el.button_zoomout=w("button","tl-menubar-button",this._el.container),this._el.button_forwardtoend=w("button","tl-menubar-button",this._el.container),this._el.button_backtostart=w("button","tl-menubar-button",this._el.container),l&&this._el.container.setAttribute("ontouchstart"," "),this._el.button_backtostart.innerHTML="<span class='tl-icon-goback'></span>",this._el.button_backtostart.setAttribute("aria-label",this._("return_to_title")),this._el.button_forwardtoend.innerHTML="<span class='tl-icon-goend'></span>",this._el.button_forwardtoend.setAttribute("aria-label",this._("go_to_end")),this._el.button_zoomin.innerHTML="<span class='tl-icon-zoom-in'></span>",this._el.button_zoomin.setAttribute("aria-label",this._("zoom_in")),this._el.button_zoomout.innerHTML="<span class='tl-icon-zoom-out'></span>",this._el.button_zoomout.setAttribute("aria-label",this._("zoom_out"))}_initEvents(){pt.addListener(this._el.button_forwardtoend,"click",this._onButtonForwardToEnd,this),pt.addListener(this._el.button_backtostart,"click",this._onButtonBackToStart,this),pt.addListener(this._el.button_zoomin,"click",this._onButtonZoomIn,this),pt.addListener(this._el.button_zoomout,"click",this._onButtonZoomOut,this)}_updateDisplay(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}_updateZoomAriaLabels(){0==Object.keys(this.data.visible_ticks_dates).length?(this._el.button_zoomin.setAttribute("aria-description",""),this._el.button_zoomout.setAttribute("aria-description","")):(this._el.button_zoomin.setAttribute("aria-description",this._("aria_label_zoomin",this.data.visible_ticks_dates)),this._el.button_zoomout.setAttribute("aria-description",this._("aria_label_zoomout",this.data.visible_ticks_dates)))}}q(Je,dt,ot,qt);let Ke=null;if(document){let t=document.getElementsByTagName("script");t&&t.length>0&&(Ke=t[t.length-1].src)}class Qe{constructor(t,e,i){if(i||(i={}),this.ready=!1,this._el={container:b(t),storyslider:{},timenav:{},menubar:{}},i.lang&&!i.language&&(i.language=i.lang),this.language=zt,this._storyslider={},this._timenav={},this._menubar={},this._loaded={storyslider:!1,timenav:!1},this.config=null,this.options={script_path:"https://cdn.knightlab.com/libs/timeline3/latest/js/",height:this._el.container.offsetHeight,width:this._el.container.offsetWidth,debug:!1,font:"default",is_embed:!1,is_full_embed:!1,hash_bookmark:!1,default_bg_color:{r:255,g:255,b:255},scale_factor:2,layout:"landscape",timenav_position:"bottom",optimal_tick_width:60,base_class:"tl-timeline",timenav_height:null,timenav_height_percentage:25,timenav_mobile_height_percentage:40,timenav_height_min:175,marker_height_min:30,marker_width_min:100,marker_padding:5,start_at_slide:0,start_at_end:!1,menubar_height:0,skinny_size:650,medium_size:800,use_bc:!1,duration:1e3,ease:at,dragging:!0,trackResize:!0,map_type:"stamen:toner
4-lite",slide_padding_lr:100,slide_default_fade:"0%",zoom_sequence:[.5,1,2,3,5,8,13,21,34,55,89],language:"en",ga_property_id:null,track_events:["back_to_start","nav_next","nav_previous","zoom_in","zoom_out"],theme:null,sheets_proxy:"https://sheets-proxy.knightlab.com/proxy/",soundcite:!1},this.animator_timenav=null,this.animator_storyslider=null,this.animator_menubar=null,this.message=new Ht(this._el.container,{message_class:"tl-message-full"}),"string"==typeof i.default_bg_color){var n=A(i.default_bg_color);n?i.default_bg_color=n:(delete i.default_bg_color,I("Invalid default background color. Ignoring."))}var s,a;C(this.options,i),this.options.script_path||(this.options.script_path=this.determineScriptPath()),i.soundcite&&this.on("ready",(()=>{I("Loading Soundcite resources "),_e("https://cdn.knightlab.com/libs/soundcite/latest/css/player.css"),ge("https://cdn.knightlab.com/libs/soundcite/latest/js/soundcite.min.js")})),this._loadStyles(),document.addEventListener("keydown",(s=this,function(t){if(s.config){var e=t.key,i=s._getSlideIndex(self.current_id),n=s.config.events.length-1,a=s.config.title?n+1:n;"ArrowLeft"==e?0!=i&&s.goToPrev():"ArrowRight"==e&&i!=a&&s.goToNext()}})),window.addEventListener("resize",function(t){this.updateDisplay()}.bind(this)),this.options.debug&&(a=console.log,N.push(a)),E(this._el.container,"tl-timeline"),this._el.container.setAttribute("tabindex","0"),this._el.container.setAttribute("role","region"),this._el.container.setAttribute("aria-label",this._("aria_label_timeline")),this.options.is_embed&&E(this._el.container,"tl-timeline-embed"),this.options.is_full_embed&&E(this._el.container,"tl-timeline-full-embed"),this._loadLanguage(e)}_loadStyles(){let t=null,e=null;if(this.options.font&&(0==this.options.font.indexOf("http")||this.options.font.match(/\.css$/)))t=this.options.font;else if(this.options.font){let e="../css/fonts/font."+this.options.font.toLowerCase()+".css";t=new URL(e,this.options.script_path).toString()}if(t&&_e(t),this.options.theme&&(0==this.options.theme.indexOf("http")||this.options.theme.match(/\.css$/)))e=this.options.theme;else if(this.options.theme){let t="../css/themes/timeline.theme."+this.options.theme.toLowerCase()+".css";e=new URL(t,this.options.script_path).toString()}e&&_e(e)}_loadLanguage(t){try{var e=this.options.language,i=this.options.script_path;(async function(t,e){var i=jt(t,e);try{if(!Rt[t]){let e=await _t(i);Rt[t]=e}return new Ot(t,e)}catch(t){return console.log(`Error loading language [${i}] ${t.statusText}`),null}})(e,i).then((i=>{i?(this.language=i,this.message.setLanguage(this.language),this.showMessage(this._("loading_timeline"))):this.showMessage(`Error loading ${e}`),this._initData(t)}))}catch(t){this.showMessage(this._translateError(t))}}_initData(t){"string"==typeof t?se(t,{callback:function(t){this.setConfig(t)}.bind(this),sheets_proxy:this.options.sheets_proxy}):Kt==t.constructor?this.setConfig(t):this.setConfig(new Kt(t))}_translateError(t){return t.hasOwnProperty("stack")&&I(t.stack),t.message_key?this._(t.message_key)+(t.detail?" ["+t.detail+"]":""):t}showMessage(t){this.message?this.message.updateMessage(t):(I("No message display available."),I(t))}determineScriptPath(){let t=null;if(Ke)t=Ke;else{let e=document.getElementById("timeline-script-tag");e&&(t=e.src)}if(!t){let e=document.getElementsByTagName("script");for(let i=e.length-1;i>=0;i--)if(e[i].src){t=e[i].src;break}}return t?t.substr(0,t.lastIndexOf("/")+1):""}setConfig(t){if(this.config=t,this.config.isValid()&&(this.config.validate(),this._validateOptions()),this.config.isValid())try{"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this._onDataLoaded.bind(this)):this._onDataLoaded()}catch(t){this.showMessage("<strong>"+this._("error")+":</strong> "+this._translateError(t))}else{for(var e=[],i=0,n=this.config.getErrors();i<n.length;i++)e.push(this._translateError(n[i]));this.showMessage("<strong>"+this._("error")+":</strong> "+e.join("<br>"))}}_onDataLoaded(){this.fire("dataloaded"),this._initLayout(),this._initEvents(),this._initAnalytics(),this.message&&this.message.hide();new IntersectionObserver(((t,e)=>{t.reduce(((t,e)=>t||e.isIntersecting),!1)&&this.updateDisplay()}).bind(this)).observe(this._el.container),this.ready=!0,this.fire("ready")}_initLayout(){this.message.removeFrom(this._el.container),this._el.container.innerHTML="","top"==this.options.timenav_position?(this._el.timenav=w("div","tl-timenav",this._el.container),this._el.menubar=w("div","tl-menubar",this._el.container),this._el.storyslider=w("div","tl-storyslider",this._el.container)):(this._el.storyslider=w("div","tl-storyslider",this._el.container),this._el.timenav=w("div","tl-timenav",this._el.container),this._el.menubar=w("div","tl-menubar",this._el.container)),this._el.attribution=w("div","tl-attribution",this._el.container),this._el.attribution.innerHTML="<a href='https://timeline.knightlab.com' target='_blank' rel='noopener'><span class='tl-knightlab-logo'></span>TimelineJS</a>",this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this.options.timenav_height=this._calculateTimeNavHeight(this.options.timenav_height),this._timenav=new Xe(this._el.timenav,this.config,this.options,this.language),this._timenav.on("loaded",this._onTimeNavLoaded,this),this._timenav.options.height=this.options.timenav_height,this._timenav.init(),this.options.initial_zoom&&this.setZoom(this.options.initial_zoom),this._storyslider=new Ze(this._el.storyslider,this.config,this.options,this.language),this._el.storyslider.setAttribute("role","group"),this._el.storyslider.setAttribute("aria-label",this._("aria_label_timeline_content")),this._storyslider.on("loaded",this._onStorySliderLoaded,this),this._storyslider.init(),this._menubar=ne
4w Je(this._el.menubar,this._el.container,this.options,this.getLanguage()),"portrait"==this.options.layout?this.options.storyslider_height=this.options.height-this.options.timenav_height-1:this.options.storyslider_height=this.options.height-1,this._updateDisplay(this._timenav.options.height,!0,2e3)}_initEvents(){this._timenav.on("change",this._onTimeNavChange,this),this._timenav.on("zoomtoggle",this._onZoomToggle,this),this._timenav.on("visible_ticks_change",this._onVisibleTicksChange,this),this._storyslider.on("change",this._onSlideChange,this),this._storyslider.on("colorchange",this._onColorChange,this),this._storyslider.on("nav_next",this._onStorySliderNext,this),this._storyslider.on("nav_previous",this._onStorySliderPrevious,this),this._menubar.on("zoom_in",this._onZoomIn,this),this._menubar.on("zoom_out",this._onZoomOut,this),this._menubar.on("forward_to_end",this._onForwardToEnd,this),this._menubar.on("back_to_start",this._onBackToStart,this)}_onColorChange(t){this.fire("color_change",{unique_id:this.current_id},this)}_onSlideChange(t){this.current_id!=t.unique_id&&(this.current_id=t.unique_id,this._timenav.goToId(this.current_id),this._onChange(t))}_onTimeNavChange(t){this.current_id!=t.unique_id&&(this.current_id=t.unique_id,this._storyslider.goToId(this.current_id),this._onChange(t))}_onZoomToggle(t){"in"==t.zoom?this._menubar.toogleZoomIn(t.show):"out"==t.zoom&&this._menubar.toogleZoomOut(t.show)}_onChange(t){this.fire("change",{unique_id:this.current_id},this),this.options.hash_bookmark&&this.current_id&&this._updateHashBookmark(this.current_id)}_onVisibleTicksChange(t){this._menubar.changeVisibleTicks(t.visible_ticks)}_onForwardToEnd(t){this.goToEnd(),this.fire("forward_to_end",{unique_id:this.current_id},this)}_onBackToStart(t){this.goToStart(),this.fire("back_to_start",{unique_id:this.current_id},this)}_onZoomIn(t){this._timenav.zoomIn(),this.fire("zoom_in",{zoom_level:this._timenav.options.scale_factor},this)}_onZoomOut(t){this._timenav.zoomOut(),this.fire("zoom_out",{zoom_level:this._timenav.options.scale_factor},this)}_onTimeNavLoaded(){this._loaded.timenav=!0,this._onLoaded()}_onStorySliderLoaded(){this._loaded.storyslider=!0,this._onLoaded()}_onStorySliderNext(t){this.fire("nav_next",t)}_onStorySliderPrevious(t){this.fire("nav_previous",t)}_updateDisplay(t,e,i){var n,s=this.options.duration,a=this.options.base_class,r=0;i&&(s=i),this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this.options.width<=this.options.skinny_size?(a+=" tl-skinny",this.options.layout="portrait"):this.options.width<=this.options.medium_size?(a+=" tl-medium",this.options.layout="landscape"):this.options.layout="landscape",y&&(this.options.layout=(n="portrait",window.innerWidth>window.innerHeight&&(n="landscape"),Math.abs(window.orientation),n)),l?(a+=" tl-mobile",this.options.timenav_height=this._calculateTimeNavHeight(t,this.options.timenav_mobile_height_percentage)):this.options.timenav_height=this._calculateTimeNavHeight(t),"portrait"==this.options.layout?a+=" tl-layout-portrait":a+=" tl-layout-landscape",this.options.storyslider_height=this.options.height-this.options.timenav_height,r="top"==this.options.timenav_position?Math.ceil(this.options.timenav_height)/2-this._el.menubar.offsetHeight/2-19.5:Math.round(this.options.storyslider_height+1+Math.ceil(this.options.timenav_height)/2-this._el.menubar.offsetHeight/2-17.5),e?(this._el.timenav.style.height=Math.ceil(this.options.timenav_height)+"px",this.animator_storyslider&&this.animator_storyslider.stop(),this.animator_storyslider=lt(this._el.storyslider,{height:this.options.storyslider_height+"px",duration:s/2,easing:st}),this.animator_menubar&&this.animator_menubar.stop(),this.animator_menubar=lt(this._el.menubar,{top:r+"px",duration:s/2,easing:st})):(this._el.timenav.style.height=Math.ceil(this.options.timenav_height)+"px",this._el.storyslider.style.height=this.options.storyslider_height+"px",this._el.menubar.style.top=r+"px"),this.message&&this.message.updateDisplay(this.options.width,this.options.height),this._timenav.updateDisplay(this.options.width,this.options.timenav_height,e),this._storyslider.updateDisplay(this.options.width,this.options.storyslider_height,e,this.options.layout),"rtl"==this.language.direction&&(a+=" tl-rtl"),this._el.container.className=a}_calculateTimeNavHeight(t,e){var i=0;return t?i=t:(this.options.timenav_height_percentage||e)&&(i=e?Math.round(this.options.height/100*e):Math.round(this.options.height/100*this.options.timenav_height_percentage)),this._timenav.ready&&this.options.timenav_height_min<this._timenav.getMinimumHeight()&&(this.options.timenav_height_min=this._timenav.getMinimumHeight()),i<this.options.timenav_height_min&&(i=this.options.timenav_height_min),i-=2*this.options.marker_padding}_validateOptions(){for(var t=["timenav_height","timenav_height_min","marker_height_min","marker_width_min","marker_padding","start_at_slide","slide_padding_lr"],e=0;e<t.length;e++){var i=t[e],n=this.options[i];let s=!0;"number"==typeof n?s=n==parseInt(n):"string"==typeof n&&(s=n.match(/^\s*(\-?\d+)?\s*$/)),s||this.config.logError({message_key:"invalid_integer_option",detail
4:i})}}_getSlideIndex(t){if(this.config){if(this.config.title&&this.config.title.unique_id==t)return 0;for(var e=0;e<this.config.events.length;e++)if(t==this.config.events[e].unique_id)return this.config.title?e+1:e}return-1}_getEventIndex(t){for(var e=0;e<this.config.events.length;e++)if(t==this.config.events[e].unique_id)return e;return-1}_onLoaded(){if(this._loaded.storyslider&&this._loaded.timenav&&(this.fire("loaded",this.config),null!=(t=this.options.start_at_end)&&(1==t||"true"==String(t).toLowerCase()||1==Number(t))||this.options.start_at_slide>this.config.events.length?this.goToEnd():this.goTo(this.options.start_at_slide),this.options.hash_bookmark)){""!=window.location.hash?this.goToId(window.location.hash.replace("#event-","")):this._updateHashBookmark(this.current_id);let t=this;window.addEventListener("hashchange",(function(){0==window.location.hash.indexOf("#event-")&&t.goToId(window.location.hash.replace("#event-",""))}),!1)}var t}_updateHashBookmark(t){if(t){var e="#event-"+t.toString();window.history.replaceState(null,"Browsing TimelineJS",e),this.fire("hash_updated",{unique_id:this.current_id,hashbookmark:"#event-"+t.toString()},this)}}zoomIn(){this._timenav.zoomIn()}zoomOut(){this._timenav.zoomOut()}setZoom(t){this._timenav.setZoom(t)}goToId(t){this.current_id!=t&&(this.current_id=t,this._timenav.goToId(this.current_id),this._storyslider.goToId(this.current_id,!1,!0),this.fire("change",{unique_id:this.current_id},this))}goTo(t){if(!(t<0))try{this.config.title?0===t?this.goToId(this.config.title.unique_id):this.goToId(this.config.events[t-1].unique_id):this.goToId(this.config.events[t].unique_id)}catch{return}}goToStart(){this.goTo(0)}goToEnd(){var t=this.config.events.length-1;this.goTo(this.config.title?t+1:t)}goToPrev(){this.goTo(this._getSlideIndex(this.current_id)-1),this.focusContainer()}goToNext(){this.goTo(this._getSlideIndex(this.current_id)+1),this.focusContainer()}add(t){var e=this.config.addEvent(t),i=this._getEventIndex(e),n=this.config.events[i];this._storyslider.createSlide(n,this.config.title?i+1:i),this._storyslider._updateDrawSlides(),this._timenav.createMarker(n,i),this._timenav._updateDrawTimeline(!1),this.fire("added",{unique_id:e})}remove(t){if(t>=0&&t<this.config.events.length){this.config.events[t].unique_id==this.current_id&&(t<this.config.events.length-1?this.goTo(t+1):this.goTo(t-1));var e=this.config.events.splice(t,1);delete this.config.event_dict[e[0].unique_id],this._storyslider.destroySlide(this.config.title?t+1:t),this._storyslider._updateDrawSlides(),this._timenav.destroyMarker(t),this._timenav._updateDrawTimeline(!1),this.fire("removed",{unique_id:e[0].unique_id})}}removeId(t){this.remove(this._getEventIndex(t))}getData(t){if(this.config.title){if(0==t)return this.config.title;if(t>0&&t<=this.config.events.length)return this.config.events[t-1]}else if(t>=0&&t<this.config.events.length)return this.config.events[t];return null}getDataById(t){return this.getData(this._getSlideIndex(t))}getSlide(t){return t>=0&&t<this._storyslider._slides.length?this._storyslider._slides[t]:null}getSlideById(t){return this.getSlide(this._getSlideIndex(t))}getCurrentSlide(){return this.getSlideById(this.current_id)}updateDisplay(){this.ready?this._updateDisplay():I("updateDisplay called but timeline is not in ready state")}focusContainer(){this._el.container.focus()}_initGoogleAnalytics(){var t,e,i,n,s,a;t=window,e=document,i="script",n="ga",t.GoogleAnalyticsObject=n,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,s=e.createElement(i),a=e.getElementsByTagName(i)[0],s.async=1,s.src="//www.google-analytics.com/analytics.js",a.parentNode.insertBefore(s,a),ga("create",this.options.ga_property_id,"auto"),ga("set","anonymizeIp",!0)}_initAnalytics(){if(null!==this.options.ga_property_id){this._initGoogleAnalytics(),ga("send","pageview");var t=this.options.track_events;for(let i=0;i<t.length;i++){var e=t[i];this.addEventListener(e,(function(t){ga("send","event",t.type,"clicked")}))}}}}q(Qe,qt,ot),function(t,e,i,n){e.behaviors.nara_timeline={attach:function(e,n){var s=function(e,i){"Vie
4w Transcript"===t(e).text()?t(e).text("Close Transcript"):t(e).text("View Transcript"),t(i).toggle()},a=function(t){return new Promise((function(e){if(document.querySelector(t))return e(document.querySelector(t));var i=new MutationObserver((function(n){document.querySelector(t)&&(e(document.querySelector(t)),i.disconnect())}));i.observe(document.body,{childList:!0,subtree:!0})}))},r=function(e,i,n){t(i).length||(t(e).find("#timeline-toggling-container").after('<div id="'+i.replace("#","")+'"><b>Loading a new timeline...</b></div>'),t(i).attr("data-timeline-height",800),t(i).attr("data-timeline-start-at-slide",0));var r=t(i).attr("data-timeline-height");t(i).css("height",r),fetch("/nara-timeline/"+n+"/json",{method:"GET",headers:{Accept:"application/json"}}).then((function(r){r.ok?r.json().then((function(r){var o=t(i).attr("data-timeline-start-at-slide"),l=new Qe("timeline-"+n,r,{hash_bookmark:1,initial_zoom:5,start_at_slide:o||0});function h(){t(e).find("*[aria-description]").each((function(){t(this).removeAttr("aria-description")}))}l.on("loaded",(function(e){setTimeout((function(){t(".tl-timemarker-media").each((function(){if(void 0===t(this).attr("alt")||""===t(this).attr("alt")){var e=t(this).closest(".tl-timemarker").attr("id"),i="Thumbnail image",n="#"+(e=e.replace("-marker",""))+" .tl-headline";t(n).length>0&&(i=t(n).text()+" thumbnail image"),t(this).attr("alt",i)}})),h()}),3e3)})),l.on("change",(function(t){setTimeout((function(){h()}),3e3)})),r.events.forEach((function(e){a("#"+e.unique_id+" .view-transcript").then((function(e){var i="#number-"+t(e).attr("data-id");t(i+" .transcript").hide();var n=i+" .view-transcript span",a=i+" .transcript";t(n).click((function(){s(n,a)})),t(i+" .transcript-close").click((function(){s(n,a)}))}))}))})):console.log(r)}))},o=function(){var n=".timeline--view-mode-full.timeline-wrapper";a(n).then((function(s){t(n,e).each((function(){var s=t(this).attr("data-timeline-id"),a="#timeline-"+s;i("load_nara_timeline",a,e).forEach((function(t){r(n,a,s)}))}))}))},l=e.querySelectorAll(".timeline--view-mode-full.timeline-wrapper a.timeline-switcher");i("timeline-siwtchers",l,e).forEach((function(e,i){0===i&&e.classList.add("active"),e.addEventListener("click",(function(e){e.preventDefault(),l.forEach((function(t){return t.classList.remove("active")})),e.target.classList.add("active");var i=e.target.getAttribute("data-timeline-id"),n=e.target.closest(".timeline--view-mode-full.timeline-wrapper"),s=n.getAttribute("data-timeline-id");t("#timeline-"+s).remove(),history.replaceState(null,document.title,location.pathname+location.search);var a="#timeline-"+i;n.setAttribute("data-timeline-id",i),r(n,a,i)}))})),o(),i("nara_timeline","body",e).forEach((function(t){["contentEmbedded","changedViewMode"].forEach((function(t){document.addEventListener(t,o)}))}))}}}(jQuery,Drupal,once,drupalSettings);var ti=i(7727),ei=i.n(ti);!function(t,e,i,n){e.behaviors.timeline_glightbox={attach:function(e,n){i("timeline_photoswipe","body",e).forEach((function(e){document.addEventListener("click",(function(e){if(e.target&&e.target.classList.contains("tl-media-image")&&0===t(e.target).closest(".tl-media-content-container").find(".tl-media-link").length){var i=ei()({}),n=e.target.getAttribute("src");i.setElements([{href:n}]),i.open()}}))}))}}}(jQuery,Drupal,once,drupalSettings)})()})();; 5(function($,Drupal,once,drupalSettings){'use strict';Drupal.behaviors.obama_accessibility_fixer={attach:function(context,settings){addExternalLinkAttributes();waitForElm('.tl-timemarker-content-container').then((elm)=>{once('obama_accessibility_fixer','.timeline-wrapper',context).forEach(function(element){$('.tl-timemarker-content-container').each(function(){$(this).attr('role','button');$(this).attr('tabindex','0');$('.tl-headline-date').each(function(){let content=$(this).text();if(content==='')$(this).remove();});});addExternalLinkAttributes();zoomRemoveAriaDescription();$('.tl-slider-item-container > .tl-slide').attr('tabindex','0');});});const nara_banner_modal_bg='#nara_banner_modal_bg';waitForElm(nara_banner_modal_bg).then((elm)=>{once('obama_accessibility_fixer','#nara_banner_modal_bg',context).forEach(function(element){$(nara_banner_modal_bg).attr('aria-label','This link opens a modal dialog of National Archives websites');$(nara_banner_modal_bg).attr('role','button');$(nara_banner_modal_bg).attr('tabindex','0');});});$('form',context).each(function(){once('obama_accessibility_fixer','#'+$(this).attr('id'),context).forEach(function(element){$(element).attr('role','search');});});function addExternalLinkAttributes(){$('a[target="_blank"]').attr('aria-label','This link opens up in a new tab');$('a[target="blank"]').attr('aria-label','This link opens up in a new tab');}function zoomRemoveAriaDescription(){const zoom='.tl-menubar .tl-menubar-button[aria-description]';waitForElm(zoom).then((elm)=>{$(zoom).each(function(){$(this).removeAttr('aria-description');});zoomRemoveAriaDescription();});}function waitForElm(selector){return new Promise((resolve)=>{if(document.querySelector(selector))return resolve(document.querySelector(selector));const observer=new MutationObserver((mutations)=>{if(document.querySelector(selector)){resolve(document.querySelector(selector));observer.disconnect();}});observer.observe(document.body,{childList:true,subtree:true});});}}};})(jQuery,Drupal,once,drupalSettings);; 6(()=>{var t={6199:(t,e,r)=>{r(1539),r(8674),function(t,e,r){"use strict";e.behaviors.obama_lib_alert_region={attach:function(e,r){var n,o=".path-frontpage .regi
6on.region-alert";t(o).length>0&&(t(".region.region-alert").addClass("container"),t(o).appendTo("nav.navbar")),(n=".nara-alert > .alert",new Promise((function(t){if(document.querySelector(n))return t(document.querySelector(n));var e=new MutationObserver((function(r){document.querySelector(n)&&(t(document.querySelector(n)),e.disconnect());}));e.observe(document.body,{childList:!0,subtree:!0});}))).then((function(e){var r=t(o+" .nara_alert_msg").height();if(r>0){var n=".wp-block-nara-image-with-quote #hero blockquote";t(n).css("top",r+"px"),t(n).css("bottom","40%");}t(".wp-block-nara-image-with-quote #hero").css("min-height","820px");}));}};}(jQuery,Drupal,once);},2278:(t,e,r)=>{r(4603),r(4916),r(9714),r(4723),function(t,e){function r(){t(".frontpage-container #hero").length&&t(".frontpage-container #hero").css({width:jQuery(window).width(),height:"100vh"});}r(),t(window).resize((function(){r();})),t("section#hero").resize(),t(document).ready((function(){if(t("body:not(.path-frontpage) a[href$='.pdf']").length){var r=e.t('PDF files require the <a target="_blank" aria-label="PDF files requires free Adobe Reader" href="http://www.adobe.com/reader/">free Adobe Reader.</a>'),n=e.t('More information on Adobe Acrobat PDF files is available on our <a target="_blank" aria-label="More information on Adobe Acrobat" href="https://www.archives.gov/global-pages/accessibility/">Accessibility page</a>.');t("article.node--type-page.node--view-mode-full .node__content").append('<div id="pdfNotice"><p>'+r+"<br>"+n+"</p></div>");}var o;o=["www.nationalarchivesstore.org","bush41.org","nara.learn.com","www.bush41.org","bushlibrary.tamu.edu","www.fdrlibrary.marist.edu","www.georgewbushlibrary.smu.edu","www.lbjlibrary.org","www.trumanlibrary.org","fdrlibrary.org","www.archivesfoundation.org","www.jfklibrary.org","Myarchivesstore.org","docsteach.org","digitalvaults.org","jfk50.org","reagan.utexas.edu","clinton.presidentiallibraries.us","fdrlibrary.org","us11.campaign-archive?.com","lbjlibrary.net","github.io$","github.com$"],regexIndexOf=function(t,e){if(void 0===e||!e)return -1;for(i=0;i<t.length;i++){var r=new RegExp(t[i]);if(e.match(r))return i;}return -1;},t("a:not([href*='"+location.host+"'])").each((function(){var r=t(this).html(),n=t(this).attr("href");if(null!=n&&""!=n&&"http"==n.substring(0,4)&&"/"!=n.substring(0,1)){var i=t("<a>").prop("href",n).prop("hostname");".gov"!=i.substring(i.length-4)&&(t(this).has("img").length>0||regexIndexOf(o,i)>=0||t(this).html(r+' <i class="bi bi-box-arrow-up-right" role="none" title="'+e.t("Our website includes links to many other federal agencies and, in some cases, we link to private organizations. Reference or links to any specific commercial products, service, or company does not constitute endorsement or recommendation by the U.S. Government or the National Archives. When you leave our website, you are subject to that site's privacy policy. We are not responsible for the content, information quality, security or Section 508 compliance (accessibility) of other websites.")+'"></i>'));}}));}));}(jQuery,Drupal);},3814:()=>{!function(t,e,r){"use strict";e.behaviors.obama_lib_basic_page={attach:function(t,e){}};}(jQuery,Drupal,once);},6998:()=>{!function(t,e){e.behaviors.shrink={attach:function(e,r){t(".skip-link").removeClass(["visually-hidden","focusable"]),t(document).on("scroll",(function(){t(document).scrollTop()>100?t("#header").addClass("shrink"):t("#header").removeClass("shrink");})),window.onscroll=function(){window.pageYOffset>i?(n.classList.add("sticky"),o.classList.add("shrink")):(n.classList.remove("sticky"),o.classList.remove("shrink"));};var n=document.getElementById("header"),o=document.getElementsByTagName("body")[0],i=n.offsetTop;t("#narabanner").appendTo("#narabanner-item");}};}(jQuery,Drupal);},2986:(t,e,r)=>{r(9554),r(1539),r(4747),r(9826),function(t,e,r){"use strict";e.behaviors.obamaModalImage={attach:function(n,o){r("obamaModalImage",".article-img-processed",n).forEach((function(r){if(!t(this).hasClass("no-modal")){var n=t(this).attr("src"),o=t(this).attr("data-main-source");o&&(n=o);var i=t(this).parent().parent().find("figcaption").html();i||(i=t(this).parent().find("div.field--name-field-caption").html()),void 0===i&&(i="");var a='<div class="modal fade image-modal" id="img-modal-'+index+'" tabindex="-1" aria-hidden="true">
6<div class="modal-dialog modal-dialog-centered modal-lg"><div class="modal-content"><div class="modal-header no-header"><button type="button" class="btn-close custom-close" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"><img class="md-image" src="'+n+'" alt=""><div class="md-title md-title-inside-wrap"><a class="download-image" download="" href="'+n+'">Download</a><a class="print-image" target="_blank" href="'+n+'">Print</a><p>'+i+"</p></div></div></div></div></div>",s='<div class="img-tools"><a class="enlarge fancybox-media" href="'+n+'" data-bs-toggle="modal" data-bs-target="#img-modal-'+index+'" title="'+e.t("Enlarge")+'" aria-label="'+e.t("Enlarge")+'">'+e.t("Enlarge")+'</a><a class="download-photo" href="'+n+'" aria-label="'+e.t("Download")+'" download="">'+e.t("Download Link")+"</a></div>";t(this).siblings(".img-tools").remove(".img-tools"),t(this).after(a),t(this).after(s);}}));}};}(jQuery,Drupal,once);},9799:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},n(t);}var o,i,a,s,c,u;r(7042),r(7327),r(1539),r(2564),r(9826),r(9600),r(4812),r(2526),r(1817),r(2165),r(6992),r(8783),r(3948),function(t){function e(){t[s].glbl||(a={$wndw:t(window),$docu:t(document),$html:t("html"),$body:t("body")},r={},o={},i={},t.each([r,o,i],(function(t,e){e.add=function(t){for(var r=0,n=(t=t.split(" ")).length;r<n;r++)e[t[r]]=e.mm(t[r]);};})),r.mm=function(t){return "mm-"+t;},r.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),r.umm=function(t){return "mm-"==t.slice(0,3)&&(t=t.
6slice(3)),t;},o.mm=function(t){return "mm-"+t;},o.add("parent child"),i.mm=function(t){return t+".mm";},i.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),t[s]._c=r,t[s]._d=o,t[s]._e=i,t[s].glbl=a);}var r,o,i,a,s="mmenu",c="5.7.8";t[s]&&t[s].version>c||(t[s]=function(t,e,r){this.$menu=t,this._api=["bind","getInstance","update","initPanels","openPanel","closePanel","closeAllPanels","setSelected"],this.opts=e,this.conf=r,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var n=this.$pnls.children();return this._initAddons(),this.initPanels(n),"function"==typeof this.___debug&&this.___debug(),this;},t[s].version=c,t[s].addons={},t[s].uniqueId=0,t[s].defaults={extensions:[],initMenu:function(){},initPanels:function(){},navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},t[s].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},t[s].prototype={init:function(t){this.initPanels(t);},getInstance:function(){return this;},update:function(){this.trigger("update");},initPanels:function(t){t=t.not("."+r.nopanel),t=this._initPanels(t),this.opts.initPanels.call(this,t),this.trigger("initPanels",t),this.trigger("update");},openPanel:function(e){var n=e.parent(),o=this;if(n.hasClass(r.vertical)){var i=n.parents("."+r.subopened);if(i.length)return void this.openPanel(i.first());n.addClass(r.opened),this.trigger("openPanel",e),this.trigger("openingPanel",e),this.trigger("openedPanel",e);}else{if(e.hasClass(r.current))return;var a=this.$pnls.children("."+r.panel),c=a.filter("."+r.current);a.removeClass(r.highest).removeClass(r.current).not(e).not(c).not("."+r.vertical).addClass(r.hidden),t[s].support.csstransitions||c.addClass(r.hidden),e.hasClass(r.opened)?e.nextAll("."+r.opened).addClass(r.highest).removeClass(r.opened).removeClass(r.subopened):(e.addClass(r.highest),c.addClass(r.subopened)),e.removeClass(r.hidden).addClass(r.current),o.trigger("openPanel",e),setTimeout((function(){e.removeClass(r.subopened).addClass(r.opened),o.trigger("openingPanel",e),o.__transitionend(e,(function(){o.trigger("openedPanel",e);}),o.conf.transitionDuration);}),this.conf.openingInterval);}},closePanel:function(t){var e=t.parent();e.hasClass(r.vertical)&&(e.removeClass(r.opened),this.trigger("closePanel",t),this.trigger("closingPanel",t),this.trigger("closedPanel",t));},closeAllPanels:function(){this.$menu.find("."+r.listview).children().removeClass(r.selected).filter("."+r.vertical).removeClass(r.opened);var t=this.$pnls.children("."+r.panel).first();this.$pnls.children("."+r.panel).not(t).removeClass(r.subopened).removeClass(r.opened).removeClass(r.current).removeClass(r.highest).addClass(r.hidden),this.openPanel(t);},togglePanel:function(t){var e=t.parent();e.hasClass(r.vertical)&&this[e.hasClass(r.opened)?"closePanel":"openPanel"](t);},setSelected:function(t){this.$menu.find("."+r.listview).children("."+r.selected).removeClass(r.selected),t.addClass(r.selected),this.trigger("setSelected",t);},bind:function(t,e){t="init"==t?"initPanels":t,this.cbck[t]=this.cbck[t]||[],this.cbck[t].push(e);},trigger:function(){var t=this,e=Array.prototype.slice.call(arguments),r=e.shift();if(r="init"==r?"initPanels":r,this.cbck[r])for(var n=0,o=this.cbck[r].length;n<o;n++)this.cbck[r][n].apply(t,e);},_initMenu:function(){this.conf.clone&&(this.$orig=this.$menu,this.$menu=this.$orig.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each((function(){t(this).attr("id",r.mm(t(this).attr("id")));}))),this.opts.initMenu.call(this,this.$menu,this.$orig),this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.$pnls=t('<div class="'+r.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(r.wrapper);var e=[r.menu];this.opts.slidingSubmenus||e.push(r.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&e.push(this.opts.extensions),this.$menu.addClass(e.join(" ")),this.trigger("_initMenu");},_initPanels:function(e){var n=this,i=this.__findAddBack(e,"ul, ol");this.__refactorClass(i,this.conf.classNames.inset,"inset").addClass(r.nolistview+" "+r.nopanel),i.not("."+r.nolistview).addClass(r.listview);var a=this.__findAddBack(e,"."+r.listview).children();this.__refactorClass(a,this.conf.classNames.selected,"selected"),this.__refactorClass(a,this.conf.classNames.divider,"divider"),this.__refactorClass(a,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(e,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var c=t(),u=e.add(e.find("."+r.panel)).add(this.__findAddBack(e,"."+r.listview).children().children(this.conf.panelNodetype)).not("."+r.nopanel);this.__refactorClass(u,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||u.addClass(r.vertical),u.each((function(){var e=t(this),o=e;e.is("ul, ol")?(e.wrap('<div class="'+r.panel+'" />'),o=e.parent()):o.addClass(r.panel);var i=e.attr("id");e.removeAttr("id"),o.attr("id",i||n.__getUniqueId()),e.hasClass(r.vertical)&&(e.removeClass(n.conf.classNames.vertical),o.add(o.parent()).addClass(r.vertical)),c=c.add(o);}));
6var l=t("."+r.panel,this.$menu);c.each((function(e){var i,a,c=t(this),u=c.parent(),l=u.children("a, span").first();if(u.is("."+r.panels)||(u.data(o.child,c),c.data(o.parent,u)),u.children("."+r.next).length||u.parent().is("."+r.listview)&&(i=c.attr("id"),a=t('<a class="'+r.next+'" href="#'+i+'" data-target="#'+i+'" />').insertBefore(l),l.is("span")&&a.addClass(r.fullsubopen)),!c.children("."+r.navbar).length&&!u.hasClass(r.vertical)){u.parent().is("."+r.listview)?u=u.closest("."+r.panel):(l=u.closest("."+r.panel).find('a[href="#'+c.attr("id")+'"]').first(),u=l.closest("."+r.panel));var f=!1,p=t('<div class="'+r.navbar+'" />');if(n.opts.navbar.add&&c.addClass(r.hasnavbar),u.length){switch(i=u.attr("id"),n.opts.navbar.titleLink){case "anchor":f=l.attr("href");break;case "panel":case "parent":f="#"+i;break;default:f=!1;}p.append('<a class="'+r.btn+" "+r.prev+'" href="#'+i+'" data-target="#'+i+'" />').append(t('<a class="'+r.title+'"'+(f?' href="'+f+'"':"")+" />").text(l.text())).prependTo(c);}else n.opts.navbar.title&&p.append('<a class="'+r.title+'">'+t[s].i18n(n.opts.navbar.title)+"</a>").prependTo(c);}}));var f=this.__findAddBack(e,"."+r.listview).children("."+r.selected).removeClass(r.selected).last().addClass(r.selected);f.add(f.parentsUntil("."+r.menu,"li")).filter("."+r.vertical).addClass(r.opened).end().each((function(){t(this).parentsUntil("."+r.menu,"."+r.panel).not("."+r.vertical).first().addClass(r.opened).parentsUntil("."+r.menu,"."+r.panel).not("."+r.vertical).first().addClass(r.opened).addClass(r.subopened);})),f.children("."+r.panel).not("."+r.vertical).addClass(r.opened).parentsUntil("."+r.menu,"."+r.panel).not("."+r.vertical).first().addClass(r.opened).addClass(r.subopened);var p=l.filter("."+r.opened);return p.length||(p=c.first()),p.addClass(r.opened).last().addClass(r.current),c.not("."+r.vertical).not(p.last()).addClass(r.hidden).end().filter((function(){return !t(this).parent().hasClass(r.panels);})).appendTo(this.$pnls),this.trigger("_initPanels",c),c;},_initAnchors:function(){var e=this;a.$body.on(i.click+"-oncanvas","a[href]",(function(n){var o=t(this),i=!1,a=e.$menu.find(o).length;for(var c in t[s].addons)if(t[s].addons[c].clickAnchor.call(e,o,a)){i=!0;break;}var u=o.attr("href");if(!i&&a&&u.length>1&&"#"==u.slice(0,1))try{var l=t(u,e.$menu);l.is("."+r.panel)&&(i=!0,e[o.parent().hasClass(r.vertical)?"togglePanel":"openPanel"](l));}catch(t){}if(i&&n.preventDefault(),!i&&a&&o.is("."+r.listview+" > li > a")&&!o.is('[rel="external"]')&&!o.is('[target="_blank"]')){e.__valueOrFn(e.opts.onClick.setSelected,o)&&e.setSelected(t(n.target).parent());var f=e.__valueOrFn(e.opts.onClick.preventDefault,o,"#"==u.slice(0,1));f&&n.preventDefault(),e.__valueOrFn(e.opts.onClick.close,o,f)&&e.close();}})),this.trigger("_initAnchors");},_initAddons:function(){var e;for(e in t[s].addons)t[s].addons[e].add.call(this),t[s].addons[e].add=function(){};for(e in t[s].addons)t[s].addons[e].setup.call(this);this.trigger("_initAddons");},_getOriginalMenuId:function(){var t=this.$menu.attr("id");return t&&t.length&&this.conf.clone&&(t=r.umm(t)),t;},__api:function(){var e=this,r={};return t.each(this._api,(function(t){var n=this;r[n]=function(){var t=e[n].apply(e,arguments);return void 0===t?r:t;};})),r;},__valueOrFn:function(t,e,r){return "function"==typeof t?t.call(e[0]):void 0===t&&void 0!==r?r:t;},__refactorClass:function(t,e,n){return t.filter("."+e).removeClass(e).addClass(r[n]);},__findAddBack:function(t,e){return t.find(e).add(t.filter(e));},__filterListItems:function(t){return t.not("."+r.divider).not("."+r.hidden);},__transitionend:function(e,r,n){var o=!1,a=function(n){if(void 0!==n){if(!t(n.target).is(e))return !1;e.unbind(i.transitionend),e.unbind(i.webkitTransitionEnd);}o||r.call(e[0]),o=!0;};e.on(i.transitionend,a),e.on(i.webkitTransitionEnd,a),setTimeout(a,1.1*n);},__getUniqueId:function(){return r.mm(t[s].uniqueId++);}},t.fn[s]=function(r,n){e(),r=t.extend(!0,{},t[s].defaults,r),n=t.extend(!0,{},t[s].configuration,n);var o=t();return this.each((function(){var e=t(this);if(!e.data(s)){var i=new t[s](e,r,n);i.$menu.data(s,i.__api()),o=o.add(i.$menu);}})),o;},t[s].i18n=function(){var e={};return function(r){switch(n(r)){case "object":return t.extend(e,r),e;case "string":return e[r]||r;default:return e;}};}(),t[s].support={touch:"ontouchstart" in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var t=(document.body||document.documentElement).style,e="transition";if("string"==typeof t[e])return !0;var r=["Moz","webkit","Webkit","Khtml","O","ms"];e=e.charAt(0).toUpperCase()+e.substr(1);for(var n=0;n<r.length;n++)if("string"==typeof t[r[n]+e])return !0;return !1;}(),csstransforms:"undefined"==typeof Modernizr||void 0===Modernizr.csstransforms||Modernizr.csstransforms,csstransforms3d:"undefined"==typeof Modernizr||void 0===Modernizr.csstransforms3d||Modernizr.csstransforms3d});}(jQuery),function(t){var e,r,n,o,i="mmenu",a="offCanvas";t[i].addons[a]={setup:function(){if(this.opts[a]){var r=this.opts[a],n=this.conf[a
6];o=t[i].glbl,this._api=t.merge(this._api,["open","close","setPage"]),"top"!=r.position&&"bottom"!=r.position||(r.zposition="front"),"string"!=typeof n.pageSelector&&(n.pageSelector="> "+n.pageNodetype),o.$allMenus=(o.$allMenus||t()).add(this.$menu),this.vars.opened=!1;var s=[e.offcanvas];"left"!=r.position&&s.push(e.mm(r.position)),"back"!=r.zposition&&s.push(e.mm(r.zposition)),this.$menu.addClass(s.join(" ")).parent().removeClass(e.wrapper),t[i].support.csstransforms||this.$menu.addClass(e["no-csstransforms"]),t[i].support.csstransforms3d||this.$menu.addClass(e["no-csstransforms3d"]),this.setPage(o.$page),this._initBlocker(),this["_initWindow_"+a](),this.$menu[n.menuInjectMethod+"To"](n.menuWrapperSelector);var c=window.location.hash;if(c){var u=this._getOriginalMenuId();u&&u==c.slice(1)&&this.open();}}},add:function(){e=t[i]._c,r=t[i]._d,n=t[i]._e,e.add("offcanvas slideout blocking modal background opening blocker page no-csstransforms3d"),r.add("style"),n.add("resize");},clickAnchor:function(t,r){var n=this;if(this.opts[a]){var i=this._getOriginalMenuId();if(i&&t.is('[href="#'+i+'"]')){if(r)return !0;var s=t.closest("."+e.menu);if(s.length){var c=s.data("mmenu");if(c&&c.close)return c.close(),n.__transitionend(s,(function(){n.open();}),n.conf.transitionDuration),!0;}return this.open(),!0;}if(o.$page)return (i=o.$page.first().attr("id"))&&t.is('[href="#'+i+'"]')?(this.close(),!0):void 0;}}},t[i].defaults[a]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},t[i].configuration[a]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},t[i].prototype.open=function(){if(!this.vars.opened){var t=this;this._openSetup(),setTimeout((function(){t._openFinish();}),this.conf.openingInterval),this.trigger("open");}},t[i].prototype._openSetup=function(){var i=this,s=this.opts[a];this.closeAllOthers(),o.$page.each((function(){t(this).data(r.style,t(this).attr("style")||"");})),o.$wndw.trigger(n.resize+"-"+a,[!0]);var c=[e.opened];s.blockUI&&c.push(e.blocking),"modal"==s.blockUI&&c.push(e.modal),s.moveBackground&&c.push(e.background),"left"!=s.position&&c.push(e.mm(this.opts[a].position)),"back"!=s.zposition&&c.push(e.mm(this.opts[a].zposition)),this.opts.extensions&&c.push(this.opts.extensions),o.$html.addClass(c.join(" ")),setTimeout((function(){i.vars.opened=!0;}),this.conf.openingInterval),this.$menu.addClass(e.current+" "+e.opened);},t[i].prototype._openFinish=function(){var t=this;this.__transitionend(o.$page.first(),(function(){t.trigger("opened");}),this.conf.transitionDuration),o.$html.addClass(e.opening),this.trigger("opening");},t[i].prototype.close=function(){if(this.vars.opened){var n=this;this.__transitionend(o.$page.first(),(function(){n.$menu.removeClass(e.current+" "+e.opened);var i=[e.opened,e.blocking,e.modal,e.background,e.mm(n.opts[a].position),e.mm(n.opts[a].zposition)];n.opts.extensions&&i.push(n.opts.extensions),o.$html.removeClass(i.join(" ")),o.$page.each((function(){t(this).attr("style",t(this).data(r.style));})),n.vars.opened=!1,n.trigger("closed");}),this.conf.transitionDuration),o.$html.removeClass(e.opening),this.trigger("close"),this.trigger("closing");}},t[i].prototype.closeAllOthers=function(){o.$allMenus.not(this.$menu).each((function(){var e=t(this).data(i);e&&e.close&&e.close();}));}
6,t[i].prototype.setPage=function(r){var n=this,i=this.conf[a];r&&r.length||(r=o.$body.find(i.pageSelector),i.noPageSelector.length&&(r=r.not(i.noPageSelector.join(", "))),r.length>1&&i.wrapPageIfNeeded&&(r=r.wrapAll("<"+this.conf[a].pageNodetype+" />").parent())),r.each((function(){t(this).attr("id",t(this).attr("id")||n.__getUniqueId());})),r.addClass(e.page+" "+e.slideout),o.$page=r,this.trigger("setPage",r);},t[i].prototype["_initWindow_"+a]=function(){o.$wndw.off(n.keydown+"-"+a).on(n.keydown+"-"+a,(function(t){if(o.$html.hasClass(e.opened)&&9==t.keyCode)return t.preventDefault(),!1;}));var t=0;o.$wndw.off(n.resize+"-"+a).on(n.resize+"-"+a,(function(r,n){if(1==o.$page.length&&(n||o.$html.hasClass(e.opened))){var i=o.$wndw.height();(n||i!=t)&&(t=i,o.$page.css("minHeight",i));}}));},t[i].prototype._initBlocker=function(){var r=this;this.opts[a].blockUI&&(o.$blck||(o.$blck=t('<div id="'+e.blocker+'" class="'+e.slideout+'" />')),o.$blck.appendTo(o.$body).off(n.touchstart+"-"+a+" "+n.touchmove+"-"+a).on(n.touchstart+"-"+a+" "+n.touchmove+"-"+a,(function(t){t.preventDefault(),t.stopPropagation(),o.$blck.trigger(n.mousedown+"-"+a);})).off(n.mousedown+"-"+a).on(n.mousedown+"-"+a,(function(t){t.preventDefault(),o.$html.hasClass(e.modal)||(r.closeAllOthers(),r.close());})));};}(jQuery),o=jQuery,u="scrollBugFix",o[c="mmenu"].addons[u]={setup:function(){var t=this,e=this.opts[u];if(this.conf[u],s=o[c].glbl,o[c].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof e&&(e={fix:e}),"object"!=n(e)&&(e={}),(e=this.opts[u]=o.extend(!0,{},o[c].defaults[u],e)).fix)){var r=this.$menu.attr("id"),l=!1;this.bind("opening",(function(){this.$pnls.children("."+i.current).scrollTop(0);})),s.$docu.on(a.touchmove,(function(e){t.vars.opened&&e.preventDefault();})),s.$body.on(a.touchstart,"#"+r+"> ."+i.panels+"> ."+i.current,(function(e){t.vars.opened&&(l||(l=!0,0===e.currentTarget.scrollTop?e.currentTarget.scrollTop=1:e.currentTarget.scrollHeight===e.currentTarget.scrollTop+e.currentTarget.offsetHeight&&(e.currentTarget.scrollTop-=1),l=!1));})).on(a.touchmove,"#"+r+"> ."+i.panels+"> ."+i.current,(function(e){t.vars.opened&&o(this)[0].scrollHeight>o(this).innerHeight()&&e.stopPropagation();})),s.$wndw.on(a.orientationchange,(function(){t.$pnls.children("."+i.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"});}));}},add:function(){i=o[c]._c,o[c]._d,a=o[c]._e;},clickAnchor:function(t,e){}},o[c].defaults[u]={fix:!0};},9662:(t,e,r)=>{var n=r(614),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function");};},9483:(t,e,r)=>{var n=r(4411),o=r(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor");};},6077:(t,e,r)=>{var n=r(614),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype");};},1223:(t,e,r)=>{var n=r(5112),o=r(30),i=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0;};},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1);};},5787:(t,e,r)=>{var n=r(7976),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw o("Incorrect invocation");};},9670:(t,e,r)=>{var n=r(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object");};},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,o=r(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0);};},1318:(t,e,r)=>{var n=r(5656),o=r(1400),i=r(6244),a=function(t){return function(e,r,a){var s,c=n(e),u=i(c),l=o(a,u);if(t&&r!=r){for(;u>l;)if((s=c[l++])!=s)return !0;}else{for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;}return !t&&-1;};};t.exports={includes:a(!0),indexOf:a(!1)};},2092:(t,e,r)=>{var n=r(9974),o=r(1702),i=r(8361),a=r(7908),s=r(6244),c=r(5417),u=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(h,v,g,m){for(var y,b,x=a(h),w=i(x),S=n(v,g),_=s(w),C=0,O=m||c,P=e?O(h,_):r||p?O(h,0):void 0;_>C;C++)if((d||C in w)&&(b=S(y=w[C],C,x),t))if(e)P[C]=b;else if(b)switch(t){case 3:return !0;case 5:return y;case 6:return C;case 2:u(P,y);}else switch(t){case 4:return !1;case 7:u(P,y);}return f?-1:o||l?l:P;};};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)};},1194:(t,e,r)=>{var n=r(7293),o=r(5112),i=r(7392),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return (e.constructor={})[a]=function(){return {foo:1};},1!==e[t](Boolean).foo;}));};},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return !!r&&n((function(){r.call(null,e||function(){return 1;},1);}));};},1589:(t,e,r)=>{var n=r(1400),o=r(6244),i=r(6135),a=Array,s=Math.max;t.exports=function(t,e,r){for(var c=o(t),u=n(e,c),l=n(void 0===r?c:r,c),f=a(s(l-u,0)),p=0;u<l;u++,p++)i(f,p,t[u]);return f.length=p,f;};},206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice);},7475:(t,e,r)=>{var n=r(3157),o=r(4411),i=r(111),a=r(5112)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===s||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e;};},5417:(t,e,r)=>{var n=r(7475);t.exports=function(t,e){return new (n(t))(0===e?0:e);};},7072:(t,e,r)=>{var n=r(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return {done:!!i++};},return:function(){o=!0;}};a[n]=function(){return this;},Array.from(a,(function(){throw 2;}));}catch(t){}t.exports=function(t,e){if(!e&&!o)return !1;var r=!1;try{var i={};i[n]=function(){return {next:function(){return {done:r=!0};}};},t(i);}catch(t){}return r;};},4326:(t,e,r)=>{var n=r(84),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1);};},648:(t,e,r)=>{var n=r(1694),o=r(614),i=r(4326),a=r(5112)("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments;}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof (r=function(t,e){try{return t[e];}catch(t){}}
6(e=s(t),a))?r:c?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n;};},9920:(t,e,r)=>{var n=r(2597),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e,r){for(var s=o(e),c=a.f,u=i.f,l=0;l<s.length;l++){var f=s[l];n(t,f)||r&&n(r,f)||c(t,f,u(e,f));}};},8544:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t())!==t.prototype;}));},6178:(t)=>{t.exports=function(t,e){return {value:t,done:e};};},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r));}:function(t,e,r){return t[e]=r,t;};},9114:(t)=>{t.exports=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e};};},6135:(t,e,r)=>{"use strict";var n=r(4948),o=r(3070),i=r(9114);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r;};},8052:(t,e,r)=>{var n=r(614),o=r(3070),i=r(6339),a=r(3072);t.exports=function(t,e,r,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(n(r)&&i(r,u,s),s.global)c?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(c=!0):delete t[e];}catch(t){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable});}return t;};},3072:(t,e,r)=>{var n=r(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0});}catch(r){n[t]=e;}return e;};},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7;}})[1];}));},4154:(t)=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r};},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{};};},8324:(t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};},8509:(t,e,r)=>{var n=r(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o;},7871:(t,e,r)=>{var n=r(3823),o=r(5268);t.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document;},3823:(t)=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version;},1528:(t,e,r)=>{var n=r(8113),o=r(7854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble;},6833:(t,e,r)=>{var n=r(8113);
6t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n);},5268:(t,e,r)=>{var n=r(4326),o=r(7854);t.exports="process"==n(o.process);},1036:(t,e,r)=>{var n=r(8113);t.exports=/web0s(?!.*chrome)/i.test(n);},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||"";},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o;},748:(t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(8052),s=r(3072),c=r(9920),u=r(4705);t.exports=function(t,e){var r,l,f,p,d,h=t.target,v=t.global,g=t.stat;if(r=v?n:g?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!u(v?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f);}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,t);}};},7293:(t)=>{t.exports=function(t){try{return !!t();}catch(t){return !0;}};},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1702),o=r(8052),i=r(2261),a=r(7293),s=r(5112),c=r(8880),u=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var p=s(t),d=!a((function(){var e={};return e[p]=function(){return 7;},7!=""[t](e);})),h=d&&!a((function(){var e=!1,r=/a/;return "split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r;},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null;},r[p](""),!e;}));if(!d||!h||r){var v=n(/./[p]),g=e(p,""[t],(function(t,e,r,o,a){var s=n(t),c=e.exec;return c===i||c===l.exec?d&&!a?{done:!0,value:v(e,r,o)}:{done:!0,value:s(r,e,o)}:{done:!1};}));o(String.prototype,t,g[0]),o(l,p,g[1]);}f&&c(l[p],"sham",!0);};},2104:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments);});},9974:(t,e,r)=>{var n=r(1702),o=r(9662),i=r(4374),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments);};};},4374:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype");}));},7065:(t,e,r)=>{"use strict";var n=r(1702),o=r(9662),i=r(111),a=r(2597),s=r(206),c=r(4374),u=Function,l=n([].concat),f=n([].join),p={},d=function(t,e,r){if(!a(p,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";p[e]=u("C,a","return new C("+f(n,",")+")");}return p[e](t,r);};t.exports=c?u.bind:function(t){var e=o(this),r=e.prototype,n=s(arguments,1),a=function(){var r=l(n,s(arguments));return this instanceof a?d(e,r.length,r):e.apply(t,r);};return i(r)&&(a.prototype=r),a;};},6916:(t,e,r)=>{var n=r(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments);};},6530:(t,e,r)=>{var n=r(9781),o=r(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u};},84:(t,e,r)=>{var n=r(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments);};};},1702:(t,e,r)=>{var n=r(4326),o=r(84);t.exports=function(t){if("Function"===n(t))return o(t);};},5005:(t,e,r)=>{var n=r(7854),o=r(614),i=function(t){return o(t)?t:void 0;};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e];};},1246:(t,e,r)=>{var n=r(648),o=r(8173),i=r(8554),a=r(7497),s=r(5112)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[n(t)];};},4121:(t,e,r)=>{var n=r(6916),o=r(9662),i=r(9670),a=r(6330),s=r(1246),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(o(r))return i(n(r,t));throw c(a(t)+" is not iterable");};},8173:(t,e,r)=>{var n=r(9662),o=r(8554);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r);};},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t;};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this;}()||Function("return this")();},2597:(t,e,r)=>{var n=r(1702),o=r(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e);};},3501:(t)=>{t.exports={};},842:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e));};},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement");},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7;}}).a;}));},8361:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(4326),a=Object,s=n("".split);t.exports=o((function(){return !a("z").propertyIsEnumerable(0);}))?function(t){return "String"==i(t)?s(t,""):a(t);}:a;},9587:(t,e,r)=>{var n=r(614),o=r(111),i=r(7674);t.exports=function(t,e,r){var a,s;return i&&n(a=e.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(t,s),t;};},2788:(t,e,r)=>{var n=r(1702),o=r(614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t);}),t.exports=i.inspectSource;},9909:(t,e,r)=>{var n,o,i,a=r(4811),s=r(7854),c=r(111),u=r(8880),l=r(2597),f=r(5465),p=r(6200),d=r(3501),h="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new g());m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw v(h);return e.facade=t,m.set(t,e),e;},o=function(t){return m.get(t)||{};},i=function(t){return m.has(t);};}else{var y=p("state");d[y]=!0,n=function(t,e){if(l(t,y))throw v(h);return e.facade=t,u(t,y,e),e;},o=function(t){return l(t,y)?t[y]:{};},i=function(t){return l(t,y);};}
6t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{});},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r;};}};},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t);};},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return "Array"==n(t);};},614:(t,e,r)=>{var n=r(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return "function"==typeof t||t===o;}:function(t){return "function"==typeof t;};},4411:(t,e,r)=>{var n=r(1702),o=r(7293),i=r(614),a=r(648),s=r(5005),c=r(2788),u=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),h=!p.exec(u),v=function(t){if(!i(t))return !1;try{return f(u,l,t),!0;}catch(t){return !1;}},g=function(t){if(!i(t))return !1;switch(a(t)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return !1;}try{return h||!!d(p,c(t));}catch(t){return !0;}};g.sham=!0,t.exports=!f||o((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0;}))||t;}))?g:v;},4705:(t,e,r)=>{var n=r(7293),o=r(614),i=/#|\.prototype\./,a=function(t,e){var r=c[s(t)];return r==l||r!=u&&(o(e)?n(e):!!e);},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase();},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a;},8554:(t)=>{t.exports=function(t){return null==t;};},111:(t,e,r)=>{var n=r(614),o=r(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return "object"==typeof t?null!==t:n(t)||t===i;}:function(t){return "object"==typeof t?null!==t:n(t);};},1913:(t)=>{t.exports=!1;},7850:(t,e,r)=>{var n=r(111),o=r(4326),i=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t));};},2190:(t,e,r)=>{var n=r(5005),o=r(614),i=r(7976),a=r(3307),s=Object;t.exports=a?function(t){return "symbol"==typeof t;}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,s(t));};},408:(t,e,r)=>{var n=r(9974),o=r(6916),i=r(9670),a=r(6330),s=r(7659),c=r(6244),u=r(7976),l=r(4121),f=r(1246),p=r(9212),d=TypeError,h=function(t,e){this.stopped=t,this.result=e;},v=h.prototype;t.exports=function(t,e,r){var g,m,y,b,x,w,S,_=r&&r.that,C=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),j=!(!r||!r.INTERRUPTED),k=n(e,_),T=function(t){return g&&p(g,"normal",t),new h(!0,t);},E=function(t){return C?(i(t),j?k(t[0],t[1],T):k(t[0],t[1])):j?k(t,T):k(t);};if(O)g=t.iterator;else if(P)g=t;else{if(!(m=f(t)))throw d(a(t)+" is not iterable");if(s(m)){for(y=0,b=c(t);b>y;y++)if((x=E(t[y]))&&u(v,x))return x;return new h(!1);}g=l(t,m);}for(w=O?t.next:g.next;!(S=o(w,g)).done;){try{x=E(S.value);}catch(t){p(g,"throw",t);}if("object"==typeof x&&x&&u(v,x))return x;}return new h(!1);};},9212:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(8173);t.exports=function(t,e,r){var a,s;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r;}a=n(a,t);}catch(t){s=!0,a=t;}if("throw"===e)throw r;if(s)throw a;return o(a),r;};},3061:(t,e,r)=>{"use strict";var n=r(3383).IteratorPrototype,o=r(30),i=r(9114),a=r(8003),s=r(7497),c=function(){return this;};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),a(t,l,!1,!0),s[l]=c,t;};},1656:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(1913),a=r(6530),s=r(614),c=r(3061),u=r(9518),l=r(7674),f=r(8003),p=r(8880),d=r(8052),h=r(5112),v=r(7497),g=r(3383),m=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,x=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),S="keys",_="values",C="entries",O=function(){return this;};t.exports=function(t,e,r,a,h,g,P){c(r,e,a);var j,k,T,E=function(t){if(t===h&&M)return M;if(!x&&t in $)return $[t];switch(t){case S:case _:case C:return function(){return new r(this,t);};}return function(){return new r(this);};},I=e+" Iterator",A=!1,$=t.prototype,R=$[w]||$["@@iterator"]||h&&$[h],M=!x&&R||E(h),D="Array"==e&&$.entries||R;if(D&&(j=u(D.call(new t())))!==Object.prototype&&j.next&&(i||u(j)===b||(l?l(j,b):s(j[w])||d(j,w,O)),f(j,I,!0,!0),i&&(v[I]=O)),m&&h==_&&R&&R.name!==_&&(!i&&y?p($,"name",_):(A=!0,M=function(){return o(R,this);})),h)if(k={values:E(_),keys:g?M:E(S),entries:E(C)},P)for(T in k)(x||A||!(T in $))&&d($,T,k[T]);else n({target:e,proto:!0,forced:x||A},k);return i&&!P||$[w]===M||d($,w,M,{name:h}),v[e]=M,k;};},3383:(t,e,r)=>{"use strict";var n,o,i,a=r(7293),s=r(614),c=r(111),u=r(30),l=r(9518),f=r(8052),p=r(5112),d=r(1913),h=p("iterator"),v=!1;[].keys&&("next" in (i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):v=!0),!c(n)||a((function(){var t={};return n[h].call(t)!==t;}))?n={}:d&&(n=u(n)),s(n[h])||f(n,h,(function(){return this;})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v};},7497:(t)=>{t.exports={};},6244:(t,e,r)=>{var n=r(7466);t.exports=function(t){return n(t.length);};},6339:(t,e,r)=>{var n=r(7293),o=r(614),i=r(2597),a=r(9781),s=r(6530).CONFIGURABLE,c=r(2788),u=r(9909),l=u.enforce,f=u.get,p=Object.defineProperty,d=a&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length;})),h=String(String).split("String"),v=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||s&&t.n
6ame!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),d&&r&&i(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var n=l(t);return i(n,"source")||(n.source=h.join("string"==typeof e?e:"")),t;};Function.prototype.toString=v((function(){return o(this)&&f(this).source||c(this);}),"toString");},4758:(t)=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return (n>0?r:e)(n);};},5948:(t,e,r)=>{var n,o,i,a,s,c,u,l,f=r(7854),p=r(9974),d=r(1236).f,h=r(261).set,v=r(6833),g=r(1528),m=r(1036),y=r(5268),b=f.MutationObserver||f.WebKitMutationObserver,x=f.document,w=f.process,S=f.Promise,_=d(f,"queueMicrotask"),C=_&&_.value;C||(n=function(){var t,e;for(y&&(t=w.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e();}catch(t){throw o?a():i=void 0,t;}}i=void 0,t&&t.enter();},v||y||m||!b||!x?!g&&S&&S.resolve?((u=S.resolve(void 0)).constructor=S,l=p(u.then,u),a=function(){l(n);}):y?a=function(){w.nextTick(n);}:(h=p(h,f),a=function(){h(n);}):(s=!0,c=x.createTextNode(""),new b(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s;})),t.exports=C||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e;};},8523:(t,e,r)=>{"use strict";var n=r(9662),o=TypeError,i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw o("Bad Promise constructor");e=t,r=n;})),this.resolve=n(e),this.reject=n(r);};t.exports.f=function(t){return new i(t);};},30:(t,e,r)=>{var n,o=r(9670),i=r(6048),a=r(748),s=r(3501),c=r(490),u=r(317),l=r(6200),f=l("IE_PROTO"),p=function(){},d=function(t){return "<script>"+t+"</"+"script>";},h=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e;},v=function(){try{n=new ActiveXObject("htmlfile");}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&n?h(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):h(n);for(var r=a.length;r--;)delete v.prototype[a[r]];return v();};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p(),p.prototype=null,r[f]=t):r=v(),void 0===e?r:i.f(r,e);};},6048:(t,e,r)=>{var n=r(9781),o=r(3353),i=r(3070),a=r(9670),s=r(5656),c=r(1956);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t;};},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(3353),a=r(9670),s=r(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value" in r&&d in r&&!r.writable){var n=l(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:p in r?r.configurable:n.configurable,enumerable:f in r?r.enumerable:n.enumerable,writable:!1});}return u(t,e,r);}:u:function(t,e,r){if(a(t),e=s(e),a(r),o)try{return u(t,e,r);}catch(t){}if("get" in r||"set" in r)throw c("Accessors not supported");return "value" in r&&(t[e]=r.value),t;};},1236:(t,e,r)=>{var n=r(9781),o=r(6916),i=r(5296),a=r(9114),s=r(5656),c=r(4948),u=r(2597),l=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e);}catch(t){}if(u(t,e))return a(!o(i.f,t,e),t[e]);};},1156:(t,e,r)=>{var n=r(4326),o=r(5656),i=r(8006).f,a=r(1589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==n(t)?function(t){try{return i(t);}catch(t){return a(s);}}(t):i(o(t));};},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o);};},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols;},9518:(t,e,r)=>{var n=r(2597),o=r(614),i=r(7908),a=r(6200),s=r(8544),c=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null;};},7976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf);},6324:(t,e,r)=>{var n=r(1702),o=r(2597),i=r(5656),a=r(1318).indexOf,s=r(3501),c=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;e.length>u;
6)o(n,r=e[u++])&&(~a(l,r)||c(l,r));return l;};},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o);};},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return !!e&&e.enumerable;}:r;},7674:(t,e,r)=>{var n=r(1702),o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__" in {}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array;}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r;};}():void 0);},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return "[object "+o(this)+"]";};},2140:(t,e,r)=>{var n=r(6916),o=r(614),i=r(111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&o(r=t.toString)&&!i(s=n(r,t)))return s;if(o(r=t.valueOf)&&!i(s=n(r,t)))return s;if("string"!==e&&o(r=t.toString)&&!i(s=n(r,t)))return s;throw a("Can't convert object to primitive value");};},3887:(t,e,r)=>{var n=r(5005),o=r(1702),i=r(8006),a=r(5181),s=r(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(s(t)),r=a.f;return r?c(e,r(t)):e;};},857:(t,e,r)=>{var n=r(7854);t.exports=n;},2534:(t)=>{t.exports=function(t){try{return {error:!1,value:t()};}catch(t){return {error:!0,value:t};}};},3702:(t,e,r)=>{var n=r(7854),o=r(2492),i=r(614),a=r(4705),s=r(2788),c=r(5112),u=r(7871),l=r(3823),f=r(1913),p=r(7392),d=o&&o.prototype,h=c("species"),v=!1,g=i(n.PromiseRejectionEvent),m=a("Promise",(function(){var t=s(o),e=t!==String(o);if(!e&&66===p)return !0;if(f&&(!d.catch||!d.finally))return !0;if(!p||p<51||!/native code/.test(t)){var r=new o((function(t){t(1);})),n=function(t){t((function(){}),(function(){}));};if((r.constructor={})[h]=n,!(v=r.then((function(){})) instanceof n))return !0;}return !e&&(u||l)&&!g;}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:g,SUBCLASSING:v};},2492:(t,e,r)=>{var n=r(7854);t.exports=n.Promise;},9478:(t,e,r)=>{var n=r(9670),o=r(111),i=r(8523);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return (0,r.resolve)(e),r.promise;};},612:(t,e,r)=>{var n=r(2492),o=r(7072),i=r(3702).CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}));}));},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r];},set:function(t){e[r]=t;}});};},8572:(t)=>{var e=function(){this.head=null,this.tail=null;};e.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e;},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item;}},t.exports=e;},1603:(t,e,r)=>{var n=r(6916),o=r(9670),i=r(614),a=r(4326),s=r(2261),c=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var u=n(r,t,e);return null!==u&&o(u),u;}if("RegExp"===a(t))return n(s,t,e);throw c("RegExp#exec called on incompatible receiver");};},2261:(t,e,r)=>{"use strict";var n,o,i=r(6916),a=r(1702),s=r(1340),c=r(7066),u=r(2999),l=r(2309),f=r(30),p=r(9909).get,d=r(9441),h=r(7168),v=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,m=g,y=a("".charAt),b=a("".indexOf),x=a("".replace),w=a("".slice),S=(o=/b*/g,i(g,n=/a/,"a"),i(g,o,"a"),0!==n.lastIndex||0!==o.lastIndex),_=u.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(S||C||_||d||h)&&(m=function(t){var e,r,n,o,a,u,l,d=this,h=p(d),O=s(t),P=h.raw;if(P)return P.lastIndex=d.lastIndex,e=i(m,P,O),d.lastIndex=P.lastIndex,e;var j=h.groups,k=_&&d.sticky,T=i(c,d),E=d.source,I=0,A=O;if(k&&(T=x(T,"y",""),-1===b(T,"g")&&(T+="g"),A=w(O,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==y(O,d.lastIndex-1))&&(E="(?: "+E+")",A=" "+A,I++),r=new RegExp("^(?:"+E+")",T)),C&&(r=new RegExp("^"+E+"$(?!\\s)",T)),S&&(n=d.lastIndex),o=i(g,k?r:d,A),k?o?(o.input=w(o.input,I),o[0]=w(o[0],I),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:S&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),C&&o&&o.length>1&&i(v,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0);})),o&&j)for(o.groups=u=f(null),a=0;a<j.length;a++)u[(l=j[a])[0]]=o[l[1]];return o;}),t.exports=m;},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e;};},4706:(t,e,r)=>{var n=r(6916),o=r(2597),i=r(7976),a=r(7066),s=RegExp.prototype;
6t.exports=function(t){var e=t.flags;return void 0!==e||"flags" in s||o(t,"flags")||!i(s,t)?e:n(a,t);};},2999:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd");})),a=i||n((function(){return !o("a","y").sticky;})),s=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str");}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i};},9441:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o(".","s");return !(t.dotAll&&t.exec("\n")&&"s"===t.flags);}));},7168:(t,e,r)=>{var n=r(7293),o=r(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c");}));},4488:(t,e,r)=>{var n=r(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t;};},7152:(t,e,r)=>{var n=r(7854),o=r(2104),i=r(614),a=r(8113),s=r(206),c=r(8053),u=/MSIE .\./.test(a),l=n.Function,f=function(t){return u?function(e,r){var n=c(arguments.length,1)>2,a=i(e)?e:l(e),u=n?s(arguments,2):void 0;return t(n?function(){o(a,this,u);}:a,r);}:t;};t.exports={setTimeout:f(n.setTimeout),setInterval:f(n.setInterval)};},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),a=r(9781),s=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this;}});};},8003:(t,e,r)=>{var n=r(3070).f,o=r(2597),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e});};},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t));};},5465:(t,e,r)=>{var n=r(7854),o=r(3072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a;},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{});})("versions",[]).push({version:"3.26.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"});},6707:(t,e,r)=>{var n=r(9670),o=r(9483),i=r(8554),a=r(5112)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||i(r=n(s)[a])?e:o(r);};},8710:(t,e,r)=>{var n=r(1702),o=r(9303),i=r(1340),a=r(4488),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),p=o(r),d=f.length;return p<0||p>=d?t?"":void 0:(n=c(f,p))<55296||n>56319||p+1===d||(l=c(f,p+1))<56320||l>57343?t?s(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536;};};t.exports={codeAt:l(!1),charAt:l(!0)};},6293:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return !String(t)||!(Object(t) instanceof Symbol)||!Symbol.sham&&n&&n<41;}));},6532:(t,e,r)=>{var n=r(6916),o=r(5005),i=r(5112),a=r(8052);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this);}),{arity:1});};},2015:(t,e,r)=>{var n=r(6293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor;},261:(t,e,r)=>{var n,o,i,a,s=r(7854),c=r(2104),u=r(9974),l=r(614),f=r(2597),p=r(7293),d=r(490),h=r(206),v=r(317),g=r(8053),m=r(6833),y=r(5268),b=s.setImmediate,x=s.clearImmediate,w=s.process,S=s.Dispatch,_=s.Function,C=s.MessageChannel,O=s.String,P=0,j={},k="onreadystatechange";try{n=s.location;}catch(t){}var T=function(t){if(f(j,t)){var e=j[t];delete j[t],e();}},E=function(t){return function(){T(t);};},I=function(t){T(t.data);},A=function(t){s.postMessage(O(t),n.protocol+"//"+n.host);};b&&x||(b=function(t){g(arguments.length,1);var e=l(t)?t:_(t),r=h(arguments,1);return j[++P]=function(){c(e,void 0,r);},o(P),P;},x=function(t){delete j[t];},y?o=function(t){w.nextTick(E(t));}:S&&S.now?o=function(t){S.now(E(t));}:C&&!m?(a=(i=new C()).port2,i.port1.onmessage=I,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(A)?(o=A,s.addEventListener("message",I,!1)):o=k in v("script")?function(t){d.appendChild(v("script")).onreadystatechange=function(){d.removeChild(this),T(t);};}:function(t){setTimeout(E(t),0);}),t.exports={set:b,clear:x};},1400:(t,e,r)=>{var n=r(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e);};},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t));};},9303:(t,e,r)=>{var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e);};},7466:(t,e,r)=>{var n=r(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0;};},7908:(t,e,r)=>{var n=r(4488),o=Object;t.exports=function(t){return o(n(t));};},7593:(t,e,r)=>{var n=r(6916),o=r(111),i=r(2190),a=r(8173),s=r(2140),c=r(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=a(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw u("Can't convert object to primitive value");}return void 0===e&&(e="number"),s(t,e);};},4948:(t,e,r)=>{var n=r(7593),o=r(2190);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+"";};},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n);},1340:(t,e,r)=>{var n=r(648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t);};},6330:(t)=>{var e=String;t.exports=function(t){try{return e(t);}catch(t){return "Object";}};},9711:(t,e,r)=>{var n=r(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return "Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36);};},3307:(t,e,r)=>{var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator;},3353:(t,e,r)=>{var n=r(9781),o=r(7293);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype;}));},8053:(t)=>{var e=TypeError;t.exports=function(t,r){if(t<r)throw e("Not enough arguments");return t;};},4811:(t,e,r)=>{var n=r(7854),o=r(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i));},6800:(t,e,r)=>{var n=r(857),o=r(2597),i=r(6061),a=r(3070).f;
6t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)});};},6061:(t,e,r)=>{var n=r(5112);e.f=n;},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(2597),a=r(9711),s=r(6293),c=r(3307),u=o("wks"),l=n.Symbol,f=l&&l.for,p=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&i(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):p(e);}return u[t];};},7327:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).filter;n({target:"Array",proto:!0,forced:!r(1194)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0);}});},9826:(t,e,r)=>{"use strict";var n=r(2109),o=r(2092).find,i=r(1223),a="find",s=!0;a in []&&Array(1).find((function(){s=!1;})),n({target:"Array",proto:!0,forced:s},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0);}}),i(a);},9554:(t,e,r)=>{"use strict";var n=r(2109),o=r(8533);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o});},6992:(t,e,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),a=r(9909),s=r(3070).f,c=r(1656),u=r(6178),l=r(1913),f=r(9781),p="Array Iterator",d=a.set,h=a.getterFor(p);t.exports=c(Array,"Array",(function(t,e){d(this,{type:p,target:n(t),index:0,kind:e});}),(function(){var t=h(this),e=t.target,r=t.kind,n=t.index++;return !e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1);}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==v.name)try{s(v,"name",{value:"values"});}catch(t){}},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(1702),i=r(8361),a=r(5656),s=r(9341),c=o([].join),u=i!=Object,l=s("join",",");n({target:"Array",proto:!0,forced:u||!l},{join:function(t){return c(a(this),void 0===t?",":t);}});},7042:(t,e,r)=>{"use strict";var n=r(2109),o=r(3157),i=r(4411),a=r(111),s=r(1400),c=r(6244),u=r(5656),l=r(6135),f=r(5112),p=r(1194),d=r(206),h=p("slice"),v=f("species"),g=Array,m=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var r,n,f,p=u(this),h=c(p),y=s(t,h),b=s(void 0===e?h:e,h);if(o(p)&&(r=p.constructor,(i(r)&&(r===g||o(r.prototype))||a(r)&&null===(r=r[v]))&&(r=void 0),r===g||void 0===r))return d(p,y,b);for(n=new (void 0===r?g:r)(m(b-y,0)),f=0;y<b;y++,f++)y in p&&l(n,f,p[y]);return n.length=f,n;}});},4812:(t,e,r)=>{var n=r(2109),o=r(7065);n({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o});},8862:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2104),a=r(6916),s=r(1702),c=r(7293),u=r(3157),l=r(614),f=r(111),p=r(2190),d=r(206),h=r(6293),v=o("JSON","stringify"),g=s(/./.exec),m=s("".charAt),y=s("".charCodeAt),b=s("".replace),x=s(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,C=!h||c((function(){var t=o("Symbol")();return "[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t));})),O=c((function(){return '"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead");})),P=function(t,e){var r=d(arguments),n=e;if((f(e)||void 0!==t)&&!p(t))return u(e)||(e=function(t,e){if(l(n)&&(e=a(n,this,t,e)),!p(e))return e;}),r[1]=e,i(v,null,r);},j=function(t,e,r){var n=m(r,e-1),o=m(r,e+1);return g(S,t)&&!g(_,o)||g(_,t)&&!g(S,n)?"\\u"+x(y(t,0),16):t;};v&&n({target:"JSON",stat:!0,arity:3,forced:C||O},{stringify:function(t,e,r){var n=d(arguments),o=i(C?P:v,null,n);return O&&"string"==typeof o?b(o,w,j):o;}});},9660:(t,e,r)=>{var n=r(2109),o=r(6293),i=r(7293),a=r(5181),s=r(7908);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1);}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[];}});},1539:(t,e,r)=>{var n=r(1694),o=r(8052),i=r(288);n||o(Object.prototype,"toString",i,{unsafe:!0});},821:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(9662),a=r(8523),s=r(2534),c=r(408);n({target:"Promise",stat:!0,forced:r(612)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,u=r.reject,l=s((function(){var r=i(e.resolve),a=[],s=0,l=1;c(t,(function(t){var i=s++,c=!1;l++,o(r,e,t).then((function(t){c||(c=!0,a[i]=t,--l||n(a));}),u);})),--l||n(a);}));return l.error&&u(l.value),r.promise;}});},4164:(t,e,r)=>{"use strict";var n=r(2109),o=r(1913),i=r(3702).CONSTRUCTOR,a=r(2492),s=r(5005),c=r(614),u=r(8052),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t);}}),!o&&c(a)){var f=s("Promise").prototype.catch;l.catch!==f&&u(l,"catch",f,{unsafe:!0});}},3401:(t,e,r)=>{"use strict";var n,o,i,a=r(2109),s=r(1913),c=r(5268),u=r(7854),l=r(6916),f=r(8052),p=r(7674),d=r(8003),h=r(6340),v=r(9662),g=r(614),m=r(111),y=r(5787),b=r(6707),x=r(261).set,w=r(5948),S=r(842),_=r(2534),C=r(8572),O=r(9909),P=r(2492),j=r(3702),k=r(8523),T="Promise",E=j.CONSTRUCTOR,I=j.REJECTION_EVENT,A=j.SUBCLASSING,$=O.getterFor(T),R=O.set,M=P&&P.prototype,D=P,N=M,L=u.TypeError,F=u.document,U=u.process,z=k.f,B=z,q=!!(F&&F.createEvent&&u.dispatchEvent),G="unhandledrejection",W=function(t){var e;return !(!m(t)||!g(e=t.then))&&e;},H=function(t,e){var r,n,o,i=e.value,a=1==e.state,s=a?t.ok:t.fail,c=t.resolve,u=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&J(e),e.rejection=1),!0===s?r=i:(f&&f.enter(),r=s(i),f&&(f.exit(),o=!0)),r===t.promise?u(L("Promise-chain cycle")):(n=W(r))?l(n,r,c,u):c(r)):u(i);}catch(t){f&&!o&&f.exit(),u(t);}},Q=function(t,e){t.notified||(t.notified=!0,w((function(){for(var r,n=t.reactions;r=n.get();)H(r,t);t.notified=!1,e&&!t.rejection&&Y(t);})));},V=function(t,e,r){var n,o;q?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},!I&&(o=u["on"+t])?o(n):t===G&&S("Unhandled promise rejection",r);},Y=function(t){l(x,u,(function(){var e,r=t.facade,n=t.value;if(K(t)&&(e=_((function(){c?U.emit("unhandledRejection",n,r):V(G,r,n);})),t.rejection=c||K(t)?2:1,e.error))throw e.value;}));},K=function(t){return 1!==t.rejection&&!t.parent;},J=function(t){l(x,u,(function(){var e=t.facade;c?U.emit("rejectionHandled",e):V("rejectionhandled",e,t.value);}));},X=function(t,e,r){return function(n){t(e,n,r);};},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Q(t,!0));}
6,tt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw L("Promise can't be resolved itself");var n=W(e);n?w((function(){var r={done:!1};try{l(n,e,X(tt,r,t),X(Z,r,t));}catch(e){Z(r,e,t);}})):(t.value=e,t.state=1,Q(t,!1));}catch(e){Z({done:!1},e,t);}}};if(E&&(N=(D=function(t){y(this,N),v(t),l(n,this);var e=$(this);try{t(X(tt,e),X(Z,e));}catch(t){Z(e,t);}}).prototype,(n=function(t){R(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C(),rejection:!1,state:0,value:void 0});}).prototype=f(N,"then",(function(t,e){var r=$(this),n=z(b(this,D));return r.parent=!0,n.ok=!g(t)||t,n.fail=g(e)&&e,n.domain=c?U.domain:void 0,0==r.state?r.reactions.add(n):w((function(){H(n,r);})),n.promise;})),o=function(){var t=new n(),e=$(t);this.promise=t,this.resolve=X(tt,e),this.reject=X(Z,e);},k.f=z=function(t){return t===D||undefined===t?new o(t):B(t);},!s&&g(P)&&M!==Object.prototype)){i=M.then,A||f(M,"then",(function(t,e){var r=this;return new D((function(t,e){l(i,r,t,e);})).then(t,e);}),{unsafe:!0});try{delete M.constructor;}catch(t){}p&&p(M,N);}a({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:D}),d(D,T,!1,!0),h(T);},8674:(t,e,r)=>{r(3401),r(821),r(4164),r(6027),r(683),r(6294);},6027:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(9662),a=r(8523),s=r(2534),c=r(408);n({target:"Promise",stat:!0,forced:r(612)},{race:function(t){var e=this,r=a.f(e),n=r.reject,u=s((function(){var a=i(e.resolve);c(t,(function(t){o(a,e,t).then(r.resolve,n);}));}));return u.error&&n(u.value),r.promise;}});},683:(t,e,r)=>{"use strict";var n=r(2109),o=r(6916),i=r(8523);n({target:"Promise",stat:!0,forced:r(3702).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return o(e.reject,void 0,t),e.promise;}});},6294:(t,e,r)=>{"use strict";var n=r(2109),o=r(5005),i=r(1913),a=r(2492),s=r(3702).CONSTRUCTOR,c=r(9478),u=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(t){return c(l&&this===u?a:this,t);}});},4603:(t,e,r)=>{var n=r(9781),o=r(7854),i=r(1702),a=r(4705),s=r(9587),c=r(8880),u=r(8006).f,l=r(7976),f=r(7850),p=r(1340),d=r(4706),h=r(2999),v=r(2626),g=r(8052),m=r(7293),y=r(2597),b=r(9909).enforce,x=r(6340),w=r(5112),S=r(9441),_=r(7168),C=w("match"),O=o.RegExp,P=O.prototype,j=o.SyntaxError,k=i(P.exec),T=i("".charAt),E=i("".replace),I=i("".indexOf),A=i("".slice),$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,M=/a/g,D=new O(R)!==R,N=h.MISSED_STICKY,L=h.UNSUPPORTED_Y,F=n&&(!D||N||S||_||m((function(){return M[C]=!1,O(R)!=R||O(M)==M||"/a/i"!=O(R,"i");})));if(a("RegExp",F)){for(var U=function(t,e){var r,n,o,i,a,u,h=l(P,this),v=f(t),g=void 0===e,m=[],x=t;if(!h&&v&&g&&t.constructor===U)return t;if((v||l(P,t))&&(t=t.source,g&&(e=d(x))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),x=t,S&&"dotAll" in R&&(n=!!e&&I(e,"s")>-1)&&(e=E(e,/s/g,"")),r=e,N&&"sticky" in R&&(o=!!e&&I(e,"y")>-1)&&L&&(e=E(e,/y/g,"")),_&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a={},s=!1,c=!1,u=0,l="";n<=r;n++){if("\\"===(e=T(t,n)))e+=T(t,++n);else if("]"===e)s=!1;else{if(!s)switch(!0){case "["===e:s=!0;break;case "("===e:k($,A(t,n+1))&&(n+=2,c=!0),o+=e,u++;continue;case ">"===e&&c:if(""===l||y(a,l))throw new j("Invalid capture group name");a[l]=!0,i[i.length]=[l,u],c=!1,l="";continue;}}c?l+=e:o+=e;}return [o,i];}(t),t=i[0],m=i[1]),a=s(O(t,e),h?this:P,U),(n||o||m.length)&&(u=b(a),n&&(u.dotAll=!0,u.raw=U(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=T(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+T(t,++n);return o;}(t),r)),o&&(u.sticky=!0),m.length&&(u.groups=m)),t!==x)try{c(a,"source",""===x?"(?:)":x);}catch(t){}return a;},z=u(O),B=0;z.length>B;)v(U,O,z[B++]);P.constructor=U,U.prototype=P,g(o,"RegExp",U,{constructor:!0});}x("RegExp");},4916:(t,e,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o});},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,o=r(8052),i=r(9670),a=r(1340),s=r(7293),c=r(4706),u="toString",l=RegExp.prototype.toString,f=s((function(){return "/a/b"!=l.call({source:"a",flags:"b"});})),p=n&&l.name!=u;(f||p)&&o(RegExp.prototype,u,(function(){var t=i(this);return "/"+a(t.source)+"/"+a(c(t));}),{unsafe:!0});},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,o=r(1340),i=r(9909),a=r(1656),s=r(6178),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(t){u(this,{type:c,string:o(t),index:0});}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?s(void 0,!0):(t=n(r,o),e.index+=t.length,s(t,!1));}));},4723:(t,e,r)=>{"use strict";var n=r(6916),o=r(7007),i=r(9670),a=r(8554),s=r(7466),c=r(1340),u=r(4488),l=r(8173),f=r(1530),p=r(1603);o("match",(function(t,e,r){return [function(e){var r=u(this),o=a(e)?void 0:l(e,t);return o?n(o,e,r):new RegExp(e)[t](c(r));},function(t){var n=i(this),o=c(t),a=r(e,n,o);if(a.done)return a.value;if(!n.global)return p(n,o);var u=n.unicode;n.lastIndex=0;for(var l,d=[],h=0;null!==(l=p(n,o));){var v=c(l[0]);
6d[h]=v,""===v&&(n.lastIndex=f(o,s(n.lastIndex),u)),h++;}return 0===h?null:d;}];}));},4032:(t,e,r)=>{"use strict";var n=r(2109),o=r(7854),i=r(6916),a=r(1702),s=r(1913),c=r(9781),u=r(6293),l=r(7293),f=r(2597),p=r(7976),d=r(9670),h=r(5656),v=r(4948),g=r(1340),m=r(9114),y=r(30),b=r(1956),x=r(8006),w=r(1156),S=r(5181),_=r(1236),C=r(3070),O=r(6048),P=r(5296),j=r(8052),k=r(2309),T=r(6200),E=r(3501),I=r(9711),A=r(5112),$=r(6061),R=r(6800),M=r(6532),D=r(8003),N=r(9909),L=r(2092).forEach,F=T("hidden"),U="Symbol",z=N.set,B=N.getterFor(U),q=Object.prototype,G=o.Symbol,W=G&&G.prototype,H=o.TypeError,Q=o.QObject,V=_.f,Y=C.f,K=w.f,J=P.f,X=a([].push),Z=k("symbols"),tt=k("op-symbols"),et=k("wks"),rt=!Q||!Q.prototype||!Q.prototype.findChild,nt=c&&l((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a;}})).a;}))?function(t,e,r){var n=V(q,e);n&&delete q[e],Y(t,e,r),n&&t!==q&&Y(q,e,n);}:Y,ot=function(t,e){var r=Z[t]=y(W);return z(r,{type:U,tag:t,description:e}),c||(r.description=e),r;},it=function(t,e,r){t===q&&it(tt,e,r),d(t);var n=v(e);return d(r),f(Z,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=y(r,{enumerable:m(0,!1)})):(f(t,F)||Y(t,F,m(1,{})),t[F][n]=!0),nt(t,n,r)):Y(t,n,r);},at=function(t,e){d(t);var r=h(e),n=b(r).concat(lt(r));return L(n,(function(e){c&&!i(st,r,e)||it(t,e,r[e]);})),t;},st=function(t){var e=v(t),r=i(J,this,e);return !(this===q&&f(Z,e)&&!f(tt,e))&&(!(r||!f(this,e)||!f(Z,e)||f(this,F)&&this[F][e])||r);},ct=function(t,e){var r=h(t),n=v(e);if(r!==q||!f(Z,n)||f(tt,n)){var o=V(r,n);return !o||!f(Z,n)||f(r,F)&&r[F][n]||(o.enumerable=!0),o;}},ut=function(t){var e=K(h(t)),r=[];return L(e,(function(t){f(Z,t)||f(E,t)||X(r,t);})),r;},lt=function(t){var e=t===q,r=K(e?tt:h(t)),n=[];return L(r,(function(t){!f(Z,t)||e&&!f(q,t)||X(n,Z[t]);})),n;};u||(j(W=(G=function(){if(p(W,this))throw H("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=I(t),r=function(t){this===q&&i(r,tt,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),nt(this,e,m(1,t));};return c&&rt&&nt(q,e,{configurable:!0,set:r}),ot(e,t);}).prototype,"toString",(function(){return B(this).tag;})),j(G,"withoutSetter",(function(t){return ot(I(t),t);})),P.f=st,C.f=it,O.f=at,_.f=ct,x.f=w.f=ut,S.f=lt,$.f=function(t){return ot(A(t),t);},c&&(Y(W,"description",{configurable:!0,get:function(){return B(this).description;}}),s||j(q,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),L(b(et),(function(t){R(t);})),n({target:U,stat:!0,forced:!u},{useSetter:function(){rt=!0;},useSimple:function(){rt=!1;}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?y(t):at(y(t),e);},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ut}),M(),D(G,U),E[F]=!0;},1817:(t,e,r)=>{"use strict";var n=r(2109),o=r(9781),i=r(7854),a=r(1702),s=r(2597),c=r(614),u=r(7976),l=r(1340),f=r(3070).f,p=r(9920),d=i.Symbol,h=d&&d.prototype;if(o&&c(d)&&(!("description" in h)||void 0!==d().description)){var v={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=u(h,this)?new d(t):void 0===t?d():d(t);return ""===t&&(v[e]=!0),e;};p(g,d),g.prototype=h,h.constructor=g;var m="Symbol(test)"==String(d("test")),y=a(h.valueOf),b=a(h.toString),x=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),S=a("".slice);f(h,"description",{configurable:!0,get:function(){var t=y(this);if(s(v,t))return "";var e=b(t),r=m?S(e,7,-1):w(e,x,"$1");return ""===r?void 0:r;}}),n({global:!0,constructor:!0,forced:!0},{Symbol:g});}},763:(t,e,r)=>{var n=r(2109),o=r(5005),i=r(2597),a=r(1340),s=r(2309),c=r(2015),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(i(u,e))return u[e];var r=o("Symbol")(e);return u[e]=r,l[r]=e,r;}});},2165:(t,e,r)=>{r(6800)("iterator");},2526:(t,e,r)=>{r(4032),r(763),r(6620),r(8862),r(9660);},6620:(t,e,r)=>{var n=r(2109),o=r(2597),i=r(2190),a=r(6330),s=r(2309),c=r(2015),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c}
6,{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t];}});},4747:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(8533),s=r(8880),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a);}catch(e){t.forEach=a;}};for(var u in o)o[u]&&c(n[u]&&n[u].prototype);c(i);},3948:(t,e,r)=>{var n=r(7854),o=r(8324),i=r(8509),a=r(6992),s=r(8880),c=r(5112),u=c("iterator"),l=c("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[u]!==f)try{s(t,u,f);}catch(e){t[u]=f;}if(t[l]||s(t,l,e),o[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r]);}catch(e){t[r]=a[r];}}};for(var d in o)p(n[d]&&n[d].prototype,d);p(i,"DOMTokenList");},6815:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(7152).setInterval;n({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i});},8417:(t,e,r)=>{var n=r(2109),o=r(7854),i=r(7152).setTimeout;n({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i});},2564:(t,e,r)=>{r(6815),r(8417);}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports;}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")();}catch(t){if("object"==typeof window)return window;}}(),(()=>{"use strict";r(6998),r(2278),r(9554),r(1539),r(4747),r(9799);!function(t,e,r){e.behaviors.obama_lib_menu={attach:function(e,n){var o="#main-menu";t(o).length&&r("obama_lib_menu_init","body").forEach((function(e){t(o).mmenu({extensions:["pagedim-black","theme-dark"],offCanvas:{position:"left",zposition:"front"},navbar:{title:"Browse the Site"}},{clone:!0});}));}};}(jQuery,Drupal,once);r(2986),r(6199),r(3814);})();})();;
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.