1!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=159)}([function(t,e,n){var r=n(1),o=n(8),i=n(16),a=n(12),s=n(19),c=function(t,e,n){var u,l,f,d,p=t&c.F,h=t&c.G,v=t&c.S,m=t&c.P,g=t&c.B,y=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?o:o[e]||(o[e]={}),w=b.prototype||(b.prototype={});for(u in h&&(n=e),n)f=((l=!p&&y&&void 0!==y[u])?y:n)[u],d=g&&l?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,y&&a(y,u,f,t&c.U),b[u]!=f&&i(b,u,d),m&&w[u]!=f&&(w[u]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(55)("wks"),o=n(33),i=n(1).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){var r=n(21),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e,n){t.exports=!n(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),o=n(103),i=n(30),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(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(26);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(1),o=n(16),i=n(15),a=n(33)("src"),s=n(164),c=(""+s).split("toString");n(8).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e,n){var r=n(0),o=n(2),i=n(26),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e,n){"use strict";var r=n(138),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===o.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!
1a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},deepMerge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]="object"==typeof n?t({},n):n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return e},extend:function(t,e,n){return u(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(10),o=n(32);t.exports=n(9)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(51),o=n(26);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},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,n){var r=n(52),o=n(32),i=n(17),a=n(30),s=n(15),c=n(103),u=Object.getOwnPropertyDescriptor;e.f=n(9)?u:function(t,e){if(t=i(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(0),o=n(8),i=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(t,e,n){var r=n(19),o=n(51),i=n(11),a=n(7),s=n(119);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,d=5==t||f,p=e||s;return function(e,s,h){for(var v,m,g=i(e),y=o(g),b=r(s,h,3),w=a(y.length),_=0,x=n?p(e,w):c?p(e,0):void 0;w>_;_++)if((d||_ in y)&&(m=b(v=y[_],_,g),t))if(n)x[_]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:x.push(v)}else if(l)return!1;return f?-1:u||l?l:x}}},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){"use strict";if(n(9)){var r=n(34),o=n(1),i=n(2),a=n(0),s=n(66),c=n(93),u=n(19),l=n(48),f=n(32),d=n(16),p=n(49),h=n(21),v=n(7),m=n(130),g=n(36),y=n(30),b=n(15),w=n(53),_=n(4),x=n(11),E=n(85),S=n(37),O=n(39),T=n(38).f,L=n(87),A=n(33),k=n(5),I=n(24),C=n(56),M=n(54),j=n(89),P=n(46),N=n(59),D=n(47),F=n(88),q=n(121),B=n(10),R=n(22),H=B.f,U=R.f,z=o.RangeError,W=o.TypeError,V=o.Uint8Array,$=Array.prototype,G=c.ArrayBuffer,X=c.DataView,J=I(0),Y=I(2),K=I(3),Q=I(4),Z=I(5),tt=I(6),et=C(!0),nt=C(!1),rt=j.values,ot=j.keys,it=j.entries,at=$.lastIndexOf,st=$.reduce,ct=$.reduceRight,ut=$.join,lt=$.sort,ft=$.slice,dt=$.toString,pt=$.toLocaleStr
vendor: 2,018 bytes, line 1
1ing,ht=k("iterator"),vt=k("toStringTag"),mt=A("typed_constructor"),gt=A("def_constructor"),yt=s.CONSTR,bt=s.TYPED,wt=s.VIEW,_t=I(1,(function(t,e){return Tt(M(t,t[gt]),e)})),xt=i((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),Et=!!V&&!!V.prototype.set&&i((function(){new V(1).set({})})),St=function(t,e){var n=h(t);if(n<0||n%e)throw z("Wrong offset!");return n},Ot=function(t){if(_(t)&&bt in t)return t;throw W(t+" is not a typed array!")},Tt=function(t,e){if(!_(t)||!(mt in t))throw W("It is not a typed array constructor!");return new t(e)},Lt=function(t,e){return At(M(t,t[gt]),e)},At=function(t,e){for(var n=0,r=e.length,o=Tt(t,r);r>n;)o[n]=e[n++];return o},kt=function(t,e,n){H(t,e,{get:function(){return this._d[n]}})},It=function(t){var e,n,r,o,i,a,s=x(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,d=L(s);if(null!=d&&!E(d)){for(a=d.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=v(s.length),o=Tt(this,n);n>e;e++)o[e]=f?l(s[e],e):s[e];return o},Ct=function(){for(var t=0,e=arguments.length,n=Tt(this,e);e>t;)n[t]=arguments[t++];return n},Mt=!!V&&i((function(){pt.call(new V(1))})),jt=function(){return pt.apply(Mt?ft.call(Ot(this)):Ot(this),arguments)},Pt={copyWithin:function(t,e){return q.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return F.apply(Ot(this),arguments)},filter:function(t){return Lt(this,Y(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ut.apply(Ot(this),arguments)}
1,lastIndexOf:function(t){return at.apply(Ot(this),arguments)},map:function(t){return _t(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Ot(this),arguments)},reduceRight:function(t){return ct.apply(Ot(this),arguments)},reverse:function(){for(var t,e=Ot(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return K(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,o=g(t,r);return new(M(n,n[gt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===e?r:g(e,r))-o))}},Nt=function(t,e){return Lt(this,ft.call(Ot(this),t,e))},Dt=function(t){Ot(this);var e=St(arguments[1],1),n=this.length,r=x(t),o=v(r.length),i=0;if(o+e>n)throw z("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Ft={entries:function(){return it.call(Ot(this))},keys:function(){return ot.call(Ot(this))},values:function(){return rt.call(Ot(this))}},qt=function(t,e){return _(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Bt=function(t,e){return qt(t,e=y(e,!0))?f(2,t[e]):U(t,e)},Rt=function(t,e,n){return!(qt(t,e=y(e,!0))&&_(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?H(t,e,n):(t[e]=n.value,t)};yt||(R.f=Bt,B.f=Rt),a(a.S+a.F*!yt,"Object",{getOwnPropertyDescriptor:Bt,defineProperty:Rt}),i((function(){dt.call({})}))&&(dt=pt=function(){return ut.call(this)});var Ht=p({},Pt);p(Ht,Ft),d(Ht,ht,Ft.values),p(Ht,{slice:Nt,set:Dt,constructor:function(){},toString:dt,toLocaleString:jt}),kt(Ht,"buffer","b"),kt(Ht,"byteOffset","o"),kt(Ht,"byteLength","l"),kt(Ht,"length","e"),H(Ht,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,c){var u=t+((c=!!c)?"Clamped":"")+"Array",f="get"+t,p="set"+t,h=o[u],g=h||{},y=h&&O(h),b=!h||!s.ABV,x={},E=h&&h.prototype,L=function(t,n){H(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[f](n*e+r.o,xt)}(this,n)},set:function(t){return function(t,n,r){var o=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*e+o.o,r,xt)}(this,n,t)},enumerable:!0})};b?(h=n((function(t,n,r,o){l(t,h,u,"_d");var i,a,s,c,f=0,p=0;if(_(n)){if(!(n instanceof G||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return bt in n?At(h,n):It.call(h,n);i=n,p=St(r,e);var g=n.byteLength;if(void 0===o){if(g%e)throw z("Wrong length!");if((a=g-p)<0)throw z("Wrong length!")}else if((a=v(o)*e)+p>g)throw z("Wrong length!");s=a/e}else s=m(n),i=new G(a=s*e);for(d(t,"_d",{b:i,o:p,l:a,e:s,v:new X(i)});f<s;)L(t,f++)})),E=h.prototype=S(Ht),d(E,"constructor",h)):i((function(){h(1)}))&&i((function(){new h(-1)}))&&N((function(t){new h,new h(null),new h(1.5),new h(t)}),!0)||(h=n((function(t,n,r,o){var i;return l(t,h,u),_(n)?n instanceof G||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new g(n,St(r,e),o):void 0!==r?new g(n,St(r,e)):new g(n):bt in n?At(h,n):It.call(h,n):new g(m(n))})),J(y!==Function.prototype?T(g).concat(T(y)):T(g),(function(t){t in h||d(h,t,g[t])})),h.prototype=E,r||(E.constructor=h));var A=E[ht],k=!!A&&("values"==A.name||null==A.name),I=Ft.values;d(h,mt,!0),d(E,bt,u),d(E,wt,!0),d(E,gt,h),(c?new h(1)[vt]==u:vt in E)||H(E,vt,{get:function(){return u}}),x[u]=h,a(a.G+a.W+a.F*(h!=g),x),a(a.S,u,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i((function(){g.of.call(h,1)})),u,{from:It,of:Ct}),"BYTES_PER_ELEMENT"in E||d(E,"BYTES_PER_ELEMENT",e),a(a.P,u,Pt),D(u),a(a.P+a.F*Et,u,{set:Dt}),a(a.P+a.F*!k,u,Ft),r||E.toString==dt||(E.toString=dt),a(a.P+a.F*i((function(){new h(1).slice()})),u,{slice:Nt}),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()}))||!i((function(){E.toLocaleString.call([1,2])}))),u,{toLocaleString:jt}),P[u]=k?A:I,r||k||d(E,ht,I)}}else t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.topics=e.users=e.likeFunc=e.segments=e.default=void 0;var r=n(29);function o(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a=window.JSi18n.FE.labels,s=function(t,e){if(t&&t instanceof Array&&!(t.length<0)){var n={};return t.forEach((function(t){var i=t.followedByCurrentUser,s="true"===t.hidden,c=String(t.ref||t.id);c&&"undefined"!==c&&(n[c]=t,Object.defineProperties(n[c],{followedByCurrentUser:{set:function(t){var n,r='[data-id="'.concat(this.ref||this.id,'"]'),s=[".".concat("user"===e?"author":"topic","s ").concat(r),".allActivity > ul ".concat(r),".editors-list ".concat(r),".topics-list ".concat(r)],c=o(document.querySelectorAll(s.join(", ")));try{for(c.s();!(n=c.n()).done;){var u=n.value;if("A"===u.nodeName&&(u=u.parentNode),u){u.querySelectorAll("button.".concat("user"===e?"author":"topic","__follow")).forEac
1h((function(n){n.classList.remove("follow","unfollow"),n.classList.add(t?"unfollow":"follow");var r=t?"topic"===e?"Unfollow Topic":"Unfollow":"topic"===e?"Follow Topic":"Follow";n.textContent=r,n.setAttribute("aria-label",r)}));var l=u.querySelector(".author__followstats, .followstats, ._followers");if(l){var f=parseInt(l.textContent)||0,d=t?f+1:f-1;l.textContent="".concat(d," ").concat(a.followers)}}}}catch(t){c.e(t)}finally{c.f()}this.followers=t?Number(this.followers)+1:Number(this.followers)-1,i=t},get:function(){return i}},hidden:{set:function(t){var n,i=o(document.querySelectorAll(".".concat("user"===e?"author":"topic",'s [data-id="').concat(this.ref||this.id,'"]')));try{for(i.s();!(n=i.n()).done;){var c=n.value,u=c.querySelector("a.".concat(t?"":"un","hide"));if(u){var l=!1,f=null;try{(l=u.parentNode.classList.contains("dropdown__holder"))&&(f=u)}catch(t){throw new Error(t)}var d=c.querySelector("p.author__followstats, p.followstats, p._followers, .meta:not(.author__bio)");if(u.classList.contains("unhide")){c.classList.remove("hidden");var p=c.querySelector(".actions__right")||c.querySelector(".card__options .dropdown__holder"),h=document.createElement("A");h&&(p.append(h),h.outerHTML=(0,r.hideButtonHTML)({justIcon:!!l,tooltip:!!l})),d&&(d.innerHTML="".concat(this.followers," ").concat(a.followers))}else c.classList.add("hidden"),l&&(u=f),u.remove(),d&&(d.innerHTML=(0,r.hiddenMetaHTML)(this.name))}}}catch(t){i.e(t)}finally{i.f()}s=t},get:function(){return s}}}))})),n}},c=["topic","user"];e.segments=c;var u=Object.create(null);
1c.forEach((function(t){var e=s(window["".concat(t,"sInPage")]||[],t);Object.defineProperty(u,"".concat(t,"s"),{get:function(){return e},set:function(n){n&&Object.assign(e,s(n,t))},enumerable:!0})}));var l=window.InfoQConstants,f={token:l.userToken,pageSizes:l.pageSizes,uidToShow:l.uidToShow,isFollowedByCurrentUser:l.isFollowedByCurrentUser},d={get segments(){return c},get topic(){return function(t){return u.topics[t]}},get user(){return function(t){return u.users[t]||Object.values(u.users).filter((function(e){return e.id===t}))[0]}},get usersTopics(){return u},get constants(){return f},get elId(){return function(t){var e=t.closest(".popper")||t.closest(".subnav__content")||t.closest(".actions__right")||t.closest("li[data-id]")||t;if(!e)throw new Error("Invalid follow item.");return e.dataset.id||e.parentNode.children[0].dataset.id||e.parentNode.dataset.id}}};e.default=d;var p={get likedContentItems(){return window.userContentLikesInPage||[]},get likedCommentItems(){return window.userCommentsLikesInPage||[]},get isContentLiked(){var t=this.likedContentItems;return function(e){return t.indexOf(e)>-1}},get isCommentLiked(){var t=this.likedCommentItems;return function(e){return t.indexOf(e)>-1}}};e.likeFunc=p;var h=u.users,v=u.topics;e.topics=v,e.users=h},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.populateSearchTopicsSection=function(t){var e=document.querySelector(".search_page.results");if(!e)return;if(!t||!t.length)throw new Error("incorrect results or no results");var n=e.querySelector(".topics ul");n.innerHTML="",window.usersTopics.topics=t,t.forEach((function(t){var e=document.createElement("LI");e.dataset.id=t.id,n.append(e)})),n.parentNode.classList.remove("preload"),(0,s.populate)({segment:"topic",selector:".search_page .topics",createFromScratch:!0,isSegmentOfPS:!0,asCards:!1,hideButton:!1})},e.populateAuthorDetails=e.popperHTML=e.updateFollowersCount=e.updateFollowButton=e.updateLikeButton=e.hideItemHandler=e.createFollowable=e.createFollowButton=e.hiddenMetaHTML=e.hideButtonHTML=void 0;var o=r(n(393)),i=r(n(394)),a=r(n(28)),s=n(102);function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l=a.default.constants.uidToShow,f=window.JSi18n.FE.labels,d=f||o.default,p=f||i.default,h=function(t,e){var n=d.followTopic,r=d.unfollowTopic,o=d.follow,i=d.unfollow;return t?e?r:i:e?n:o},v=f.hidden||"%s is hidden",m=function(t){var e=t.justIcon,n=t.tooltip;return'<a class="close hide button__unstyled '.concat(e?"icon--only":""," ").concat(n?"button__tooltip":"",'" ').concat(n?'data-tip="'.concat(f.hide,'"'):"",' aria-label="').concat(f.hide,'">').concat(f.hide,"</a>")};e.hideButtonHTML=m;var g=function(t){return"".concat(v.replace("%s",t),' <a class="unhide button__unstyled">').concat(f.undo||"Undo","</a>")};e.hiddenMetaHTML=g;var y=window.currentUserId===l?'<div class="card__options dropdown"><button class="button button__arrow button__small button__unstyled"></button><div class="dropdown__holder">'.concat(m({justIcon:!1,tooltip:!1}),"</div></div>"):"",b=function(t){var e=t.flag,n=t.size,r=t.segment,o=t.userId;if("user"===r&&o&&String(o)===String(currentUserId))return{outerHTML:""};var i=document.createElement("BUTTON");i.classList.add("button"),i.classList.add("button__".concat(void 0!==n?n:"small")),i.classList.add("".concat("user"===r?"author":r,"__follow")),i.classList.add(e?"unfollow":"follow");var a=h(e,"topic"===r);return i.textContent=a,i.setAttribute("aria-label",a),i};e.createFollowButton=b;e.createFollowable=function(t){var e=t.segment,n=t.item,r=t.data,o=t.hideButton,i=t.asCards,a=t.isSegmentOfPS;if(!n||!r)throw new Error("Missing item data to create pick.");
1if(a){var s=r.name,c=r.title,u=r.type,l=r.followers,d=r.followedByCurrentUser,p=r.url,h=r.id,v=r.imgSrc,w=r.hidden,_=r.link,x=r.meta,E=r.date,S="topic"===e,O=!S||v,T=_||p;if(!T)throw new Error("missing url for item ".concat({title:c,name:s,type:u}));var L=b({flag:d,segment:e,userId:h}).outerHTML,A='<h5 class="heading '.concat(i?"card__title":"",'"><a href="').concat(T,'">').concat(s||c,'</a></h5>\n <p class="meta">').concat(w&&o?g(s):void 0!==l?"".concat(l," ").concat(f.followers):"","</p>\n ").concat(i?L:"");i||n.classList.add("actions"),w&&o&&n.classList.add("hidden"),u&&(n.dataset.type=u),n.innerHTML="\n ".concat(i?'<div class="card__content">'.concat(o&&i?y:"",'<div class="card__data">'):"","\n ").concat(i&&a&&!S?'<div class="author__card">':"","\n ").concat(i?"":'<div class="actions__left'.concat(S?"":" author__card",'">'),"\n ").concat(O?'<a class="author__avatar avatar popup-avatar" href="'.concat(T,'">').concat(v?'<img src="'.concat(v,'" alt="Author photo footer" />'):"",'</a>\n <div class="author__info">').concat(A,"</div>"):A,"\n ").concat(i?"":"</div>","\n ").concat(i&&a&&!S?"</div>":"","\n ").concat(i?"":'<div class="actions__right">\n '.concat(L,"\n ").concat(o&&!w?m({tooltip:!0,justIcon:!0}):"","\n </div>"),"\n ").concat(i&&x&&E?'<div class="card__footer">\n <div class="card__details">\n <span>'.concat(x,' </span>\n <span class="date">').concat(E,"</span>\n </div>\n </div>"):"","\n ").concat(i?"</div></div>":"")}else if(i){var k=r.title,I=r.date,C=r.meta,M=r.body,j=r.link,P=r.path,N=r.imgSrc,D=r.type,F=r.optionalTitle;P&&(n.dataset.path=P);var q=["articles","reviewed"].indexOf(e)>-1,B=["presentations","podcasts","interviews"],R=B.indexOf(e)>-1||B.indexOf(D)>-1;R&&n.classList.add(D||e);var H=N?'\n <a href="'.concat(j,'" class="card__header">\n <img src="').concat(N,'" alt="').concat(k,'" class="card__image" />\n ').concat(R?'<div class="card__meta"><div class="card__icon"></div></div>':"","\n </a>"):"";n.innerHTML='\n <div class="card__content">\n '.concat(q?H:"",'\n <div class="card__data">\n <h3 class="card__title"><a href="').concat(j,'">').concat(k,"</a></h3>\n ").concat(void 0!==M?'<p class="card__excerpt">'.concat(M,"</p>"):"",'\n <div class="card__footer">\n <div class="card__details">\n <span>').concat(C," ").concat(void 0!==F?'<a href="'.concat(j,'">').concat(F,"</a>"):"",'</span>\n <span class="date">').concat(I,"</span>\n </div>\n </div>\n </div>\n ").concat(q?"":H,"\n </div>\n ")}};e.updateFollowButton=function(t,e){var n=t.el,r=t.segment;if(n&&r){var o=n.classList;o.toggle("follow",!e),o.toggle("unfollow",e),"topic"===r?o.toggle("topic__follow",!0):"user"===r&&o.toggle("author__follow",!0);var i=h(e,"topic"===r);n.textContent=i,n.setAttribute("aria-label",i)}};e.updateLikeButton=function(t,e){if(t){var n=t.classList,r=n.contains("button__green")||n.contains("button__gray");e?(n.add("liked"),n.add("".concat(r?"button":"icon","__green")),n.remove("like"),n.remove("".concat(r?"button":"icon","__gray"))):(n.add("like"),n.add("".concat(r?"button":"icon","__gray")),n.remove("liked"),n.remove("".concat(r?"button":"icon","__green")));var o=function(t){var e=p.like,n=p.liked;return t?n:e}(e);t.textContent=o,t.setAttribute("aria-label",o)}};e.updateFollowersCount=function(t,e){var n,r=t.container,o=f.followers,i=c(r.querySelectorAll("p.author__followstats, p.followstats, p._followers, .meta:not(.author__bio)"));try{for(i.s();!(n=i.n()).done;){var a=n.value,s=a.textContent;s.indexOf(o)>-1&&function(){var t=s.split(" ");t.forEach((function(n,r){n!==o&&n&&Number(n)>-1&&(t[r]=e?Number(t[r])+1:Number(t[r])-1)})),a.textContent=t.join(" ")}()}}catch(t){i.e(t)}finally{i.f()}};e.popperHTML=function(t,e){var n,r=e.ref,o=e.name,i=e.minibio,a=e.followedByCurrentUser,s=e.followers,c=e.imgSrc,u=e.url,l=e.link,f=(e.showShortBio,window.usersTopics.users);"user"===t&&(n=f[r].id||r);var p=b({flag:a,segment:t,userId:n}).outerHTML;return"user"===t?'\n <div class="author__about author">
1\n <div class="author__card">\n <a href="'.concat(l||u,'" class="avatar author__avatar">').concat(c?'<img src="'.concat(c,'" alt="Author avatar" />'):"",'</a>\n <div class="author__info">\n <h3 class="author__name popup__author_name"><a href="').concat(l||u,'">').concat(o,"</a></h3>\n ").concat(i?'<p class="author__bio meta">'.concat(i,"</p>"):"","\n ").concat(p,"\n </div>\n ").concat(void 0!==s?'<p class="meta author__followstats">'.concat(s," ").concat(d.followers,"</p>"):"","\n </div>\n </div>"):'<h3 class="heading"><a href="'.concat(l||u,'">').concat(o,"</a></h3>\n ").concat(void 0!==s?'<p class="meta">'.concat(d.followers||"Followers",": ").concat(s,"</p>"):"","\n ").concat(p)};e.populateAuthorDetails=function(){if("undefined"!=typeof usersInPage&&usersInPage.length)for(var t=0;t<usersInPage.length;t++){var e=usersInPage[t].ref,n=usersInPage[t].minibio,r=usersInPage[t].imgSrc,o=document.querySelectorAll("ul.authors");if(o)for(var i=0;i<o.length;i++)for(var a=o[i].getElementsByTagName("li"),s=o[i].getElementsByClassName("author__avatar"),c=0;c<a.length;c++){e==a[c].getAttribute("data-id")&&(n&&!a[c].querySelector(".author__shortbio")&&(a[c].innerHTML+='<span class="author__shortbio">'+n+"</span>"),r&&s[c]&&!s[c].querySelector(".author__image")&&(s[c].innerHTML='<img src="'+r+'" class="author__image" alt="Author photo" />'))}}};e.hideItemHandler=function(t){document.addEventListener("click",(function(e){var n=e.target,r=n.nodeName,o=n.classList;if("A"===r&&(o.contains("hide")||o.contains("unhide"))){var i,s=n.closest("[data-id]"),c=s.dataset.id;if(!c)throw new Error("undefined ID for item clicked to be hidden",s);var u=s.parentNode.parentNode;if(u){if(!(i=u.classList.contains("topics")?"ft":u.classList.contains("authors")?"fu":null))throw new Error("could not determine if topic or author",u);var l=a.default.usersTopics["ft"===i?"topics":"users"][c].hidden;t.trigger("hideProfileItem",{type:i,id:c,isHidden:l})}}}))}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(33)("meta"),o=n(4),i=n(15),a=n(10).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(2)((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(105),o=n(72);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(21),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(3),o=n(106),i=n(72),a=n(71)("IE_PROTO"),s=function(){},c=function(){var t,e=n(69)("iframe"),r=i.length;for(e.style.display="none",n(73).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(105),o=n(72).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(15),o=n(11),i=n(71)("IE_PROTO"),a=Object.prototype;
vendor: 4,935 bytes, line 1
1t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(5)("unscopables"),o=Array.prototype;null==o[r]&&n(16)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){t.exports=n(134)},function(t,e){function n(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,c,"next",t)}function c(t){n(a,o,i,s,c,"throw",t)}s(void 0)}))}}},function(t,e,n){var r=n(10).f,o=n(15),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(26),i=n(2),a=n(75),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(t,e,n){var o={},s=i((function(){return!!a[t]()||"âÂ
"!="âÂ
"[t]()})),c=o[t]=s?e(f):a[t];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),o=n(10),i=n(9),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.slugify=function(t){return t?t.toString().toLowerCase().replace(/[^\w ]+/g,"-").replace(/ +/g,"-"):""},e.focusOnFirstInput=e.uppercase=void 0;e.uppercase=function(t){return t.charAt(0).toUpperCase()+t.slice(1)};e.focusOnFirstInput=function(t){setTimeout((function(){var e=t.querySelector('input[type="text"]');e&&e.focus()}),150)}},function(t,e,n){var r=n(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(25),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;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:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(3),o=n(20),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r=n(8),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(17),o=n(7),i=n(36);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(25);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(53),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(123);var r=n(12),o=n(16),i=n(2),a=n(26),s=n(5),c=n(90),u=s("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),p=!i((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),h=p?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={}
1,n.constructor[u]=function(){return n}),n[d](""),!e})):void 0;if(!p||!h||"replace"===t&&!l||"split"===t&&!f){var v=/./[d],m=n(a,d,""[t],(function(t,e,n,r,o){return e.exec===c?p&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],y=m[1];r(String.prototype,t,g),o(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var r=n(19),o=n(118),i=n(85),a=n(3),s=n(7),c=n(87),u={},l={};(e=t.exports=function(t,e,n,f,d){var p,h,v,m,g=d?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(p=s(t.length);p>b;b++)if((m=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||m===l)return m}else for(v=g.call(t);!(h=v.next()).done;)if((m=o(v,y,h.value,e))===u||m===l)return m}).BREAK=u,e.RETURN=l},function(t,e,n){var r=n(1).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(0),i=n(12),a=n(49),s=n(31),c=n(63),u=n(48),l=n(4),f=n(2),d=n(59),p=n(44),h=n(76);t.exports=function(t,e,n,v,m,g){var y=r[t],b=y,w=m?"set":"add",_=b&&b.prototype,x={},E=function(t){var e=_[t];i(_,t,"delete"==t||"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||_.forEach&&!f((function(){(new b).entries().next()})))){var S=new b,O=S[w](g?{}:-0,1)!=S,T=f((function(){S.has(1)})),L=d((function(t){new b(t)})),A=!g&&f((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));L||((b=e((function(e,n){u(e,b,t);var r=h(new y,e,b);return null!=n&&c(n,m,r[w],r),r}))).prototype=_,_.constructor=b),(T||A)&&(E("delete"),E("has"),m&&E("get")),(A||O)&&E(w),g&&_.clear&&delete _.clear}else b=v.getConstructor(e,t,m,w),a(b.prototype,n),s.NEED=!0;return p(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=y),x),g||v.setStrong(b,t,m),b}},function(t,e,n){for(var r,o=n(1),i=n(16),a=n(33),s=a("typed_array"),c=a("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[d[f++]])?(i(r.prototype,s,!0),i(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([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},o=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}}(),i=function(){function t(e){var n=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.config=t.mergeSettings(e),this.selector="string"==typeof this.config.selector?document.querySelector(this.config.selector):this.config.selector,null===this.selector)throw new Error("Something wrong with your selector ð");this.resolveSlidesNumber(),this.selectorWidth=this.selector.offsetWidth,this.innerElements=[].slice.call(this.selector.children),this.currentSlide=this.config.loop?this.config.startIndex%this.innerElements.length:Math.max(0,Math.min(this.config.startIndex,this.innerElements.length-this.perPage)),this.transformProperty=t.webkitOrNot(),["resizeHandler","touchstartHandler","touchendHandler","touchmoveHandler","mousedownHandler","mouseupHandler","mouseleaveHandler","mousemoveHandler","clickHandler"].forEach((function(t){n[t]=n[t].bind(n)})),this.init()}return o(t,[{key:"attachEvents",value:function(){window.addEventListener("resize",this.resizeHandler),this.config.draggable&&(this.pointerDown=!1,this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:!1},this.selector.addEventListener("touchstart",this.touchstartHandler),this.selector.addEventListener("touchend",this.touchendHandler),this.selector.addEventListener("touchmove",this.touchmoveHandler),this.selector.addEventListener("mousedown",this.mousedownHandler),this.selector.addEventListener("mouseup",this.mouseupHandler),this.selector.addEventListener("mouseleave",this.mouseleaveHandler),this.selector.addEventListener("mousemove",this.mousemoveHandler),this.selector.addEventListener("click",this.clickHandler))}},{key:"detachEvents",value:function(){window.removeEventListener("resize",this.resizeHandler),this.selector.removeEventListener("touchstart",this.touchstartHandler),this.selector.removeEventListener("touchend",this.touchendHandler),this.selector.removeEventListener("touchmove",this.touchmoveHandler),this.selector.removeEventListener("mousedown",this.mousedownHandler),this.selector.removeEventListener("mouseup",this.mouseupHandler),this.selector.removeEventListener("mouseleave",this.mouseleaveHandler),this.selector.removeEventListener("mousemove",this.mousemoveHandler),this.selector.removeEventListener("click",this.clickHandler)}},{key:"init",value:function(){this.attachEvents(),this.selector.style.overflow="hidden",this.selector.style.direction=this.config.rtl?"rtl":"ltr",this.buildSliderFrame(),this.config.onInit.call(this)}},{key:"buildSliderFrame",value:function(){var t=this.selectorWidth/this.perPage,e=this.config.loop?this.innerElements.length+2*this.perPage:this.innerElements.length;this.sliderFrame=document.createElement("div"),this.sliderFrame.style.width=t*e+"px",this.enableTransition(),this.config.draggable&&(this.selector.style.cursor="-webkit-grab");var n=document.createDocumentFragment();if(this.config.loop)for(var r=this.innerElements.length-this.perPage;r<this.innerElements.length;r++){var o=this.buildSliderFrameItem(this.innerElements[r].cloneNode(!0));n.appendChild(o)}for(var i=0;i<this.innerElements.length;i++){var a=this.buildSliderFrameItem(this.innerElements[i]);n.appendChild(a)}if(this.config.loop)for(var s=0;s<this.perPage;s++){var c=this.buildSliderFrameItem(this.innerElements[s].cloneNode(!0));n.appendChild(c)}this.sliderFrame.appendChild(n),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent()}},{key:"buildSliderFrameItem",value:function(t){var e=document.createElement("div");return e.style.cssFloat=this.config.rtl?"right":"left",e.style.float=this.config.rtl?"right":"left",e.style.width=(this.config.loop?100/(this.innerElements.length+2*this.perPage):100/this.innerElements.length)+"%",e.appendChild(t),e}},{key:"resolveSlidesNumber",value:function(){if("number"==typeof this.config.perPage)this.perPage=this.config.perPage;else if("object"===r(this.config.perPage))for(var t in this.perPage=1,this.config.perPage)window.innerWidth>=t&&(this.perPage=this.config.perPage[t])}},{key:"prev",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments[1];if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;if(this.config.loop)if(this.currentSlide-t<0){this.disableTransition();var r=this.currentSlide+this.innerElements.length,o=this.perPage,i=r+
vendor: 7,444 bytes, line 1
1o,a=(this.config.rtl?1:-1)*i*(this.selectorWidth/this.perPage),s=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(a+s)+"px, 0, 0)",this.currentSlide=r-t}else this.currentSlide=this.currentSlide-t;else this.currentSlide=Math.max(this.currentSlide-t,0);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),e&&e.call(this))}}},{key:"next",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments[1];if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;if(this.config.loop)if(this.currentSlide+t>this.innerElements.length-this.perPage){this.disableTransition();var r=this.currentSlide-this.innerElements.length,o=this.perPage,i=r+o,a=(this.config.rtl?1:-1)*i*(this.selectorWidth/this.perPage),s=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(a+s)+"px, 0, 0)",this.currentSlide=r+t}else this.currentSlide=this.currentSlide+t;else this.currentSlide=Math.min(this.currentSlide+t,this.innerElements.length-this.perPage);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),e&&e.call(this))}}},{key:"disableTransition",value:function(){this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing}},{key:"enableTransition",value:function(){this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing}},{key:"goTo",value:function(t,e){if(!(this.innerElements.length<=this.perPage)){var n=this.currentSlide;this.currentSlide=this.config.loop?t%this.innerElements.length:Math.min(Math.max(t,0),this.innerElements.length-this.perPage),n!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),e&&e.call(this))}}},{key:"slideToCurrent",value:function(t){var e=this,n=this.config.loop?this.currentSlide+this.perPage:this.currentSlide,r=(this.config.rtl?1:-1)*n*(this.selectorWidth/this.perPage);t?requestAnimationFrame((function(){requestAnimationFrame((function(){e.enableTransition(),e.sliderFrame.style[e.transformProperty]="translate3d("+r+"px, 0, 0)"}))})):this.sliderFrame.style[this.transformProperty]="translate3d("+r+"px, 0, 0)"}},{key:"updateAfterDrag",value:function(){var t=(this.config.rtl?-1:1)*(this.drag.endX-this.drag.startX),e=Math.abs(t),n=this.config.multipleDrag?Math.ceil(e/(this.selectorWidth/this.perPage)):1,r=t>0&&this.currentSlide-n<0,o=t<0&&this.currentSlide+n>this.innerElements.length-this.perPage;t>0&&e>this.config.threshold&&this.innerElements.length>this.perPage?this.prev(n):t<0&&e>this.config.threshold&&this.innerElements.length>this.perPage&&this.next(n),this.slideToCurrent(r||o)}},{key:"resizeHandler",value:function(){this.resolveSlidesNumber(),this.currentSlide+this.perPage>this.innerElements.length&&(this.currentSlide=this.innerElements.length<=this.perPage?0:this.innerElements.length-this.perPage),this.selectorWidth=this.selector.offsetWidth,this.buildSliderFrame()}},{key:"clearDrag",value:function(){this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:this.drag.preventClick}}},{key:"touchstartHandler",value:function(t){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.touches[0].pageX,this.drag.startY=t.touches[0].pageY)}},{key:"touchendHandler",value:function(t){t.stopPropagation(),this.pointerDown=!1,this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"touchmoveHandler",value:function(t){if(t.stopPropagation(),null===this.drag.letItGo&&(this.drag.letItGo=Math.abs(this.drag.startY-t.touches[0].pageY)<Math.abs(this.drag.startX-t.touches[0].pageX)),this.pointerDown&&this.drag.letItGo){t.preventDefault(),this.drag.endX=t.touches[0].pageX,this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing;var e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),n=this.drag.endX-this.drag.startX,r=this.config.rtl?e+n:e-n;this.sliderFrame.style[this.transformProperty]="translate3d("+(this.config.rtl?1:-1)*r+"px, 0, 0)"}}},{key:"mousedownHandler",value:function(t){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.preventDefault(),t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.pageX)}},{key:"mouseupHandler",value:function(t){t.stopPropagation(),this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"mousemoveHandler",value:function(t){if(t.preventDefault(),this.pointerDown){"A"===t.target.nodeName&&(this.drag.preventClick=!0),this.drag.endX=t.pageX,this.selector.style.cursor="-webkit-grabbing",this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing;var e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),n=this.drag.endX-this.drag.startX,r=this.config.rtl?e+n:e-n;this.sliderFrame.style[this.transformProperty]="translate3d("+(this.config.rtl?1:-1)*r+"px, 0, 0)"}}},{key:"mouseleaveHandler",value:function(t){this.pointerDown&&(this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.drag.endX=t.pageX,this.drag.preventClick=!1,this.enableTransition(),this.updateAfterDrag(),this.clearDrag())}},{key:"clickHandler",value:function(t){this.drag.preventClick&&t.preventDefault(),this.drag.preventClick=!1}},{key:"remove",value:function(t,e){if(t<0||t>=this.innerElements.length)throw new Error("Item to remove doesn't exist ð");var n=t<this.currentSlide,r=this.currentSlide+this.perPage-1===t;(n||r)&&this.currentSlide--,this.innerElements.splice(t,1),this.buildSliderFrame(),e&&e.call(this)}},{key:"insert",value:function(t,e,n){if(e<0||e>this.innerElements.length+1)throw new Error("Unable to inset it at this index ð");if(-1!==this.innerElements.indexOf(t))throw new Error("The same item in a carousel? Really? Nope ð");var r=e<=this.currentSlide>0&&this.innerElements.length;this.currentSlide=r?this.currentSlide+1:this.currentSlide,this.innerElements.splice(e,0,t),this.buildSliderFrame(),n&&n.call(this)}},{key:"prepend",value:function(t,e){this.insert(t,0),e&&e.call(this)}},{key:"append",value:function(t,e){this.insert(t,this.innerElements.length+1),e&&e.call(this)}},{key:"destroy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments[1];if(this.detachEvents(),this.selector.style.cursor="auto",t){for(var n=document.createDocumentFragment(),r=0;r<this.innerElements.length;r++)n.appendChild(this.innerElements[r]);this.selector.innerHTML="",this.selector.appendChild(n),this.selector.removeAttribute("style")}e&&e.call(this)}}],[{key:"mergeSettings",value:function(t){var e={selector:".siema",duration:200,easing:"ease-out",perPage:1,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,rtl:!1,onInit:function(){},onChange:function(){}},n=t;for(var r in n)e[r]=n[r];return e}},{key:"webkitOrNot",value:function(){return"string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform"}}]),t}();
vendor: 6,335 bytes, line 1
1e.default=i,t.exports=e.default}])},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(4),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(55)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),o=n(3),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(19)(Function.call,n(22).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(t,e,n){var r=n(4),o=n(74).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";var r=n(21),o=n(26);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var r=n(21),o=n(26);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(34),o=n(0),i=n(12),a=n(16),s=n(46),c=n(117),u=n(44),l=n(39),f=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,m,g){c(n,e,h);var y,b,w,_=function(t){if(!d&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",E="values"==v,S=!1,O=t.prototype,T=O[f]||O["@@iterator"]||v&&O[v],L=T||_(v),A=v?E?_("entries"):L:void 0,k="Array"==e&&O.entries||T;if(k&&(w=l(k.call(new t)))!==Object.prototype&&w.next&&(u(w,x,!0),r||"function"==typeof w[f]||a(w,f,p)),E&&T&&"values"!==T.name&&(S=!0,L=function(){return T.call(this)}),r&&!g||!d&&!S&&O[f]||a(O,f,L),s[e]=L,s[x]=p,v)if(y={values:E?L:_("values"),keys:m?L:_("keys"),entries:A},g)for(b in y)b in O||i(O,b,y[b]);else o(o.P+o.F*(d||S),e,y);return y}},function(t,e,n){var r=n(83),o=n(26);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(25),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(46),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(10),o=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(53),o=n(5)("iterator"),i=n(46);t.exports=n(8).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(11),o=n(36),i=n(7);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(40),o=n(122),i=n(46),a=n(17);t.exports=n(81)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,o,i=n(60),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(t){var e,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),u&&(e=c.lastIndex),r=a.call(c,t),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=c},function(t,e,n){"use strict";var r=n(80)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,o,i,a=n(19),s=n(111),c=n(73),u=n(69),l=n(1),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete g[t]},"process"==n(25)(f)?r=function(t){f.nextTick(a(y,t,1))}:v&&v.now?r=function(t){v.now(a(y,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:d,clear:p}},function(t,e,n){"use strict";var r=n(1),o=n(9),i=n(34),a=n(66),s=n(16),c=n(49),u=n(2),l=n(48),f=n(21),d=n(7),p=n(130),h=n(38).f,v=n(10).f,m=n(88),g=n(44),y=r.ArrayBuffer,b=r.DataView,w=r.Math,_=r.RangeError,x=r.Infinity,E=y,S=w.abs,O=w.pow,T=w.floor,L=w.log,A=w.LN2,k=o?"_b":"buffer",I=o?"_l":"byteLength",C=o?"_o":"byteOffset";function M(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>
11,l=23===e?O(2,-24)-O(2,-77):0,f=0,d=t<0||0===t&&1/t<0?1:0;for((t=S(t))!=t||t===x?(o=t!=t?1:0,r=c):(r=T(L(t)/A),t*(i=O(2,-r))<1&&(r--,i*=2),(t+=r+u>=1?l/i:l*O(2,1-u))*i>=2&&(r++,i/=2),r+u>=c?(o=0,r=c):r+u>=1?(o=(t*i-1)*O(2,e),r+=u):(o=t*O(2,u-1)*O(2,e),r=0));e>=8;a[f++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a}function j(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,s=o-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:u?-x:x;r+=O(2,e),l-=a}return(u?-1:1)*r*O(2,l-e)}function P(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function D(t){return[255&t,t>>8&255]}function F(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function q(t){return M(t,52,8)}function B(t){return M(t,23,4)}function R(t,e,n){v(t.prototype,e,{get:function(){return this[n]}})}function H(t,e,n,r){var o=p(+n);if(o+e>t[I])throw _("Wrong index!");var i=t[k]._b,a=o+t[C],s=i.slice(a,a+e);return r?s:s.reverse()}function U(t,e,n,r,o,i){var a=p(+n);if(a+e>t[I])throw _("Wrong index!");for(var s=t[k]._b,c=a+t[C],u=r(+o),l=0;l<e;l++)s[c+l]=u[i?l:e-l-1]}if(a.ABV){if(!u((function(){y(1)}))||!u((function(){new y(-1)}))||u((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var z,W=(y=function(t){return l(this,y),new E(p(t))}).prototype=E.prototype,V=h(E),$=0;V.length>$;)(z=V[$++])in y||s(y,z,E[z]);i||(W.constructor=y)}var G=new b(new y(2)),X=b.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||c(b.prototype,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},!0)}else y=function(t){l(this,y,"ArrayBuffer");var e=p(t);this._b=m.call(new Array(e),0),this[I]=e},b=function(t,e,n){l(this,b,"DataView"),l(t,y,"DataView");var r=t[I],o=f(e);if(o<0||o>r)throw _("Wrong offset!");if(o+(n=void 0===n?r-o:d(n))>r)throw _("Wrong length!");this[k]=t,this[C]=o,this[I]=n},o&&(R(y,"byteLength","_l"),R(b,"buffer","_b"),R(b,"byteLength","_l"),R(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(t){return H(this,1,t)[0]<<24>>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){var e=H(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return P(H(this,4,t,arguments[1]))},getUint32:function(t){return P(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return j(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return j(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,N,e)},setUint8:function(t,e){U(this,1,t,N,e)},setInt16:function(t,e){U(this,2,t,D,e,arguments[2])},setUint16:function(t,e){U(this,2,t,D,e,arguments[2])},setInt32:function(t,e){U(this,4,t,F,e,arguments[2])},setUint32:function(t,e){U(this,4,t,F,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,B,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,q,e,arguments[2])}});g(y,"ArrayBuffer"),g(b,"DataView"),s(b.prototype,a.VIEW,!0),e.ArrayBuffer=y,e.DataView=b},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(136)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},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){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(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)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:a,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:a,prop:u}),n.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");
1if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n){if(0===t.length)return t;var r=t;if("symbol"==typeof t?r=Symbol.prototype.toString.call(t):"string"!=typeof t&&(r=String(t)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(e,n,i){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var s=e;return o(e)&&!o(n)&&(s=a(e,i)),o(e)&&o(n)?(n.forEach((function(n,o){if(r.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,i):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var a=n[o];return r.call(e,o)?e[o]=t(e[o],a,i):e[o]=a,e}),s)}}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.populate=d,e.default=void 0;var o=r(n(42)),i=r(n(43)),a=n(29),s=r(n(28));function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l=s.default.segments,f=s.default.usersTopics;function d(t){var e=t.segment,n=t.selector,r=t.placement,o=t.createFromScratch,i=t.size,u=t.hideButton,l=t.asCards,f=t.isSegmentOfPS;if(!n||!n.length||!e)throw new Error("Invalid selector / segment provided, aborting.",n);var d=document.querySelectorAll(n);if(d&&d.length)if(o){var p=d.item(0),h=p.classList;if(h&&h.contains("".concat("user"===e?"author":e,"s"))){var v="UL"===p.nodename?p:p.querySelector("ul");if(l&&(v.classList.add("cards"),v.classList.add("boxes"),Object.assign(v.dataset,{cols:2,size:"medium",horizontal:!0,tax:"news"})),!v)throw new Error("Missing UL item to populate on");var m,g=c(v.children);try{for(g.s();!(m=g.n()).done;){var y=m.value,b=y.dataset,w=b.id,_=b.ref;if(!y.innerHTML&&(w||_)){w||(w=_);var x=s.default[e](_||w);if(!x)throw new Error("data missing for id",w);(0,a.createFollowable)({segment:e,item:y,data:x,hideButton:u,asCards:l,isSegmentOfPS:f})}}}catch(t){g.e(t)}finally{g.f()}}}else{var E,S=c(d);try{for(S.s();!(E=S.n()).done;){var O=E.value,T=O.dataset,L=T.id,A=T.ref;if(L||A){var k;L||(L=A);var I=s.default[e](A||L);if(!I)continue;if(void 0===(k=I.followedByCurrentUser))continue;var C=(0,a.createFollowButton)({flag:k,size:i,segment:e,userId:I.id||L});switch(r){default:""!==C.outerHTML&&O.append(C);break;case"topicPageHeader":var M=document.createElement("DIV");M.classList.add("actions__right"),M.append(C),O.append(M)}}}}catch(t){S.e(t)}finally{S.f()}}}window.usersTopics=f;var p={init:function(t,e){var n,r=e.api,s=e.event,c=!1;s.on("renderEditorPicks",(function(t){var e=t.element,n=t.data;l.forEach((function(t){var r="".concat(t,"s"),o="user"===t?"authors":"topics",i=document.createElement("DIV");i.classList.add(o);var a=document.createElement("H3");a.classList.add("heading"),a.textContent=window.JSi18n.FE.labels[r]||r,i.append(a);var s=document.createElement("UL");s.classList.add("no-style"),s.classList.add("ul__border"),n[r].forEach((function(t){if(!t.id)throw new Error("invalid item .id supplied for editor picks",t);var e=document.createElement("LI");e.dataset.id=t.ref||t.id,s.append(e)})),i.append(s),e.append(i);var c=e.classList.toString().replace(" ",".");d({segment:t,isSegmentOfPS:!0,createFromScratch:!0,selector:".".concat(c," .").concat(o)})})),(0,a.populateAuthorDetails)()})),s.on("getEditorPicks",function(){var t=(0,i.default)(o.default.mark((function t(e){var i,a,u,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.element){t.next=3;break}return t.abrupt("return");case 3:if(s.on("gotPicksData",(function(t){var e=t.data;s.trigger("renderEditorPicks",{element:i,data:e})})),!c){t.next=6;break}return t.abrupt("return");case 6:return c=!0,i.classList.add("unique"),t.prev=8,t.next=11,r.get("/userProfile!getAllPicks.action");
1case 11:a=t.sent,(u=a.data).forEach((function(t){t.followers=Number(t.count),t.name=t.title,t.url=t.link,delete t.count})),(d=u.filter((function(t){return"fu"===t.type}))).forEach((function(t){var e=window.CommonUtils.encodeAuthorName;e&&"function"==typeof e&&(t.ref="author-".concat(e(t.title)))})),n={users:d,topics:u.filter((function(t){return"ft"===t.type}))},l.forEach((function(t){var e="".concat(t,"s");n[e]&&n[e].length&&(f[e]=n[e])})),s.trigger("gotPicksData",{data:n}),t.next=24;break;case 21:throw t.prev=21,t.t0=t.catch(8),new Error(t.t0);case 24:case"end":return t.stop()}}),t,null,[[8,21]])})));return function(e){return t.apply(this,arguments)}}())}};e.default=p},function(t,e,n){t.exports=!n(9)&&!n(2)((function(){return 7!=Object.defineProperty(n(69)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),o=n(8),i=n(34),a=n(70),s=n(10).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(15),o=n(17),i=n(56)(!1),a=n(71)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},function(t,e,n){var r=n(10),o=n(3),i=n(35);t.exports=n(9)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(17),o=n(38).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){"use strict";var r=n(9),o=n(35),i=n(57),a=n(52),s=n(11),c=n(51),u=Object.assign;t.exports=!u||n(2)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,l=1,f=i.f,d=a.f;u>l;)for(var p,h=c(arguments[l++]),v=f?o(h).concat(f(h)):o(h),m=v.length,g=0;m>g;
vendor: 9,426 bytes, line 1
1)p=v[g++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:u},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(20),o=n(4),i=n(111),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?c(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,o=n(45).trim,i=n(75),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,o=n(45).trim;t.exports=1/r(n(75)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(25);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(37),o=n(32),i=n(44),a={};n(16)(a,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(3);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(254);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(20),o=n(11),i=n(51),a=n(7);t.exports=function(t,e,n,s,c){r(e);var u=o(t),l=i(u),f=a(u.length),d=c?f-1:0,p=c?-1:1;if(n<2)for(;;){if(d in l){s=l[d],d+=p;break}if(d+=p,c?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;c?d>=0:f>d;d+=p)d in l&&(s=e(s,l[d],d,u));return s}},function(t,e,n){"use strict";var r=n(11),o=n(36),i=n(7);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),c=o(e,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:o(u,a))-c,a-s),f=1;for(c<s&&s<c+l&&(f=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=f,c+=f;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(90);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(9)&&"g"!=/./g.flags&&n(10).f(RegExp.prototype,"flags",{configurable:!0,get:n(60)})},function(t,e,n){"use strict";var r,o,i,a,s=n(34),c=n(1),u=n(19),l=n(53),f=n(0),d=n(4),p=n(20),h=n(48),v=n(63),m=n(54),g=n(92).set,y=n(274)(),b=n(126),w=n(275),_=n(64),x=n(127),E=c.TypeError,S=c.process,O=S&&S.versions,T=O&&O.v8||"",L=c.Promise,A="process"==l(S),k=function(){},I=o=b.f,C=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(k,k)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==T.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&D(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(E("Promise-chain cycle")):(i=M(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&P(t)}))}},P=function(t){g.call(c,(function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=w((function(){A?S.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=A||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){g.call(c,(function(){var e;A?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},F=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},q=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=M(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(q,r,1),u(F,r,1))}catch(t){F.call(r,t)}})):(n._v=t,n._s=1,j(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};C||(L=function(t){h(this,L,"Promise","_h"),p(t),r.call(this);try{t(u(q,this,1),u(F,this,1))}catch(t){F.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(49)(L.prototype,{then:function(t,e){var n=I(m(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(q,t,1),this.reject=u(F,t,1)},b.f=I=function(t){return t===L||t===a?new i(t):o(t)}),f(f.G+f.W+f.F*!C,{Promise:L}),n(44)(L,"Promise"),n(47)("Promise"),a=n(8).Promise,f(f.S+f.F*!C,"Promise",{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!C),"Promise",{resolve:function(t){return x(s&&this===a?L:this,t)}}),f(f.S+f.F*!(C&&n(59)((function(t){L.all(t).catch(k)}))),"Promise",{all:function(t){var e=this,n=I(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;v(t,!1,(function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=I(e),r=n.reject,o=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(20);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(3),o=n(4),i=n(126);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(10).f,o=n(37),i=n(49),a=n(19),s=n(48),c=n(63),u=n(81),l=n(122),f=n(47),d=n(9),p=n(31).fastKey,h=n(41),v=d?"_s":"size",m=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&c(r,n,t[u],t)}));return i(l.prototype,{clear:function(){for(var t=h(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=h(this,e),r=m(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(t){h(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(h(this,e),t)}}),d&&r(l.prototype,"size",{get:function(){return h(this,e)[v]}}),l},def:function(t,e,n){var r,o,i=m(t,e);return i?i.v=n:(t._l=i={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:m,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=h(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(49),o=n(31).getWeak,i=n(3),a=n(4),s=n(48),c=n(63),u=n(24),l=n(15),f=n(41),d=u(5),p=u(6),h=0,v=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},g=function(t,e){return d(t.a,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=h++,t._l=void 0,null!=r&&c(r,n,t[i],t)}));return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=o(i(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){var r=n(21),o=n(7);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(38),o=n(57),i=n(3),a=n(1).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(7),o=n(77),i=n(26);t.exports=function(t,e,n,a){var s=String(i(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;
vendor: 4,579 bytes, line 1
1var f=l-c,d=o.call(u,Math.ceil(f/u.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},function(t,e,n){var r=n(9),o=n(35),i=n(17),a=n(52).f;t.exports=function(t){return function(e){for(var n,s=i(e),c=o(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n,r){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var u={};function l(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(E([])));v&&v!==e&&n.call(v,o)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function y(t,e){var r;this._invoke=function(o,i){function a(){return new e((function(r,a){!function r(o,i,a,s){var u=c(t[o],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=c(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,u;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(y.prototype),y.prototype[i]=function(){return this},t.AsyncIterator=y,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new y(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=E,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
1h(_),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&p())}function p(){if(!l){var t=s(d);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(14);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");
vendor: 2,710 bytes, line 1
1-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var r=n(14),o=n(358),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(142)),s),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(i)})),t.exports=c}).call(this,n(137))},function(t,e,n){"use strict";var r=n(14),o=n(359),i=n(139),a=n(361),s=n(364),c=n(365),u=n(143);t.exports=function(t){return new Promise((function(e,l){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password||"";d.Authorization="Basic "+btoa(h+":"+v)}var m=a(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),i(m,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:t,request:p};o(e,l,r),p=null}},p.onabort=function(){p&&(l(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){l(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),l(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(366),y=(t.withCredentials||c(m))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;y&&(d[t.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(d,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)}
1)),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),l(t),p=null)})),void 0===f&&(f=null),p.send(f)}))}},function(t,e,n){"use strict";var r=n(360);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(t){void 0!==e[t]&&(n[t]=e[t])})),r.forEach(i,(function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])})),r.forEach(a,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}));var s=o.concat(i).concat(a),c=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return r.forEach(c,(function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])})),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(101),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return String(t)}}},a)},function(t,e,n){var r=n(97),o=n(376);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?o(t):e}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){var r=n(377);t.exports=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&&r(t,e)}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.getAllActivityIndexes=e.allKeys=e.allActivityKey=e.default=void 0;var o=r(n(68)),i=r(n(42)),a=r(n(43)),s=r(n(28)),c=r(n(151)),u=n(29),l=c.default.makeTabs,f=s.default.constants,d=s.default.usersTopics,p=s.default.user,h=f.token,v=f.uidToShow,m=f.isFollowedByCurrentUser,g=window.JSi18n.FE.labels;e.allActivityKey="allActivity";var y=Object.create(null),b=["fu","f","ft","lc","cml","cmo","news","articles","presentations","minibooks","podcasts","interviews","research","reviewed"];e.allKeys=b;var w={};b.map((function(t){w[t]=0}));var _=!1,x=function(t){return t?(b.map((function(e){w[e]+=t&&t.length?t.filter((function(t){return t.type===e})).length:0})),w):w};function E(t){return"showBadge_infoqEditor"===t||["fu","f","ft","lc","cml","cmo","allActivity","news","articles","presentations","minibooks","podcasts","interviews","research","reviewed","likes","following","followers"].includes(t)?t:"allActivity"}e.getAllActivityIndexes=x;var S={init:function(t,e){var n=this,r=document.querySelector("main > .profile");if(r){setTimeout((function(){"#showBadge_infoqEditor"===window.location.hash&&(window.location.hash="#allActivity")}),1e3),"allActivity"===E(window.location.hash.replace("#",""))&&(window.location.hash="allActivity");var o=r.querySelector(".profile__bottom");if(o){var s=o.querySelector(".tabs"),c=e.event,l=e.api,f=function(){var t=E(window.location.hash.replace("#",""));t!==window.location.hash.replace("#","")&&(window.location.hash=t),c.trigger("tabChanged",{payload:{instanceId:t,index:0}})};window.addEventListener("hashchange",f),f(),c.on("setItemsIndex",(function(t){var e=t.segment,n=t.newIndex;switch(e){default:y[e]&&(y[e]._index=n);break;case"topic":case"user":case"ft":case"fu":var r="ft"===e||"topic"===e?"topics":"users";y.following&&y.following._taxonomies&&y.following._taxonomies[r]&&(y.following._taxonomies[r]._index=n);break;case"allActivity":y.allActivity&&(y.allActivity._index=n)}})),c.on("tabChanged",(function(t){var e=t.payload.instanceId,n=t.payload.index;if(!(["profileTabs","following"].indexOf(e)<0)){var r=t.instance.querySelectorAll(":scope > .tab");switch(e){case"profileTabs":var o=r.item(n);if(!o)break;var i=o.id||o.dataset.id,a=o.querySelector(":scope > div");switch(a&&a.classList.add(i),i){default:if(y[i]){if(0<=(y[i]._index||0))break;var s={segment:i,element:a,index:0,asCards:!0,hAS:!0};"followers"===i&&(s.selector=".profile__bottom .".concat(i)),c.trigger("getStuffYouFollow",s)}break;case"following":var u=document.querySelector('.tab[data-id="following"] .tabs');u&&c.trigger("tabChanged",{instance:u,payload:{instanceId:i,index:0}});break;case"allActivity":var l=x(),f=!1,d=!0,p=!1;Object.keys(l).forEach((function(t){var e=Number(l[t]);w[t]<e&&(p=!0),e>
10&&(d=!1)})),!d&&p&&(f=!0),!d||p||_||(f=!0),f&&(c.trigger("getStuffYouFollow",{segment:i,element:a,single:!1,asCards:!0,otherKeys:l}),_=!0)}break;case"following":var h=r.item(n).dataset.sid;if(h&&y[e]&&y[e]._taxonomies){var v;switch(h){case"users":v="fu";break;case"topics":v="ft";break;default:v=h}var m=y[e]._taxonomies[h];if((m&&void 0!==m._index?m._index:-1)>-1)break;(a=r.item(n).querySelector("ul"))&&c.trigger("getStuffYouFollow",{segment:v,element:a,index:0,asCards:!0,hAS:!0,single:!0})}}}})),c.on("getCounts",function(){var t=(0,a.default)(i.default.mark((function t(e){var r,o,a,f,h,b,w,_,x,E;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.populateDataObj({api:l,e:e});case 2:n.makeTabs(s,{hash:!0},c),r=s.childNodes[0],(o=document.createElement("h3")).classList.add("section__heading","heading"),o.textContent=g.allActivity,r.prepend(o),s.classList.remove("preload"),(a=document.querySelector(".profile .profile__bio .actions__right"))&&a.parentNode&&(f=v,d.users=[{id:f,type:"fu",followedByCurrentUser:m}],a.dataset.id=f,v!==window.currentUserId&&(h=(0,u.createFollowButton)({segment:"user",size:"medium",flag:p(f).followedByCurrentUser,userId:f}),a.parentNode.classList.add("authors"),a.append(h))),(b=document.querySelector(".profile__stats"))&&(w=document.createElement("LI"),_=document.createElement("LI"),x=y.followers,E=y.following,x&&(w.innerHTML='\n <span class="_followers meta">'.concat(Number(x._count)>0?"".concat(x._count," ").concat(g.followers):"","</span>\n ")),E&&(_.innerHTML='\n <span class="_following meta">'.concat(Number(E._count)>0?"".concat(E._count," ").concat(g.following):"","</span>\n ")),w.innerHTML&&b.prepend(w),_.innerHTML&&b.prepend(_));case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),c.trigger("getCounts"),(0,u.hideItemHandler)(c)}}},handleHashChange:function(t){var e=window.location.hash.substring(1);e&&(Object.keys(y).includes(e)?t.trigger("tabChanged",{payload:{instanceId:e,index:0}}):console.warn("Invalid tab ID in hash: ".concat(e)))},makeTabs:function(t,e,n){t&&(Object.keys(y).sort((function(t,e){return y[t]._order-y[e]._order})).forEach((function(e){var r=y[e],o=r._count,i=r._label,a=r._taxonomies;if(o||"allActivity"===e){var s=document.createElement("DIV");if(s.classList.add("tab"),Object.assign(s.dataset,{title:i,count:o&&void 0!==o?o:null,id:e}),s.innerHTML='\n <h2 class="heading">'.concat(i,'</h2>\n <div class="preload"></div>\n '),a){var c=s.querySelector(".preload");c.classList.add("tabs"),c.classList.add("tabs__taxonomies"),c.classList.remove("preload"),c.dataset.id="following",c.id="following",Object.keys(a).forEach((function(t){var e=a[t],n=e._count,r=e._label;if(n){var o=document.createElement("DIV");o.classList.add("tab"),o.classList.add("".concat(t.replace("_","").replace("users","peers"),"-you-follow")),Object.assign(o.dataset,{title:r,count:n&&void 0!==n?n:null,sid:t}),o.innerHTML='<ul class="no-style preload"></ul>',c.append(o)}})),s.append(c),l(c,{},n)}t.append(s)}})),t.id="profileTabs",l(t,e,n))},populateDataObj:function(t){return(0,a.default)(i.default.mark((function e(){var n,r,a,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.api,e.prev=1,e.next=4,n.get("/userProfile!getCounts.action",{params:{token:h}});case 4:r=e.sent,a=r.data,["followedUsers","followedTopics","followedAll","followers","likedContent","likedAll","ownedArticles","ownedInterviews","ownedMinibooks","ownedPodcasts","ownedReviewed","ownedNews","ownedPresentations","ownedResearch"].every((function(t){return!a[t]||0===a[t]}))?(s=document.querySelector(".preload"))&&(s.classList.replace("preload","no-activity"),s.innerHTML="No activity yet for this profile"):(Object.assign(y,(0,o.default)({},"allActivity",{_label:g.allActivity})),Object.keys(a).forEach((function(t){if(!(t.indexOf("owned")<0&&t.indexOf("All")<0&&t.indexOf("followers"))){var e=String(t.replace("owned","").replace("All","").replace("ked","kes").replace("owed","owing")).toLowerCase(),n=function(t){switch(t){case"allActivity":default:return 0;case"articles":return 1;case"news":return 2;case"research":return 3;case"presentations":return 4;case"interviews":return 5;case"minibooks":return 6;case"podcasts":return 7;case"reviewed":return 8;case"likes":return 10;case"comments":return 11;case"following":return 20;case"followers":return 21}}(e);if(Object.assign(y,(0,o.default)({},e,{_count:a[t],_label:g[e],_order:n,_index:-1})),t.indexOf("followedAll")>-1){var r=a.followedUsers,i=a.followedTopics;Object.assign(y[e],{_taxonomies:{users:{_count:r,_label:g.people,_index:-1},topics:{_count:i,_label:g.topics,_index:-1}}})}}}))),e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(1),new Error(e.t0);case 14:case"end":return e.stop()}}),e,null,[[1,11]])})))()}};e.default=S},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=window.navigator.userAgent,a=/MSIE|Trident/.test(i),s=function t(e,n){var o=e.instance,i=e.id,a=e.index;if(o){"profileTabs"===o&&"following"===i&&setTimeout((function(){t({instance:"following",index:0},n)}),100);var s=document.getElementById(o);if(s){var c=s.querySelectorAll(".tab__switcher > ul > li");if(c&&c.length){var u,l=r(c);try{for(l.s();!(u=l.n()).done;){var f=u.value;f&&(f.setAttribute("aria-selected",!1),f.setAttribute("aria-hidden",!0))}}catch(t){l.e(t)}finally{l.f()}var d,p=r(s.children);try{for(p.s();!(d=p.n()).done;){d.value.classList.remove("active")}}catch(t){p.e(t)}finally{p.f()}s.children.item(a+1).classList.add("active");var h=c.item(a);h&&h.setAttribute("aria-selected",!0),h.setAttribute("aria-hidden",!0),i&&history.replaceState({instance:o,id:i,index:a},document.title,"#".concat(i)),n&&n.trigger("tabChanged",{instance:s,payload:{instanceId:o,id:i,index:a}})}}}},c={get tabsInstances(){return document.querySelectorAll(".tabs")},makeTabs:function(t,e,n){var o=t.children;if(o.length){var i=Array.prototype.slice.call(o).map((function(t){return t.dataset.id})).filter((function(t){return void 0!==t})),c=t.dataset.heading;t.id||(t.id=Array.from(t.classList).join("-"));var u=window.location.hash.replace("#",""),l={index:u&&i.length>0?i.indexOf(u):e&&e.activeIndex?e.activeIndex:0,instance:t.id,id:u},f=document.createElement("DIV"),d=document.createElement("UL");if(f.classList.add("tab__switcher"),d.classList.add("no-style"),i.length>0){var p=a?"hashchange":"popstate";window.addEventListener(p,(function(){var t=window.location.hash,e=t?t.replace("#",""):i[0],r=t?i.indexOf(e):0;Object.assign(l,{id:e,index:r}),s(l,n)}))}else document.addEventListener("click",(function(t){if(t.target){var e=t.target,r=e.nodeName,o=e.parentNode.parentNode;if(o&&"LI"===r&&o.classList.contains("tab__switcher")&&"true"!==e.getAttribute("aria-selected")){var i=[].slice.call(e.parentNode.children).indexOf(e);Object.assign(l,{index:i,id:null}),s(l,n)}}}));var h,v=0,m=r(o);try{for(m.s();!(h=m.n()).done;){var g=h.value;v+=1;var y=g.dataset,b=y.id,w=y.count,_=b&&b===document.location.hash||l.index===v;d.innerHTML+='\n <li aria-selected="'.concat(_,'">\n ').concat(b?'<a href="#'.concat(b,'" aria-conrols="').concat(b,'" role="tab">'):"").concat(g.getAttribute("data-title")).concat(w&&Number.isInteger(Number(w))?' <span class="tab__count">'.concat(w,"</span>"):"").concat(b?"</a>":"","\n </li>\n ")}}catch(t){m.e(t)}finally{m.f()}if(c){var x=document.createElement("H3");x.textContent=c,x.classList.add("section__heading"),x.classList.add("heading"),f.prepend(x)}f.append(d),t.prepend(f),s(l,n),t.classList.add("tabs--inited")}},init:function(t,e){var n=this.tabsInstances,o=e.event;if(n.length){var i,a=r(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;this.makeTabs(s,t[s.id||s.dataset.id],o)}}catch(t){a.e(t)}finally{a.f()}}}};e.default=c},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(29),i=r(n(28));function a(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c=i.default.topic,u=i.default.user,l={get cardAuthors(){return function(t){return{holder:t.querySelector(".".concat("card__authors")),items:t.querySelectorAll(".".concat("card__authors"," > span"))}}},get cardTopics(){return function(t){return{holder:t.querySelector(".".concat("card__topics")),items:t.querySelectorAll(".".concat("card__topics"," > span"))}}},deletePoppers:function(t){var e=t.querySelectorAll(".popper");if(e){var n,r=a(e);try{for(r.s();!(n=r.n()).done;){n.value.remove()}}catch(t){r.e(t)}finally{r.f()}}},createPoppers:function(t,e){var n=this,r=e.Popper,i=e.createPopper,s=this.config,c=this.showShortBio;Object.keys(t).forEach((function(e){var u="authors"===e?"user":"topic",l=t[e];if(l){var f,d=a(l);try{for(d.s();!(f=d.n()).done;){var p=f.value,h=p.children[0];if(!h||!h.href)throw new Error("Incorrect item definition on item: ",p);var v=h.getAttribute("data-id");if(v){var m=n[u](v);m&&(!m.link&&h.href&&(Object.assign(m,{link:h.href}),"user"===e&&Object.assign(m,{showShortBio:c})),new r(h,i(p,(0,o.popperHTML)(u,m)),s))}}}catch(t){d.e(t)}finally{d.f()}}}))},init:function(t,e){var n=this;this.config=t,this.topic=c,this.user=u;var r,o=this.cardAuthors,i=this.cardTopics,s=a(e.cards);try{var l=function(){var t=r.value,a=i(t),s=o(t);a.items.length&&(a.holder.addEventListener("mouseenter",(function(){return n.createPoppers({topics:a.items},e)})),a.holder.addEventListener("mouseleave",(function(){return n.deletePoppers(t)}))),s.items.length&&(s.holder.addEventListener("mouseenter",(function(){return n.createPoppers({authors:s.items},e)})),s.holder.addEventListener("mouseleave",(function(){return n.deletePoppers(t)})))};for(s.s();!(r=s.n()).done;)l()}catch(t){s.e(t)}finally{s.f()}}};e.default=l},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={get el(){return document.querySelector(".comments > .comments__list")},init:function(t,e){var n=e.Popper,o=e.createPopper,i=this.el;if(i){var a=i.querySelectorAll("li[data-id]");if(a){var s,c=r(a);try{var u=function(){var e=s.value,i=e.dataset.id;if(!i)return"continue";e.addEventListener("mouseenter",(function(a){var s='.comment[data-id="'.concat(i,'"]'),c=document.querySelector(s);if(c){var u=c.cloneNode(!0),l=u.querySelectorAll([".comment",".reply__box"]);u.classList.add("comment"),u.id="";var f=u.querySelector("a.top");f&&f.remove();var d=u.querySelector("a.edit");d&&d.remove();var p,h=r(l);try{for(h.s();!(p=h.n()).done;){p.value.remove()}}catch(t){h.e(t)}finally{h.f()}var v=e.querySelector(".comment__title a"),m=u.querySelector(".comment__title"),g=document.createElement("SPAN");g.textContent=m.textContent,g.classList.add("comment__title"),m.parentNode.prepend(g),m.remove();var y=u.outerHTML;new n(v,o(v,y),t)}})),e.addEventListener("mouseleave",(function(t){var e=t.target.querySelector(".popper");e&&e.remove()}))};for(c.s();!(s=c.n()).done;)u()}catch(t){c.e(t)}finally{c.f()}
1document.addEventListener("click",(function(t){if(t){var e=t.target;if("BUTTON"===e.nodeName&&e.classList.contains("reply")){var n=e.closest("li.comment"),r=n.parentNode;if(r)if(r.classList.contains("popper")){var o=n.dataset.id;if(o){document.location.hash="anch".concat(o);var i=document.querySelector('.comments__boxes li.comment[data-id="'.concat(o,'"]')).querySelector("button.reply");i&&setTimeout((function(){i.click()}),100)}}}}}))}}}};e.default=i},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={init:function(t,e){var n=e.Popper,o=e.createPopper,i=document.querySelectorAll(".easchedule > div.video-block");if(i.length){var a,s=r(i);try{var c=function(){var e=a.value,r=void 0;e.addEventListener("mouseenter",(function(){r=new n(e,o(e,"<p>".concat(e.dataset.tooltip||"Not published due to author permission","</p>"),t),t)})),e.addEventListener("mouseleave",(function(){r&&r.destroy()}))};for(s.s();!(a=s.n()).done;)c()}catch(t){s.e(t)}finally{s.f()}}}};e.default=i},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(28)),i=n(29);function a(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c=o.default.topic,u={get el(){return document.querySelector(".related__topics")},init:function(t,e){var n=e.Popper,r=e.createPopper,o=this.el;if(o){var s,u=a(o.children);try{for(u.s();!(s=u.n()).done;){var l=s.value,f=l.dataset.id;if(f){var d=c(f);if(d)new n(l.children[0],r(l,(0,i.popperHTML)("topic",d)),t)}}}catch(t){u.e(t)}finally{u.f()}}}};e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(437),o={get vcr(){var t=document.querySelector(".rvc.box__border");return!!(t&&t.children&&t.children.length>0)&&t},get popperContentItem(){var t=this.vcr;if(t)return t.parentNode.querySelector(".popper")},init:function(t){var e=this.popperContentItem,n=this.vcr;e&&(0,r.createPopper)(n,e)}};e.default=o},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){"use strict";e.a=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))}},function(t,e,n){n(160),n(345),n(346),n(347),t.exports=n(350)},function(t,e,n){"use strict";n(161);var r,o=(r=n(332))&&r.__esModule?r:{default:r};o.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),o.default._babelPolyfill=!0},function(t,e,n){"use strict";n(162),n(305),n(307),n(310),n(312),n(314),n(316),n(318),n(320),n(322),n(324),n(326),n(328),n(134)},function(t,e,n){n(163),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230
vendor: 37,438 bytes, line 1
1),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(244),n(245),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(89),n(268),n(123),n(269),n(124),n(270),n(271),n(272),n(273),n(125),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),t.exports=n(8)},function(t,e,n){"use strict";var r=n(1),o=n(15),i=n(9),a=n(0),s=n(12),c=n(31).KEY,u=n(2),l=n(55),f=n(44),d=n(33),p=n(5),h=n(70),v=n(104),m=n(165),g=n(58),y=n(3),b=n(4),w=n(11),_=n(17),x=n(30),E=n(32),S=n(37),O=n(107),T=n(22),L=n(57),A=n(10),k=n(35),I=T.f,C=A.f,M=O.f,j=r.Symbol,P=r.JSON,N=P&&P.stringify,D=p("_hidden"),F=p("toPrimitive"),q={}.propertyIsEnumerable,B=l("symbol-registry"),R=l("symbols"),H=l("op-symbols"),U=Object.prototype,z="function"==typeof j&&!!L.f,W=r.QObject,V=!W||!W.prototype||!W.prototype.findChild,$=i&&u((function(){return 7!=S(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=I(U,e);r&&delete U[e],C(t,e,n),r&&t!==U&&C(U,e,r)}:C,G=function(t){var e=R[t]=S(j.prototype);return e._k=t,e},X=z&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},J=function(t,e,n){return t===U&&J(H,e,n),y(t),e=x(e,!0),y(n),o(R,e)?(n.enumerable?(o(t,D)&&t[D][e]&&(t[D][e]=!1),n=S(n,{enumerable:E(0,!1)})):(o(t,D)||C(t,D,E(1,{})),t[D][e]=!0),$(t,e,n)):C(t,e,n)},Y=function(t,e){y(t);for(var n,r=m(e=_(e)),o=0,i=r.length;i>o;)J(t,n=r[o++],e[n]);return t},K=function(t){var e=q.call(this,t=x(t,!0));return!(this===U&&o(R,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,D)&&this[D][t])||e)},Q=function(t,e){if(t=_(t),e=x(e,!0),t!==U||!o(R,e)||o(H,e)){var n=I(t,e);return!n||!o(R,e)||o(t,D)&&t[D][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=M(_(t)),r=[],i=0;n.length>i;)o(R,e=n[i++])||e==D||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===U,r=M(n?H:_(t)),i=[],a=0;r.length>a;)!o(R,e=r[a++])||n&&!o(U,e)||i.push(R[e]);return i};z||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(H,n),o(this,D)&&o(this[D],t)&&(this[D][t]=!1),$(this,t,E(1,n))};return i&&V&&$(U,t,{configurable:!0,set:e}),G(t)}).prototype,"toString",(function(){return this._k})),T.f=Q,A.f=J,n(38).f=O.f=Z,n(52).f=K,L.f=tt,i&&!n(34)&&s(U,"propertyIsEnumerable",K,!0),h.f=function(t){return G(p(t))}),a(a.G+a.W+a.F*!z,{Symbol:j});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=k(p.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=j(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?S(t):Y(S(t),e)},defineProperty:J,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=u((function(){L.f(1)}));a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return L.f(w(t))}}),P&&a(a.S+a.F*(!z||u((function(){var t=j();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!X(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(P,r)}}),j.prototype[F]||n(16)(j.prototype,F,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(55)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(35),o=n(57),i=n(52);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(37)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(9),"Object",{defineProperty:n(10).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(9),"Object",{defineProperties:n(106)})},function(t,e,n){var r=n(17),o=n(22).f;n(23)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},function(t,e,n){var r=n(11),o=n(39);n(23)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(11),o=n(35);n(23)("keys",(function(){return function(t){return o(r(t))}}))},function(t,e,n){n(23)("getOwnPropertyNames",(function(){return n(107).f}))},function(t,e,n){var r=n(4),o=n(31).onFreeze;n(23)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(31).onFreeze;n(23)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4),o=n(31).onFreeze;n(23)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},function(t,e,n){var r=n(4);n(23)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(23)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(23)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(108)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(109)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(74).set})},function(t,e,n){"use strict";var r=n(53),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(12)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(110)})},function(t,e,n){var r=n(10).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(9)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),o=n(39),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(10).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),o=n(112);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(0),o=n(113);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(1),o=n(15),i=n(25),a=n(76),s=n(30),c=n(2),u=n(38).f,l=n(22).f,f=n(10).f,d=n(45).trim,p=r.Number,h=p,v=p.prototype,m="Number"==i(n(37)(v)),g="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=g?e.trim():d(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if((a=c.charCodeAt(u))<48||a>o)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?c((function(){v.valueOf.call(n)})):"Number"!=i(n))?a(new h(y(e)),n,p):y(e)};for(var b,w=n(9)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)o(h,b=w[_])&&!o(p,b)&&f(p,b,l(h,b));p.prototype=v,v.constructor=p,n(12)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),o=n(21),i=n(114),a=n(77),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=c(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},h=function(t,e,n){return 0===e?n:e%2==1?h(t,e-1,n*t):h(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(2)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=i(this,l),u=o(t),v="",m="0";if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*h(2,69,1))-69)<0?c*h(2,-e,1):c/h(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=e-1;r>=23;)d(1<<23),r-=23;d(1<<r),f(1,1),d(2),m=p()}else f(0,n),f(1<<-e,0),m=p()+a.call("0",u);return m=u>0?v+((s=m.length)<=u?"0."+a.call("0",u-s)+m:m.slice(0,s-u)+"."+m.slice(s-u)):v+m}})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(114),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),o=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(115)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),o=n(115),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),o=n(113);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){var r=n(0),o=n(112);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){var r=n(0),o=n(116),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),o=n(78);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){var r=n(0),o=n(79);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(208)})},function(t,e,n){var r=n(78),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),u=r(t);return o<c?u*(o/c/a+1/i-1/i)*c*a:(n=(e=(1+a/i)*o)-(e-o))>s||n!=n?u*(1/0):u*n}},function(t,e,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,c=0;a<s;)c<(n=o(arguments[a++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(i)}})},function(t,e,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(2)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(116)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(78)})},function(t,e,n){var r=n(0),o=n(79),i=Math.exp;r(r.S+r.F*n(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),o=n(79),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(36),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),o=n(17),i=n(7);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(45)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){"use strict";var r=n(80)(!0);n(81)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),o=n(80)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(7),i=n(82),a="".endsWith;r(r.P+r.F*n(84)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:Math.min(o(n),r),c=String(t);return a?a.call(e,c,s):e.slice(s-c.length,s)===c}})},function(t,e,n){"use strict";var r=n(0),o=n(82);r(r.P+r.F*n(84)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(77)})},function(t,e,n){"use strict";var r=n(0),o=n(7),i=n(82),a="".startsWith;r(r.P+r.F*n(84)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(13)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(13)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(13)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(13)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(13)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(13)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(13)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(13)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(13)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(13)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(13)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(13)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(13)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(30);r(r.P+r.F*n(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),o=n(243);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(2),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(12)(r,"toString",(function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(16)(o,r,n(246))},function(t,e,n){"use strict";var r=n(3),o=n(30);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(58)})},function(t,e,n){"use strict";var r=n(19),o=n(0),i=n(11),a=n(118),s=n(85),c=n(7),u=n(86),l=n(87);o(o.S+o.F*!n(59)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,f,d=i(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(d);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(e=c(d.length));e>g;g++)u(n,g,m?v(d[g],g):d[g]);else for(f=y.call(d),n=new p;!(o=f.next()).done;g++)u(n,g,m?a(f,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(t,e,n){"use strict";var r=n(0),o=n(86);r(r.S+r.F*n(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),o=n(17),i=[].join;r(r.P+r.F*(n(51)!=Object||!n(18)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(73),i=n(25),a=n(36),s=n(7),c=[].slice;r(r.P+r.F*n(2)((function(){o&&c.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),u=a(e,n),l=s(u-o),f=new Array(l),d=0;d<l;d++)f[d]="String"==r?this.charAt(o+d):this[o+d];return f}})},function(t,e,n){"use strict";var r=n(0),o=n(20),i=n(11),a=n(2),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n(18)(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(24)(0),i=n(18)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(4),o=n(58),i=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(24)(1);r(r.P+r.F*!n(18)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(24)(2);r(r.P+r.F*!n(18)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(24)(3);r(r.P+r.F*!n(18)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(24)(4);r(r.P+r.F*!n(18)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(120);r(r.P+r.F*!n(18)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(120);r(r.P+r.F*!n(18)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(56)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(18)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(17),i=n(21),a=n(7),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(18)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(121)}),n(40)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(88)}),n(40)("fill")},function(t,e,n){"use strict";var r=n(0),o=n(24)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("find")},function(t,e,n){"use strict";var r=n(0),o=n(24)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)(i)},function(t,e,n){n(47)("Array")},function(t,e,n){var r=n(1),o=n(76),i=n(10).f,a=n(38).f,s=n(83),c=n(60),u=r.RegExp,l=u,f=u.prototype,d=/a/g,p=/a/g,h=new u(d)!==d;if(n(9)&&(!h||n(2)((function(){return p[n(5)("match")]=!1,u(d)!=d||u(p)==p||"/a/i"!=u(d,"i")})))){u=function(t,e){var n=this instanceof u,r=s(t),i=void 0===e;return!n&&r&&t.constructor===u&&i?t:o(h?new l(r&&!i?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&i?c.call(t):e),n?this:f,u)};for(var v=function(t){t in u||i(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},m=a(l),g=0;m.length>g;)v(m[g++]);f.constructor=u,u.prototype=f,n(12)(r,"RegExp",u)}n(47)("RegExp")},function(t,e,n){"use strict";n(124);var r=n(3),o=n(60),i=n(9),a=/./.toString,s=function(t){n(12)(RegExp.prototype,"toString",t,!0)};n(2)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(t,e,n){"use strict";var r=n(3),o=n(7),i=n(91),a=n(61);n(62)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var f,d=[],p=0;null!==(f=a(c,u));){var h=String(f[0]);d[p]=h,""===h&&(c.lastIndex=i(u,o(c.lastIndex),l)),p++}return 0===p?null:d}]}))},function(t,e,n){"use strict";var r=n(3),o=n(11),i=n(7),a=n(21),s=n(91),c=n(61),u=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(62)("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var f=r(t),d=String(this),p="function"==typeof e;p||(e=String(e));var m=f.global;if(m){var g=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,d);if(null===b)break;if(y.push(b),!m)break;""===String(b[0])&&(f.lastIndex=s(d,i(f.lastIndex),g))}for(var w,_="",x=0,E=0;E<y.length;E++){b=y[E];for(var S=String(b[0]),O=u(l(a(b.index),d.length),0),T=[],L=1;L<b.length;L++)T.push(void 0===(w=b[L])?w:String(w));var A=b.groups;if(p){var k=[S].concat(T,O,d);void 0!==A&&k.push(A);var I=String(e.apply(void 0,k))}else I=v(S,d,O,T,A,e);O>=x&&(_+=d.slice(x,O)+I,x=O+S.length)}return _+d.slice(x)}];function v(t,e,r,i,a,s){var c=r+t.length,u=i.length,l=p;return void 0!==a&&(a=o(a),l=d),n.call(s,l,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>u){var d=f(l/10);return 0===d?n:d<=u?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}s=i[l-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(3),o=n(109),i=n(61);n(62)("search",1,(function(t,e,n,a){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=i(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},function(t,e,n){"use strict";var r=n(83),o=n(3),i=n(54),a=n(91),s=n(7),c=n(61),u=n(90),l=n(2),f=Math.min,d=[].push,p="length",h=!l((function(){RegExp(4294967295,"y")}));n(62)("split",2,(function(t,e,n,l){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,l+"g");(i=u.call(v,o))&&!((a=v.lastIndex)>f&&(c.push(o.slice(f,i.index)),i[p]>1&&i.index<o[p]&&d.apply(c,i.slice(1)),s=i[0][p],f=a,c[p]>=h));)v.lastIndex===i.index&&v.lastIndex++;return f===o[p]?!s&&v.test("")||c.push(""):c.push(o.slice(f)),c[p]>h?c.slice(0,h):c}:"0".split(void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):v.call(String(o),n,r)},function(t,e){var r=l(v,t,this,e,v!==n);if(r.done)return r.value;var u=o(t),d=String(this),p=i(u,RegExp),m=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),y=new p(h?u:"^(?:"+u.source+")",g),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===d.length)return null===c(y,d)?[d]:[];for(var w=0,_=0,x=[];_<d.length;){y.lastIndex=h?_:0;var E,S=c(y,h?d:d.slice(_));if(null===S||(E=f(s(y.lastIndex+(h?0:_)),d.length))===w)_=a(d,_,m);else{if(x.push(d.slice(w,_)),x.length===b)return x;for(var O=1;O<=S.length-1;O++)if(x.push(S[O]),x.length===b)return x;_=w=E}}return x.push(d.slice(w)),x}]}))},function(t,e,n){var r=n(1),o=n(92).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(25)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(128),o=n(41);t.exports=n(65)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(128),o=n(41);t.exports=n(65)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(1),i=n(24)(0),a=n(12),s=n(31),c=n(108),u=n(129),l=n(4),f=n(41),d=n(41),p=!o.ActiveXObject&&"ActiveXObject"in o,h=s.getWeak,v=Object.isExtensible,m=u.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(l(t)){var e=h(t);return!0===e?m(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},b=t.exports=n(65)("WeakMap",g,y,u,!0,!0);d&&p&&(c((r=u.getConstructor(g,"WeakMap")).prototype,y),s.NEED=!0,i(["delete","has","get","set"],(function(t){var e=b.prototype,n=e[t];a(e,t,(function(e,o){if(l(e)&&!v(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},function(t,e,n){"use strict";var r=n(129),o=n(41);n(65)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),o=n(66),i=n(93),a=n(3),s=n(36),c=n(7),u=n(4),l=n(1).ArrayBuffer,f=n(54),d=i.ArrayBuffer,p=i.DataView,h=o.ABV&&l.isView,v=d.prototype.slice,m=o.VIEW;r(r.G+r.W+r.F*(l!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return h&&h(t)||u(t)&&m in t}}),r(r.P+r.U+r.F*n(2)((function(){return!new d(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(f(this,d))(c(o-r)),u=new p(this),l=new p(i),h=0;r<o;)l.setUint8(h++,u.getUint8(r++));return i}}),n(47)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(66).ABV,{DataView:n(93).DataView})},function(t,e,n){n(27)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(27)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(27)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(0),o=n(20),i=n(3),a=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):s.call(r,e,c)}})},function(t,e,n){var r=n(0),o=n(37),i=n(20),a=n(3),s=n(4),c=n(2),u=n(110),l=(n(1).Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!c((function(){l((function(){}))}));r(r.S+r.F*(f||d),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(d&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,p=o(s(c)?c:Object.prototype),h=Function.apply.call(t,p,e);return s(h)?h:p}})},function(t,e,n){var r=n(10),o=n(0),i=n(3),a=n(30);o(o.S+o.F*n(2)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),o=n(22).f,i=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),o=n(3),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(117)(i,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var r=n(22),o=n(39),i=n(15),a=n(0),s=n(4),c=n(3);a(a.S,"Reflect",{get:function t(e,n){var a,u,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=o(e))?t(u,n,l):void 0}})},function(t,e,n){var r=n(22),o=n(0),i=n(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){var r=n(0),o=n(39),i=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),o=n(3),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(131)})},function(t,e,n){var r=n(0),o=n(3),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(10),o=n(22),i=n(39),a=n(15),s=n(0),c=n(32),u=n(3),l=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var f,d,p=arguments.length<4?e:arguments[3],h=o.f(u(e),n);if(!h){if(l(d=i(e)))return t(d,n,s,p);h=c(0)}if(a(h,"value")){if(!1===h.writable||!l(p))return!1;if(f=o.f(p,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=s,r.f(p,n,f)}else r.f(p,n,c(0,s));return!0}return void 0!==h.set&&(h.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),o=n(74);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(306),t.exports=n(8).Array.includes},function(t,e,n){"use strict";var r=n(0),o=n(56)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("includes")},function(t,e,n){n(308),t.exports=n(8).Array.flatMap},function(t,e,n){"use strict";var r=n(0),o=n(309),i=n(11),a=n(7),s=n(20),c=n(119);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return s(t),e=a(r.length),n=c(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(40)("flatMap")},function(t,e,n){"use strict";var r=n(58),o=n(4),i=n(7),a=n(19),s=n(5)("isConcatSpreadable");t.exports=function t(e,n,c,u,l,f,d,p){for(var h,v,m=l,g=0,y=!!d&&a(d,p,3);g<u;){if(g in c){if(h=y?y(c[g],g,n):c[g],v=!1,o(h)&&(v=void 0!==(v=h[s])?!!v:r(h)),v&&f>0)m=t(e,n,h,i(h.length),m,f-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=h}m++}g++}return m}},function(t,e,n){n(311),t.exports=n(8).String.padStart},function(t,e,n){"use strict";var r=n(0),o=n(132),i=n(64),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){n(313),t.exports=n(8).String.padEnd},function(t,e,n){"use strict";var r=n(0),o=n(132),i=n(64),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){n(315),t.exports=n(8).String.trimLeft},function(t,e,n){"use strict";n(45)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,n){n(317),t.exports=n(8).String.trimRight},function(t,e,n){"use strict";n(45)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){n(319),t.exports=n(70).f("asyncIterator")},function(t,e,n){n(104)("asyncIterator")},function(t,e,n){n(321),t.exports=n(8).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),o=n(131),i=n(17),a=n(22),s=n(86);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=a.f,u=o(r),l={},f=0;u.length>f;)void 0!==(n=c(r,e=u[f++]))&&s(l,e,n);return l}})},function(t,e,n){n(323),t.exports=n(8).Object.values},function(t,e,n){var r=n(0),o=n(133)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){n(325),t.exports=n(8).Object.entries},function(t,e,n){var r=n(0),o=n(133)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";n(125),n(327),t.exports=n(8).Promise.finally},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(1),a=n(54),s=n(127);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){n(329),n(330),n(331),t.exports=n(8)},function(t,e,n){var r=n(1),o=n(0),i=n(64),a=[].slice,s=/MSIE .\./.test(i),c=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){var r=n(0),o=n(92);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){for(var r=n(89),o=n(35),i=n(12),a=n(1),s=n(16),c=n(46),u=n(5),l=u("iterator"),f=u("toStringTag"),d=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),v=0;v<h.length;v++){var m,g=h[v],y=p[g],b=a[g],w=b&&b.prototype;if(w&&(w[l]||s(w,l,d),w[f]||s(w,f,g),c[g]=d,y))for(m in r)w[m]||i(w,m,r[m],!0)}}
1,function(t,e,n){n(333),t.exports=n(135).global},function(t,e,n){var r=n(334);r(r.G,{global:n(94)})},function(t,e,n){var r=n(94),o=n(135),i=n(335),a=n(337),s=n(344),c=function(t,e,n){var u,l,f,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,g=t&c.W,y=p?o:o[e]||(o[e]={}),b=y.prototype,w=p?r:h?r[e]:(r[e]||{}).prototype;for(u in p&&(n=e),n)(l=!d&&w&&void 0!==w[u])&&s(y,u)||(f=l?w[u]:n[u],y[u]=p&&"function"!=typeof w[u]?n[u]:m&&l?i(f,r):g&&w[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,t&c.R&&b&&!b[u]&&a(b,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(336);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(338),o=n(343);t.exports=n(96)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(339),o=n(340),i=n(342),a=Object.defineProperty;e.f=n(96)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(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(95);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(96)&&!n(136)((function(){return 7!=Object.defineProperty(n(341)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(95),o=n(94).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(95);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";var r,o,i,a,s,c,u,l,f=n(6)(n(97));[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(t){t.hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Array.prototype.slice.call(arguments),e=document.createDocumentFragment();t.forEach((function(t){var n=t instanceof Node;e.appendChild(n?t:document.createTextNode(String(t)))})),this.appendChild(e)}})})),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(t){t.hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Array.prototype.slice.call(arguments),e=document.createDocumentFragment();t.forEach((function(t){var n=t instanceof Node;e.appendChild(n?t:document.createTextNode(String(t)))})),this.insertBefore(e,this.firstChild)}})})),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),Object.keys||(Object.keys=(r=Object.prototype.hasOwnProperty,o=!{toString:null}.propertyIsEnumerable("toString"),a=(i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(t){if("function"!=typeof t&&("object"!==(0,f.default)(t)||null===t))throw new TypeError("Object.keys called on non-object");var e,n,s=[];for(e in t)r.call(t,e)&&s.push(e);if(o)for(n=0;n<a;n++)r.call(t,i[n])&&s.push(i[n]);return s})),Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,n;if(null==this)throw new TypeError("this is null or not defined");var r=Object(this),o=r.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(e=arguments[1]),n=0;n<o;){var i;n in r&&(i=r[n],t.call(e,i,n,r)),n++}}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),Array.from||(Array.from=(s=Object.prototype.toString,c=function(t){return"function"==typeof t||"[object Function]"===s.call(t)},u=Math.pow(2,53)-1,l=function(t){var e=function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t);return Math.min(Math.max(e,0),u)},function(t){var e=this,n=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,o=arguments.length>1?arguments[1]:void 0;if(void 0!==o){if(!c(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var i,a=l(n.length),s=c(e)?Object(new e(a)):new Array(a),u=0;u<a;)i=n[u],s[u]=o?void 0===r?o(i,u):o.call(r,i,u):i,u+=1;return s.length=a,s})),Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),function(){if("object"===("undefined"==typeof window?"undefined":(0,f.default)(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
1ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(window,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,i=a(o),s=this._rootContainsTarget(o),c=r.entry,u=t&&s&&this._computeTargetAndRootIntersection(o,e),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:i,rootBounds:e,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,l)&&this._queuedEntries.push(l):c&&c.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){for(var r,o,i,s,u,l,f,d,p=a(e),h=c(e),v=!1;!v;){var m=null,g=1==h.nodeType?window.getComputedStyle(h):{};if("none"==g.display)return;if(h==this.root||h==t?(v=!0,m=n):h!=t.body&&h!=t.documentElement&&"visible"!=g.overflow&&(m=a(h)),m&&(r=m,o=p,i=void 0,s=void 0,u=void 0,l=void 0,f=void 0,d=void 0,i=Math.max(r.top,o.top),s=Math.min(r.bottom,o.bottom),u=Math.max(r.left,o.left),l=Math.min(r.right,o.right),d=s-i,!(p=(f=l-u)>=0&&d>=0&&{top:i,bottom:s,left:u,right:l,width:f,height:d})))break;h=c(h)}return p}},r.prototype._getRootRect=function(){var e;if(this.root)e=a(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||s(t,this.root)},r.prototype._rootContainsTarget=function(e){return s(this.root||t,e)}
1,r.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},r.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function r(t,e){var n,r,o,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function o(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function i(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function s(t,e){for(var n=e;n;){if(n==t)return!0;n=c(n)}return!1}function c(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}(),window.DOMTokenList&&!DOMTokenList.prototype.forEach&&(DOMTokenList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)})},function(t,e){try{document.querySelector(":scope *")}catch(t){!function(t){var e=/:scope(?![\w-])/gi,n=a(t.querySelector);t.querySelector=function(t){return n.apply(this,arguments)};var r=a(t.querySelectorAll);if(t.querySelectorAll=function(t){return r.apply(this,arguments)},t.matches){var o=a(t.matches);t.matches=function(t){return o.apply(this,arguments)}}if(t.closest){var i=a(t.closest);t.closest=function(t){return i.apply(this,arguments)}}function a(t){return function(n){var r=n&&e.test(n);if(r){var o="q"+Math.floor(9e6*Math.random())+1e6;arguments[0]=n.replace(e,"["+o+"]"),this.setAttribute(o,"");var i=t.apply(this,arguments);return this.removeAttribute(o),i}return t.apply(this,arguments)}}}(Element.prototype)}},function(t,e,n){"use strict";n.r(e),function(t){var r=n(158),o=setTimeout;function i(t){return Boolean(t&&void 0!==t.length)}function a(){}function s(t){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(t,this)}function c(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,s._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void l(e.promise,t)}u(e.promise,r)}else(1===t._state?u:l)(e.promise,t._value)}))):t._deferreds.push(e)}function u(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof s)return t._state=3,t._value=e,void f(t);if("function"==typeof n)return void p((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,f(t)}catch(e){l(t,e)}var r,o}function l(t,e){t._state=2,t._value=e,f(t)}function f(t){2===t._state&&0===t._deferreds.length&&s._immediateFn((function(){t._handled||s._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)c(t,t._deferreds[e]);t._deferreds=null}function d(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function p(t,e){var n=!1;try{t((function(t){n||(n=!0,u(e,t))}),(function(t){n||(n=!0,l(e,t))}))}catch(t){if(n)return;n=!0,l(e,t)}}s.prototype.catch=function(t){return this.then(null,t)},s.prototype.then=function(t,e){var n=new this.constructor(a);return c(this,new d(t,e,n)),n},s.prototype.finally=r.a,s.all=function(t){return new s((function(e,n){if(!i(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var o=r.length;function a(t,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var s=i.then;if("function"==typeof s)return void s.call(i,(function(e){a(t,e)}),n)}r[t]=i,0==--o&&e(r)}catch(t){n(t)}}for(var s=0;s<r.length;s++)a(s,r[s])}))},s.resolve=function(t){return t&&"object"==typeof t&&t.constructor===s?t:new s((function(e){e(t)}))}
1,s.reject=function(t){return new s((function(e,n){n(t)}))},s.race=function(t){return new s((function(e,n){if(!i(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)s.resolve(t[r]).then(e,n)}))},s._immediateFn="function"==typeof t&&function(e){t(e)}||function(t){o(t,0)},s._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},e.default=s}.call(this,n(348).setImmediate)},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(349),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(98))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){h(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[c]=o,r(c),c++},d.clearImmediate=p}function p(t){delete u[t]}function h(t){if(l)setTimeout(h,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{p(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(98),n(137))},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(351),i=r(n(436)),a=new o.InfoQ(i.default);window&&(window.infoq=a);var s=a;e.default=s},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.InfoQ=void 0;var o=r(n(42)),i=r(n(43)),a=r(n(99)),s=r(n(100)),c=r(n(352)),u=n(369),l=n(370),f=r(n(371)),d=new l.EventEmitter;d.trigger=d.emit;var p=!1,h=!1,v={},m=c.default.create(u.apiConfig);m.interceptors.request.use((function(t){return t.data&&-1!==t.headers["Content-Type"].indexOf("application/x-www-form-urlencoded")&&(t.data=f.default.stringify(t.data)),t}));var g=function(){function t(e){if((0,a.default)(this,t),h)throw new Error("Already constructed. Please refer to one time-usage of InfoQ methods in the same environment.");this.config=e,h=!0}var e;return(0,s.default)(t,[{key:"initModules",value:function(){if(p)throw new Error("Already inited on page, aborting.");this.load(this.config.modules),p=!0}},{key:"init",value:function(){return this.initModules(),p}},{key:"load",value:(e=(0,i.default)(o.default.mark((function t(e){var r,a,s=this;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Object.keys(e),e){t.next=3;break}throw new Error("No modules found to be inited. Aborting.");case 3:return a=new Promise((function(t,e){var n=document.querySelector("article.article");n&&["article","podcast"].includes(n.dataset.type)?s.event.on("dynamicVCRBoxMoveDone",(function(){t()})):t()})),t.next=6,Promise.all(r.map(function(){var t=(0,i.default)(o.default.mark((function t(r){var i,a;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n(374)("./".concat(r,".js")).default;case 2:return i=t.sent,a=e[r],t.next=6,i.init(a,s);case 6:v[r]=t.sent;case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 6:return t.next=8,a;case 8:setTimeout((function(){s.event.trigger("loaded")}),100),setTimeout((function(){var t=new CustomEvent("infoq-loaded",{});window.dispatchEvent(t),dataLayer.push({event:"infoq-loaded"})}),5e3);case 10:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})},{key:"refresh",value:function(){p=!1}},{key:"event",get:function(){return d}},{key:"api",get:function(){return m}},{key:"modules",get:function(){return v}},{key:"modal",get:function(){return function(t,e){v.modals.content=t}}},{key:"storage",get:function(){return window.localStorage}},{key:"unsentQueries",get:function(){var t=this.storage;return Array(t.getItem("unsentQueries")||[])},set:function(t){this.storage.setItem("unsentQueries",t)}}]),t}();e.InfoQ=g},function(t,e,n){t.exports=n(353)},function(t,e,n){"use strict";var r=n(14),o=n(138),i=n(354),a=n(144);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(n(141));c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(145),c.CancelToken=n(367),c.isCancel=n(140),c.all=function(t){return Promise.all(t)}
vendor: 2,982 bytes, line 1
1,c.spread=n(368),t.exports=c,t.exports.default=c},function(t,e,n){"use strict";var r=n(14),o=n(139),i=n(355),a=n(356),s=n(144);function c(t){this.defaults=t,this.interceptors={request:new i,response:new i}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,o){return this.request(r.merge(o||{},{method:t,url:e,data:n}))}})),t.exports=c},function(t,e,n){"use strict";var r=n(14);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},function(t,e,n){"use strict";var r=n(14),o=n(357),i=n(140),a=n(141);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(s(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(143);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}}
vendor: 7,123 bytes, line 1
1,function(t,e,n){"use strict";var r=n(362),o=n(363);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(14),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(14);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(145);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.testUri=e.apiConfig=void 0;var r=(window.InfoQConstants||{language:"en",countryCode:"/en",pageUrl:"/",cet:void 0}).countryCode;e.testUri="https://www.infoq.com";var o=window.location.origin,i={withCredentials:!0,baseURL:"".concat(o).concat(r?"".concat(r):""),debug:!0,credentials:!0,headers:{Accept:"application/x-www-form-urlencoded","Content-Type":"application/x-www-form-urlencoded"}};e.apiConfig=i},function(t,e,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,n,r){var o,i,a,s;if(u(n),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),i=t._events),a=i[e]),void 0===a)a=i[e]=n,++t._eventsCount;else if("function"==typeof a?a=i[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(t))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function h(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(o):m(o,o.length)}function v(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[t];if(void 0===c)return!1;if("function"==typeof c)i(c,this,e);else{var u=c.length,l=m(c,u);for(n=0;n<u;++n)i(l[n],this,e)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){return u(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var n,r,o,i,a;if(u(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit
1("removeListener",t,n.listener||e));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===e||n[i].listener===e){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):v.call(t,e)},s.prototype.listenerCount=v,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){"use strict";var r=n(372),o=n(373),i=n(146);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(101),o=n(146),i=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,s(e)?e:[e])},l=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},p=function t(e,n,o,i,a,c,l,f,p,h,v,m,g){var y,b=e;if("function"==typeof l?b=l(n,b):b instanceof Date?b=h(b):"comma"===o&&s(b)&&(b=b.join(",")),null===b){if(i)return c&&!m?c(n,d.encoder,g,"key"):n;b=""}if("string"==typeof(y=b)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||r.isBuffer(b))return c?[v(m?n:c(n,d.encoder,g,"key"))+"="+v(c(b,d.encoder,g,"value"))]:[v(n)+"="+v(String(b))];var w,_=[];if(void 0===b)return _;if(s(l))w=l;else{var x=Object.keys(b);w=f?x.sort(f):x}for(var E=0;E<w.length;++E){var S=w[E];a&&null===b[S]||(s(b)?u(_,t(b[S],"function"==typeof o?o(n,S):n,o,i,a,c,l,f,p,h,v,m,g)):u(_,t(b[S],n+(p?"."+S:"["+S+"]"),o,i,a,c,l,f,p,h,v,m,g)))}return _};t.exports=function(t,e){var n,r=t,c=function(t){if(!t)return d;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||d.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!i.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],a=d.filter;return("function"==typeof t.filter||s(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===t.allowDots?d.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:d.charsetSentinel,delimiter:void 0===t.delimiter?d.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:d.encode,encoder:"function"==typeof t.encoder?t.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:d.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:d.strictNullHandling}}(e);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=a[l];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var v=0;v<n.length;++v){var m=n[v];
vendor: 1,905 bytes, line 1
1c.skipNulls&&null===r[m]||u(f,p(r[m],m,h,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var g=f.join(c.delimiter),y=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),g.length>0?y+g:""}},function(t,e,n){"use strict";var r=n(101),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e){if(i(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},l=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(t,e,n,r){for(var o=r?e:c(e,n),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(l,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;
1if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var f="string"==typeof t?function(t,e){var n,l={},f=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,p=f.split(e.delimiter,d),h=-1,v=e.charset;if(e.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?v="utf-8":"utf8=%26%2310003%3B"===p[n]&&(v="iso-8859-1"),h=n,n=p.length);for(n=0;n<p.length;++n)if(n!==h){var m,g,y=p[n],b=y.indexOf("]="),w=-1===b?y.indexOf("="):b+1;-1===w?(m=e.decoder(y,a.decoder,v,"key"),g=e.strictNullHandling?null:""):(m=e.decoder(y.slice(0,w),a.decoder,v,"key"),g=u(c(y.slice(w+1),e),(function(t){return e.decoder(t,a.decoder,v,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===v&&(g=s(g)),y.indexOf("[]=")>-1&&(g=i(g)?[g]:g),o.call(l,m)?l[m]=r.combine(l[m],g):l[m]=g}return l}(t,n):t,d=n.plainObjects?Object.create(null):{},p=Object.keys(f),h=0;h<p.length;++h){var v=p[h],m=l(v,f[v],n,"string"==typeof t);d=r.merge(d,m,n)}return r.compact(d)}},function(t,e,n){var r={"./_experiments/mustWatchSlider.js":375,"./_experiments/popularBox.js":378,"./_experiments/popularFeed.js":379,"./_experiments/rvcSlider.js":380,"./adblocker.js":381,"./authorSection.js":383,"./bookmark.js":384,"./burger.js":385,"./carousel.js":387,"./carouselContr.js":388,"./closeables.js":389,"./conferenceLinks.js":390,"./dropdowns.js":391,"./follow.js":392,"./forms.js":395,"./guides-slider.js":396,"./headerEvents.js":397,"./highlighter.js":398,"./like.js":399,"./login.js":401,"./mobile-vcr.js":402,"./modals.js":403,"./notifications.js":404,"./onboarding.js":405,"./picks.js":102,"./player.js":406,"./poppers.js":407,"./poppers/cards.js":152,"./poppers/commentsList.js":153,"./poppers/eaSchedule.js":154,"./poppers/relatedTopics.js":155,"./poppers/vcr.js":156,"./popularBox.js":410,"./privacy.js":411,"./profile.js":150,"./promoBar.js":412,"./resizeEvent.js":413,"./searchBar.js":414,"./searchTopics.js":415,"./share-this/facebook.js":416,"./share-this/reddit.js":417,"./share-this/twitter.js":418,"./single.js":419,"./sponsoredCarausel.js":420,"./subscription.js":421,"./tableOfContents.js":422,"./tabs.js":151,"./tagify.js":423,"./toc.js":431,"./validations.js":432,"./video.js":433,"./zoomImages.js":434};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=374},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(99)),i=r(n(100)),a=r(n(147)),s=r(n(148)),c=r(n(149)),u=r(n(67));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var f={init:function(){if(document.getElementById("mustWatchSlider")){var t=new(function(t){(0,c.default)(r,t);var e,n=(e=r,function(){var t,n=(0,s.default)(e);if(l()){var r=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return(0,a.default)(this,t)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"hideArrows",value:function(t,e){0===this.currentSlide?document.querySelector(t).style.visibility="hidden":document.querySelector(t).style.visibility="visible";var n=this.currentSlide;n===this.innerElements.length+1||n+this.perPage>=this.innerElements.length?document.querySelector(e).style.visibility="hidden":document.querySelector(e).style.visibility="visible"}}]),r}(u.default))({selector:".mustWatchSlider",onChange:function(){this.hideArrows(".prevMustWatch",".nextMustWatch")},onInit:function(){this.hideArrows(".prevMustWatch",".nextMustWatch")},duration:600,easing:"ease-out",perPage:{900:5,1e3:5,1240:5},startIndex:0,draggable:!1,multipleDrag:!1,threshold:20,loop:!1,rtl:!1});document.querySelector(".prevMustWatch").addEventListener("click",(function(){return t.prev(5)})),document.querySelector(".nextMustWatch").addEventListener("click",(function(){return t.next(5)}))}}};e.default=f},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}}
1,function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={reorderPodcasts:function(t){for(var e=t.children,n=t.dataset.max,r=[],o=0;o<e.length;o++){e.item(o).classList.contains("podcasts")&&r.push(o)}if(r.length){var i=e.length<n?e.length:n;r[0]>=i&&t.insertBefore(t.children[r[0]],t.children[i-1]),t.__podcastsAdjusted=!0}},init:function(t,e){var n=this,o=e.event,i=document.querySelector(".e__homepage .widget.popular");if(i){var a=window.JSi18n.FE.labels,s=i.parentNode,c=this.reorderPodcasts,u=!1;this.lists=i.querySelectorAll(".tab ol"),this.newsSection=s.parentNode.querySelector(".e__featured__content"),this.config=t,this.windowWidth=window.innerWidth;var l=document.createElement("BUTTON");l.textContent=a.showMore,l.classList.add("more"),l.classList.add("button__medium"),l.reset=function(){l.textContent=a.showMore,u=!1},i.appendChild(l),o.on("tabChanged",(function(e){var o=e.instance;e.tab;if("trending"===o.id&&(l.reset(),window.innerWidth<768)){var i,a=r(n.lists);try{for(a.s();!(i=a.n()).done;){i.value.dataset.max=t.defaultToShow}}catch(t){a.e(t)}finally{a.f()}}})),l.addEventListener("click",(function(){var e=i.querySelector(".tab.active ol");u?(e.dataset.max=t.defaultToShow,l.reset()):(e.dataset.max=12,l.textContent=a.showLess,u=!0)}));var f,d=r(this.lists);try{var p=function(){var e=f.value;e.dataset.max=t.defaultToShow||5,Object.defineProperty(e,"__canShow",{get:function(){return e.dataset.max},set:function(n){n<t.defaultToShow||(e.dataset.max=n,e.__podcastsAdjusted||c(e))}})};for(d.s();!(f=d.n()).done;)p()}catch(t){d.e(t)}finally{d.f()}this.adjustItems(),window.addEventListener("resize",this.readjust.bind(this))}},readjust:function(){window.innerWidth!==this.windowWidth&&this.adjustItems()},adjustItems:function(){var t,e=r(this.lists);try{for(e.s();!(t=e.n()).done;){var n=t.value;n.__canShow=window.innerWidth>=768?this.calculateHeight(n):this.config.defaultToShow,n.__podcastsAdjusted=!1,n.classList.toggle("hasMore",n.__canShow<n.children.length)}}catch(t){e.e(t)}finally{e.f()}this.inited||(this.inited=!0)},calculateHeight:function(t){var e=this.newsSection.offsetHeight,n=0,o=0;t.style.cssText="visibility: visible; display: block",t.parentNode.style.cssText="display: block";var i,a=r(t.children);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(n>e-160)break;s.style.cssText="display: block";var c=s.offsetHeight;s.style.cssText=null,!c||c<20||(n+=c,o+=1)}}catch(t){a.e(t)}finally{a.f()}return t.parentNode.style.cssText=null,t.style.cssText=null,o}};e.default=i},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=[{title:"NUDGE â Role of Economics in Architecture and Design",type:"presentation",excerpt:"Raghavendra Mithare explores the role behavioral economics has on individual choice, and the impact it has on system Architecture and Design.",authors:[{name:"Raghavendra Mithare"}],date:"OCT 14",category:"Cloud"},{title:"The Future of Spring Cloud's Hystrix Project",excerpt:"Spring Cloud Hystrix Project was built as a wrapper on top of the Netflix Hystrix library. Since then, It has been adopted by many enterprises...",authors:[{name:"ADAM SCOTT"},{name:"CHRIS SANDERS"}],date:"OCT 22",category:"Cloud",commentsCount:2,img:"1"},{title:"Gremlin Releases Native Kubernetes Chaos Testing",excerpt:"Gremlin is a platform service that provides chaos experiments for Kubernetes, cloud environments, bare metal, and serverless. Chaos engineering is a...",authors:[{name:"K Jonas"}],date:"OCT 21",category:"Cloud",commentsCount:2},{title:"Navigating Complex: High-Performance Delivery and Discovery Teams ",type:"presentation",excerpt:"Conal Scanlon talks about why traditional tactics - ones that have been around since the 19th century - don't always help build a better product, and...",authors:[{name:"CONAL SCANLON"}],date:"OCT 20",category:"Culture & Methods",commentsCount:23},{title:"Ivar Jacobson on Use Case 2.0",type:"podcast",excerpt:"In this podcast Shane Hastie, Lead Editor for Culture & Methods, spoke Ivar Jacobson about his work on the latest approach to use cases â Use Case 2.0.",authors:[{name:"CONAL SCANLON"}],date:"OCT 20",category:"Culture & Methods",commentsCount:23}];var a={init:function(t,e){var n=document.querySelector("section.popular");if(n&&n.querySelector(".fetch")){var o,a=e.event,s=function(t,e){var n=t[0],r=n.target;n.intersectionRatio>0&&r.classList.contains("last")&&(console.log("last in view"),a.trigger("fetchMore"))};a.on("fetchMore",(function(){o=n.querySelector(".next__batch"),console.log("fetching more content",i);var t=[],e=o.children;if(!t.length){var a,s=r(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(u.dataset.id&&!u.classList.contains("clone")){var l=u.cloneNode(!0);t.push(l)}}}catch(t){s.e(t)}finally{s.f()}}var f=o.querySelector("li.last");f.classList.remove("last"),t.forEach((function(t,e){!function(t,e){e.parentNode.insertBefore(t,e.nextSibling)}(t,f),t.classList.add("clone"),0===e&&t.classList.add("last")})),setTimeout((function(){c()}),500)}));var c=function(){var t=document.querySelectorAll(".e__cards li.last"),e=new IntersectionObserver(s,{threshold:.3});t.forEach(e.observe.bind(e))};a.on("loaded",c)}}};e.default=a},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(99)),i=r(n(100)),a=r(n(147)),s=r(n(148)),c=r(n(149)),u=r(n(67));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var f={init:function(){if(document.getElementById("rvcSlider")){var t=new(function(t){(0,c.default)(r,t);var e,n=(e=r,function(){var t,n=(0,s.default)(e);if(l()){var r=(0,s.default)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return(0,a.default)(this,t)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"hideArrows",value:function(t,e){0===this.currentSlide?document.querySelector(t).style.visibility="hidden":document.querySelector(t).style.visibility="visible";var n=this.currentSlide;n===this.innerElements.length+1||n+this.perPage>=this.innerElements.length?document.querySelector(e).style.visibility="hidden":document.querySelector(e).style.visibility="visible"}}]),r}(u.default))({selector:".rvcslider",onChange:function(){this.hideArrows(".prev",".next")},onInit:function(){this.hideArrows(".prev",".next")},duration:600,easing:"ease-out",perPage:{900:5,1e3:6,1240:6},startIndex:0,draggable:!1,multipleDrag:!1,threshold:20,loop:!1,rtl:!1});document.querySelector(".prev").addEventListener("click",(function(){return t.prev(5)})),document.querySelector(".next").addEventListener("click",(function(){return t.next(5)}))}}};e.default=f},function(t,e,n){"use strict";var r=n(6);
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(382)),i={createPopup:function(t){if(t&&t.length){var e=this.infoq;if(e){var n=document.createElement("DIV");return n.classList.add("pop","box","box__border"),n.innerHTML='\n <button aria-label="Close" class="close button button__unstyled button__icon icon icon__close icon--only">Close</button>\n <div class="pop__container">\n <h3 class="heading">'.concat(t[0],"</h3>\n <p>").concat(t[1],"</p>\n </div>\n "),e.appendChild(n),e.classList.add("adb"),n}}},set adblock(t){if(t){var e=this.config.strings;this.createPopup(e)}},get infoq(){return document.getElementById("infoq")},init:function(t){var e=this;this.config=t;var n=(window.JSi18n||{}).FE;this.config.strings=n.adbStrings,(0,o.default)((function(t){e.adblock=t}))}};e.default=i},function(t,e,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){function t(e,n){var r=function(t,e){var n=window.document,r=n.createElement("div");return r.innerHTML=" ",r.setAttribute("class",t),r.setAttribute("style",e),n.body.appendChild(r),r}((n=function(t,e){var n={};for(var r in t)n[r]=t[r],e.hasOwnProperty(r)&&(n[r]=e[r]);return n}(t.defaults,n||{})).testNodeClasses,n.testNodeStyle),o=0,i=!1,a=setInterval((function(){o++,((i=function(t){return 0===t.offsetHeight||!document.body.contains(t)||"none"===t.style.display||"hidden"===t.style.visibility}(r))||o===n.testRuns)&&(clearInterval(a),r.parentNode&&r.parentNode.removeChild(r),e(i))}),n.testInterval)}return t.defaults={testNodeClasses:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",testNodeStyle:"height: 10px !important; font-size: 20px; color: transparent; position: absolute; bottom: 0; left: -10000px;",testInterval:51,testRuns:4},t})?r.apply(e,o):r)||(t.exports=i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){for(var n=0;n<usersInPage.length;n++){var r=document.querySelectorAll(".author-section-full");if(!r)return;var o=usersInPage[n].ref,i=usersInPage[n].bio,a=usersInPage[n].imgSrc,s=usersInPage[n].name||"Author";if(r)for(var c=0;c<r.length;c++)for(var u=r[c].getElementsByClassName("author"),l=r[c].querySelectorAll(".author__avatar"),f=r[c].querySelectorAll(".content-author p"),d=0;d<u.length;d++){var p=u[d].getAttribute("data-id"),h=u[d].querySelectorAll(".content-author span"),v=u[d].querySelectorAll(".content-author p");o==p&&(i&&(f[d].innerHTML+=i),a&&(l[d].innerHTML='<img alt="'+s.replace(/"/g,""")+'" src="'+a+'"/>'),i.length<=128&&(v[0].classList.add("full-text"),h[0].style.display="none"))}}var m=document.getElementsByClassName("show-author-bio");if(m)for(var g=function(){var t=m[y].querySelector(".icon");m[y].addEventListener("click",(function(){this.classList.toggle("active"),t.classList.toggle("icon__minus-circle"),t.classList.toggle("icon__plus-circle")}))},y=0;y<m.length;y++)g()}};e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){var n=e.event,r=window.JSi18n.FE.labels,o=document.getElementById("bookmarkBtn"),i=document.getElementById("toastContainer");function a(t,e,n){o.classList.add(e),o.classList.remove(n),i.getElementsByTagName("span")[0].innerText=t,i.classList.remove("toast-none"),i.classList.add("toast-show"),i.classList.remove("toast-hide"),setTimeout((function(){i.classList.remove("toast-show"),i.classList.add("toast-hide")}),3e3)}o&&(n.on("contentBookmarked",(function(t){a(r.bookmarked||"Content Bookmarked","button__green","button__gray")})),n.on("contentUnbookmarked",(function(t){a(r.unbookmarked||"Content Unbookmarked","button__gray","button__green")})),o.addEventListener("click",(function(t){window.loggedIn&&n.trigger("bookmarkRequested")})))}};e.default=r},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(386)),i={get header(){return document.querySelector("header.header")},get headerOpen(){return!(!this.header||!this.header.classList.contains("header--open"))&&this.header},get searchBar(){return this.header?this.header.querySelector("form.search"):null},get defaultPosition(){return this.header?this.header.querySelector(".header__top .actions__right >
1 div:first-child"):null},get middlePosition(){return this.header?this.header.querySelector(".header__middle"):null},init:function(t){var e=this;this.config=t,this.windowWidth=window.innerWidth,document.addEventListener("click",(function(t){var n=t.target;n&&n.id&&"search"===n.id||e.clickHandler.call(n,e)})),window.addEventListener("resize",(function(){if(window.innerWidth!==e.windowWidth){var t=e.headerOpen,n=e.searchBar,r=e.defaultPosition;t&&n&&((0,o.default)(n,r),t.classList.remove("header--open"),e.windowWidth=window.innerWidth)}}))},clickHandler:function(t){var e=t.headerOpen,n=t.searchBar,r=t.defaultPosition,i=t.middlePosition;if(e&&!e.contains(this))return e.classList.remove("header--open"),void(0,o.default)(n,r);var a=this.nodeName,s=this.parentNode;"BUTTON"===a&&s&&"HEADER"===s.nodeName&&(0,o.default)(n,function(t){var e=t.classList,n=t.parentNode;if(e.contains("header__toggle"))return n.classList.toggle("header--open")}(this)?i:r)}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t,e){e&&t&&e.prepend(t)}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(67)),i={init:function(t,e){var n=document.querySelector(".slider");if(n){var r=new o.default(t),i=n.parentNode,a=(i.querySelector(".prev"),i.querySelector(".next"),setInterval((function(){return r.next()}),5e3));document.querySelector(".prev").addEventListener("click",(function(){r.prev(),clearInterval(a)})),document.querySelector(".next").addEventListener("click",(function(){r.next(),clearInterval(a)})),document.querySelector(".slider_promotion").addEventListener("mouseover",(function(){clearInterval(a)}))}}};e.default=i},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(67)),i={init:function(t,e){var n=document.querySelector(".slider-contr");if(n){var r=new o.default(t),i=n.parentNode,a=(i.querySelector(".prevNew"),i.querySelector(".nextNew"),setInterval((function(){return r.next()}),3e4));document.querySelector(".prevNew").addEventListener("click",(function(){r.prev(),clearInterval(a)})),document.querySelector(".nextNew").addEventListener("click",(function(){r.next(),clearInterval(a)})),document.querySelector(".slider_contribute").addEventListener("mouseover",(function(){clearInterval(a)}))}}};e.default=i},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=[],a={init:function(t,e){var n=this,o=t.elements,a=e.event;o&&(i=o,a.on("closed",(function(t){t.closable&&t.closable.remove()})),document.addEventListener("click",(function(t){var e=t.target,o=e.nodeName,i=e.classList;if("BUTTON"===o&&i.contains("close")){var s,c=r(n.closeables);try{for(c.s();!(s=c.n()).done;){var u=s.value;u.contains(t.target)&&a.trigger("closed",{closable:u})}}catch(t){c.e(t)}finally{c.f()}}})))},get closeables(){return i?document.querySelectorAll(i):null}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){var n=window.JSi18n.FE.labels,r=document.getElementById("tagsToggleBtn"),o=document.getElementById("tagList");!function(t){var e=window.matchMedia("(max-width: 768px)");if(!t)return;e.matches?t.clientHeight>91?(document.getElementById("tagsInner").style.maxHeight="91px",document.getElementById("tagsToggleBtn").style.display="inline-block",document.getElementById("tagsMain").style.maxHeight="100%"):(document.getElementById("tagsToggleBtn").style.display="none",document.getElementById("tagsMain").style.maxHeight="100%"):t.clientHeight>61?(document.getElementById("tagsInner").style.maxHeight="61px",document.getElementById("tagsToggleBtn").style.display="inline-block",document.getElementById("tagsMain").style.maxHeight="100%"):(document.getElementById("tagsToggleBtn").style.display="none",document.getElementById("tagsMain").style.maxHeight="100%")}(document.getElementById("tagsInner")),o&&r.addEventListener("click",(function(t){o.classList.toggle("active"),r.classList.toggle("arrow__down")&&(r.innerText=n.showMore||"Show more",r.setAttribute("aria-label",r.innerText)),r.classList.toggle("arrow__up")&&(r.innerText=n.showLess||"Show less",r.setAttribute("aria-label",r.innerText))}))}};e.default=r},function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(50),o={init:function(t,e){var n=this;this.config=t,this.event=e.event,this.event.on("notificationsTriggered",(function(t){t.badge&&t.badge.remove()})),document.addEventListener("click",(function(t){return n.clickHandler.call(t.target,n)}))},get active(){return document.querySelector(".".concat(this.openClass))},get openClass(){return this.config.openClass||"dropdown--open"},handle:function(t,e,n){if(t){var o=t.classList;if(o&&o.contains("dropdown")&&(o.toggle(e),o.contains("user__login")&&(0,r.focusOnFirstInput)(t),o.contains("user__notifications"))){var i=t.querySelector(".badge");n.trigger("notificationsTriggered",{badge:i})}}},closeOpen:function(t,e,n){t&&(t.contains(e)||t.classList.remove(n))},clickHandler:function(t){var e=t.closeOpen,n=t.handle,r=t.active,o=t.openClass,i=t.event;if(this){var a=this.nodeName,s=this.parentNode;e(r,this,o),"BUTTON"===a&&n(s,o,i)}}};e.default=o},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(68)),i=r(n(42)),a=r(n(43)),s=r(n(28)),c=n(50),u=n(102),l=n(29),f=n(150);function d(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=s.default.elId,g=s.default.usersTopics,y=s.default.constants,b=s.default.user,w=y.token,_=y.pageSizes,x=y.uidToShow,E={init:function(t,e){var n=e.api,r=e.event,p=t.showMoreItems,h=t.zones,y=t.endpoint,E=!1,S=window.JSi18n.FE.labels,O=window.usersInPage&&window.usersInPage.length>0||window.topicsInPage&&window.topicsInPage.length>0||window.followedUsersInPage;r.on("getUserTopics",(0,a.default)(i.default.mark((function t(){var e,o,a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.get("/usersTopicsPicksDetails.action");case 3:e=t.sent,o=(o=(o=(o=(o=e.data).replace("users:",'{"users":')).replace("]","],\n")).replace("topics:",'"topics":')).replace(/[/\\*]/g,""),o+="}",o=JSON.parse(o),s=(a=o).users,c=a.topics,s&&Array.isArray(s)&&s.length>0&&(g.users=s),c&&Array.isArray(c)&&c.length>0&&(g.topics=c),r.trigger("readyToPopulate"),t.next=20;break;case 17:throw t.prev=17,t.t0=t.catch(0),new Error("getUserTopics request failed: ",t.t0);case 20:case"end":return t.stop()}}),t,null,[[0,17]])})))),O||r.trigger("getUserTopics");var T=document.querySelectorAll(".picks"),L=document.querySelector(".peers-you-follow"),A=document.querySelector(".topics-you-follow");r.on("hideProfileItem",function(){var t=(0,a.default)(i.default.mark((function t(e){var r,o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.id,o=e.type,a=e.isHidden,t.prev=1,t.next=4,n.get("/fandl!hideItem.action",{params:{id:r,type:o}});case 4:g["ft"===o?"topics":"users"][r].hidden=!a,t.next=10;break;case 7:throw t.prev=7,t.t0=t.catch(1),new Error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e){return t.apply(this,arguments)}}()),(L||A)&&(0,l.hideItemHandler)(r),r.on("getStuffYouFollow",function(){var t=(0,a.default)(i.default.mark((function t(e){var a,c,h,m,y,b,E,O,T,k,I,C,M,j,P,N,D,F,q,B,R,H,U,z,W,V,$,G,X,J,Y,K,Q,Z;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e.element,c=e.asCards,h=e.hAS,m=e.selector,y=e.segment,a){t.next=4;break}return t.abrupt("return");case 4:if(w){t.next=6;break}throw new Error("userToken in InfoQConstants is undefined");case 6:return b=e.index&&e.index>-1?e.index:0,E=_[I]||p,O=e.otherKeys||{}
1,T=void 0===e.single||e.single,k=["user","topic","followers"].includes(y),I="topic"===y?"ft":"user"===y?"fu":"followers"===y?"f":y,"comments"===y&&(I="cmo"),"likes"===y&&(I="lc",T=!1,Object.assign(O,{cml:0})),m||(m="followers"===y?".followers":".".concat(k?"".concat("user"===y?"peers":"topics","-you-follow"):y)),r.trigger("setItemsIndex",{segment:y,newIndex:b}),y="followers"===y?"user":y,C=a.querySelector("div.preload"),t.prev=18,j={params:v((M={},(0,o.default)(M,I,b*E),(0,o.default)(M,"single",T),(0,o.default)(M,"token",w),M),O)},"allActivity"===y&&delete j.params[y],t.next=23,n.get("/userProfile!getMore.action",j);case 23:if(P=t.sent,(N=P.data)&&N.length){t.next=27;break}throw new Error("Invalid data");case 27:D=a.querySelector("ul"),a.classList.add(k?"user"===y?"authors":"topics":y),F=N&&N.length,k&&(N.forEach((function(t){t.name=t.title,delete t.title,t.followers=Number(t.count),delete t.count,t.hasMore||(F=!1)})),g["".concat(y,"s")]=N),q=new Map,N.forEach((function(t){q.set(t.id,t),t.hasMore||(F=!1)})),D||(D=document.createElement("UL")).classList.add("no-style"),c?(D.classList.add("cards"),D.classList.add("boxes"),k||(B=["interviews","presentations","minibooks"].includes(y)?3:1,(R=h||["likes","comments","allActivity","podcasts","news","articles","research","reviewed"].includes(y))&&(B=1),Object.assign(D.dataset,{tax:y,size:"medium",cols:B}),R&&y.includes("podcasts")&&(D.dataset.tax="podcasts",D.dataset.size="medium"),(h||["articles","reviewed","research","podcasts","comments","likes","allActivity","news","articles"].includes(y))&&Object.assign(D.dataset,{horizontal:!0}))):D.classList.add("ul__border"),H=a.querySelector("button.more"),F&&!H&&((H=document.createElement("BUTTON")).classList.add("button","button__large","more"),H.textContent=S.showMore||"Show more",H.addEventListener("click",(function(){var t;if(H.remove(),H=null,F&&["fu","ft"].includes(I)&&!C&&(t=document.createElement("DIV")).classList.add("preload"),t&&F&&a.append(t),"allActivity"!==y)b+=1,console.log(y),r.trigger("getStuffYouFollow",{element:a,index:b,segment:"f"===I?"followers":y,asCards:c});else{var e=(0,f.getAllActivityIndexes)(N);r.trigger("getStuffYouFollow",{segment:y,element:a,single:!1,asCards:c,otherKeys:e})}}))),!F&&H&&(H.remove(),H=null),U=q.keys(),q.size||(A||L)&&((z=document.createElement("LI")).className="box--blank",D.append(z),z.textContent=S["no".concat(y.charAt(0).toUpperCase()+y.slice(1))]||"No data."),W=d(U);try{for(W.s();!(V=W.n()).done;)$=V.value,(G=document.createElement("LI")).dataset.id=$,D.append(G),k||(X=q.get($),Y=(J=X).type,K=J.id,Q=["ft","fu"].includes(Y),Z="ft"===Y?"topic":"user",Q&&Z&&(g["".concat(Z,"s")]=[X],X=s.default[Z](K)),(0,l.createFollowable)({segment:Q?Z:y,data:X,isSegmentOfPS:Q,item:G,hideButton:!1,asCards:!0}))}catch(t){W.e(t)}finally{W.f()}a.classList.remove("preload"),a.append(D),(0,u.populate)({segment:y,selector:m,createFromScratch:!0,hideButton:String(x)===String(window.currentUserId),asCards:c,isSegmentOfPS:k}),H&&a.append(H),D.classList.remove("preload"),C&&C.remove(),t.next=53;break;case 50:throw t.prev=50,t.t0=t.catch(18),new Error(t.t0);case 53:case"end":return t.stop()}}),t,null,[[18,50]])})));return function(e){return t.apply(this,arguments)}}()),L&&r.trigger("getStuffYouFollow",{element:L,segment:"user"}),A&&r.trigger("getStuffYouFollow",{element:A,segment:"topic"}),r.on("follow",function(){var t=(0,a.default)(i.default.mark((function t(e){var r,o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.segment,o=e.id,a=e.flag,t.prev=1,t.next=4,n.post("".concat(y,"!follow").concat((0,c.uppercase)(r),".action"),{id:o,f:a});case 4:t.next=9;break;case 6:throw t.prev=6,t.t0=t.catch(1),new Error(t.t0);case 9:case"end":return t.stop()}}),t,null,[[1,6]])})));return function(e){return t.apply(this,arguments)}}());var k,I=0,C=d(T);try{for(C.s();!(k=C.n()).done;){var M=k.value;I&&M.classList.add("helper"),r.trigger("getEditorPicks",{element:M}),I+=1}}catch(t){C.e(t)}finally{C.f()}if(r.on("readyToPopulate",(function(){E||(Object.keys(h).forEach((function(t){h[t].forEach((function(e){(0,u.populate)(Object.assign(e,{segment:t,isSegmentOfPS:!0}))}
1))})),E=!0,(0,l.populateAuthorDetails)())})),O){var j=window.followedUsersInPage;if(j&&j.length){var P=document.querySelectorAll(".authors li[data-id]"),N=[];P.forEach((function(t){var e=t.dataset.id;e&&N.push(e)})),g.users=N.map((function(t){return{id:t,followedByCurrentUser:!1}})),j.forEach((function(t){var e=b(t);e&&(e.followedByCurrentUser=!0)}))}r.trigger("readyToPopulate")}document.addEventListener("click",(function(t){var e=t.target;if(e){var n=e.nodeName,o=e.classList,i=e.parentNode;if("BUTTON"===n&&(o.contains("topic__follow")||o.contains("follow")||o.contains("unfollow")||o.contains("author__follow"))&&i&&i.parentNode){var a=o.contains("topic__follow")?"topic":"user",c=m(i);if(!c)throw new Error("data-id not found on element: ",i);var u=s.default[a](c);if(!u)throw new Error("could not find",a,c," in vars");var l=u.id;if(!l)throw new Error("invalid item ID supplied in vars",u);var f,d=i.closest("[data-trk-ref]");if(f=d?d.dataset.trkRef:null,window.loggedIn){var p=u.followedByCurrentUser;if(void 0===p)throw new Error("Could not get follow status",a,l);u.followedByCurrentUser=!p,r.trigger("follow",{trkRef:f,segment:a,id:l,flag:!p})}else r.trigger("login",{ref:"p13n-follow",segment:a,id:l})}}}))}};e.default=E},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;
1e.default={follow:"Follow",followTopic:"Follow Topic",unfollow:"Unfollow",unfollowTopic:"Unfollow Topic",following:"Following",followers:"Followers"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={like:"Like",liked:"Liked",unlike:"Unliked"}},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=window,a=i.allCountries,s=i.gdprCountriesIds,c=window.userCountryId,u=Boolean(c&&s.indexOf(Number(c))>-1);function l(t){var e=t.questions;e.forEach((function(t){return t.classList.remove("hidden")})),p(e,u)}function f(t){var e=t.questions;(function(t){if(!t||!t.length)return;return t[0].classList.contains("hidden")})(e)||(e.forEach((function(t){return t.classList.add("hidden")})),p(e,u))}function d(t,e){var n=t.select,r=t.ccbox,o=t.email;t.submit.disabled=o&&!o.value||n&&!n.value||e&&u&&!r.checked}function p(t,e){t.forEach((function(t){var n=t.querySelector(".field"),r=t.querySelector(".input__req");if(n.setAttribute("aria-required",!e),e)r&&r.remove();else{if(r)return;var o=document.createElement("SPAN");o.classList.add("input__req"),o.textContent="*";var i=t.querySelector("label");i&&i.append(o)}}))}function h(t){t.ccbox;var e=t.fieldset,n=t.hiddenC;e&&e.classList.toggle("is",u),n&&n.classList.toggle("hidden",!u)}var v={init:function(t,e){var n=e.event,o=window.JSi18n.FE.labels,i=document.getElementsByClassName("inputCharacterLimit");if(i){for(var v=function(){g=i[m].id;var t=document.getElementById(g);function e(){y=t.value,w=t.maxLength,b=w-y.length,t.nextElementSibling.textContent=b+" "+o.characterLimit||"Characters Remaining"}y=t.value,w=t.maxLength,b=w-y.length,t.nextElementSibling.textContent=b+" "+o.characterLimit||"Characters Remaining",t.addEventListener("keyup",e,!1),t.addEventListener("click",e,!1)},m=0;m<i.length;m++){var g,y,b,w;v()}var _,x=r(document.querySelectorAll("form.gdpr"));try{var E=function(){var t=_.value,e=void 0,r=void 0,o=void 0,i=function(t){return t.parentNode.classList.contains("newsletter__subscribe")}(t),v=t.querySelector('.email input[type="email"]'),m=t.querySelector(".country select"),g=t.querySelector('input[type="submit"]'),y=t.querySelector("input[id^='gdpr']"),b={email:v,select:m,submit:g,ccbox:y},w=t.querySelectorAll(".question");if(d(b,i),w.length&&l({questions:w}),i){if(!(e=t.querySelector(".hidden")))return"continue";e.classList.add("inited")}else r=t.querySelector(".fieldset__gdpr"),n.on("modalOpen",(function(e){var n=e.parentNode;if(n){var i=n.id;i&&"vcrQuestions"===i&&(window.vcrCustomFlow?(t.dataset.vcrCustomFlow||(t.dataset.vcrCustomFlow=window.vcrCustomFlow),l({questions:w}),p(w,!0)):(h({ccbox:y,fieldset:r,hiddenC:o}),p(w,u),u&&f({questions:w})))}}));if(v&&(v.addEventListener("focus",(function(){e&&e.classList.remove("hidden")})),v.addEventListener("input",(function(t){d(b,i)}))),y&&(o=y.closest(".hidden"),y.addEventListener("change",(function(t){i&&d(b,i),u&&(t.target.checked?l({questions:w}):f({questions:w}))}))),m){var x=m.value;m.addEventListener("change",(function(t){var e=t.target.value;u=s.indexOf(Number(e))>-1,c=e,d(b,i),w.length&&(u?f({questions:w}):l({questions:w})),h({ccbox:y,fieldset:r,hiddenC:o}),p(w,u),u||(y.checked=!1)})),i&&a&&a.map((function(t){var e=document.createElement("option");e.value=t.id,e.textContent=t.name,m.append(e)})),x&&m.dispatchEvent(new Event("change"))}};for(x.s();!(_=x.n()).done;)E()}catch(t){x.e(t)}finally{x.f()}}}};e.default=v},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={get guidesSlider(){return document.querySelector('.homepage [data-tax="guides"]')},set activeIndex(t){var e,n=this.guidesSlider.querySelector(".carousel__paginator"),o=n.children,i=n.parentNode,a=1,s=r(o);try{for(s.s();!(e=s.n()).done;){e.value.classList.toggle("active",a===t),a++}}catch(t){s.e(t)}finally{s.f()}i.dataset.activeIndex=t},init:function(t){var e=this;this.config=t;var n=this.guidesSlider;if(n){var r=n.children,o=n.classList,i=r.length;if(!(i<5)){o.add("carousel");var a=document.createElement("li");a.classList.add("carousel__paginator");this.slideIndexes=Math.ceil(i/4);for(var s=1;s<=this.slideIndexes;s++){var c=document.createElement("SPAN"),u=c.classList;c.dataset.index=s,1===s&&u.add("active"),a.append(c)}n.append(a),document.addEventListener("click",(function(t){var n=t.target,r=n.nodeName,o=n.parentNode,i=n.classList,a=n.dataset;"SPAN"===r&&o.classList.contains("carousel__paginator")&&!i.contains("active")&&(e.activeIndex=Number(a.index))}))}}}};e.default=i},function(t,e,n){"use strict";function r(t,e){return t.dataset.sortDate.localeCompare(e.dataset.sortDate)}function o(t,e){return function(t){for(var e=t.slice(),n=e.length-1;n>0;n--){var r=Math.floor(Math.random()*(n+1)),o=[e[r],e[n]];e[n]=o[0],e[r]=o[1]}return e}(t).slice(0,e).sort(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={init:function(){var t=document.querySelector(".events-list");if(t&&!t.classList.contains("events-list--ready")){var e=[].slice.call(t.querySelectorAll('[data-event-type="certification"]')),n=[].slice.call(t.querySelectorAll('[data-event-type="qcon"]')),r=o(e,2).concat(o(n,2));t.innerHTML="",r.forEach((function(e){return t.appendChild(e)})),t.classList.add("events-list--ready")}}};e.default=i},function(t,e,n){},function(t,e,n){"use strict";var r=n(400),o=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(42)),a=o(n(43)),s=n(29),c=n(50),u=r(n(28));function l(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var d=u.likeFunc.isCommentLiked,p=u.likeFunc.isContentLiked,h=u.likeFunc.likedContentItems,v=u.likeFunc.likedCommentItems,m=u.default.user,g={init:function(t,e){var n=e.event,r=e.api,o=t.endpoint;n.on("like",function(){var t=(0,a.default)(i.default.mark((function t(e){var n,a,u,f,m,g,y,b,w,_,x,E,S,O,T,L,A,k,I,C;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.flag,a=e.type,u=e.path,f=e.id,m=e.title,g=e.commenterId,y=e.commentSubject,b=e.aids,w=e.isSingle,_="".concat(o,"!like").concat((0,c.uppercase)(a),".action"),"boolean"==typeof n&&f){t.next=4;break}return t.abrupt("return");case 4:if("content"===a&&(n&&!p(f)?h.push(f):h.splice(h.indexOf(f),1)),"comment"===a&&(n&&!d(f)?v.push(f):v.splice(v.indexOf(f),1)),x=['[data-id="'.concat(f,'"]')],w&&x.push("article .article__actions"),(E=document.querySelectorAll(x))&&E.length){S=l(E);try{for(S.s();!(O=S.n()).done;
1)T=O.value,(L=T.querySelector("button.".concat(n?"like":"liked")))&&(0,s.updateLikeButton)(L,n)}catch(t){S.e(t)}finally{S.f()}}return A={f:n},k=window,I=k.contentPath,C=k.contentTitle,Object.assign(A,"content"===a?{id:f,path:u,title:m,aids:b}:{id:"".concat(window.threadID,"-").concat(f),usid:g,contentPath:I,contentTitle:C,commentSubject:y}),t.prev=13,t.next=16,r.post(_,A,{headers:{"Content-Type":"application/x-www-form-urlencoded"}});case 16:t.next=21;break;case 18:throw t.prev=18,t.t0=t.catch(13),new Error(t.t0);case 21:case"end":return t.stop()}}),t,null,[[13,18]])})));return function(e){return t.apply(this,arguments)}}()),document.addEventListener("click",(function(t){var e=t.target,r=e.nodeName,o=e.classList;if("BUTTON"===r&&(o.contains("like")||o.contains("liked"))){var i,a,s,c,u,f=e.parentNode.parentNode,h=f.classList.contains("comment__actions")?"comment":"content",v=f&&f.classList.contains("article__actions")||e.parentNode.classList.contains("article__actions");switch(h){case"content":var g,y,b=[],w=window,_=w.contentPath,x=w.contentUUID,E=w.contentTitle,S=w.authorUserCSVIds;if(v)g=_,a=x,u=E,b=S;else if(g=(i=e.closest(".card__content")).parentNode.dataset.path,a=i.parentNode.dataset.id,u=i.querySelector(".card__title a").getAttribute("title"),(y=i.querySelectorAll([".authors > li",".authors > span > a"]))&&y.length){var O,T,L=l(y);try{for(L.s();!(T=L.n()).done;){var A=T.value,k=A.dataset.id||A.dataset.ref,I=m(k);(O=I?I.id:null)&&b.indexOf(O)<0&&b.push(O)}}catch(t){L.e(t)}finally{L.f()}b=String(b)}if(!a)throw new Error("Like element missing id",h);c={id:a,flag:s=!p(a),type:h,path:g,title:u,aids:b,isSingle:v};break;case"comment":a=(i=e.closest(".comment")).dataset.id,s=!d(a);var C=i.querySelector(".comment__author > a"),M=i.querySelector(".comment__title").textContent,j=C.dataset.id||C.dataset.ref;j||(j=i.querySelector(".comment__avatar").dataset.id),c={id:a,flag:s,contentPath:_,contentTitle:E,commenterId:j,commentSubject:M}}window.loggedIn?(Object.assign(c,{type:h}),n.trigger("like",c)):n.trigger("login",{ref:"p13n-like",segment:h,id:"comment"===h?"".concat(window.threadID,"-").concat(a):a})}})),this.replaceLikeStatuses()},get matchCards(){return function(t){return document.querySelectorAll(['.cards > li[data-id="'.concat(t,'"]'),"article .article__actions"])}},get matchComments(){return function(t){return document.querySelectorAll('li.comment[data-id="'.concat(t,'"]'))}},replaceLikeStatuses:function(){var t=this.matchCards,e=this.matchComments;h&&h.length&&h.forEach((function(e){var n=t(e);if(n&&n.length){var r,o=l(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;(0,s.updateLikeButton)(i.querySelector("button.like"),!0)}}catch(t){o.e(t)}finally{o.f()}}})),v&&v.length&&v.forEach((function(t){var n=e(t);if(n&&n.length){var r,o=l(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;(0,s.updateLikeButton)(i.querySelector("button.like"),!0)}}catch(t){o.e(t)}finally{o.f()}}}))}};e.default=g},function(t,e,n){var r=n(97);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=t[a]}return n.default=t,e&&e.set(t,n),n}},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(50);function i(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s=r(n(28)).default.user,c={get loginForm(){return document.querySelector("".concat(".modal__content"," .login__form"))||document.querySelector(".login__form")},get formsContainer(){return document.querySelector("".concat(".modal__content"," .modal_auth_required"))||document.querySelector(".modal_auth_required")},get initialPosition(){return document.querySelector(".header .actions__right")},restore:function(t,e){t.classList.remove("hide");var n,r=i(t.querySelectorAll('input[type="hidden"]'));try{for(r.s();!(n=r.n()).done;){var o=n.value;"loginWidgetOrigin"===o.id?o.value="mainLogin":o.value=null}}catch(t){r.e(t)}finally{r.f()}var a,s=i(e.children);try{for(s.s();!(a=s.n()).done;){a.value.remove()}}catch(t){s.e(t)}finally{s.f()}e.prepend(t)},updateHiddenInput:function(t,e){var n=e.name,r=(e.id,e.value),o=t.querySelector('input[type="hidden"][name="'.concat(n,'"]'));o&&(o.value=r)},init:function(t,e){var n=this,r=e.event,i=e.modal,a=(this.restore,this.initialPosition,this.updateHiddenInput);r.on("login",(function(t){var e=t.ref,r=t.segment,c=t.id;i(n.formsContainer),(0,o.focusOnFirstInput)(n.loginForm);var u=document.querySelector(".modal__content");
1if(u&&u.classList.add("modal_auth_required_wrapper"),e){var l=e.indexOf("p13n-")>-1;if(l&&r&&c)[{name:"fromP13N",value:!0},{name:"fromP13NId",id:"p13n-id",value:"user"===r?s(c).id:c},{name:"fromP13NType",id:"p13n-type",value:"follow"===e.split("-")[1]?"follow".concat((0,o.uppercase)(r)):r}].forEach((function(t){a(n.loginForm,t)}));a(n.loginForm,{value:l?"P13N":e,name:"loginWidgetOrigin",id:"loginWidgetOrigin"})}})),r.on("modalClose",(function(){var t=document.querySelector(".modal__content");t&&t.classList.remove("modal_auth_required_wrapper")})),document.addEventListener("click",(function(t){if(!window.loggedIn){var e=t.target,n=e.classList,o=e.nodeName;if(n||"A"!==o&&"BUTTON"!==o)if(n.contains("login")){t.preventDefault();(e.closest(".modal_auth_required")||document.querySelector(".modal_auth_required")).querySelector(".login__form");var i=e.dataset.ref;if(!i)try{i=e.closest("[data-ref]").dataset.ref}catch(t){}r.trigger("login",{ref:i})}}}))}};e.default=c},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=!1,a=0,s="f_rvcbox",c="f_vcrdefault",u="f_sponsorship";var l={init:function(t,e){var n=e.event,o=document.querySelector("article.article");if(o){var s=o.dataset.type;if(["article","podcast"].includes(s)){var c,l,d,p=0;i||new Promise((function t(e,n){a+=1;var r=document.querySelector(".f_rvcbox");r||(a<5&&setTimeout(t.bind(null,e,n),500),n("no vcr found in content"));var o=document.querySelector('.article__main > .related__group[data-cols="2"]');if(o){var i=o.querySelector(".".concat("is-movable"));i||(a<5&&setTimeout(t.bind(null,e,n),500),n("no movable box found")),r&&o&&i&&e({articleRelatedGroup:r,bottomRVC:o})}else a<5&&setTimeout(t.bind(null,e,n),500),n("no bottom rvc boxes")})).then((function(t){var e=t.articleRelatedGroup,a=t.bottomRVC;c=a,d=e,setTimeout((function(){e.classList.add("aRG");var t,s=r(document.querySelectorAll(".f_rvcbox > div, .f_rvcbox > ul"));try{for(s.s();!(t=s.n()).done;){var c=t.value,h=document.createElement("li"),v=c.cloneNode(!0);if(v.dataset.place="BOTTOM","UL"===v.nodeName){l=v;var m,g=r(v.children);try{for(g.s();!(m=g.n()).done;){var y=m.value;"LI"===y.nodeName&&(y.dataset.place="BOTTOM")}}catch(t){g.e(t)}finally{g.f()}window.innerWidth}else window.innerWidth>=768&&v.classList.remove(u);h.classList.add("moved"),h.append(v),l.dataset.trkView=!0,l.dataset.trkImpr=!0,a.append(h),p+=1}}catch(t){s.e(t)}finally{s.f()}window.innerWidth<768?(a.dataset.cols=p+1,f(l,d)):f(d,l),l.dataset.place="BOTTOM",o.classList.add("moved-vcr"),i=!0,n.trigger("dynamicVCRBoxMoveDone")}),500)})).catch((function(t){n.trigger("dynamicVCRBoxMoveDone")})),window.addEventListener("resize",(function(){c&&(c.dataset.cols=window.innerWidth<768?p+1:2),l&&(window.innerWidth<768?f(l,d):f(d,l))}))}}}};e.default=l;var f=function(t,e){var n=s,o=c,i=u;t.classList.add(n);var a,l=t.querySelectorAll("li"),f=t.parentNode.parentNode,d=r(l);try{for(d.s();!(a=d.n()).done;){a.value.classList.add(o)}}catch(t){d.e(t)}finally{d.f()}if(f){var p=f.querySelector(".".concat(i));p?p.classList.add(i):console.log("no sponsorship found")}if(e){e.classList.remove(n),e.dataset.trkImpr=!1;var h,v=r(e.querySelectorAll("li"));try{for(v.s();!(h=v.n()).done;){var m=h.value;m.classList.remove(o),m.dataset.trkImpr=!1}}catch(t){v.e(t)}finally{v.f()}var g=e.parentNode.querySelector(".".concat(i));g&&g.classList.remove(i)}}},function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=null,o=!1,i={get body(){return document.getElementById("infoq")},get modal(){return document.querySelector(".modal")},init:function(t,e){var n=e.event;function i(){var t=document.getElementById("subscribeIndustry"),e=document.getElementById("companyDetailsDiv");t&&e&&t.addEventListener("change",(function(){t.checked&&e.scrollIntoView({behavior:"smooth",block:"start"})}))}var a=this.body,s=this.modal;s&&s.remove();var c=Object.create(null);a.appendChild(function(){var t=document.createElement("DIV");return t.classList.add("modal"),t.innerHTML='\n <div class="modal__backdrop">\n <button class="close modal__close">Close</button>\n </div>\n <div class="modal__content"></div>',t}()),n.on("modalOpen",(function(t){r=t.parentNode,a.classList.add("modal--open"),o=!0,setTimeout(i,50)}));var u=this.modal.querySelector(".modal__content");return this.modal.querySelector(".modal__backdrop").addEventListener("click",(function(t){n.trigger("modalClose",u.children[0])})),document.addEventListener("touchstart",(function(t){o&&t.preventDefault()})),n.on("modalClose",(function(t){try{a.classList.remove("modal--open");var e=u.children[0];r&&e&&r.append(e),u.innerHTML="",o=!1}catch(t){}})),Object.defineProperty(c,"content",{configurable:!0,get:function(){return u.innerHTML},set:function(t){u.innerHTML="";var e=t.parentNode,r=t.dataset.expires;u.appendChild(t),r&&void 0!==r&&Number(r)&&setTimeout((function(){n.trigger("modalClose")}),r),n.trigger("modalOpen",{parentNode:e})}}),c}};e.default=i},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={init:function(t,e){var n=this.notificationsInstances,o=this.read,i=this.readAll,a=e.event;if(n.length<1)return!1;a.on("notificationsReadAll",(function(){i()})),a.on("notificationRead",(function(t){var e,i=t.id,a=r(n);try{for(a.s();!(e=a.n()).done;){var s=e.value;o(s.querySelector('[data-id="'.concat(i,'"]')))}}catch(t){a.e(t)}finally{a.f()}})),document.addEventListener("click",(function(t){var e=t.target,n=e.nodeName,r=e.classList,o=e.parentNode;if("BUTTON"===n&&r.contains("read")&&(o.classList.contains("unread")||r.contains("all")))if(r.contains("all"))a.trigger("notificationsReadAll");else{var i=o.dataset.id;if(!i)throw new Error("Notification missing id! Could not mark as read.");a.trigger("notificationRead",{id:i})}}))},get notificationsInstances(){return document.querySelectorAll(".notifications")},read:function(t){if(t){t.classList.remove("unread");var e=t.querySelector("button.read");e&&e.remove()}},readAll:function(){var t,e=[],n=r(document.querySelectorAll(".notifications li.unread[data-id]"));try{for(n.s();!(t=n.n()).done;){var o=t.value,i=o.dataset.id;e.indexOf(String(i))<1&&e.push(i),o.classList.remove("unread")}}catch(t){n.e(t)}finally{n.f()}}};e.default=i},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.populate=f,e.default=void 0;var o=r(n(42)),i=r(n(43)),a=n(29),s=r(n(28));function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}s.default.segments;var l=s.default.usersTopics;function f(t){var e=t.segment,n=t.selector,r=t.placement,o=t.createFromScratch,i=t.size,u=t.hideButton,l=t.asCards,f=t.isSegmentOfPS;if(!n||!n.length||!e)throw new Error("Invalid selector / segment provided, aborting.",n);var d=document.querySelectorAll(n);if(d&&d.length)if(o){var p=d.item(0),h=p.classList;if(h&&h.contains("".concat("user"===e?"author":e,"s"))){var v="UL"===p.nodename?p:p.querySelector("ul");if(l&&(v.classList.add("cards"),v.classList.add("boxes"),Object.assign(v.dataset,{cols:2,size:"medium",horizontal:!0,tax:"news"})),!v)throw new Error("Missing UL item to populate on");var m,g=c(v.children);try{for(g.s();!(m=g.n()).done;){var y=m.value,b=y.dataset,w=b.id,_=b.ref;if(!y.innerHTML&&(w||_)){w||(w=_);var x=s.default[e](_||w);if(!x)throw new Error("data missing for id",w);(0,a.createFollowable)({segment:e,item:y,data:x,hideButton:u,asCards:l,isSegmentOfPS:f})}}}catch(t){g.e(t)}finally{g.f()}}}else{var E,S=c(d);try{for(S.s();!(E=S.n()).done;){var O=E.value,T=O.dataset,L=T.id,A=T.ref;if(L||A){var k;L||(L=A);var I=s.default[e](A||L);if(!I)continue;if(void 0===(k=I.followedByCurrentUser))continue;var C=(0,a.createFollowButton)({flag:k,size:i,segment:e,userId:I.id||L});switch(r){default:""!==C.outerHTML&&O.append(C);break;case"topicPageHeader":var M=document.createElement("DIV");M.classList.add("actions__right"),M.append(C),O.append(M)}}}}catch(t){S.e(t)}finally{S.f()}}}window.usersTopics=l,window.FrontEnd_Profile_Action={redirectUrl:null,saveExternalUser:function(){var t=$("#externalUserDetailsForm");
1if(t&&t.length){var e=$('button[onclick="FrontEnd_Profile_Action.saveExternalUser();"]'),n=(e.text(),$("#actionMessage"));if("Go to InfoQ.com"!==e.text()){var r=$("#job-title"),o=$("#company-size"),i=$("#purchaseRole"),a=$("#companyIndustry"),s=$("#regions"),c=$("#company"),u=!0;!r.length||r.val()&&"-1"!==r.val()?r.length&&r.removeClass("error"):(u=!1,r.addClass("error")),!o.length||o.val()&&"-1"!==o.val()?o.length&&o.removeClass("error"):(u=!1,o.addClass("error")),!i.length||i.val()&&"-1"!==i.val()?i.length&&i.removeClass("error"):(u=!1,i.addClass("error")),!a.length||a.val()&&"-1"!==a.val()?a.length&&a.removeClass("error"):(u=!1,a.addClass("error")),!s.length||s.val()&&"-1"!==s.val()?s.length&&s.removeClass("error"):(u=!1,s.addClass("error")),!c.length||c.val()&&""!==c.val().trim()?c.length&&c.removeClass("error"):(u=!1,c.addClass("error")),u&&$.ajax({url:(window.InfoQConstants?window.InfoQConstants.countryCode:"")+"/saveExternalUser.action",contentType:"application/x-www-form-urlencoded; charset=utf-8",type:"POST",data:t.serialize(),success:function(t){if(3==t.code)n&&n.length?(n.html(t.message),n.show()):console.error("Message element not found"),e&&e.length&&e.text("Go to InfoQ.com");else if(0==t.code&&(window.loggedIn=!0,console.log("loggedIn",window.loggedIn),window.onboardingModule&&window.onboardingModule.showStep)){var r=Array.from(document.querySelectorAll(".step")).findIndex((function(t){return t.classList.contains("active")}));window.onboardingModule.showStep(r+1)}},error:function(t){n&&n.length&&(n.html("An error occurred. Please try again."),n.show()),e&&e.length&&e.text("Go to InfoQ.com"),window.JSi18n&&window.JSi18n.error?alert(window.JSi18n.error):alert("An error occurred")}})}else window.location.href="https://infoq.com"}else console.error("Form not found")},saveExternalUserNewsletterPrefs:function(){var t=this,e=$("#externalUserNewsletterDetailsForm");e&&e.length?"Go to InfoQ.com"!==$('button[onclick="FrontEnd_Profile_Action.saveExternalUserNewsletterPrefs();"]').text()?$.ajax({url:(window.InfoQConstants?window.InfoQConstants.countryCode:"")+"/saveExternalUserNewsletterPrefs.action",contentType:"application/x-www-form-urlencoded; charset=utf-8",type:"POST",data:e.serialize(),success:function(e){var n=e,r=$("#actionMessageNewletters"),o=$('button[onclick="FrontEnd_Profile_Action.saveExternalUserNewsletterPrefs();"]');if(3==n.code&&(r&&r.length?(r.html(n.message),r.show()):console.error("Newsletter message element not found"),o&&o.length&&o.text("Go to InfoQ.com")),0==n.code&&(t.redirectUrl=n.message,window.onboardingModule&&window.onboardingModule.showStep)){var i=Array.from(document.querySelectorAll(".step")).findIndex((function(t){return"finishStep"===t.id}));-1!==i&&(window.onboardingModule.showStep(i),setTimeout((function(){window.location.href=t.redirectUrl}),7e3))}}.bind(this),error:function(t){var e=$("#actionMessageNewletters"),n=$('button[onclick="FrontEnd_Profile_Action.saveExternalUserNewsletterPrefs();"]');e&&e.length&&(e.html("An error occurred. Please try again."),e.show()),n&&n.length&&n.text("Go to InfoQ.com"),window.JSi18n&&window.JSi18n.error?alert(window.JSi18n.error):alert("An error occurred")}}):window.location.href="https://infoq.com":console.error("Newsletter form not found")},goToInfoq:function(){var t=$('button[onclick="FrontEnd_Profile_Action.goToInfoq();"]');t&&t.length&&(window.location.href=this.redirectUrl)}};var d={init:function(t,e){var n=e.api,r=(e.event,document.querySelectorAll(".step")),c=0;function u(t){if(!(!r.length||t<0||t>=r.length)){r.forEach((function(e,n){e.classList.toggle("active",n===t)}));var e=r[t],n=e.querySelector(".topics-list"),o=e.querySelector(".editors-list");n&&function(){h.apply(this,arguments)}(),o&&function(){p.apply(this,arguments)}(),c=t}}var l=!1,d=!1;function p(){return(p=(0,i.default)(o.default.mark((function t(){var e,r,i,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!l){t.next=2;break}return t.abrupt("return");case 2:if(l=!0,e=document.querySelector(".editors-list.authors")){t.next=6;break}return t.abrupt("return");case 6:return e.innerHTML='\n <div role="status" class="flex justify-center">\n <div class="spinner"></div>
1\n <span class="sr-only">Loading...</span>\n </div>\n ',t.prev=7,t.next=10,n.get("/userProfile!getAllPicks.action");case 10:r=t.sent,(i=r.data).forEach((function(t){t.followers=Number(t.count),t.name=t.title,t.url=t.link,t.followedByCurrentUser=!1,t.type=t.type||"fu",t.link=t.url,delete t.count})),(c=i.filter((function(t){return"fu"===t.type}))).forEach((function(t){var e=window.CommonUtils.encodeAuthorName;e&&"function"==typeof e&&(t.ref="author-".concat(e(t.title)),t.link=t.url)})),window.usersInPage=c,s.default.usersTopics.users=c,e.innerHTML="",(u=document.createElement("UL")).classList.add("no-style"),u.classList.add("ul__border"),c.forEach((function(t){var e=document.createElement("LI");e.dataset.id=t.ref||t.id,e.dataset.ref=t.ref,u.append(e)})),e.append(u),f({segment:"user",selector:".editors-list.authors",createFromScratch:!0,isSegmentOfPS:!0}),(0,a.populateAuthorDetails)(),t.next=30;break;case 27:t.prev=27,t.t0=t.catch(7),l=!1;case 30:case"end":return t.stop()}}),t,null,[[7,27]])})))).apply(this,arguments)}function h(){return(h=(0,i.default)(o.default.mark((function t(){var e,r,i,a,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!d){t.next=2;break}return t.abrupt("return");case 2:if(d=!0,e=document.querySelector(".topics-list")){t.next=6;break}return t.abrupt("return");case 6:return e.innerHTML='\n <div role="status" class="flex justify-center">\n <div class="spinner"></div>\n <span class="sr-only">Loading...</span>\n </div>\n ',t.prev=7,t.next=10,n.get("/userProfile!getAllPicks.action");case 10:r=t.sent,(i=r.data).forEach((function(t){t.followers=Number(t.count),t.name=t.title,t.url=t.link,t.followedByCurrentUser=!1,t.type=t.type||"ft",t.link=t.url,delete t.count})),a=i.filter((function(t){return"ft"===t.type})),window.topicsInPage=a,s.default.usersTopics.topics=a,e.innerHTML="",(c=document.createElement("DIV")).classList.add("topics"),(u=document.createElement("UL")).classList.add("no-style"),u.classList.add("ul__border"),a.forEach((function(t){var e=document.createElement("LI");e.dataset.id=t.id,e.dataset.ref=t.ref||t.id,u.append(e)})),c.append(u),e.append(c),f({segment:"topic",selector:".topics-list .topics",createFromScratch:!0,isSegmentOfPS:!0}),t.next=31;break;case 28:t.prev=28,t.t0=t.catch(7),d=!1;case 31:case"end":return t.stop()}}),t,null,[[7,28]])})))).apply(this,arguments)}window.onboardingModule={showStep:u},r.length&&(u(c),document.querySelectorAll(".next-btn").forEach((function(t){t.addEventListener("click",(function(e){e.preventDefault();var n=t.closest("form");!n||n.checkValidity()?c<r.length-1&&u(c+1):n.reportValidity()}))})),document.querySelectorAll(".back-btn").forEach((function(t){t.addEventListener("click",(function(){c>0&&u(c-1)}))})),document.querySelectorAll(".finish-btn").forEach((function(t){t.addEventListener("click",(function(){var t=Array.from(r).findIndex((function(t){return"finishStep"===t.id}));-1!==t&&u(t)}))})),$("#company").on("input focus",(function(){$(this).val()&&""!==$(this).val().trim()&&$(this).removeClass("error")})),$("#job-title").on("change",(function(){$(this).val()&&"-1"!==$(this).val()&&$(this).removeClass("error")})),$("#company-size").on("change",(function(){$(this).val()&&"-1"!==$(this).val()&&$(this).removeClass("error")})),$("#purchaseRole").on("change",(function(){$(this).val()&&"-1"!==$(this).val()&&$(this).removeClass("error")})),$("#companyIndustry").on("change",(function(){$(this).val()&&"-1"!==$(this).val()&&$(this).removeClass("error")})),$("#regions").on("change",(function(){$(this).val()&&"-1"!==$(this).val()&&$(this).removeClass("error")})))}};e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){var n=e.event,r=(e.api,t.endpoint,document.getElementById("audio-player")),o=document.querySelector(".audio-overlay-main-text");if(o&&(window.loggedIn?o.innerHTML='Listen to this article - <span id="total-length"></span>':o.textContent="Log in to listen to this article"),r){var i=function(t){j&&(j.textContent=t)},a=function(t){if(D&&F&&N&&P){D.style.width="".concat(100*t,"%"),F.style.left="".concat(100*t,"%"),N.setAttribute("aria-valuenow",(100*t).toString());var e=0===t?'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewB
1ox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-muted-foreground-custom"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="22" y1="9" x2="16" y2="15"></line><line x1="16" y1="9" x2="22" y2="15"></line></svg>':t<.5?'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-muted-foreground-custom"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-muted-foreground-custom"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path><path d="M19.07 4.93a10 10 0 0 1 0 14.14"></path></svg>';P.innerHTML=e}},s=function(t){console.error("Audio error:",t);var e=t.target,n=null==e?void 0:e.error,r="An error occurred while playing the audio.";if(n)switch(n.code){case MediaError.MEDIA_ERR_ABORTED:r="The audio playback was aborted.";break;case MediaError.MEDIA_ERR_NETWORK:r="A network error occurred while loading the audio.";break;case MediaError.MEDIA_ERR_DECODE:r="The audio could not be decoded.";break;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:r="The audio format is not supported."}i(r),y()},c=function(t){var e=Math.floor(t/60),n=Math.floor(t%60);return"".concat(e,":").concat(n.toString().padStart(2,"0"))},u=function(){if(r&&S&&O&&A&&L){var t=r.currentTime/r.duration*100;S.style.width="".concat(t,"%"),A.style.left="".concat(t,"%"),O.textContent=c(r.currentTime),L.setAttribute("aria-valuenow",t.toString()),L.setAttribute("aria-valuetext","".concat(c(r.currentTime)," of ").concat(c(r.duration)))}},l=function(t){E&&(E.innerHTML=t?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6 text-infoq-green"><rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect></svg>':'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" class="w-6 h-6 text-infoq-green"><path d="M3.33337 2L12.6667 8L3.33337 14V2Z" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>',E.setAttribute("aria-label",t?"Pause audio":"Play audio"),E.setAttribute("aria-pressed",t.toString()))},f=function(){if(r&&A&&!V)try{if(R)r.pause(),l(!1),i("Paused");else{var t=r.play();void 0!==t&&t.then((function(){l(!0),A.classList.remove("opacity-0"),A.classList.add("opacity-100"),i("Playing")})).catch((function(t){console.error("Playback failed:",t),i("Playback failed. Please try again.")}))}R=!R}catch(t){console.error("Toggle play error:",t),i("An error occurred while trying to play the audio.")}},d=function(t){if(N&&r){var e=N.getBoundingClientRect(),n=Math.max(0,Math.min(t.clientX-e.left,e.width))/e.width;r.volume=n,$=n>0?n:$,a(n),0===n?i("Muted"):1===n?i("Maximum volume"):n%.25<.1&&i("Volume ".concat(Math.round(100*n),"%"))}},p=function(t){U=!0,d(t)},h=function(t){U&&d(t)},v=function(){U=!1},m=function t(){W=!1,null==q||q.classList.add("hidden"),document.removeEventListener("click",t),document.removeEventListener("keydown",g),null==M||M.focus()},g=function(t){if(W&&"Tab"===t.key){var e;t.preventDefault();var n=Array.from(B||[]);null===(e=n[G=t.shiftKey?G>
10?G-1:n.length-1:G<n.length-1?G+1:0])||void 0===e||e.focus()}},y=function(){z&&cancelAnimationFrame(z),r&&(r.pause(),r.currentTime=0),document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",v),document.removeEventListener("click",m),document.removeEventListener("keydown",g)},b=function(t){if(r&&L){var e=L.getBoundingClientRect(),n=Math.max(0,Math.min(t.clientX-e.left,e.width))/e.width;r.currentTime=n*r.duration,u()}},w=function(t){H=!0,document.addEventListener("mousemove",_),document.addEventListener("mouseup",x),b(t)},_=function(t){H&&b(t)},x=function t(){H=!1,document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",t),u()},E=document.getElementById("play-button"),S=document.getElementById("progress-bar"),O=document.getElementById("current-time"),T=document.getElementById("duration"),L=document.getElementById("progress-container"),A=document.getElementById("progress-handle"),k=document.getElementById("audio-overlay"),I=document.getElementById("audio-player-container"),C=document.getElementById("total-length"),M=document.getElementById("speed-button"),j=document.getElementById("status-announcer"),P=document.getElementById("volume-button"),N=document.getElementById("volume-slider"),D=document.getElementById("volume-bar"),F=document.getElementById("volume-handle"),q=document.getElementById("speed-menu"),B=null==q?void 0:q.querySelectorAll("button[data-speed]"),R=!1,H=!1,U=!1,z=null,W=!1,V=!0,$=1,G=0;r&&(r.volume=1,a(1),r.load(),r.addEventListener("loadstart",(function(){V=!0,i("Loading audio"),E&&(E.disabled=!0,E.classList.add("opacity-50"))})),r.addEventListener("loadedmetadata",(function(){if(r.duration&&!isNaN(r.duration)){var t=c(r.duration);console.log("Audio duration:",t),C&&(C.textContent=t,C.classList.remove("opacity-0")),T&&(T.textContent=t),i("Audio duration: "+t)}else console.warn("Invalid audio duration")})),r.addEventListener("canplay",(function(){V=!1,E&&(E.disabled=!1,E.classList.remove("opacity-50")),!C||C.textContent&&"0:00"!==C.textContent||(C.textContent=c(r.duration),C.classList.remove("opacity-0")),i("Audio ready to play")})),r.addEventListener("timeupdate",(function(){H||u()})),r.addEventListener("error",s),null==L||L.addEventListener("mousedown",w),null==k||k.addEventListener("click",(function(t){if(!window.loggedIn)return t.preventDefault(),void n.trigger("login",{ref:"p13n-audio",segment:"content"});k&&I&&(k.classList.add("hidden"),I.classList.remove("hidden"),f())})),null==k||k.addEventListener("keydown",(function(t){"Enter"===t.key&&k&&k.click()})),null==L||L.addEventListener("keydown",(function(t){if(r){var e=r.duration;switch(t.key){case"ArrowLeft":t.preventDefault(),r.currentTime=Math.max(0,r.currentTime-5),u();break;case"ArrowRight":t.preventDefault(),r.currentTime=Math.min(e,r.currentTime+5),u();break;case"Home":t.preventDefault(),r.currentTime=0,u();break;case"End":t.preventDefault(),r.currentTime=e,u()}}})),null==N||N.addEventListener("mousedown",p),document.addEventListener("mousemove",h),document.addEventListener("mouseup",v),null==P||P.addEventListener("click",(function(t){t.stopPropagation(),r&&(r.volume>0?($=r.volume,r.volume=0):r.volume=$,a(r.volume))})),null==P||P.addEventListener("keydown",(function(t){var e=t;"Enter"!==e.key&&" "!==e.key||(t.preventDefault(),P.click())})),null==N||N.addEventListener("keydown",(function(t){var e=t;if(r){var n=r.volume;switch(e.key){case"ArrowRight":case"ArrowUp":t.preventDefault(),n=Math.min(1,r.volume+.1);break;case"ArrowLeft":case"ArrowDown":t.preventDefault(),n=Math.max(0,r.volume-.1);break;case"Home":t.preventDefault(),n=0;break;case"End":t.preventDefault(),n=1}n!==r.volume&&(r.volume=n,$=n>0?n:$,a(n))}})),null==M||M.addEventListener("click",(function(t){if(t.stopPropagation(),W=!W){var e;null==q||q.classList.remove("hidden");var n=Array.from(B||[]),r=n.find((function(t){return"true"===t.getAttribute("data-active")}));G=r?n.indexOf(r):0,null===(e=n[G])||void 0===e||e.focus(),document.addEventListener("click",m),document.addEventListener("keydown",g)}else m()})),null==M||M.addEventListener("keydown",(function(t){var e=t;"Enter"===e.key||" "===e.key?(t.preventDefault(),M.click()):"Escape"===e.key&&W?(t.preventDefault(),m()):"ArrowDown"!==e.key||W||(t.preventDefault(),M.click())})),null==B||B.forEach((function(t){t.addEventListener("click",(function(e){e.stopPropagation();var n=parseFloat(t.getAttribute("data-speed")||"1");r&&(r.playbackRate=n,i("Playback speed set to ".concat(1===n?"normal":n+"x")),null==B||B.forEach((function(e){e.setAttribute("data-active",(e===t).toString()),e.setAttribute("tabindex",e===t?"0":"-1"),e===t?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})),m())})),t.addEventListener("keydown",(function(e){var n=e,r=Array.from(B);switch(n.key){case"Enter":case" ":e.preventDefault(),t.click();break;case"Escape":e.preventDefault(),m();break;case"ArrowUp":e.preventDefault(),G=Math.max(0,r.indexOf(t)-1),r[G].focus();break;case"ArrowDown":e.preventDefault(),G=Math.min(r.length-1,r.indexOf(t)+1),r[G].focus();break;case"Home":e.preventDefault(),G=0,r[0].focus();break;case"End":e.preventDefault(),G=r.length-1,r[r.length-1].focus()}}))})),window.addEventListener("unload",y)),null==E||E.addEventListener("click",f)}}};e.default=r},function(t,e,n){"use strict";var r=n(6);
1Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(408)),i=function(t,e,n){if(!t||!e)throw new Error("Incorrect popper initializaiton");var r;return t.classList.contains("popper")?r=t:(r=document.createElement("DIV")).classList.add("popper"),r.innerHTML='<span class="popper__arrow" x-arrow></span>'+e,t.append(r),r},a={get cardsInPage(){return document.querySelectorAll([".cards > li",".e__cards > li"])},init:function(t,e){var r=t.modules,a=this.cardsInPage;Object.keys(r).forEach((function(t){try{n(409)("./".concat(t,".js")).default.init(r[t],{Popper:o.default,createPopper:i,cards:a},e)}catch(e){throw new Error('Module "'.concat(t,'" failed to load. Reason: '),e)}}))}};e.default=a},function(t,e,n){"use strict";n.r(e),function(t){ 2/**! 3 * @fileOverview Kickass library to create and place poppers near their reference elements. 4 * @version 1.16.1 5 * @license 6 * Copyright (c) 2016 Federico Zivolo and contributors 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy 9 * of this software and associated documentation files (the "Software"), to deal 10 * in the Software without restriction, including without limitation the rights 11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 * copies of the Software, and to permit persons to whom the Software is 13 * furnished to do so, subject to the following conditions: 14 * 15 * The above copyright notice and this permission notice shall be included in all 16 * copies or substantial portions of the Software. 17 * 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 * SOFTWARE. 25 */ 26var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function i(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:c(s(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?l:10===t?f:l||f}function p(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,c=i.commonAncestorContainer;if(t!==c&&e!==c||r.contains(o))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(c):c;var u=h(t);return u.host?v(u.host,e):v(t,h(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),o=m(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=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}}(),E=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function O(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var n=m(t,"top"),r=m(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?w(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,c=i.height||t.clientHeight||o.height,u=t.offsetWidth-s,l=t.offsetHeight-c;
vendor: 10,791 bytes, line 26
26if(u||l){var f=a(t);u-=y(f,"x"),l-=y(f,"y"),o.width-=u,o.height-=l}return O(o)}function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===e.nodeName,i=T(t),s=T(e),u=c(t),l=a(e),f=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=O({top:i.top-s.top-f,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var v=parseFloat(l.marginTop),m=parseFloat(l.marginLeft);h.top-=f-v,h.bottom-=f-v,h.left-=p-m,h.right-=p-m,h.marginTop=v,h.marginLeft=m}return(r&&!n?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(h=g(h,e)),h}function A(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=L(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return O(c)}function k(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&k(n)}function I(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?I(t):v(t,u(e));if("viewport"===r)i=A(a,o);else{var l=void 0;"scrollParent"===r?"BODY"===(l=c(s(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===r?t.ownerDocument.documentElement:r;var f=L(l,a,o);if("HTML"!==l.nodeName||k(a))i=f;else{var d=w(t.ownerDocument),p=d.height,h=d.width;i.top+=f.top-f.marginTop,i.bottom=p+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function M(t){return t.width*t.height}function j(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=C(n,r,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return S({key:t},s[t],{area:M(s[t])})})).sort((function(t,e){return e.area-t.area})),u=c.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=u.length>0?u[0].key:c[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function P(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?I(e):v(e,u(n));return L(n,o,r)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,n){n=n.split("-")[0];var r=N(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",u=i?"width":"height";return o[a]=e[a]+e[c]/2-r[c]/2,o[s]=n===s?e[s]-r[u]:e[D(s)],o}function q(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=q(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=O(e.offsets.popper),e.offsets.reference=O(e.offsets.reference),e=n(e,t))})),e}function R(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=j(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if(void 0!==document.body.style[i])return i}return null}function z(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function V(t,e,n,r){n.updateBound=r,W(t).addEventListener("resize",n.updateBound,{passive:!0});var o=c(t);return function t(e,n,r,o){var i="BODY"===e.nodeName,a=i?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),i||t(c(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function $(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,W(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function J(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&X(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var Y=n&&/Firefox/i.test(navigator.userAgent);function K(t,e,n){var r=q(t,(function(t){return t.name===e})),o=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!o){var i="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=Q.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),r=Z.slice(n+1).concat(Z.slice(0,n));return e?r.reverse():r}var et="flip",nt="clockwise",rt="counterclockwise";function ot(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(q(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(u=u.map((function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return O(s)[e]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){X(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var it={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",l={start:E({},c,i[c]),end:E({},c,i[c]+i[u]-a[u])};t.offsets.popper=S({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],c=void 0;return c=X(+n)?[+n,0]:ot(n,i,a,s),"left"===s?(i.top+=c[0],i.left-=c[1]):"right"===s?(i.top+=c[0],i.left+=c[1]):"top"===s?(i.left+=c[0],i.top-=c[1]):"bottom"===s&&(i.left+=c[0],i.top+=c[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var r=U("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var c=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=s,e.boundaries=c;var u=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]<c[t]&&!e.escapeWithReference&&(n=Math.max(l[t],c[t])),E({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=l[n];return l[t]>c[t]&&!e.escapeWithReference&&(r=Math.min(l[n],c[t]-("right"===t?l.width:l.height))),E({},n,r)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=S({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]<i(r[c])&&(t.offsets.popper[c]=i(r[c])-n[u]),n[c]>i(r[s])&&(t.offsets.popper[c]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!K(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,c=i.reference,u=-1!==["left","right"].indexOf(o),l=u?"height":"width",f=u?"Top":"Left",d=f.toLowerCase(),p=u?"left"
vendor: 4,242 bytes, line 26
26:"top",h=u?"bottom":"right",v=N(r)[l];c[h]-v<s[d]&&(t.offsets.popper[d]-=s[d]-(c[h]-v)),c[d]+v>s[h]&&(t.offsets.popper[d]+=c[d]+v-s[h]),t.offsets.popper=O(t.offsets.popper);var m=c[d]+c[l]/2-v/2,g=a(t.instance.popper),y=parseFloat(g["margin"+f]),b=parseFloat(g["border"+f+"Width"]),w=m-t.offsets.popper[d]-y-b;return w=Math.max(Math.min(s[l]-v,w),0),t.arrowElement=r,t.offsets.arrow=(E(n={},d,Math.round(w)),E(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=D(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case et:a=[r,o];break;case nt:a=tt(r);break;case rt:a=tt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],o=D(r);var u=t.offsets.popper,l=t.offsets.reference,f=Math.floor,d="left"===r&&f(u.right)>f(l.left)||"right"===r&&f(u.left)<f(l.right)||"top"===r&&f(u.bottom)>f(l.top)||"bottom"===r&&f(u.top)<f(l.bottom),p=f(u.left)<f(n.left),h=f(u.right)>f(n.right),v=f(u.top)<f(n.top),m=f(u.bottom)>f(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===i&&p||y&&"end"===i&&h||!y&&"start"===i&&v||!y&&"end"===i&&m),w=!!e.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&p||!y&&"start"===i&&m||!y&&"end"===i&&v),_=b||w;(d||g||_)&&(t.flipped=!0,(d||g)&&(r=a[c+1]),_&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=S({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=D(e),t.offsets.popper=O(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!K(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=q(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=q(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:e.gpuAcceleration,s=p(t.instance.popper),c=T(s),u={position:o.position},l=function(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(t){return t},c=i(o.width),u=i(r.width),l=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),d=e?l||f||c%2==u%2?i:a:s,p=e?i:s;return{left:d(c%2==1&&u%2==1&&!f&&e?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(t,window.devicePixelRatio<2||!Y),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",h=U("transform"),v=void 0,m=void 0;if(m="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-c.height+l.bottom:l.top,v="right"===d?"HTML"===s.nodeName?-s.clientWidth+l.right:-c.width+l.right:l.left,a&&h)u[h]="translate3d("+v+"px, "+m+"px, 0)",u[f]=0,u[d]=0,u.willChange="transform";else{var g="bottom"===f?-1:1,y="right"===d?-1:1;u[f]=m*g,u[d]=v*y,u.willChange=f+", "+d}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},u,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return J(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEac
26h((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&J(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=P(o,e,t,n.positionFixed),a=j(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),J(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},at=function(){function t(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return x(t,[{key:"update",value:function(){return R.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();at.Utils=("undefined"!=typeof window?window:t).PopperUtils,at.placements=Q,at.Defaults=it,e.default=at}.call(this,n(98))},function(t,e,n){var r={"./cards.js":152,"./commentsList.js":153,"./eaSchedule.js":154,"./relatedTopics.js":155,"./vcr.js":156};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=409},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={reorderPodcasts:function(t){for(var e=t.children,n=t.dataset.max,r=[],o=0;o<e.length;o++){e.item(o).classList.contains("podcasts")&&r.push(o)}if(r.length){var i=e.length<n?e.length:n;r[0]>=i&&t.insertBefore(t.children[r[0]],t.children[i-1]),t.__podcastsAdjusted=!0}},init:function(t,e){var n=this,o=e.event,i=document.querySelector(".homepage:not(.e__homepage) .widget.popular");if(i){var a=window.JSi18n.FE.labels,s=i.parentNode,c=this.reorderPodcasts,u=!1;this.lists=i.querySelectorAll(".tab ol"),this.newsSection=s.parentNode.querySelector('[data-col="2/3"] .items'),this.config=t,this.windowWidth=window.innerWidth;var l=document.createElement("BUTTON");l.textContent=a.showMore,l.classList.add("more"),l.classList.add("button__medium"),l.reset=function(){l.textContent=a.showMore,u=!1},i.appendChild(l),o.on("tabChanged",(function(e){var o=e.instance;e.tab;if("trending"===o.id&&(l.reset(),window.innerWidth<768)){var i,a=r(n.lists);try{for(a.s();!(i=a.n()).done;){i.value.dataset.max=t.defaultToShow}}catch(t){a.e(t)}finally{a.f()}}})),l.addEventListener("click",(function(){var e=i.querySelector(".tab.active ol");u?(e.dataset.max=t.defaultToShow,l.reset()):(e.dataset.max=12,l.textContent=a.showLess,u=!0)}));var f,d=r(this.lists);try{var p=function(){var e=f.value;e.dataset.max=t.defaultToShow||5,Object.defineProperty(e,"__canShow",{get:function(){return e.dataset.max},set:function(n){n<t.defaultToShow||(e.dataset.max=n,e.__podcastsAdjusted||c(e))}})};for(d.s();!(f=d.n()).done;)p()}catch(t){d.e(t)}finally{d.f()}this.adjustItems(),window.addEventListener("resize",this.readjust.bind(this))}},readjust:function(){window.innerWidth!==this.windowWidth&&this.adjustItems()},adjustItems:function(){var t,e=r(this.lists);try{for(e.s();!(t=e.n()).done;){var n=t.value;n.__canShow=window.innerWidth>=768?this.calculateHeight(n):this.config.defaultToShow,n.__podcastsAdjusted=!1,n.classList.toggle("hasMore",n.__canShow<n.children.length)}}catch(t){e.e(t)}finally{e.f()}this.inited||(this.inited=!0)}
26,calculateHeight:function(t){var e=this.newsSection.offsetHeight,n=0,o=0;t.style.cssText="visibility: visible; display: block",t.parentNode.style.cssText="display: block";var i,a=r(t.children);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(n>e-190)break;s.style.cssText="display: block";var c=s.offsetHeight;s.style.cssText=null,!c||c<20||(n+=c,o+=1)}}catch(t){a.e(t)}finally{a.f()}return t.parentNode.style.cssText=null,t.style.cssText=null,o}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){var n=e.event,r=document.querySelector(".privacyPage");if(r){var o=r.querySelector(".next"),i=r.querySelector(".prev"),a=r.querySelector(".tabs").querySelectorAll(".tab"),s=Array.prototype.slice.call(a).map((function(t){return t.dataset.id})),c="button__disabled";n.on("tabChanged",(function(t){var e=t.payload.index;s[e-1]?(i.classList.remove(c),i.setAttribute("href","#".concat(s[e-1]))):(i.classList.add(c),i.removeAttribute("href")),s[e+1]?(o.classList.remove(c),o.setAttribute("href","#".concat(s[e+1]))):(o.classList.add(c),o.removeAttribute("href")),window.scrollTo(0,0)})),window.location.hash||n.trigger("tabChanged",{payload:{index:0}})}}};e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t){if((e=document.getElementsByClassName("promo"))&&0!==e.length){var e;if(!localStorage.getItem("promoBar"))(e=document.getElementsByClassName("promo"))[0].classList.remove("hidden"),e[0].classList.add("show");var n=document.getElementsByClassName("close-top-promo")[0];if(n){if(n.onclick=function(){localStorage.setItem("promoBar","true");var t=new Date;t.setDate(t.getDate()+30),localStorage.setItem("promoBarTimestamp",t.getTime())},localStorage.getItem("promoBar")){var r=localStorage.getItem("promoBarTimestamp");(new Date).getTime()>r&&(localStorage.removeItem("promoBar"),localStorage.removeItem("promoBarTimestamp"))}var o=document.getElementsByClassName("subscribe-box")[0];if(o){setTimeout((function(){localStorage.getItem("subscribeBox")||(o.classList.remove("hidden"),o.classList.add("show"))}),1e4);var i=document.getElementsByClassName("closeBox")[0];if(i){i.onclick=function(){localStorage.setItem("subscribeBox","true");var t=new Date;t.setDate(t.getDate()+30),localStorage.setItem("subscribeBoxTimestamp",t.getTime())};var a=o.querySelector(".button__red");if(a){if(a.onclick=function(t){var e=o[0].querySelector("#email-dataCollectnewsletter-infoq");if(!e)return;t=e.value;if(t.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)){localStorage.setItem("subscribeBox","true");var n=new Date;return n.setDate(n.getDate()+365),localStorage.setItem("subscribeBoxTimestamp",n.getTime()),!0}},localStorage.getItem("subscribeBox")){r=localStorage.getItem("subscribeBoxTimestamp");(new Date).getTime()>r&&(localStorage.removeItem("subscribeBox"),localStorage.removeItem("subscribeBoxTimestamp"))}!function(){if(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./)){document.body.innerHTML="";var t=document.createElement("div");t.id="IEnote",t.innerHTML='We do not support this version of Internet Explorer anymore. <br/>Please upgrade to Microsoft Edge. <br/>A faster and more modern web experience than Internet Explorer.<br/> <a href="https://go.microsoft.com/fwlink/?linkid=2156983&pc=EE06&form=MY01TF&OCID=MY01TF" target="_blank" style="text-decoration: none; font-size:18px; color: white; background: #0d5ef0; padding: 12px 30px; display: inline-block; margin-top:20px;">Launch now</a>',t.style.cssText="display:flex; height: 100vh; justify-content: center; align-items: center; width:100%; margin:0 auto; text-align:center; flex-direction: column; font-size:22px; line-height:40px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', system-ui, ui-sans-serif, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",document.body.appendChild(t)}}()}}}}}}};e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(t,e){for(var n=e.event,r=t.breakpoints,o=0,i=0;i<r.length;i++)window.innerWidth>r[i]&&(o=i);window.addEventListener("resize",(function(){for(var t,e=window.innerWidth,i=0;i<r.length;i++)e>r[i]&&(t=i);if(t!=o)switch(o=t){case 0:case 1:n.trigger("pageWidthChanged");break;case 2:break;default:n.trigger("pageWidthChanged")}}))}};e.default=r},function(t,e,n){"use strict";
26Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(){var t=document.querySelectorAll("form.search");t.length&&t.forEach((function(t){var e=t.querySelector('input[type="text"]'),n=t.querySelector('input[type="submit"]');if(!e||!n)throw new Error("search bar missing el",{inpt:e,submit:n});n.disabled="disabled",e.addEventListener("input",(function(t){var e=t.target.value;(e=String(e).trim())?n.removeAttribute("disabled"):n.disabled="disabled"}))}))}};e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(29),o={init:function(t,e){document.querySelector(".search_page")&&e.event.on("searchResultsTopics",r.populateSearchTopicsSection)}};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=function(t,e,n){var o=this.getShareUrl(t,n);return"<button onclick=\"window.open('".concat(o).concat(r,'\')" target="_blank" rel="noopener nofollow noreferrer" class="facebookHighlight">')+'<svg xmlns="http://www.w3.org/2000/svg" viewBox="1.5 1.5 16 16"><path d="M8.546 16V9.804H6.46V7.39h2.086V5.607c0-2.066 1.262-3.19 3.106-3.19.883 0 1.642.064 1.863.094v2.16h-1.28c-1 0-1.195.48-1.195 1.18v1.54h2.39l-.31 2.42h-2.08V16" fill="currentcolor"/></svg></button>'},e.getShareUrl=function(t,e){return"https://www.facebook.com/sharer/sharer.php?quote=".concat(encodeURIComponent(t.replace(/'/g,"")),"&u=").concat(encodeURIComponent(e))},e.name=void 0;var r="?utm_source=facebook&utm_medium=text&utm_campaign=highlighter";e.name="facebook"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.render=function(t,e,n){var o=this.getText(t),i=this.getShareUrl(o,n);return"<button onclick=\"window.open('".concat(i).concat(r,'\')" target="_blank" rel="noopener nofollow noreferrer" class="redditHighlight">')+'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M616.1 657.6c3-3 6.7-4.5 11.2-4.5s8.2 1.5 11.2 4.5 4.5 6.8 4.5 11.5-1.5 8.5-4.5 11.5c-27.6 27.2-71.9 40.8-132.7 40.8h-1.3c-60.8 0-104.8-13.6-132.1-40.8-3.4-3-5.1-6.8-5.1-11.5s1.7-8.5 5.1-11.5c3-3 6.7-4.5 11.2-4.5 4.5 0 8.2 1.5 11.2 4.5 20.8 21.7 57.4 32.5 109.7 32.5h1.3c51.8 0 88.6-10.8 110.3-32.5zm-178-140.4c0 15.7-5.5 29.3-16.6 40.8-11.1 11.5-24.5 17.2-40.2 17.2-15.7 0-29.1-5.7-40.2-17.2-11.1-11.5-16.6-25.1-16.6-40.8s5.5-29.1 16.6-40.2c11.1-11.1 24.5-16.6 40.2-16.6 15.7 0 29.1 5.5 40.2 16.6 11.1 11.1 16.6 24.5 16.6 40.2zM784.6 239c-12.3 0-23-4.5-31.9-13.4-8.9-8.9-13.4-19.6-13.4-31.9 0-12.8 4.5-23.6 13.4-32.5 8.9-8.9 19.6-13.4 31.9-13.4 12.8 0 23.6 4.5 32.5 13.4 8.9 8.9 13.4 19.8 13.4 32.5 0 12.3-4.5 23-13.4 31.9-8.9 9-19.8 13.4-32.5 13.4zm68.2 289.1c14.9-6 27-15.6 36.4-29 9.4-13.4 14-28.4 14-45 0-21.7-7.7-40.3-23-55.8S846.4 375 824.7 375c-25.5 0-46.4 10.2-62.5 30.6-64.2-45.5-144-70-239.3-73.4l53-169.1 131.4 31.3c.4 21.3 8.2 39.3 23.3 54.2 15.1 14.9 33.1 22.3 53.9 22.3 21.3 0 39.6-7.5 54.9-22.6 15.3-15.1 23-33.3 23-54.6 0-21.3-7.7-39.6-23-54.9-15.3-15.3-33.6-23-54.9-23-15.3 0-29.4 4.4-42.1 13.1-12.8 8.7-22.3 20.1-28.7 34.1l-144.8-34.5c-3.8-.9-7.5-.3-11.2 1.6-3.6 1.9-6.1 5-7.3 9.3l-60.6 192.7c-95.3 1.7-176.3 25.7-243.1 72.1-15.3-18.3-35.1-27.4-59.3-27.4-21.7 0-40.2 7.8-55.5 23.3-15.3 15.5-23 34.1-23 55.8 0 15.7 4.1 30.1 12.4 43.1s19.5 22.6 33.5 29c-3 10.6-4.5 22.1-4.5 34.5 0 41.7 15.7 80.3 47.2 115.8 31.5 35.5 74.3 63.6 128.6 84.2 54.2 20.6 113.5 30.9 177.7 30.9 63.8 0 122.8-10.3 177.1-30.9 54.2-20.6 97.1-48.7 128.6-84.2s47.2-74.1 47.2-115.8c0-11.5-1.3-22.9-3.9-34.4zm-223.3-67.7c15.7 0 29.1 5.5 40.2 16.6 11.1 11.1 16.6 24.5 16.6 40.2s-5.5 29.3-16.6 40.8c-11.1 11.5-24.5 17.2-40.2 17.2-15.7 0-29.1-5.7-40.2-17.2-11.1-11.5-16.6-25.1-16.6-40.8s5.5-29.1 16.6-40.2c11.1-11 24.5-16.6 40.2-16.6z" fill="currentcolor"/></svg></button>'},e.getText=function(t){var e=t.trim();e.length>278&&(e=e.slice(0,277).trim()+"â¦");return"â".concat(e,"â")},e.getShareUrl=function(t,e){return"https://reddit.com/submit?title=".concat(encodeURIComponent(t.replace(/'/g,"")),"&url=").concat(encodeURIComponent(e))},e.name=void 0;var r="?utm_source=reddit%26utm_medium=text%26utm_campaign=highlighter";e.name="reddit"},function(t,e,n){"use strict";
26Object.defineProperty(e,"__esModule",{value:!0}),e.render=function(t,e,n){var o=this.getText(t),i=this.getShareUrl(o,n);return"<button onclick=\"window.open('".concat(i).concat(r,'\')" target="_blank" rel="noopener nofollow noreferrer" class="twitterHighlight">')+'<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 20 20"><path d="M16 3.038c-.59.26-1.22.437-1.885.517.677-.407 1.198-1.05 1.443-1.816-.634.37-1.337.64-2.085.79-.598-.64-1.45-1.04-2.396-1.04-1.812 0-3.282 1.47-3.282 3.28 0 .26.03.51.085.75-2.728-.13-5.147-1.44-6.766-3.42C.83 2.58.67 3.14.67 3.75c0 1.14.58 2.143 1.46 2.732-.538-.017-1.045-.165-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.22-.276.074-.566.114-.865.114-.21 0-.41-.02-.61-.058.42 1.304 1.63 2.253 3.07 2.28-1.12.88-2.54 1.404-4.07 1.404-.26 0-.52-.015-.78-.045 1.46.93 3.18 1.474 5.04 1.474 6.04 0 9.34-5 9.34-9.33 0-.14 0-.28-.01-.42.64-.46 1.2-1.04 1.64-1.7z" fill="currentcolor"/></svg></button>'},e.getText=function(t){var e=t.trim();e.length>248&&(e=e.slice(0,247).trim()+"â¦");return"â".concat(e,"â")},e.getShareUrl=function(t,e){return"https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(t.replace(/'/g,"")),"&url=").concat(encodeURIComponent(e))},e.name=void 0;var r="?utm_source=twitter%26utm_medium=text%26utm_campaign=highlighter";e.name="twitter"},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(68));function i(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){s=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var c=window.googletag;var u={get presEls(){var t=this.article;return{controller:t.querySelector(".presentation__controller"),header:t.querySelector(".presentation__header"),sponsored:t.querySelector(".article__metadata .prsp"),ad:t.querySelector(".article__metadata .ad__300x250"),headerWidgets:t.querySelector(".presentation__header .widgets"),about:t.querySelector(".presentation__about"),player:t.querySelector(".player"),summary:t.querySelector(".summary"),intro:t.querySelector(".intro"),full:t.querySelector(".full"),bio:t.querySelector(".author__bio"),content:t.querySelector(".article__data"),sep:t.querySelector(".separator"),leftCol:t.querySelector(".article__explore .article__metadata"),widgets:t.querySelector(".article__explore .article__metadata .widgets"),middleCol:t.querySelector(".article__content")}},init:function(t,e){var n=this,r=e.event,i=e.modal,a=document.querySelector("article.article");if(a){var c=document.querySelector("".concat(".presentation__switch"," ul"))||document.querySelector("".concat(".presentation__switch"));if(this.limitAuthorsCount(t.limitAuthors),this.article=a,c){r.on("demoIn",(function(){a.classList.add("presentation--demo")})),r.on("demoOut",(function(){a.classList.remove("presentation--demo")}))}var u=document.getElementById("presentationNotes");if(u){var l=u.querySelectorAll("h2"),f=u.querySelectorAll("h3");u&&l&&l.length>0?this.initPresentationNotes(u,{wrap:!0},l,"H2"):u&&f&&f.length>0&&this.initPresentationNotes(u,{wrap:!0},f,"H3")}r.on("download",(function(t){var e=t.targetType,n=t.target,r=t.click;if("modal"===e&&n){var o=document.getElementById(n);o&&(r.preventDefault(),i(o))}}));var d=document.querySelector('article[data-type="rvc"]');if(d){r.on("downloadVcr",(function(t){if(!window.loggedIn&&!d.classList.contains("signin--displayed")){if(!d.querySelector(".article__footer > div"))throw new Error("Missing VCR signin section in page");d.classList.add("signin--displayed");try{document.getElementById("authenticate").scrollIntoView()}catch(t){throw new Error("Could not scroll Element into view: ".concat(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
26e%2?s(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t)))}}})),r.on("signupInsideVcr",(function(t){d.classList.remove("signin--displayed"),d.classList.add("signup--displayed")})),r.on("cancelSignupInsideVcr",(function(t){d.classList.remove("signup--displayed")}));var p=d.querySelector(".download--vcr"),h=d.querySelector(".login__signup > .button"),v=d.querySelector(".signup .cancel");p&&p.addEventListener("click",(function(t){r.trigger("downloadVcr")})),h&&h.addEventListener("click",(function(t){t.preventDefault(!0),r.trigger("signupInsideVcr")})),v&&v.addEventListener("click",(function(t){t.preventDefault(),r.trigger("cancelSignupInsideVcr")}))}var m=a.querySelector(".swf__container");if(m){var g,y=m.querySelector(".icon__help"),b=!1,w=m.querySelector(".swf__tooltip");r.on("closed",(function(t){if(y&&t.closable&&!g){var e=t.closable.classList;e&&e.contains("swf__tooltip")&&(w=t.closable,(g=t.closable.cloneNode(1))&&(b=!0))}})),y.addEventListener("mouseenter",(function(){w&&(w.style.display="flex"),b&&g&&(g.style.display="flex",m.prepend(g))}))}document.addEventListener("click",(function(t){var r=t.target;n.handleDownloadButtons(r,e.event,a,t),n.handlePrint(r),c&&n.handlePresentationSwitch(r,a,c,n.presEls,u),u&&(n.handlePresentationNotes(r),n.expandPresNotes(r,u))}))}},handleDownloadButtons:function(t,e,n,r){if(console.log("Element t:",t),t)if(t.parentNode)if(t.parentNode.parentNode){var o=t.parentNode.parentNode;if(!(["BUTTON","INPUT"].indexOf(t.nodeName)<0)&&("BUTTON"!==t.nodeName||o&&o.classList.contains("download"))&&("INPUT"!==t.nodeName||"submit"===t.type&&t.classList.contains("download")))if(window.loggedIn){var i=t.dataset.target;i&&r.preventDefault(),e.trigger("download",{contentType:n.dataset.type,targetType:t.dataset.type,target:i,click:r})}else{r.preventDefault();var a=t.dataset.ref;if(!a)try{a=t.closest("[data-ref]").dataset.ref}catch(e){}e.trigger("login",{ref:a})}}else console.error("t.parentNode.parentNode is null for element:",t);else console.error("t.parentNode is null for element:",t);else console.error("Element t is null.")},expandPresNotes:function(t,e){"BUTTON"===t.nodeName&&t.classList.contains("more")&&(e.classList.add("full"),t.remove())},handlePresentationSwitch:function(t,e,n,r,o){var a=t.dataset.key;if(a&&!t.classList.contains("active"))if("pres-fs"===t.dataset.key){var s=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen,u=document.exitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.msExitFullscreen;document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?u.call(document):s.call(e)}else{var l,f=i(n.children);try{for(f.s();!(l=f.n()).done;){var d=l.value.children[0];"BUTTON"===d.nodeName&&("pres-2-cols"===d.dataset.key&&d.click(),d.classList.remove("active"))}}catch(t){f.e(t)}finally{f.f()}t.classList.add("active"),e.dataset.layout=a,function(t){if(void 0!==c&&t){var e=t.parentNode;if(!e)throw new Error("Invalid ad element supplied");var n=document.createElement("DIV");t.remove(),n.classList.add("ad"),n.classList.add("ad__300x250"),n.id="id_300x250_banner_top",n.dataset.place="TOP";var r=document.createElement("script"),o='googletag.cmd.push(function () { googletag.display("'.concat("id_300x250_banner_top",'"); });'),i=new Blob([o],{type:"text/javascript"});r.src=URL.createObjectURL(i),n.append(r),e.append(n)}}(r.ad)}},handlePresentationNotes:function(t){},initPresentationNotes:function(t,e,n,r){if(n&&!(n.length<2)){var o=function(e,r){var o=document.createElement("DIV");o.classList.add("notesWrapper");var a,s=i(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;o.append(c)}}catch(t){s.e(t)}finally{s.f()}t.insertBefore(o,n[r])};if(e.wrap)for(var a=t.firstChild,s=[],c=0;a;)a.nodeName===r?(s.length&&o(s,c),s=[],c++):(s.push(a),a===t.lastChild&&o(s,c)),a=a.nextSibling}},handlePrint:function(t){var e=t.nodeName,n=t.classList;"BUTTON"===e&&n.contains("icon__print")&&window.print()},limitAuthorsCount:function(t){var e=document.querySelector(".article__authors");if(e){var n=e.querySelectorAll("li[data-id]"),r=n.length;if(r){var o=t.count;if(!(r<=o)){var a=r-o,s=e.children,c=window.JSi18n.FE.labels,u=function(){var t,e=-1,r=i(n);try{for(r.s();!(t=r.n()).done;){var a=t.value;(e+=1)<o||a.classList.add("hidden")}}catch(t){r.e(t)}finally{r.f()}var c,u=-1,l=0,f=i(s);try{for(f.s();!(c=f.n()).done;){var d=c.value;if("BUTTON"!==d.nodeName){u+=1;var p=Number(d.querySelectorAll("li[data-id]").length);(l+=p)-o>=p&&u&&d.classList.add("hidden")}}}catch(t){f.e(t)}finally{f.f()}},l={showMore:String(c.moreAuthors||"+ %s more others").replace("%s",a),showLess:c.showLess||"Show less"};u();var f=document.createElement("button");f.classList.add("button__unstyled"),f.textContent=l.showMore,f.addEventListener("click",(function(t){var n=e.querySelectorAll(".hidden");if(f.classList.contains("less"))u(),f.textContent=l.showMore;else{var r,o=i(n);try{for(o.s();!(r=o.n()).done;){r.value.classList.remove("hidden")}}catch(t){o.e(t)}finally{o.f()}f.textContent=l.showLess}f.classList.toggle("less")})),e.append(f)}}}}};e.default=u},function(t,e,n){"use strict";function r(t){for(var e=Array.from(t),n=e.length-1;n>0;n-=1){var r=Math.floor(Math.random()*(n+1)),o=e[n];e[n]=e[r],e[r]=o}return e}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=document.querySelector("[data-sponsored-carousel]");
26if(!e)return!1;var n=Array.from(e.children).filter((function(t){return 1===t.nodeType&&"LI"===t.tagName}));if(n.length<=1)return!1;var o=Math.min(t.count||5,n.length),i=r(n).slice(0,o),a=new Set(i);return i.forEach((function(t){t.style.display="",t.removeAttribute("hidden"),t.classList.remove("is-sponsored-hidden"),e.appendChild(t)})),n.forEach((function(t){a.has(t)||(t.classList.add("is-sponsored-hidden"),t.setAttribute("hidden",""),t.style.setProperty("display","none","important"),e.appendChild(t))})),!0}Object.defineProperty(e,"__esModule",{value:!0}),e.randomizeSponsoredCarousel=o,e.default=void 0;var i={init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"undefined"!=typeof window&&(window.randomizeSponsoredCarousel=function(){return o(t)});var e=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;o(t)||n>=20||setTimeout((function(){return e(n+1)}),250)};e()}};e.default=i},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(42)),i=r(n(43));function a(t){return s.apply(this,arguments)}function s(){return(s=(0,i.default)(o.default.mark((function t(e){var n,r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(null===(n=navigator.clipboard)||void 0===n?void 0:n.writeText)){t.next=4;break}return t.next=3,navigator.clipboard.writeText(e);case 3:return t.abrupt("return");case 4:(r=document.createElement("textarea")).value=e,r.setAttribute("readonly",""),r.style.position="absolute",r.style.left="-9999px",document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r);case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var c=!1;function u(t,e){var n=t.querySelectorAll("[data-top-sessions-tab]"),r=t.querySelectorAll("[data-top-sessions-panel]");n.forEach((function(t){var n=t.dataset.topSessionsTab===e;t.setAttribute("aria-selected",n?"true":"false"),t.classList.toggle("is-active",n)})),r.forEach((function(t){var n=t.dataset.topSessionsPanel===e;t.classList.toggle("hidden",!n)}))}var l={init:function(t,e){var n;e.event,e.modal;!function(){var t=Array.from(document.querySelectorAll(".plan-radio-input"));if(t.length&&!document.body.classList.contains("subscription-plan--ready")){var e=function(e){t.forEach((function(t){t.checked=t.value===e}))};t.forEach((function(t){t.addEventListener("change",(function(t){e(t.target.value)}))}));var n=t.find((function(t){return t.checked}));e(n?n.value:"annual"),document.body.classList.add("subscription-plan--ready")}}(),c||(c=!0,document.addEventListener("click",function(){var t=(0,i.default)(o.default.mark((function t(e){var n,r,i,s,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.target.closest("[data-perk-copy]")){t.next=3;break}return t.abrupt("return");case 3:if(e.preventDefault(),i=r.closest("[data-perk-code-wrap]"),s=null==i?void 0:i.querySelector("[data-perk-code-input]"),c=null==s||null===(n=s.value)||void 0===n?void 0:n.trim()){t.next=9;break}return t.abrupt("return");case 9:return u=r.dataset.perkCopyLabel||r.textContent.trim()||"Copy",t.prev=10,t.next=13,a(c);case 13:t.next=32;break;case 15:if(t.prev=15,t.t0=t.catch(10),t.prev=17,!s){t.next=25;break}s.removeAttribute("readonly"),s.select(),document.execCommand("copy"),s.setAttribute("readonly",""),t.next=27;break;case 25:return t.next=27,a(c);case 27:t.next=32;break;case 29:return t.prev=29,t.t1=t.catch(17),t.abrupt("return");case 32:r.textContent="Copied!",window.setTimeout((function(){r.textContent=u}),2e3);case 34:case"end":return t.stop()}}),t,null,[[10,15],[17,29]])})));return function(e){return t.apply(this,arguments)}}())),(n=document.querySelector("[data-top-sessions]"))&&("true"!==n.dataset.topSessionsReady?(n.dataset.topSessionsReady="true",n.addEventListener("click",(function(t){var e=t.target.closest("[data-top-sessions-tab]");e&&n.contains(e)&&(t.preventDefault(),u(n,e.dataset.topSessionsTab))})),u(n,"sf")):u(n,"sf"))}};e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(50),o=null;function i(t,e){t.forEach((function(t){t.querySelectorAll("a").forEach((function(n){n.hash==="#".concat(e)?(n.setAttribute("aria-current","true"),function(t,e){if(!t||t.scrollHeight<=t.clientHeight)return;var n=e.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop,r
26=n+e.offsetHeight;n<t.scrollTop?t.scrollTop=n:r>t.scrollTop+t.clientHeight&&(t.scrollTop=r-t.clientHeight)}(t.closest("[data-toc-body]"),n)):n.removeAttribute("aria-current")}))}))}var a={init:function(){o&&(window.removeEventListener("scroll",o),o=null);var t=document.querySelector("[data-toc-content]"),e=Array.from(document.querySelectorAll("[data-toc-list]"));if(t&&e.length){var n=Array.from(t.querySelectorAll("h2"));n.length&&(function(t){var e=new Set;t.forEach((function(t){for(var n=t.id||(0,r.slugify)(t.textContent.trim())||"section",o=n,i=2;e.has(o);)o="".concat(n,"-").concat(i++);e.add(o),t.id=o}))}(n),e.forEach((function(t){return function(t,e){t.innerHTML="",e.forEach((function(e){var n=document.createElement("li"),r=document.createElement("a");r.href="#".concat(e.id),r.textContent=e.textContent.trim(),n.append(r),t.append(n)}))}(t,n)})),document.querySelectorAll("[data-toc-body]").forEach((function(t){return t.classList.remove("hidden")})),function(t){t.forEach((function(e){"true"!==e.dataset.tocBound&&(e.dataset.tocBound="true",e.addEventListener("click",(function(n){var r=n.target.closest("a");if(r&&e.contains(r)){var o=document.getElementById(r.hash.slice(1));if(o){n.preventDefault();var a=e.closest("details");a&&(a.open=!1);var s=o.getBoundingClientRect().top+window.scrollY-48;window.scrollTo({top:s,behavior:"smooth"}),history.replaceState(null,"",r.hash),i(t,o.id)}}})))}))}(e),function(t,e){var n=!1,r=null,a=function(){n=!1;var o=function(t){var e=t[0];return t.forEach((function(t){t.getBoundingClientRect().top<=120&&(e=t)})),e}(e).id;o!==r&&(r=o,i(t,o))};o=function(){n||(n=!0,window.requestAnimationFrame(a))},window.addEventListener("scroll",o,{passive:!0}),a()}(e,n))}}};e.default=a},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(424)),i=r(n(429));function a(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n(430);var c={init:function(t,e){e.event,window.JSi18n.FE.labels;var n,r="",s=document.querySelector("input[name=shareEmailtoken]");function c(t){if(n){var e=document.getElementsByClassName("tagify__tag"),r=([].slice.call(e),parseInt(document.getElementById("token-added").innerHTML));document.getElementById("token-added").innerHTML=r+1;var o=r+1;document.getElementById("shareSubmit").disabled=!1;var i=parseInt(document.getElementById("token-added").innerHTML),a=document.querySelectorAll(".tagify__tag"),s=a.length,c=s<1?"":a[s-1];i>n.settings.maxTags&&c.classList.add("to-much"),o>n.settings.maxTags&&(document.getElementById("shareSubmit").disabled=!0,document.getElementById("errorMessageShare").innerHTML=JSi18n.conference_session_share_error_noMoreShares||"<strong>No more shares left</strong>, only "+n.settings.maxTags+" are allowed for all conference videos!"),document.getElementsByClassName("tagify--notAllowed").length>0&&(document.getElementById("shareSubmit").disabled=!0,document.getElementById("errorMessageShare").innerHTML=JSi18n.conference_session_share_error_removeInvalid||"<strong>Remove invalid emails first!</strong>")}else document.getElementById("token-added").innerHTML=0}function u(t){document.getElementById("shareSubmit").disabled=!0,parseInt(document.getElementById("token-added").innerHTML)>=n.settings.maxTags?(document.getElementById("shareSubmit").disabled=!0,document.getElementById("errorMessageShare").innerHTML=JSi18
26n.conference_session_share_error_noMoreShares||"<strong>No more shares left</strong>, only "+n.settings.maxTags+" are allowed for all conference videos!"):document.getElementById("errorMessageShare").innerHTML=JSi18n.conference_session_share_error_removeInvalid||"<strong>Remove invalid emails first!</strong>"}function l(t){if(n){var e=document.getElementsByClassName("tagify__tag"),r=([].slice.call(e),parseInt(document.getElementById("token-added").innerHTML));t.detail.tag.classList.contains("tagify--notAllowed")||r--,document.getElementById("token-added").innerHTML=r,0==document.getElementsByClassName("tagify--notAllowed").length&&r<=n.settings.maxTags&&(document.getElementById("shareSubmit").disabled=!1,document.getElementById("errorMessageShare").innerHTML=""),document.getElementsByClassName("used").length==document.getElementsByClassName("tagify__tag").length&&(document.getElementById("shareSubmit").disabled=!0),0==n.value.length&&(document.getElementById("shareSubmit").disabled=!0)}else document.getElementById("token-added").innerHTML=0}infoq.initShareTokens=function(t,e,o,a){r=t,(n=new i.default(s,{pattern:/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,9}$/i,delimiters:/[\s|,]/gm,editTags:0,placeholder:"[email protected]",duplicates:!1,keepInvalidTags:!0,maxTags:parseInt(o),templates:{wrapper:function(t,e){return'<tags class="tagify '.concat(e.mode?"tagify--mix":""," ").concat(t.className,'" ').concat(e.readonly?"readonly":"",'>\n <span contenteditable data-placeholder="').concat(t.placeholder||"[email protected]",'" class="tagify__input"></span>\n </tags>')},tag:function(t,e){return"<tag contenteditable='false' spellcheck=\"false\" class='tagify__tag ".concat(e.class?e.class:"","' ").concat(this.getAttributes(e),">\n <x title='' class='tagify__tag__removeBtn'></x><div><span class='tagify__tag-text'>").concat(t,"</span></div>\n </tag>")}}})).on("add",c).on("remove",l).on("invalid",u);var f=t.split(",").filter((function(t){return-1!==e.split(",").indexOf(t)}));return t=(t=t.split(",").filter((function(t){return f.indexOf(t)<0}))).join(","),n.addTags(e).forEach((function(t){t&&t.classList.add("used"),t&&t.setAttribute("readonly","true")})),n.addTags(t),document.getElementById("token-added").innerHTML=a,document.getElementById("max-tokens").innerHTML=o,document.getElementById("shareSubmit").disabled=!0,n},infoq.parseJson=function(){if(n){var t,e=document.getElementsByClassName("tagify__tag"),i=(0,o.default)(Array.from(e)),s=[],c=a(i);try{for(c.s();!(t=c.n()).done;){var u=t.value;if(!u.classList.contains("tagify--notAllowed")){var l=u.outerHTML,f=l.indexOf('value="')+7,d=l.substring(f,l.length-1),p=d.indexOf('"');l=d.substring(0,p),s.push(l)}}}catch(t){c.e(t)}finally{c.f()}var h="";r.split(",");return s.forEach((function(t){h+=t+","})),h.substr(0,h.length-1)}}}};e.default=c},function(t,e,n){var r=n(425),o=n(426),i=n(427),a=n(428);t.exports=function(t){return r(t)||o(t)||i(t)||a()}},function(t,e,n){var r=n(157);t.exports=function(t){if(Array.isArray(t))return r(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e,n){var r=n(157);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(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")}()}
26var r="undefined"!=typeof InstallTrigger;function o(t){var e=Object.prototype.toString.call(t).split(" ")[1].slice(0,-1);return t===Object(t)&&"Array"!=e&&"Function"!=e&&"RegExp"!=e&&"HTMLUnknownElement"!=e}function i(t){var e=document.createElement("div");return t.replace(/\&#?[0-9a-z]+;/gi,(function(t){return e.innerHTML=t,e.innerText}))}function a(t){return(new DOMParser).parseFromString(t.trim(),"text/html").body.firstElementChild}function s(t){return t?t.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,(function(t,e){return e||" "})):""}function c(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/`|'/g,"'")}function u(t,e,n){function r(t,e){for(var n in e)e.hasOwnProperty(n)&&(o(e[n])?o(t[n])?r(t[n],e[n]):t[n]=Object.assign({},e[n]):t[n]=e[n])}return t instanceof Object||(t={}),r(t,e),n&&r(t,n),t}function l(t,e){if(!t)return console.warn("Tagify: ","invalid input element ",t),this;this.applySettings(t,e||{}),this.state={editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},u(this,new this.EventDispatcher(this)),this.build(t),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),t.autofocus&&this.DOM.input.focus()}return l.prototype={isIE:window.document.documentMode,TEXTS:{empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},DEFAULTS:{delimiters:",",pattern:null,maxTags:1/0,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,keepInvalidTags:!1,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,editTags:2,transformTag:function(){},autoComplete:{enabled:!0,rightKey:!1},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:[],fuzzySearch:!0,highlightFirst:!1,closeOnSelect:!0,position:"all"}},templates:{wrapper:function(t,e){return'<tags class="tagify '.concat(e.mode?"tagify--"+e.mode:""," ").concat(t.className,'"\n ').concat(e.readonly?'readonly aria-readonly="true"':'aria-haspopup="listbox" aria-expanded="false"','\n role="tagslist"\n tabIndex="-1">\n <span contenteditable data-placeholder="').concat(e.placeholder||"​",'" aria-placeholder="').concat(e.placeholder||"",'"\n class="tagify__input"\n role="textbox"\n aria-autocomplete="both"\n aria-multiline="').concat("mix"==e.mode,'"></span>\n </tags>')},tag:function(t,e){return'<tag title="'.concat(e.title||t,"\"\n contenteditable='false'\n spellcheck='false'\n tabIndex=\"-1\"\n class=\"tagify__tag ").concat(e.class?e.class:"",'"\n ').concat(this.getAttributes(e),">\n <x title='' class='tagify__tag__removeBtn' role='button' aria-label='remove tag'></x>\n <div>\n <span class='tagify__tag-text'>").concat(t,"</span>\n </div>\n </tag>")},dropdown:function(t){var e=t.dropdown,n="".concat("manual"==e.position?"":"tagify__dropdown tagify__dropdown--".concat(e.position)," ").concat(e.classname).trim();return'<div class="'.concat(n,'" role="listbox" aria-labelledby="dropdown">\n <div class="tagify__dropdown__wrapper"></div>\n </div>')},dropdownItem:function(t){return"<div ".concat(this.getAttributes(t),"\n class='tagify__dropdown__item ").concat(t.class?t.class:"",'\'\n tabindex="0"\n role="option">').concat(t.value,"</div>")}},customEventsList:["add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select"],applySettings:function(t,e){var n=this;if(this.DEFAULTS.templates=this.templates,this.settings=u({},this.DEFAULTS,e),this.settings.readonly=t.hasAttribute("readonly"),this.settings.placeholder=t.getAttribute("placeholder")||this.settings.placeholder||"",this.isIE&&(this.settings.autoComplete=!1),["whitelist","blacklist"].forEach((function(e){var r=t.getAttribute("data-"+e);r&&(r=r.split(n.settings.delimiters))instanceof Array&&(n.settings[e]=r)})),"autoComplete"in e&&!o(e.autoComplete)&&(this.settings.autoComplete=this.DEFAULTS.autoComplete,this.settings.autoComplete.enabled=e.autoComplete),t.pattern)try{this.settings.pattern=new RegExp(t.pattern)}catch(e){}if(this.settings.delimiters)try{this.settings.delimiters=new RegExp(this.settings.delimiters,"g")}catch(e){}"select"==this.settings.mode&&(this.settings.dropdown.enabled=0),"mix"==this.settings.mode&&(this.settings.autoComplete.rightKey=!0)},getAttributes:function(t){if("[object Object]"!=Object.prototype.toString.call(t))return"";var e,n,r=Object.keys(t),o="";for(n=r.length;n--;)"class"!=(e=r[n])&&t.hasOwnProperty(e)&&t[e]&&(o+=" "+e+(t[e]?'="'.concat(t[e],'"'):""));return o},getCaretGlobalPosition:function(){var t=document.getSelection();if(t.rangeCount){var e,n,r=t.getRangeAt(0),o=r.startContainer,i=r.startOffset;return 0<i?((n=document.createRange()).setStart(o,i-1),n.setEnd(o,i),{left:(e
26=n.getBoundingClientRect()).right,top:e.top,bottom:e.bottom}):o.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars:function(){var t,e,n=getComputedStyle(this.DOM.scope,null);this.CSSVars={tagHideTransition:(t=function(t){if(!t)return{};var e=(t=t.trim().split(" ")[0]).split(/\d+/g).filter((function(t){return t})).pop().trim();return{value:+t.split(e).filter((function(t){return t}))[0].trim(),unit:e}}(n.getPropertyValue("--tag-hide-transition")),e=t.value,"s"==t.unit?1e3*e:e)}},build:function(t){var e=this.DOM,n=this.settings.templates.wrapper(t,this.settings);e.originalInput=t,e.scope=a(n),e.input=e.scope.querySelector("[contenteditable]"),t.parentNode.insertBefore(e.scope,t),0<=this.settings.dropdown.enabled&&this.dropdown.init.call(this)},destroy:function(){this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide.call(this,!0),clearTimeout(this.dropdownHide__bindEventsTimeout)},loadOriginalValues:function(t){if(t=t||this.DOM.originalInput.value)if(this.removeAllTags(),"mix"==this.settings.mode)this.parseMixTags(t.trim());else{try{"string"!=typeof JSON.parse(t)&&(t=JSON.parse(t))}catch(t){}this.addTags(t).forEach((function(t){return t&&t.classList.add("tagify--noAnim")}))}},cloneEvent:function(t){var e={};for(var n in t)e[n]=t[n];return e},EventDispatcher:function(t){var e=document.createTextNode("");function n(t,n,r){r&&n.split(/\s+/g).forEach((function(n){return e[t+"EventListener"].call(e,n,r)}))}this.off=function(t,e){return n("remove",t,e),this},this.on=function(t,e){return e&&"function"==typeof e&&n("add",t,e),this},this.trigger=function(n,r){var o;if(n)if(t.settings.isJQueryPlugin)"remove"==n&&(n="removeTag"),jQuery(t.DOM.originalInput).triggerHandler(n,[r]);else{try{o=new CustomEvent(n,{detail:u({},r,{tagify:this})})}catch(n){console.warn(n)}e.dispatchEvent(o)}}},loading:function(t){return this.state.isLoading=t,this.DOM.scope.classList[t?"add":"remove"]("tagify--loading"),this},toggleFocusClass:function(t){this.DOM.scope.classList.toggle("tagify--focus",!!t)},events:{customBinding:function(){var t=this;this.customEventsList.forEach((function(e){t.on(e,t.settings.callbacks[e])}))},binding:function(t){var e,n=!(0<arguments.length&&void 0!==t)||t,r=this.events.callbacks,o=n?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!n)for(var i in(this.state.mainEvents=n)&&!this.listeners.main&&(this.DOM.input.addEventListener(this.isIE?"keydown":"input",r[this.isIE?"onInputIE":"onInput"].bind(this)),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),e=this.listeners.main=this.listeners.main||{focus:["input",r.onFocusBlur.bind(this)],blur:["input",r.onFocusBlur.bind(this)],keydown:["input",r.onKeydown.bind(this)],click:["scope",r.onClickScope.bind(this)],dblclick:["scope",r.onDoubleClickScope.bind(this)]}){if("blur"==i&&!n)return;this.DOM[e[i][0]][o](i,e[i][1])}},callbacks:{onFocusBlur:function(t){var e=t.target?t.target.textContent.trim():"",n=this.settings,o=t.type,i=0<=n.dropdown.enabled,a={relatedTarget:t.relatedTarget},s=t.relatedTarget&&t.relatedTarget.classList.contains("tagify__tag")&&this.DOM.scope.contains(t.relatedTarget),c=this.state.actions.selectOption&&(i||!n.dropdown.closeOnSelect),u=this.state.actions.addNew&&i;if(!s){if("blur"==o&&t.relatedTarget===this.DOM.scope)return this.dropdown.hide.call(this),void this.DOM.input.focus();if(!c&&!u)if(this.state.hasFocus="focus"==o&&+new Date,this.toggleFocusClass(this.state.hasFocus),this.setRangeAtStartEnd(!1),"mix"!=n.mode){if("focus"==o)return this.trigger("focus",a),void(0===n.dropdown.enabled&&"select"!=n.mode&&this.dropdown.show.call(this));"blur"==o&&(this.trigger("blur",a),this.loading(!1),("select"==this.settings.mode?!this.value.length||this.value[0].value!=e:e&&!this.state.actions.selectOption&&n.addTagOnBlur)&&this.addTags(e,!0)),this.DOM.input.removeAttribute("style"),this.dropdown.hide.call(this)}else if("focus"==o){if(r&&1==this.DOM.input.lastChild.nodeType)return this.DOM.input.appendChild(document.createTextNode("")),void this.setRangeAtStartEnd(!0);this.trigger("focus",a)}else"blur"==t.type&&(this.trigger("blur",a),this.loading(!1),this.dropdown.hide.call(this),this.state.dropdown.visible=void 0)}},onKeydown:function(t){var e=this,n=t.target.textContent.trim();if(this.trigger("keydown",{originalEvent:this.cloneEvent(t)}),"mix"==this.settings.mode){switch(t.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var r=document.getSelection(),o=i(this.DOM.input.innerHTML),a=this.getTagElms();3==r.anchorNode.nodeType&&!r.anchorNode.nodeValue&&r.anchorNode.previousElementSibling&&t.preventDefault(),setTimeout((function(){if(i(e.DOM.input.innerHTML).length>=o.length&&(e.removeTag(r.anchorNode.previousElementSibling),2==e.DOM.input.children.length&&"BR"==e.DOM.input.children[1].tagName))return e.DOM.input.innerHTML="",!(e.value.length=0);e.value=[].map.call(a,(function(t,n){var r=t.__tagifyTagData;if(t.parentNode)return r;e.trigger("remove",{tag:t,index:n,data:r})})).filter((function(t){return t}))}),50)}return!0}switch(t.key){case"Backspace":this.state.dropdown.visible||""!=n&&8203!=n.charCodeAt(0)||(!0===this.settings.backspace?this.removeTag():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;t.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show.call(this);break;case"ArrowRight":var s=this.state.inputSuggestion||this.state.ddItemData;if(s&&this.settings.autoComplete.rightKey)return void this.addTags([s],!0);break;case"Tab":if(!n||"select"==this.settings.mode)return!0;case"Enter":t.preventDefault(),setTimeout((function(){e.state.actions.selectOption||e.addTags(n,!0)}))}},onInput:function(t){var e="mix"==this.settings.mode?this.DOM.input.textContent:this.input.normalize.call(this),n=e.length>=this.settings.dropdown.enabled,r={value:e,inputElm:this.DOM.input};if("mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,t);r.isValid=this.validateTag({value:e}),this.trigger("input",r),e?this.input.value!=e&&(this.input.set.call(this,e,!1),-1!=e.search(this.settings.delimiters)?this.addTags(e)&&this.input.set.call(this):0<=this.settings.dropdown.enabled&&this.dropdown[n?"show":"hide"].call(this,e)):this.input.set.call(this,"")},onMixTagsInput:function(){var t,e,n,r,o,i,a,s,c=this,l=this.settings;if(this.value.length<this.getTagElms().length)return this.value=[].map.call(this.getTagElms(),(function(t){return t.__tagifyTagData})),void this.update();if(this.hasMaxTags())return!0;
26if(window.getSelection&&0<(a=window.getSelection()).rangeCount&&3==a.anchorNode.nodeType){if((t=a.getRangeAt(0).cloneRange()).collapse(!0),t.setStart(a.focusNode,0),r=(e=t.toString().slice(0,t.endOffset)).split(l.pattern).length-1,(n=e.match(l.pattern))&&(o=e.slice(e.lastIndexOf(n[n.length-1]))),o){this.state.actions.ArrowLeft=!1,this.state.tag={prefix:o.match(l.pattern)[0],value:o.replace(l.pattern,"")},this.state.tag.baseOffset=a.baseOffset-this.state.tag.value.length,i=this.state.tag.value.length>=l.dropdown.enabled;try{s=(s=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&s.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(t){}(s||r<this.state.mixMode.matchedPatternCount)&&(i=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=r}setTimeout((function(){c.update(),c.trigger("input",u({},c.state.tag,{textContent:c.DOM.input.textContent})),c.state.tag&&c.dropdown[i?"show":"hide"].call(c,c.state.tag.value)}),10)},onInputIE:function(t){var e=this;setTimeout((function(){e.events.callbacks.onInput.call(e,t)}))},onClickScope:function(t){var e,n=t.target.closest(".tagify__tag"),r=this.settings,o=new Date-this.state.hasFocus;if(t.target!=this.DOM.scope){if(!t.target.classList.contains("tagify__tag__removeBtn"))return n?(e=this.getNodeIndex(n),this.trigger("click",{tag:n,index:e,data:this.value[e],originalEvent:this.cloneEvent(t)}),void(1==this.settings.editTags&&this.events.callbacks.onDoubleClickScope.call(this,t))):void(t.target==this.DOM.input&&500<o?this.state.dropdown.visible?this.dropdown.hide.call(this):0===r.dropdown.enabled&&"mix"!=r.mode&&this.dropdown.show.call(this):"select"==r.mode&&(this.state.dropdown.visible||this.dropdown.show.call(this)));this.removeTag(t.target.parentNode)}else this.DOM.input.focus()},onEditTagInput:function(t,e){var n=t.closest(".tagify__tag"),r=this.getNodeIndex(n),o=this.input.normalize.call(this,t),i=o!=t.originalValue,a=this.validateTag({value:o});i||!0!==t.originalIsValid||(a=!0),n.classList.toggle("tagify--invalid",!0!==a),n.__tagifyTagData.__isValid=a,o.length>=this.settings.dropdown.enabled&&(this.state.editing.value=o,this.dropdown.show.call(this,o)),this.trigger("edit:input",{tag:n,index:r,data:u({},this.value[r],{newValue:o}),originalEvent:this.cloneEvent(e)})},onEditTagFocus:function(t){this.state.editing={scope:t,input:t.querySelector("[contenteditable]")}},onEditTagBlur:function(t){if(this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(t)){var e=t.closest(".tagify__tag"),n=this.input.normalize.call(this,t),r=n,o=r!=t.originalValue,i=u({},e.__tagifyTagData,{value:r}),a=this.validateTag(i);if(!n)return this.removeTag(e),void this.onEditTagDone(null,i);o?(this.settings.transformTag.call(this,i),!0===(a=this.validateTag(i))?this.onEditTagDone(e,i):this.trigger("invalid",{data:i,tag:e,message:a})):this.onEditTagDone(e,i)}},onEditTagkeydown:function(t,e){switch(this.trigger("edit:keydown",{originalEvent:this.cloneEvent(t)}),t.key){case"Esc":case"Escape":t.target.textContent=t.target.originalValue,e.__tagifyTagData=e.__tagifyTagData.__originalData;case"Enter":case"Tab":t.preventDefault(),t.target.blur()}},onDoubleClickScope:function(t){var e,n,r=t.target.closest("tag"),o=this.settings;r&&(e=r.classList.contains("tagify__tag--editable"),n=r.hasAttribute("readonly"),"select"==o.mode||o.readonly||e||n||!this.settings.editTags||this.editTag(r),this.toggleFocusClass(!0))}}},editTag:function(t,e){var n=this;e=e||{};var r=(t=t||this.getLastTag()).querySelector(".tagify__tag-text"),o=this.getNodeIndex(t),i=t.__tagifyTagData,a=this.events.callbacks,s=this,c=!0;if(r){if(!(i instanceof Object&&"editable"in i)||i.editable)return t.__tagifyTagData.__originalData=u({},i),t.classList.add("tagify__tag--editable"),r.originalValue=r.textContent,r.setAttribute("contenteditable",!0),r.addEventListener("focus",a.onEditTagFocus.bind(this,t)),r.addEventListener("blur",(function(){s.state.editing=!1,setTimeout(a.onEditTagBlur.bind(s),0,r)})),r.addEventListener("input",a.onEditTagInput.bind(this,r)),r.addEventListener("keydown",(function(e){return a.onEditTagkey
26down.call(n,e,t)})),r.focus(),this.setRangeAtStartEnd(!1,r),e.skipValidation||(c=this.editTagToggleValidity(t,i.value)),r.originalIsValid=c,this.trigger("edit:start",{tag:t,index:o,data:i,isValid:c}),this}else console.warn("Cannot find element in Tag template: ",".tagify__tag-text")},editTagToggleValidity:function(t){var e,n=t.__tagifyTagData;if(n)return e=!(!n.__isValid||1==n.__isValid),t.classList.toggle("tagify--invalid",e),n.__isValid;console.warn("tag has no data: ",t,n)},onEditTagDone:function(t,e){var n=this;e=e||{};var r={tag:t,index:this.getNodeIndex(t),data:e};this.trigger("edit:beforeUpdate",r),delete e.__originalData,t&&(this.editTagToggleValidity(t),this.replaceTag(t,e)),this.trigger("edit:updated",r),this.dropdown.hide.call(this),!0===e.__isValid&&this.getTagElms("tagify--notAllowed").forEach((function(t){var e=n.validateTag(t.__tagifyTagData);!0===e&&(t.__tagifyTagData.__isValid=e,delete n.state.editing.locked,n.replaceTag(t))}))},replaceTag:function(t,e){var n=this;e&&e.value||(e=t.__tagifyTagData),e.__isValid&&1!=e.__isValid&&u(e,this.getInvaildTagParams(e,e.__isValid));var r=this.createTagElem(e);this.state.editing.locked||(this.state.editing={locked:!0},setTimeout((function(){return delete n.state.editing.locked}),500),t.parentNode.replaceChild(r,t),this.updateValueByDOMTags())},updateValueByDOMTags:function(){var t=this;this.value=[],[].forEach.call(this.getTagElms(),(function(e){e.classList.contains("tagify--notAllowed")||t.value.push(e.__tagifyTagData)})),this.update()},setRangeAtStartEnd:function(t,e){e=(e=e||this.DOM.input).lastChild||e;var n=document.getSelection();n.rangeCount&&["Start","End"].forEach((function(r){return n.getRangeAt(0)["set"+r](e,t?0:e.length)}))},input:{value:"",set:function(t,e){var n=0<arguments.length&&void 0!==t?t:"",r=!(1<arguments.length&&void 0!==e)||e,o=this.settings.dropdown.closeOnSelect;this.input.value=n,r&&(this.DOM.input.innerHTML=n),!n&&o&&setTimeout(this.dropdown.hide.bind(this),20),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},validate:function(){var t=!this.input.value||this.validateTag({value:this.input.value});"select"==this.settings.mode?this.DOM.scope.classList.toggle("tagify--invalid",!0!==t):this.DOM.input.classList.toggle("tagify__input--invalid",!0!==t)},normalize:function(t){var e=t||this.DOM.input,n=[];e.childNodes.forEach((function(t){return 3==t.nodeType&&n.push(t.nodeValue)})),n=n.join("\n");try{n=n.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(t){}return n=n.replace(/\s/g," ").replace(/^\s+/,"")},autocomplete:{suggest:function(t){if(this.settings.autoComplete.enabled){"string"==typeof(t=t||{})&&(t={value:t});var e=t.value||"",n=e.substr(0,this.input.value.length).toLowerCase(),r=e.substring(this.input.value.length);e&&this.input.value&&n==this.input.value.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",r),this.state.inputSuggestion=t):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set:function(t){var e=this.DOM.input.getAttribute("data-suggest"),n=t||(e?this.input.value+e:null);return!!n&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+n)):(this.input.set.call(this,n),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide.call(this),!0)}}},getNodeIndex:function(t){var e=0;if(t)for(;t=t.previousElementSibling;)e++;return e},getTagElms:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=[".tagify__tag"].concat(e).join(".");return this.DOM.scope.querySelectorAll(r)},getLastTag:function(){var t=this.DOM.scope.querySelectorAll("tag:not(.tagify--hide):not([readonly])");return t[t.length-1]},isTagDuplicate:function(t){return"select"!=this.settings.mode&&this.value.reduce((function(e,n){return t.trim().toLowerCase()===n.value.toLowerCase()?e+1:e}),0)},getTagIndexByValue:function(t){var e=[];return this.getTagElms().forEach((function(n,r){n.textContent.trim().toLowerCase()==t.toLowerCase()&&e.push(r)})),e},getTagElmByValue:function(t){var e=this.getTagIndexByValue(t)[0];return this.getTagElms()[e]},markTagByValue:function(t,e){return!!(e=e||this.getTagElmByValue(t))&&(e.classList.add("tagify--mark"),setTimeout((function(){e.classList.remove("tagify--mark")}),100),e)},isTagBlacklisted:function(t){return t=t.toLowerCase().trim(),this.settings.blacklist.filter((function(e){return t==e.toLowerCase()})).length},isTagWhitelisted:function(t){return this.settings.whitelist.some((function(e){return"string"==typeof t?t.trim().toLowerCase()===(e.value||e).toLowerCase():JSON.stringify(e).toLowerCase()===JSON.stringify(t).toLowerCase()}))},validateTag:function(t){var e=t.value.trim(),n=this.settings,r=!0;return e?n.pattern&&n.pattern instanceof RegExp&&!n.pattern.test(e)?r=this.TEXTS.pattern:!n.duplicates&&this.isTagDuplicate(e)?r=this.TEXTS.duplicate:(this.isTagBlacklisted(e)||n.enforceWhitelist&&!this.isTagWhitelisted(e))&&(r=this.TEXTS.notAllowed):r=this.TEXTS.empty,r},getInvaildTagParams:function(t,e){return{"aria-invalid":!0,class:(t.class||"")+" tagify--notAllowed",title:e}},hasMaxTags:function(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},normalizeTags:function(r){function o(t){return(t+"").split(c).filter((function(t){return t})).map((function(t){return{value:t.trim()}}))}var i,a=this.settings,s=a.whitelist,c=a.delimiters,u=a.mode,l=!!s&&s[0]instanceof Object,f=r instanceof Array,d=f&&r[0]instanceof Object&&"value"in r[0],p=[];if(d)return(i=[]).concat.apply(i,n(r.map((function(n){return o(n.value).map((function(r){return function(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};
26r%2?t(o,!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(o).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))}))}return n}({},n,{},r)}))}))));if("number"==typeof r&&(r=r.toString()),"string"==typeof r){if(!r.trim())return[];r=o(r)}else if(f){var h;r=(h=[]).concat.apply(h,n(r.map((function(t){return o(t)}))))}return l&&(r.forEach((function(t){var e=s.filter((function(e){return e.value.toLowerCase()==t.value.toLowerCase()}));e[0]?p.push(e[0]):"mix"!=u&&p.push(t)})),r=p),r},parseMixTags:function(t){var e=this,n=this.settings,r=n.mixTagsInterpolator,o=n.duplicates,i=n.transformTag,a=n.enforceWhitelist,s=[];return t=t.split(r[0]).map((function(t,n){var c,u,l=t.split(r[1]),f=l[0];try{c=JSON.parse(f)}catch(t){c=e.normalizeTags(f)[0]}if(!(1<l.length)||a&&!e.isTagWhitelisted(c.value)||!o&&e.isTagDuplicate(c.value)){if(t)return n?r[0]+t:t}else i.call(e,c),u=e.createTagElem(c),s.push(c),u.classList.add("tagify--noAnim"),l[0]=u.outerHTML,e.value.push(c);return l.join("")})).join(""),this.DOM.input.innerHTML=t,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach((function(t,e){return t.__tagifyTagData=s[e]})),this.update(),t},replaceTextWithNode:function(t,e){if(this.state.tag||e){e=e||this.state.tag.prefix+this.state.tag.value;var n,r,o=this.state.selection||window.getSelection(),i=o.anchorNode;return i.splitText(o.anchorOffset),n=i.nodeValue.lastIndexOf(e),(r=i.splitText(n)).nodeValue=r.nodeValue.replace(e,""),i.parentNode.insertBefore(t,r),this.DOM.input.normalize(),r}},selectTag:function(t,e){return this.input.set.call(this,e.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this)),this.getLastTag()?this.replaceTag(this.getLastTag(),e):this.appendTag(t),this.value[0]=e,this.trigger("add",{tag:t,data:e}),this.update(),[t]},addEmptyTag:function(){var t={value:""},e=this.createTagElem(t);e.__tagifyTagData=t,this.appendTag(e),this.editTag(e,{skipValidation:!0})},addTags:function(t,e,n){var r,o=this,i=2<arguments.length&&void 0!==n?n:this.settings.skipInvalid,a=[],s=this.settings;return t&&0!=t.length?(t=this.normalizeTags(t),this.state.editing.scope?(t[0].__isValid=!0,this.onEditTagDone(this.state.editing.scope,t[0])):"mix"==s.mode?(s.transformTag.call(this,t[0]),r=this.createTagElem(t[0]),this.replaceTextWithNode(r)||this.DOM.input.appendChild(r),this.DOM.input.appendChild(document.createTextNode("")),setTimeout((function(){return r.classList.add("tagify--noAnim")}),300),t[0].prefix=t[0].prefix||this.state.tag?this.state.tag.prefix:(s.pattern.source||s.pattern)[0],this.value.push(t[0]),this.update(),this.state.tag=null,this.trigger("add",u({},{tag:r},{data:t[0]})),this.DOM.input.appendChild(document.createTextNode("")),r):("select"==s.mode&&(e=!1),this.DOM.input.removeAttribute("style"),t.forEach((function(t){var e,n={};if(t=Object.assign({},t),s.transformTag.call(o,t),t.__isValid=o.hasMaxTags()||o.validateTag(t),!0!==t.__isValid){if(i)return;u(n,o.getInvaildTagParams(t,t.__isValid)),t.__isValid==o.TEXTS.duplicate&&o.markTagByValue(t.value)}if(n.role="tag",t.readonly&&(n["aria-readonly"]=!0),(e=o.createTagElem(u({},t,n))).__tagifyTagData=t,a.push(e),"select"==s.mode)return o.selectTag(e,t);o.appendTag(e),t.__isValid&&!0===t.__isValid?(o.value.push(t),o.update(),o.trigger("add",{tag:e,index:o.value.length-1,data:t})):(o.trigger("invalid",{data:t,index:o.value.length,tag:e,message:t.__isValid}),s.keepInvalidTags||setTimeout((function(){return o.removeTag(e,!0)}),1e3)),o.dropdown.position.call(o)})),t.length&&e&&this.input.set.call(this),this.dropdown.refilter.call(this),a)):("select"==s.mode&&this.removeAllTags(),a)},appendTag:function(t){var e=this.DOM.scope.lastElementChild;e===this.DOM.input?this.DOM.scope.insertBefore(t,e):this.DOM.scope.appendChild(t)},createTagElem:function(t){var e,n=c(t.value),r=this.settings.templates.tag.call(this,n,t);return this.settings.readonly&&(t.readonly=!0),(e=a(r=s(r))).__tagifyTagData=t,e},reCheckInvalidTags:function(){var t=this,e=this.DOM.scope.querySelectorAll(".tagify__tag.tagify--notAllowed");[].forEach.call(e,(function(e){var n=e.__tagifyTagData,r=e.getAttribute("title")==t.TEXTS.duplicate,o=!0===t.validateTag(n);r&&o&&(n.__isValid=!0,t.replaceTag(e,n))}))},removeTag:function(t,e,n){var r;
26if(t=t||this.getLastTag(),n=n||this.CSSVars.tagHideTransition,"string"==typeof t&&(t=this.getTagElmByValue(t)),t instanceof HTMLElement){var o=this,i=this.getNodeIndex(t);"select"==this.settings.mode&&(n=0,this.input.set.call(this)),t.classList.contains("tagify--notAllowed")&&(e=!0),n&&10<n?(t.style.width=parseFloat(window.getComputedStyle(t).width)+"px",document.body.clientTop,t.classList.add("tagify--hide"),setTimeout(a,n)):a()}function a(){t.parentNode&&(r=t.__tagifyTagData,t.parentNode.removeChild(t),e?o.settings.keepInvalidTags&&o.trigger("remove",{tag:t,index:i}):(-1<i&&o.value.splice(i,1),o.update(),o.trigger("remove",{tag:t,index:i,data:r}),o.dropdown.refilter.call(o),o.dropdown.position.call(o),o.settings.keepInvalidTags&&o.reCheckInvalidTags()))}},removeAllTags:function(){this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":Array.prototype.slice.call(this.getTagElms()).forEach((function(t){return t.parentNode.removeChild(t)})),this.dropdown.position.call(this),"select"==this.settings.mode&&this.input.set.call(this),this.update()},removeValueById:function(){},preUpdate:function(){this.DOM.scope.classList.toggle("tagify--hasMaxTags",this.value.length>=this.settings.maxTags),this.DOM.scope.classList.toggle("tagify--noTags",!this.value.length)},update:function(){this.preUpdate();var t=function(t,e){return t.map((function(t){var e={};for(var n in t)"__isValid"!=n&&(e[n]=t[n]);return e}))}(this.value);this.DOM.originalInput.value="mix"==this.settings.mode?this.getMixedTagsAsString(t):this.value.length?JSON.stringify(t):"",this.DOM.originalInput.dispatchEvent(new CustomEvent("change"))},getMixedTagsAsString:function(t){var e="",n=0,o=t,i=this.settings.mixTagsInterpolator;return function t(a){a.childNodes.forEach((function(a){if(1==a.nodeType){if(a.classList.contains("tagify__tag"))return void(e+=i[0]+JSON.stringify(o[n++])+i[1]);r&&"BR"==a.tagName?e+="\r\n":"DIV"==a.tagName&&(e+="\r\n",t(a))}else e+=a.textContent}))}(this.DOM.input),e},getNodeHeight:function(t){var e,n=t.cloneNode(!0);return n.style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(n),e=n.clientHeight,n.parentNode.removeChild(n),e},dropdown:{init:function(){this.DOM.dropdown=a(this.settings.templates.dropdown(this.settings)),this.DOM.dropdown.content=this.DOM.dropdown.querySelector(".tagify__dropdown__wrapper")},show:function(t){var e,n,r,i,a=this,c=this.settings,u=window.getSelection(),l="mix"==c.mode&&!c.enforceWhitelist,f=!c.whitelist||!c.whitelist.length,d="manual"==c.dropdown.position;if(!(f&&!l||!1===c.dropdown.enable||this.state.isLoading)){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems.call(this,t),this.suggestedListItems.length)t&&l&&!this.state.editing.scope&&!function(t,e){return t.toLowerCase()==e.toLowerCase()}(this.suggestedListItems[0].value,t)&&this.suggestedListItems.unshift({value:t});else{if(!t||!l||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide.call(this);this.suggestedListItems=[{value:t}]}r=o(n=this.suggestedListItems[0])?n.value:n,c.autoComplete&&r&&0==r.indexOf(t)&&this.input.autocomplete.suggest.call(this,n),e=this.dropdown.createListHTML.call(this,this.suggestedListItems),this.DOM.dropdown.content.innerHTML=s(e),(c.enforceWhitelist&&!d||c.dropdown.highlightFirst)&&this.dropdown.highlightOption.call(this,this.DOM.dropdown.content.children[0]),this.DOM.scope.setAttribute("aria-expanded",!0),this.trigger("dropdown:show",this.DOM.dropdown),this.state.dropdown.visible=t||!0,this.state.selection={anchorOffset:u.anchorOffset,anchorNode:u.anchorNode},this.dropdown.position.call(this),document.body.contains(this.DOM.dropdown)||(d||(this.events.binding.call(this,!1),i=this.getNodeHeight(this.DOM.dropdown),this.DOM.dropdown.classList.add("tagify__dropdown--initial"),this.dropdown.position.call(this,i),document.body.appendChild(this.DOM.dropdown),setTimeout((function(){return a.DOM.dropdown.classList.remove("tagify__dropdown--initial")}))),setTimeout(this.dropdown.events.binding.bind(this)))}},hide:function(t){var e=this.DOM,n=e.scope,r=e.dropdown,o="manual"==this.settings.dropdown.position&&!t;r&&document.body.contains(r)&&!o&&(window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),clearTimeout(this.dropdownHide__bindEventsTimeout),this.dropdownHide__bindEventsTimeout=setTimeout(this.events.binding.bind(this),250),n.setAttribute("aria-expanded",!1),r.parentNode.removeChild(r),this.state.dropdown.visible=!1,this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",r))},refilter:function(){this.suggestedListItems=this.dropdown.filterListItems.call(this,"");var t=this.dropdown.createListHTML.call(this,this.suggestedListItems);this.DOM.dropdown.content.innerHTML=s(t),this.trigger("dropdown:updated",this.DOM.dropdown)},position:function(t){var e,n,r,o,i,a,s=this.DOM.dropdown;this.state.dropdown.visible&&(a="text"==this.settings.dropdown.position?(o=(n=this.getCaretGlobalPosition()).bottom,r=n.top,i=n.left,"auto"):(r=(n=this.DOM.scope.getBoundingClientRect()).top,o=n.bottom-1,i=n.left,n.width+"px"),r=Math.floor(r),o=Math.ceil(o),e=document.documentElement.clientHeight-o<(t||s.clientHeight),s.style.cssText="left:"+(i+window.pageXOffset)+"px; width:"+a+";"+(e?"bottom:"+(document.documentElement.clientHeight-r-window.pageYOffset-2)+"px;":"top: "+(o+window.pageYOffset)+"px"),s.setAttribute("placement",e?"top":"bottom"))},events:{binding:function(t){var e=!(0<arguments.length&&void 0!==t)||t,n=this.dropdown.events.callbacks,r=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:n.onKeyDown.bind(this),onMouseOver:n.onMouseOver.bind(this),onMouseLeave:n.onMouseLeave.bind(this),onClick:n.onClick.bind(this),onScroll:n.onScroll.bind(this)},o=e?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(window[o]("resize",r.position),window[o]("keydown",r.onKeyDown)),this.DOM.dropdown[o]("mouseover",r.onMouseOver),this.DOM.dropdown[o]("mouseleave",r.onMouseLeave),this.DOM.dropdown[o]("mousedown",r.onClick),this.DOM.dropdown.content[o]("scroll",r.onScroll),this.DOM[this.listeners.main.click[0]][o]("click",this.listeners.main.click[1])},callbacks:{onKeyDown:function(t){var e=this.DOM.dropdown.querySelector("[class$='--active']"),n=e;switch(t.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":var r;t.preventDefault(),n=(n=n&&n[("ArrowUp"==t.key||"Up"==t.key?"previous":"next")+"ElementSibling"])||(r=this.DOM.dropdown.content.children)["ArrowUp"==t.key||"Up"==t.key?r.length-1:0],this.dropdown.highlightOption.call(this,n,!0);break;case"Escape":case"Esc":this.dropdown.hide.call(this);break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&!this.settings.autoComplete.rightKey){try{var o=n?n.textContent:this.suggestedListItems[0].value;this.input.autocomplete.set.call(this,o)}catch(t){}return!1}case"Enter":t.preventDefault(),this.dropdown.selectOption.call(this,e);break;case"Backspace":if("mix"==this.settings.mode||this.state.editing.scope)return;var i=this.input.value.trim();""!=i&&8203!=i.charCodeAt(0)||(!0===this.settings.backspace?this.removeTag():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}},onMouseOver:function(t){var e=t.target.closest(".tagify__dropdown__item");e&&this.dropdown.highlightOption.call(this,e)},onMouseLeave:function(){this.dropdown.highlightOption.call(this)},onClick:function(t){if(0==t.button&&t.target!=this.DOM.dropdown){var e=t.target.closest(".tagify__dropdown__item");t.target.closest(".tagify__dropdown__addNewBtn"),e&&this.dropdown.selectOption.call(this,e)}},onScroll:function(t){var e=t.target,n=e.scrollTop/(e.scrollHeight-e.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(n)})}}},highlightOption:function(t,e){var n,r="tagify__dropdown__item--active";if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(r),this.state.ddItemElm.removeAttribute("aria-selected")),!t)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);n=this.suggestedListItems[this.getNodeIndex(t)],this.state.ddItemData=n,(this.state.ddItemElm=t).classList.add(r),t.setAttribute("aria-selected",!0),e&&(t.parentNode.scrollTop=t.clientHeight+t.offsetTop-t.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,n),"manual"!=this.settings.dropdown.position&&this.dropdown.position.call(this))},selectOption:function(t){var e=this;if(t){this.state.actions.selectOption=!0,setTimeout((function(){return e.state.actions.selectOption=!1}),50);var n=this.settings.dropdown.closeOnSelect,r=this.suggestedListItems[this.getNodeIndex(t)]||this.input.value;this.trigger("dropdown:select",r),this.addTags([r],!0),this.state.editing||setTimeout((function(){e.DOM.input.focus(),e.toggleFocusClass(!0)})),n&&this.dropdown.hide.call(this)}},filterListItems:function(t){var e,n,r,i,a=this,s=this.settings,c=[],u=s.whitelist,l=s.dropdown.maxItems||1/0,f=s.dropdown.searchKeys.concat(["searchBy","value"]),d=0;if(!t)return(s.duplicates?u:u.filter((function(t){return!a.isTagDuplicate(o(t)?t.value:t)}))).slice(0,l);for(;d<u.length&&(e=u[d]instanceof Object?u[d]:{value:u[d]},r=f.reduce((function(t,n){return t+" "+(e[n]||"")}),"").toLowerCase().indexOf(t.toLowerCase()),n=s.dropdown.fuzzySearch?0<=r:0==r,i=!s.duplicates&&this.isTagDuplicate(o(e)?e.value:e),n&&!i&&l--&&c.push(e),0!=l);d++);return c},createListHTML:function(t){var e=this;return t.map((function(t){"string"==typeof t&&(t={value:t});var n=e.settings.dropdown.mapValueTo,r=u({},t,{value:c((n?"function"==typeof n?n(t):t[n]:t.value)||"")});return e.settings.templates.dropdownItem.call(e,r)})).join("")}}},l})?r.apply(e,o):r)||(t.exports=i)},function(t,e){!function(){if(String.prototype.includes||(String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),"function"!=typeof window.CustomEvent){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");
26return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o<n;){var i=e[o];if(t.call(r,i,o,e))return o;o++}return-1},configurable:!0,writable:!0}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),document.execCommand("AutoUrlDetect",!1,!1),"".trim||(String.prototype.trim=function(){return this.replace(/^[\s]+|[\s]+$/g,"")}),function(t){function e(t,e){if(""===e)throw new DOMException("Failed to execute '"+t+"' on 'DOMTokenList': The token provided must not be empty.");if(-1!==(i=e.search(o)))throw new DOMException("Failed to execute '"+t+"' on 'DOMTokenList': The token provided ('"+e[i]+"') contains HTML space characters, which are not valid in tokens.")}t.DOMException||((DOMException=function(t){this.message=t}).prototype=new Error);var n,r,o=/[\11\12\14\15\40]/,i=0;"function"!=typeof DOMTokenList&&function(t){var n=t.document,r=t.Object,i=r.prototype.hasOwnProperty,a=r.defineProperty,s=0,c=0;function u(){if(!s)throw TypeError("Illegal constructor")}function l(){var e=t.event,n=e.propertyName;if(!c&&("className"===n||"classList"===n&&!a)){var r=e.srcElement,i=r[" uCLp"],s=""+r[n],u=s.trim().split(o),l=r["classList"===n?" uCL":"classList"],f=i.length;t:for(var d=0,p=i.length=u.length,h=0;d!==p;++d){for(var v=0;v!==d;++v)if(u[v]===u[d]){h++;continue t}l[d-h]=u[d]}for(var m=p-h;m<f;++m)delete l[m];if("classList"!==n)return;c=1,r.classList=l,r.className=s,c=0,l.length=u.length-h}}function f(t){if(!t||!("innerHTML"in t))throw TypeError("Illegal invocation");t.detachEvent("onpropertychange",l),s=1;try{function e(){}e.prototype=new u}finally{s=0}var n=e.prototype,r=new e;t:for(var i=t.className.trim().split(o),f=0,d=i.length,p=0;f!==d;++f){for(var h=0;h!==f;++h)if(i[h]===i[f]){p++;continue t}this[f-p]=i[f]}n.length=d-p,n.value=t.className,n[" uCL"]=t,a?(a(t,"classList",{enumerable:1,get:function(){return r},configurable:0,set:function(e){c=1,t.className=n.value=e+="",c=0;var i=e.trim().split(o),a=n.length;t:for(var s=0,u=n.length=i.length,l=0;s!==u;++s){for(var f=0;f!==s;++f)if(i[f]===i[s]){l++;continue t}r[s-l]=i[s]}for(var d=u-l;d<a;++d)delete r[d]}}),a(t," uCLp",{enumerable:0,configurable:0,writeable:0,value:e.prototype}),a(n," uCL",{enumerable:0,configurable:0,writeable:0,value:t})):(t.classList=r,t[" uCL"]=r,t[" uCLp"]=e.prototype),t.attachEvent("onpropertychange",l)}u.prototype.toString=u.prototype.toLocaleString=function(){return this.value},u.prototype.add=function(){t:for(var t=0,n=arguments.length,r="",o=this[" uCL"],i=o[" uCLp"];t!==n;++t){e("add",r=arguments[t]+"");for(var a=0,s=i.length,u=r;a!==s;++a){if(this[a]===r)continue t;u+=" "+this[a]}this[s]=r,i.length+=1,i.value=u}c=1,o.className=i.value,c=0},u.prototype.remove=function(){for(var t=0,n=arguments.length,r="",o=this[" uCL"],i=o[" uCLp"];t!==n;++t){e("remove",r=arguments[t]+"");for(var a=0,s=i.length,u="",l=0;a!==s;++a)l?this[a-1]=this[a]:this[a]!==r?u+=this[a]+" ":l=1;l&&(delete this[s],i.length-=1,i.value=u)}c=1,o.className=i.value,c=0},t.DOMTokenList=u;try{t.Object.defineProperty(t.Element.prototype,"classList",{enumerable:1,get:function(t){return i.call(this,"classList")||f(this),this.classList},configurable:0,set:function(t){this.className=t}})}catch(r){t[" uCL"]=f,n.documentElement.firstChild.appendChild(n.createElement("style")).styleSheet.cssText='_*{x-uCLp:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}[class]{x-uCLp/**/:expression(!this.hasOwnProperty("classList")&&window[" uCL"](this))}'}}(t),n=t.DOMTokenList.prototype,r=t.document.createElement("div").classList,n.item||(n.item=function(t){return void 0===(e=this[t])?null:e;var e}),n.toggle&&!1===r.toggle("a",0)||(n.toggle=function(t){if(1<arguments.length)return this[arguments[1]?"add":"remove"](t),!!arguments[1];var e=this.value;return this.remove(e),e===this.value&&(this.add(t),!0)}),n.replace&&"boolean"==typeof r.replace("a","b")||(n.replace=function(t,n){e("replace",t),e("replace",n
26);var r=this.value;return this.remove(t),this.value!==r&&(this.add(n),!0)}),n.contains||(n.contains=function(t){for(var e=0,n=this.length;e!==n;++e)if(this[e]===t)return!0;return!1}),n.forEach||(n.forEach=function(t){if(1===arguments.length)for(var e=0,n=this.length;e!==n;++e)t(this[e],e,this);else{e=0,n=this.length;for(var r=arguments[1];e!==n;++e)t.call(r,this[e],e,this)}}),n.entries||(n.entries=function(){var t=this;return{next:function(){return 0<t.length?{value:[0,t[0]],done:!1}:{done:!0}}}}),n.values||(n.values=function(){var t=this;return{next:function(){return 0<t.length?{value:t[0],done:!1}:{done:!0}}}}),n.keys||(n.keys=function(){var t=this;return{next:function(){return 0<t.length?{value:0,done:!1}:{done:!0}}}})}(window)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(50);function o(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a={init:function(t,e){var n=document.querySelector('article[data-type="article"]');if(n&&n.querySelector("#with-toc")){var i=document.body,a=document.createElement("div");a.id="toc";var s=document.createElement("div");s.id="tocContent";var c,u=n.querySelectorAll(".article__data h2"),l=n.querySelector("h1"),f=o(u);try{for(f.s();!(c=f.n()).done;){var d=c.value,p=(0,r.slugify)(d.textContent);d.id=p;var h=document.createElement("a");h.textContent=d.textContent,h.setAttribute("href","#".concat(p)),s.append(h)}}catch(t){f.e(t)}finally{f.f()}var v=document.createElement("h3");v.textContent="Table of Contents",s.prepend(v);var m=document.createElement("h5");m.textContent=l.textContent;var g=document.createElement("button");g.classList.add("button__unstyled"),g.classList.add("arrow__right"),g.classList.add("button__arrow"),g.textContent="Table of Contents",g.addEventListener("click",(function(){i.classList.toggle("tocOpen")})),a.append(g),a.append(m),i.append(s),i.append(a),document.addEventListener("click",(function(t){i.classList.contains("tocOpen")&&(s.contains(t.target)||a.contains(t.target)||i.classList.remove("tocOpen"))})),setTimeout((function(){i.classList.add("tocShow")}),1500)}}};e.default=a},function(t,e,n){"use strict";function r(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}
26Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=".field:not([".concat('aria-required="false"',"])"),a={validate:function(t,e,n){var o,i=!1,a=r(t);try{for(a.s();!(o=a.n()).done;){var s=o.value,c=s.parentNode,u=s.nodeName,l=s.value;if("false"!==c.getAttribute("aria-required")&&"false"!==s.getAttribute("aria-required")){var f=!1,d=-1;"SELECT"===u&&(d=Number(l),f=Number.isInteger(d)),!l||f&&d<0?(i=!0,c.classList.add("field--error")):c.classList.remove("field--error")}}}catch(t){a.e(t)}finally{a.f()}return i&&n&&e.preventDefault(),!i},init:function(t){var e=this;this.config=t;var n=document.querySelectorAll("form");if(n.length){var o,a=r(n);try{var s=function(){var t=o.value,n=t.querySelectorAll(["".concat(i,' input[type="text"]'),"".concat(i,' input[type="password"]'),"".concat(i," select")]);if(!n||!n.length)return"continue";var r=t.querySelector('input[type="submit"]');if(!r)return"continue";r.addEventListener("click",(function(o){if(!r||!r.disabled)return setTimeout((function(){var e=t.querySelector(".field--error");e&&e.scrollIntoView()}),250),e.validate(n,o,t.classList.contains("login__form"))}))};for(a.s();!(o=a.n()).done;)s()}catch(t){a.e(t)}finally{a.f()}}}};e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={init:function(){var t=document.getElementById("video");document.fullscreenEnabled=document.fullscreenEnabled||document.mozFullScreenEnabled||document.documentElement.webkitRequestFullScreen,document.onkeydown=function(e){32!==(e||window.event).keyCode||"input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase()||document.activeElement.classList.contains("tagify__input")||(t.paused?t.play():t.pause(),e.preventDefault())},document.onkeyup=function(e){77!==(e||window.event).keyCode||"input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase()||document.activeElement.classList.contains("tagify__input")?39!==(e||window.event).keyCode||"input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase()||document.activeElement.classList.contains("tagify__input")?37!==(e||window.event).keyCode||"input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase()||document.activeElement.classList.contains("tagify__input")?70!==(e||window.event).keyCode||"input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase()||document.activeElement.classList.contains("tagify__input")||document.fullscreenEnabled&&function(t){t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}(t):t.currentTime-=10:t.currentTime+=10:t.muted?t.muted=!1:t.muted=!0};var e=document.querySelectorAll("[data-video-card]");e.length&&e.forEach((function(t){var e=t.querySelector("[data-video-overlay]"),n=e?e.querySelector("iframe"):null,r=e?e.querySelector("[data-video-close]"):null;if(e&&n){var o=t.getAttribute("data-video-url")||n.getAttribute("data-src")||n.getAttribute("src");if(o){n.setAttribute("data-src",o),n.removeAttribute("src");t.addEventListener("click",(function(t){var r;t.target.closest("[data-video-close]")||(r=o.includes("?")?o+"&autoplay=1":o+"?autoplay=1",n.setAttribute("src",r),e.classList.remove("hidden"))})),r&&r.addEventListener("click",(function(t){t.stopPropagation(),e.classList.add("hidden"),n.setAttribute("src","")}))}}}))}};e.default=r},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(435)),i={init:function(t,e){(0,o.default)(".zoom-image",{scrollOffset:200,container:"#zoom-container"})}};e.default=i},function(t,e,n){"use strict";n.r(e); 27/*! medium-zoom 1.0.5 | MIT License | https://github.com/francoischalifour/medium-zoom */ 28var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t){return"IMG"===t.tagName},i=function(t){return t&&1===t.nodeType},a=function(t){return".svg"===(t.currentSrc||t.src).substr(-4).toLowerCase()},s=function(t){try{return Array.isArray(t)?t.filter(o):function(t){return NodeList.prototype.isPrototypeOf(t)}(t)?[].slice.call(t).filter(o):i(t)?[t].filter(o):"string"==typeof t?[].slice.call(document.querySelectorAll(t)).filter(o):[]}
vendor: 8,604 bytes, line 28
28catch(t){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},c=function(t){var e=document.createElement("div");return e.classList.add("medium-zoom-overlay"),e.style.background=t,e},u=function(t){var e=t.getBoundingClientRect(),n=e.top,r=e.left,o=e.width,i=e.height,a=t.cloneNode(),s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=n+s+"px",a.style.left=r+c+"px",a.style.width=o+"px",a.style.height=i+"px",a.style.transform="",a},l=function(t,e){var n=r({bubbles:!1,cancelable:!1,detail:void 0},e);if("function"==typeof window.CustomEvent)return new CustomEvent(t,n);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),o};!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}"),e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=window.Promise||function(t){function e(){}t(e,e)},f=function(t){var e=t.target;e!==M?-1!==T.indexOf(e)&&x({target:e}):_()},d=function(){if(!A&&C.original){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(k-t)>I.scrollOffset&&setTimeout(_,150)}},p=function(t){var e=t.key||t.keyCode;"Escape"!==e&&"Esc"!==e&&27!==e||_()},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t;if(t.background&&(M.style.background=t.background),t.container&&t.container instanceof Object&&(e.container=r({},I.container,t.container)),t.template){var n=i(t.template)?t.template:document.querySelector(t.template);e.template=n}return I=r({},I,e),T.forEach((function(t){t.dispatchEvent(l("medium-zoom:update",{detail:{zoom:j}}))})),j},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(r({},I,e))},m=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return[].concat(t,s(e))}),[]);return r.filter((function(t){return-1===T.indexOf(t)})).forEach((function(t){T.push(t),t.classList.add("medium-zoom-image")})),L.forEach((function(t){var e=t.type,n=t.listener,o=t.options;r.forEach((function(t){t.addEventListener(e,n,o)}))})),j},g=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];C.zoomed&&_();var r=e.length>0?e.reduce((function(t,e){return[].concat(t,s(e))}),[]):T;return r.forEach((function(t){t.classList.remove("medium-zoom-image"),t.dispatchEvent(l("medium-zoom:detach",{detail:{zoom:j}}))})),T=T.filter((function(t){return-1===r.indexOf(t)})),j},y=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return T.forEach((function(r){r.addEventListener("medium-zoom:"+t,e,n)})),L.push({type:"medium-zoom:"+t,listener:e,options:n}),j},b=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return T.forEach((function(r){r.removeEventListener("medium-zoom:"+t,e,n)})),L=L.filter((function(n){return!(n.type==="medium-zoom:"+t&&n.listener.toString()===e.toString())})),j},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=function(){var t={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},e=void 0,n=void 0;if(I.container)if(I.container instanceof Object)e=(t=r({},t,I.container)).width-t.left-t.right-2*I.margin,n=t.height-t.top-t.bottom-2*I.margin;else{var o=(i(I.container)?I.container:document.querySelector(I.container)).getBoundingClientRect(),s=o.width,c=o.height,u=o.left,l=o.top;t=r({},t,{width:s,height:c,left:u,top:l})}e=e||t.width-2*I.margin,n=n||t.height-2*I.margin;var f=C.zoomedHd||C.original,d=a(f)?e:f.naturalWidth||e,p=a(f)?n:f.naturalHeight||n,h=f.getBoundingClientRect(),v=h.top,m=h.left,g=h.width,y=h.height,b=Math.min(d,e)/g,w=Math.min(p,n)/y,_=Math.min(b,w),x="scale("+_+") translate3d("+((e-g)/2-m+I.margin+t.left)/_+"px, "+((n-y)/2-v+I.margin+t.top)/_+"px, 0)";C.zoomed.style.transform=x,C.zoomedHd&&(C.zoomedHd.style.transform=x)};return new o((function(t){if(e&&-1===T.indexOf(e))t(j);else{if(C.zoomed)t(j);else{if(e)C.original=e;else{if(!(T.length>0))return void t(j);var r=T;C.original=r[0]}if(C.original.dispatchEvent(l("medium-zoom:open",{detail:{zoom:j}})),k=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,A=!0,C.zoomed=u(C.original),document.body.appendChild(M),I.template){var o=i(I.template)?I.template:document.querySelector(I.template);C.template=document.createElement("div"),C.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(C.template)}if(document.body.appendChild(C.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),C.original.classList.add("medium-zoom-image--hidden"),C.zoomed.classList.add("medium-zoom-image--opened"),C.zoomed.addEventListener("click",_),C.zoomed.addEventListener("transitionend",(function e(){A=!1,C.zoomed.removeEventListener("transitionend",e),C.original.dispatchEvent(l("medium-zoom:opened",{detail:{zoom:j}})),t(j)})),C.original.getAttribute("data-zoom-src")){C.zoomedHd=C.zoomed.cloneNode(),C.zoomedHd.removeAttribute("srcset"),C.zoomedHd.removeAttribute("sizes"),C.zoomedHd.src=C.zoomed.getAttribute("data-zoom-src"),C.zoomedHd.onerror=function(){clearInterval(a),console.warn("Unable to reach the zoom image target "+C.zoomedHd.src),C.zoomedHd=null,n()};var a=setInterval((function(){C.zoomedHd.complete&&(clearInterval(a),C.zoomedHd.classList.add("medium-zoom-image--opened"),C.zoomedHd.addEventListener("click",_),document.body.appendChild(C.zoomedHd),n())}),10)}else if(C.original.hasAttribute("srcset")){C.zoomedHd=C.zoomed.cloneNode(),C.zoomedHd.removeAttribute("sizes");var s=C.zoomedHd.addEventListener("load",(function(){C.zoomedHd.removeEventListener("load",s),C.zoomedHd.classList.add("medium-zoom-image--opened"),C.zoomedHd.addEventListener("click",_),document.body.appendChild(C.zoomedHd),n()}))}else n()}}}))},_=function(){return new o((function(t){if(!A&&C.original){A=!0,document.body.classList.remove("medium-zoom--opened"),C.zoomed.style.transform="",C.zoomedHd&&(C.zoomedHd.style.transform=""),C.template&&(C.template.style.transition="opacity 150ms",C.template.style.opacity=0),C.original.dispatchEvent(l("medium-zoom:close",{detail:{zoom:j}})),C.zoomed.addEventListener("transitionend",(function e(){C.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(C.zoomed),C.zoomedHd&&document.body.removeChild(C.zoomedHd),document.body.removeChild(M),C.zoomed.classList.remove("medium-zoom-image--opened"),C.template&&document.body.removeChild(C.template),A=!1,C.zoomed.removeEventListener("transitionend",e),C.original.dispatchEvent(l("medium-zoom:closed",{detail:{zoom:j}})),C.original=null,C.zoomed=null,C.zoomedHd=null,C.template=null,t(j)}))}else t(j)}))},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target;return C.original?_():w({target:e})},E=function(){return I},S=function(){return T},O=function(){return C.original},T=[],L=[],A=!1,k=0,I=n,C={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(e)?I=e:(e||"string"==typeof e)&&m(e),I=r({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},I);var M=c(I.background);document.addEventListener("click",f),document.addEventListener("keyup",p),document.addEventListener("scroll",d),window.addEventListener("resize",_);var j={open:w,close:_,toggle:x,update:h,clone:v,attach:m,detach:g,on:y,off:b,getOptions:E,getImages:S,getZoomedImage:O};return j}},function(t,e,n){"use strict";var r=n(6);
28Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,i=r(n(68)),a={modules:(o={headerEvents:{},subscription:{},sponsoredCarausel:{count:5},promoBar:{},dropdowns:{openClass:"dropdown--open"},tabs:{trending:{activeIndex:0},educational:{activeIndex:0}},closeables:{elements:[".section.promo",".section.subscribe-box",".announcement",".pop.box",".reply__box"]},conferenceLinks:{},zoomImages:{},player:{},resizeEvent:{breakpoints:[768,1023]},tagify:{},searchBar:{},notifications:{},single:{limitAuthors:{count:2}},forms:{gdpr:!0},authorSection:{},burger:{},onboarding:{},picks:{},profile:{},searchTopics:{},popularBox:{defaultToShow:5},bookmark:{},poppers:{modules:{cards:{placement:"bottom-start",showShortBio:!1},vcr:{placement:"top-start",removeOnDestroy:!0},relatedTopics:{placement:"top-start"},commentsList:{placement:"auto-right"},eaSchedule:{placement:"top-center",removeOnDestroy:!0}}},privacy:{},login:{},follow:{endpoint:"fandl",showMoreItems:10,zones:{user:[{selector:["article .authors [data-id]"]},{selector:[".notifications ul.authors [data-id]",".architects ul.authors [data-id]"]}],topic:[{selector:[".related__for-topic[data-id]",".header__nav .subnav__content"],size:"large"},{selector:[".topics_tac.topics"],createFromScratch:!0},{selector:["section.topics .heading__actions.heading__container"],size:"large",placement:"topicPageHeader"}]}},like:{endpoint:"fandl",content:{},comment:{}},"guides-slider":{},modals:{},validations:{},carousel:{selector:".slider",duration:500,autoPlay:!0,loop:!0,onInit:function(){}}},(0,i.default)(o,"carousel",{selector:".slider",duration:500,autoPlay:!0,loop:!0,onInit:function(){}}),(0,i.default)(o,"carouselContr",{selector:".slider-contr",duration:500,autoPlay:!0,loop:!0,onInit:function(){}}),(0,i.default)(o,"video",{}),(0,i.default)(o,"mobile-vcr",{}),(0,i.default)(o,"toc",{}),(0,i.default)(o,"tableOfContents",{}),(0,i.default)(o,"_experiments/mustWatchSlider",{}),o)};e.default=a},function(t,e,n){"use strict";function r(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function o(t){if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e?e.defaultView:window}return t}function i(t){var e=o(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function a(t){return t instanceof o(t).Element||t instanceof Element}function s(t){return t instanceof o(t).HTMLElement||t instanceof HTMLElement}function c(t){return t?(t.nodeName||"").toLowerCase():null}function u(t){return(a(t)?t.ownerDocument:t.document).documentElement}function l(t){return r(u(t)).left+i(t).scrollLeft}function f(t,e,n){var a;void 0===n&&(n=!1);var f,d,p=r(t),h={scrollLeft:0,scrollTop:0},v={x:0,y:0};return n||("body"!==c(e)&&(h=(f=e)!==o(f)&&s(f)?{scrollLeft:(d=f).scrollLeft,scrollTop:d.scrollTop}:i(f)),s(e)?((v=r(e)).x+=e.clientLeft,v.y+=e.clientTop):(a=u(e))&&(v.x=l(a))),{x:p.left+h.scrollLeft-v.x,y:p.top+h.scrollTop-v.y,width:p.width,height:p.height}}function d(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function p(t){return"html"===c(t)?t:t.parentNode||t.host||document.ownerDocument||document.documentElement}function h(t){return o(t).getComputedStyle(t)}function v(t,e){void 0===e&&(e=[]);var n=function t(e){if(["html","body","#document"].indexOf(c(e))>=0)return e.ownerDocument.body;if(s(e)){var n=h(e),r=n.overflow,o=n.overflowX,i=n.overflowY;if(/auto|scroll|overlay|hidden/.test(r+i+o))return e}return t(p(e))}(t),r="body"===c(n),i=r?o(n):n,a=e.concat(i);return r?a:a.concat(v(p(i)))}function m(t){return["table","td","th"].indexOf(c(t))>=0}function g(t){return s(t)&&"fixed"!==h(t).position?t.offsetParent:null}function y(t){for(var e=o(t),n=g(t);n&&m(n);)n=g(n);return n&&"body"===c(n)&&"static"===h(n).position?e:n||e}n.r(e),n.d(e,"createPopper",(function(){return et})),n.d(e,"popperGenerator",(function(){return I})),n.d(e,"defaultModifiers",(function(){return tt})),n.d(e,"detectOverflow",(function(){return Y}));var b="top",w="bottom",_="right",x="left",E=[b,w,_,x],S=E.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}
vendor: 14,765 bytes, line 28
28),[]),O=[].concat(E,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),T=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function L(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=e.get(r);o&&t(o)}})),r.push(o)}(t)})),r}var A={placement:"bottom",modifiers:[],strategy:"absolute"};function k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function I(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,o=e.defaultOptions,i=void 0===o?A:o;return function(t,e,n){void 0===n&&(n=i);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},A,{},i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],l=!1,p={state:c,setOptions:function(n){h(),c.options=Object.assign({},i,{},c.options,{},n),c.scrollParents={reference:a(t)?v(t):t.contextElement?v(t.contextElement):[],popper:v(e)};var o=function(t){var e=L(t);return T.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,{},e,{options:Object.assign({},n.options,{},e.options),data:Object.assign({},n.data,{},e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(r,c.options.modifiers)));return c.orderedModifiers=o.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var i=o({state:c,name:e,instance:p,options:r});u.push(i||function(){})}})),p.update()},forceUpdate:function(){if(!l){var t=c.elements,e=t.reference,n=t.popper;if(k(e,n)){c.rects={reference:f(e,y(n),"fixed"===c.options.strategy),popper:d(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,u=o.name;"function"==typeof i&&(c=i({state:c,options:s,name:u,instance:p})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){p.forceUpdate(),t(c)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){h(),l=!0}};if(!k(t,e))return p;function h(){u.forEach((function(t){return t()})),u=[]}return p.setOptions(n).then((function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)})),p}}var C={passive:!0};function M(t){return t.split("-")[0]}function j(t){return t.split("-")[1]}function P(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function N(t){var e,n=t.reference,r=t.element,o=t.placement,i=o?M(o):null,a=o?j(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case b:e={x:s,y:n.y-r.height};break;case w:e={x:s,y:n.y+n.height};break;case _:e={x:n.x+n.width,y:c};break;case x:e={x:n.x-r.width,y:c};break;default:e={x:n.x,y:n.y}}var u=i?P(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case"start":e[u]=Math.floor(e[u])-Math.floor(n[l]/2-r[l]/2);break;case"end":e[u]=Math.floor(e[u])+Math.ceil(n[l]/2-r[l]/2)}}return e}var D={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F(t){var e,n=t.popper,r=t.popperRect,i=t.placement,a=t.offsets,s=t.position,c=t.gpuAcceleration,l=t.adaptive,f=function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:Math.round(e*r)/r||0,y:Math.round(n*r)/r||0}}(a),d=f.x,p=f.y,h=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),m=x,g=b,E=window;if(l){var S=y(n);S===o(n)&&(S=u(n)),i===b&&(g=w,p-=S.clientHeight-r.height,p*=c?1:-1),i===x&&(m=_,d-=S.clientWidth-r.width,d*=c?1:-1)}var O,T=Object.assign({position:s},l&&D);return c?Object.assign({},T,((O={})[g]=v?"0":"",O[m]=h?"0":"",O.transform=(E.devicePixelRatio||1)<2?"translate("+d+"px, "+p+"px)":"translate3d("+d+"px, "+p+"px, 0)",O)):Object.assign({},T,((e={})[g]=v?p+"px":"",e[m]=h?d+"px":"",e.transform="",e))}var q={left:"right",right:"left",bottom:"top",top:"bottom"};function B(t){return t.replace(/left|right|bottom|top/g,(function(t){return q[t]}))}var R={start:"end",end:"start"};function H(t){return t.replace(/start|end/g,(function(t){return R[t]}))}function U(t){return parseFloat(t)||0}function z(t){var e=o(t),n=function(t){var e=s(t)?h(t):{};return{top:U(e.borderTopWidth),right:U(e.borderRightWidth),bottom:U(e.borderBottomWidth),left:U(e.borderLeftWidth)}}(t),r="html"===c(t),i=l(t),a=t.clientWidth+n.right,u=t.clientHeight+n.bottom;return r&&e.innerHeight-t.clientHeight>50&&(u=e.innerHeight-n.bottom),{top:r?0:t.clientTop,right:t.clientLeft>n.left?n.right:r?e.innerWidth-a-i:t.offsetWidth-a,bottom:r?e.innerHeight-u:t.offsetHeight-u,left:r?i:t.clientLeft}}function W(t,e){var n=Boolean(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(n){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $(t,e){return"viewport"===e?V(function(t){var e=o(t);return{width:e.innerWidth,height:e.innerHeight,x:0,y:0}}(t)):s(e)?r(e):V(function(t){var e=o(t),n=i(t),r=f(u(t),e);return r.height=Math.max(r.height,e.innerHeight),r.width=Math.max(r.width,e.innerWidth),r.x=-n.scrollLeft,r.y=-n.scrollTop,r}(u(t)))}function G(t,e,n){var r="clippingParents"===e?function(t){var e=v(t),n=["absolute","fixed"].indexOf(h(t).position)>=0&&s(t)?y(t):t;return a(n)?e.filter((function(t){return a(t)&&W(t,n)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(e,n){var r=$(t,n),o=z(s(n)?n:u(t));return e.top=Math.max(r.top+o.top,e.top),e.right=Math.min(r.right-o.right,e.right),e.bottom=Math.min(r.bottom-o.bottom,e.bottom),e.left=Math.max(r.left+o.left,e.left),e}),$(t,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function X(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},t)}function J(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Y(t,e){void 0===e&&(e={});var n=e,o=n.placement,i=void 0===o?t.placement:o,s=n.boundary,c=void 0===s?"clippingParents":s,l=n.rootBoundary,f=void 0===l?"viewport":l,d=n.elementContext,p=void 0===d?"popper":d,h=n.altBoundary,v=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,y=X("number"!=typeof g?g:J(g,E)),x="popper"===p?"reference":"popper",S=t.elements.reference,O=t.rects.popper,T=t.elements[v?x:p],L=G(a(T)?T:T.contextElement||u(t.elements.popper),c,f),A=r(S),k=N({reference:A,element:O,strategy:"absolute",placement:i}),I=V(Object.assign({},O,{},k)),C="popper"===p?I:A,M={top:L.top-C.top+y.top,bottom:C.bottom-L.bottom+y.bottom,left:L.left-C.left+y.left,right:C.right-L.right+y.right},j=t.modifiersData.offset;if("popper"===p&&j){var P=j[i];Object.keys(M).forEach((function(t){var e=[_,w].indexOf(t)>=0?1:-1,n=[b,w].indexOf(t)>=0?"y":"x";M[t]+=P[n]*e}))}return M}function K(t,e,n){return Math.max(t,Math.min(e,n))}function Q(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Z(t){return[b,_,w,x].some((function(e){return t[e]>=0}))}var tt=[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,a=void 0===i||i,s=r.resize,c=void 0===s||s,u=o(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&l.forEach((function(t){t.addEventListener("scroll",n.update,C)})),c&&u.addEventListener("resize",n.update,C),function(){a&&l.forEach((function(t){t.removeEventListener("scroll",n.update,C)})),c&&u.removeEventListener("resize",n.update,C)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=N({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s={placement:M(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};e.styles.popper=Object.assign({},e.styles.popper,{},F(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a}))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,{},F(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];s(o)&&c(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:"absolute",left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});s(r)&&c(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=void 0===o?[0,0]:o,a=O.reduce((function(t,n){return t[n]=function(t,e,n){var r=M(t),o=[x,b].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[x,_].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,i),t}),{}),s=a[e.placement],c=s.x,u=s.y;e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u,e.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.fallbackPlacements,i=n.padding,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.flipVariations,l=void 0===u||u,f=e.options.placement,d=M(f),p=o||(d===f||!l?[B(f)]:function(t){if("auto"===M(t))return[];var e=B(t);return[H(t),e,H(e)]}(f)),h=[f].concat(p).reduce((function(t,n){return t.concat("auto"===M(n)?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=j(r),u=(c?s?S:S.filter((function(t){return j(t)===c})):E).reduce((function(e,n){return e[n]=Y(t,{placement:n,boundary:o,rootBoundary:i,padding:a})[M(n)],e}),{});return Object.keys(u).sort((function(t,e){return u[t]-u[e]}))}(e,{placement:n,boundary:a,rootBoundary:s,padding:i,flipVariations:l}):n)}),[]),v=e.rects.reference,m=e.rects.popper,g=new Map,y=!0,O=h[0],T=0;T<h.length;T++){var L=h[T],A=M(L),k="start"===j(L),I=[b,w].indexOf(A)>=0,C=I?"width":"height",P=Y(e,{placement:L,boundary:a,rootBoundary:s,altBoundary:c,padding:i}),N=I?k?_:x:k?w:b;v[C]>m[C]&&(N=B(N));var D=B(N),F=[P[A]<=0,P[N]<=0,P[D]<=0];if(F.every((function(t){return t}))){O=L,y=!1;break}g.set(L,F)}if(y)for(var q=function(t){var e=h.find((function(e){var n=g.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},R=l?3:1;R>0;R--){if("break"===q(R))break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,h=void 0===p||p,v=n.tetherOffset,m=void 0===v?0:v,g=Y(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),E=M(e.placement),S=j(e.placement),O=!S,T=P(E),L="x"===T?"y":"x",A=e.modifiersData.popperOffsets,k=e.rects.reference,I=e.rects.popper,C="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,N={x:0,y:0};if(i){var D="y"===T?b:x,F="y"===T?w:_,q="y"===T?"height":"width",B=A[T],R=A[T]+g[D],H=A[T]-g[F],U=h?-I[q]/2:0,z="start"===S?k[q]:I[q],W="start"===S?-I[q]:-k[q],V=e.elements.arrow,$=h&&V?d(V):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=G[D],J=G[F],Q=K(0,k[q],$[q]),Z=O?k[q]/2-U-Q-X-C:z-Q-X-C,tt=O?-k[q]/2+U+Q+J+C:W+Q+J+C,et=e.elements.arrow&&y(e.elements.arrow),nt=et?"y"===T?et.clientTop||0:et.clientLeft||0:0,rt=e.modifiersData.offset?e.modifiersData.offset[e.placement][T]:0,ot=A[T]+Z-rt-nt,it=A[T]+tt-rt,at=K(h?Math.min(R,ot):R,B,h?Math.max(H,it):H);A[T]=at,N[T]=at-B}if(s){var st="x"===T?b:x,ct="x"===T?w:_,ut=A[L],lt=K(ut+g[st],ut,ut-g[ct]);e.modifiersData.popperOffsets[L]=lt,N[L]=lt-ut}e.modifiersData[r]=N},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=M(n.placement),s=P(a),c=[x,_].indexOf(a)>=0?"height":"width";if(o){var u=n.modifiersData[r+"#persistent"].padding,l=d(o),f="y"===s?b:x,p="y"===s?w:_,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],v=i[s]-n.rects.reference[s],m=n.elements.arrow&&y(n.elements.arrow),g=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,E=h/2-v/2,S=u[f],O=g-l[c]-u[p],T=g/2-l[c]/2+E,L=K(S,T,O),A=s;n.modifiersData[r]=((e={})[A]=L,e.centerOffset=L-T,e)}},effect:function(t){var e=t.state,n=t.options,r=t.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&W(e.elements.popper,i)&&(e.elements.arrow=i,e.modifiersData[r+"#persistent"]={padding:X("number"!=typeof s?s:J(s,E))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Y(e,{elementContext:"reference"}),s=Y(e,{altBoundary:!0}),c=Q(a,r),u=Q(s,o,i),l=Z(c),f=Z(u);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}],et=I({defaultModifiers:tt})}]);
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.