wtc-gallery-component
Version:
Very simplistic gallery with image preloader and a navigation and autoplay option.
1 lines • 44.4 kB
JavaScript
var WTCGalleryComponent=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=66)}([function(t,e,n){(function(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&&e)||Function("return this")()}).call(this,n(68))},function(t,e,n){var r=n(0),i=n(28),o=n(3),a=n(29),s=n(34),u=n(49),c=i("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(s&&o(l,t)?c[t]=l[t]:c[t]=f("Symbol."+t)),c[t]}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),i=n(22).f,o=n(7),a=n(13),s=n(27),u=n(46),c=n(73);t.exports=function(t,e){var n,l,f,d,p,h=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(d=e[l],f=t.noTargetGet?(p=i(n,l))&&p.value:n[l],!c(v?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(n,l,d,t)}}},function(t,e,n){var r=n(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(5),i=n(8),o=n(12);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(5),i=n(42),o=n(9),a=n(15),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(26);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(24),i=n(26);t.exports=function(t){return r(i(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(0),i=n(7),o=n(3),a=n(27),s=n(44),u=n(16),c=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var u=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(u?!d&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(t,e){t.exports={}},function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r,i,o,a=n(69),s=n(0),u=n(6),c=n(7),l=n(3),f=n(17),d=n(19),p=s.WeakMap;if(a){var h=new p,v=h.get,g=h.has,y=h.set;r=function(t,e){return y.call(h,t,e),e},i=function(t){return v.call(h,t)||{}},o=function(t){return g.call(h,t)}}else{var m=f("state");d[m]=!0,r=function(t,e){return c(t,m,e),e},i=function(t){return l(t,m)?t[m]:{}},o=function(t){return l(t,m)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(28),i=n(29),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e){t.exports=!1},function(t,e){t.exports={}},function(t,e,n){var r=n(47),i=n(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){var r=n(31),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(5),i=n(23),o=n(12),a=n(11),s=n(15),u=n(3),c=n(42),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(2),i=n(25),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(7);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(18),i=n(45);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(48),i=n(32).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(2);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(25);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r,i=n(9),o=n(74),a=n(32),s=n(19),u=n(75),c=n(43),l=n(17),f=l("IE_PROTO"),d=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=c("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d.prototype=i(t),n=new d,d.prototype=null,n[f]=t):n=h(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(48),i=n(32);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(8).f,i=n(3),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r={};r[n(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(3),i=n(10),o=n(17),a=n(62),s=o("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=new Map,s=function(){function t(){o(this,t)}return i(t,null,[{key:"instanciateAll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[data-controller]",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"data-controller",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null;if("string"==typeof e)o=document.querySelectorAll(e);else if("object"===(void 0===e?"undefined":r(e))){if(!e.hasOwnProperty("el"))throw'Instanciate all is missing the DOMNode. Ex: instanciateAll({el: DOMNode, query: "[data-controller]"})';e.hasOwnProperty("query")||(e.query="[data-controller]"),o=e.el.querySelectorAll(e.query)}if(o.length>0)for(var a=0;a<o.length;a++){var s=o[a],u=s.getAttribute(n);u&&t.instanciate(s,s.getAttribute(n),i)}}},{key:"instanciate",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,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e;try{if("string"==typeof e){if(t.data&&t.data.instanciated)throw new Error("The element with the controller '"+e+"' has already been instanciated. This error is non-critical and just means that something has tried to instanciate it twice.");if(!a.has(e))throw new Error("The controller '"+e+"' has not been registered. Please make sure the controller is registering itself using ExecuteController.registerController(CLASS, 'OPTIONAL-NAME').");if(r=a.get(e),!n){var i=t.dataset;new r(t,i);return t}}}catch(t){console.warn("Error: "+t.message,t.stack)}if(n){var o=t.dataset;new r(t,o);return t}}},{key:"registerController",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{if(!e)throw"Controller name is required. Ex: ExecuteControllers.registerController(TestController, 'TestController');";a.has(e)?console.warn("Controller "+e+" is already registered."):a.set(e,t)}catch(t){}}},{key:"controllersList",get:function(){return a}}]),t}(),u=function(){function t(e){o(this,t),this.element=e,this.element.data=this.element.data||{},this.element.data.controller=this,this.element.data.instanciated=!0}return i(t,[{key:"elementExistsInDOM",value:function(){var t=void 0;if(!(this.element||null))return!1;for(t=this.element;t;){if(t===document)return!0;t=t.parentNode}return!1}}]),t}();e.default=u,e.ExecuteControllers=s},function(t,e,n){var r=n(5),i=n(2),o=n(43);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(0),i=n(6),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(45),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},function(t,e,n){var r=n(0),i=n(27),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},function(t,e,n){var r=n(3),i=n(70),o=n(22),a=n(8);t.exports=function(t,e){for(var n=i(e),s=a.f,u=o.f,c=0;c<n.length;c++){var l=n[c];r(t,l)||s(t,l,u(e,l))}}},function(t,e,n){var r=n(0);t.exports=r},function(t,e,n){var r=n(3),i=n(11),o=n(71).indexOf,a=n(19);t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(34);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(1);e.f=r},function(t,e,n){var r=n(47),i=n(3),o=n(50),a=n(8).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){var r=n(53),i=n(24),o=n(10),a=n(21),s=n(54),u=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,l=4==t,f=6==t,d=5==t||f;return function(p,h,v,g){for(var y,m,b=o(p),x=i(b),S=r(h,v,3),w=a(x.length),O=0,A=g||s,L=e?A(p,w):n?A(p,0):void 0;w>O;O++)if((d||O in x)&&(m=S(y=x[O],O,b),t))if(e)L[O]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:u.call(L,y)}else if(l)return!1;return f?-1:c||l?l:L}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(t,e,n){var r=n(77);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(6),i=n(35),o=n(1)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){"use strict";var r=n(15),i=n(8),o=n(12);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r,i,o=n(0),a=n(82),s=o.process,u=s&&s.versions,c=u&&u.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},function(t,e,n){"use strict";var r=n(52).forEach,i=n(84),o=n(85),a=i("forEach"),s=o("forEach");t.exports=a&&s?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var r=n(39),i=n(25),o=n(1)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){"use strict";var r=n(11),i=n(92),o=n(14),a=n(16),s=n(60),u=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var r=n(4),i=n(93),o=n(40),a=n(63),s=n(38),u=n(7),c=n(13),l=n(1),f=n(18),d=n(14),p=n(61),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};t.exports=function(t,e,n,l,p,m,b){i(n,e,l);var x,S,w,O=function(t){if(t===p&&I)return I;if(!v&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",L=!1,E=t.prototype,j=E[g]||E["@@iterator"]||p&&E[p],I=!v&&j||O(p),P="Array"==e&&E.entries||j;if(P&&(x=o(P.call(new t)),h!==Object.prototype&&x.next&&(f||o(x)===h||(a?a(x,h):"function"!=typeof x[g]&&u(x,g,y)),s(x,A,!0,!0),f&&(d[A]=y))),"values"==p&&j&&"values"!==j.name&&(L=!0,I=function(){return j.call(this)}),f&&!b||E[g]===I||u(E,g,I),d[e]=I,p)if(S={values:O("values"),keys:m?I:O("keys"),entries:O("entries")},b)for(w in S)!v&&!L&&w in E||c(E,w,S[w]);else r({target:e,proto:!0,forced:v||L},S);return S}},function(t,e,n){"use strict";var r,i,o,a=n(40),s=n(7),u=n(3),c=n(1),l=n(18),f=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),l||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(t,e,n){var r=n(2);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(9),i=n(94);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e){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}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.debug,r=void 0!==n&&n;i(this,t);var o=[],a=0;this.debug=r,this.filesLoading=[],this.callback=function(){},this.addFiles=function(t){o.push(t)},this.getFiles=function(){return o},this.incrementLoadCounter=function(){a++},this.getLoadCounter=function(){return a}}return r(t,[{key:"add",value:function(t){if("string"==typeof t||t instanceof String){var e=arguments[1]||"image";this.addFiles({file:t,type:e})}else t.map(this.addFiles)}},{key:"getImageWithPromise",value:function(t){var e=this;return new Promise((function(n,r){var i=new Image;i.onload=function(){e.incrementLoadCounter(),e.debug&&console.log("i'm loaded: "+t.file),n(t)},i.onerror=function(){e.debug&&console.log("file not found: "+t.file),n(t)},i.src=t.file}))}},{key:"loadWithPromises",value:function(t){var e=this,n=e.getFiles().map(this.getImageWithPromise.bind(this));Promise.all(n).then((function(e){t()})).catch((function(t){e.debug&&(console.log("there was an error:"),console.log("Error Message:"),console.log(t.message),console.log("Error Object:"),console.log(t))}))}},{key:"loadWithCallbacks",value:function(t){for(var e=this.getFiles(),n=0;n<e.length;n++)if(!e[n].type||"image"==e[n].type){var r=new Image;r.addEventListener("load",this.onFilesLoaded.bind(this,t),!1),r.addEventListener("error",this.onFilesLoaded.bind(this,t),!1),r.src=e[n].file,this.filesLoading.push(r)}}},{key:"onFilesLoaded",value:function(t){this.debug&&("load"===event.type?console.log("i'm loaded: "+event.path[0].src):console.log("file not found: "+event.path[0].src)),this.incrementLoadCounter(),this.getLoadCounter()===this.filesLoading.length&&t&&t(this.getFiles())}},{key:"load",value:function(t){window.Promise?this.loadWithPromises(t):this.loadWithCallbacks(t)}}]),t}();e.default=o},function(t,e,n){"use strict";n.r(e);n(67),n(78),n(79),n(80),n(83),n(86),n(59),n(95),n(97),n(98),n(99),n(101),n(103),n(105),n(106);var r=n(65),i=n.n(r),o=n(41);function a(t){return(a="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)}function s(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?d(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var h=function(t){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(u(this,e),(n=l(this,f(e).call(this,t))).options={nav:"true"==n.element.getAttribute("data-nav"),debug:"true"==n.element.getAttribute("data-debug"),autoplay:"true"==n.element.getAttribute("data-autoplay"),delay:parseInt(n.element.getAttribute("data-delay"))>0?parseInt(n.element.getAttribute("data-delay")):5e3,pauseOnHover:"true"==n.element.getAttribute("data-pause-on-hover"),loop:"true"==n.element.getAttribute("data-loop"),draggable:"true"==n.element.getAttribute("data-draggable"),dragThreshold:parseInt(n.element.getAttribute("data-drag-threshold"))>0?parseInt(n.element.getAttribute("data-drag-threshold")):40,pagination:"true"==n.element.getAttribute("data-pagination"),paginationTarget:n.element.getAttribute("data-pagination-target")&&n.element.getAttribute("data-pagination-target").length>1?n.element.getAttribute("data-pagination-target"):null,nextBtnMarkup:n.element.getAttribute("data-next-btn-markup")?n.element.getAttribute("data-next-btn-markup"):'Next <span class="visually-hidden">carousel item.</span>',prevBtnMarkup:n.element.getAttribute("data-prev-btn-markup")?n.element.getAttribute("data-prev-btn-markup"):'Previous <span class="visually-hidden">carousel item.</span>',liveRegionText:n.element.getAttribute("data-live-region-text")?n.element.getAttribute("data-live-region-text"):"Active carousel item",onLoad:null,onWillChange:null,onHasChanged:null},r&&(n.options=Object.assign({},n.options,r)),n.wrapper=n.element.querySelector("ul"),n.items=s(n.wrapper.children),n.overlay=document.createElement("div"),n.currentItem=n.items[0],n.currentIndex=0,n.handleVisibilityChange=n.handleVisibilityChange.bind(d(n)),n.options.nav&&(n.nextBtn=document.createElement("button"),n.nextBtn.innerHTML=n.options.nextBtnMarkup,n.prevBtn=document.createElement("button"),n.prevBtn.innerHTML=n.options.prevBtnMarkup,n.nextBtn.className="gallery__nav gallery__nav-next",n.prevBtn.className="gallery__nav gallery__nav-prev",n.nextBtn.addEventListener("click",n.next.bind(d(n))),n.prevBtn.addEventListener("click",n.prev.bind(d(n))),n.wrapper.insertAdjacentElement("afterend",n.nextBtn),n.wrapper.insertAdjacentElement("afterend",n.prevBtn)),n.options.pagination){var o;if(n.options.paginationTarget){var a=s((o=document.querySelector(n.options.paginationTarget)).children);a.forEach((function(t,e){t.classList.add("gallery__pagination-item"),t.dataset.index||(t.dataset.index=e),0===e&&t.classList.add("is-active"),t.addEventListener("click",n.handlePagination.bind(d(n)))}))}else{var c=0,p=n.items.length;for(o=document.createElement("ul");c<p;c++){var h=document.createElement("li"),v=document.createElement("button"),g=document.createTextNode(c+1);h.classList.add("gallery__pagination-item"),h.dataset.index=c,0===c&&h.classList.add("is-active"),h.addEventListener("click",n.handlePagination.bind(d(n))),v.appendChild(g),h.appendChild(v),o.appendChild(h)}n.element.appendChild(o)}n.paginationList=o,n.paginationItems=s(n.paginationList.children),o.classList.add("gallery__pagination")}n.liveRegion=null,n.options.liveRegionText&&(n.liveRegion=document.createElement("p"),n.liveRegion.setAttribute("aria-live","polite"),n.liveRegion.classList.add("visually-hidden"),n.element.insertAdjacentElement("afterbegin",n.liveRegion)),n.options.pauseOnHover&&(window.PointerEvent?(t.addEventListener("pointerover",n.pause.bind(d(n)),!1),t.addEventListener("pointerout",n.resume.bind(d(n)),!1)):(t.addEventListener("mouseenter",n.pause.bind(d(n)),!1),t.addEventListener("mouseleave",n.resume.bind(d(n)),!1))),n.options.draggable&&(n.dragStartX=null,t.addEventListener("mousedown",n.draggablePointerDown.bind(d(n)),!1),t.addEventListener("touchstart",n.draggablePointerDown.bind(d(n)),!1),t.addEventListener("mouseup",n.draggablePointerUp.bind(d(n)),!1),t.addEventListener("touchend",n.draggablePointerUp.bind(d(n)),!1)),n.element.classList.add("gallery"),n.overlay.classList.add("gallery__overlay"),n.wrapper.classList.add("gallery__wrapper"),n.items.forEach((function(t,e){if(t.classList.add("gallery__item"),t.dataset.index=e,t.setAttribute("tabindex",-1),n.currentIndex!==e){var r=t.querySelectorAll("button, [href], [tabindex]"),i=!0,o=!1,a=void 0;try{for(var s,u=r[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){s.value.setAttribute("tabindex",-1)}}catch(t){o=!0,a=t}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}t.setAttribute("aria-hidden","true")}t.addEventListener("transitionend",n.itemTransitioned.bind(d(n),t))})),n.currentItem.classList.add("is-active"),n.element.classList.add("is-loading"),n.element.appendChild(n.overlay);var y=n.wrapper.querySelectorAll("img");if(y.length>0){var m=new i.a({debug:n.options.debug}),b=!0,x=!1,S=void 0;try{for(var w,O=y[Symbol.iterator]();!(b=(w=O.next()).done);b=!0){var A=w.value;m.add(A.getAttribute("src"),"image")}}catch(t){x=!0,S=t}finally{try{b||null==O.return||O.return()}finally{if(x)throw S}}m.load(n.loaded.bind(d(n)))}else n.loaded();return n}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),n=e,(r=[{key:"handlePagination",value:function(t){var e=t.target.closest(".gallery__pagination-item");if(e){var n=+e.dataset.index;this.paginationItems.forEach((function(t,e){n===e?t.classList.add("is-active"):t.classList.remove("is-active")})),this.moveByIndex(n),this.currentItem.focus()}}},{key:"draggablePointerDown",value:function(t){if(!t.target.closest("button")){t.preventDefault();var e=t.clientX||t.touches[0].clientX;this.dragStartX=e}}},{key:"draggablePointerUp",value:function(t){if(!t.target.closest("button")&&!t.target.closest("[href]")){t.preventDefault();var e=t.clientX||t.changedTouches[0].clientX;Math.abs(e-this.dragStartX)>this.options.dragThreshold&&(e>this.dragStartX?this.prev():this.next())}}},{key:"resize",value:function(){var t=0,e=!0,n=!1,r=void 0;try{for(var i,o=this.items[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){var a=i.value.offsetHeight;a>t&&(t=a)}}catch(t){n=!0,r=t}finally{try{e||null==o.return||o.return()}finally{if(n)throw r}}return this.wrapper.style.height="".concat(t,"px"),this}},{key:"handleAutoplay",value:function(){this.options.autoplay&&("hidden"===document.visibilityState?(this.pause(),document.addEventListener("visibilitychange",this.handleVisibilityChange)):this.player=setTimeout(this.next.bind(this),this.options.delay))}},{key:"handleVisibilityChange",value:function(){this.options.autoplay&&"hidden"!==document.visibilityState&&(document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.handleAutoplay())}},{key:"loaded",value:function(){return window.addEventListener("resize",this.resize.bind(this)),this.resize(),this.element.classList.remove("is-loading"),this.element.classList.add("is-loaded"),this.options.autoplay&&this.handleAutoplay(),this.options.nav&&!this.options.loop&&0==this.currentIndex&&this.prevBtn.setAttribute("disabled",!0),"function"==typeof this.options.onLoad&&this.options.onLoad(this),this}},{key:"itemTransitioned",value:function(t){return t.classList.remove("is-transitioning"),t.classList.remove("is-transitioning--center"),t.classList.remove("is-transitioning--backward"),t.classList.remove("is-transitioning--forward"),this}},{key:"moveByIndex",value:function(t){var e=this.items[t];if(this.options.autoplay&&clearTimeout(this.player),e){if(this.currentItem!=e&&(this.currentItem.setAttribute("aria-hidden","true"),e.removeAttribute("aria-hidden"),e.classList.add("is-active"),e.classList.add("is-transitioning"),e.classList.add("is-transitioning--center"),this.currentItem.classList.remove("is-active")),this.options.pagination){var n=!0,r=!1,i=void 0;try{for(var o,a=this.paginationItems[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;s.dataset.index==t?s.classList.add("is-active"):s.classList.remove("is-active")}}catch(t){r=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}}this.liveRegion&&this.options.liveRegionText&&(this.liveRegion.innerHTML="".concat(this.options.liveRegionText,": ").concat(t+1," of ").concat(this.items.length,"."));var u=this.currentItem;return this.currentItem=e,this.currentIndex=t,!this.options.loop&&this.options.nav&&(this.currentIndex==this.items.length-1?(this.nextBtn.setAttribute("disabled",!0),this.prevBtn.removeAttribute("disabled")):0==this.currentIndex?(this.prevBtn.setAttribute("disabled",!0),this.nextBtn.removeAttribute("disabled")):(this.nextBtn.removeAttribute("disabled"),this.prevBtn.removeAttribute("disabled"))),"function"==typeof this.options.onHasChanged&&this.options.onHasChanged(this.currentItem,u,this),this.options.autoplay&&this.handleAutoplay(),this}console.warn("No item with index: "+t)}},{key:"move",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.autoplay&&clearTimeout(this.player);var e=t?this.currentItem.nextElementSibling:this.currentItem.previousElementSibling;e||(e=t?this.items[0]:this.items[this.items.length-1]),e.classList.add("is-active"),e.classList.add("is-transitioning"),e.classList.add("is-transitioning--center"),this.currentItem.classList.remove("is-active"),this.currentItem.setAttribute("aria-hidden","true"),e.removeAttribute("aria-hidden"),this.options.pagination&&this.paginationItems.forEach((function(t,n){n==e.dataset.index?t.classList.add("is-active"):t.classList.remove("is-active")}));var n=this.currentItem;this.currentItem=e,this.currentIndex=+e.dataset.index,!this.options.loop&&this.options.nav&&(this.currentIndex==this.items.length-1?(this.nextBtn.setAttribute("disabled",!0),this.prevBtn.removeAttribute("disabled")):0==this.currentIndex?(this.prevBtn.setAttribute("disabled",!0),this.nextBtn.removeAttribute("disabled")):(this.nextBtn.removeAttribute("disabled"),this.prevBtn.removeAttribute("disabled"))),"function"==typeof this.options.onHasChanged&&this.options.onHasChanged(this.currentItem,n,this),this.options.autoplay?this.handleAutoplay():this.liveRegion&&this.options.liveRegionText&&(this.liveRegion.innerHTML="".concat(this.options.liveRegionText,": ").concat(this.currentIndex+1," of ").concat(this.items.length,"."))}},{key:"next",value:function(){return this.currentIndex=parseInt(this.currentItem.dataset.index),"function"==typeof this.options.onWillChange&&this.options.onWillChange(this,!0),this.currentItem.classList.remove("is-transitioning--center"),this.currentItem.classList.add("is-transitioning"),this.currentItem.classList.add("is-transitioning--backward"),this.move(),this}},{key:"prev",value:function(){return this.currentIndex=this.currentItem.dataset.index,"function"==typeof this.options.onWillChange&&this.options.onWillChange(this,!1),this.currentItem.classList.remove("is-transitioning--center"),this.currentItem.classList.add("is-transitioning"),this.currentItem.classList.add("is-transitioning--forward"),this.move(!1),this}},{key:"pause",value:function(){return this.options.autoplay&&clearTimeout(this.player),this}},{key:"resume",value:function(){return this.options.autoplay&&this.handleAutoplay(),this}},{key:"active",get:function(){return this.currentItem}},{key:"activeIndex",get:function(){return this.currentIndex}}])&&c(n.prototype,r),o&&c(n,o),e}(n.n(o).a);o.ExecuteControllers.registerController(h,"Gallery"),e.default=h},function(t,e,n){"use strict";var r=n(4),i=n(0),o=n(20),a=n(18),s=n(5),u=n(34),c=n(49),l=n(2),f=n(3),d=n(35),p=n(6),h=n(9),v=n(10),g=n(11),y=n(15),m=n(12),b=n(36),x=n(37),S=n(30),w=n(76),O=n(33),A=n(22),L=n(8),E=n(23),j=n(7),I=n(13),P=n(28),T=n(17),k=n(19),_=n(29),C=n(1),M=n(50),R=n(51),B=n(38),F=n(16),N=n(52).forEach,D=T("hidden"),W=C("toPrimitive"),H=F.set,q=F.getterFor("Symbol"),G=Object.prototype,V=i.Symbol,z=o("JSON","stringify"),X=A.f,U=L.f,Y=w.f,J=E.f,$=P("symbols"),K=P("op-symbols"),Q=P("string-to-symbol-registry"),Z=P("symbol-to-string-registry"),tt=P("wks"),et=i.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=s&&l((function(){return 7!=b(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=X(G,e);r&&delete G[e],U(t,e,n),r&&t!==G&&U(G,e,r)}:U,it=function(t,e){var n=$[t]=b(V.prototype);return H(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},at=function(t,e,n){t===G&&at(K,e,n),h(t);var r=y(e,!0);return h(n),f($,r)?(n.enumerable?(f(t,D)&&t[D][r]&&(t[D][r]=!1),n=b(n,{enumerable:m(0,!1)})):(f(t,D)||U(t,D,m(1,{})),t[D][r]=!0),rt(t,r,n)):U(t,r,n)},st=function(t,e){h(t);var n=g(e),r=x(n).concat(ft(n));return N(r,(function(e){s&&!ut.call(n,e)||at(t,e,n[e])})),t},ut=function(t){var e=y(t,!0),n=J.call(this,e);return!(this===G&&f($,e)&&!f(K,e))&&(!(n||!f(this,e)||!f($,e)||f(this,D)&&this[D][e])||n)},ct=function(t,e){var n=g(t),r=y(e,!0);if(n!==G||!f($,r)||f(K,r)){var i=X(n,r);return!i||!f($,r)||f(n,D)&&n[D][r]||(i.enumerable=!0),i}},lt=function(t){var e=Y(g(t)),n=[];return N(e,(function(t){f($,t)||f(k,t)||n.push(t)})),n},ft=function(t){var e=t===G,n=Y(e?K:g(t)),r=[];return N(n,(function(t){!f($,t)||e&&!f(G,t)||r.push($[t])})),r};(u||(I((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=_(t),n=function(t){this===G&&n.call(K,t),f(this,D)&&f(this[D],e)&&(this[D][e]=!1),rt(this,e,m(1,t))};return s&&nt&&rt(G,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return q(this).tag})),I(V,"withoutSetter",(function(t){return it(_(t),t)})),E.f=ut,L.f=at,A.f=ct,S.f=w.f=lt,O.f=ft,M.f=function(t){return it(C(t),t)},s&&(U(V.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||I(G,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),N(x(tt),(function(t){R(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(Q,e))return Q[e];var n=V(e);return Q[e]=n,Z[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(f(Z,t))return Z[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(t,e){return void 0===e?b(t):st(b(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ct}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:l((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(v(t))}}),z)&&r({target:"JSON",stat:!0,forced:!u||l((function(){var t=V();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}))},{stringify:function(t,e,n){for(var r,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=e,(p(e)||void 0!==t)&&!ot(t))return d(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ot(e))return e}),i[1]=e,z.apply(null,i)}});V.prototype[W]||j(V.prototype,W,V.prototype.valueOf),B(V,"Symbol"),k[D]=!0},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(0),i=n(44),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},function(t,e,n){var r=n(20),i=n(30),o=n(33),a=n(9);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(11),i=n(21),o=n(72),a=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(31),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e,n){var r=n(2),i=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},function(t,e,n){var r=n(5),i=n(8),o=n(9),a=n(37);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),s=r.length,u=0;s>u;)i.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r=n(20);t.exports=r("document","documentElement")},function(t,e,n){var r=n(11),i=n(30).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";var r=n(4),i=n(5),o=n(0),a=n(3),s=n(6),u=n(8).f,c=n(46),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};c(d,l);var p=d.prototype=l.prototype;p.constructor=d;var h=p.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=h.call(t);if(a(f,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(t,e,n){n(51)("iterator")},function(t,e,n){"use strict";var r=n(4),i=n(2),o=n(35),a=n(6),s=n(10),u=n(21),c=n(55),l=n(54),f=n(81),d=n(1),p=n(56),h=d("isConcatSpreadable"),v=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=f("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,i,o,a=s(this),f=l(a,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?a:arguments[e],y(o)){if(d+(i=u(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,d++)n in o&&c(f,d,o[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,d++,o)}return f.length=d,f}})},function(t,e,n){var r=n(2),i=n(1),o=n(56),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){var r=n(20);t.exports=r("navigator","userAgent")||""},function(t,e,n){"use strict";var r=n(4),i=n(57);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var r=n(5),i=n(2),o=n(3),a=Object.defineProperty,s={},u=function(t){throw t};t.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var n=[][t],c=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:u,f=o(e,1)?e[1]:void 0;return s[t]=!!n&&!i((function(){if(c&&!r)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,f)}))}},function(t,e,n){var r=n(4),i=n(87);r({target:"Array",stat:!0,forced:!n(91)((function(t){Array.from(t)}))},{from:i})},function(t,e,n){"use strict";var r=n(53),i=n(10),o=n(88),a=n(89),s=n(21),u=n(55),c=n(90);t.exports=function(t){var e,n,l,f,d,p,h=i(t),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=c(h),x=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(e=s(h.length));e>x;x++)p=m?y(h[x],x):h[x],u(n,x,p);else for(d=(f=b.call(h)).next,n=new v;!(l=d.call(f)).done;x++)p=m?o(f,y,[l.value,x],!0):l.value,u(n,x,p);return n.length=x,n}},function(t,e,n){var r=n(9);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(1),i=n(14),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,e,n){var r=n(58),i=n(14),o=n(1)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){var r=n(1),i=n(36),o=n(8),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){"use strict";var r=n(61).IteratorPrototype,i=n(36),o=n(12),a=n(38),s=n(14),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,c,!1,!0),s[c]=u,t}},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(4),i=n(96);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(t,e,n){"use strict";var r=n(5),i=n(2),o=n(37),a=n(33),s=n(23),u=n(10),c=n(24),l=Object.assign,f=Object.defineProperty;t.exports=!l||i((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=o(l({},e)).join("")}))?function(t,e){for(var n=u(t),i=arguments.length,l=1,f=a.f,d=s.f;i>l;)for(var p,h=c(arguments[l++]),v=f?o(h).concat(f(h)):o(h),g=v.length,y=0;g>y;)p=v[y++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:l},function(t,e,n){var r=n(4),i=n(2),o=n(10),a=n(40),s=n(62);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},function(t,e,n){n(4)({target:"Object",stat:!0},{setPrototypeOf:n(63)})},function(t,e,n){var r=n(39),i=n(13),o=n(100);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(39),i=n(58);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,e,n){"use strict";var r=n(13),i=n(9),o=n(2),a=n(102),s=RegExp.prototype,u=s.toString,c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(c||l)&&r(RegExp.prototype,"toString",(function(){var t=i(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(9);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(104).charAt,i=n(16),o=n(60),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(31),i=n(26),o=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){var r=n(0),i=n(64),o=n(57),a=n(7);for(var s in i){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(t){c.forEach=o}}},function(t,e,n){var r=n(0),i=n(64),o=n(59),a=n(7),s=n(1),u=s("iterator"),c=s("toStringTag"),l=o.values;for(var f in i){var d=r[f],p=d&&d.prototype;if(p){if(p[u]!==l)try{a(p,u,l)}catch(t){p[u]=l}if(p[c]||a(p,c,f),i[f])for(var h in o)if(p[h]!==o[h])try{a(p,h,o[h])}catch(t){p[h]=o[h]}}}}]);