1/* start of /views/drenthe2017/js/zoeken-autocomplete.js (as is) */ 2(function(){"use strict";var e;(e=jQuery)((function(){return e(".header .type-zoeken, .canvas.facetzoeker .type-formulier").unlessProcessed("zoeken-autocomplete-form-inheader").initAutoComplete()})),e(window).smartresize((function(){e(".ui-autocomplete").hide()})),pageLoadFunctions.push((function(t){return e(".grid-container:not(.grid-ppccatalog) .z-results .type-formulier form",t).unlessProcessed("zoeken-autocomplete-form-onpage").initAutoComplete()})),e.widget("custom.catcomplete",e.ui.autocomplete,{_create:function(){this._super()},_renderMenu:function(t,o){var a,r;r=this,a="",e.each(o,(function(e,o){var i;o.category&&o.category!==a&&(o.categoryId?t.append('<li class=ui-autocomplete-category><a href="'+r.element.closest("form").attr("action")+"?Zoe_Selected_facet:Informatietype="+o.categoryId+"&Zoe="+r.element.val()+'">'+window.iprox.referenceLists.getText(o.category,"zoeken")+"</a></li>"):"zoeksuggesties"===o.category?t.append("<li class=ui-autocomplete-suggestion data-ui-autocomplete-item=true>"+window.iprox.referenceLists.getText(o.category,"zoeken")+"</li>"):t.append("<li class=ui-autocomplete-category>"+window.iprox.referenceLists.getText(o.category,"zoeken")+"</li>"),a=o.category),i=r._renderItemData(t,o),o.category&&i.attr("aria-label",window.iprox.referenceLists.getText(o.category,"zoeken")+" : "+o.label).addClass("has-category category-"+o.category),o.type&&i.addClass("has-type type-"+o.type)}))},_renderItem:function(t,o){var a;return a=String(o.value).replace(new RegExp(this.term,"gi"),"<span class='ui-state-highlight'>$&</span>"),o.img&&(a='<img src="'+o.img+'" title="'+o.value+'"/>'+a),e("<li></li>").data("item.autocomplete",o).append("<a>"+a+"</a>").appendTo(t)}}),e.fn.initAutoComplete=function(){return e('input[name="zoeken_term"]',this).attr("autocomplete","off").catcomplete({source:function(t,o){e.ajax({url:"/?AppIdt=zoeken-autocomplete&zoeken_term="+t.term+"&SitIdt="+sitIdt,dataType:"JSON",success:function(e){o(e.results.result)}})},select:function(t,o){o.item.url?document.location=o.item.url:("keyword"!==o.item.type&&"suggestion"!==o.item.type||e(this).val(o.item.value),e(this).closest("form").trigger("submit"))}})}}).call(this); 3/* end of /views/drenthe2017/js/zoeken-autocomplete.js */ 4/* start of /js/lib/underscore-min.js (as is) */ 5!function(n,r){var t,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,t=n._,(e=n._=r()).noConflict=function(){return n._=t,e})}(this,(function(){var n="1.13.4",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},t=Array.prototype,e=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),b=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u<t;u++)e[u]=arguments[u+r];switch(r){case 0:return n.call(this,e);case 1:return n.call(this,arguments[0],e);case 2:return n.call(this,arguments[0],arguments[1],e)}var o=Array(r+1);for(u=0;u<r;u++)o[u]=arguments[u];return o[r]=e,n.apply(this,o)}}function _(n){var r=typeof n;return"function"===r||"object"===r&&!!n}function w(n){return void 0===n}function A(n){return!0===n||!1===n||"[object Boolean]"===a.call(n)}function x(n){var r="[object "+n+"]";return function(n){return a.call(n)===r}}var S=x("String"),O=x("Number"),M=x("Date"),E=x("RegExp"),B=x("Error"),N=x("Symbol"),I=x("ArrayBuffer"),T=x("Function"),k=r.document&&r.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof k&&(T=function(n){return"function"==typeof n||!1});var D=T,R=x("Object"),F=l&&R(new DataView(new ArrayBuffer(8))),V="undefined"!=typeof Map&&R(new Map),P=x("DataView"),q=F?function(n){return null!=n&&D(n.getInt8)&&I(n.buffer)}:P,U=s||x("Array");function W(n,r){return null!=n&&f.call(n,r)}var z=x("Arguments");!function(){z(arguments)||(z=function(n){return W(n,"callee")})}();var L=z;function $(n){return O(n)&&y(n)}function C(n){return function(){return n}}function K(n){return function(r){var t=n(r);return"number"==typeof t&&t>=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J("byteLength"),H=K(G),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J("length");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e<t;++e)r[n[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(t){return r[t]=!0,n.push(t)}}}(r);var t=b.length,u=n.constructor,o=D(u)&&u.prototype||e,i="constructor";for(W(n,i)&&!r.contains(i)&&r.push(i);t--;)(i=b[t])in n&&n[i]!==o[i]&&!r.contains(i)&&r.push(i)}function nn(n){if(!_(n))return[];if(p)return p(n);var r=[];for(var t in n)W(n,t)&&r.push(t);return g&&Z(n,r),r}function rn(n,r){var t=nn(r),e=t.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=t[o];if(r[i]!==u[i]||!(i in u))return!1}return!0}function tn(n){return n instanceof tn?n:this instanceof tn?void(this._wrapped=n):new tn(n)}function en(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,G(n))}tn.VERSION=n,tn.prototype.value=function(){return this._wrapped},tn.prototype.valueOf=tn.prototype.toJSON=tn.prototype.value,tn.prototype.toString=function(){return String(this._wrapped)};var un="[object DataView]";function on(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(null==n||null==r)return!1;if(n!=n)return r!=r;var o=typeof n;return("function"===o||"object"===o||"object"==typeof r)&&function n(r,t,e,o){r instanceof tn&&(r=r._wrapped),t instanceof tn&&(t=t._wrapped);var i=a.call(r);if(i!==a.call(t))return!1;if(F&&"[object Object]"==i&&q(r)){if(!q(t))return!1;i=un}switch(i){case"[object RegExp]":case"[object String]":return""+r==""+t;case"[object Number]":return+r!=+r?+t!=+t:0==+r?1/+r==1/t:+r==+t;case"[object Date]":case"[object Boolean]":return+r==+t;case"[object Symbol]":return u.valueOf.call(r)===u.valueOf.call(t);case"[object ArrayBuffer]":case un:return n(en(r),en(t),e,o)}var f="[object Array]"===i;if(!f&&X(r)){if(G(r)!==G(t))return!1;if(r.buffer===t.buffer&&r.byteOffset===t.byteOffset)return!0;f=!0}if(!f){if("object"!=typeof r||"object"!=typeof t)return!1;var c=r.constructor,l=t.constructor;if(c!==l&&!(D(c)&&c instanceof c&&D(l)&&l instanceof l)&&"constructor"in r&&"constructor"in t)return!1}o=o||[];for(var s=(e=e||[]).length;s--;)if(e[s]===r)return o[s]===t;if(e.push(r),o.push(t),f){if((s=r.length)!==t.length)return!1;for(;s--;)if(!on(r[s],t[s],e,o))return!1}else{var p,v=nn(r);if(s=v.length,nn(t).length!==s)return!1;for(;s--;)if(!W(t,p=v[s])||!on(r[p],t[p],e,o))return!1}return e.pop(),o.pop(),!0}(n,r,t,e)}function an(n){if(!_(n))return[];var r=[];for(var t in n)r.push(t);return g&&Z(n,r),r}function fn(n){var r=Y(n);return function(t){if(null==t)return!1;var e=an(t);
vendor: 5,240 bytes, line 5
5if(Y(e))return!1;for(var u=0;u<r;u++)if(!D(t[n[u]]))return!1;return n!==vn||!D(t[cn])}}var cn="forEach",ln=["clear","delete"],sn=["get","has","set"],pn=ln.concat(cn,sn),vn=ln.concat(sn),hn=["add"].concat(ln,cn,"has"),yn=V?fn(pn):x("Map"),dn=V?fn(vn):x("WeakMap"),gn=V?fn(hn):x("Set"),bn=x("WeakSet");function mn(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function jn(n){for(var r={},t=nn(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function _n(n){var r=[];for(var t in n)D(n[t])&&r.push(t);return r.sort()}function wn(n,r){return function(t){var e=arguments.length;if(r&&(t=Object(t)),e<2||null==t)return t;for(var u=1;u<e;u++)for(var o=arguments[u],i=n(o),a=i.length,f=0;f<a;f++){var c=i[f];r&&void 0!==t[c]||(t[c]=o[c])}return t}}var An=wn(an),xn=wn(nn),Sn=wn(an,!0);function On(n){if(!_(n))return{};if(v)return v(n);var r=function(){};r.prototype=n;var t=new r;return r.prototype=null,t}function Mn(n){return U(n)?n:[n]}function En(n){return tn.toPath(n)}function Bn(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function Nn(n,r,t){var e=Bn(n,En(r));return w(e)?t:e}function In(n){return n}function Tn(n){return n=xn({},n),function(r){return rn(r,n)}}function kn(n){return n=En(n),function(r){return Bn(r,n)}}function Dn(n,r,t){if(void 0===r)return n;switch(null==t?3:t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,u){return n.call(r,t,e,u)};case 4:return function(t,e,u,o){return n.call(r,t,e,u,o)}}return function(){return n.apply(r,arguments)}}function Rn(n,r,t){return null==n?In:D(n)?Dn(n,r,t):_(n)&&!U(n)?Tn(n):kn(n)}function Fn(n,r){return Rn(n,r,1/0)}function Vn(n,r,t){return tn.iteratee!==Fn?tn.iteratee(n,r):Rn(n,r,t)}function Pn(){}function qn(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}tn.toPath=Mn,tn.iteratee=Fn;var Un=Date.now||function(){return(new Date).getTime()};function Wn(n){var r=function(r){return n[r]},t="(?:"+nn(n).join("|")+")",e=RegExp(t),u=RegExp(t,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var zn={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ln=Wn(zn),$n=Wn(jn(zn)),Cn=tn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Kn=/(.)^/,Jn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Gn=/\\|'|\r|\n|\u2028|\u2029/g;function Hn(n){return"\\"+Jn[n]}var Qn=/^\s*(\w|\$)+\s*$/,Xn=0;function Yn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=On(n.prototype),i=n.apply(o,u);return _(i)?i:o}var Zn=j((function(n,r){var t=Zn.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a<o;a++)i[a]=r[a]===t?arguments[u++]:r[a];for(;u<arguments.length;)i.push(arguments[u++]);return Yn(n,e,this,this,i)};return e}));Zn.placeholder=tn;var nr=j((function(n,r,t){if(!D(n))throw new TypeError("Bind must be called on a function");var e=j((function(u){return Yn(n,e,r,this,t.concat(u))}));return e})),rr=K(Y);function tr(n,r,t,e){if(e=e||[],r||0===r){if(r<=0)return e.concat(n)}else r=1/0;for(var u=e.length,o=0,i=Y(n);o<i;o++){var a=n[o];if(rr(a)&&(U(a)||L(a)))if(r>1)tr(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else t||(e[u++]=a)}return e}var er=j((function(n,r){var t=(r=tr(r,!1,!1)).length;if(t<1)throw new Error("bindAll must be passed function names");for(;t--;){var e=r[t];n[e]=nr(n[e],n)}return n})),ur=j((function(n,r,t){return setTimeout((function(){return n.apply(null,t)}),r)})),or=Zn(ur,tn,1);function ir(n){return function(){return!n.apply(this,arguments)}}function ar(n,r){var t;return function(){return--n>0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var fr=Zn(ar,2);function cr(n,r,t){r=Vn(r,t);for(var e,u=nn(n),o=0,i=u.length;o<i;o++)if(r(n[e=u[o]],e,n))return e}function lr(n){return function(r,t,e){t=Vn(t,e);for(var u=Y(r),o=n>0?0:u-1;o>=0&&o<u;o+=n)if(t(r[o],o,r))return o;return-1}}var sr=lr(1),pr=lr(-1);function vr(n,r,t,e){for(var u=(t=Vn(t,e,1))(r),o=0,i=Y(n);o<i;){var a=Math.floor((o+i)/2);t(n[a])<u?o=a+1:i=a}return o}function hr(n,r,t){return function(e,u,o){var a=0,f=Y(e);if("number"==typeof o)n>0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o<f;o+=n)if(e[o]===u)return o;return-1}}var yr=hr(1,sr,vr),dr=hr(-1,pr);function gr(n,r,t){var e=(rr(n)?sr:cr)(n,r,t);if(void 0!==e&&-1!==e)return n[e]}function br(n,r,t){var e,u;if(r=Dn(r,t),rr(n))for(e=0,u=n.length;e<u;e++)r(n[e],e,n);else{var o=nn(n);for(e=0,u=o.length;e<u;e++)r(n[o[e]],o[e],n)}return n}function mr(n,r,t){r=Vn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=r(n[a],a,n)}return o}function jr(n){var r=function(r,t,e,u){var o=!rr(r)&&nn(r),i=(o||r).length,a=n>0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a<i;a+=n){var f=o?o[a]:a;e=t(e,r[f],f,r)}return e};return function(n,t,e,u){var o=arguments.length>=3;return r(n,Dn(t,u,4),e,o)}}var _r=jr(1),wr=jr(-1);function Ar(n,r,t){var e=[];return r=Vn(r,t),br(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function xr(n,r,t){r=Vn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;
vendor: 7,526 bytes, line 5
5if(!r(n[i],i,n))return!1}return!0}function Sr(n,r,t){r=Vn(r,t);for(var e=!rr(n)&&nn(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(r(n[i],i,n))return!0}return!1}function Or(n,r,t,e){return rr(n)||(n=mn(n)),("number"!=typeof t||e)&&(t=0),yr(n,r,t)>=0}var Mr=j((function(n,r,t){var e,u;return D(r)?u=r:(r=En(r),e=r.slice(0,-1),r=r[r.length-1]),mr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=Bn(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Er(n,r){return mr(n,kn(r))}function Br(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=rr(n)?n:mn(n)).length;a<f;a++)null!=(e=n[a])&&e>o&&(o=e);else r=Vn(r,t),br(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}var Nr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ir(n){return n?U(n)?i.call(n):S(n)?n.match(Nr):rr(n)?mr(n,In):mn(n):[]}function Tr(n,r,t){if(null==r||t)return rr(n)||(n=mn(n)),n[qn(n.length-1)];var e=Ir(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i<r;i++){var a=qn(i,o),f=e[i];e[i]=e[a],e[a]=f}return e.slice(0,r)}function kr(n,r){return function(t,e,u){var o=r?[[],[]]:{};return e=Vn(e,u),br(t,(function(r,u){var i=e(r,u,t);n(o,r,i)})),o}}var Dr=kr((function(n,r,t){W(n,t)?n[t].push(r):n[t]=[r]})),Rr=kr((function(n,r,t){n[t]=r})),Fr=kr((function(n,r,t){W(n,t)?n[t]++:n[t]=1})),Vr=kr((function(n,r,t){n[t?0:1].push(r)}),!0);function Pr(n,r,t){return r in t}var qr=j((function(n,r){var t={},e=r[0];if(null==n)return t;D(e)?(r.length>1&&(e=Dn(e,r[1])),r=an(n)):(e=Pr,r=tr(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u<o;u++){var i=r[u],a=n[i];e(a,i,n)&&(t[i]=a)}return t})),Ur=j((function(n,r){var t,e=r[0];return D(e)?(e=ir(e),r.length>1&&(t=r[1])):(r=mr(tr(r,!1,!1),String),e=function(n,t){return!Or(r,t)}),qr(n,e,t)}));function Wr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function zr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:Wr(n,n.length-r)}function Lr(n,r,t){return i.call(n,null==r||t?1:r)}var $r=j((function(n,r){return r=tr(r,!0,!0),Ar(n,(function(n){return!Or(r,n)}))})),Cr=j((function(n,r){return $r(n,r)}));function Kr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Vn(t,e));for(var u=[],o=[],i=0,a=Y(n);i<a;i++){var f=n[i],c=t?t(f,i,n):f;r&&!t?(i&&o===c||u.push(f),o=c):t?Or(o,c)||(o.push(c),u.push(f)):Or(u,f)||u.push(f)}return u}var Jr=j((function(n){return Kr(tr(n,!0,!0))}));function Gr(n){for(var r=n&&Br(n,Y).length||0,t=Array(r),e=0;e<r;e++)t[e]=Er(n,e);return t}var Hr=j(Gr);function Qr(n,r){return n._chain?tn(r).chain():r}function Xr(n){return br(_n(n),(function(r){var t=tn[r]=n[r];tn.prototype[r]=function(){var n=[this._wrapped];return o.apply(n,arguments),Qr(this,t.apply(tn,n))}})),tn}br(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var r=t[n];tn.prototype[n]=function(){var t=this._wrapped;return null!=t&&(r.apply(t,arguments),"shift"!==n&&"splice"!==n||0!==t.length||delete t[0]),Qr(this,t)}})),br(["concat","join","slice"],(function(n){var r=t[n];tn.prototype[n]=function(){var n=this._wrapped;return null!=n&&(n=r.apply(n,arguments)),Qr(this,n)}}));var Yr=Xr({__proto__:null,VERSION:n,restArguments:j,isObject:_,isNull:function(n){return null===n},isUndefined:w,isBoolean:A,isElement:function(n){return!(!n||1!==n.nodeType)},isString:S,isNumber:O,isDate:M,isRegExp:E,isError:B,isSymbol:N,isArrayBuffer:I,isDataView:q,isArray:U,isFunction:D,isArguments:L,isFinite:function(n){return!N(n)&&d(n)&&!isNaN(parseFloat(n))},isNaN:$,isTypedArray:X,isEmpty:function(n){if(null==n)return!0;var r=Y(n);return"number"==typeof r&&(U(n)||S(n)||L(n))?0===r:0===Y(nn(n))},isMatch:rn,isEqual:function(n,r){return on(n,r)},isMap:yn,isWeakMap:dn,isSet:gn,isWeakSet:bn,keys:nn,allKeys:an,values:mn,pairs:function(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e},invert:jn,functions:_n,methods:_n,extend:An,extendOwn:xn,assign:xn,defaults:Sn,create:function(n,r){var t=On(n);return r&&xn(t,r),t},clone:function(n){return _(n)?U(n)?n.slice():An({},n):n},tap:function(n,r){return r(n),n},get:Nn,has:function(n,r){for(var t=(r=En(r)).length,e=0;e<t;e++){var u=r[e];if(!W(n,u))return!1;n=n[u]}return!!t},mapObject:function(n,r,t){r=Vn(r,t);for(var e=nn(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=r(n[a],a,n)}return o},identity:In,constant:C,noop:Pn,toPath:Mn,property:kn,propertyOf:function(n){return null==n?Pn:function(r){return Nn(n,r)}},matcher:Tn,matches:Tn,times:function(n,r,t){var e=Array(Math.max(0,n));r=Dn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e},random:qn,now:Un,escape:Ln,unescape:$n,templateSettings:Cn,template:function(n,r,t){!r&&t&&(r=t),r=Sn({},r,tn.templateSettings);var e=RegExp([(r.escape||Kn).source,(r.interpolate||Kn).source,(r.evaluate||Kn).source].join("|")+"|$","g"),u=0,o="__p+='";n.replace(e,(function(r,t,e,i,a){return o+=n.slice(u,a).replace(Gn,Hn),u=a+r.length,t?o+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":e?o+="'+\n((__t=("+e+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),r})),o+="';\n";var i,a=r.variable;if(a){if(!Qn.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{i=new Function(a,"_",o)}catch(n){throw n.source=o,n}var f=function(n){return i.call(this,n,tn)};return f.source="function("+a+"){\n"+o+"}",f},result:function(n,r,t){var e=(r=En(r)).length;if(!e)return D(t)?t.call(n):t;for(var u=0;u<e;u++){var o=null==n?void 0:n[r[u]];void 0===o&&(o=t,u=e),n=D(o)?o.call(n):o}return n},uniqueId:function(n){var r=++Xn+"";return n?n+r:r},chain:function(n){var r=tn(n);return r._chain=!0,r},iteratee:Fn,partial:Zn,bind:nr,bindAll:er,memoize:function(n,r){var t=function(e){var u=t.cache,o=""+(r?r.apply(this,arguments):e);return W(u,o)||(u[o]=n.apply(this,arguments)),u[o]};return t.cache={},t},delay:ur,defer:or,throttle:function(n,r,t){var e,u,o,i,a=0;t||(t={});var f=function(){a=!1===t.leading?0:Un(),e=null,i=n.apply(u,o),e||(u=o=null)},c=function(){var c=Un();a||!1!==t.leading||(a=c);var l=r-(c-a);return u=this,o=arguments,l<=0||l>r?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=Un()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=Un(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return Zn(r,n)},negate:ir,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:ar,once:fr,findKey:cr,findIndex:sr,findLastIndex:pr,sortedIndex:vr,indexOf:yr,lastIndexOf:dr,find:gr,detect:gr,findWhere:function(n,r){return gr(n,Tn(r))},each:br,forEach:br,map:mr,collect:mr,reduce:_r,foldl:_r,inject:_r,reduceRight:wr,foldr:wr,filter:Ar,select:Ar,reject:function(n,r,t){return Ar(n,ir(Vn(r)),t)},every:xr,all:xr,some:Sr,any:Sr,contains:Or,includes:Or,include:Or,invoke:Mr,pluck:Er,where:function(n,r){return Ar(n,Tn(r))},max:Br,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||"number"==typeof r&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=rr(n)?n:mn(n)).length;a<f;
5a++)null!=(e=n[a])&&e<o&&(o=e);else r=Vn(r,t),br(n,(function(n,t,e){((u=r(n,t,e))<i||u===1/0&&o===1/0)&&(o=n,i=u)}));return o},shuffle:function(n){return Tr(n,1/0)},sample:Tr,sortBy:function(n,r,t){var e=0;return r=Vn(r,t),Er(mr(n,(function(n,t,u){return{value:n,index:e++,criteria:r(n,t,u)}})).sort((function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(t>e||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index})),"value")},groupBy:Dr,indexBy:Rr,countBy:Fr,partition:Vr,toArray:Ir,size:function(n){return null==n?0:rr(n)?n.length:nn(n).length},pick:qr,omit:Ur,first:zr,head:zr,take:zr,initial:Wr,last:function(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:Lr(n,Math.max(0,n.length-r))},rest:Lr,tail:Lr,drop:Lr,compact:function(n){return Ar(n,Boolean)},flatten:function(n,r){return tr(n,r,!1)},without:Cr,uniq:Kr,unique:Kr,union:Jr,intersection:function(n){for(var r=[],t=arguments.length,e=0,u=Y(n);e<u;e++){var o=n[e];if(!Or(r,o)){var i;for(i=1;i<t&&Or(arguments[i],o);i++);i===t&&r.push(o)}}return r},difference:$r,unzip:Gr,transpose:Gr,zip:Hr,object:function(n,r){for(var t={},e=0,u=Y(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t},range:function(n,r,t){null==r&&(r=n||0,n=0),t||(t=r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),o=0;o<e;o++,n+=t)u[o]=n;return u},chunk:function(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(i.call(n,e,e+=r));return t},mixin:Xr,default:tn});return Yr._=Yr,Yr})); 6/* end of /js/lib/underscore-min.js */ 7/* start of /views/baseline/js/libs/kennisbank.min.js (as is) */ 8var Lx=Object.defineProperty;var Mx=(kt,bt,_t)=>bt in kt?Lx(kt,bt,{enumerable:!0,configurable:!0,writable:!0,value:_t}):kt[bt]=_t;var a0=(kt,bt,_t)=>(Mx(kt,typeof bt!="symbol"?bt+"":bt,_t),_t);(function(){"use strict";function kt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bt={exports:{}},_t={},Nc={exports:{}},M={};/** 9 * @license React 10 * react.production.min.js 11 * 12 * Copyright (c) Facebook, Inc. and its affiliates. 13 * 14 * This source code is licensed under the MIT license found in the 15 * LICENSE file in the root directory of this source tree. 16 */var Or=Symbol.for("react.element"),u0=Symbol.for("react.portal"),l0=Symbol.for("react.fragment"),c0=Symbol.for("react.strict_mode"),d0=Symbol.for("react.profiler"),f0=Symbol.for("react.provider"),p0=Symbol.for("react.context"),h0=Symbol.for("react.forward_ref"),m0=Symbol.for("react.suspense"),g0=Symbol.for("react.memo"),v0=Symbol.for("react.lazy"),jc=Symbol.iterator;function y0(e){return e===null||typeof e!="object"?null:(e=jc&&e[jc]||e["@@iterator"],typeof e=="function"?e:null)}var Pc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oc=Object.assign,Bc={};function Yn(e,t,n){this.props=e,this.context=t,this.refs=Bc,this.updater=n||Pc}Yn.prototype.isReactComponent={},Yn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Yn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Lc(){}Lc.prototype=Yn.prototype;function Gs(e,t,n){this.props=e,this.context=t,this.refs=Bc,this.updater=n||Pc}var Ys=Gs.prototype=new Lc;Ys.constructor=Gs,Oc(Ys,Yn.prototype),Ys.isPureReactComponent=!0;var Mc=Array.isArray,Ic=Object.prototype.hasOwnProperty,Xs={current:null},$c={key:!0,ref:!0,__self:!0,__source:!0};function zc(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Ic.call(t,r)&&!$c.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var u=Array(a),l=0;l<a;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Or,type:e,key:o,ref:s,props:i,_owner:Xs.current}}function w0(e,t){return{$$typeof:Or,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Js(e){return typeof e=="object"&&e!==null&&e.$$typeof===Or}function S0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Vc=/\/+/g;function Zs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?S0(""+e.key):t.toString(36)}function Ui(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Or:case u0:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Zs(s,0):r,Mc(i)?(n="",e!=null&&(n=e.replace(Vc,"$&/")+"/"),Ui(i,t,n,"",function(l){return l})):i!=null&&(Js(i)&&(i=w0(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Vc,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Mc(e))for(var a=0;a<e.length;a++){o=e[a];var u=r+Zs(o,a);s+=Ui(o,t,n,u,i)}else if(u=y0(e),typeof u=="function")for(e=u.call(e),a=0;!(o=e.next()).done;)o=o.value,u=r+Zs(o,a++),s+=Ui(o,t,n,u,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Wi(e,t,n){if(e==null)return e;var r=[],i=0;return Ui(e,r,"","",function(o){return t.call(n,o,i++)}),r}function x0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Be={current:null},qi={transition:null},E0={ReactCurrentDispatcher:Be,ReactCurrentBatchConfig:qi,ReactCurrentOwner:Xs};
vendor: 9,491 bytes, lines 16-40
16M.Children={map:Wi,forEach:function(e,t,n){Wi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Wi(e,function(){t++}),t},toArray:function(e){return Wi(e,function(t){return t})||[]},only:function(e){if(!Js(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},M.Component=Yn,M.Fragment=l0,M.Profiler=d0,M.PureComponent=Gs,M.StrictMode=c0,M.Suspense=m0,M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E0,M.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Oc({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Xs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)Ic.call(t,u)&&!$c.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var l=0;l<u;l++)a[l]=arguments[l+2];r.children=a}return{$$typeof:Or,type:e.type,key:i,ref:o,props:r,_owner:s}},M.createContext=function(e){return e={$$typeof:p0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:f0,_context:e},e.Consumer=e},M.createElement=zc,M.createFactory=function(e){var t=zc.bind(null,e);return t.type=e,t},M.createRef=function(){return{current:null}},M.forwardRef=function(e){return{$$typeof:h0,render:e}},M.isValidElement=Js,M.lazy=function(e){return{$$typeof:v0,_payload:{_status:-1,_result:e},_init:x0}},M.memo=function(e,t){return{$$typeof:g0,type:e,compare:t===void 0?null:t}},M.startTransition=function(e){var t=qi.transition;qi.transition={};try{e()}finally{qi.transition=t}},M.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},M.useCallback=function(e,t){return Be.current.useCallback(e,t)},M.useContext=function(e){return Be.current.useContext(e)},M.useDebugValue=function(){},M.useDeferredValue=function(e){return Be.current.useDeferredValue(e)},M.useEffect=function(e,t){return Be.current.useEffect(e,t)},M.useId=function(){return Be.current.useId()},M.useImperativeHandle=function(e,t,n){return Be.current.useImperativeHandle(e,t,n)},M.useInsertionEffect=function(e,t){return Be.current.useInsertionEffect(e,t)},M.useLayoutEffect=function(e,t){return Be.current.useLayoutEffect(e,t)},M.useMemo=function(e,t){return Be.current.useMemo(e,t)},M.useReducer=function(e,t,n){return Be.current.useReducer(e,t,n)},M.useRef=function(e){return Be.current.useRef(e)},M.useState=function(e){return Be.current.useState(e)},M.useSyncExternalStore=function(e,t,n){return Be.current.useSyncExternalStore(e,t,n)},M.useTransition=function(){return Be.current.useTransition()},M.version="18.2.0",Nc.exports=M;var W=Nc.exports;const Zt=kt(W);/** 17 * @license React 18 * react-jsx-runtime.production.min.js 19 * 20 * Copyright (c) Facebook, Inc. and its affiliates. 21 * 22 * This source code is licensed under the MIT license found in the 23 * LICENSE file in the root directory of this source tree. 24 */var C0=W,A0=Symbol.for("react.element"),k0=Symbol.for("react.fragment"),b0=Object.prototype.hasOwnProperty,_0=C0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,F0={key:!0,ref:!0,__self:!0,__source:!0};function Uc(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)b0.call(t,r)&&!F0.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:A0,type:e,key:o,ref:s,props:i,_owner:_0.current}}_t.Fragment=k0,_t.jsx=Uc,_t.jsxs=Uc,bt.exports=_t;var y=bt.exports,Xn={},Wc={exports:{}},He={},qc={exports:{}},Hc={};/** 25 * @license React 26 * scheduler.production.min.js 27 * 28 * Copyright (c) Facebook, Inc. and its affiliates. 29 * 30 * This source code is licensed under the MIT license found in the 31 * LICENSE file in the root directory of this source tree. 32 */(function(e){function t(R,P){var B=R.length;R.push(P);e:for(;0<B;){var z=B-1>>>1,ce=R[z];if(0<i(ce,P))R[z]=P,R[B]=ce,B=z;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var P=R[0],B=R.pop();if(B!==P){R[0]=B;e:for(var z=0,ce=R.length,Oe=ce>>>1;z<Oe;){var At=2*(z+1)-1,b=R[At],Jt=At+1,Pr=R[Jt];if(0>i(b,B))Jt<ce&&0>i(Pr,b)?(R[z]=Pr,R[Jt]=B,z=Jt):(R[z]=b,R[At]=B,z=At);else if(Jt<ce&&0>i(Pr,B))R[z]=Pr,R[Jt]=B,z=Jt;else break e}}return P}function i(R,P){var B=R.sortIndex-P.sortIndex;return B!==0?B:R.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],l=[],c=1,f=null,d=3,p=!1,m=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(R){for(var P=n(l);P!==null;){if(P.callback===null)r(l);else if(P.startTime<=R)r(l),P.sortIndex=P.expirationTime,t(u,P);else break;P=n(l)}}function E(R){if(w=!1,v(R),!m)if(n(u)!==null)m=!0,Mt(k);else{var P=n(l);P!==null&&Xt(E,P.startTime-R)}}function k(R,P){m=!1,w&&(w=!1,g(j),j=-1),p=!0;var B=d;try{for(v(P),f=n(u);f!==null&&(!(f.expirationTime>P)||R&&!ae());){var z=f.callback;if(typeof z=="function"){f.callback=null,d=f.priorityLevel;var ce=z(f.expirationTime<=P);P=e.unstable_now(),typeof ce=="function"?f.callback=ce:f===n(u)&&r(u),v(P)}else r(u);f=n(u)}if(f!==null)var Oe=!0;else{var At=n(l);At!==null&&Xt(E,At.startTime-P),Oe=!1}return Oe}finally{f=null,d=B,p=!1}}var D=!1,T=null,j=-1,I=5,O=-1;function ae(){return!(e.unstable_now()-O<I)}function Q(){if(T!==null){var R=e.unstable_now();O=R;var P=!0;try{P=T(!0,R)}finally{P?Ee():(D=!1,T=null)}}else D=!1}var Ee;if(typeof h=="function")Ee=function(){h(Q)};else if(typeof MessageChannel<"u"){var Ce=new MessageChannel,ft=Ce.port2;Ce.port1.onmessage=Q,Ee=function(){ft.postMessage(null)}}else Ee=function(){x(Q,0)};function Mt(R){T=R,D||(D=!0,Ee())}function Xt(R,P){j=x(function(){R(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,Mt(k))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(R){switch(d){case 1:case 2:case 3:var P=3;break;default:P=d}var B=d;d=P;try{return R()}finally{d=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,P){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var B=d;d=R;try{return P()}finally{d=B}},e.unstable_scheduleCallback=function(R,P,B){var z=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?z+B:z):B=z,R){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=B+ce,R={id:c++,callback:P,priorityLevel:R,startTime:B,expirationTime:ce,sortIndex:-1},B>z?(R.sortIndex=B,t(l,R),n(u)===null&&R===n(l)&&(w?(g(j),j=-1):w=!0,Xt(E,B-z))):(R.sortIndex=ce,t(u,R),m||p||(m=!0,Mt(k))),R},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(R){var P=d;return function(){var B=d;d=P;try{return R.apply(this,arguments)}finally{d=B}}}})(Hc),qc.exports=Hc;var D0=qc.exports;/** 33 * @license React 34 * react-dom.production.min.js 35 * 36 * Copyright (c) Facebook, Inc. and its affiliates. 37 * 38 * This source code is licensed under the MIT license found in the 39 * LICENSE file in the root directory of this source tree. 40 */var Kc=W,Ke=D0;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Qc=new Set,Br={};function Dn(e,t){Jn(e,t),Jn(e+"Capture",t)}function Jn(e,t){for(Br[e]=t,e=0;e<t.length;e++)Qc.add(t[e])}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ea=Object.prototype.hasOwnProperty,T0=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Gc={},Yc={};function R0(e){return ea.call(Yc,e)?!0:ea.call(Gc,e)?!1:T0.test(e)?Yc[e]=!0:(Gc[e]=!0,!1)}function N0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function j0(e,t,n,r){if(t===null||typeof t>"u"||N0(e,t,n,r))return!0;
vendor: 9,497 bytes, lines 40-44
40if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Le(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ae[e]=new Le(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ae[t]=new Le(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ae[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ae[e]=new Le(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ae[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ae[e]=new Le(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ae[e]=new Le(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ae[e]=new Le(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ae[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var ta=/[\-:]([a-z])/g;function na(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ta,na);Ae[t]=new Le(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ta,na);Ae[t]=new Le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ta,na);Ae[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ae[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ae.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ae[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function ra(e,t,n,r){var i=Ae.hasOwnProperty(t)?Ae[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(j0(t,n,i,r)&&(n=null),r||i===null?R0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var $t=Kc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Hi=Symbol.for("react.element"),Zn=Symbol.for("react.portal"),er=Symbol.for("react.fragment"),ia=Symbol.for("react.strict_mode"),oa=Symbol.for("react.profiler"),Xc=Symbol.for("react.provider"),Jc=Symbol.for("react.context"),sa=Symbol.for("react.forward_ref"),aa=Symbol.for("react.suspense"),ua=Symbol.for("react.suspense_list"),la=Symbol.for("react.memo"),en=Symbol.for("react.lazy"),Zc=Symbol.for("react.offscreen"),ed=Symbol.iterator;function Lr(e){return e===null||typeof e!="object"?null:(e=ed&&e[ed]||e["@@iterator"],typeof e=="function"?e:null)}var re=Object.assign,ca;function Mr(e){if(ca===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ca=t&&t[1]||""}return` 41`+ca+e}var da=!1;function fa(e,t){if(!e||da)return"";da=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(` 42`),o=r.stack.split(` 43`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var u=` 44`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mr(e):""}function P0(e){switch(e.tag){case 5:return Mr(e.type);case 16:return Mr("Lazy");case 13:return Mr("Suspense");case 19:return Mr("SuspenseList");case 0:case 2:case 15:return e=fa(e.type,!1),e;case 11:return e=fa(e.type.render,!1),e;case 1:return e=fa(e.type,!0),e;default:return""}}function pa(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case er:return"Fragment";case Zn:return"Portal";case oa:return"Profiler";case ia:return"StrictMode";case aa:return"Suspense";case ua:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jc:return(e.displayName||"Context")+".Consumer";case Xc:return(e._context.displayName||"Context")+".Provider";case sa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case la:return t=e.displayName||null,t!==null?t:pa(e.type)||"Memo";case en:t=e._payload,e=e._init;try{return pa(e(t))}catch{}}return null}function O0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pa(t);case 8:return t===ia?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function td(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B0(e){var t=td(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ki(e){e._valueTracker||(e._valueTracker=B0(e))}function nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=td(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ha(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function rd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function id(e,t){t=t.checked,t!=null&&ra(e,"checked",t,!1)}function ma(e,t){id(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ga(e,t.type,n):t.hasOwnProperty("defaultValue")&&ga(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}
vendor: 4,180 bytes, line 44
44function od(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ga(e,t,n){(t!=="number"||Qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ir=Array.isArray;function tr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function va(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sd(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(Ir(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tn(n)}}function ad(e,t){var n=tn(t.value),r=tn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ud(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ld(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ya(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ld(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Gi,cd=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Gi=Gi||document.createElement("div"),Gi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $r(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},L0=["Webkit","ms","Moz","O"];Object.keys(zr).forEach(function(e){L0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zr[t]=zr[e]})});function dd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zr.hasOwnProperty(e)&&zr[e]?(""+t).trim():t+"px"}function fd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=dd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var M0=re({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function wa(e,t){if(t){if(M0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Sa(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
44ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xa=null;function Ea(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ca=null,nr=null,rr=null;function pd(e){if(e=li(e)){if(typeof Ca!="function")throw Error(F(280));var t=e.stateNode;t&&(t=wo(t),Ca(e.stateNode,e.type,t))}}function hd(e){nr?rr?rr.push(e):rr=[e]:nr=e}function md(){if(nr){var e=nr,t=rr;if(rr=nr=null,pd(e),t)for(e=0;e<t.length;e++)pd(t[e])}}function gd(e,t){return e(t)}function vd(){}var Aa=!1;function yd(e,t,n){if(Aa)return e(t,n);Aa=!0;try{return gd(e,t,n)}finally{Aa=!1,(nr!==null||rr!==null)&&(vd(),md())}}function Vr(e,t){var n=e.stateNode;if(n===null)return null;var r=wo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(F(231,t,typeof n));return n}var ka=!1;if(It)try{var Ur={};Object.defineProperty(Ur,"passive",{get:function(){ka=!0}}),window.addEventListener("test",Ur,Ur),window.removeEventListener("test",Ur,Ur)}catch{ka=!1}function I0(e,t,n,r,i,o,s,a,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var Wr=!1,Yi=null,Xi=!1,ba=null,$0={onError:function(e){Wr=!0,Yi=e}};function z0(e,t,n,r,i,o,s,a,u){Wr=!1,Yi=null,I0.apply($0,arguments)}function V0(e,t,n,r,i,o,s,a,u){if(z0.apply(this,arguments),Wr){if(Wr){var l=Yi;Wr=!1,Yi=null}else throw Error(F(198));Xi||(Xi=!0,ba=l)}}function Tn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function wd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Sd(e){if(Tn(e)!==e)throw Error(F(188))}function U0(e){var t=e.alternate;if(!t){if(t=Tn(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Sd(i),e;if(o===r)return Sd(i),t;o=o.sibling}throw Error(F(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function xd(e){return e=U0(e),e!==null?Ed(e):null}function Ed(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ed(e);if(t!==null)return t;e=e.sibling}return null}var Cd=Ke.unstable_scheduleCallback,Ad=Ke.unstable_cancelCallback,W0=Ke.unstable_shouldYield,q0=Ke.unstable_requestPaint,de=Ke.unstable_now,H0=Ke.unstable_getCurrentPriorityLevel,_a=Ke.unstable_ImmediatePriority,kd=Ke.unstable_UserBlockingPriority,Ji=Ke.unstable_NormalPriority,K0=Ke.unstable_LowPriority,bd=Ke.unstable_IdlePriority,Zi=null,Ft=null;function Q0(e){if(Ft&&typeof Ft.onCommitFiberRoot=="function")try{Ft.onCommitFiberRoot(Zi,e,void 0,(e.current.flags&128)===128)}catch{}}var pt=Math.clz32?Math.clz32:X0,G0=Math.log,Y0=Math.LN2;function X0(e){return e>>>=0,e===0?32:31-(G0(e)/Y0|0)|0}var eo=64,to=4194304;function qr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function no(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=qr(a):(o&=s,o!==0&&(r=qr(o)))}else s=n&~i,s!==0?r=qr(s):o!==0&&(r=qr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-pt(t),i=1<<n,r|=e[n],t&=~i;return r}function J0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Z0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-pt(o),a=1<<s,u=i[s];u===-1?(!(a&n)||a&r)&&(i[s]=J0(a,t)):u<=t&&(e.expiredLanes|=a),o&=~a}}function Fa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function _d(){var e=eo;return eo<<=1,!(eo&4194240)&&(eo=64),e}function Da(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=n}function eg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-pt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ta(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-pt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var q=0;function Fd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Dd,Ra,Td,Rd,Nd,Na=!1,ro=[],nn=null,rn=null,on=null,Kr=new Map,Qr=new Map,sn=[],tg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
vendor: 4,440 bytes, line 44
44function jd(e,t){switch(e){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":rn=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":Kr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qr.delete(t.pointerId)}}function Gr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=li(t),t!==null&&Ra(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function ng(e,t,n,r,i){switch(t){case"focusin":return nn=Gr(nn,e,t,n,r,i),!0;case"dragenter":return rn=Gr(rn,e,t,n,r,i),!0;case"mouseover":return on=Gr(on,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Kr.set(o,Gr(Kr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Qr.set(o,Gr(Qr.get(o)||null,e,t,n,r,i)),!0}return!1}function Pd(e){var t=Rn(e.target);if(t!==null){var n=Tn(t);if(n!==null){if(t=n.tag,t===13){if(t=wd(n),t!==null){e.blockedOn=t,Nd(e.priority,function(){Td(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function io(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Pa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);xa=r,n.target.dispatchEvent(r),xa=null}else return t=li(n),t!==null&&Ra(t),e.blockedOn=n,!1;t.shift()}return!0}function Od(e,t,n){io(e)&&n.delete(t)}function rg(){Na=!1,nn!==null&&io(nn)&&(nn=null),rn!==null&&io(rn)&&(rn=null),on!==null&&io(on)&&(on=null),Kr.forEach(Od),Qr.forEach(Od)}function Yr(e,t){e.blockedOn===t&&(e.blockedOn=null,Na||(Na=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,rg)))}function Xr(e){function t(i){return Yr(i,e)}if(0<ro.length){Yr(ro[0],e);for(var n=1;n<ro.length;n++){var r=ro[n];r.blockedOn===e&&(r.blockedOn=null)}}for(nn!==null&&Yr(nn,e),rn!==null&&Yr(rn,e),on!==null&&Yr(on,e),Kr.forEach(t),Qr.forEach(t),n=0;n<sn.length;n++)r=sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<sn.length&&(n=sn[0],n.blockedOn===null);)Pd(n),n.blockedOn===null&&sn.shift()}var ir=$t.ReactCurrentBatchConfig,oo=!0;function ig(e,t,n,r){var i=q,o=ir.transition;ir.transition=null;try{q=1,ja(e,t,n,r)}finally{q=i,ir.transition=o}}function og(e,t,n,r){var i=q,o=ir.transition;ir.transition=null;try{q=4,ja(e,t,n,r)}finally{q=i,ir.transition=o}}function ja(e,t,n,r){if(oo){var i=Pa(e,t,n,r);if(i===null)Xa(e,t,r,so,n),jd(e,r);else if(ng(i,e,t,n,r))r.stopPropagation();else if(jd(e,r),t&4&&-1<tg.indexOf(e)){for(;i!==null;){var o=li(i);if(o!==null&&Dd(o),o=Pa(e,t,n,r),o===null&&Xa(e,t,r,so,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Xa(e,t,r,null,n)}}var so=null;function Pa(e,t,n,r){if(so=null,e=Ea(r),e=Rn(e),e!==null)if(t=Tn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=wd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return so=e,null}function Bd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(H0()){case _a:return 1;case kd:return 4;case Ji:case K0:return 16;case bd:return 536870912;default:return 16}default:return 16}}var an=null,Oa=null,ao=null;
vendor: 6,574 bytes, line 44
44function Ld(){if(ao)return ao;var e,t=Oa,n=t.length,r,i="value"in an?an.value:an.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return ao=i.slice(e,1<r?1-r:void 0)}function uo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function lo(){return!0}function Md(){return!1}function Qe(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?lo:Md,this.isPropagationStopped=Md,this}return re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=lo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=lo)},persist:function(){},isPersistent:lo}),t}var or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ba=Qe(or),Jr=re({},or,{view:0,detail:0}),sg=Qe(Jr),La,Ma,Zr,co=re({},Jr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$a,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zr&&(Zr&&e.type==="mousemove"?(La=e.screenX-Zr.screenX,Ma=e.screenY-Zr.screenY):Ma=La=0,Zr=e),La)},movementY:function(e){return"movementY"in e?e.movementY:Ma}}),Id=Qe(co),ag=re({},co,{dataTransfer:0}),ug=Qe(ag),lg=re({},Jr,{relatedTarget:0}),Ia=Qe(lg),cg=re({},or,{animationName:0,elapsedTime:0,pseudoElement:0}),dg=Qe(cg),fg=re({},or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pg=Qe(fg),hg=re({},or,{data:0}),$d=Qe(hg),mg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vg[e])?!!t[e]:!1}function $a(){return yg}var wg=re({},Jr,{key:function(e){if(e.key){var t=mg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$a,charCode:function(e){return e.type==="keypress"?uo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sg=Qe(wg),xg=re({},co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=Qe(xg),Eg=re({},Jr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$a}),Cg=Qe(Eg),Ag=re({},or,{propertyName:0,elapsedTime:0,pseudoElement:0}),kg=Qe(Ag),bg=re({},co,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_g=Qe(bg),Fg=[9,13,27,32],za=It&&"CompositionEvent"in window,ei=null;It&&"documentMode"in document&&(ei=document.documentMode);var Dg=It&&"TextEvent"in window&&!ei,Vd=It&&(!za||ei&&8<ei&&11>=ei),Ud=String.fromCharCode(32),Wd=!1;function qd(e,t){switch(e){case"keyup":return Fg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sr=!1;function Tg(e,t){switch(e){case"compositionend":return Hd(t);case"keypress":return t.which!==32?null:(Wd=!0,Ud);case"textInput":return e=t.data,e===Ud&&Wd?null:e;default:return null}}function Rg(e,t){if(sr)return e==="compositionend"||!za&&qd(e,t)?(e=Ld(),ao=Oa=an=null,sr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vd&&t.locale!=="ko"?null:t.data;default:return null}}var Ng={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Kd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ng[e.type]:t==="textarea"}function Qd(e,t,n,r){hd(r),t=go(t,"onChange"),0<t.length&&(n=new Ba("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ti=null,ni=null;function jg(e){pf(e,0)}function fo(e){var t=dr(e);if(nd(t))return e}function Pg(e,t){if(e==="change")return t}var Gd=!1;if(It){var Va;if(It){var Ua="oninput"in document;if(!Ua){var Yd=document.createElement("div");Yd.setAttribute("oninput","return;"),Ua=typeof Yd.oninput=="function"}Va=Ua}else Va=!1;Gd=Va&&(!document.documentMode||9<document.documentMode)}function Xd(){ti&&(ti.detachEvent("onpropertychange",Jd),ni=ti=null)}function Jd(e){if(e.propertyName==="value"&&fo(ni)){var t=[];Qd(t,ni,e,Ea(e)),yd(jg,t)}}function Og(e,t,n){e==="focusin"?(Xd(),ti=t,ni=n,ti.attachEvent("onpropertychange",Jd)):e==="focusout"&&Xd()}function Bg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fo(ni)}function Lg(e,t){if(e==="click")return fo(t)}function Mg(e,t){if(e==="input"||e==="change")return fo(t)}function Ig(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ht=typeof Object.is=="function"?Object.is:Ig;function ri(e,t){if(ht(e,t))return!0;
vendor: 4,856 bytes, line 44
44if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ea.call(t,i)||!ht(e[i],t[i]))return!1}return!0}function Zd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ef(e,t){var n=Zd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zd(n)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nf(){for(var e=window,t=Qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qi(e.document)}return t}function Wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $g(e){var t=nf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tf(n.ownerDocument.documentElement,n)){if(r!==null&&Wa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ef(n,o);var s=ef(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zg=It&&"documentMode"in document&&11>=document.documentMode,ar=null,qa=null,ii=null,Ha=!1;function rf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ha||ar==null||ar!==Qi(r)||(r=ar,"selectionStart"in r&&Wa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&ri(ii,r)||(ii=r,r=go(qa,"onSelect"),0<r.length&&(t=new Ba("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function po(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:po("Animation","AnimationEnd"),animationiteration:po("Animation","AnimationIteration"),animationstart:po("Animation","AnimationStart"),transitionend:po("Transition","TransitionEnd")},Ka={},of={};It&&(of=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);function ho(e){if(Ka[e])return Ka[e];if(!ur[e])return e;var t=ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in of)return Ka[e]=t[n];return e}var sf=ho("animationend"),af=ho("animationiteration"),uf=ho("animationstart"),lf=ho("transitionend"),cf=new Map,df="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function un(e,t){cf.set(e,t),Dn(t,[e])}for(var Qa=0;Qa<df.length;Qa++){var Ga=df[Qa],Vg=Ga.toLowerCase(),Ug=Ga[0].toUpperCase()+Ga.slice(1);un(Vg,"on"+Ug)}un(sf,"onAnimationEnd"),un(af,"onAnimationIteration"),un(uf,"onAnimationStart"),un("dblclick","onDoubleClick"),un("focusin","onFocus"),un("focusout","onBlur"),un(lf,"onTransitionEnd"),Jn("onMouseEnter",["mouseout","mouseover"]),Jn("onMouseLeave",["mouseout","mouseover"]),Jn("onPointerEnter",["pointerout","pointerover"]),Jn("onPointerLeave",["pointerout","pointerover"]),Dn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dn("onSelect","focusout contextmenu dragend focu
44sin keydown keyup mousedown mouseup selectionchange".split(" ")),Dn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Wg=new Set("cancel close invalid load scroll toggle".split(" ").concat(oi));function ff(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,V0(r,t,void 0,e),e.currentTarget=null}function pf(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],u=a.instance,l=a.currentTarget;if(a=a.listener,u!==o&&i.isPropagationStopped())break e;ff(i,a,l),o=u}else for(s=0;s<r.length;s++){if(a=r[s],u=a.instance,l=a.currentTarget,a=a.listener,u!==o&&i.isPropagationStopped())break e;ff(i,a,l),o=u}}}if(Xi)throw e=ba,Xi=!1,ba=null,e}function J(e,t){var n=t[ru];n===void 0&&(n=t[ru]=new Set);var r=e+"__bubble";n.has(r)||(hf(t,e,2,!1),n.add(r))}function Ya(e,t,n){var r=0;t&&(r|=4),hf(n,e,r,t)}var mo="_reactListening"+Math.random().toString(36).slice(2);function si(e){if(!e[mo]){e[mo]=!0,Qc.forEach(function(n){n!=="selectionchange"&&(Wg.has(n)||Ya(n,!1,e),Ya(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mo]||(t[mo]=!0,Ya("selectionchange",!1,t))}}function hf(e,t,n,r){switch(Bd(t)){case 1:var i=ig;break;case 4:i=og;break;default:i=ja}n=i.bind(null,t,n,e),i=void 0,!ka||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Xa(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Rn(a),s===null)return;if(u=s.tag,u===5||u===6){r=o=s;continue e}a=a.parentNode}}r=r.return}yd(function(){var l=o,c=Ea(n),f=[];e:{var d=cf.get(e);if(d!==void 0){var p=Ba,m=e;switch(e){case"keypress":if(uo(n)===0)break e;case"keydown":case"keyup":p=Sg;break;case"focusin":m="focus",p=Ia;break;case"focusout":m="blur",p=Ia;break;case"beforeblur":case"afterblur":p=Ia;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=ug;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Cg;break;case sf:case af:case uf:p=dg;break;case lf:p=kg;break;case"scroll":p=sg;break;case"wheel":p=_g;break;case"copy":case"cut":case"paste":p=pg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=zd}var w=(t&4)!==0,x=!w&&e==="scroll",g=w?d!==null?d+"Capture":null:d;w=[];for(var h=l,v;h!==null;){v=h;var E=v.stateNode;if(v.tag===5&&E!==null&&(v=E,g!==null&&(E=Vr(h,g),E!=null&&w.push(ai(h,E,v)))),x)break;h=h.return}0<w.length&&(d=new p(d,m,null,n,c),f.push({event:d,listeners:w}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&n!==xa&&(m=n.relatedTarget||n.fromElement)&&(Rn(m)||m[zt]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(m=n.relatedTarget||n.toElement,p=l,m=m?Rn(m):null,m!==null&&(x=Tn(m),m!==x||m.tag!==5&&m.tag!==6)&&(m=null)):(p=null,m=l),p!==m)){if(w=Id,E="onMouseLeave",g="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(w=zd,E="onPointerLeave",g="onPointerEnter",h="pointer"),x=p==null?d:dr(p),v=m==null?d:dr(m),d=new w(E,h+"leave",p,n,c
vendor: 4,815 bytes, lines 44-45
44),d.target=x,d.relatedTarget=v,E=null,Rn(c)===l&&(w=new w(g,h+"enter",m,n,c),w.target=v,w.relatedTarget=x,E=w),x=E,p&&m)t:{for(w=p,g=m,h=0,v=w;v;v=lr(v))h++;for(v=0,E=g;E;E=lr(E))v++;for(;0<h-v;)w=lr(w),h--;for(;0<v-h;)g=lr(g),v--;for(;h--;){if(w===g||g!==null&&w===g.alternate)break t;w=lr(w),g=lr(g)}w=null}else w=null;p!==null&&mf(f,d,p,w,!1),m!==null&&x!==null&&mf(f,x,m,w,!0)}}e:{if(d=l?dr(l):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var k=Pg;else if(Kd(d))if(Gd)k=Mg;else{k=Bg;var D=Og}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(k=Lg);if(k&&(k=k(e,l))){Qd(f,k,n,c);break e}D&&D(e,d,l),e==="focusout"&&(D=d._wrapperState)&&D.controlled&&d.type==="number"&&ga(d,"number",d.value)}switch(D=l?dr(l):window,e){case"focusin":(Kd(D)||D.contentEditable==="true")&&(ar=D,qa=l,ii=null);break;case"focusout":ii=qa=ar=null;break;case"mousedown":Ha=!0;break;case"contextmenu":case"mouseup":case"dragend":Ha=!1,rf(f,n,c);break;case"selectionchange":if(zg)break;case"keydown":case"keyup":rf(f,n,c)}var T;if(za)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else sr?qd(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Vd&&n.locale!=="ko"&&(sr||j!=="onCompositionStart"?j==="onCompositionEnd"&&sr&&(T=Ld()):(an=c,Oa="value"in an?an.value:an.textContent,sr=!0)),D=go(l,j),0<D.length&&(j=new $d(j,e,null,n,c),f.push({event:j,listeners:D}),T?j.data=T:(T=Hd(n),T!==null&&(j.data=T)))),(T=Dg?Tg(e,n):Rg(e,n))&&(l=go(l,"onBeforeInput"),0<l.length&&(c=new $d("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:l}),c.data=T))}pf(f,t)})}function ai(e,t,n){return{instance:e,listener:t,currentTarget:n}}function go(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Vr(e,n),o!=null&&r.unshift(ai(e,o,i)),o=Vr(e,t),o!=null&&r.push(ai(e,o,i))),e=e.return}return r}function lr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mf(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,u=a.alternate,l=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&l!==null&&(a=l,i?(u=Vr(n,o),u!=null&&s.unshift(ai(n,u,a))):i||(u=Vr(n,o),u!=null&&s.push(ai(n,u,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var qg=/\r\n?/g,Hg=/\u0000|\uFFFD/g;function gf(e){return(typeof e=="string"?e:""+e).replace(qg,` 45`).replace(Hg,"")}function vo(e,t,n){if(t=gf(t),gf(e)!==t&&n)throw Error(F(425))}function yo(){}var Ja=null,Za=null;function eu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var tu=typeof setTimeout=="function"?setTimeout:void 0,Kg=typeof clearTimeout=="function"?clearTimeout:void 0,vf=typeof Promise=="function"?Promise:void 0,Qg=typeof queueMicrotask=="function"?queueMicrotask:typeof vf<"u"?function(e){return vf.resolve(null).then(e).catch(Gg)}:tu;function Gg(e){setTimeout(function(){throw e})}function nu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Xr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Xr(t)}function ln(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function yf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var cr=Math.random().toString(36).slice(2),Dt="__reactFiber$"+cr,ui="__reactProps$"+cr,zt="__reactContainer$"+cr,ru="__reactEvents$"+cr,Yg="__reactListeners$"+cr,Xg="__reactHandles$"+cr;function Rn(e){var t=e[Dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zt]||n[Dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yf(e);e!==null;){if(n=e[Dt])return n;e=yf(e)}return t}e=n,n=e.parentNode}return null}function li(e){return e=e[Dt]||e[zt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function dr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function wo(e){return e[ui]||null}var iu=[],fr=-1;function cn(e){return{current:e}}function Z(e){0>fr||(e.current=iu[fr],iu[fr]=null,fr--)}function G(e,t){fr++,iu[fr]=e.current,e.current=t}var dn={},Fe=cn(dn),$e=cn(!1),Nn=dn;function pr(e,t){var n=e.type.contextTypes;if(!n)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;
vendor: 5,403 bytes, line 45
45for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ze(e){return e=e.childContextTypes,e!=null}function So(){Z($e),Z(Fe)}function wf(e,t,n){if(Fe.current!==dn)throw Error(F(168));G(Fe,t),G($e,n)}function Sf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,O0(e)||"Unknown",i));return re({},n,r)}function xo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,Nn=Fe.current,G(Fe,e),G($e,$e.current),!0}function xf(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Sf(e,t,Nn),r.__reactInternalMemoizedMergedChildContext=e,Z($e),Z(Fe),G(Fe,e)):Z($e),G($e,n)}var Vt=null,Eo=!1,ou=!1;function Ef(e){Vt===null?Vt=[e]:Vt.push(e)}function Jg(e){Eo=!0,Ef(e)}function fn(){if(!ou&&Vt!==null){ou=!0;var e=0,t=q;try{var n=Vt;for(q=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Vt=null,Eo=!1}catch(i){throw Vt!==null&&(Vt=Vt.slice(e+1)),Cd(_a,fn),i}finally{q=t,ou=!1}}return null}var hr=[],mr=0,Co=null,Ao=0,nt=[],rt=0,jn=null,Ut=1,Wt="";function Pn(e,t){hr[mr++]=Ao,hr[mr++]=Co,Co=e,Ao=t}function Cf(e,t,n){nt[rt++]=Ut,nt[rt++]=Wt,nt[rt++]=jn,jn=e;var r=Ut;e=Wt;var i=32-pt(r)-1;r&=~(1<<i),n+=1;var o=32-pt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Ut=1<<32-pt(t)+i|n<<i|r,Wt=o+e}else Ut=1<<o|n<<i|r,Wt=e}function su(e){e.return!==null&&(Pn(e,1),Cf(e,1,0))}function au(e){for(;e===Co;)Co=hr[--mr],hr[mr]=null,Ao=hr[--mr],hr[mr]=null;for(;e===jn;)jn=nt[--rt],nt[rt]=null,Wt=nt[--rt],nt[rt]=null,Ut=nt[--rt],nt[rt]=null}var Ge=null,Ye=null,te=!1,mt=null;function Af(e,t){var n=at(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function kf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ge=e,Ye=ln(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ge=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=jn!==null?{id:Ut,overflow:Wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=at(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ge=e,Ye=null,!0):!1;default:return!1}}function uu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function lu(e){if(te){var t=Ye;if(t){var n=t;if(!kf(e,t)){if(uu(e))throw Error(F(418));t=ln(n.nextSibling);var r=Ge;t&&kf(e,t)?Af(r,n):(e.flags=e.flags&-4097|2,te=!1,Ge=e)}}else{if(uu(e))throw Error(F(418));e.flags=e.flags&-4097|2,te=!1,Ge=e}}}function bf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ge=e}function ko(e){if(e!==Ge)return!1;if(!te)return bf(e),te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!eu(e.type,e.memoizedProps)),t&&(t=Ye)){if(uu(e))throw _f(),Error(F(418));for(;t;)Af(e,t),t=ln(t.nextSibling)}if(bf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=ln(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=Ge?ln(e.stateNode.nextSibling):null;return!0}function _f(){for(var e=Ye;e;)e=ln(e.nextSibling)}function gr(){Ye=Ge=null,te=!1}function cu(e){mt===null?mt=[e]:mt.push(e)}var Zg=$t.ReactCurrentBatchConfig;function gt(e,t){if(e&&e.defaultProps){t=re({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var bo=cn(null),_o=null,vr=null,du=null;function fu(){du=vr=_o=null}function pu(e){var t=bo.current;Z(bo),e._currentValue=t}function hu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function yr(e,t){_o=e,du=vr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(du!==e)if(e={context:e,memoizedValue:t,next:null},vr===null){if(_o===null)throw Error(F(308));vr=e,_o.dependencies={lanes:0,firstContext:e}}else vr=vr.next=e;return t}var On=null;function mu(e){On===null?On=[e]:On.push(e)}function Ff(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,mu(t)):(n.next=i.next,i.next=n),t.interleaved=n,qt(e,r)}function qt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pn=!1;function gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Df(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function hn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,V&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,qt(e,n)}return i=r.interleaved,i===null?(t.next=t,mu(r)):(t.next=i.next,i.next=t),r.interleaved=t,qt(e,n)}
vendor: 8,350 bytes, line 45
45function Fo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ta(e,n)}}function Tf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Do(e,t,n,r){var i=e.updateQueue;pn=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,l=u.next;u.next=null,s===null?o=l:s.next=l,s=u;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=l:a.next=l,c.lastBaseUpdate=u))}if(o!==null){var f=i.baseState;s=0,c=l=u=null,a=o;do{var d=a.lane,p=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,w=a;switch(d=t,p=n,w.tag){case 1:if(m=w.payload,typeof m=="function"){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=w.payload,d=typeof m=="function"?m.call(p,f,d):m,d==null)break e;f=re({},f,d);break e;case 2:pn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(l=c=p,u=f):c=c.next=p,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(u=f),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Mn|=s,e.lanes=s,e.memoizedState=f}}function Rf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(F(191,i));i.call(r)}}}var Nf=new Kc.Component().refs;function vu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:re({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var To={isMounted:function(e){return(e=e._reactInternals)?Tn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ie(),i=yn(e),o=Ht(r,i);o.payload=t,n!=null&&(o.callback=n),t=hn(e,o,i),t!==null&&(wt(t,e,i,r),Fo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ie(),i=yn(e),o=Ht(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=hn(e,o,i),t!==null&&(wt(t,e,i,r),Fo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ie(),r=yn(e),i=Ht(n,r);i.tag=2,t!=null&&(i.callback=t),t=hn(e,i,r),t!==null&&(wt(t,e,r,n),Fo(t,e,r))}};function jf(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!ri(n,r)||!ri(i,o):!0}function Pf(e,t,n){var r=!1,i=dn,o=t.contextType;return typeof o=="object"&&o!==null?o=it(o):(i=ze(t)?Nn:Fe.current,r=t.contextTypes,o=(r=r!=null)?pr(e,i):dn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=To,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Of(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&To.enqueueReplaceState(t,t.state,null)}function yu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Nf,gu(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=it(o):(o=ze(t)?Nn:Fe.current,i.context=pr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(vu(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&To.enqueueReplaceState(i,i.state,null),Do(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function ci(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;a===Nf&&(a=i.refs={}),s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Ro(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bf(e){var t=e._init;return t(e._payload)}function Lf(e){function t(g,h){if(e){var v=g.deletions;v===null?(g.deletions=[h],g.flags|=16):v.push(h)}}function n(g,h){if(!e)return null;for(;h!==null;)t(g,h),h=h.sibling;return null}function r(g,h){for(g=new Map;h!==null;)h.key!==null?g.set(h.key,h):g.set(h.index,h),h=h.sibling;return g}function i(g,h){return g=Sn(g,h),g.index=0,g.sibling=null,g}function o(g,h,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<h?(g.flags|=2,h):v):(g.flags|=2,h)):(g.flags|=1048576,h)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,h,v,E){return h===null||h.tag!==6?(h=tl(v,g.mode,E),h.return=g,h):(h=i(h,v),h.return=g,h)}function u(g,h,v,E){var k=v.type;return k===er?c(g,h,v.props.children,E,v.key):h!==null&&(h.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===en&&Bf(k)===h.type)?(E=i(h,v.props),E.ref=ci(g,h,v),E.return=g,E):(E=Yo(v.type,v.key,v.props,null,g.mode,E),E.ref=ci(g,h,v),E.return=g,E)}function l(g,h,v,E){return h===null||h.tag!==4||h.stateNode.containerInfo!==v.containerInfo||h.stateNode.implementation!==v.implementation?(h=nl(v,g.mode,E),h.return=g,h):(h=i(h,v.children||[]),h.return=g,h)}function c(g,h,v,E,k){return h===null||h.tag!==7?(h=Vn(v,g.mode,E,k),h.return=g,h):(h=i(h,v),h.return=g,h)}function f(g,h,v){if(typeof h=="string"&&h!==""||typeof h=="number")return h=tl(""+h,g.mode,v),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Hi:return v=Yo(h.type,h.key,h.props,null,g.mode,v),v.ref=ci(g,null,h),v.return=g,v;case Zn:return h=nl(h,g.mode,v),h.return=g,h;case en:var E=h._init;return f(g,E(h._payload),v)}if(Ir(h)||Lr(h))return h=Vn(h,g.mode,v,null),h.return=g,h;Ro(g,h)}return null}function d(g,h,v,E){var k=h!==null?h.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return k!==null?null:a(g,h,""+v,E);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Hi:return v.key===k?u(g,h,v,E):null;case Zn:return v.key===k?l(g,h,v,E):null;case en:return k=v._init,d(g,h,k(v._payload),E)}if(Ir(v)||Lr(v))return k!==null?null:c(g,h,v,E,null);Ro(g,v)}return null}function p(g,h,v,E,k){if(typeof E=="string"&&E!==""||typeof E=="number")return g=g.get(v)||null,a(h,g,""+E,k);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Hi:return g=g.get(E.key===null?v:E.key)||null,u(h,g,E,k);case Zn:return g=g.get(E.key===null?v:E.key)||null,l(h,g,E,k);case en:var D=E._init;return p(g,h,v,D(E._payload),k)}if(Ir(E)||Lr(E))return g=g.get(v)||null,c(h,g,E,k,null);Ro(h,E)}return null}function m(g,h,v,E){for(var k=null,D=null,T=h,j=h=0,I=null;T!==null&&j<v.length;j++){T.index>j?(I=T,T=null):I=T.sibling;var O=d(g,T,v[j],E);if(O===null){T===null&&(T=I);break}e&&T&&O.alternate===null&&t(g,T),h=o(O,h,j),D===null?k=O:D.sibling=O,D=O,T=I}if(j===v.length)return n(g,T),te&&Pn(g,j),k;if(T===null){for(;j<v.length;j++)T=f(g,v[j],E),T!==null&&(h=o(T,h,j),D===null?k=T:D.sibling=T,D=T);return te&&Pn(g,j),k}for(T=r(g,T);j<v.length;j++)I=p(T,g,j,v[j],E),I!==null&&(e&&I.alternate!==null&&T.delete(I.key===null?j:I.key),h=o(I,h,j),D===null?k=I:D.sibling=I,D=I);return e&&T.forEach(function(ae){return t(g,ae)}),te&&Pn(g,j),k}
vendor: 42,947 bytes, lines 45-47
45function w(g,h,v,E){var k=Lr(v);if(typeof k!="function")throw Error(F(150));if(v=k.call(v),v==null)throw Error(F(151));for(var D=k=null,T=h,j=h=0,I=null,O=v.next();T!==null&&!O.done;j++,O=v.next()){T.index>j?(I=T,T=null):I=T.sibling;var ae=d(g,T,O.value,E);if(ae===null){T===null&&(T=I);break}e&&T&&ae.alternate===null&&t(g,T),h=o(ae,h,j),D===null?k=ae:D.sibling=ae,D=ae,T=I}if(O.done)return n(g,T),te&&Pn(g,j),k;if(T===null){for(;!O.done;j++,O=v.next())O=f(g,O.value,E),O!==null&&(h=o(O,h,j),D===null?k=O:D.sibling=O,D=O);return te&&Pn(g,j),k}for(T=r(g,T);!O.done;j++,O=v.next())O=p(T,g,j,O.value,E),O!==null&&(e&&O.alternate!==null&&T.delete(O.key===null?j:O.key),h=o(O,h,j),D===null?k=O:D.sibling=O,D=O);return e&&T.forEach(function(Q){return t(g,Q)}),te&&Pn(g,j),k}function x(g,h,v,E){if(typeof v=="object"&&v!==null&&v.type===er&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Hi:e:{for(var k=v.key,D=h;D!==null;){if(D.key===k){if(k=v.type,k===er){if(D.tag===7){n(g,D.sibling),h=i(D,v.props.children),h.return=g,g=h;break e}}else if(D.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===en&&Bf(k)===D.type){n(g,D.sibling),h=i(D,v.props),h.ref=ci(g,D,v),h.return=g,g=h;break e}n(g,D);break}else t(g,D);D=D.sibling}v.type===er?(h=Vn(v.props.children,g.mode,E,v.key),h.return=g,g=h):(E=Yo(v.type,v.key,v.props,null,g.mode,E),E.ref=ci(g,h,v),E.return=g,g=E)}return s(g);case Zn:e:{for(D=v.key;h!==null;){if(h.key===D)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){n(g,h.sibling),h=i(h,v.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=nl(v,g.mode,E),h.return=g,g=h}return s(g);case en:return D=v._init,x(g,h,D(v._payload),E)}if(Ir(v))return m(g,h,v,E);if(Lr(v))return w(g,h,v,E);Ro(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,h!==null&&h.tag===6?(n(g,h.sibling),h=i(h,v),h.return=g,g=h):(n(g,h),h=tl(v,g.mode,E),h.return=g,g=h),s(g)):n(g,h)}return x}var wr=Lf(!0),Mf=Lf(!1),di={},Tt=cn(di),fi=cn(di),pi=cn(di);function Bn(e){if(e===di)throw Error(F(174));return e}function wu(e,t){switch(G(pi,t),G(fi,e),G(Tt,di),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ya(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ya(t,e)}Z(Tt),G(Tt,t)}function Sr(){Z(Tt),Z(fi),Z(pi)}function If(e){Bn(pi.current);var t=Bn(Tt.current),n=ya(t,e.type);t!==n&&(G(fi,e),G(Tt,n))}function Su(e){fi.current===e&&(Z(Tt),Z(fi))}var ie=cn(0);function No(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var xu=[];function Eu(){for(var e=0;e<xu.length;e++)xu[e]._workInProgressVersionPrimary=null;xu.length=0}var jo=$t.ReactCurrentDispatcher,Cu=$t.ReactCurrentBatchConfig,Ln=0,oe=null,he=null,ge=null,Po=!1,hi=!1,mi=0,ev=0;function De(){throw Error(F(321))}function Au(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ht(e[n],t[n]))return!1;return!0}function ku(e,t,n,r,i,o){if(Ln=o,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?iv:ov,e=n(r,i),hi){o=0;do{if(hi=!1,mi=0,25<=o)throw Error(F(301));o+=1,ge=he=null,t.updateQueue=null,jo.current=sv,e=n(r,i)}while(hi)}if(jo.current=Lo,t=he!==null&&he.next!==null,Ln=0,ge=he=oe=null,Po=!1,t)throw Error(F(300));return e}function bu(){var e=mi!==0;return mi=0,e}function Rt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ge===null?oe.memoizedState=ge=e:ge=ge.next=e,ge}function ot(){if(he===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=ge===null?oe.memoizedState:ge.next;if(t!==null)ge=t,he=e;else{if(e===null)throw Error(F(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},ge===null?oe.memoizedState=ge=e:ge=ge.next=e}return ge}function gi(e,t){return typeof t=="function"?t(e):t}function _u(e){var t=ot(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=he,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,u=null,l=o;do{var c=l.lane;if((Ln&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var f={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};u===null?(a=u=f,s=r):u=u.next=f,oe.lanes|=c,Mn|=c}l=l.next}while(l!==null&&l!==o);u===null?s=r:u.next=a,ht(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,oe.lanes|=o,Mn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fu(e){var t=ot(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);ht(o,t.memoizedState)||(Ve=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function $f(){}function zf(e,t){var n=oe,r=ot(),i=t(),o=!ht(r.memoizedState,i);if(o&&(r.memoizedState=i,Ve=!0),r=r.queue,Du(Wf.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ge!==null&&ge.memoizedState.tag&1){if(n.flags|=2048,vi(9,Uf.bind(null,n,r,i,t),void 0,null),ve===null)throw Error(F(349));Ln&30||Vf(n,t,i)}return i}function Vf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=oe.updateQueue,t===null?(t={lastEffect:null,stores:null},oe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Uf(e,t,n,r){t.value=n,t.getSnapshot=r,qf(t)&&Hf(e)}function Wf(e,t,n){return n(function(){qf(t)&&Hf(e)})}function qf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function Hf(e){var t=qt(e,1);t!==null&&wt(t,e,1,-1)}function Kf(e){var t=Rt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:gi,lastRenderedState:e},t.queue=e,e=e.dispatch=rv.bind(null,oe,e),[t.memoizedState,e]}function vi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=oe.updateQueue,t===null?(t={lastEffect:null,stores:null},oe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qf(){return ot().memoizedState}function Oo(e,t,n,r){var i=Rt();oe.flags|=e,i.memoizedState=vi(1|t,n,void 0,r===void 0?null:r)}function Bo(e,t,n,r){var i=ot();r=r===void 0?null:r;var o=void 0;if(he!==null){var s=he.memoizedState;if(o=s.destroy,r!==null&&Au(r,s.deps)){i.memoizedState=vi(t,n,o,r);return}}oe.flags|=e,i.memoizedState=vi(1|t,n,o,r)}function Gf(e,t){return Oo(8390656,8,e,t)}function Du(e,t){return Bo(2048,8,e,t)}function Yf(e,t){return Bo(4,2,e,t)}function Xf(e,t){return Bo(4,4,e,t)}function Jf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zf(e,t,n){return n=n!=null?n.concat([e]):null,Bo(4,4,Jf.bind(null,t,e),n)}function Tu(){}function ep(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Au(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tp(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Au(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function np(e,t,n){return Ln&21?(ht(n,t)||(n=_d(),oe.lanes|=n,Mn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function tv(e,t){var n=q;q=n!==0&&4>n?n:4,e(!0);var r=Cu.transition;Cu.transition={};try{e(!1),t()}finally{q=n,Cu.transition=r}}function rp(){return ot().memoizedState}function nv(e,t,n){var r=yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ip(e))op(t,n);else if(n=Ff(e,t,n,r),n!==null){var i=Ie();wt(n,e,r,i),sp(n,t,r)}}function rv(e,t,n){var r=yn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ip(e))op(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,ht(a,s)){var u=t.interleaved;u===null?(i.next=i,mu(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Ff(e,t,i,r),n!==null&&(i=Ie(),wt(n,e,r,i),sp(n,t,r))}}function ip(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function op(e,t){hi=Po=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ta(e,n)}}var Lo={readContext:it,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},iv={readContext:it,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Gf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Oo(4194308,4,Jf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oo(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=nv.bind(null,oe,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:Kf,useDebugValue:Tu,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=Kf(!1),t=e[0];return e=tv.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oe,i=Rt();if(te){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ve===null)throw Error(F(349));Ln&30||Vf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Gf(Wf.bind(null,r,o,e),[e]),r.flags|=2048,vi(9,Uf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Rt(),t=ve.identifierPrefix;if(te){var n=Wt,r=Ut;n=(r&~(1<<32-pt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=mi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ev++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ov={readContext:it,useCallback:ep,useContext:it,useEffect:Du,useImperativeHandle:Zf,useInsertionEffect:Yf,useLayoutEffect:Xf,useMemo:tp,useReducer:_u,useRef:Qf,useState:function(){return _u(gi)},useDebugValue:Tu,useDeferredValue:function(e){var t=ot();return np(t,he.memoizedState,e)},useTransition:function(){var e=_u(gi)[0],t=ot().memoizedState;return[e,t]},useMutableSource:$f,useSyncExternalStore:zf,useId:rp,unstable_isNewReconciler:!1},sv={readContext:it,useCallback:ep,useContext:it,useEffect:Du,useImperativeHandle:Zf,useInsertionEffect:Yf,useLayoutEffect:Xf,useMemo:tp,useReducer:Fu,useRef:Qf,useState:function(){return Fu(gi)},useDebugValue:Tu,useDeferredValue:function(e){var t=ot();return he===null?t.memoizedState=e:np(t,he.memoizedState,e)},useTransition:function(){var e=Fu(gi)[0],t=ot().memoizedState;return[e,t]},useMutableSource:$f,useSyncExternalStore:zf,useId:rp,unstable_isNewReconciler:!1};function xr(e,t){try{var n="",r=t;do n+=P0(r),r=r.return;while(r);var i=n}catch(o){i=` 46Error generating stack: `+o.message+` 47`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ru(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Nu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var av=typeof WeakMap=="function"?WeakMap:Map;function ap(e,t,n){n=Ht(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wo||(Wo=!0,Ku=r),Nu(e,t)},n}function up(e,t,n){n=Ht(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Nu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Nu(e,t),typeof r!="function"&&(gn===null?gn=new Set([this]):gn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function lp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new av;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=xv.bind(null,e,t,n),t.then(e,e))}function cp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function dp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ht(-1,1),t.tag=2,hn(n,t,1))),n.lanes|=1),e)}var uv=$t.ReactCurrentOwner,Ve=!1;function Me(e,t,n,r){t.child=e===null?Mf(t,null,n,r):wr(t,e.child,n,r)}function fp(e,t,n,r,i){n=n.render;var o=t.ref;return yr(t,i),r=ku(e,t,n,r,o,i),n=bu(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kt(e,t,i)):(te&&n&&su(t),t.flags|=1,Me(e,t,r,i),t.child)}function pp(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!el(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hp(e,t,o,r,i)):(e=Yo(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:ri,n(s,r)&&e.ref===t.ref)return Kt(e,t,i)}return t.flags|=1,e=Sn(o,r),e.ref=t.ref,e.return=t,t.child=e}function hp(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(ri(o,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,Kt(e,t,i)}return ju(e,t,n,r,i)}function mp(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(Cr,Xe),Xe|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(Cr,Xe),Xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,G(Cr,Xe),Xe|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,G(Cr,Xe),Xe|=r;return Me(e,t,i,n),t.child}function gp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ju(e,t,n,r,i){var o=ze(n)?Nn:Fe.current;return o=pr(t,o),yr(t,i),n=ku(e,t,n,r,o,i),r=bu(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kt(e,t,i)):(te&&r&&su(t),t.flags|=1,Me(e,t,n,i),t.child)}function vp(e,t,n,r,i){if(ze(n)){var o=!0;xo(t)}else o=!1;if(yr(t,i),t.stateNode===null)Io(e,t),Pf(t,n,r),yu(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,l=n.contextType;typeof l=="object"&&l!==null?l=it(l):(l=ze(n)?Nn:Fe.current,l=pr(t,l));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==l)&&Of(t,s,r,l),pn=!1;var d=t.memoizedState;s.state=d,Do(t,r,s,i),u=t.memoizedState,a!==r||d!==u||$e.current||pn?(typeof c=="function"&&(vu(t,n,c,r),u=t.memoizedState),(a=pn||jf(t,n,a,r,d,u,l))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=l,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Df(e,t),a=t.memoizedProps,l=t.type===t.elementType?a:gt(t.type,a),s.props=l,f=t.pendingProps,d=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=it(u):(u=ze(n)?Nn:Fe.current,u=pr(t,u));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==u)&&Of(t,s,r,u),pn=!1,d=t.memoizedState,s.state=d,Do(t,r,s,i);var m=t.memoizedState;a!==f||d!==m||$e.current||pn?(typeof p=="function"&&(vu(t,n,p,r),m=t.memoizedState),(l=pn||jf(t,n,l,r,d,m,u)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,m,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,m,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),s.props=r,s.state=m,s.context=u,r=l):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Pu(e,t,n,r,o,i)}function Pu(e,t,n,r,i,o){gp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&xf(t,n,!1),Kt(e,t,o);r=t.stateNode,uv.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=wr(t,e.child,null,o),t.child=wr(t,null,a,o)):Me(e,t,a,o),t.memoizedState=r.state,i&&xf(t,n,!0),t.child}function yp(e){var t=e.stateNode;t.pendingContext?wf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wf(e,t.context,!1),wu(e,t.containerInfo)}function wp(e,t,n,r,i){return gr(),cu(i),t.flags|=256,Me(e,t,n,r),t.child}var Ou={dehydrated:null,treeContext:null,retryLane:0};function Bu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sp(e,t,n){var r=t.pendingProps,i=ie.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),G(ie,i&1),e===null)return lu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Xo(s,r,0,null),e=Vn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Bu(n),t.memoizedState=Ou,e):Lu(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return lv(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Sn(i,u),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Sn(a,o):(o=Vn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Bu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Ou,r}return o=e.child,e=o.sibling,r=Sn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Lu(e,t){return t=Xo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Mo(e,t,n,r){return r!==null&&cu(r),wr(t,e.child,null,n),e=Lu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lv(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Ru(Error(F(422))),Mo(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Xo({mode:"visible",children:r.children},i,0,null),o=Vn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&wr(t,e.child,null,s),t.child.memoizedState=Bu(s),t.memoizedState=Ou,o);if(!(t.mode&1))return Mo(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(F(419)),r=Ru(o,r,void 0),Mo(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ve||a){if(r=ve,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,qt(e,i),wt(r,e,i,-1))}return Zu(),r=Ru(Error(F(421))),Mo(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ev.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Ye=ln(i.nextSibling),Ge=t,te=!0,mt=null,e!==null&&(nt[rt++]=Ut,nt[rt++]=Wt,nt[rt++]=jn,Ut=e.id,Wt=e.overflow,jn=t),t=Lu(t,r.children),t.flags|=4096,t)}function xp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),hu(e.return,t,n)}function Mu(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Ep(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Me(e,t,r.children,n),r=ie.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xp(e,n,t);else if(e.tag===19)xp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(G(ie,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&No(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Mu(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&No(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Mu(t,!0,n,null,o);break;case"together":Mu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Io(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=Sn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Sn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cv(e,t,n){switch(t.tag){case 3:yp(t),gr();break;case 5:If(t);break;case 1:ze(t.type)&&xo(t);break;case 4:wu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;G(bo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(G(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?Sp(e,t,n):(G(ie,ie.current&1),e=Kt(e,t,n),e!==null?e.sibling:null);G(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ep(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),G(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,mp(e,t,n)}return Kt(e,t,n)}var Cp,Iu,Ap,kp;Cp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Iu=function(){},Ap=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Bn(Tt.current);var o=null;switch(n){case"input":i=ha(e,i),r=ha(e,r),o=[];break;case"select":i=re({},i,{value:void 0}),r=re({},r,{value:void 0}),o=[];break;case"textarea":i=va(e,i),r=va(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=yo)}wa(n,r);var s;n=null;for(l in i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&i[l]!=null)if(l==="style"){var a=i[l];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Br.hasOwnProperty(l)?o||(o=[]):(o=o||[]).push(l,null));for(l in r){var u=r[l];if(a=i!=null?i[l]:void 0,r.hasOwnProperty(l)&&u!==a&&(u!=null||a!=null))if(l==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(l,n)),n=u;else l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(o=o||[]).push(l,u)):l==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(l,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Br.hasOwnProperty(l)?(u!=null&&l==="onScroll"&&J("scroll",e),o||a===u||(o=[])):(o=o||[]).push(l,u))}n&&(o=o||[]).push("style",n);var l=o;(t.updateQueue=l)&&(t.flags|=4)}},kp=function(e,t,n,r){n!==r&&(t.flags|=4)};function yi(e,t){if(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Te(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function dv(e,t,n){var r=t.pendingProps;switch(au(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Te(t),null;case 1:return ze(t.type)&&So(),Te(t),null;case 3:return r=t.stateNode,Sr(),Z($e),Z(Fe),Eu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ko(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,mt!==null&&(Yu(mt),mt=null))),Iu(e,t),Te(t),null;case 5:Su(t);var i=Bn(pi.current);if(n=t.type,e!==null&&t.stateNode!=null)Ap(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Te(t),null}if(e=Bn(Tt.current),ko(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Dt]=t,r[ui]=o,e=(t.mode&1)!==0,n){case"dialog":J("cancel",r),J("close",r);break;case"iframe":case"object":case"embed":J("load",r);break;case"video":case"audio":for(i=0;i<oi.length;i++)J(oi[i],r);break;case"source":J("error",r);break;case"img":case"image":case"link":J("error",r),J("load",r);break;case"details":J("toggle",r);break;case"input":rd(r,o),J("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},J("invalid",r);break;case"textarea":sd(r,o),J("invalid",r)}wa(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&vo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&vo(r.textContent,a,e),i=["children",""+a]):Br.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&J("scroll",r)}switch(n){case"input":Ki(r),od(r,o,!0);break;case"textarea":Ki(r),ud(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=yo)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ld(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Dt]=t,e[ui]=r,Cp(e,t,!1,!1),t.stateNode=e;e:{switch(s=Sa(n,r),n){case"dialog":J("cancel",e),J("close",e),i=r;break;case"iframe":case"object":case"embed":J("load",e),i=r;break;case"video":case"audio":for(i=0;i<oi.length;i++)J(oi[i],e);i=r;break;case"source":J("error",e),i=r;break;case"img":case"image":case"link":J("error",e),J("load",e),i=r;break;case"details":J("toggle",e),i=r;break;case"input":rd(e,r),i=ha(e,r),J("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=re({},r,{value:void 0}),J("invalid",e);break;case"textarea":sd(e,r),i=va(e,r),J("invalid",e);break;default:i=r}wa(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var u=a[o];o==="style"?fd(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&cd(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&$r(e,u):typeof u=="number"&&$r(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Br.hasOwnProperty(o)?u!=null&&o==="onScroll"&&J("scroll",e):u!=null&&ra(e,o,u,s))}switch(n){case"input":Ki(e),od(e,r,!1);break;case"textarea":Ki(e),ud(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?tr(e,!!r.multiple,o,!1):r.defaultValue!=null&&tr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=yo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Te(t),null;case 6:if(e&&t.stateNode!=null)kp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=Bn(pi.current),Bn(Tt.current),ko(t)){if(r=t.stateNode,n=t.memoizedProps,r[Dt]=t,(o=r.nodeValue!==n)&&(e=Ge,e!==null))switch(e.tag){case 3:vo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&vo(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Dt]=t,t.stateNode=r}return Te(t),null;case 13:if(Z(ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(te&&Ye!==null&&t.mode&1&&!(t.flags&128))_f(),gr(),t.flags|=98560,o=!1;else if(o=ko(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(F(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(F(317));o[Dt]=t}else gr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Te(t),o=!1}else mt!==null&&(Yu(mt),mt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?me===0&&(me=3):Zu())),t.updateQueue!==null&&(t.flags|=4),Te(t),null);case 4:return Sr(),Iu(e,t),e===null&&si(t.stateNode.containerInfo),Te(t),null;case 10:return pu(t.type._context),Te(t),null;case 17:return ze(t.type)&&So(),Te(t),null;case 19:if(Z(ie),o=t.memoizedState,o===null)return Te(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)yi(o,!1);else{if(me!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=No(e),s!==null){for(t.flags|=128,yi(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(ie,ie.current&1|2),t.child}e=e.sibling}o.tail!==null&&de()>Ar&&(t.flags|=128,r=!0,yi(o,!1),t.lanes=4194304)}else{if(!r)if(e=No(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!te)return Te(t),null}else 2*de()-o.renderingStartTime>Ar&&n!==1073741824&&(t.flags|=128,r=!0,yi(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=de(),t.sibling=null,n=ie.current,G(ie,r?n&1|2:n&1),t):(Te(t),null);case 22:case 23:return Ju(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xe&1073741824&&(Te(t),t.subtreeFlags&6&&(t.flags|=8192)):Te(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function fv(e,t){switch(au(t),t.tag){case 1:return ze(t.type)&&So(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sr(),Z($e),Z(Fe),Eu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Su(t),null;case 13:if(Z(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ie),null;case 4:return Sr(),null;case 10:return pu(t.type._context),null;case 22:case 23:return Ju(),null;case 24:return null;default:return null}}var $o=!1,Re=!1,pv=typeof WeakSet=="function"?WeakSet:Set,N=null;function Er(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function $u(e,t,n){try{n()}catch(r){le(e,t,r)}}var bp=!1;function hv(e,t){if(Ja=oo,e=nf(),Wa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++l===i&&(a=s),d===o&&++c===r&&(u=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Za={focusedElem:e,selectionRange:n},oo=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var w=m.memoizedProps,x=m.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:gt(t.type,w),x);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(E){le(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return m=bp,bp=!1,m}function wi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&$u(t,n,o)}i=i.next}while(i!==r)}}function zo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function zu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _p(e){var t=e.alternate;t!==null&&(e.alternate=null,_p(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dt],delete t[ui],delete t[ru],delete t[Yg],delete t[Xg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Fp(e){return e.tag===5||e.tag===3||e.tag===4}function Dp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yo));else if(r!==4&&(e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}function Uu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Uu(e,t,n),e=e.sibling;e!==null;)Uu(e,t,n),e=e.sibling}var ke=null,vt=!1;function mn(e,t,n){for(n=n.child;n!==null;)Tp(e,t,n),n=n.sibling}function Tp(e,t,n){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(Zi,n)}catch{}switch(n.tag){case 5:Re||Er(n,t);case 6:var r=ke,i=vt;ke=null,mn(e,t,n),ke=r,vt=i,ke!==null&&(vt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(vt?(e=ke,n=n.stateNode,e.nodeType===8?nu(e.parentNode,n):e.nodeType===1&&nu(e,n),Xr(e)):nu(ke,n.stateNode));break;case 4:r=ke,i=vt,ke=n.stateNode.containerInfo,vt=!0,mn(e,t,n),ke=r,vt=i;break;case 0:case 11:case 14:case 15:if(!Re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&$u(n,t,s),i=i.next}while(i!==r)}mn(e,t,n);break;case 1:if(!Re&&(Er(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){le(n,t,a)}mn(e,t,n);break;case 21:mn(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,mn(e,t,n),Re=r):mn(e,t,n);break;default:mn(e,t,n)}}function Rp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pv),t.forEach(function(r){var i=Cv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ke=a.stateNode,vt=!1;break e;case 3:ke=a.stateNode.containerInfo,vt=!0;break e;case 4:ke=a.stateNode.containerInfo,vt=!0;break e}a=a.return}if(ke===null)throw Error(F(160));Tp(o,s,i),ke=null,vt=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(l){le(i,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Np(t,e),t=t.sibling}function Np(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(yt(t,e),Nt(e),r&4){try{wi(3,e,e.return),zo(3,e)}catch(w){le(e,e.return,w)}try{wi(5,e,e.return)}catch(w){le(e,e.return,w)}}break;case 1:yt(t,e),Nt(e),r&512&&n!==null&&Er(n,n.return);break;case 5:if(yt(t,e),Nt(e),r&512&&n!==null&&Er(n,n.return),e.flags&32){var i=e.stateNode;try{$r(i,"")}catch(w){le(e,e.return,w)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&id(i,o),Sa(a,s);var l=Sa(a,o);for(s=0;s<u.length;s+=2){var c=u[s],f=u[s+1];c==="style"?fd(i,f):c==="dangerouslySetInnerHTML"?cd(i,f):c==="children"?$r(i,f):ra(i,c,f,l)}switch(a){case"input":ma(i,o);break;case"textarea":ad(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?tr(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?tr(i,!!o.multiple,o.defaultValue,!0):tr(i,!!o.multiple,o.multiple?[]:"",!1))}i[ui]=o}catch(w){le(e,e.return,w)}}break;case 6:if(yt(t,e),Nt(e),r&4){if(e.stateNode===null)throw Error(F(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(w){le(e,e.return,w)}}break;case 3:if(yt(t,e),Nt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xr(t.containerInfo)}catch(w){le(e,e.return,w)}break;case 4:yt(t,e),Nt(e);break;case 13:yt(t,e),Nt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Hu=de())),r&4&&Rp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Re=(l=Re)||c,yt(t,e),Re=l):yt(t,e),Nt(e),r&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!c&&e.mode&1)for(N=e,c=e.child;c!==null;){for(f=N=c;N!==null;){switch(d=N,p=d.child,d.tag){case 0:case 11:case 14:case 15:wi(4,d,d.return);break;case 1:Er(d,d.return);var m=d.stateNode;if(typeof m.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(w){le(r,n,w)}}break;case 5:Er(d,d.return);break;case 22:if(d.memoizedState!==null){Op(f);continue}}p!==null?(p.return=d,N=p):Op(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,l?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,u=f.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=dd("display",s))}catch(w){le(e,e.return,w)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(w){le(e,e.return,w)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:yt(t,e),Nt(e),r&4&&Rp(e);break;case 21:break;default:yt(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Fp(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&($r(i,""),r.flags&=-33);var o=Dp(e);Uu(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Dp(e);Vu(e,a,s);break;default:throw Error(F(161))}}catch(u){le(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mv(e,t,n){N=e,jp(e)}
vendor: 9,145 bytes, line 47
47function jp(e,t,n){for(var r=(e.mode&1)!==0;N!==null;){var i=N,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||$o;if(!s){var a=i.alternate,u=a!==null&&a.memoizedState!==null||Re;a=$o;var l=Re;if($o=s,(Re=u)&&!l)for(N=i;N!==null;)s=N,u=s.child,s.tag===22&&s.memoizedState!==null?Bp(i):u!==null?(u.return=s,N=u):Bp(i);for(;o!==null;)N=o,jp(o),o=o.sibling;N=i,$o=a,Re=l}Pp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,N=o):Pp(e)}}function Pp(e){for(;N!==null;){var t=N;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Re||zo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Re)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Rf(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Rf(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var c=l.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Xr(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}Re||t.flags&512&&zu(t)}catch(d){le(t,t.return,d)}}if(t===e){N=null;break}if(n=t.sibling,n!==null){n.return=t.return,N=n;break}N=t.return}}function Op(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var n=t.sibling;if(n!==null){n.return=t.return,N=n;break}N=t.return}}function Bp(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{zo(4,t)}catch(u){le(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){le(t,i,u)}}var o=t.return;try{zu(t)}catch(u){le(t,o,u)}break;case 5:var s=t.return;try{zu(t)}catch(u){le(t,s,u)}}}catch(u){le(t,t.return,u)}if(t===e){N=null;break}var a=t.sibling;if(a!==null){a.return=t.return,N=a;break}N=t.return}}var gv=Math.ceil,Vo=$t.ReactCurrentDispatcher,Wu=$t.ReactCurrentOwner,st=$t.ReactCurrentBatchConfig,V=0,ve=null,fe=null,be=0,Xe=0,Cr=cn(0),me=0,Si=null,Mn=0,Uo=0,qu=0,xi=null,Ue=null,Hu=0,Ar=1/0,Qt=null,Wo=!1,Ku=null,gn=null,qo=!1,vn=null,Ho=0,Ei=0,Qu=null,Ko=-1,Qo=0;function Ie(){return V&6?de():Ko!==-1?Ko:Ko=de()}function yn(e){return e.mode&1?V&2&&be!==0?be&-be:Zg.transition!==null?(Qo===0&&(Qo=_d()),Qo):(e=q,e!==0||(e=window.event,e=e===void 0?16:Bd(e.type)),e):1}function wt(e,t,n,r){if(50<Ei)throw Ei=0,Qu=null,Error(F(185));Hr(e,n,r),(!(V&2)||e!==ve)&&(e===ve&&(!(V&2)&&(Uo|=n),me===4&&wn(e,be)),We(e,r),n===1&&V===0&&!(t.mode&1)&&(Ar=de()+500,Eo&&fn()))}function We(e,t){var n=e.callbackNode;Z0(e,t);var r=no(e,e===ve?be:0);if(r===0)n!==null&&Ad(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ad(n),t===1)e.tag===0?Jg(Mp.bind(null,e)):Ef(Mp.bind(null,e)),Qg(function(){!(V&6)&&fn()}),n=null;else{switch(Fd(r)){case 1:n=_a;break;case 4:n=kd;break;case 16:n=Ji;break;case 536870912:n=bd;break;default:n=Ji}n=Hp(n,Lp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lp(e,t){if(Ko=-1,Qo=0,V&6)throw Error(F(327));var n=e.callbackNode;if(kr()&&e.callbackNode!==n)return null;var r=no(e,e===ve?be:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Go(e,r);else{t=r;var i=V;V|=2;var o=$p();(ve!==e||be!==t)&&(Qt=null,Ar=de()+500,$n(e,t));do try{wv();break}catch(a){Ip(e,a)}while(1);fu(),Vo.current=o,V=i,fe!==null?t=0:(ve=null,be=0,t=me)}if(t!==0){if(t===2&&(i=Fa(e),i!==0&&(r=i,t=Gu(e,i))),t===1)throw n=Si,$n(e,0),wn(e,r),We(e,de()),n;if(t===6)wn(e,r);else{if(i=e.current.alternate,!(r&30)&&!vv(i)&&(t=Go(e,r),t===2&&(o=Fa(e),o!==0&&(r=o,t=Gu(e,o))),t===1))throw n=Si,$n(e,0),wn(e,r),We(e,de()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:zn(e,Ue,Qt);break;case 3:if(wn(e,r),(r&130023424)===r&&(t=Hu+500-de(),10<t)){if(no(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ie(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=tu(zn.bind(null,e,Ue,Qt),t);break}zn(e,Ue,Qt);break;case 4:if(wn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-pt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=de()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gv(r/1960))-r,10<r){e.timeoutHandle=tu(zn.bind(null,e,Ue,Qt),r);break}zn(e,Ue,Qt);break;case 5:zn(e,Ue,Qt);break;default:throw Error(F(329))}}}return We(e,de()),e.callbackNode===n?Lp.bind(null,e):null}function Gu(e,t){var n=xi;return e.current.memoizedState.isDehydrated&&($n(e,t).flags|=256),e=Go(e,t),e!==2&&(t=Ue,Ue=n,t!==null&&Yu(t)),e}function Yu(e){Ue===null?Ue=e:Ue.push.apply(Ue,e)}function vv(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ht(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wn(e,t){for(t&=~qu,t&=~Uo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-pt(t),r=1<<n;e[n]=-1,t&=~r}}function Mp(e){if(V&6)throw Error(F(327));kr();var t=no(e,0);if(!(t&1))return We(e,de()),null;var n=Go(e,t);if(e.tag!==0&&n===2){var r=Fa(e);r!==0&&(t=r,n=Gu(e,r))}if(n===1)throw n=Si,$n(e,0),wn(e,t),We(e,de()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zn(e,Ue,Qt),We(e,de()),null}function Xu(e,t){var n=V;V|=1;try{return e(t)}finally{V=n,V===0&&(Ar=de()+500,Eo&&fn())}}function In(e){vn!==null&&vn.tag===0&&!(V&6)&&kr();var t=V;V|=1;var n=st.transition,r=q;try{if(st.transition=null,q=1,e)return e()}finally{q=r,st.transition=n,V=t,!(V&6)&&fn()}}function Ju(){Xe=Cr.current,Z(Cr)}function $n(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Kg(n)),fe!==null)for(n=fe.return;n!==null;){var r=n;switch(au(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&So();break;case 3:Sr(),Z($e),Z(Fe),Eu();break;case 5:Su(r);break;case 4:Sr();break;case 13:Z(ie);break;case 19:Z(ie);break;case 10:pu(r.type._context);break;case 22:case 23:Ju()}n=n.return}if(ve=e,fe=e=Sn(e.current,null),be=Xe=t,me=0,Si=null,qu=Uo=Mn=0,Ue=xi=null,On!==null){for(t=0;t<On.length;t++)if(n=On[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}On=null}return e}function Ip(e,t){do{var n=fe;try{if(fu(),jo.current=Lo,Po){for(var r=oe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Po=!1}if(Ln=0,ge=he=oe=null,hi=!1,mi=0,Wu.current=null,n===null||n.return===null){me=1,Si=t,fe=null;break}e:{var o=e,s=n.return,a=n,u=t;if(t=be,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var l=u,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=cp(s);if(p!==null){p.flags&=-257,dp(p,s,a,o,t),p.mode&1&&lp(o,l,t),t=p,u=l;var m=t.updateQueue;if(m===null){var w=new Set;w.add(u),t.updateQueue=w}else m.add(u);break e}else{if(!(t&1)){lp(o,l,t),Zu();break e}u=Error(F(426))}}else if(te&&a.mode&1){var x=cp(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),dp(x,s,a,o,t),cu(xr(u,a));break e}}o=u=xr(u,a),me!==4&&(me=2),xi===null?xi=[o]:xi.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var g=ap(o,u,t);Tf(o,g);break e;case 1:a=u;var h=o.type,v=o.stateNode;if(!(o.flags&128)&&(typeof h.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(gn===null||!gn.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=up(o,a,t);Tf(o,E);break e}}o=o.return}while(o!==null)}Vp(n)}catch(k){t=k,fe===n&&n!==null&&(fe=n=n.return);continue}break}while(1)}function $p(){var e=Vo.current;return Vo.current=Lo,e===null?Lo:e}function Zu(){(me===0||me===3||me===2)&&(me=4),ve===null||!(Mn&268435455)&&!(Uo&268435455)||wn(ve,be)}function Go(e,t){var n=V;V|=2;var r=$p();(ve!==e||be!==t)&&(Qt=null,$n(e,t));do try{yv();break}catch(i){Ip(e,i)}while(1);if(fu(),V=n,Vo.current=r,fe!==null)throw Error(F(261));return ve=null,be=0,me}function yv(){for(;fe!==null;)zp(fe)}function wv(){for(;fe!==null&&!W0();)zp(fe)}function zp(e){var t=qp(e.alternate,e,Xe);e.memoizedProps=e.pendingProps,t===null?Vp(e):fe=t,Wu.current=null}function Vp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fv(n,t),n!==null){n.flags&=32767,fe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{me=6,fe=null;return}}else if(n=dv(n,t,Xe),n!==null){fe=n;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);me===0&&(me=5)}function zn(e,t,n){var r=q,i=st.transition;
vendor: 15,038 bytes, line 47
47try{st.transition=null,q=1,Sv(e,t,n,r)}finally{st.transition=i,q=r}return null}function Sv(e,t,n,r){do kr();while(vn!==null);if(V&6)throw Error(F(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(eg(e,o),e===ve&&(fe=ve=null,be=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||qo||(qo=!0,Hp(Ji,function(){return kr(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=st.transition,st.transition=null;var s=q;q=1;var a=V;V|=4,Wu.current=null,hv(e,n),Np(n,e),$g(Za),oo=!!Ja,Za=Ja=null,e.current=n,mv(n),q0(),V=a,q=s,st.transition=o}else e.current=n;if(qo&&(qo=!1,vn=e,Ho=i),o=e.pendingLanes,o===0&&(gn=null),Q0(n.stateNode),We(e,de()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Wo)throw Wo=!1,e=Ku,Ku=null,e;return Ho&1&&e.tag!==0&&kr(),o=e.pendingLanes,o&1?e===Qu?Ei++:(Ei=0,Qu=e):Ei=0,fn(),null}function kr(){if(vn!==null){var e=Fd(Ho),t=st.transition,n=q;try{if(st.transition=null,q=16>e?16:e,vn===null)var r=!1;else{if(e=vn,vn=null,Ho=0,V&6)throw Error(F(331));var i=V;for(V|=4,N=e.current;N!==null;){var o=N,s=o.child;if(N.flags&16){var a=o.deletions;if(a!==null){for(var u=0;u<a.length;u++){var l=a[u];for(N=l;N!==null;){var c=N;switch(c.tag){case 0:case 11:case 15:wi(8,c,o)}var f=c.child;if(f!==null)f.return=c,N=f;else for(;N!==null;){c=N;var d=c.sibling,p=c.return;if(_p(c),c===l){N=null;break}if(d!==null){d.return=p,N=d;break}N=p}}}var m=o.alternate;if(m!==null){var w=m.child;if(w!==null){m.child=null;do{var x=w.sibling;w.sibling=null,w=x}while(w!==null)}}N=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,N=s;else e:for(;N!==null;){if(o=N,o.flags&2048)switch(o.tag){case 0:case 11:case 15:wi(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,N=g;break e}N=o.return}}var h=e.current;for(N=h;N!==null;){s=N;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,N=v;else e:for(s=h;N!==null;){if(a=N,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:zo(9,a)}}catch(k){le(a,a.return,k)}if(a===s){N=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,N=E;break e}N=a.return}}if(V=i,fn(),Ft&&typeof Ft.onPostCommitFiberRoot=="function")try{Ft.onPostCommitFiberRoot(Zi,e)}catch{}r=!0}return r}finally{q=n,st.transition=t}}return!1}function Up(e,t,n){t=xr(n,t),t=ap(e,t,1),e=hn(e,t,1),t=Ie(),e!==null&&(Hr(e,1,t),We(e,t))}function le(e,t,n){if(e.tag===3)Up(e,e,n);else for(;t!==null;){if(t.tag===3){Up(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(gn===null||!gn.has(r))){e=xr(n,e),e=up(t,e,1),t=hn(t,e,1),e=Ie(),t!==null&&(Hr(t,1,e),We(t,e));break}}t=t.return}}function xv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ie(),e.pingedLanes|=e.suspendedLanes&n,ve===e&&(be&n)===n&&(me===4||me===3&&(be&130023424)===be&&500>de()-Hu?$n(e,0):qu|=n),We(e,t)}function Wp(e,t){t===0&&(e.mode&1?(t=to,to<<=1,!(to&130023424)&&(to=4194304)):t=1);var n=Ie();e=qt(e,t),e!==null&&(Hr(e,t,n),We(e,n))}function Ev(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wp(e,n)}function Cv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Wp(e,n)}var qp;qp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,cv(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,te&&t.flags&1048576&&Cf(t,Ao,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Io(e,t),e=t.pendingProps;var i=pr(t,Fe.current);yr(t,n),i=ku(null,t,r,e,i,n);var o=bu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(o=!0,xo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,gu(t),i.updater=To,t.stateNode=i,i._reactInternals=t,yu(t,r,e,n),t=Pu(null,t,r,!0,o,n)):(t.tag=0,te&&o&&su(t),Me(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Io(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=kv(r),e=gt(r,e),i){case 0:t=ju(null,t,r,e,n);break e;case 1:t=vp(null,t,r,e,n);break e;case 11:t=fp(null,t,r,e,n);break e;case 14:t=pp(null,t,r,gt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gt(r,i),ju(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gt(r,i),vp(e,t,r,i,n);case 3:e:{if(yp(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Df(e,t),Do(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=xr(Error(F(423)),t),t=wp(e,t,r,n,i);break e}else if(r!==i){i=xr(Error(F(424)),t),t=wp(e,t,r,n,i);break e}else for(Ye=ln(t.stateNode.containerInfo.firstChild),Ge=t,te=!0,mt=null,n=Mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gr(),r===i){t=Kt(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return If(t),e===null&&lu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,eu(r,i)?s=null:o!==null&&eu(r,o)&&(t.flags|=32),gp(e,t),Me(e,t,s,n),t.child;case 6:return e===null&&lu(t),null;case 13:return Sp(e,t,n);case 4:return wu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=wr(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gt(r,i),fp(e,t,r,i,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,G(bo,r._currentValue),r._currentValue=s,o!==null)if(ht(o.value,s)){if(o.children===i.children&&!$e.current){t=Kt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Ht(-1,n&-n),u.tag=2;var l=o.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),hu(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),hu(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Me(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,yr(t,n),i=it(i),r=r(i),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,i=gt(r,t.pendingProps),i=gt(r.type,i),pp(e,t,r,i,n);case 15:return hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gt(r,i),Io(e,t),t.tag=1,ze(r)?(e=!0,xo(t)):e=!1,yr(t,n),Pf(t,r,i),yu(t,r,i,n),Pu(null,t,r,!0,e,n);case 19:return Ep(e,t,n);case 22:return mp(e,t,n)}throw Error(F(156,t.tag))};function Hp(e,t){return Cd(e,t)}function Av(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function at(e,t,n,r){return new Av(e,t,n,r)}function el(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kv(e){if(typeof e=="function")return el(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sa)return 11;if(e===la)return 14}return 2}function Sn(e,t){var n=e.alternate;return n===null?(n=at(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yo(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")el(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case er:return Vn(n.children,i,o,t);case ia:s=8,i|=8;break;case oa:return e=at(12,n,t,i|2),e.elementType=oa,e.lanes=o,e;case aa:return e=at(13,n,t,i),e.elementType=aa,e.lanes=o,e;case ua:return e=at(19,n,t,i),e.elementType=ua,e.lanes=o,e;case Zc:return Xo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xc:s=10;break e;case Jc:s=9;break e;case sa:s=11;break e;case la:s=14;break e;case en:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=at(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Vn(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function Xo(e,t,n,r){return e=at(22,e,r,t),e.elementType=Zc,e.lanes=n,e.stateNode={isHidden:!1},e}function tl(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function nl(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function bv(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Da(0),this.expirationTimes=Da(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Da(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function rl(e,t,n,r,i,o,s,a,u){return e=new bv(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=at(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gu(o),e}function _v(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Kp(e){if(!e)return dn;e=e._reactInternals;e:{if(Tn(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(ze(n))return Sf(e,n,t)}return t}function Qp(e,t,n,r,i,o,s,a,u){return e=rl(n,r,!0,e,i,o,s,a,u),e.context=Kp(null),n=e.current,r=Ie(),i=yn(n),o=Ht(r,i),o.callback=t??null,hn(n,o,i),e.current.lanes=i,Hr(e,i,r),We(e,r),e}function Jo(e,t,n,r){var i=t.current,o=Ie(),s=yn(i);return n=Kp(n),t.context===null?t.context=n:t.pendingContext=n,t=Ht(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=hn(i,t,s),e!==null&&(wt(e,i,s,o),Fo(e,i,s)),s}function Zo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Gp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function il(e,t){Gp(e,t),(e=e.alternate)&&Gp(e,t)}function Fv(){return null}var Yp=typeof reportError=="function"?reportError:function(e){console.error(e)};function ol(e){this._internalRoot=e}es.prototype.render=ol.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));Jo(e,t,null,null)},es.prototype.unmount=ol.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;In(function(){Jo(null,e,null,null)}),t[zt]=null}};function es(e){this._internalRoot=e}es.prototype.unstable_scheduleHydration=function(e){if(e){var t=Rd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sn.length&&t!==0&&t<sn[n].priority;n++);sn.splice(n,0,e),n===0&&Pd(e)}};function sl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ts(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xp(){}function Dv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var l=Zo(s);o.call(l)}}var s=Qp(t,r,e,0,null,!1,!1,"",Xp);return e._reactRootContainer=s,e[zt]=s.current,si(e.nodeType===8?e.parentNode:e),In(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var l=Zo(u);a.call(l)}}var u=rl(e,0,!1,null,null,!1,!1,"",Xp);return e._reactRootContainer=u,e[zt]=u.current,si(e.nodeType===8?e.parentNode:e),In(function(){Jo(t,u,n,r)}),u}function ns(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var u=Zo(s);a.call(u)}}Jo(t,s,e,i)}else s=Dv(n,t,e,i,r);return Zo(s)}Dd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qr(t.pendingLanes);n!==0&&(Ta(t,n|1),We(t,de()),!(V&6)&&(Ar=de()+500,fn()))}break;case 13:In(function(){var r=qt(e,1);if(r!==null){var i=Ie();wt(r,e,1,i)}}),il(e,1)}},Ra=function(e){if(e.tag===13){var t=qt(e,134217728);if(t!==null){var n=Ie();wt(t,e,134217728,n)}il(e,134217728)}},Td=function(e){if(e.tag===13){var t=yn(e),n=qt(e,t);if(n!==null){var r=Ie();wt(n,e,t,r)}il(e,t)}},Rd=function(){return q},Nd=function(e,t){var n=q;try{return q=e,t()}finally{q=n}},Ca=function(e,t,n){switch(t){case"input":if(ma(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wo(r);if(!i)throw Error(F(90));nd(r),ma(r,i)}}}break;case"textarea":ad(e,n);break;case"select":t=n.value,t!=null&&tr(e,!!n.multiple,t,!1)}},gd=Xu,vd=In;var Tv={usingClientEntryPoint:!1,Events:[li,dr,wo,hd,md,Xu]},Ci={findFiberByHostInstance:Rn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Rv={bundleType:Ci.bundleType,version:Ci.version,rendererPackageName:Ci.rendererPackageName,rendererConfig:Ci.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$t.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xd(e),e===null?null:e.stateNode},findFiberByHostInstance:Ci.findFiberByHostInstance||Fv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};
47if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rs.isDisabled&&rs.supportsFiber)try{Zi=rs.inject(Rv),Ft=rs}catch{}}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tv,He.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sl(t))throw Error(F(200));return _v(e,t,null,n)},He.createRoot=function(e,t){if(!sl(e))throw Error(F(299));var n=!1,r="",i=Yp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=rl(e,1,!1,null,null,n,!1,r,i),e[zt]=t.current,si(e.nodeType===8?e.parentNode:e),new ol(t)},He.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=xd(t),e=e===null?null:e.stateNode,e},He.flushSync=function(e){return In(e)},He.hydrate=function(e,t,n){if(!ts(t))throw Error(F(200));return ns(null,e,t,!0,n)},He.hydrateRoot=function(e,t,n){if(!sl(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Yp;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Qp(t,null,e,1,n??null,i,!1,o,s),e[zt]=t.current,si(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new es(t)},He.render=function(e,t,n){if(!ts(t))throw Error(F(200));return ns(null,e,t,!1,n)},He.unmountComponentAtNode=function(e){if(!ts(e))throw Error(F(40));return e._reactRootContainer?(In(function(){ns(null,null,e,!1,function(){e._reactRootContainer=null,e[zt]=null})}),!0):!1},He.unstable_batchedUpdates=Xu,He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ts(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return ns(e,t,n,!1,r)},He.version="18.2.0-next-9e3b772b8-20220608";function Jp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jp)}catch(e){console.error(e)}}Jp(),Wc.exports=He;var Zp=Wc.exports,eh=Zp;Xn.createRoot=eh.createRoot,Xn.hydrateRoot=eh.hydrateRoot;var th={exports:{}},nh={};/** 48 * @license React 49 * use-sync-external-store-shim.production.min.js 50 * 51 * Copyright (c) Facebook, Inc. and its affiliates. 52 * 53 * This source code is licensed under the MIT license found in the 54 * LICENSE file in the root directory of this source tree. 55 */var br=W;function Nv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jv=typeof Object.is=="function"?Object.is:Nv,Pv=br.useState,Ov=br.useEffect,Bv=br.useLayoutEffect,Lv=br.useDebugValue;function Mv(e,t){var n=t(),r=Pv({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return Bv(function(){i.value=n,i.getSnapshot=t,al(i)&&o({inst:i})},[e,n,t]),Ov(function(){return al(i)&&o({inst:i}),e(function(){al(i)&&o({inst:i})})},[e]),Lv(n),n}function al(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jv(e,n)}catch{return!0}}function Iv(e,t){return t()}var $v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Iv:Mv;nh.useSyncExternalStore=br.useSyncExternalStore!==void 0?br.useSyncExternalStore:$v,th.exports=nh;var zv=th.exports,rh={exports:{}},ih={};/** 56 * @license React 57 * use-sync-external-store-shim/with-selector.production.min.js 58 * 59 * Copyright (c) Facebook, Inc. and its affiliates. 60 * 61 * This source code is licensed under the MIT license found in the 62 * LICENSE file in the root directory of this source tree. 63 */var is=W,Vv=zv;function Uv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wv=typeof Object.is=="function"?Object.is:Uv,qv=Vv.useSyncExternalStore,Hv=is.useRef,Kv=is.useEffect,Qv=is.useMemo,Gv=is.useDebugValue;ih.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Hv(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Qv(function(){function u(p){if(!l){if(l=!0,c=p,p=r(p),i!==void 0&&s.hasValue){var m=s.value;if(i(m,p))return f=m}return f=p}if(m=f,Wv(c,p))return m;var w=r(p);return i!==void 0&&i(m,w)?m:(c=p,f=w)}var l=!1,c,f,d=n===void 0?null:n;return[function(){return u(t())},d===null?void 0:function(){return u(d())}]},[t,n,r,i]);var a=qv(e,o[0],o[1]);return Kv(function(){s.hasValue=!0,s.value=a},[a]),Gv(a),a},rh.exports=ih;var Yv=rh.exports;function Xv(e){e()}let oh=Xv;const Jv=e=>oh=e,Zv=()=>oh,sh=Symbol.for(`react-redux-context-${W.version}`),ah=globalThis;function ey(){let e=ah[sh];return e||(e=W.createContext(null),ah[sh]=e),e}const xn=new Proxy({},new Proxy({},{get(e,t){const n=ey();return(r,...i)=>Reflect[t](n,...i)}}));function ul(e=xn){return function(){return W.useContext(e)}}const uh=ul();let lh=()=>{throw new Error("uSES not initialized!")};const ty=e=>{lh=e},ny=(e,t)=>e===t;function ry(e=xn){const t=e===xn?uh:ul(e);return function(r,i={}){const{equalityFn:o=ny,stabilityCheck:s=void 0,noopCheck:a=void 0}=typeof i=="function"?{equalityFn:i}:i,{store:u,subscription:l,getServerState:c,stabilityCheck:f,noopCheck:d}=t();W.useRef(!0);const p=W.useCallback({[r.name](w){return r(w)}}[r.name],[r,f,s]),m=lh(l.addNestedSub,u.getState,c||u.getState,p,o);return W.useDebugValue(m),m}}const ch=ry();var dh={exports:{}},H={};/** @license React v16.13.1 64 * react-is.production.min.js 65 * 66 * Copyright (c) Facebook, Inc. and its affiliates. 67 * 68 * This source code is licensed under the MIT license found in the 69 * LICENSE file in the root directory of this source tree. 70 */var ye=typeof Symbol=="function"&&Symbol.for,ll=ye?Symbol.for("react.element"):60103,cl=ye?Symbol.for("react.portal"):60106,os=ye?Symbol.for("react.fragment"):60107,ss=ye?Symbol.for("react.strict_mode"):60108,as=ye?Symbol.for("react.profiler"):60114,us=ye?Symbol.for("react.provider"):60109,ls=ye?Symbol.for("react.context"):60110,dl=ye?Symbol.for("react.async_mode"):60111,cs=ye?Symbol.for("react.concurrent_mode"):60111,ds=ye?Symbol.for("react.forward_ref"):60112,fs=ye?Symbol.for("react.suspense"):60113,iy=ye?Symbol.for("react.suspense_list"):60120,ps=ye?Symbol.for("react.memo"):60115,hs=ye?Symbol.for("react.lazy"):60116,oy=ye?Symbol.for("react.block"):60121,sy=ye?Symbol.for("react.fundamental"):60117,ay=ye?Symbol.for("react.responder"):60118,uy=ye?Symbol.for("react.scope"):60119;function Je(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ll:switch(e=e.type,e){case dl:case cs:case os:case as:case ss:case fs:return e;default:switch(e=e&&e.$$typeof,e){case ls:case ds:case hs:case ps:case us:return e;default:return t}}case cl:return t}}}function fh(e){return Je(e)===cs}H.AsyncMode=dl,H.ConcurrentMode=cs,H.ContextConsumer=ls,H.ContextProvider=us,H.Element=ll,H.ForwardRef=ds,H.Fragment=os,H.Lazy=hs,H.Memo=ps,H.Portal=cl,H.Profiler=as,H.StrictMode=ss,H.Suspense=fs,H.isAsyncMode=function(e){return fh(e)||Je(e)===dl},H.isConcurrentMode=fh,H.isContextConsumer=function(e){return Je(e)===ls},H.isContextProvider=function(e){return Je(e)===us},H.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ll},H.isForwardRef=function(e){return Je(e)===ds},H.isFragment=function(e){return Je(e)===os},H.isLazy=function(e){return Je(e)===hs}
70,H.isMemo=function(e){return Je(e)===ps},H.isPortal=function(e){return Je(e)===cl},H.isProfiler=function(e){return Je(e)===as},H.isStrictMode=function(e){return Je(e)===ss},H.isSuspense=function(e){return Je(e)===fs},H.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===os||e===cs||e===as||e===ss||e===fs||e===iy||typeof e=="object"&&e!==null&&(e.$$typeof===hs||e.$$typeof===ps||e.$$typeof===us||e.$$typeof===ls||e.$$typeof===ds||e.$$typeof===sy||e.$$typeof===ay||e.$$typeof===uy||e.$$typeof===oy)},H.typeOf=Je,dh.exports=H;var ly=dh.exports,ph=ly,cy={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dy={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hh={};hh[ph.ForwardRef]=cy,hh[ph.Memo]=dy;var K={};/** 71 * @license React 72 * react-is.production.min.js 73 * 74 * Copyright (c) Facebook, Inc. and its affiliates. 75 * 76 * This source code is licensed under the MIT license found in the 77 * LICENSE file in the root directory of this source tree. 78 */var fl=Symbol.for("react.element"),pl=Symbol.for("react.portal"),ms=Symbol.for("react.fragment"),gs=Symbol.for("react.strict_mode"),vs=Symbol.for("react.profiler"),ys=Symbol.for("react.provider"),ws=Symbol.for("react.context"),fy=Symbol.for("react.server_context"),Ss=Symbol.for("react.forward_ref"),xs=Symbol.for("react.suspense"),Es=Symbol.for("react.suspense_list"),Cs=Symbol.for("react.memo"),As=Symbol.for("react.lazy"),py=Symbol.for("react.offscreen"),mh;mh=Symbol.for("react.module.reference");function ut(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fl:switch(e=e.type,e){case ms:case vs:case gs:case xs:case Es:return e;default:switch(e=e&&e.$$typeof,e){case fy:case ws:case Ss:case As:case Cs:case ys:return e;default:return t}}case pl:return t}}}K.ContextConsumer=ws,K.ContextProvider=ys,K.Element=fl,K.ForwardRef=Ss,K.Fragment=ms,K.Lazy=As,K.Memo=Cs,K.Portal=pl,K.Profiler=vs,K.StrictMode=gs,K.Suspense=xs,K.SuspenseList=Es,K.isAsyncMode=function(){return!1},K.isConcurrentMode=function(){return!1},K.isContextConsumer=function(e){return ut(e)===ws},K.isContextProvider=function(e){return ut(e)===ys},K.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fl},K.isForwardRef=function(e){return ut(e)===Ss},K.isFragment=function(e){return ut(e)===ms},K.isLazy=function(e){return ut(e)===As},K.isMemo=function(e){return ut(e)===Cs},K.isPortal=function(e){return ut(e)===pl},K.isProfiler=function(e){return ut(e)===vs},K.isStrictMode=function(e){return ut(e)===gs},K.isSuspense=function(e){return ut(e)===xs},K.isSuspenseList=function(e){return ut(e)===Es},K.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ms||e===vs||e===gs||e===xs||e===Es||e===py||typeof e=="object"&&e!==null&&(e.$$typeof===As||e.$$typeof===Cs||e.$$typeof===ys||e.$$typeof===ws||e.$$typeof===Ss||e.$$typeof===mh||e.getModuleId!==void 0)},K.typeOf=ut;function hy(){const e=Zv();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const gh={notify(){},get:()=>[]};function my(e,t){let n,r=gh;function i(f){return u(),r.subscribe(f)}function o(){r.notify()}function s(){c.onStateChange&&c.onStateChange()}function a(){return!!n}function u(){n||(n=t?t.addNestedSub(s):e.subscribe(s),r=hy())}function l(){n&&(n(),n=void 0,r.clear(),r=gh)}const c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:s,isSubscribed:a,trySubscribe:u,tryUnsubscribe:l,getListeners:()=>r};return c}const gy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?W.useLayoutEffect:W.useEffect;function vh({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",noopCheck:o="once"}){const s=W.useMemo(()=>{const l=my(e);return{store:e,subscription:l,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:o}},[e,r,i,o]),a=W.useMemo(()=>e.getState(),[e]);gy(()=>{const{subscription:l}=s;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==e.getState()&&l.notifyNestedSubs(),()=>{l.tryUnsubscribe(),l.onStateChange=void 0}},[s,a]);const u=t||xn;return Zt.createElement(u.Provider,{value:s},n)}function yh(e=xn){const t=e===xn?uh:ul(e);return function(){const{store:r}=t();return r}}const vy=yh();function yy(e=xn){const t=e===xn?vy:yh(e);return function(){return t().dispatch}}const wh=yy();ty(Yv.useSyncExternalStoreWithSelector),Jv(Zp.unstable_batchedUpdates);function Ai(e){const t=window.iprox.referenceLists.getText(e.children);return y.jsx(y.Fragment,{children:t})}const Sh=()=>wh(),ki=ch;function St(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function En(e){return!!e&&!!e[ne]}function Gt(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var r=Object.getPrototypeOf(n);if(r===null)return!0;var i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===_y}(e)||Array.isArray(e)||!!e[Th]||!!(!((t=e.constructor)===null||t===void 0)&&t[Th])||hl(e)||ml(e))}function Un(e,t,n){n===void 0&&(n=!1),_r(e)===0?(n?Object.keys:Dr)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function _r(e){var t=e[ne];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:hl(e)?2:ml(e)?3:0}function Fr(e,t){return _r(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function wy(e,t){return _r(e)===2?e.get(t):e[t]}function xh(e,t,n){var r=_r(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Eh(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function hl(e){return ky&&e instanceof Map}function ml(e){return by&&e instanceof Set}function Wn(e){return e.o||e.t}function gl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Rh(e);delete t[ne];for(var n=Dr(t),r=0;r<n.length;r++){var i=n[r],o=t[i];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function vl(e,t){return t===void 0&&(t=!1),yl(e)||En(e)||!Gt(e)||(_r(e)>1&&(e.set=e.add=e.clear=e.delete=Sy),Object.freeze(e),t&&Un(e,function(n,r){return vl(r,!0)},!0)),e}function Sy(){St(2)}function yl(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function jt(e){var t=_l[e];return t||St(18,e),t}function xy(e,t){_l[e]||(_l[e]=t)}function wl(){return bi}function Sl(e,t){t&&(jt("Patches"),e.u=[],e.s=[],e.v=t)}function ks(e){xl(e),e.p.forEach(Ey),e.p=null}function xl(e){e===bi&&(bi=e.l)}function Ch(e){return bi={p:[],l:bi,h:e,m:!0,_:0}}function Ey(e){var t=e[ne];t.i===0||t.i===1?t.j():t.g=!0}function El(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||jt("ES5").S(t,e,r),r?(n[ne].P&&(ks(t),St(4)),Gt(e)&&(e=bs(t,e),t.l||_s(t,e)),t.u&&jt("Patches").M(n[ne].t,e,t.u,t.s)):e=bs(t,n,[]),ks(t),t.u&&t.v(t.u,t.s),e!==Dh?e:void 0}function bs(e,t,n){if(yl(t))return t;var r=t[ne];if(!r)return Un(t,function(a,u){return Ah(e,r,t,a,u,n)},!0),t;if(r.A!==e)return t;if(!r.P)return _s(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=gl(r.k):r.o,o=i,s=!1;r.i===3&&(o=new Set(i),i.clear(),s=!0),Un(o,function(a,u){return Ah(e,r,i,a,u,n,s)}),_s(e,i,!1),n&&e.u&&jt("Patches").N(r,n,e.u,e.s)}return r.o}
vendor: 4,308 bytes, line 78
78function Ah(e,t,n,r,i,o,s){if(En(i)){var a=bs(e,i,o&&t&&t.i!==3&&!Fr(t.R,r)?o.concat(r):void 0);if(xh(n,r,a),!En(a))return;e.m=!1}else s&&n.add(i);if(Gt(i)&&!yl(i)){if(!e.h.D&&e._<1)return;bs(e,i),t&&t.A.l||_s(e,i)}}function _s(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&vl(t,n)}function Cl(e,t){var n=e[ne];return(n?Wn(n):e)[t]}function kh(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Cn(e){e.P||(e.P=!0,e.l&&Cn(e.l))}function Al(e){e.o||(e.o=gl(e.t))}function kl(e,t,n){var r=hl(t)?jt("MapSet").F(t,n):ml(t)?jt("MapSet").T(t,n):e.O?function(i,o){var s=Array.isArray(i),a={i:s?1:0,A:o?o.A:wl(),P:!1,I:!1,R:{},l:o,t:i,k:null,o:null,j:null,C:!1},u=a,l=_i;s&&(u=[a],l=Fi);var c=Proxy.revocable(u,l),f=c.revoke,d=c.proxy;return a.k=d,a.j=f,d}(t,n):jt("ES5").J(t,n);return(n?n.A:wl()).p.push(r),r}function Cy(e){return En(e)||St(22,e),function t(n){if(!Gt(n))return n;var r,i=n[ne],o=_r(n);if(i){if(!i.P&&(i.i<4||!jt("ES5").K(i)))return i.t;i.I=!0,r=bh(n,o),i.I=!1}else r=bh(n,o);return Un(r,function(s,a){i&&wy(i.t,s)===a||xh(r,s,t(a))}),o===3?new Set(r):r}(e)}function bh(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return gl(e)}function Ay(){function e(o,s){var a=i[o];return a?a.enumerable=s:i[o]=a={configurable:!0,enumerable:s,get:function(){var u=this[ne];return _i.get(u,o)},set:function(u){var l=this[ne];_i.set(l,o,u)}},a}function t(o){for(var s=o.length-1;s>=0;s--){var a=o[s][ne];if(!a.P)switch(a.i){case 5:r(a)&&Cn(a);break;case 4:n(a)&&Cn(a)}}}function n(o){for(var s=o.t,a=o.k,u=Dr(a),l=u.length-1;l>=0;l--){var c=u[l];if(c!==ne){var f=s[c];if(f===void 0&&!Fr(s,c))return!0;var d=a[c],p=d&&d[ne];if(p?p.t!==f:!Eh(d,f))return!0}}var m=!!s[ne];return u.length!==Dr(s).length+(m?0:1)}function r(o){var s=o.k;if(s.length!==o.t.length)return!0;var a=Object.getOwnPropertyDescriptor(s,s.length-1);if(a&&!a.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}var i={};xy("ES5",{J:function(o,s){var a=Array.isArray(o),u=function(c,f){if(c){for(var d=Array(f.length),p=0;p<f.length;p++)Object.defineProperty(d,""+p,e(p,!0));return d}var m=Rh(f);delete m[ne];for(var w=Dr(m),x=0;x<w.length;x++){var g=w[x];m[g]=e(g,c||!!m[g].enumerable)}return Object.create(Object.getPrototypeOf(f),m)}(a,o),l={i:a?5:4,A:s?s.A:wl(),P:!1,I:!1,R:{},l:s,t:o,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ne,{value:l,writable:!0}),u},S:function(o,s,a){a?En(s)&&s[ne].A===o&&t(o.p):(o.u&&function u(l){if(l&&typeof l=="object"){var c=l[ne];if(c){var f=c.t,d=c.k,p=c.R,m=c.i;if(m===4)Un(d,function(v){v!==ne&&(f[v]!==void 0||Fr(f,v)?p[v]||u(d[v]):(p[v]=!0,Cn(c)))}),Un(f,function(v){d[v]!==void 0||Fr(d,v)||(p[v]=!1,Cn(c))});else if(m===5){if(r(c)&&(Cn(c),p.length=!0),d.length<f.length)for(var w=d.length;w<f.length;w++)p[w]=!1;else for(var x=f.length;x<d.length;x++)p[x]=!0;for(var g=Math.min(d.length,f.length),h=0;h<g;h++)d.hasOwnProperty(h)||(p[h]=!0),p[h]===void 0&&u(d[h])}}}}(o.p[0]),t(o.p))},K:function(o){return o.i===4?n(o):r(o)}})}var _h,bi,bl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ky=typeof Map<"u",by=typeof Set<"u",Fh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Dh=bl?Symbol.for("immer-nothing"):((_h={})["immer-nothing"]=!0,_h),Th=bl?Symbol.for("immer-draftable"):"__$immer_draftable",ne=bl?Symbol.for("immer-state"):"__$immer_state",_y=""+Object.prototype.constructor,Dr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Rh=Object.getOwnPropertyDescriptors||function(e){var t={};return Dr(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},_l={},_i={get:function(e,t){if(t===ne)return e;var n=Wn(e);if(!Fr(n,t))return function(i,o,s){var a,u=kh(o,s);return u?"value"in u?u.value:(a=u.get)===null||a===void 0?void 0:a.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!Gt(r)?r:r===Cl(e.t,t)?(Al(e),e.o[t]=kl(e.A.h,r,e)):r},has:function(e,t){return t in Wn(e)},ownKeys:function(e){return Reflect.ownKeys(Wn(e))},set:function(e,t,n){var r=kh(Wn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=Cl(Wn(e),t),o=i==null?void 0:i[ne];
78if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Eh(n,i)&&(n!==void 0||Fr(e.t,t)))return!0;Al(e),Cn(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return Cl(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Al(e),Cn(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Wn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){St(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){St(12)}},Fi={};Un(_i,function(e,t){Fi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Fi.deleteProperty=function(e,t){return Fi.set.call(this,e,t,void 0)},Fi.set=function(e,t,n){return _i.set.call(this,e[0],t,n,e[0])};var Fy=function(){function e(n){var r=this;this.O=Fh,this.D=!0,this.produce=function(i,o,s){if(typeof i=="function"&&typeof o!="function"){var a=o;o=i;var u=r;return function(w){var x=this;w===void 0&&(w=a);for(var g=arguments.length,h=Array(g>1?g-1:0),v=1;v<g;v++)h[v-1]=arguments[v];return u.produce(w,function(E){var k;return(k=o).call.apply(k,[x,E].concat(h))})}}var l;if(typeof o!="function"&&St(6),s!==void 0&&typeof s!="function"&&St(7),Gt(i)){var c=Ch(r),f=kl(r,i,void 0),d=!0;try{l=o(f),d=!1}finally{d?ks(c):xl(c)}return typeof Promise<"u"&&l instanceof Promise?l.then(function(w){return Sl(c,s),El(w,c)},function(w){throw ks(c),w}):(Sl(c,s),El(l,c))}if(!i||typeof i!="object"){if((l=o(i))===void 0&&(l=i),l===Dh&&(l=void 0),r.D&&vl(l,!0),s){var p=[],m=[];jt("Patches").M(i,l,p,m),s(p,m)}return l}St(21,i)},this.produceWithPatches=function(i,o){if(typeof i=="function")return function(l){for(var c=arguments.length,f=Array(c>1?c-1:0),d=1;d<c;d++)f[d-1]=arguments[d];return r.produceWithPatches(l,function(p){return i.apply(void 0,[p].concat(f))})};var s,a,u=r.produce(i,o,function(l,c){s=l,a=c});return typeof Promise<"u"&&u instanceof Promise?u.then(function(l){return[l,s,a]}):[u,s,a]},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Gt(n)||St(8),En(n)&&(n=Cy(n));var r=Ch(this),i=kl(this,n,void 0);return i[ne].C=!0,xl(r),i},t.finishDraft=function(n,r){var i=n&&n[ne],o=i.A;return Sl(o,r),El(void 0,o)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Fh&&St(20),this.O=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var s=jt("Patches").$;return En(n)?s(n,r):this.produce(n,function(a){return s(a,r)})},e}(),Ze=new Fy,Nh=Ze.produce;Ze.produceWithPatches.bind(Ze),Ze.setAutoFreeze.bind(Ze),Ze.setUseProxies.bind(Ze),Ze.applyPatches.bind(Ze),Ze.createDraft.bind(Ze),Ze.finishDraft.bind(Ze);function Di(e){return Di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Di(e)}function Dy(e,t){if(Di(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Di(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ty(e){var t=Dy(e,"string");return Di(t)==="symbol"?t:String(t)}function Ry(e,t,n){return t=Ty(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ph(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jh(Object(n),!0).forEach(function(r){Ry(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jh(Object(n)).forEac
78h(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ne(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Oh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fs={INIT:"@@redux/INIT"+Fl(),REPLACE:"@@redux/REPLACE"+Fl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Fl()}};function Ny(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Bh(e,t,n){var r;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Ne(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Ne(1));return n(Bh)(e,t)}if(typeof e!="function")throw new Error(Ne(2));var i=e,o=t,s=[],a=s,u=!1;function l(){a===s&&(a=s.slice())}function c(){if(u)throw new Error(Ne(3));return o}function f(w){if(typeof w!="function")throw new Error(Ne(4));if(u)throw new Error(Ne(5));var x=!0;return l(),a.push(w),function(){if(x){if(u)throw new Error(Ne(6));x=!1,l();var h=a.indexOf(w);a.splice(h,1),s=null}}}function d(w){if(!Ny(w))throw new Error(Ne(7));if(typeof w.type>"u")throw new Error(Ne(8));if(u)throw new Error(Ne(9));try{u=!0,o=i(o,w)}finally{u=!1}for(var x=s=a,g=0;g<x.length;g++){var h=x[g];h()}return w}function p(w){if(typeof w!="function")throw new Error(Ne(10));i=w,d({type:Fs.REPLACE})}function m(){var w,x=f;return w={subscribe:function(h){if(typeof h!="object"||h===null)throw new Error(Ne(11));function v(){h.next&&h.next(c())}v();var E=x(v);return{unsubscribe:E}}},w[Oh]=function(){return this},w}return d({type:Fs.INIT}),r={dispatch:d,subscribe:f,getState:c,replaceReducer:p},r[Oh]=m,r}function jy(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Fs.INIT});if(typeof r>"u")throw new Error(Ne(12));if(typeof n(void 0,{type:Fs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ne(13))})}function Py(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];typeof e[i]=="function"&&(n[i]=e[i])}var o=Object.keys(n),s;try{jy(n)}catch(a){s=a}return function(u,l){if(u===void 0&&(u={}),s)throw s;for(var c=!1,f={},d=0;d<o.length;d++){var p=o[d],m=n[p],w=u[p],x=m(w,l);if(typeof x>"u")throw l&&l.type,new Error(Ne(14));f[p]=x,c=c||x!==w}return c=c||o.length!==Object.keys(u).length,c?f:u}}function Ds(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function Oy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(){var i=r.apply(void 0,arguments),o=function(){throw new Error(Ne(15))},s={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},a=t.map(function(u){return u(s)});return o=Ds.apply(void 0,a)(i.dispatch),Ph(Ph({},i),{},{dispatch:o})}}}function Lh(e){var t=function(r){var i=r.dispatch,o=r.getState;return function(s){return function(a){return typeof a=="function"?a(i,o,e):s(a)}}};return t}var Mh=Lh();Mh.withExtraArgument=Lh;const Ih=Mh;var $h=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),By=globalThis&&globalThis.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1],o=l;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(l);break}o[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(c){l=[6,c],i=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Tr=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},Ly=Object.defineProperty,My=Object.defineProperties,Iy=Object.getOwnPropertyDescriptors,zh=Object.getOwnPropertySymbols,$y=Object.prototype.hasOwnProperty,zy=Object.prototype.propertyIsEnumerable,Vh=function(e,t,n){return t in e?Ly(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},An=function(e,t){for(var n in t||(t={}
78))$y.call(t,n)&&Vh(e,n,t[n]);if(zh)for(var r=0,i=zh(t);r<i.length;r++){var n=i[r];zy.call(t,n)&&Vh(e,n,t[n])}return e},Dl=function(e,t){return My(e,Iy(t))},Vy=function(e,t,n){return new Promise(function(r,i){var o=function(u){try{a(n.next(u))}catch(l){i(l)}},s=function(u){try{a(n.throw(u))}catch(l){i(l)}},a=function(u){return u.done?r(u.value):Promise.resolve(u.value).then(o,s)};a((n=n.apply(e,t)).next())})},Uy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ds:Ds.apply(null,arguments)};function Wy(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}var qy=function(e){$h(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,Tr([void 0],n[0].concat(this)))):new(t.bind.apply(t,Tr([void 0],n.concat(this))))},t}(Array),Hy=function(e){$h(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,Tr([void 0],n[0].concat(this)))):new(t.bind.apply(t,Tr([void 0],n.concat(this))))},t}(Array);function Tl(e){return Gt(e)?Nh(e,function(){}):e}function Ky(e){return typeof e=="boolean"}function Qy(){return function(t){return Gy(t)}}function Gy(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t;e.immutableCheck,e.serializableCheck;var r=new qy;return n&&(Ky(n)?r.push(Ih):r.push(Ih.withExtraArgument(n.extraArgument))),r}var Yy=!0;function Uh(e){var t=Qy(),n=e||{},r=n.reducer,i=r===void 0?void 0:r,o=n.middleware,s=o===void 0?t():o,a=n.devTools,u=a===void 0?!0:a,l=n.preloadedState,c=l===void 0?void 0:l,f=n.enhancers,d=f===void 0?void 0:f,p;if(typeof i=="function")p=i;else if(Wy(i))p=Py(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var m=s;typeof m=="function"&&(m=m(t));var w=Oy.apply(void 0,m),x=Ds;u&&(x=Uy(An({trace:!Yy},typeof u=="object"&&u)));var g=new Hy(w),h=g;Array.isArray(d)?h=Tr([w],d):typeof d=="function"&&(h=d(g));var v=x.apply(void 0,h);
vendor: 4,561 bytes, line 78
78return Bh(p,c,v)}function kn(e,t){function n(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(t){var o=t.apply(void 0,r);if(!o)throw new Error("prepareAction did not return an object");return An(An({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:r[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(r){return r.type===e},n}function Wh(e){var t={},n=[],r,i={addCase:function(o,s){var a=typeof o=="string"?o:o.type;if(a in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[a]=s,i},addMatcher:function(o,s){return n.push({matcher:o,reducer:s}),i},addDefaultCase:function(o){return r=o,i}};return e(i),[t,n,r]}function Xy(e){return typeof e=="function"}function Jy(e,t,n,r){n===void 0&&(n=[]);var i=typeof t=="function"?Wh(t):[t,n,r],o=i[0],s=i[1],a=i[2],u;if(Xy(e))u=function(){return Tl(e())};else{var l=Tl(e);u=function(){return l}}function c(f,d){f===void 0&&(f=u());var p=Tr([o[d.type]],s.filter(function(m){var w=m.matcher;return w(d)}).map(function(m){var w=m.reducer;return w}));return p.filter(function(m){return!!m}).length===0&&(p=[a]),p.reduce(function(m,w){if(w)if(En(m)){var x=m,g=w(x,d);return g===void 0?m:g}else{if(Gt(m))return Nh(m,function(h){return w(h,d)});var g=w(m,d);if(g===void 0){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return g}return m},f)}return c.getInitialState=u,c}function Zy(e,t){return e+"/"+t}function qh(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Tl(e.initialState),r=e.reducers||{},i=Object.keys(r),o={},s={},a={};i.forEach(function(c){var f=r[c],d=Zy(t,c),p,m;"reducer"in f?(p=f.reducer,m=f.prepare):p=f,o[c]=p,s[d]=p,a[c]=m?kn(d,m):kn(d)});function u(){var c=typeof e.extraReducers=="function"?Wh(e.extraReducers):[e.extraReducers],f=c[0],d=f===void 0?{}:f,p=c[1],m=p===void 0?[]:p,w=c[2],x=w===void 0?void 0:w,g=An(An({},d),s);return Jy(n,function(h){for(var v in g)h.addCase(v,g[v]);for(var E=0,k=m;E<k.length;E++){var D=k[E];h.addMatcher(D.matcher,D.reducer)}x&&h.addDefaultCase(x)})}var l;return{name:t,reducer:function(c,f){return l||(l=u()),l(c,f)},actions:a,caseReducers:o,getInitialState:function(){return l||(l=u()),l.getInitialState()}}}var e1="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",t1=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=e1[Math.random()*64|0];return t},n1=["name","message","stack","code"],Rl=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),Hh=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),r1=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,r=n1;n<r.length;n++){var i=r[n];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Ti=function(){function e(t,n,r){var i=kn(t+"/fulfilled",function(l,c,f,d){return{payload:l,meta:Dl(An({},d||{}),{arg:f,requestId:c,requestStatus:"fulfilled"})}}),o=kn(t+"/pending",function(l,c,f){return{payload:void 0,meta:Dl(An({},f||{}),{arg:c,requestId:l,requestStatus:"pending"})}}),s=kn(t+"/rejected",function(l,c,f,d,p){return{payload:d,error:(r&&r.serializeError||r1)(l||"Rejected"),meta:Dl(An({},p||{}),{arg:f,requestId:c,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"})}}),a=typeof AbortController<"u"?AbortController:function(){function l(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return l.prototype.abort=function(){},l}();function u(l){return function(c,f,d){var p=r!=null&&r.idGenerator?r.idGenerator(l):t1(),m=new a,w;function x(h){w=h,m.abort()}var g=function(){return Vy(this,null,function(){var h,v,E,k,D,T,j;return By(this,function(I){switch(I.label){case 0:return I.trys.push([0,4,,5]),k=(h=r==null?void 0:r.condition)==null?void 0:h.call(r,l,{getState:f,extra:d}),o1(k)?[4,k]:[3,2];case 1:k=I.sent(),I.label=2;case 2:if(k===!1||m.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return D=new Promise(function(O,ae){return m.signal.addEventListener("abort",function(){return ae({name:"AbortError",message:w||"Aborted"})})}),c(o(p,l,(v=r==null?void 0:r.getPendingMeta)==null?void 0:v.call(r,{requestId:p,arg:l},{getState:f,extra:d}
78))),[4,Promise.race([D,Promise.resolve(n(l,{dispatch:c,getState:f,extra:d,requestId:p,signal:m.signal,abort:x,rejectWithValue:function(O,ae){return new Rl(O,ae)},fulfillWithValue:function(O,ae){return new Hh(O,ae)}})).then(function(O){if(O instanceof Rl)throw O;return O instanceof Hh?i(O.payload,p,l,O.meta):i(O,p,l)})])];case 3:return E=I.sent(),[3,5];case 4:return T=I.sent(),E=T instanceof Rl?s(null,p,l,T.payload,T.meta):s(T,p,l),[3,5];case 5:return j=r&&!r.dispatchConditionRejection&&s.match(E)&&E.meta.condition,j||c(E),[2,E]}})})}();return Object.assign(g,{abort:x,requestId:p,arg:l,unwrap:function(){return g.then(i1)}})}}return Object.assign(u,{pending:o,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function i1(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function o1(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Nl="listenerMiddleware";kn(Nl+"/add"),kn(Nl+"/removeAll"),kn(Nl+"/remove");var Kh;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis),Ay();async function jl(){const e=await fetch("/appidt/knowledge_base/favorites");if(!e.ok)throw new Error(e.statusText);return await e.json()}function s1(e){return fetch("/appidt/knowledge_base/favorites",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})})}function a1(e){return fetch(`/appidt/knowledge_base/favorites/${e}`,{method:"DELETE"})}const u1={list:[],loggedIn:!1,id:parseInt(window.itmIdt,10)},l1=qh({name:"favorites",initialState:u1,reducers:{},extraReducers:e=>{e.addCase(Qh.fulfilled,(t,n)=>{t.list=n.payload}).addCase(Pl.fulfilled,(t,n)=>{t.list=n.payload}).addCase(Ol.fulfilled,(t,n)=>{t.list=n.payload,t.loggedIn=!0}).addCase(Ol.rejected,(t,n)=>{t.list=[],t.loggedIn=!1})}}),Qh=Ti("favorites/addFavorite",async e=>(await s1(e),await jl())),Pl=Ti("favorites/removeFavorite",async e=>(await a1(e),await jl())),Ol=Ti("favorites/fetchFavorites",async()=>await jl()),c1=e=>e.favorites.list.length,d1=e=>e.favorites.list.find(t=>t.id===Gh(e))!==void 0,Gh=e=>e.favorites.id,f1=e=>e.favorites.loggedIn,p1=e=>e.favorites.list,h1=l1.reducer;function Bl(e){const t=ki(f1);return y.jsx(y.Fragment,{children:t?e.children:null})}function m1(){const e=Sh(),t=ki(d1),n=ki(Gh);return y.jsx(Bl,{children:y.jsx("button",{type:"button",onClick:()=>{e(t?Pl(n):Qh(n))},children:y.jsx(Ai,{children:t?"verwijder favoriet":"markeer als favoriet"})})})}var Yh={exports:{}};/*! 79 Copyright (c) 2018 Jed Watson. 80 Licensed under the MIT License (MIT), see 81 http://jedwatson.github.io/classnames 82*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var s=typeof o;if(s==="string"||s==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&r.push(a)}}else if(s==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var u in o)t.call(o,u)&&o[u]&&r.push(u)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Yh);var g1=Yh.exports;const we=kt(g1);function Xh(){const e=ki(p1),t=Sh();return y.jsx(Bl,{children:e.length===0?y.jsx(Ai,{children:"Je hebt nog geen favorieten"}):y.jsx("ul",{children:e.map(n=>y.jsxs("li",{children:[y.jsx("a",{href:n.url,children:n.label}),y.jsx("button",{type:"button",className:"favorites-list-remove-item",onClick:()=>t(Pl(n.id)),children:y.jsx("span",{children:y.jsx(Ai,{children:"Favoriet verwijderen"})})})]},n.id))})})}let v1=0;function y1(){const e=W.useMemo(()=>`favorites-counter-list-${++v1}`,[]),[t,n]=W.useState(!1),r=()=>n(!t),i=ki(c1),o=y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"favorites-counter-count",children:i})," ",y.jsx(Ai,{children:i===1?"favoriet":"favorieten"})]});return y.jsx(Bl,{children:i===0?y.jsx("span",{children:o}):y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",onClick:r,"aria-controls":e,"aria-expanded":t,children:o}),y.jsx("div",{id:e,className:we("favorites-counter-list",{"favorites-counter-list-expanded":t}),children:t?y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",onClick:r,children:y.jsx(Ai,{children:"Sluiten"})}),y.jsx(Xh,{})]}):null})]})})}const Jh=Uh({reducer:{favorites:h1}}),w1=[{select:"favorites-button",element:m1},{select:"favorites-counter",element:y1},{select:"favorites-list",element:Xh}];function S1(){let e=!1;w1.forEach(t=>
82Array.from(document.getElementsByClassName(t.select)).forEach(n=>{Xn.createRoot(n).render(y.jsx(vh,{store:Jh,children:Zt.createElement(t.element)})),e=!0})),e&&Jh.dispatch(Ol())}function Ts(e){const t=window.iprox.referenceLists.getText(e.children);return y.jsx(y.Fragment,{children:t})}const x1=()=>wh(),Ll=ch;async function E1(){const e=await fetch("/appidt/knowledge_base/notifications");if(!e.ok)throw new Error(e.statusText);return await e.json()}async function C1(e){const t=await fetch("/appidt/knowledge_base/notifications",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})});if(!t.ok)throw new Error(t.statusText)}const A1=qh({name:"notifications",initialState:{list:[],loggedIn:!1},reducers:{},extraReducers:e=>{e.addCase(Ml.fulfilled,(t,n)=>{t.list=t.list.filter(r=>r.id!==n.meta.arg)}).addCase(Ml.rejected,(t,n)=>{t.list=[],t.loggedIn=!1}).addCase(Il.fulfilled,(t,n)=>{t.list=n.payload,t.loggedIn=!0}).addCase(Il.rejected,(t,n)=>{t.list=[],t.loggedIn=!1})}}),Ml=Ti("notifications/setNotification",async e=>{await C1(e)}),Il=Ti("notifications/fetchNotifications",async()=>await E1()),k1=e=>e.notifications.list.length,b1=e=>e.notifications.loggedIn,_1=e=>e.notifications.list,F1=A1.reducer;function Zh(e){const t=Ll(b1);return y.jsx(y.Fragment,{children:t?e.children:null})}function D1(){const e=Ll(_1),t=x1();return y.jsx(Zh,{children:y.jsx("ul",{children:e.map(n=>y.jsxs("li",{children:[y.jsx("div",{children:n.label}),y.jsx("div",{children:n.summary}),y.jsx("button",{type:"button",onClick:()=>{t(Ml(n.id))},children:y.jsx(Ts,{children:"Markeren als gelezen"})}),y.jsx("a",{href:n.url,children:y.jsx(Ts,{children:"Lezen"})})]},n.id))})})}let T1=0;function R1(){const e=W.useMemo(()=>`notifications-list-${++T1}`,[]),[t,n]=W.useState(!1),r=()=>n(!t),i=Ll(k1),o=y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"notifications-count",children:i})," ",y.jsx(Ts,{children:i===1?"notificatie":"notificaties"})]});return y.jsx(Zh,{children:i===0?y.jsx("span",{children:o}):y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",className:"notifications-has-notifications",onClick:r,"aria-controls":e,"aria-expanded":t,children:o}),y.jsx("div",{id:e,className:we("notifications-list",{"notifications-list-expanded":t}),children:t?y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",onClick:r,children:y.jsx(Ts,{children:"Sluiten"})}),y.jsx(D1,{})]}):null})]})})}const em=Uh({reducer:{notifications:F1}}),N1=[{select:"notifications-counter",element:R1}];function j1(){let e=!1;N1.forEach(t=>Array.from(document.getElementsByClassName(t.select)).forEach(n=>{Xn.createRoot(n).render(y.jsx(vh,{store:em,children:Zt.createElement(t.element)})),e=!0})),e&&em.dispatch(Il())}const se={put:function(e,t,n){const r=[...e];return r[t]=n,r},set:function(e,...t){return $.extend({},e,...t)},unset:function(e,...t){let n=$.extend({},e);return t.forEach(r=>delete n[r]),n}},Ri={createEnum:function(e){const t=[];for(const n in e){const r=e[n];typeof r=="number"&&(t[r]=n)}return se.set(e,{labels:t})}},L={InitStatus:Ri.createEnum({Void:0,Loading:1,Error:2,Ready:3,Expanding:4}),SyncStatus:Ri.createEnum({Local:0,Sent:1,Error:2,Stored:3,CaptchaInvalid:4,Duplicate:5,Remote:6,NotFound:7}),ReactieStatus:Ri.createEnum({Unknown:0,Visible:1,WaitingForModerator:2,HiddenByUser:3,HiddenByModerator:4}),ReactiesMode:Ri.createEnum({Hide:0,ShowReacties:1,ShowForm:2,Open:3}),ImageMode:Ri.createEnum({None:0,All:1})},tm={},P1={buttonBase:"reacties-knop ipx-btn",buttonLabel:"",cancelCommentButton:"ipx-btn-link reactie-cancel",cancelFollowButton:"ipx-btn-neutral reactie-cancel",commentsModuleInitializing:"reacties-initial",errorSummary:"reactie-message-container",fieldInvalidMessage:"error-message",moderateAllowButton:"ipx-btn-neutral reactie-moderate-allow",moderateDisallowButton:"ipx-btn-neutral reactie-moderate-disallow",replyButton:"ipx-btn-secondary reactie-reageren",sendCommentButton:"ipx-btn-primary reactie-send",senderDisallowButton:"ipx-btn-neutral reactie-sender-disallow",sendFollowButton:"ipx-btn-secondary reactie-send",showMoreLink:"ipx-btn-link reactie-show-more",showRepliesLink:"ipx-btn-link reactie-toon-reacties",syncErrorIgnoreButton:"ipx-btn-neutral reactie-ignore",syncErrorRetryButton:"ipx-btn-neutral reactie-retry"},Rs=window.iprox||{referenceLists:{getHtml(e){return e},getHtmlOrNull(e){return e},getText(e){return e},getTextOrNull(e){return e}}};class Ni{constructor(t){this._months=(t&&t.lang)==="en"?["January","February","March","April","May","June","July","August","September","October","November","December"]:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],this.notificationOptions=[{id:"0",label:"Geen e-mail bij reacties",emailRequired:!1},{id:"2",label:"Alleen e-mail bij directe reacties op mijn eigen reactie",emailRequired:!0},{id:"4",label:"E-mail bij alle nieuwe reacties op deze pagina",emailRequired:!0}].map(n=>se.set(n,{label:this.getText(n.label)}))}_isSameYear(t,n){return t.getFullYear()===n.getFullYear()}_isSameDay(t,n){return this._isSameYear(t,n)&&t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()}_padWithZeros(t,n){return n>0&&n<=12&&t<=Math.pow(10,n)-1?("000000000000"+t).slice(-n):t}getHtml(t){return{__html:Rs.referenceLists.getHtml(t,"reacties")}}getHtmlOrNull(t){var n=Rs.referenceLists.getHtmlOrNull(t,"reacties");return n&&{__html:n.replace(/<br><\/br>/gi,"<br/>")}}getText(t,...n){const r=Rs.referenceLists.getText(t,"reacties");return Ni.replaceText(r,...n)}getTextOrNull(t,...n){const r=Rs.referenceLists.getTextOrNull(t,"reacties");return Ni.replaceText(r,...n)}static replaceText(t,...n){return t&&t.replace(/\{\d+\}/g,function(r){const i=n[parseInt(r.substring(1,r.length-1),10)];return i??""})}formatDateTime(t,n){const r={showCurrentYear:!1,showCurrentDay:!1,showOnlyDate:!1,showOnlyTime:!1},{showCurrentYear:i,showCurrentDay:o,showOnlyDate:s,showOnlyTime:a}=se.set(r,n||{}),u=new Date,l=i||!this._isSameYear(t,u),c=o||!this._isSameDay(t,u);return s?`${t.getDate()} ${this._months[t.getMonth()]}${l?` ${t.getFullYear()}`:""} `:a?`${t.getHours()}:${this._padWithZeros(t.getMinutes(),2)}`:(c?`${t.getDate()} ${this._months[t.getMonth()]}${l?` ${t.getFullYear()}`:""} `:"")+`${t.getHours()}:${this._padWithZeros(t.getMinutes(),2)}`}}class $l{constructor(...t){t.forEach(n=>this.importObject(n)),this.parentId=_.last(this.ancestors)||null}importObject(t){if(typeof t=="object")for(const n in t){const r=t[n];r!=null&&(this[n]=n.indexOf("DateTime")===n.length-8?new Date(r):r)}}}class Se extends $l{constructor(...t){super(Se.defaults,...t),this.reacties=this.reacties.map(n=>new qe(n,{ancestors:this.ancestors}
82)),this.reacties.forEach(n=>n.reactiesList=new Se(n.reactiesList,{hasAuthorizationModerator:this.hasAuthorizationModerator}))}_locateChild(t){const n=_.findIndex(this.reacties,i=>i.id===t[0]),r=this.reacties[n];return{combine:i=>{const o=se.put(this.reacties,n,new qe(r,{reactiesList:i}));return new Se(this,{reacties:o})},tail:_.rest(t),reactiesList:r.reactiesList}}findList(t){return t=_.isArray(t)?t:[],t.length===0?this:_.find(this.reacties,n=>n.id===t[0]).reactiesList.findList(_.rest(t))}prependLocal(t){if(_.isArray(t)&&t.length>0){const{combine:r,tail:i,reactiesList:o}=this._locateChild(t);return r(o.prependLocal(i))}const n=new qe({itmIdt:this.itmIdt,ancestors:this.ancestors,syncStatus:L.SyncStatus.Local});return new Se(this,{reacties:[n,...this.reacties]})}update(t,n){if(n=n||t.ancestors,_.isArray(n)&&n.length>0){const{combine:o,tail:s,reactiesList:a}=this._locateChild(n);return o(a.update(t,s))}let r=_.findIndex(this.reacties,o=>o.id===t.id);if(r<0)if(this.reacties.length&&!this.reacties[0].id)r=0;else return this;const i=new qe(this.reacties[r],t);return new Se(this,{reacties:se.put(this.reacties,r,i)})}shift(t){if(_.isArray(t)&&t.length>0){const{combine:n,tail:r,reactiesList:i}=this._locateChild(t);return n(i.shift(r))}return this.reacties.length&&this.reacties[0].syncStatus!==L.SyncStatus.Stored?new Se(this,{reacties:this.reacties.slice(1)}):this}setInitStatus(t,n){if(_.isArray(n)&&n.length>0){const{combine:r,tail:i,reactiesList:o}=this._locateChild(n);return r(o.setInitStatus(t,i))}return new Se(this,{initStatus:t})}append(t,n,r,i){if(_.isArray(r)&&r.length>0){const{combine:u,tail:l,reactiesList:c}=this._locateChild(r);return u(c.append(t,n,l,i))}const o={},s=u=>u.id in o?(o[u.id]=se.set(o[u.id],{reactiesList:o[u.id].reactiesList.append(u.reactiesList)}),!1):(o[u.id]=u,!0),a=_.chain(this.reacties.concat(t.reacties)).filter(s).map(u=>
82o[u.id]).value();return new Se(this,t,{initStatus:n,reacties:a,found:i})}}Se.defaults={ancestors:[],hasAuthorizationModerator:!1,itmIdt:null,more:!1,page:0,reacties:[],verifiedUser:!1,initStatus:L.SyncStatus.Void};class qe extends $l{constructor(...t){super(qe.defaults,...t),this.reactiesList?this.id&&!this.reactiesList.parentId&&(this.reactiesList=new Se(this.reactiesList,{ancestors:[...this.ancestors,this.id]})):this.reactiesList=new Se({page:-1,more:this.hasChildren,initStatus:L.InitStatus.Ready,ancestors:[...this.ancestors,this.id]})}}qe.defaults={ancestors:[],bodyText:"",hasChildren:!1,itmIdt:null,name:"",email:"",submittedDateTime:null,status:L.ReactieStatus.Unknown,syncStatus:L.SyncStatus.Stored,image:"",imageFileName:""};class Yt extends $l{constructor(...t){super(Yt.defaults,...t)}}Yt.defaults={email:"",followerSecret:null,itmIdt:null,notification:4,syncStatus:L.SyncStatus.Local};var Ns={},zl={};Object.defineProperty(zl,"__esModule",{value:!0});var ee={},xt={},nm={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n=typeof Object.create!="function"?"~":!1;function r(o,s,a){this.fn=o,this.context=s,this.once=a||!1}function i(){}i.prototype._events=void 0,i.prototype.eventNames=function(){var s=this._events,a=[],u;if(!s)return a;for(u in s)t.call(s,u)&&a.push(n?u.slice(1):u);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(s)):a},i.prototype.listeners=function(s,a){var u=n?n+s:s,l=this._events&&this._events[u];if(a)return!!l;if(!l)return[];if(l.fn)return[l.fn];for(var c=0,f=l.length,d=new Array(f);c<f;c++)d[c]=l[c].fn;return d},i.prototype.emit=function(s,a,u,l,c,f){var d=n?n+s:s;if(!this._events||!this._events[d])return!1;var p=this._events[d],m=arguments.length,w,x;if(typeof p.fn=="function"){switch(p.once&&this.removeListener(s,p.fn,void 0,!0),m){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,a),!0;case 3:return p.fn.call(p.context,a,u),!0;case 4:return p.fn.call(p.context,a,u,l),!0;case 5:return p.fn.call(p.context,a,u,l,c),!0;case 6:return p.fn.call(p.context,a,u,l,c,f),!0}for(x=1,w=new Array(m-1);x<m;x++)w[x-1]=arguments[x];p.fn.apply(p.context,w)}else{var g=p.length,h;for(x=0;x<g;x++)switch(p[x].once&&this.removeListener(s,p[x].fn,void 0,!0),m){case 1:p[x].fn.call(p[x].context);break;case 2:p[x].fn.call(p[x].context,a);break;case 3:p[x].fn.call(p[x].context,a,u);break;default:if(!w)for(h=1,w=new Array(m-1);h<m;h++)w[h-1]=arguments[h];p[x].fn.apply(p[x].context,w)}}return!0},i.prototype.on=function(s,a,u){var l=new r(a,u||this),c=n?n+s:s;return this._events||(this._events=n?{}:Object.create(null)),this._events[c]?this._events[c].fn?this._events[c]=[this._events[c],l]:this._events[c].push(l):this._events[c]=l,this},i.prototype.once=function(s,a,u){var l=new r(a,u||this,!0),c=n?n+s:s;return this._events||(this._events=n?{}:Object.create(null)),this._events[c]?this._events[c].fn?this._events[c]=[this._events[c],l]:this._events[c].push(l):this._events[c]=l,this},i.prototype.removeListener=function(s,a,u,l){var c=n?n+s:s;if(!this._events||!this._events[c])return this;var f=this._events[c],d=[];if(a)if(f.fn)(f.fn!==a||l&&!f.once||u&&f.context!==u)&&d.push(f);else for(var p=0,m=f.length;p<m;p++)(f[p].fn!==a||l&&!f[p].once||u&&f[p].context!==u)&&d.push(f[p]);return d.length?this._events[c]=d.length===1?d[0]:d:delete this._events[c],this},i.prototype.removeAllListeners=function(s){return this._events?(s?delete this._events[n?n+s:s]:this._events=n?{}:Object.create(null),this):this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=n,e.exports=i})(nm);var O1=nm.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};e.capitalize=n,e.callbackName=r,e.isObject=i,e.extend=o,e.isFunction=s,e.nextTick=a,e.object=u,e.isArguments=l,e.throwIf=c;function n(f){return f.charAt(0).toUpperCase()+f.slice(1)}function r(f,d){return d=d||"on",d+e.capitalize(f)}function i(f){var d=typeof f>"u"?"undefined":t(f);return d==="function"||d==="object"&&!!f}function o(f){if(!i(f))return f;for(var d,p,m,w=1,x=arguments.length;w<x;w++){d=arguments[w],p=Object.keys(d);for(var g=0;g<p.length;g++)if(m=p[g],Object.getOwnPropertyDescriptor&&Object.defineProperty){var h=Object.getOwnPropertyDescriptor(d,m);Object.defineProperty(f,m,h)}else f[m]=d[m]}return f}function s(f){return typeof f=="function"}e.EventEmitter=O1;function a(f){setTimeout(f,0)}function u(f,d){for(var p={},m=0;m<f.length;m++)p[f[m]]=d[m];return p}function l(f){return(typeof f>"u"?"undefined":t(f))==="object"&&"callee"in f&&typeof f.length=="number"}
82function c(f,d){if(f)throw Error(d||f)}})(xt);var ji={},js={},Pt={};Object.defineProperty(Pt,"__esModule",{value:!0});var Vl=!1,Ps=[],Os=[];function B1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;Vl=e}function L1(e){Vl&&Ps.push(e)}function M1(e){Vl&&Os.push(e)}function I1(){for(;Ps.length;)Ps.pop();for(;Os.length;)Os.pop()}Pt.useKeep=B1,Pt.addStore=L1,Pt.addAction=M1,Pt.createdStores=Ps,Pt.createdActions=Os,Pt.reset=I1;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.mix=V1;var $1=xt,rm=z1($1);function z1(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function V1(e){var t={init:[],preEmit:[],shouldEmit:[]},n=function r(i){var o={};return i.mixins&&i.mixins.forEach(function(s){rm.extend(o,r(s))}),rm.extend(o,i),Object.keys(t).forEach(function(s){i.hasOwnProperty(s)&&t[s].push(i[s])}),o}(e);return t.init.length>1&&(n.init=function(){var r=arguments;t.init.forEach(function(i){i.apply(this,r)},this)}),t.preEmit.length>1&&(n.preEmit=function(){return t.preEmit.reduce(function(r,i){var o=i.apply(this,r);return o===void 0?r:[o]}.bind(this),arguments)}),t.shouldEmit.length>1&&(n.shouldEmit=function(){var r=arguments;return!t.shouldEmit.some(function(i){return!i.apply(this,r)},this)}),Object.keys(t).forEach(function(r){t[r].length===1&&(n[r]=t[r][0])}),n}var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.bindMethods=U1;function U1(e,t){for(var n in t)if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var r=Object.getOwnPropertyDescriptor(t,n);if(!r.value||typeof r.value!="function"||!t.hasOwnProperty(n))continue;e[n]=t[n].bind(e)}else{var i=t[n];if(typeof i!="function"||!t.hasOwnProperty(n))continue;e[n]=i.bind(e)}return e}var ql={};Object.defineProperty(ql,"__esModule",{value:!0});var je={};Object.defineProperty(je,"__esModule",{value:!0}),je.deferWith=je.triggerAsync=je.trigger=je.listen=je.shouldEmit=je.preEmit=void 0;var W1=xt,im=q1(W1);function q1(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}je.preEmit=function(){},je.shouldEmit=function(){return!0},je.listen=function(t,n){n=n||this;var r=function(a){o||t.apply(n,a)},i=this,o=!1;return this.emitter.addListener(this.eventLabel,r),function(){o=!0,i.emitter.removeListener(i.eventLabel,r)}},je.trigger=function(){var t=arguments,n=this.preEmit.apply(this,t);t=n===void 0?t:im.isArguments(n)?n:[].concat(n),this.shouldEmit.apply(this,t)&&this.emitter.emit(this.eventLabel,t)},je.triggerAsync=function(){var t=arguments,n=this;im.nextTick(function(){n.trigger.apply(n,t)})},je.deferWith=function(t){var n=this.trigger,r=this,i=function(){n.apply(r,arguments)};
82this.trigger=function(){t.apply(r,[i].concat([].splice.call(arguments,0)))}};var om;function sm(){if(om)return js;om=1,Object.defineProperty(js,"__esModule",{value:!0}),js.createStore=m;var e=xt,t=d(e),n=Pt,r=d(n),i=Ul,o=Wl,s=ql,a=d(s),u=je,l=d(u),c=qn(),f=d(c);function d(w){if(w&&w.__esModule)return w;var x={};if(w!=null)for(var g in w)Object.prototype.hasOwnProperty.call(w,g)&&(x[g]=w[g]);return x.default=w,x}var p={preEmit:1,shouldEmit:1};function m(w){w=w||{};for(var x in a)if(!p[x]&&(l[x]||f[x]))throw new Error("Cannot override API method "+x+" in Reflux.StoreMethods. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");for(var g in w)if(!p[g]&&(l[g]||f[g]))throw new Error("Cannot override API method "+g+" in store creation. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");w=(0,i.mix)(w);function h(){var E=0,k;if(this.subscriptions=[],this.emitter=new t.EventEmitter,this.eventLabel="change",(0,o.bindMethods)(this,w),this.init&&t.isFunction(this.init)&&this.init(),this.listenables)for(k=[].concat(this.listenables);E<k.length;E++)this.listenToMany(k[E])}t.extend(h.prototype,f,l,a,w);var v=new h;return r.addStore(v),v}return js}var am;function um(){if(am)return ji;am=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.staticJoinCreator=s,ji.instanceJoinCreator=a;var e=sm(),t=xt,n=r(t);function r(d){if(d&&d.__esModule)return d;var p={};if(d!=null)for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(p[m]=d[m]);return p.default=d,p}var i=Array.prototype.slice,o={strict:"joinStrict",first:"joinLeading",last:"joinTrailing",all:"joinConcat"};function s(d){return function(){var p=i.call(arguments);return(0,e.createStore)({init:function(){this[o[d]].apply(this,p.concat("triggerAsync"))}})}}function a(d){return function(){n.throwIf(arguments.length<2,"Cannot create a join with less than 2 listenables!");var p=i.call(arguments),m=p.pop(),w=p.length,x={numberOfListenables:w,callback:this[m]||m,listener:this,strategy:d},g,h=[],v;for(g=0;g<w;g++)n.throwIf(this.validateListening(p[g]));for(g=0;g<w;g++)h.push(p[g].listen(c(g,x),this));return l(x),v={listenable:p},v.stop=u(v,h,this),this.subscriptions=(this.subscriptions||[]).concat(v),v}}function u(d,p,m){return function(){var w,x=m.subscriptions,g=x?x.indexOf(d):-1;for(n.throwIf(g===-1,"Tried to remove join already gone from subscriptions list!"),w=0;w<p.length;w++)p[w]();x.splice(g,1)}}function l(d){d.listenablesEmitted=new Array(d.numberOfListenables),d.args=new Array(d.numberOfListenables)}function c(d,p){return function(){var m=i.call(arguments);if(p.listenablesEmitted[d])switch(p.strategy){case"strict":throw new Error("Strict join failed because listener triggered twice.");case"last":p.args[d]=m;break;case"all":p.args[d].push(m)}else p.listenablesEmitted[d]=!0,p.args[d]=p.strategy==="all"?[m]:m;f(p)}}function f(d){for(var p=0;p<d.numberOfListenables;p++)if(!d.listenablesEmitted[p])return;d.callback.apply(d.listener,d.args),l(d)}return ji}var lm;function qn(){if(lm)return ee;
82lm=1,Object.defineProperty(ee,"__esModule",{value:!0}),ee.joinStrict=ee.joinConcat=ee.joinLeading=ee.joinTrailing=ee.fetchInitialState=ee.stopListeningToAll=ee.stopListeningTo=ee.listenTo=ee.validateListening=ee.listenToMany=ee.hasListener=void 0;var e=xt,t=r(e),n=um();function r(s){if(s&&s.__esModule)return s;var a={};if(s!=null)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(a[u]=s[u]);return a.default=s,a}var i=function(a){for(var u=0,l={},c;u<(a.children||[]).length;++u)c=a.children[u],a[c]&&(l[c]=a[c]);return l},o=function s(a){var u={};for(var l in a){var c=a[l],f=i(c),d=s(f);u[l]=c;for(var p in d){var m=d[p];u[l+t.capitalize(p)]=m}}return u};return ee.hasListener=function(a){for(var u=0,l,c,f;u<(this.subscriptions||[]).length;++u)for(f=[].concat(this.subscriptions[u].listenable),l=0;l<f.length;l++)if(c=f[l],c===a||c.hasListener&&c.hasListener(a))return!0;return!1},ee.listenToMany=function(a){var u=o(a);for(var l in u){var c=t.callbackName(l),f=this[c]?c:this[l]?l:void 0;f&&this.listenTo(u[l],f,this[c+"Default"]||this[f+"Default"]||f)}},ee.validateListening=function(a){if(a===this)return"Listener is not able to listen to itself";if(!t.isFunction(a.listen))return a+" is missing a listen method";if(a.hasListener&&a.hasListener(this))return"Listener cannot listen to this listenable because of circular loop"},ee.listenTo=function(a,u,l){var c,f,d,p=this.subscriptions=this.subscriptions||[];return t.throwIf(this.validateListening(a)),this.fetchInitialState(a,l),c=a.listen(this[u]||u,this),f=function(){var w=p.indexOf(d);t.throwIf(w===-1,"Tried to remove listen already gone from subscriptions list!"),p.splice(w,1),c()},d={stop:f,listenable:a},p.push(d),d},ee.stopListeningTo=function(a){for(var u,l=0,c=this.subscriptions||[];l<c.length;l++)if(u=c[l],u.listenable===a)return u.stop(),t.throwIf(c.indexOf(u)!==-1,"Failed to remove listen from subscriptions list!"),!0;return!1},ee.stopListeningToAll=function(){for(var a,u=this.subscriptions||[];a=u.length;)u[0].stop(),t.throwIf(u.length!==a-1,"Failed to remove listen from subscriptions list!")},ee.fetchInitialState=function(a,u){u=u&&this[u]||u;var l=this;if(t.isFunction(u)&&t.isFunction(a.getInitialState)){var c=a.getInitialState();c&&t.isFunction(c.then)?c.then(function(){u.apply(l,arguments)}):u.call(this,c)}},ee.joinTrailing=(0,n.instanceJoinCreator)("last"),ee.joinLeading=(0,n.instanceJoinCreator)("first"),ee.joinConcat=(0,n.instanceJoinCreator)("all"),ee.joinStrict=(0,n.instanceJoinCreator)("strict"),ee}var Hl={};Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.createAction=fm;var H1=xt,Bs=Ls(H1),K1=zl,cm=Ls(K1),Q1=je,Kl=Ls(Q1),G1=Pt,Y1=Ls(G1);function Ls(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var dm={preEmit:1,shouldEmit:1};function fm(e){e=e||{},Bs.isObject(e)||(e={actionName:e});for(var t in cm)if(!dm[t]&&Kl[t])throw new Error("Cannot override API method "+t+" in Reflux.ActionMethods. Use another method name or override it on Reflux.PublisherMethods instead.");
82for(var n in e)if(!dm[n]&&Kl[n])throw new Error("Cannot override API method "+n+" in action creation. Use another method name or override it on Reflux.PublisherMethods instead.");e.children=e.children||[],e.asyncResult&&(e.children=e.children.concat(["completed","failed"]));for(var r=0,i={};r<e.children.length;r++){var o=e.children[r],s=typeof o=="string"?o:o.actionName;i[s]=fm(o)}var a=Bs.extend({eventLabel:"action",emitter:new Bs.EventEmitter,_isAction:!0},Kl,cm,e),u=function l(){var c=!1;for(var f in l.childActions){c=!0;break}var d=!l.sync&&typeof l.sync<"u"||c,p=d?"triggerAsync":"trigger";return l[p].apply(l,arguments)};return Bs.extend(u,i,a),Y1.addAction(u),u}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.__keep=e.joinConcat=e.joinStrict=e.joinLeading=e.all=e.joinTrailing=e.use=e.nextTick=e.setEventEmitter=e.createActions=e.createStore=e.createAction=e.utils=e.StoreMethods=e.PublisherMethods=e.ListenerMethods=e.ActionMethods=e.version=void 0;var t=zl,n=x(t),r=qn(),i=x(r),o=je,s=x(o),a=ql,u=x(a),l=um(),c=xt,f=x(c),d=Hl,p=sm(),m=Pt,w=x(m);function x(Q){if(Q&&Q.__esModule)return Q;var Ee={};if(Q!=null)for(var Ce in Q)Object.prototype.hasOwnProperty.call(Q,Ce)&&(Ee[Ce]=Q[Ce]);return Ee.default=Q,Ee}var g={"reflux-core":"1.0.0"},h=(0,l.staticJoinCreator)("last"),v=h,E=(0,l.staticJoinCreator)("first"),k=(0,l.staticJoinCreator)("strict"),D=(0,l.staticJoinCreator)("all"),T=f,j=function(){var Q=function(Ce,ft){Object.keys(Ce).forEach(function(Mt){var Xt=Ce[Mt];ft[Mt]=(0,d.createAction)(Xt)})};return function(Ee){var Ce={};return Ee instanceof Array?Ee.forEach(function(ft){f.isObject(ft)?Q(ft,Ce):Ce[ft]=(0,d.createAction)(ft)}):Q(Ee,Ce),Ce}}();function I(Q){f.EventEmitter=Q}function O(Q){f.nextTick=Q}function ae(Q){Q(this)}e.version=g,e.ActionMethods=n,e.ListenerMethods=i,e.PublisherMethods=s,e.StoreMethods=u,e.utils=T,e.createAction=d.createAction,e.createStore=p.createStore,e.createActions=j,e.setEventEmitter=I,e.nextTick=O,e.use=ae,e.joinTrailing=h,e.all=v,e.joinLeading=E,e.joinStrict=k,e.joinConcat=D,e.__keep=w,Object.defineProperty(e,"default",{get:function(){return e}}),Function.prototype.bind||console.error("Function.prototype.bind not available. ES5 shim required. https://github.com/spoike/refluxjs#es5")})(Ns);var X1=xt,pm=qn(),Ql=X1.extend({componentWillUnmount:pm.stopListeningToAll},pm),J1=qn(),Z1=Ql,Pi=xt,ew=function(e,t){return Pi.throwIf(typeof t>"u","Reflux.connect() requires a key."),{getInitialState:function(){return Pi.isFunction(e.getInitialState)?Pi.object([t],[e.getInitialState()]):{}},componentDidMount:function(){var n=this;Pi.extend(n,J1),this.listenTo(e,function(r){n.setState(Pi.object([t],[r]))})},componentWillUnmount:Z1.componentWillUnmount}},tw=qn(),nw=Ql,Rr=xt,rw=function(e,t,n){return Rr.throwIf(Rr.isFunction(t),"Reflux.connectFilter() requires a key."),{getInitialState:function(){if(!Rr.isFunction(e.getInitialState))return{};var r=n.call(this,e.getInitialState());return typeof r<"u"?Rr.object([t],[r]):{}},componentDidMount:function(){var r=this;Rr.extend(this,tw),this.listenTo(e,function(i){var o=n.call(r,i);r.setState(Rr.object([t],[o]))})},componentWillUnmount:nw.componentWillUnmount}},Ms=qn(),iw=function(e,t,n){return{componentDidMount:function(){for(var r in Ms)if(this[r]!==Ms[r]){if(this[r])throw"Can't have other property '"+r+"' when using Reflux.listenTo!";this[r]=Ms[r]}this.listenTo(e,t,n)},componentWillUnmount:Ms.stopListeningToAll}},Is=qn(),ow=function(e){return{componentDidMount:function(){for(var t in Is)if(this[t]!==Is[t]){if(this[t])throw"Can't have other property '"+t+"' when using Reflux.listenToMany!";this[t]=Is[t]}this.listenToMany(e)},componentWillUnmount:Is.stopListeningToAll}},U=Ns,Nr,hm=!1;function mm(e,t,n){var r,i;try{Nr=e||Nr||React,i=n||Nr.Component}catch{return}if(!(!Nr||!i||hm&&!n)){var o=function(a,u,l){i.call(this,a,u,l)};if(U.utils.inherits(o,i),r=o.prototype,r.storeKeys=null,r.componentWillMount=function(){if(this.store&&(Array.isArray(this.stores)?this.stores.unshift(this.store):this.stores=[this.store]),this.stores){this.__storeunsubscribes__=this.__storeunsubscribes__||[];for(var a=this.setState.bind(this),u=function(h){var v=gm(this.storeKeys,h);v&&a(v)}.bind(this),l=0,c=this.stores.length;l<c;l++){var f=this.stores[l];if(typeof f=="function"){var d=f.id;if(f.singleton||(f.singleton=new f,d&&(U.stores[d]=f.singleton)),this.stores[l]=f=f.singleton,f.id=d,d&&U.GlobalState[d]){for(var p in U.GlobalState[d])f.state[p]=U.GlobalState[d][p];U.GlobalState[d]=f.state}else d&&(U.GlobalState[d]=f.state)}U.serverMode||this.__storeunsubscribes__.push(f.listen(u));var m=gm(this.storeKeys,f.state);m&&this.setState(m)}}this.__readytomap__=!0;var w=this.__delayedmaps__;if(w)for(var x=0,g=w.length;x<g;x++)w[x].func(w[x].state);this.__delayedmaps__=null},r.componentWillUnmount=function(){if(this.__storeunsubscribes__)for(var a=0,u=this.__storeunsubscribes__.length;a<u;a++)this.__storeunsubscribes__[a]();this.__readytomap__=!1},r.mapStoreToState=function(a,u){typeof a=="function"&&(a.singleton?a=a.singleton:a=U.initStore(a));var l=this;function c(f){var d=u.call(l,f);if(d){var p=!1;for(var m in d){p=!0;break}p&&l.setState(d)}}this.__storeunsubscribes__=this.__storeunsubscribes__||[],this.__storeunsubscribes__.push(a.listen(c)),this.__readytomap__?c(a.state):(this.__delayedmaps__=this.__delayedmaps__||[],this.__delayedmaps__.push({func:c,state:a.state}))},o.extend=function(a){return mm(null,null,a)},n)return o;U.Component=o,Nr.PureComponent&&(U.PureComponent=o.extend(Nr.PureComponent));
82var s=function(){this.__store__=U.createStore(),this.state={};var a=this;for(var u in this.__store__)(function(l){Object.defineProperty(a,l,{get:function(){return a.__store__[l]},set:function(c){a.__store__[l]=c}})})(u)};r=s.prototype,Object.defineProperty(r,"listenables",{get:function(){return this.__listenables__},set:function(a){var u={};Array.isArray(a)?a.forEach(function(l){for(var c in l)u[c]=l[c]}):u=a,this.__listenables__=u,this.listenToMany(u)},enumerable:!0,configurable:!0}),r.setState=function(a){for(var u in a)this.state[u]=a[u];this.id&&(U.GlobalState[this.id]=this.state),this.trigger(a)},Object.defineProperty(s,"isES6Store",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(s,"state",{get:function(){if(!this.singleton)throw new Error("Reflux.Store.state is inaccessible before the store has been initialized.");return this.singleton.state},enumerable:!0,configurable:!0}),U.Store=s,U.GlobalState=U.GlobalState||{},U.stores={},U.getGlobalState=function(){return vm(U.GlobalState)},U.setGlobalState=function(a){for(var u in a)U.stores[u]?U.stores[u].setState(a[u]):U.GlobalState[u]=a[u]},U.initializeGlobalStore=U.initStore=function(a){var u=a.id;if(a.singleton)return a.singleton;if(!u)return a.singleton=new a,a.singleton;var l=a.singleton=new a;if(U.stores[u]=l,l.id=u,U.GlobalState[u]){for(var c in U.GlobalState[u])l.state[c]=U.GlobalState[u][c];U.GlobalState[u]=l.state}else U.GlobalState[u]=l.state;return l},hm=!0}}function gm(e,t){if(!e)return t;for(var n=!1,r={},i=0,o=e.length;i<o;i++){var s=e[i];t.hasOwnProperty(s)&&(n=!0,r[s]=t[s])}return n?r:!1}function vm(e,t){if(e===null||typeof e!="object"||e.constructor!==Object&&e.constructor!==Array)return e;if(e.constructor===Date||e.constructor===RegExp||e.constructor===Function||e.constructor===String||e.constructor===Number||e.constructor===Boolean)return new e.constructor(e);t=t||new e.constructor;for(var n in e)t[n]=typeof t[n]>"u"?vm(e[n],null):t[n];return t}var sw=mm,$s=Ns;if($s.defineReact=sw,$s.utils.inherits=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},typeof React<"u"&&React)$s.defineReact(React);else try{var aw=W;$s.defineReact(aw)}catch{}var Hn=Ns;Hn.serverMode=typeof window!="object",Hn.connect=ew,Hn.connectFilter=rw,Hn.ListenerMixin=Ql,Hn.listenTo=iw,Hn.listenToMany=ow;var uw=Hn;const pe=kt(uw),Gl=function(){const e={get:pe.createAction({asyncResult:!0,children:["started"]})};return e.get.listen(function(){e.get.started(),$.ajax({url:"/appidt/captcha",type:"get"}).done(function(t){e.get.completed(t)}).fail(function(){e.get.failed()})}),{actions:e}}(),Yl={createStore:function({itmIdt:e}){let t=new Yt({itmIdt:e});const n={clear:pe.createAction(),follow:pe.createAction({asyncResult:!0,children:["started"]}),get:pe.createAction({asyncResult:!0,children:["started"]})};pe.createStore({listenables:n,onFollow:function(i,o){const s=new Yt(i,{itmIdt:e,syncStatus:L.SyncStatus.Sent,followerSecret:t.followerSecret});n.follow.started(s),$.ajax({url:`/appidt/items/${e}/reacties/follow`,type:"post",data:s}).done(function(a){n.follow.completed(new Yt(a,{itmIdt:e}))}).fail(function(a){n.follow.failed(a.status)})},onGet:function(i){const{followerSecret:o}=i;n.get.started({followerSecret:o}),$.ajax({url:`/appidt/items/${e}/reacties/follow?followerSecret=${o}`,type:"get"}).done(function(s){n.get.completed(new Yt(s,{itmIdt:e}))}).fail(function(s){n.get.failed(s.status)})}});const r=pe.createStore({setState:function(i){this.trigger(t=new Yt(t,i))},getInitialState:function(){return t},listenables:n,onClear:function(){this.trigger(t=new Yt({itmIdt:e}))},onFollowStarted:function(i){this.setState({syncStatus:L.SyncStatus.Sent})},onFollowCompleted:function(i){this.setState({...i,syncStatus:L.SyncStatus.Stored})},onFollowFailed:function(i){this.setState({syncStatus:i===409?L.SyncStatus.CaptchaInvalid:i===410?L.SyncStatus.Duplicate:L.SyncStatus.Error})},onGetStarted:function({followerSecret:i}){this.setState({syncStatus:L.SyncStatus.Remote,followerSecret:i})},onGetCompleted:function(i){this.setState({...i,syncStatus:L.SyncStatus.Local})},onGetFailed:function(i){this.setState({syncStatus:L.SyncStatus.NotFound})}});return{actions:n,store:r}},addStoreMembers:function(e){const t={};e.get=function(n){const{itmIdt:r}=n;return t[r]||(t[r]=Yl.createStore(n))},e.empty=Yl.createStore({})}},Xl={createStore:function(e){const{itmIdt:t,reactieLink:n}=e,r={add:pe.createAction(),cancel:pe.createAction(),update:pe.createAction(),submit:pe.createAction({asyncResult:!0,children:["started"]}),view:pe.createAction({asyncResult:!0,children:["started"]}),more:pe.createAction({asyncResult:!0,children:["started"]}),all:pe.createAction({asyncResult:!0,children:["started"]}),allow:pe.createAction({asyncResult:!0,children:["started"]}),disallow:pe.createAction({asyncResult:!0,children:["started"]}),subscribe:pe.createAction({asyncResult:!0,children:["started"]})};pe.createStore({listenables:r,onSubmit:function(s,a){const u=new qe(s,{syncStatus:L.SyncStatus.Sent,ancestors:a});r.submit.started(u),$.ajax({url:`/appidt/items/${t}/reacties`,type:"post",data:u}).done(function(l){r.submit.completed(new qe(l,{itmIdt:t,ancestors:a}))}).fail(function(l){r.submit.failed(new qe(u,{syncStatus:l&&l.status===409?L.SyncStatus.CaptchaInvalid:L.SyncStatus.Error}))})},onView:function(s){s=_.isArray(s)?s:[],r.view.started(new Se({itmIdt:t,ancestors:s})),!s[0]&&n?$.ajax({url:`/appidt/items/${t}/reacties/${n.id}?senderSecret=${n.senderSecret||""}&moderatorSecret=${n.moderatorSecret||""}`,type:"get"}).done(function(a){r.view.completed(new Se(a,{itmIdt:t,ancestors:s}),!0)}).fail(()=>{this.view(s,!1)}):this.view(s)},view:function(s,a){const u=s[0]?`/topics/${_.last(s)}`:"";$.ajax({url:`/appidt/items/${t}/reacties${u}`,type:"get"}).done(function(l){r.view.completed(new Se(l,{itmIdt:t,ancestors:s}),a)}).fail(function(l){r.view.failed(s,l)})},onMore:function(s){s=_.isArray(s)?s:[];const a=s[0]?`/topics/${_.last(s)}`:"",{more:u,page:l,initStatus:c}=i.findList(s);!u||c===L.InitStatus.Expanding||(r.more.started(s),$.ajax({url:`/appidt/items/${t}/reacties${a}/pages/${l+1}`,type:"get"}).done(function(f){r.more.completed(new Se(f,{itmIdt:t,ancestors:s}))}).fail(function(f){r.more.failed(s,f)}))},onAll:function(){i.initStatus!==L.InitStatus.Expanding&&(r.all.started(),$.ajax({url:`/appidt/items/${t}/reacties/all`,type:"get"}).done(function(s){r.all.completed(new Se(s,{itmIdt:t}))}).fail(function(s){r.all.failed(s)}))},onAllow(s,a){this.sendUpdate(s,a,"allow")},onDisallow(s,a){this.sendUpdate(s,a,"disallow")},onSubscribe(s,a){this.sendUpdate(s,a,"subscribe")},sendUpdate(s,a,u){a=s.ancestors||a||[];const l=new qe(s,{syncStatus:L.SyncStatus.Sent,ancestors:a,itmIdt:t});r[u].started(l,a),$.ajax({url:`/appidt/items/${t}/reacties/${u}`,type:"post",data:s}).done(function(c){r[u].completed(new qe(c,{itmIdt:t,ancestors:a}))}).fail(function(c){r[u].failed(new qe(l,{syncStatus:L.SyncStatus.Error}))})}});let i=new Se({itmIdt:t});const o=pe.createStore({setState:function(s){this.trigger(i=s)},init:function(){typeof t=="number"&&r.view()},getInitialState:function(){return i},listenables:r,onAdd:function(s,a){this.setState(i.prependLocal(a))},onUpdate:function(s,a){this.setState(i.update(new qe(s,{ancestors:a,syncStatus:L.SyncStatus.Local})))},onCancel:function(s){this.setState(i.shift(s.ancestors))},onSubmitStarted:function(s){this.setState(i.update(s))},onSubmitCompleted:function(s){this.setState(i.update(s))},onSubmitFailed:function(s){this.setState(i.update(s))},onViewStarted:function(s){this.setState(i.setInitStatus(L.InitStatus.Loading,s.ancestors))},onViewCompleted:function(s,a){this.setState(i.append(s,L.InitStatus.Ready,s.ancestors,a))},onViewFailed:function(s,a){this.setState(i.setInitStatus(L.InitStatus.Error,s))},onMoreStarted:function(s){this.setState(i.setInitStatus(L.InitStatus.Expanding,s))},onMoreCompleted:function(s){const a=s.more&&i.findList(s.ancestors).reacties.length;this.setState(i.append(s,L.InitStatus.Ready,s.ancestors));const u=s.more&&i.findList(s.ancestors).reacties.length;
82s.more&&u===a&&r.more()},onMoreFailed:function(s){this.setState(i.setInitStatus(L.InitStatus.Error))},onAllStarted:function(){this.setState(i.setInitStatus(L.InitStatus.Expanding))},onAllCompleted:function(s){this.setState(i.append(s,L.InitStatus.Ready))},onAllFailed:function(s){this.setState(i.setInitStatus(L.InitStatus.Error))},onAllowStarted:function(s){this.setState(i.update(s))},onAllowCompleted:function(s){this.setState(i.update(s))},onAllowFailed:function(s){this.setState(i.update(s))},onSubscribeStarted:function(s){this.setState(i.update(s))},onSubscribeCompleted:function(s){this.setState(i.update(s))},onSubscribeFailed:function(s){this.setState(i.update(s))},onDisallowStarted:function(s){this.setState(i.update(s))},onDisallowCompleted:function(s){this.setState(i.update(s))},onDisallowFailed:function(s){this.setState(i.update(s))}});return{actions:r,store:o}},addStoreMembers:function(e){const t={};e.get=function(n){const{itmIdt:r}=n;return t[r]||(t[r]=Xl.createStore(n))},e.empty=Xl.createStore({})}},lw=()=>{Yl.addStoreMembers(tm),Xl.addStoreMembers(L)};var cw="4.0.0";function dw(e){return e===void 0}function lt(e){return typeof e=="boolean"}function fw(e,t){for(var n in t)t.hasOwnProperty(n)&&dw(e[n])&&(e[n]=t[n]);return e}function pw(e,t,n){var r;return e.length>t&&(n==null?(n="…",r=3):r=n.length,e=e.substring(0,t-r)+n),e}function Y(e,t){for(var n=e.length-1;n>=0;n--)e[n]===t&&e.splice(n,1)}function Kn(e,t){for(var n=e.length-1;n>=0;n--)t(e[n])===!0&&e.splice(n,1)}function Oi(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var jr=/[A-Za-z]/,Pe=/[\d]/,Et=/\s/,Jl=/['"]/,hw=/[\x00-\x1F\x7F]/,mw=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
vendor: 8,470 bytes, line 82
82D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,gw=/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source,vw=/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,yw=mw+gw+vw,ww=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,ym=yw+ww,Qn=new RegExp("[".concat(ym,"]")),wm=function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,n){var r=this.getAttrs();return r[t]=n,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var n=this.getClass(),r=n?n.split(Et):[],i=t.split(Et),o;o=i.shift();)r.indexOf(o)===-1&&r.push(o);return this.getAttrs().class=r.join(" "),this},e.prototype.removeClass=function(t){for(var n=this.getClass(),r=n?n.split(Et):[],i=t.split(Et),o;r.length&&(o=i.shift());){var s=r.indexOf(o);s!==-1&&r.splice(s,1)}return this.getAttrs().class=r.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),n=this.buildAttrsStr();return n=n?" "+n:"",["<",t,n,">",this.getInnerHtml(),"</",t,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(r+'="'+t[r]+'"');return n.join(" ")},e}();function Sw(e,t,n){var r,i;n==null?(n="…",i=3,r=8):(i=n.length,r=n.length);var o=function(h){var v={},E=h,k=E.match(/^([a-z]+):\/\//i);return k&&(v.scheme=k[1],E=E.substr(k[0].length)),k=E.match(/^(.*?)(?=(\?|#|\/|$))/i),k&&(v.host=k[1],E=E.substr(k[0].length)),k=E.match(/^\/(.*?)(?=(\?|#|$))/i),k&&(v.path=k[1],E=E.substr(k[0].length)),k=E.match(/^\?(.*?)(?=(#|$))/i),k&&(v.query=k[1],E=E.substr(k[0].length)),k=E.match(/^#(.*?)$/i),k&&(v.fragment=k[1]),v},s=function(h){var v="";return h.scheme&&h.host&&(v+=h.scheme+"://"),h.host&&(v+=h.host),h.path&&(v+="/"+h.path),h.query&&(v+="?"+h.query),h.fragment&&(v+="#"+h.fragment),v},a=function(h,v){var E=v/2,k=Math.ceil(E),D=-1*Math.floor(E),T="";return D<0&&(T=h.substr(D)),h.substr(0,k)+n+T};if(e.length<=t)return e;var u=t-i,l=o(e);if(l.query){var c=l.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);c&&(l.query=l.query.substr(0,c[1].length),e=s(l))}if(e.length<=t||(l.host&&(l.host=l.host.replace(/^www\./,""),e=s(l)),e.length<=t))return e;var f="";if(l.host&&(f+=l.host),f.length>=u)return l.host.length==t?(l.host.substr(0,t-i)+n).substr(0,u+r):a(f,u).substr(0,u+r);var d="";if(l.path&&(d+="/"+l.path),l.query&&(d+="?"+l.query),d)if((f+d).length>=u){if((f+d).length==t)return(f+d).substr(0,t);var p=u-f.length;return(f+a(d,p)).substr(0,u+r)}else f+=d;if(l.fragment){var m="#"+l.fragment;if((f+m).length>=u){if((f+m).length==t)return(f+m).substr(0,t);var w=u-f.length;return(f+a(m,w)).substr(0,u+r)}else f+=m}if(l.scheme&&l.host){var x=l.scheme+"://";if((f+x).length<u)return(x+f).substr(0,t)}if(f.length<=t)return f;var g="";return u>0&&(g=f.substr(-1*Math.floor(u/2))),(f.substr(0,Math.ceil(u/2))+n+g).substr(0,u+r)}function xw(e,t,n){if(e.length<=t)return e;var r,i;n==null?(n="…",r=8,i=3):(r=n.length,i=n.length);var o=t-i,s="";return o>0&&(s=e.substr(-1*Math.floor(o/2))),(e.substr(0,Math.ceil(o/2))+n+s).substr(0,o+r)}function Ew(e,t,n){return pw(e,t,n)}var Cw=function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new wm({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var n={href:t.getAnchorHref()},r=this.createCssClass(t);return r&&(n.class=r),this.newWindow&&(n.target="_blank",n.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(n.title=t.getAnchorHref()),n},e.prototype.createCssClass=function(t){var n=this.className;if(n){for(var r=[n],i=t.getCssClassSuffixes(),o=0,s=i.length;o<s;o++)r.push(n+"-"+i[o]);return r.join(" ")}else return""},e.prototype.processAnchorText=function(t){return t=this.doTruncate(t),t},e.prototype.doTruncate=function(t){var n=this.truncate;if(!n||!n.length)return t;var r=n.length,i=n.location;return i==="smart"?Sw(t,r):i==="middle"?xw(t,r):Ew(t,r)},e}(),Zl=function(e,t){return Zl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Zl(e,t)};function Bi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Zl(e,t);function n(){this.constructor=e}
82e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var xe=function(){return xe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},xe.apply(this,arguments)},Li=function(){function e(t){this._=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(t){this.offset=t},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.type]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),Aw="
vendor: 11,449 bytes, line 82
82(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|Ù
ÙØ±ÙتاÙÙØ§|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|Ø§ÙØ³Ø¹ÙØ¯ÙØ©|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|каÑолик|Ø§ØªØµØ§ÙØ§Øª|Ø§ÙØ¨ØØ±ÙÙ|Ø§ÙØ¬Ø²Ø§Ø¦Ø±|Ø§ÙØ¹ÙÙØ§Ù|پاکستاÙ|ÙØ§Ø«ÙÙÙÙ|à®à®¨à¯à®¤à®¿à®¯à®¾|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|моÑква|онлайн|Ø§Ø¨ÙØ¸Ø¨Ù|اراÙ
ÙÙ|Ø§ÙØ§Ø±Ø¯Ù|اÙÙ
غرب|اÙ
ارات|ÙÙØ³Ø·ÙÙ|Ù
ÙÙØ³Ùا|à¤à¤¾à¤°à¤¤à¤®à¥|à®à®²à®à¯à®à¯|ãã¡ãã·ã§ã³|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|×שר××|Ø§ÛØ±Ø§Ù|بازار|بھارت|Ø³ÙØ¯Ø§Ù|Ø³ÙØ±ÙØ©|ÙÙ
راÙ|à¤à¤¾à¤°à¥à¤¤|सà¤à¤à¤ न|বাà¦à¦²à¦¾|à°à°¾à°°à°¤à±|à´à´¾à´°à´¤à´|åé大é
åº|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|деÑи|ÑайÑ|بارت|Ø¨ÙØªÙ|ÚØ§Ø±Øª|تÙÙØ³|Ø´Ø¨ÙØ©|عراÙ|عÙ
اÙ|Ù
ÙÙØ¹|à¤à¤¾à¤°à¤¤|à¦à¦¾à¦°à¦¤|à¦à¦¾à§°à¦¤|à¨à¨¾à¨°à¨¤|àªàª¾àª°àª¤|à¬à¬¾à¬°à¬¤|à²à²¾à²°à²¤|à¶½à¶à¶à·|ã¢ãã¾ã³|ã°ã¼ã°ã«|ã¯ã©ã¦ã|ãã¤ã³ã|ç»ç»æºæ|é»è¨çç§|馿 ¼éæ|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|Òаз|мкд|мон|оÑг|ÑÑÑ|ÑÑб|ÑкÑ|Õ°Õ¡Õµ|×§××|عرب|ÙØ·Ø±|ÙÙÙ
|Ù
صر|à¤à¥à¤®|नà¥à¤|à¸à¸à¸¡|à¹à¸à¸¢|ລາວ|ã¹ãã¢|ã»ã¼ã«|ã¿ããª|䏿ç½|äºé©¬é|天主æ|æç±ä½ |æ°å å¡|淡马é¡|诺åºäº|é£å©æµ¦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|εÏ
|бг|еÑ|ÑÑ|áá|ë·ë·|ë·ì»´|ì¼ì±|íêµ|ã³ã |ä¸ç|ä¸ä¿¡|ä¸å½|ä¸å|ä¼ä¸|ä½å±±|ä¿¡æ¯|å¥åº·|å
«å¦|å
¬å¸|å
¬ç|å°æ¹¾|å°ç£|åå|ååº|åæ |åé|å¨çº¿|大æ¿|娱ä¹|å®¶é»|广ä¸|å¾®å|æ
å|ææº|æè|æ¿å¡|æ¿åº|æ°é»|æ¶å°|æ¸ç±|æºæ|游æ|æ¾³é|ç¹ç|ç§»å¨|ç½å|ç½åº|ç½ç«|ç½ç»|èé|è°·æ|è´ç©|é販|éå¢|é£å|é¤å
|馿¸¯)
82",kw=new RegExp("^"+Aw+"$"),bw=/[\/?#]/,_w=/[-+&@#/%=~_()|'$*\[\]{}\u2713]/,Sm=/[?!:,.;^]/,xm=/https?:\/\//i,Fw=new RegExp("^"+xm.source,"i"),Dw=new RegExp(Sm.source+"$"),Tw=/^(javascript|vbscript):/i,Rw=/^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/,Nw=/^(?:\/\/)?([^/#?:]+)/;function ec(e){return jr.test(e)}function Em(e){return jr.test(e)||Pe.test(e)||e==="+"||e==="-"||e==="."}function bn(e){return Qn.test(e)}function tc(e){return e==="_"||bn(e)}function Cm(e){return Qn.test(e)||_w.test(e)||Sm.test(e)}function nc(e){return bw.test(e)}function Am(e){return kw.test(e.toLowerCase())}function jw(e){if(Tw.test(e))return!1;var t=e.match(Rw);if(!t)return!1;var n=!!t[1],r=t[2];return n?!0:!(r.indexOf(".")===-1||!jr.test(r))}function Pw(e){var t=e.match(Nw);if(!t)return!1;var n=t[0],r=n.split(".");if(r.length<2)return!1;var i=r[r.length-1];return!!Am(i)}var Ow=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,Bw=/[:/?#]/;function Lw(e){var t=e.split(Bw,1)[0];return Ow.test(t)}var Mw=/^(https?:\/\/)?(www\.)?/i,Iw=/^\/\//,$w=function(e){Bi(t,e);function t(n){var r=e.call(this,n)||this;return r.type="url",r.url="",r.urlMatchType="scheme",r.protocolRelativeMatch=!1,r.stripPrefix={scheme:!0,www:!0},r.stripTrailingSlash=!0,r.decodePercentEncoding=!0,r.protocolPrepended=!1,r.urlMatchType=n.urlMatchType,r.url=n.url,r.protocolRelativeMatch=n.protocolRelativeMatch,r.stripPrefix=n.stripPrefix,r.stripTrailingSlash=n.stripTrailingSlash,r.decodePercentEncoding=n.decodePercentEncoding,r}return t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var n=this.url;return!this.protocolRelativeMatch&&this.urlMatchType!=="scheme"&&!this.protocolPrepended&&(n=this.url="http://"+n,this.protocolPrepended=!0),n},t.prototype.getAnchorHref=function(){var n=this.getUrl();return n.replace(/&/g,"&")},t.prototype.getAnchorText=function(){var n=this.getMatchedText();return this.protocolRelativeMatch&&(n=Uw(n)),this.stripPrefix.scheme&&(n=zw(n)),this.stripPrefix.www&&(n=Vw(n)),this.stripTrailingSlash&&(n=Ww(n)),this.decodePercentEncoding&&(n=qw(n)),n},t}(Li);function zw(e){return e.replace(Fw,"")}function Vw(e){return e.replace(Mw,"$1")}function Uw(e){return e.replace(Iw,"")}function Ww(e){return e.charAt(e.length-1)==="/"&&(e=e.slice(0,-1)),e}function qw(e){var t=e.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(t)}catch{return t}}var Hw=/^mailto:/i,Kw=new RegExp("[".concat(ym,"!#$%&'*+/=?^_`{|}~-]"));function Qw(e){return Qn.test(e)}function rc(e){return Kw.test(e)}function Gw(e){var t=e.split(".").pop()||"";return Am(t)}var Yw=function(e){Bi(t,e);function t(n){var r=e.call(this,n)||this;return r.type="email",r.email="",r.email=n.email,r}return t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(Li);function km(e){return e==="_"||Qn.test(e)}function Xw(e){return e.length<=140}var Jw=["twitter","facebook","instagram","tiktok"],Zw=function(e){Bi(t,e);function t(n){var r=e.call(this,n)||this;return r.type="hashtag",r.serviceName="twitter",r.hashtag="",r.serviceName=n.serviceName,r.hashtag=n.hashtag,r}return t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var n=this.serviceName,r=this.hashtag;switch(n){case"twitter":return"https://twitter.com/hashtag/"+r;case"facebook":return"https://www.facebook.com/hashtag/"+r;case"instagram":return"https://instagram.com/explore/tags/"+r;case"tiktok":return"https://www.tiktok.com/tag/"+r;default:throw Oi(n),new Error("Invalid hashtag service: ".concat(n))}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t.prototype.getCssClassSuffixes=function(){var n=e.prototype.getCssClassSuffixes.call(this),r=this.getServiceName();return r&&n.push(r),n},t}(Li),eS={twitter:/^@\w{1,15}$/,instagram:/^@[_\w]{1,30}$/,soundcloud:/^@[-a-z0-9_]{3,25}$/,tiktok:/^@[.\w]{1,23}[\w]$/},tS=/[-\w.]/;function bm(e){return tS.test(e)}function nS(e,t){var n=eS[t];return n.test(e)}var rS=["twitter","instagram","soundcloud","tiktok"],iS=function(e){Bi(t,e);function t(n){var r=e.call(this,n)||this;return r.type="mention",r.serviceName="twitter",r.mention="",r.mention=n.mention,r.serviceName=n.serviceName,r}return t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var n=e.prototype.getCssClassSuffixes.call(this),r=this.getServiceName();return r&&n.push(r),n},t}(Li),oS=/[-. ]/,sS=/[-. ()]/,aS=/[,;]/,uS=/(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/,lS=/(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/,cS=new RegExp("^".concat(uS.source,"|").concat(lS.source,"$"));function _m(e){return oS.test(e)}function ic(e){return aS.test(e)}
82function dS(e){var t=e.charAt(0)==="+"||sS.test(e);return t&&cS.test(e)}var fS=function(e){Bi(t,e);function t(n){var r=e.call(this,n)||this;return r.type="phone",r.number="",r.plusSign=!1,r.number=n.number,r.plusSign=n.plusSign,r}return t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(Li);function pS(e,t){for(var n=t.tagBuilder,r=t.stripPrefix,i=t.stripTrailingSlash,o=t.decodePercentEncoding,s=t.hashtagServiceName,a=t.mentionServiceName,u=[],l=e.length,c=[],f=0;f<l;f++){var d=e.charAt(f);if(c.length===0)x(d);else for(var p=c.length-1;p>=0;p--){var m=c[p];switch(m.state){case 11:D(m,d);break;case 12:T(m,d);break;case 0:g(m,d);break;case 1:h(m,d);break;case 2:v(m,d);break;case 3:E(m,d);break;case 4:k(m,d);break;case 5:j(m,d);break;case 6:I(m,d);break;case 7:O(m,d);break;case 13:ae(m,d);break;case 14:Q(m,d);break;case 8:Ee(m,d);break;case 9:Ce(m,d);break;case 10:ft(m,d);break;case 15:Mt(m,d);break;case 16:Xt(m,d);break;case 17:R(m,d);break;case 18:P(m,d);break;case 19:B(m,d);break;case 20:z(m,d);break;case 21:ce(m,d);break;case 22:Oe(m,d);break;case 23:At(m,d);break;case 24:b(m,d);break;case 25:Jt(m,d);break;case 26:Pr(m,d);break;case 27:Sx(m,d);break;case 28:xx(m,d);break;case 29:Ex(m,d);break;case 30:Cx(m,d);break;case 31:Ax(m,d);break;case 32:bx(m,d);break;case 33:_x(m,d);break;case 34:Fx(m,d);break;case 35:Dx(m,d);break;case 36:Tx(m,d);break;case 37:kx(m,d);break;case 38:Rx(m,d);break;case 39:Nx(m,d);break;case 40:jx(m,d);break;case 41:Px(m,d);break;default:Oi(m.state)}}}for(var w=c.length-1;w>=0;w--)c.forEach(function(S){return ue(S)});return u;function x(S){if(S==="#")c.push(yS(f,28));else if(S==="@")c.push(wS(f,30));else if(S==="/")c.push(sc(f,11));else if(S==="+")c.push(ac(f,37));else if(S==="(")c.push(ac(f,32));else{if(Pe.test(S)&&(c.push(ac(f,38)),c.push(gS(f,13))),Qw(S)){var C=S.toLowerCase()==="m"?15:22;c.push(vS(f,C))}ec(S)&&c.push(oc(f,0)),Qn.test(S)&&c.push(sc(f,5))}}function g(S,C){C===":"?S.state=2:C==="-"?S.state=1:Em(C)||Y(c,S)}function h(S,C){C==="-"||(C==="/"?(Y(c,S),c.push(sc(f,11))):Em(C)?S.state=0:Y(c,S))}function v(S,C){C==="/"?S.state=3:C==="."?Y(c,S):bn(C)?(S.state=5,ec(C)&&c.push(oc(f,0))):Y(c,S)}function E(S,C){C==="/"?S.state=4:Cm(C)?(S.state=10,S.acceptStateReached=!0):ue(S)}function k(S,C){C==="/"?S.state=10:bn(C)?(S.state=5,S.acceptStateReached=!0):Y(c,S)}function D(S,C){C==="/"?S.state=12:Y(c,S)}
82function T(S,C){bn(C)?S.state=5:Y(c,S)}function j(S,C){C==="."?S.state=7:C==="-"?S.state=6:C===":"?S.state=8:nc(C)?S.state=10:tc(C)||ue(S)}function I(S,C){C==="-"||(C==="."?ue(S):bn(C)?S.state=5:ue(S))}function O(S,C){C==="."?ue(S):bn(C)?(S.state=5,S.acceptStateReached=!0):ue(S)}function ae(S,C){C==="."?S.state=14:C===":"?S.state=8:Pe.test(C)||(nc(C)?S.state=10:Qn.test(C)?Y(c,S):ue(S))}function Q(S,C){Pe.test(C)?(S.octetsEncountered++,S.octetsEncountered===4&&(S.acceptStateReached=!0),S.state=13):ue(S)}function Ee(S,C){Pe.test(C)?S.state=9:ue(S)}function Ce(S,C){Pe.test(C)||(nc(C)?S.state=10:ue(S))}function ft(S,C){Cm(C)||ue(S)}function Mt(S,C){C.toLowerCase()==="a"?S.state=16:Oe(S,C)}function Xt(S,C){C.toLowerCase()==="i"?S.state=17:Oe(S,C)}function R(S,C){C.toLowerCase()==="l"?S.state=18:Oe(S,C)}function P(S,C){C.toLowerCase()==="t"?S.state=19:Oe(S,C)}function B(S,C){C.toLowerCase()==="o"?S.state=20:Oe(S,C)}function z(S,C){C.toLowerCase()===":"?S.state=21:Oe(S,C)}function ce(S,C){rc(C)?S.state=22:Y(c,S)}function Oe(S,C){C==="."?S.state=23:C==="@"?S.state=24:rc(C)?S.state=22:Y(c,S)}function At(S,C){C==="."||C==="@"?Y(c,S):rc(C)?S.state=22:Y(c,S)}function b(S,C){bn(C)?S.state=25:Y(c,S)}function Jt(S,C){C==="."?S.state=27:C==="-"?S.state=26:tc(C)||ue(S)}function Pr(S,C){C==="-"||C==="."?ue(S):tc(C)?S.state=25:ue(S)}function Sx(S,C){C==="."||C==="-"?ue(S):bn(C)?(S.state=25,S.acceptStateReached=!0):ue(S)}function xx(S,C){km(C)?(S.state=29,S.acceptStateReached=!0):Y(c,S)}function Ex(S,C){km(C)||ue(S)}function Cx(S,C){bm(C)?(S.state=31,S.acceptStateReached=!0):Y(c,S)}function Ax(S,C){bm(C)||(Qn.test(C)?Y(c,S):ue(S))}function kx(S,C){Pe.test(C)?S.state=38:(Y(c,S),x(C))}function bx(S,C){Pe.test(C)?S.state=33:Y(c,S),x(C)}function _x(S,C){Pe.test(C)?S.state=34:Y(c,S)}function Fx(S,C){Pe.test(C)?S.state=35:Y(c,S)}function Dx(S,C){C===")"?S.state=36:Y(c,S)}function Tx(S,C){Pe.test(C)?S.state=38:_m(C)?S.state=39:Y(c,S)}function Rx(S,C){S.acceptStateReached=!0,ic(C)?S.state=40:C==="#"?S.state=41:Pe.test(C)||(C==="("?S.state=32:_m(C)?S.state=39:(ue(S),ec(C)&&c.push(oc(f,0))))}function Nx(S,C){Pe.test(C)?S.state=38:C==="("?S.state=32:(ue(S),x(C))}function jx(S,C){ic(C)||(C==="#"?S.state=41:Pe.test(C)?S.state=38:ue(S))}function Px(S,C){ic(C)?S.state=40:Pe.test(C)?Y(c,S):ue(S)}function ue(S){if(Y(c,S),!!S.acceptStateReached){var C=S.startIdx,X=e.slice(S.startIdx,f);if(X=mS(X),S.type==="url"){var Ox=e.charAt(S.startIdx-1);if(Ox==="@")return;var Vi=S.matchType;if(Vi==="scheme"){var Rc=xm.exec(X);if(Rc&&(C=C+Rc.index,X=X.slice(Rc.index)),!jw(X))return}else if(Vi==="tld"){if(!Pw(X))return}else if(Vi==="ipV4"){if(!Lw(X))return}else Oi(Vi);u.push(new $w({tagBuilder:n,matchedText:X,offset:C,urlMatchType:Vi,url:X,protocolRelativeMatch:X.slice(0,2)==="//",stripPrefix:r,stripTrailingSlash:i,decodePercentEncoding:o}))}else if(S.type==="email")Gw(X)&&u.push(new Yw({tagBuilder:n,matchedText:X,offset:C,email:X.replace(Hw,"")}));else if(S.type==="hashtag")Xw(X)&&u.push(new Zw({tagBuilder:n,matchedText:X,offset:C,serviceName:s,hashtag:X.slice(1)}));else if(S.type==="mention")nS(X,a)&&u.push(new iS({tagBuilder:n,matchedText:X,offset:C,serviceName:a,mention:X.slice(1)}));else if(S.type==="phone"){if(X=X.replace(/ +$/g,""),dS(X)){var Bx=X.replace(/[^0-9,;#]/g,"");u.push(new fS({tagBuilder:n,matchedText:X,offset:C,number:Bx,plusSign:X.charAt(0)==="+"}))}}else Oi(S)}}}var hS=/[\(\{\[]/,Fm=/[\)\}\]]/,Dm={")":"(","}":"{","]":"["};function mS(e){for(var t={"(":0,"{":0,"[":0},n=0;n<e.length;n++){var r=e.charAt(n);hS.test(r)?t[r]++:Fm.test(r)&&t[Dm[r]]--}for(var i=e.length-1,o;i>=0;)if(o=e.charAt(i),Fm.test(o)){var s=Dm[o];if(t[s]<0)t[s]++,i--;else break}else if(Dw.test(o))i--;else break;return e.slice(0,i+1)}function oc(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"scheme"}}function sc(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"tld"}}function gS(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"ipV4",octetsEncountered:1}}function vS(e,t){return{type:"email",startIdx:e,state:t,acceptStateReached:!1}}function yS(e,t){return{type:"hashtag",startIdx:e,state:t,acceptStateReached:!1}}function wS(e,t){return{type:"mention",startIdx:e,state:t,acceptStateReached:!1}}function ac(e,t){return{type:"phone",startIdx:e,state:t,acceptStateReached:!1}}function SS(e,t){for(var n=t.onOpenTag,r=t.onCloseTag,i=t.onText,o=t.onComment,s=t.onDoctype,a=new Ot,u=0,l=e.length,c=0,f=0,d=a;u<l;){var p=e.charAt(u);switch(c){case 0:m(p);break;case 1:w(p);break;case 2:g(p);break;
82case 3:x(p);break;case 4:h(p);break;case 5:v(p);break;case 6:E(p);break;case 7:k(p);break;case 8:D(p);break;case 9:T(p);break;case 10:j(p);break;case 11:I(p);break;case 12:O(p);break;case 13:ae();break;case 14:Q(p);break;case 15:Ee(p);break;case 16:Ce(p);break;case 17:ft(p);break;case 18:Mt(p);break;case 19:Xt(p);break;case 20:R(p);break;default:Oi(c)}u++}f<u&&ce();function m(b){b==="<"&&B()}function w(b){b==="!"?c=13:b==="/"?(c=2,d=new Ot(xe(xe({},d),{isClosing:!0}))):b==="<"?B():jr.test(b)?(c=3,d=new Ot(xe(xe({},d),{isOpening:!0}))):(c=0,d=a)}function x(b){Et.test(b)?(d=new Ot(xe(xe({},d),{name:Oe()})),c=4):b==="<"?B():b==="/"?(d=new Ot(xe(xe({},d),{name:Oe()})),c=12):b===">"?(d=new Ot(xe(xe({},d),{name:Oe()})),z()):!jr.test(b)&&!Pe.test(b)&&b!==":"&&P()}function g(b){b===">"?P():jr.test(b)?c=3:P()}function h(b){Et.test(b)||(b==="/"?c=12:b===">"?z():b==="<"?B():b==="="||Jl.test(b)||hw.test(b)?P():c=5)}function v(b){Et.test(b)?c=6:b==="/"?c=12:b==="="?c=7:b===">"?z():b==="<"?B():Jl.test(b)&&P()}function E(b){Et.test(b)||(b==="/"?c=12:b==="="?c=7:b===">"?z():b==="<"?B():Jl.test(b)?P():c=5)}function k(b){Et.test(b)||(b==='"'?c=8:b==="'"?c=9:/[>=`]/.test(b)?P():b==="<"?B():c=10)}function D(b){b==='"'&&(c=11)}function T(b){b==="'"&&(c=11)}function j(b){Et.test(b)?c=4:b===">"?z():b==="<"&&B()}function I(b){Et.test(b)?c=4:b==="/"?c=12:b===">"?z():b==="<"?B():(c=4,At())}function O(b){b===">"?(d=new Ot(xe(xe({},d),{isClosing:!0})),z()):c=4}function ae(b){e.substr(u,2)==="--"?(u+=2,d=new Ot(xe(xe({},d),{type:"comment"})),c=14):e.substr(u,7).toUpperCase()==="DOCTYPE"?(u+=7,d=new Ot(xe(xe({},d),{type:"doctype"})),c=20):P()}function Q(b){b==="-"?c=15:b===">"?P():c=16}function Ee(b){b==="-"?c=18:b===">"?P():c=16}function Ce(b){b==="-"&&(c=17)}function ft(b){b==="-"?c=18:c=16}function Mt(b){b===">"?z():b==="!"?c=19:b==="-"||(c=16)}function Xt(b){b==="-"?c=17:b===">"?z():c=16}function R(b){b===">"?z():b==="<"&&B()}function P(){c=0,d=a}function B(){c=1,d=new Ot({idx:u})}function z(){var b=e.slice(f,d.idx);b&&i(b,f),d.type==="comment"?o(d.idx):d.type==="doctype"?s(d.idx):(d.isOpening&&n(d.name,d.idx),d.isClosing&&r(d.name,d.idx)),P(),f=u+1}function ce(){var b=e.slice(f,u);i(b,f),f=u+1}function Oe(){var b=d.idx+(d.isClosing?2:1);return e.slice(b,u).toLowerCase()}function At(){u--}}var Ot=function(){function e(t){t===void 0&&(t={}),this.idx=t.idx!==void 0?t.idx:-1,this.type=t.type||"tag",this.name=t.name||"",this.isOpening=!!t.isOpening,this.isClosing=!!t.isClosing}return e}(),xS=function(){function e(t){t===void 0&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.tagBuilder=null,this.urls=ES(t.urls),this.email=lt(t.email)?t.email:this.email,this.phone=lt(t.phone)?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=lt(t.newWindow)?t.newWindow:this.newWindow,this.stripPrefix=CS(t.stripPrefix),this.stripTrailingSlash=lt(t.stripTrailingSlash)?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=lt(t.decodePercentEncoding)?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var n=this.mention;if(n!==!1&&rS.indexOf(n)===-1)throw new Error("invalid `mention` cfg '".concat(n,"' - see docs"));var r=this.hashtag;if(r!==!1&&Jw.indexOf(r)===-1)throw new Error("invalid `hashtag` cfg '".concat(r,"' - see docs"));this.truncate=AS(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,n){var r=new e(n);return r.link(t)},e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.prototype.parse=function(t){var n=this,r=["a","style","script"],i=0,o=[];return SS(t,{onOpenTag:function(s){r.indexOf(s)>=0&&i++},onText:function(s,a){if(i===0){var u=/( | |<|<|>|>|"|"|')/gi,l=s.split(u),c=a;l.forEach(function(f,d){if(d%2===0){var p=n.parseText(f,c);o.push.apply(o,p)}c+=f.length})}},onCloseTag:function(s){r.indexOf(s)>=0&&(i=Math.max(i-1,0))},onComment:function(s){},onDoctype:function(s){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o),o},e.prototype.compactMatches=function(t){t.sort(function(u,l){return u.getOffset()-l.getOffset()});for(var n=0;n<t.length-1;){var r=t[n],i=r.getOffset(),o=r.getMatchedText().length,s=i+o;if(n+1<t.length){if(t[n+1].getOffset()===i){var a=t[n+1].getMatchedText().length>o?n:n+1;t.splice(a,1);continue}if(t[n+1].getOffset()<s){t.splice(n+1,1);continue}}n++}return t},e.prototype.removeUnwantedMatches=function(t){return this.hashtag||Kn(t,function(n){return n.getType()==="hashtag"}),this.email||Kn(t,function(n){return n.getType()==="email"}),this.phone||Kn(t,function(n){return n.getType()==="phone"}),this.mention||Kn(t,function(n){return n.getType()==="mention"}),this.urls.schemeMatches||Kn(t,function(n){return n.getType()==="url"&&n.getUrlMatchType()==="scheme"}),this.urls.tldMatches||Kn(t,function(n){return n.getType()==="url"&&n.getUrlMatchType()==="tld"}),this.urls.ipV4Matches||Kn(t,function(n){return n.getType()==="url"&&n.getUrlMatchType()==="ipV4"}),t},e.prototype.parseText=function(t,n){n===void 0&&(n=0),n=n||0;for(var r=pS(t,{tagBuilder:this.getTagBuilder(),stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding,hashtagServiceName:this.hashtag,mentionServiceName:this.mention||"twitter"}),i=0,o=r.length;i<o;i++)r[i].setOffset(n+r[i].getOffset());return r},e.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"<").replace(/>/g,">"));for(var n=this.parse(t),r=[],i=0,o=0,s=n.length;o<s;o++){var a=n[o];r.push(t.substring(i,a.getOffset())),r.push(this.createMatchReturnVal(a)),i=a.getOffset()+a.getMatchedText().length}return r.push(t.substring(i)),r.join("")},e.prototype.createMatchReturnVal=function(t){var n;if(this.replaceFn&&(n=this.replaceFn.call(this.context,t)),typeof n=="string")return n;if(n===!1)return t.getMatchedText();if(n instanceof wm)return n.toAnchorString();var r=t.buildTag();return r.toAnchorString()},e.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new Cw({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},e.version=cw,e}();function ES(e){return e==null&&(e=!0),lt(e)?{schemeMatches:e,tldMatches:e,ipV4Matches:e}:{schemeMatches:lt(e.schemeMatches)?e.schemeMatches:!0,tldMatches:lt(e.tldMatches)?e.tldMatches:!0,ipV4Matches:lt(e.ipV4Matches)?e.ipV4Matches:!0}}function CS(e){return e==null&&(e=!0),lt(e)?{scheme:e,www:e}
82:{scheme:lt(e.scheme)?e.scheme:!0,www:lt(e.www)?e.www:!0}}function AS(e){return typeof e=="number"?{length:e,location:"end"}:fw(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})}var Tm={exports:{}},kS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",bS=kS,_S=bS;function Rm(){}function Nm(){}Nm.resetWarningCache=Rm;var FS=function(){function e(r,i,o,s,a,u){if(u!==_S){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Nm,resetWarningCache:Rm};return n.PropTypes=n,n};Tm.exports=FS();var DS=Tm.exports;const A=kt(DS);class Bt extends Zt.Component{_bind(...t){t.forEach(n=>this[n]=this[n].bind(this))}getUid(){return Math.floor(Math.random()*65535)}}class uc extends Bt{constructor(t,n){super(),this._bind("setFieldState","callTriState","setGeldig","setOngeldig","setValid","setInvalid","noValidation","addClass","removeClass","replaceClass","hasClass"),this.classes=["rij","mode_input",this.getTypeClassName(n)],t&&this.classes.push("rij_verplicht")}setFieldState(t,n){this.hasClass("rij_verplicht")&&this.callTriState(t,this.setGeldig,this.setOngeldig),this.callTriState(n,this.setValid,this.setInvalid,this.noValidation)}callTriState(t,n,r,i){switch(t){case!0:return typeof n=="function"&&n();case!1:return typeof r=="function"&&r();case null:return typeof i=="function"&&i()}return null}setGeldig(){this.hasClass("rij_verplicht")&&this.hasClass("rij_ongeldig")&&this.replaceClass("rij_ongeldig","rij_geldig")}setOngeldig(){this.hasClass("rij_verplicht")&&this.replaceClass("rij_geldig","rij_ongeldig")}setValid(){this.replaceClass("rij_invalid","rij_valid"),this.hasClass("rij_ongeldig")&&this.replaceClass("rij_ongeldig","rij_geldig")}setInvalid(){this.replaceClass("rij_valid","rij_invalid")}noValidation(){this.removeClass("rij_invalid"),this.removeClass("rij_valid"),this.hasClass("rij_verplicht")||this.removeClass("rij_ongeldig")}addClass(t){this.hasClass(t)||this.classes.push(t)}removeClass(t){let n=this.classes.indexOf(t);n!==-1&&this.classes.splice(n,1)}replaceClass(t,n){this.removeClass(t),this.addClass(n)}hasClass(t){return this.classes.indexOf(t)!==-1}get validationClasses(){return this.hasClass("rij_invalid")&&this.replaceClass("rij_geldig","rij_ongeldig"),this.classes.join(" ").trim()}getTypeClassName(t){return{email:"mail"}[t]||t}}function lc(e){let t,n;const r=new Promise((i,o)=>{t=i,n=o});return e&&e(t,n),{promise:r,resolve:t,reject:n}}function cc(e,t){return e.lastIndexOf(t,0)===0}var TS=/^((?:\w+:)?\/\/([^\/]+))/;function jm(e){let t=[];const n=Object.keys(e),r=encodeURIComponent;for(let i=0;i<n.length;i++)t.push(`${r(n[i])}=${r(e[n[i]])}`);return t.join("&")}function zs(e){const t=document.location;if(cc(e,"/")||cc(e,"."))return t.origin?t.origin:t.protocol+"//"+t.host;const n=e.match(TS);if(!n)throw new Error("Invalid URL: "+e);return n[1]}var RS=class{constructor(e){this.ready=!1,this.buffer=[],this.id=e.id,this.type=e.type,this.element=e.element,this.onReady=e.onReady,this.origin=zs(e.element.src)}send(e){this.ready?this.element.contentWindow.postMessage(e,this.origin):this.buffer.push(e)}setReady(e){this.onReady(),this.ready=e,this.ready&&this.flush()}flush(){for(let e=0;e<this.buffer.length;e++)this.element.contentWindow.postMessage(this.buffer[e],this.origin);this.buffer=[]}};function NS(e,t){return e==="*"||t.has(e)}var jS=class{constructor(){this.origins=new Set,this.targets={},this.answered=new Set,this.onReceiveRootMessage=()=>{},window.addEventListener("message",e=>{this.onReceive(e)})}listen(e){let t=this.onReceiveRootMessage;this.onReceiveRootMessage=n=>{t(n),e(n)}}addOrigin(e){this.origins.add(e)}send(e){if(e.from_id){const r=this.targets[e.from_id];if(!r){console.error(`[bus] Unexpected message from unknown sender ${e.from_id}`,e);return}(e.type==="widget_announce"||e.type==="agent_announce")&&r.setReady(!0)}const t=e.rid;
82if(t){if(this.answered.has(t+e.to_id))return;this.answered.add(t+e.to_id)}if(e.to_id===""){this.onReceiveRootMessage(e);return}const n=this.targets[e.to_id];if(!n){console.error(`[bus] Unexpected message to unknown target ${e.to_id}`,e);return}n.send(e)}onReceive(e){if(!NS(e.origin,this.origins))return;const t=e.data;!t||!t._frc||this.send(t)}registerTarget(e){this.targets[e.id]=e}registerTargetIFrame(e,t,n,r){const i=lc();let o=new Promise(a=>setTimeout(()=>a("timeout"),r));const s=new RS({id:t,element:n,type:e,onReady:()=>i.resolve("registered")});return this.registerTarget(s),Promise.race([i.promise,o])}removeTarget(e){delete this.targets[e]}};function Vs(e,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"){let n="";for(let r=0;r<e;r++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}function dc(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function Pm(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=dc(n);return(i,o)=>r.then(s=>o(s.transaction(t,i).objectStore(t)))}var fc;function Om(){return fc||(fc=Pm("keyval-store","keyval")),fc}function PS(e,t=Om()){return t("readonly",n=>dc(n.get(e)))}function OS(e,t,n=Om()){return n("readwrite",r=>(r.put(t,e),dc(r.transaction)))}var Bm="frc_sc",Lm="frc_sid",Mm="__",pc="0",BS="__"+Vs(10);function hc(e){{let t=0;try{t=parseInt(sessionStorage.getItem(Bm)||"",10)}catch{}isNaN(t)&&(t=0),e&&t++,pc=t.toString();try{sessionStorage.setItem(Bm,pc)}catch{}}return pc}function mc(){let e;try{e=sessionStorage.getItem(Lm)}catch{return BS}return e||(e=Vs(12),sessionStorage.setItem(Lm,e)),e}var LS=class{constructor(e){this.mem=new Map,this.storePrefix=e}setup(){return new Promise((e,t)=>{if(this._hasSA!==void 0)return e(this._hasSA);try{indexedDB.open("")}catch{return e(this._hasSA=!1)}if(!document.hasStorageAccess)return e(this._hasSA=!0);document.hasStorageAccess().then(n=>(this._hasSA=n,this._hasSA?this.idb=Pm("friendlycaptcha","frc"):console.debug("FRC has no storage access"),e(this._hasSA))).catch(t)})}get(e,t){return this.setup().then(n=>{const r=this.storePrefix+Mm+e;if(t.p)return n?PS(r,this.idb):this.mem.get(e);try{const i=sessionStorage.getItem(r);return i===null?void 0:i}catch{}return this.mem.get(e)})}set(e,t,n){return this.setup().then(r=>{const i=this.storePrefix+Mm+e;if(n.p){if(r)return OS(i,t,this.idb);t===void 0?this.mem.delete(e):this.mem.set(e,t)}else try{t===void 0?(this.mem.delete(e),sessionStorage.removeItem(i)):(this.mem.set(e,t),sessionStorage.setItem(i,t))}catch{}})}hasSA(){return this._hasSA}},MS=typeof navigator<"u"&&navigator.userAgentData!==void 0;function IS(){return document.querySelectorAll(".frc-captcha")}function $S(e){for(;e.tagName!=="FORM";)if(e=e.parentElement,!e)return null;return e}function zS(e,t){e.addEventListener("focusin",t,{once:!0,passive:!0})}function VS(e,t,n){e.style[t]===""&&(e.style[t]=n)}function US(e){const t=VS;t(e,"position","relative"),t(e,"height","70px"),t(e,"padding","0"),t(e,"width","316px"),t(e,"maxWidth","100%"),t(e,"maxHeight","100%"),t(e,"overflow","hidden"),t(e,"borderRadius","4px")}function WS(e){e.removeAttribute("style")}function gc(e){document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e)}function qS(e,t){let n;typeof window.CustomEvent=="function"?n=new CustomEvent(t.name,{bubbles:!0,detail:t}):(n=document.createEvent("CustomEvent"),n.initCustomEvent(t.name,!0,!1,t)),e.dispatchEvent(n)}function HS(e){for(;!e.lang||typeof e.lang!="string";)if(e=e.parentElement,!e)return null;return e.lang}var Us={ar:{title:"Ø§ÙØªØÙÙ Ù Ù Ù ÙØ§ÙØØ© Ø§ÙØ±ÙØ¨ÙØªØ§Øª",connecting:"Ø§ÙØªØÙÙ Ù Ù Ù ÙØ§ÙØØ© Ø§ÙØ±ÙØ¨ÙØªØ§Øª ÙÙØ¯ Ø§ÙØ§ØªØµØ§Ùâ¦",retrying:`Ø§Ø³ØªØºØ±Ù Ø§ÙØ§ØªØµØ§Ù Ø¨Ø§ÙØªØÙÙ Ù Ù Ù ÙØ§ÙØØ© Ø§ÙØ±ÙØ¨ÙØªØ§Øª ÙÙØªÙا Ø·ÙÙÙØ§Ù. 83 84إعادة اÙÙ ØØ§ÙÙØ©â¦`,failed:"ÙØ´Ù Ø§ÙØ§ØªØµØ§Ù Ø¨Ø§ÙØªØÙÙ Ù Ù Ù ÙØ§ÙØØ© Ø§ÙØ±ÙØ¨ÙØªØ§Øª."},bg:{title:"ÐÑовеÑка ÑÑеÑÑ ÑобоÑи",connecting:"ÐаÑежда Ñе задаÑаÑаâ¦",retrying:`ÐеÑÑпеÑно ÑвÑÑзване. 85 86ÐÐ¿Ð¸Ñ Ð·Ð° повÑоÑно ÑвÑÑзванеâ¦`,failed:"ÐеÑÑпеÑно ÑвÑÑзване."},ca:{title:"Verificació anti-robot",connecting:"Carregant el desafiamentâ¦",retrying:`Errada de conexió. 87 88Reintentantâ¦`,failed:"Errada de conexió."},cs:{title:"OvÄÅenà proti robotům",connecting:"PÅipojovánà kontroly proti robotůmâ¦",retrying:`PÅipojenà kontroly proti robotům trvalo pÅÃliÅ¡ dlouho. 89 90Opakuji pokusâ¦`,failed:"Kontrola proti robotům se nepodaÅilo pÅipojit."},da:{title:"Anti-robot-verifikation",connecting:"Anti-robot-kontrol forbinderâ¦",retrying:`Anti-robot-kontrol tog for lang tid at oprette forbindelse. 91 92Prøver igenâ¦`,failed:"Anti-robot-kontrol kunne ikke oprette forbindelse."},nl:{title:"Anti-robotcheck",connecting:"Verbinden met Anti-robotcheckâ¦",retrying:`Verbinden met Anti-robotcheck mislukt. 93 94Opnieuw aan het proberenâ¦`,failed:"Verbinden met Anti-robotcheck mislukt."},en:{title:"Anti-Robot verification",connecting:"Anti-Robot check connectingâ¦",retrying:`Anti-Robot check took too long to connect. 95 96Retryingâ¦`,failed:"Anti-Robot check failed to connect."},fi:{title:"Robottien torjunnan vahvistus",connecting:"Robottien torjunnan tarkistus käynnissäâ¦",retrying:`Robottien torjunnan tarkistus kesti liian kauan. 97 98Yritetään uudelleenâ¦`,failed:"Robottien torjunnan tarkistus epäonnistui."},fr:{title:"Vérification anti-robot",connecting:"Connexion à la vérification anti-robotâ¦",retrying:`La connexion à la vérification anti-robot a pris trop de temps. 99 100Nouvelle tentativeâ¦`,failed:"Ãchec de la connexion à la vérification anti-robot."},de:{title:"Anti-Roboter-Verifizierung",connecting:"Verbindung zur Anti-Roboter-Verifizierung wird hergestelltâ¦",retrying:`Verbindung zur Anti-Roboter-Verifizierung hat zu lange gedauert. 101 102Erneuter Versuchâ¦`,failed:"Verbindung zur Anti-Roboter-Verifizierung ist fehlgeschlagen."},hi:{title:"à¤à¤à¤à¥-रà¥à¤¬à¥à¤ सतà¥à¤¯à¤¾à¤ªà¤¨",connecting:"à¤à¥à¤¨à¥à¤¤à¥ लà¥à¤¡ हॠरहॠहà¥â¦",retrying:`à¤à¤¨à¥à¤à¥à¤¶à¤¨ विफल. 103 104पà¥à¤¨à¤ पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤° रहॠहà¥à¤â¦`,failed:"à¤à¤¨à¥à¤à¥à¤¶à¤¨ विफल."},hu:{title:"RobotellenÅrzés",connecting:"RobotellenÅrzés csatlakozásâ¦",retrying:`A robotellenÅrzés túl sokáig tartott a csatlakozáshoz. 105 106Ãjrapróbálomâ¦`,failed:"A robotellenÅrzés nem tudott csatlakozni."},id:{title:"Verifikasi Anti-Robot",connecting:"Pemeriksaan Anti-Robot sedang terhubungâ¦",retrying:`Pemeriksaan Anti-Robot memakan waktu terlalu lama untuk terhubung. 107 108Mencoba lagiâ¦`,failed:"Pemeriksaan Anti-Robot gagal terhubung."},ja:{title:"ãããã鲿¢èªè¨¼",connecting:"ãã£ã¬ã³ã¸ãèªã¿è¾¼ãã§ãã¾ãâ¦",retrying:`æ¥ç¶å¤±æ. 109 110å試è¡ä¸â¦`,failed:"æ¥ç¶å¤±æ."},it:{title:"Verifica anti-robot",connecting:"Connessione verifica anti-robot in corsoâ¦",retrying:`La connessione alla verifica anti-robot ha richiesto troppo tempo. 111 112Riprovandoâ¦`,failed:"Impossibile connettersi alla verifica anti-robot."},nb:{title:"Anti-robot-verifisering",connecting:"Laster inn utfordringâ¦",retrying:`Klarte ikke Ã¥ koble til. 113 114Prøver igjenâ¦`,failed:"Klarte ikke Ã¥ koble til."},pl:{title:"Weryfikacja antyrobotowa",connecting:"ÅÄ czenie siÄ z kontrolÄ antyrobotowÄ â¦",retrying:`ÅÄ czenie siÄ z kontrolÄ antyrobotowÄ trwaÅo zbyt dÅugo. 115 116Ponowna próbaâ¦`,failed:"Nie udaÅo siÄ poÅÄ czyÄ z kontrolÄ antyrobotowÄ ."},ro:{title:"Verificare anti-robot",connecting:"Se incarca testulâ¦",retrying:`Conexiunea a esuat. 117 118Reincercareâ¦`,failed:"Conexiunea a esuat."},pt:{title:"Verificação anti-robô",connecting:"Verificação anti-robô a ligarâ¦",retrying:`A verificação anti-robô demorou demasiado tempo a ligar-se. 119 120A tentar novamenteâ¦`,failed:"A verificação anti-robô não conseguiu ligar-se."},ru:{title:"ÐÑовеÑка анÑиÑобоÑа",connecting:"ÐодклÑÑение к пÑовеÑке анÑиÑобоÑаâ¦",retrying:`ÐодклÑÑение к пÑовеÑке анÑиÑобоÑа занÑло ÑлиÑком много вÑемени. 121 122ÐовÑоÑÑем попÑÑкÑâ¦`,failed:"Ðе ÑдалоÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑÑÑ Ðº пÑовеÑке анÑиÑобоÑа."},sk:{title:"Overovanie proti robotom",connecting:"Pripojenie kontroly proti robotomâ¦",retrying:`Pripojenie kontroly proti robotom trvalo prÃliÅ¡ dlho. 123 124Opakujem pokusâ¦`,failed:"Pripojenie kontroly proti robotom sa nepod
124arilo."},sl:{title:"Preverjanje proti robotom",connecting:"Nalaganje izzivaâ¦",retrying:`Povezava ni uspela. 125 126Ponovni poskusâ¦`,failed:"Povezava ni uspela."},es:{title:"Verificación antirrobot",connecting:"Conectando verificación antirrobotâ¦",retrying:`La verificación antirrobot tardó demasiado en conectarse. 127 128Reintentandoâ¦`,failed:"Error al conectar la verificación antirrobot."},sv:{title:"Anti-robotverifiering",connecting:"Anti-robotverifiering ansluterâ¦",retrying:`Anti-robotverifiering tog för lÃ¥ng tid att ansluta. 129 130Försöker igenâ¦`,failed:"Anti-robotverifiering kunde inte ansluta."},th:{title:"à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸à¸à¸±à¸à¸à¸à¸",connecting:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸à¸à¸²à¸£à¸à¹à¸²à¸à¸²à¸¢â¦",retrying:`à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¹à¸¡à¹à¸ªà¸³à¹à¸£à¹à¸. 131 132à¸à¸³à¸¥à¸±à¸à¸¥à¸à¸à¹à¸«à¸¡à¹â¦`,failed:"à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¹à¸¡à¹à¸ªà¸³à¹à¸£à¹à¸."},tr:{title:"Robot önleme doÄrulaması",connecting:"Robot önleme kontrolü baÄlanıyorâ¦",retrying:`Robot önleme kontrolü baÄlanmak için çok uzun sürdü. 133 134Yeniden deniyorâ¦`,failed:"Robot önleme kontrolü baÄlanamadı."},vi:{title:"Xác minh chá»ng robot",connecting:"Kiá»m tra robot Äang kết ná»iâ¦",retrying:`Kiá»m tra chá»ng robot mất quá nhiá»u thá»i gian Äá» kết ná»i. 135 136Äang thá» lạiâ¦`,failed:"Kiá»m tra chá»ng robot không thá» kết ná»i."},zh:{title:"åæºå¨äººéªè¯",connecting:"åæºå¨äººéªè¯æ£å¨è¿æ¥â¦",retrying:`åæºå¨äººéªè¯è¿æ¥èæ¶è¿é¿ã 137 138æ£å¨éè¯â¦`,failed:"åæºå¨äººéªè¯è¿æ¥å¤±è´¥ã"}},KS=["ar","he","fa","ur","ps","sd","yi"];function vc(e){return e.toLowerCase().split("-")[0].split("_")[0]}function yc(e){return e=vc(e),KS.indexOf(e)!==-1}function Im(e){return e=vc(e),(Us[e]||Us.en).title+" - Widget"}function wc(e,t){return e=vc(e),(Us[e]||Us.en)[t]}var $m="FrcFrameId",zm="frc-i-agent",QS="frc-i-widget",GS="frc-widget-placeholder";function YS(e,t,n){const r={origin:document.location.origin,sess_id:mc(),sess_c:hc(!0),comm_id:t,sdk_v:"0.1.37",v:"1",agent_id:t,ts:Date.now().toString()},i=document.createElement("iframe");i.className=zm,i.dataset[$m]=t,i.src=n+"?"+jm(r),i.frcSDK=e;const o=i.style;return o.width=o.height=o.border=o.visibility="0",o.display="none",i}function XS(e,t,n,r){const i=document.createElement("iframe"),o=xc(r),s={origin:document.location.origin,sess_id:mc(),sess_c:hc(!0),comm_id:t,sdk_v:"0.1.37",v:"1",agent_id:e,lang:o,sitekey:r.sitekey||"",ts:Date.now().toString()};r.theme&&(s.theme=r.theme),MS&&(i.allow="clipboard-write"),i.frameBorder="0",i.src=n+"?"+jm(s),i.className=QS,i.title=Im(o),i.dataset[$m]=t;const a=i.style;return a.border=a.visibility="0",a.position="absolute",a.height=a.width="100%",a.userSelect="none",a["-webkit-tap-highlight-color"]="transparent",a.display="none",r.element.appendChild(i),i}function JS(e){const t=document.createElement("div");t.classList.add(GS);const n=t.style,r=e.theme==="dark"||e.theme==="auto"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return n.color=r?"#fff":"#222",n.backgroundColor=r?"#171717":"#fafafa",n.borderRadius="4px",n.border="1px solid",n.borderColor="#ddd",n.padding="8px",n.height=n.width="100%",n.fontSize="14px",n.boxSizing="border-box",Sc(n),e.element.appendChild(t),t}function Sc(e){e.textDecoration=e.fontStyle="none",e.fontWeight="500",e.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',e.lineHeight="1",e.letterSpacing="-0.0125rem"}function ZS(e){const t=document.createElement("div");t.classList.add("frc-banner");const n=xc(e),r=e.theme==="dark"||e.theme==="auto"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;let i="#565656",o="#a2a2a2";r&&(i="#a2a2a2",o="#565656");const s=t.style;s.position="absolute",s.bottom="6px",yc(n)?s.left="6px":s.right="6px",s.lineHeight="1";const a=document.createElement("a");a.href="https://friendlycaptcha.com",a.rel="noopener";const u=a.style;Sc(u),u.color=i,u.fontSize="10px",u.userSelect="none",u.textDecorationLine="underline",u.textDecorationThickness="1px",u.textDecorationColor=o,u.letterSpacing="-0.0125rem",a.target="_blank",a.textContent="Friendly Captcha",a.onmouseenter=()=>u.textDecorationColor=i,a.onmouseleave=()=>u.textDecorationColor=o,t.appendChild(a),e.element.appendChild(t)}function xc(e){let t=e.language;return(!t||t==="html")&&(t=HS(e.element)||""),t}function ex(e,t,n){const r=(s,a)=>{const u=document.createElement("a");u.href=s,u.target="_blank",u.rel="noopener",u.textContent=a;const l=u.style;return Sc(l),l.textDecoration="underline",l.color="#565656",u.onmouseenter=()=>l.textDecoration="none",u.onmouseleave=()=>l.textDecoration="underline",u},i=wc(n,"failed"),o=[r(`${t}/connectionTest`,i)];e.textContent="",o.forEach(s=>e.appendChild(s))}function Ec(){const e=window.performance;return e?e.now():0}function tx(e,t,n,r){const i=Ec(),o=n.getBoundingClientRect(),s={v:1,tt:e,pnow:i,sm:t,el:{bcr:[o.left,o.top,o.width,o.height],con:document.body.contains(n)},stack:new Error().stack||"",we:!!window.event,weit:!!window.event&&!!window.event.isTrusted};return r&&(s.ev={ts:r.timeStamp,rt:!!r.relatedTarget,eot:!!r.explicitOriginalTarget,it:r.isTrusted}),s}function Cc(e,...t){for(let r=0;r<t.length;r++){const i=t[r];for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}return e}var nx="frc-captcha-response",rx=class{constructor(e){this.state="init",this.response=".UNINITIALIZED",this.focusEventPending=!1,this.isDestroyed=!1,this.id=e.id;const t=e.createOpts;if(this.e=t.element,this.ready=e.registered,!this.e)throw new Error("No element provided to mount widget under.");if(this.e.frcWidget=this,this.formFieldName=t.formFieldName===void 0?nx:t.formFieldName,this.sitekey=t.sitekey,this._reset=e.callbacks.onReset,this._destroy=e.callbacks.onDestroy,this._trigger=e.callbacks.onTrigger,this.startMode=e.createOpts.startMode||"focus",this.formFieldName!==null){const n=document.createElement("input");n.type="hidden",n.style.display="none",n.name=this.formFieldName,this.hiddenFormEl=n,this.e.a
138ppendChild(n)}this.setState({response:".UNCONNECTED",state:"init"}),this.ready.then(()=>{this.handleStartMode()})}handleStartMode(){if(this.startMode==="focus"&&!this.focusEventPending&&!this.isDestroyed){const e=$S(this.e);e&&(this.focusEventPending=!0,zS(e,t=>{this.trigger("focus",{ev:t}),this.focusEventPending=!1}))}else this.startMode==="auto"&&this.trigger("auto")}reset(e={trigger:"root"}){if(this.isDestroyed)throw new Error("Can not reset destroyed widget.");this.setState({response:".RESET",state:"reset",resetTrigger:e.trigger}),this._reset(e),this.handleStartMode()}destroy(){this.isDestroyed=!0,this.hiddenFormEl&&this.hiddenFormEl.remove(),this.hiddenFormEl=void 0,this.setState({response:".DESTROYED",state:"destroyed"}),this._destroy()}trigger(e,t={}){if(this.isDestroyed)throw new Error("Can not start destroyed widget.");const n=tx(e,this.startMode,this.e,t.ev);this._trigger({trigger:n})}start(){this.trigger("programmatic")}setState(e){const t=this.state!==e.state;this.response=e.response,this.state=e.state,this.hiddenFormEl&&this.e.isConnected!==!1&&(this.hiddenFormEl.value=e.response),t&&this.dispatchWidgetEvent({name:"frc:widget.statechange",error:e.error,mode:e.mode}),this.state==="expired"?this.dispatchWidgetEvent({name:"frc:widget.expire"}):this.state==="completed"?this.dispatchWidgetEvent({name:"frc:widget.complete"}):this.state==="error"?this.dispatchWidgetEvent({name:"frc:widget.error",error:e.error}):this.state==="reset"&&this.dispatchWidgetEvent({name:"frc:widget.reset",trigger:e.resetTrigger})}dispatchWidgetEvent(e){const t={response:this.response,state:this.state,id:this.id};Cc(t,e),qS(this.e,t)}addEventListener(e,t,n){this.e.addEventListener(e,t,n)}removeEventListener(e,t,n){this.e.removeEventListener(e,t,n)}getState(){return this.state}getResponse(){return this.response}getElement(){return this.e}},ix=function(e){return typeof e=="function"},ox=function(e){const t=[],n=new Map,r=function(){return t.splice(0,t.length)},i=window,o=function(){try{const p=document.createElement("iframe");p.style.display="none",(document.body||document.head).appendChild(p);const m=p?p.contentWindow:0;return p.remove(),m||i}catch{return i}}(),s=Function.prototype.toString,a=function(...p){const m=ix(this)?n.get(this):!1,w=this===a?s:m||this;return s.apply(w,p)};Function.prototype.toString=a;const u=function(){return(o.Error||i.Error)("FriendlyCaptcha_DummyTrace").stack||""},l="prototype",c=i.EventTarget?i.EventTarget[l].dispatchEvent:{},f=[["Document."+l+".documentElement",i.Document[l],"documentElement"],["Element."+l+".shadowRoot",i.Element[l],"shadowRoot"],["Node."+l+".nodeType",i.Node[l],"nodeType"],["Object.is",i.Object,"is"],["Array."+l+".slice",i.Array[l],"slice"],["Document."+l+".querySelectorAll",i.Document[l],"querySelectorAll"],["Document."+l+".createElement",i.Document[l],"createElement"],["EventTarget."+l+".dispatchEvent",c,"dispatchEvent"]];return e.disableEvalPatching||f.push(["eval",i,"eval"]),f.forEach(function([d,p,m]){const w=Object.getOwnPropertyDescriptor(p,m),x=w&&(w.get||w.set);if(w){if(x){if(!w.get)return}else if(typeof w.value!="object"&&typeof w.value!="function")return}else return;let g=0,h=0;const v=function(...k){const D=Date.now();if(D-g>=1e3&&(h=0,g=D),h<50){const T={d:D,pnow:Ec(),n:d,st:u()};t.length>2e4&&t.splice(0,1e3),t.push(T),h++}return(x?w.get:w.value).apply(this,k)};try{const E=x?w.get?w.get():void 0:w.value();E&&(v.length=E.length,v.name=E.name)}catch{}try{const E=Cc({},w);x?E.get=v:E.value=v,Object.defineProperty(p,m,E),n.set(v,x?w.get:w.value)}catch{}}),r};function _n(){const e=[0,0,0,0,0,0,0];return{s:e,add(t){const n=++e[0],r=t-e[1],i=r/n,o=i*i,s=r*i*(n-1);e[1]+=i,e[4]+=s*o*(n*n-3*n+3)+6*o*e[2]-4*i*e[3],e[3]+=s*i*(n-2)-3*i*e[2],e[2]+=s,n==1?e[5]=e[6]=t:(t<e[5]&&(e[5]=t),t>e[6]&&(e[6]=t))}}}var Lt="addEventListener",Gn=Math,Vm;function Um(){return/Android/i.test(navigator.userAgent)}function Ct(e,t,n=!1,r){const i=_n();let o=!1,s;return gc(()=>{r=r||document.body,r[Lt](e,a=>{(!o||n)&&(s=a.timeStamp,o=!0)}),r[Lt](t,a=>{o&&(i.add(a.timeStamp-s),o=!1)})}),i.s}function sx(e){const t=[];for(let n=0;n<e.length;n++)t.push(0),document[Lt](e[n],r=>t[n]++);return t}function ax(){const e=[0,0,0,0,0,0,0,0],t={8:1,46:1,9:2,45:3,17:4,13:5,37:6,38:6,39:6,40:6,33:7,34:7};return document[Lt]("keydown",n=>{const r=n.keyCode;t[r]?e[t[r]]++:r>=112&&r<=123&&e[0]++}),e}function Wm(e,t,n,r){return Gn.sqrt(Gn.pow(e-t,2)+Gn.pow(n-r,2))}function qm(e,t,n){return Gn.sqrt(Gn.pow(e,2)+Gn.pow(t,2)+Gn.pow(n,2))}function Hm(e,t){let n=t-e;return n+=n>180?-360:n<-180?360:0,n}var ux=class{constructor(e){this.rn=0,this.i=0,this.smel={n:0,ts:0,d:0};const t="mouse",n=this.smel,r=o=>{n.n||(n.fts=o.timeStamp,n.fxy=[o.clientX,o.clientY,o.screenX,o.screenY]),n.n++,o.type===t+"leave"&&(n.d+=o.timeStamp-n.ts),n.ts=o.timeStamp,n.xy=[o.clientX,o.clientY]},i=document;gc(()=>{const o=i.body;o[Lt](t+"enter",r),o[Lt](t+"leave",r)}
138),this.bh={onoff:{kdu:Ct("keydown","keyup"),cse:Ct("compositionstart","compositionend"),mdu:Ct(t+"down",t+"up"),mle:Ct(t+"leave",t+"enter"),med:Ct(t+"enter",t+"down",!0),semd:Ct("scrollend",t+"down",!0,i),se:Ct("scroll","scrollend",!1,i),pdc:Ct("pointerdown","pointercancel",!0),mmc:Ct(t+"move","click",!0),tse:Ct("touchstart","touchend"),fikd:Ct("focusin","keydown",!0)},nev:sx([t+"out","pointercancel","focus","focusin","blur","visibilitychange","copy","paste","cut","contextmenu","click","auxclick","wheel","resize"]),nk:ax(),mov:this.setupMovementMetrics(),dm:this.setupMotionMetrics(),do:this.setupOrientationMetrics()},this.dep=e.disableEvalPatching||!1,this.takeTraceRecords=ox(e)}setupMovementMetrics(){let e,t=[];const r=_n(),i=_n(),o=_n(),s={t:r.s,v:o.s,d:i.s,ns:0},a=()=>{const l=t[t.length-1];if(t.length>=1e4/50||l&&(l[0]&&this.tm.timeStamp===l[1]||!l[0]&&this.mm.timeStamp===l[1])){if(clearInterval(e),e=void 0,t.length===1){s.ns++,t=[];return}const f=t[0];r.add(l[1]-f[1]),i.add(Wm(l[2],f[2],l[3],f[3]));for(let d=1;d<t.length;d++){const p=t[d],m=t[d-1],w=Wm(p[2],m[2],p[3],m[3])*1e3,x=p[1]-m[1];o.add(w/x)}t=[];return}let c=0;if(l?c=l[0]:this.mm&&this.tm?c=this.mm.timeStamp>this.tm.timeStamp?0:1:this.mm||(c=1),c){const f=this.tm.touches[0];f&&t.push([1,this.tm.timeStamp,f.screenX,f.screenY])}else t.push([0,this.mm.timeStamp,this.mm.screenX,this.mm.screenY])};let u=-1;return gc(()=>{const l=document.body;l[Lt]("mousemove",c=>{this.mm=c,e===void 0&&(a(),e=setInterval(a,50))}),l[Lt]("touchmove",c=>{this.tm=c;const f=c.touches[0];if(f){const d=f.radiusX+f.radiusY*1.234;d!==u&&(u=d,this.rn++)}e===void 0&&(a(),e=setInterval(a,50))})}),s}setupMotionMetrics(){const e=_n(),t=_n(),n={n:0,ts:0,ac:e.s,rr:t.s,i:0,g:!1};return Um()&&window[Lt]("devicemotion",r=>{n.ts=r.timeStamp,n.i=r.interval,n.g=!r.acceleration;const i=r.acceleration||r.accelerationIncludingGravity;i&&e.add(qm(i.x,i.y,i.z));const o=r.rotationRate;o&&t.add(qm(o.alpha,o.beta,o.gamma))}),n}setupOrientationMetrics(){const e=_n(),t=_n(),n={fts:0,ts:0,gd:e.s,bd:t.s};if(!Um())return n;let r;return window[Lt]("deviceorientation",i=>{i.gamma==null||i.beta==null||i.alpha==null||(n.ts=i.timeStamp,n.a=i.alpha,n.b=i.beta,n.g=i.gamma,r?(e.add(Hm(i.gamma,n.g)),t.add(Hm(n.b,i.beta))):(n.fts=n.ts,r=!0))}),n}gmm(){const e=this.mm;return e&&{xy:[e.clientX,e.clientY,e.screenX,e.screenY,e.offsetX,e.offsetY,e.pageX,e.pageY,e.movementX,e.movementY],ts:e.timeStamp}}gtm(){const e=this.tm,t=e&&e.touches,n=t&&t[0];return e&&n&&{id:n.identifier,xy:[n.clientX,n.clientY,n.screenX,n.screenY,n.pageX,n.pageY],r:[n.radiusX,n.radiusX,n.rotationAngle,n.force],n:t.length,ts:e.timeStamp,rn:this.rn}}get(e){const t=document.body,n=window,r=n.performance;return{v:1,i:++this.i,hl:history.length,fe:!!window.frameElement,dep:this.dep,wid:e,sc:parseInt(hc(!1)),sid:mc(),conv:0,t:{pnow:Ec(),pto:r&&r.timeOrigin||0,ts:Date.now()},dims:{d:[n.innerWidth,n.innerHeight,n.outerWidth,n.outerHeight,n.screenX,n.screenY,n.pageXOffset,n.pageYOffset,t.clientWidth,t.clientHeight],dpr:n.devicePixelRatio},mel:this.smel,mm:this.gmm(),tm:this.gtm(),bh:this.bh,stack:new Error().stack||"",trc:this.takeTraceRecords()}}};function lx(e){return Vm||(Vm=new ux(e))}var Ac={eu:"https://eu.frcapi.com",global:"https://global.frcapi.com"};function Km(e){let t=e;return t?Ac[t]&&(t=Ac[t]):t=Ac.global,zs(t)}function cx(){const e=document.querySelector('meta[name="frc-disable-eval-patching"]');return e?!!e.content:!1}function Qm(){const e=document.querySelector('meta[name="frc-api-endpoint"]');if(e)return e.content;const t=document.currentScript;if(t){const r=t.dataset.frcApiEndpoint;if(r)return r}
138const n=document.querySelector(".frc-captcha[data-api-endpoint]");if(n){const r=n.dataset.apiEndpoint;if(r)return r}}function dx(){const e=window.Intl;if(!e||!e.DateTimeFormat)return;const t=new e.DateTimeFormat;if(!(!t||!t.resolvedOptions))return t.resolvedOptions().timeZone}var Ws="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";function fx(e){return window.TextEncoder?px(new TextEncoder().encode(e)):""}function px(e){const t=e.length;let n="";for(let r=0;r<t;r+=3){const i=e[r+0],o=e[r+1],s=e[r+2];let a="";a+=Ws.charAt(i>>>2),a+=Ws.charAt((i&3)<<4|o>>>4),a+=Ws.charAt((o&15)<<2|s>>>6),a+=Ws.charAt(s&63),n+=a}return t%3===2?n=n.substring(0,n.length-1)+"=":t%3===1&&(n=n.substring(0,n.length-2)+"=="),n}var hx="/api/v2/captcha/agent",mx="/api/v2/captcha/widget",Gm="FrcFrameId",gx=1e3*60*60*36,qs,Mi=0,vx=class{constructor(e={}){if(this.agents=new Map,this.agentState=new Map,this.widgets=new Map,this._attached=lc(),this.attached=this._attached.promise,this.apiEndpoint=e.apiEndpoint,qs=qs||new jS,qs.listen(t=>this.onReceiveMessage(t)),this.bus=qs,Mi++,Mi>1&&console.warn("Multiple Friendly Captcha SDKs created, this is not recommended. Please use a single SDK instance."),this.signals=lx({disableEvalPatching:e.disableEvalPatching||cx()}),e.startAgent){const t=Km(this.apiEndpoint||Qm());this.ensureAgentIFrame(t)}this.setupPeriodicRefresh()}onReceiveMessage(e){if(e.type==="root_set_response"){const t=this.widgets.get(e.widget_id);if(!t){Mi===1&&console.warn(`Received set response message for widget ${e.widget_id} that doesn't exist`);return}t.setState(e)}else if(cc(e.type,"root_store"))this.handleStoreMessage(e);else if(e.type==="root_signals_get")this.handleSignalsGetMessage(e);else if(e.type==="widget_language_change")this.handleWidgetLanguageChange(e);else if(e.type==="widget_reset"){const t=this.widgets.get(e.from_id);if(!t){Mi===1&&console.warn(`Received reset message for widget ${e.from_id} that doesn't exist`);return}t.reset({trigger:"widget"})}}handleWidgetLanguageChange(e){const t=this.widgets.get(e.from_id);if(!t){Mi===1&&console.warn(`Received language change message for widget ${e.from_id} that doesn't exist`);return}const n=t.getElement(),r=n.querySelector("iframe");r&&(r.title=Im(e.language));const i=n.querySelector(".frc-banner");if(i){const o=i.style;yc(e.language)?(o.left="6px",o.right="auto"):(o.left="auto",o.right="6px")}}handleSignalsGetMessage(e){const t=this.signals.get(e.widget_id);this.bus.send({type:"root_signals_get_reply",from_id:"",to_id:e.from_id,_frc:1,rid:e.rid,value:t})}handleStoreMessage(e){const t=e.from_id,n=this.agentState.get(t);if(!n){console.error(`Store not found ${t}`);return}e.type==="root_store_get"?n.store.get(e.key,{p:e.p}).then(r=>{this.bus.send({type:"root_store_get_reply",from_id:"",to_id:t,_frc:1,rid:e.rid,value:r,sa:n.store.hasSA()})}):e.type==="root_store_set"&&n.store.set(e.key,e.value,{p:e.p}).then(()=>{this.bus.send({type:"root_store_set_reply",from_id:"",to_id:t,_frc:1,rid:e.rid,sa:n.store.hasSA()})})}ensureAgentIFrame(e){const t=e+hx;let n=document.getElementsByClassName(zm);for(let a=0;a<n.length;a++){const u=n[a];if(zs(u.src)===e&&u.dataset[Gm])return u.dataset[Gm]}const r="a_"+Vs(12),i=YS(this,r,t);this.agents.set(e,i),this.agentState.set(r,{store:new LS(e),origin:e}),document.body.appendChild(i);let o=1;const s=()=>{this.bus.registerTargetIFrame("agent",r,i,this.getRetryTimeout(o)).then(a=>{if(a==="timeout"){if(o>4){console.error("[Friendly Captcha] Failed to load agent iframe after 4 retries."),i.remove(),this.agents.delete(e);return}console.warn("[Friendly Captcha] Retrying agent iframe load."),i.src+="&retry="+o++,s()}})};return s(),r}setupPeriodicRefresh(){let e=1;setInterval(()=>{const t="&expire="+e++;this.agents.forEach((n,r)=>{n.src+=t}),this.widgets.forEach((n,r)=>{const i=n.getElement().querySelector("iframe");i.src+=t})},gx)}getRetryTimeout(e){return Math.pow(e,1.8)*1e3+2e3}attach(e){e===void 0&&(e=IS()),Array.isArray(e)||e instanceof NodeList||(e=[e]);const t=[];for(let r=0;r<e.length;r++){const i=e[r];if(i&&!i.frcWidget){const o=i.dataset,s={element:i,sitekey:o.sitekey,formFieldName:o.formFieldName,apiEndpoint:o.apiEndpoint,language:o.lang,theme:o.theme,startMode:o.start};t.push(this.createWidget(s))}}const n=this.getAllWidgets();return this._attached.resolve(n),this.attached=Promise.resolve(n),t}createWidget(e){const t=Km(e.apiEndpoint||this.apiEndpoint||Qm());this.bus.addOrigin(t);const n=this.ensureAgentIFrame(t),r="w_"+Vs(12),i=x=>{const g={from_id:r,to_id:n,_frc:1};this.bus.send(Cc(g,x))},o={onDestroy:()=>{i({type:"root_destroy_widget"}),this.bus.removeTarget(r),this.widgets.delete(r),e.element.innerHTML="",WS(e.element)},onReset:()=>{i({type:"root_reset_widget"})},onTrigger:x=>{i({type:"root_trigger_widget",trigger:x.trigger})}},s=lc(),a=new rx({id:r,createOpts:e,callbacks:o,registered:s.promise});this.widgets.set(r,a);const u=t+mx,l=XS(n,r,u,e),c=JS(e);US(e.element),ZS(e);let f=xc(e);yc(f)&&(e.element.dir="rtl");const d=c.style;c.textContent=wc(f,"connecting");let p=1;function m(x){const g=fx(JSON.stringify({sdk_v:"0.1.37",sitekey:e.sitekey||"",retry:p+"",endpoint:t,ua:navigator.userAgent,tz:dx()||""}));let h=".ERROR.UNREACHABLE";g&&(h+="~"+g),a.setState({state:"error",response:h,error:{code:"network_error",detail:x}})}const w=()=>{this.bus.registerTargetIFrame("widget",r,l,this.getRetryTimeout(p)).then(x=>
138{if(x==="timeout"){if(p>4){console.error("[Friendly Captcha] Failed to load widget iframe after 4 retries."),m("Widget load timeout, stopped retrying"),d.borderColor="#f00",d.fontSize="12px",ex(c,zs(l.src),f);return}d.backgroundColor="#fee",d.color="#222",c.textContent=wc(f,"retrying")+` (${p})`,console.warn(`[Friendly Captcha] Retrying widget ${r} iframe load.`),m("Widget load timeout, will retry"),l.src+="&retry="+p++,w()}else x==="registered"&&(e.element.removeChild(c),l.style.display="")})};return w(),s.resolve(),a}getAllWidgets(){const e=[];return this.widgets.forEach(t=>{e.push(t)}),e}getWidgetById(e){return this.widgets.get(e)}clear(){this.widgets.forEach(e=>{e.destroy()}),this.agents.forEach(e=>{e.remove()}),this.agents.clear()}};/*! 139 * Copyright (c) Friendly Captcha GmbH 2023. 140 * This Source Code Form is subject to the terms of the Mozilla Public 141 * License, v. 2.0. If a copy of the MPL was not distributed with this 142 * file, You can obtain one at https://mozilla.org/MPL/2.0/. 143 */let Fn;const Ym=()=>{if(typeof window>"u"||typeof document>"u")return null;if(Fn&&typeof Fn.createWidget=="function")return Fn;const e=window.frcaptcha;return e&&typeof e.createWidget=="function"?(Fn=e,Fn):(Fn=new vx({startAgent:!0}),window.frcaptcha=Fn,Fn)},Xm=e=>typeof e=="string"&&e.toLowerCase()==="friendlycaptcha",Jm=W.forwardRef(({widgetOptions:e={},onComplete:t,onError:n,onReset:r,...i},o)=>{const s=W.useRef(null),a=W.useRef(null),u=W.useMemo(()=>JSON.stringify(e||{}),[e]);return W.useEffect(()=>{var p,m;const l=s.current,c=Ym(),f=e||{},{sitekey:d}=f;if(!(!l||!c||!d)){(m=(p=a.current)==null?void 0:p.destroy)==null||m.call(p);try{a.current=c.createWidget({element:l,...f})}catch(w){console.error("FriendlyCaptcha widget failed to create",w),a.current=null,typeof n=="function"&&n(w);return}return()=>{var w,x;(x=(w=a.current)==null?void 0:w.destroy)==null||x.call(w),a.current=null}}},[u,n]),W.useEffect(()=>{const l=s.current;if(!l)return;const c=p=>{var m;if(typeof t=="function"){const w=((m=p==null?void 0:p.detail)==null?void 0:m.response)||"";t(w,p)}},f=p=>{var m;if(typeof n=="function"){const w=((m=p==null?void 0:p.detail)==null?void 0:m.error)??(p==null?void 0:p.detail);n(w,p)}},d=()=>{typeof r=="function"&&r()};return t&&l.addEventListener("frc:widget.complete",c),n&&l.addEventListener("frc:widget.error",f),r&&l.addEventListener("frc:widget.reset",d),()=>{t&&l.removeEventListener("frc:widget.complete",c),n&&l.removeEventListener("frc:widget.error",f),r&&l.removeEventListener("frc:widget.reset",d)}},[t,n,r]),W.useImperativeHandle(o,()=>({reset:()=>{var l,c;return(c=(l=a.current)==null?void 0:l.reset)==null?void 0:c.call(l)},getResponse:()=>{var l,c;return((c=(l=a.current)==null?void 0:l.getResponse)==null?void 0:c.call(l))||""}})),y.jsx("div",{ref:s,...i})});Jm.displayName="FriendlyCaptchaWidget";class et extends Bt{constructor(t){super(t),this.theme=this.props.theme,this._bind("toggleExplanationDisplay"),this.state={explanationDisplay:"none"},this.fieldValidation=new uc(t.required,t.type)}componentDidUpdate(){this.props.fieldValidation&&(this.fieldValidation=this.props.fieldValidation)}render(){let{fieldId:t,label:n,required:r,resources:i,validation:o,invalidMessage:s,type:a}=this.props,u,l;this.fieldValidation.setFieldState(o.required,o.pattern),r&&(u=y.jsxs("span",{className:"verplicht",children:["Â ",i.getText("(verplicht)")]})),o.pattern===!1&&(l=y.jsx("div",{className:this.theme.fieldInvalidMessage,role:"alert",children:i.getText("Veld {0} is ongeldig ingevuld.",n.includes(i.getTextOrNull("captcha"))?i.getText("reactie captcha"):n.toLowerCase())})),o.required===!1&&(l=y.jsx("div",{className:this.theme.fieldInvalidMessage,role:"alert",children:i.getText("Veld {0} is niet of onvolledig ingevuld.",n.includes(i.getTextOrNull("captcha"))?i.getText("reactie captcha"):n.toLowerCase())})),o.invalid&&s&&(l=y.jsx("div",{className:this.theme.fieldInvalidMessage,role:"alert",children:i.getText(s)}));const c=`${i.getText("Toelichting")}`,f=this.props.explanation?y.jsxs("div",{className:this.state.explanationDisplay==="none"?"closed input-explanation":"open input-explanation",children:[y.jsx("a",{href:"#",title:c,onClick:this.toggleExplanationDisplay,"aria-expanded":this.state.explanationDisplay!=="none",children:c}),y.jsx("div",{className:"toelichting",style:{display:this.state.explanationDisplay},children:y.jsx("p",{dangerouslySetInnerHTML:this.props.explanation})})]}):null;return a==="checkbox"?y.jsx("div",{className:`${this.fieldValidation.validationClasses}
143${this.props.disabled?" rij_disabled":""}`,children:y.jsxs("div",{className:"invoer",children:[this.props.children,y.jsxs("label",{htmlFor:t,children:[n,u]})]})}):y.jsxs("div",{className:`${this.fieldValidation.validationClasses}${this.props.disabled?" rij_disabled":""}`,children:[y.jsx("div",{className:"label",children:y.jsxs("label",{htmlFor:t,children:[n,u]})}),l,y.jsx("div",{className:"invoer",children:this.props.children}),f]})}toggleExplanationDisplay(t){this.setState({explanationDisplay:this.state.explanationDisplay==="none"?"block":"none"}),t.preventDefault()}}et.defaultProps={invalidMessage:"field {0} is not valid.",type:"text"},et.propTypes={theme:A.object.isRequired,label:A.string.isRequired,onChange:A.func,required:A.bool,disabled:A.bool,invalidMessage:A.string,explanation:A.shape({__html:A.string.isRequired}),resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired}),type:A.string,autoComplete:A.string,autoFocus:A.bool};class tt extends Bt{constructor(t){super(t),this.theme=this.props.theme,this._bind("handleBlur","handleChange","validateRequired"),this.id=super.getUid();let n=this.isEmpty(this.props.value),r=!n,i=!r||this.isValid(this.props);this.state={needsValidation:r,empty:n,valid:i,dirty:!1},this.needsValidationDebounced=_.debounce(()=>!this.componentUnmounted&&this.needsValidation(!0),this.props.options.debounce)}UNSAFE_componentWillReceiveProps(t){t.submitted!==this.props.submitted&&t.submitted===!0&&this.needsValidation(!0)}handleBlur(t){this.needsValidation(!0)}handleChange(t){this.needsValidationDebounced()}needsValidation(t){this.setState({needsValidation:t})}isValid(t){return!(t.required&&this.isEmpty(t.value))}isEmpty(t){return typeof t>"u"||t===""}validateRequired(t,n){return this.props.required?!this.isEmpty(t):null}componentWillUnmount(){this.componentUnmounted=!0}}tt.defaultProps={options:{debounce:1500}},tt.propTypes={theme:A.object.isRequired,required:A.bool,value:A.string,options:A.shape({debounce:A.number})};class ct extends tt{constructor(t){if(super(t),this._bind("validatePattern"),this.props.pattern){const n=`^(?:${this.props.pattern})$`;this.patternRegEx=new RegExp(n)}this.state.validation={pattern:this.validatePattern(this.props.value),required:this.validateRequired(this.props.value)}}componentDidMount(){this.props.defaultValue&&this.setValue(this.props.defaultValue)}UNSAFE_componentWillReceiveProps(t){t.value!==void 0&&t.value!==this.props.value&&this.setValue(t.value),t.required!==this.props.required&&(this.props=t,this.fieldValidation=new uc(this.props.required,this.props.type),this.setValue(this.state.value)),super.
143UNSAFE_componentWillReceiveProps(t)}validatePattern(t){return this.isEmpty(t)||!this.props.pattern?null:this.patternRegEx.test(t)}handleChange(t){super.handleChange(t),this.setValue(t.target.value)}setValue(t){let n=this.props.trim===!0&&t?t.trim():t,r=this.isEmpty(n),i=n!==this.props.value,o={pattern:this.validatePattern(n),required:this.validateRequired(n)},s=o.pattern!==!1&&o.required!==!1;this.setState({empty:r,dirty:i,validation:o,value:n,valid:s}),this.props.onChange({empty:r,valid:s,value:n})}render(){let{type:t,label:n,required:r,explanation:i,resources:o,autoComplete:s,autoFocus:a}=this.props;const{value:u}=this.state;let l=`field_${this.id}`,c=this.state.needsValidation?this.state.validation:{};const f=t==="email"?{invalidMessage:"field {0} is not a valid email address."}:{};return y.jsx(et,{theme:this.theme,fieldId:l,type:t,value:u,required:r,valid:this.state.valid,label:n,explanation:i,resources:o,validation:c,fieldValidation:this.fieldValidation,...f,children:y.jsx("input",{autoComplete:s,type:t,value:u,id:l,className:"input",onChange:this.handleChange,onBlur:this.handleBlur,required:r,autoFocus:a})})}}ct.defaultProps={...et.defaultProps,...tt.defaultProps,defaultValue:""},ct.propTypes={...et.propTypes,...tt.propTypes,value:A.string,trim:A.bool,pattern:A.string};class Ii extends Zt.Component{constructor(t){super(t),this.state={captcha:void 0,friendlyError:!1},this.handleFriendlyDone=this.handleFriendlyDone.bind(this),this.handleFriendlyError=this.handleFriendlyError.bind(this),this.handleFriendlyReset=this.handleFriendlyReset.bind(this),this.resetFriendlyCaptchaState=this.resetFriendlyCaptchaState.bind(this),this.prepareFriendlyCaptcha=this.prepareFriendlyCaptcha.bind(this),this.resetFriendlyWidgetInstance=this.resetFriendlyWidgetInstance.bind(this),this.isFriendly=Xm(t.captchaType),this.friendlyComponentRef=Zt.createRef(),this.fieldValidation=new uc(!0,"captcha"),!this.isFriendly&&t.captcha&&(this.attachLegacyCaptcha(t.captcha),t.captcha())}componentDidMount(){this.isFriendly&&(this.prepareFriendlyCaptcha(),this.resetFriendlyWidgetInstance())}componentDidUpdate(t){const n=Xm(this.props.captchaType);n!==this.isFriendly?(this.cleanupLegacyCaptcha(),this.isFriendly=n,this.isFriendly?(this.prepareFriendlyCaptcha(),this.resetFriendlyWidgetInstance()):this.props.captcha&&(this.attachLegacyCaptcha(this.props.captcha),this.props.captcha())):this.isFriendly&&t.friendlyCaptchaSiteKey!==this.props.friendlyCaptchaSiteKey&&(this.prepareFriendlyCaptcha(),this.resetFriendlyWidgetInstance()),!this.isFriendly&&t.captcha!==this.props.captcha&&this.props.captcha&&(this.attachLegacyCaptcha(this.props.captcha),this.props.captcha())}componentWillUnmount(){this.cleanupLegacyCaptcha()}attachLegacyCaptcha(t){!t||!t.completed||typeof t.completed.listen!="function"||(this.cleanupLegacyCaptcha(),this.legacyUnsubscribe=t.completed.listen(n=>{this.setState({captcha:n.question}),this.props.onCaptchaChange({key:n.key,question:n.question})}))}cleanupLegacyCaptcha(){this.legacyUnsubscribe&&(this.legacyUnsubscribe(),this.legacyUnsubscribe=null)}prepareFriendlyCaptcha(){const t=this.props.friendlyCaptchaSiteKey||"",n=!!(t&&Ym()),r=!t||!n;this.resetFriendlyCaptchaState(r)}resetFriendlyWidgetInstance(){var t,n,r;(r=(n=(t=this.friendlyComponentRef)==null?void 0:t.current)==null?void 0:n.reset)==null||r.call(n)}resetFriendlyCaptchaState(t){this.setState({friendlyError:t}),this.props.onChange({empty:!0,valid:!1,value:""}),this.props.onCaptchaChange({key:null}),t?this.fieldValidation.setFieldState(!1,null):this.fieldValidation.setFieldState(null,null)}handleFriendlyDone(t){var i,o,s;const n=typeof t=="string"&&t?t:((s=(o=(i=this.friendlyComponentRef)==null?void 0:i.current)==null?void 0:o.getResponse)==null?void 0:s.call(o))||"",r=!!n;this.setState({friendlyError:!1}),this.props.onChange({empty:!r,valid:r,value:n}),this.fieldValidation.setFieldState(r,null)}handleFriendlyError(){this.resetFriendlyCaptchaState(!0)}handleFriendlyReset(){this.resetFriendlyCaptchaState(!1)}renderFriendlyCaptcha(){const{resources:t}=this.props,n=this.props.label||t.getText("Beveiligingsvraag"),r=(document.documentElement.getAttribute("lang")||"en").toLowerCase(),i=this.props.friendlyCaptchaSiteKey||"";return y.jsxs("div",{className:`${this.fieldValidation.validationClasses}
143${this.props.disabled?" rij_disabled":""}`,children:[y.jsx("div",{className:"label",children:y.jsxs("span",{className:"setlabel",children:[n,y.jsxs("span",{className:"verplicht",children:["Â ",t.getText("(verplicht)")]})]})}),y.jsxs("div",{className:"reacties-friendlycaptcha",children:[y.jsx(Jm,{ref:this.friendlyComponentRef,widgetOptions:{sitekey:i,language:r,formFieldName:"captchaAnswer",startMode:"focus"},className:"captcha friendlycaptcha frc-captcha","data-sitekey":i,"data-form-field-name":"captchaAnswer","data-lang":r,"aria-live":"polite","aria-label":n,onComplete:this.handleFriendlyDone,onError:this.handleFriendlyError,onReset:this.handleFriendlyReset}),this.state.friendlyError&&y.jsx("div",{className:this.props.theme.fieldInvalidMessage,role:"alert",children:t.getText("Captcha is ongeldig.")})]})]})}render(){if(this.isFriendly)return this.renderFriendlyCaptcha();const{getText:t,getTextOrNull:n}=this.props.resources,r=n("captcha"),i=n("="),o=this.state.captcha?this.state.captcha.split(" ").map(t).join(" ")+(i?` ${i}`:""):void 0,s=this.state.captcha?r?`${r} ${o}`:o:t("Vraag");return y.jsx(ct,{...this.props,required:!0,label:this.props.label||s,explanation:this.props.explanation||this.props.resources.getHtmlOrNull("Captcha_explanation")})}}Ii.defaultProps={...ct.defaultProps,captchaType:null,friendlyCaptchaSiteKey:null},Ii.propTypes=se.unset({...ct.propTypes,label:A.string,captcha:A.func,onCaptchaChange:A.func.isRequired,captchaType:A.string,friendlyCaptchaSiteKey:A.string},"required");class kc extends tt{constructor(t){super(t),this.state.validation={required:this.validateRequired(this.props.value,this.props)},this.state.checked=t.defaultValue}UNSAFE_componentWillReceiveProps(t){super.UNSAFE_componentWillReceiveProps(t)}handleChange(t){super.handleChange(t);const n=!this.state.checked;this.setState({checked:n}),this.props.onChange({checked:n})}render(){let{type:t,label:n,value:r,required:i,resources:o}=this.props,s=`field_${this.id}`,a=this.state.needsValidation?this.state.validation:{};return y.jsx(et,{theme:this.theme,fieldId:s,type:t,value:r,required:i,valid:this.state.valid,label:n,resources:o,validation:a,children:y.jsx("input",{type:t,id:s,onChange:this.handleChange,onBlur:this.handleBlur,required:i,checked:this.state.checked})})}}kc.defaultProps={...ct.defaultProps,type:"checkbox",defaultValue:!1},kc.propTypes=se.unset({...ct.propTypes,label:A.string});class bc extends tt{constructor(t){super(t),this.state.validation={required:this.validateRequired(this.props.value,this.props)}}UNSAFE_componentWillReceiveProps(t){super.UNSAFE_componentWillReceiveProps(t)}handleChange(t){super.handleChange(t);let n=this.props.trim===!1?t.target.value:t.target.value.trim(),r=this.isEmpty(n),i=n!==this.props.value,o={required:this.validateRequired(n)},s=o.required!==!1;this.setState({empty:r,dirty:i,validation:o,value:n,valid:s}),this.props.onChange({empty:r,valid:s,value:n})}render(){let{type:t,label:n,value:r,required:i,cols:o,rows:s,resources:a,onChange:u}=this.props,l=`field_${this.id}`,c=this.state.needsValidation?this.state.validation:{};return y.jsx(et,{theme:this.theme,fieldId:l,type:t,value:r,required:i,valid:this.state.valid,label:n,resources:a,validation:c,children:y.jsx("textarea",{defaultValue:r,id:l,className:"input norows nocols",cols:o,rows:s,onChange:this.handleChange,onBlur:this.handleBlur,required:i})})}}bc.defaultProps={...et.defaultProps,...tt.defaultProps,value:"",rows:6,cols:40,type:"textarea"},bc.propTypes={...et.propTypes,...tt.propTypes,value:A.string,trim:A.bool,rows:A.number,cols:A.number};class $i extends tt{constructor(t){super(t),this.state.validation={required:this.validateRequired(this.props.value,this.props)},this.state.value=this.props.value}UNSAFE_componentWillReceiveProps(t){super.UNSAFE_componentWillReceiveProps(t)}handleChange(t){super.handleChange(t),this.setValue(t.target.value)}setValue(t){let n=this.isEmpty(t),r=t!==this.props.value,i={required:this.validateRequired(t)},o=i.required!==!1;this.setState({empty:n,dirty:r,validation:i,value:t,valid:o}),this.props.onChange({empty:n,valid:o,value:t})}render(){let{type:t,label:n,value:r,required:i,disabled:o,resources:s,onChange:a}=this.props,u=`field_${this.id}`,l=this.state.needsValidation?this.state.validation:{};return y.jsx(et,{theme:this.theme,fieldId:u,type:t,value:r,required:i,disabled:o,valid:this.state.valid,label:n,resources:s,validation:l,children:y.jsx("select",{id:u,value:this.state.value,className:"input select",onChange:this.handleChange,onBlur:this.handleBlur,required:i,disabled:this.props.disabled===!0,children:this.props.options.map(c=>y.jsx("option",{value:c.id,children:c.label},c.id))})})}}$i.defaultProps={...et.defaultProps,...tt.defaultProps,type:"pulldown",value:"",options:[]}
143,$i.propTypes={...et.propTypes,...tt.propTypes,value:A.string,options:A.array};class Hs extends Bt{constructor(t){super(t),this.theme=this.props.theme,this._bind("handleClick","handleBlur"),this.state={confirmed:!1}}resetButton(){this.setState({confirmed:!1}),typeof this.props.onCancel=="function"&&this.props.onCancel()}buttonText(){return this.state.confirmed?this.props.confirmMessage:this.props.children}render(){return y.jsx("button",{type:"button",className:this.props.className,onBlur:this.handleBlur,onClick:this.handleClick,children:y.jsx("span",{className:this.theme.buttonLabel,children:this.buttonText()})})}handleClick(t){if(this.state.confirmed){this.props.onClick(t),this.setState({confirmed:!1});return}this.setState({confirmed:!0})}handleBlur(t){this.state.confirmed&&this.resetButton()}}Hs.propTypes={theme:A.object.isRequired,onCancel:A.func,onClick:A.func.isRequired,confirmMessage:A.string},Hs.defaultProps={confirmMessage:"Bevestig"};class _c extends tt{constructor(t){super(t)}UNSAFE_componentWillReceiveProps(t){super.UNSAFE_componentWillReceiveProps(t)}handleChange(t){super.handleChange(t),this.setValue(t.target)}setValue(t){let n=t.files,r=n.length===0,i=r?null:n[0],o=i.name,s=!0;const a=!!o;this.setState({friendlyError:!1}),this.props.onChange({empty:r,dirty:s,value:o,valid:a,file:i})}validateRequired(t,n){return null}validatePattern(t){return null}render(){this.setState({friendlyError:!1});let{type:t,label:n,required:r,explanation:i,resources:o,accept:s,imageValid:a}=this.props;const{value:u,valid:l}=this.state;let c=`field_${this.id}`,f={},d={};return a==="invalidType"&&(d={invalidMessage:"Bestandstype afbeelding is ongeldig"},f={invalid:!0}),a==="invalidSize"&&(d={invalidMessage:"Afbeelding is te groot"},f={invalid:!0}),y.jsx(et,{theme:this.theme,fieldId:c,type:t,value:u,valid:l,label:n,explanation:i,resources:o,validation:f,...d,children:y.jsx("input",{type:t,id:c,className:"input",onChange:this.handleChange,accept:s})})}}_c.defaultProps={...ct.defaultProps,type:"file",accept:".jpg,.jpeg,.png,.svg,.gif"},_c.propTypes={...ct.propTypes};const dt=L.ReactieStatus,Fc=L.ReactiesMode,Ks=L.ImageMode,_e=L.SyncStatus,Qs=L.InitStatus;class Dc extends Bt{render(){return this.props.date===void 0?y.jsx("span",{className:"reactie-meta-datum verborgen"}):y.jsx("time",{className:"reactie-meta-datum",dateTime:this.props.date.toISOString(),children:this.props.resources.formatDateTime(this.props.date)})}}Dc.propTypes={date:A.object,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired})};class Zm extends Bt{constructor(t){super(t),this.theme=this.props.theme,this._bind("onChange","onCancel","onSubmit","onModerateAllow","onModerateDisallow","onReadMoreClick","onSenderNotificationChange","onSenderRemove"),this.notificationOptions=this.props.resources.notificationOptions,this.props.level>=this.props.config.maxDepth&&(this.notificationOptions=this.notificationOptions.filter(n=>n.id!=="2")),this.maxLines=this.props.config.maxLines||5,this.state={showFullMessage:!1,reactie:this.props.reactie,focused:!1},this.reactieEvents={},this.props.data.hasAuthorizationModerator===!0&&!this.props.reactie.moderatorSecret&&(this.reactieEvents.onMouseEnter=()=>this.setState({focused:!0}),this.reactieEvents.onMouseLeave=()=>this.setState({focused:!1}),this.reactieEvents.onTouchStart=()=>this.setState({focused:!0}))}UNSAFE_componentWillMount(){this.getText=this.props.resources.getText}componentDidMount(){if(this.props.reactie.syncStatus===_e.Stored){this.jReactieItem=$(`#reactie-${this.props.reactie.id}`),this.jReactieBody=$(`#reactie-${this.props.reactie.id} > .reactie-entry-container > .reactie-entry > .reactie-body`);let[t,n]=[this.jReactieBody.css("height"),this.jReactieBody.css("line-height")].map(o=>parseInt(o,10)),r=Math.floor(t/n),i=n*Math.max(1,this.maxLines-1);r>this.maxLines&&(this.jReactieItem.addClass("reactie-wrapped"),this.jReactieBody.css("max-height",i)),this.props.reactie.linked&&$(`#reactie-${this.props.reactie.id}`).scrollTo()}}linkedText(t){let n=$("<div></div>").text(t).html();return{__html:xS.link(n)}}isInEditMode(){return this.props.data.hasAuthorizationModerator===!0||this.props.reactie.senderSecret||this.props.reactie.moderatorSecret}moderatorButtons(){let t=y.jsx("button",{type:"button",className:we(this.theme.buttonBase,this.theme.moderateAllowButton),onClick:this.onModerateAllow,children:y.jsx("span",{className:this.theme.buttonLabel,children:this.getText("Goedkeuren")})}),n=y.jsx(Hs,{theme:this.theme,className:we(this.theme.buttonBase,this.theme.moderateDisallowButton),onClick:this.onModerateDisallow,confirmMessage:this.getText("Bevestig"),children:this.getText("Verwijderen")});return y.jsxs("div",{className:"reactie-moderate-knoppen knoppen",children:[this.props.reactie.status===dt.WaitingForModerator&&t,n]})}senderMessage(){switch(this.props.reactie.status){case dt.WaitingForModerator:return y.jsx("div",{className:"reactie-mode-preview",children:this.getText("Deze reactie is niet zic
143htbaar op de website. Dit is een preview.")},"previewMessage");case dt.HiddenByUser:return y.jsx("div",{className:"reactie-mode-preview",children:this.getText("Deze bijdrage is door de reageerder verwijderd.")},"previewMessage");case dt.HiddenByModerator:return y.jsx("div",{className:"reactie-mode-preview",children:this.getText("Deze bijdrage voldoet niet aan de spelregels en is daarom verwijderd.")},"previewMessage");default:return null}}senderNotification(){let t=this.state.reactie.notification?this.state.reactie.notification.toString():"0";return y.jsx("form",{className:"reactie-sender-formulier formulier",noValidate:!0,children:y.jsx("fieldset",{className:"reacties-formulier-sender",children:y.jsx($i,{...this.props,value:t,options:this.notificationOptions,onChange:this.onSenderNotificationChange,label:this.getText("Notificatie")})})},"f")}senderButtons(){return y.jsx("div",{className:"reactie-sender-knoppen knoppen",children:y.jsx(Hs,{theme:this.theme,className:we(this.theme.buttonBase,this.theme.senderDisallowButton),onClick:this.onSenderRemove,confirmMessage:this.getText("Bevestig"),children:this.getText("Verwijderen")})},"k")}reactiesList(){return y.jsx("div",{className:"reactie-thread","data-level":this.props.reactie.ancestors.length+1,children:y.jsx(Tc,{...this.props,level:this.props.reactie.ancestors.length+1,data:this.props.reactie.reactiesList})})}renderLocal(){if(this.props.reactie.bodyText===""&&this.props.reactie.name==="")return null;const t=_e.labels[this.props.reactie.syncStatus].toLowerCase(),n=this.props.reactie.submittedDateTime||new Date;return y.jsx("div",{className:"reactie reactie-local reactie-syncstatus-"+t,children:y.jsxs("div",{className:"reactie-entry-container",children:[y.jsxs("div",{className:"reactie-entry",children:[y.jsxs("div",{className:"reactie-meta",children:[y.jsx("span",{className:`reactie-meta-name${this.props.reactie.verifiedUser?" official-account":""}`,children:this.props.reactie.name&&(this.props.config.showEmail&&this.props.reactie.email?y.jsx("a",{className:"externLink mailto",href:"mailto:"+this.props.reactie.email,children:this.props.reactie.name}):this.props.reactie.name)}),y.jsx("span",{className:"reactie-meta-sep",children:" - "}),y.jsx(Dc,{date:n,resources:this.props.resources}),this.props.reactie.verifiedUser&&y.jsx("span",{className:"reactie-meta-verified",children:this.getText("Geverifieerd account")}
143)]}),y.jsx("div",{className:"reactie-body",dangerouslySetInnerHTML:this.linkedText(this.props.reactie.bodyText)}),this.props.reactie.imageFileName&&this.props.config.imageMode===Ks.All&&this.props.reactie.id&&this.props.reactie.status===dt.Visible&&y.jsx("div",{className:"reactie-image",children:y.jsx("img",{alt:"",src:`/publish/reacties/${this.props.reactie.id}/${this.props.reactie.imageFileName}`})})]}),this.props.reactie.syncStatus===_e.Error&&[y.jsx("div",{className:this.theme.errorSummary,children:y.jsx("p",{role:"alert",children:this.getText("Opslaan is mislukt.")},"p")},"message"),y.jsxs("div",{className:"reactie-retry-knoppen knoppen",children:[y.jsx("button",{type:"button",className:we(this.theme.buttonBase,this.theme.syncErrorIgnoreButton),onClick:this.onCancel,children:y.jsx("span",{className:this.theme.buttonLabel,children:this.getText("Laat maar")})},"a"),y.jsx("button",{type:"button",className:we(this.theme.buttonBase,this.theme.syncErrorRetryButton),onClick:this.onSubmit,children:y.jsx("span",{className:this.theme.buttonLabel,children:this.getText("Probeer nogmaals")})},"b")]},"retry-buttons")],this.props.reactie.syncStatus===_e.CaptchaInvalid&&[y.jsx("div",{className:this.theme.errorSummary,children:y.jsx("p",{role:"alert",children:this.getText("captcha is not valid.")},"p")}),W.createElement(e0,{...this.props,onChange:this.onChange,onSubmit:this.onSubmit,key:"p1"})]]})})}renderVisible(){let t=["reactie","reactie-zichtbaar"];const n=_e.labels[this.props.reactie.syncStatus].toLowerCase();t.push("reactie-syncstatus-"+n);const r=this.props.reactie.senderSecret,i=this.props.reactie.senderSecret;this.props.reactie.linked&&t.push("reactie-linked");const o=this.props.reactie.submittedDateTime||new Date,s=this.props.data.hasAuthorizationModerator&&(this.props.reactie.status===dt.WaitingForModerator||this.state.focused)||this.props.reactie.moderatorSecret;return y.jsxs("div",{id:`reactie-${this.props.reactie.id}`,className:we(t),children:[y.jsx("div",{className:"reactie-entry-container",...this.reactieEvents,children:y.jsxs("div",{className:"reactie-entry",children:[r&&this.senderMessage(),y.jsxs("div",{className:"reactie-meta",children:[y.jsx("span",{className:`reactie-meta-name${this.props.reactie.verifiedUser?" official-account":""}`,children:this.props.reactie.name&&(this.props.config.showEmail&&this.props.reactie.email?y.jsx("a",{className:"externLink mailto",href:"mailto:"+this.props.reactie.email,children:this.props.reactie.name}):this.props.reactie.name)}),y.jsx("span",{className:"reactie-meta-sep",children:" - "}),y.jsx(Dc,{date:o,resources:this.props.resources}),this.props.reactie.verifiedUser&&y.jsx("span",{className:"reactie-meta-verified",children:this.getText("Geverifieerd account")}
143),s&&!i&&this.moderatorButtons()]},"meta"),y.jsx("div",{className:"reactie-body",dangerouslySetInnerHTML:this.linkedText(this.props.reactie.bodyText),onClick:this.onReadMoreClick},"body"),this.props.reactie.imageFileName&&this.props.config.imageMode===Ks.All&&this.props.reactie.id&&this.props.reactie.status===dt.Visible&&y.jsx("div",{className:"reactie-image",children:y.jsx("img",{alt:"",src:`/publish/reacties/${this.props.reactie.id}/${this.props.reactie.imageFileName}`})}),y.jsx("div",{className:"reactie-toon-meer-link","aria-hidden":"true",children:y.jsxs("button",{type:"button",className:we(this.theme.buttonBase,this.theme.showMoreLink),onClick:this.onReadMoreClick,children:[this.getText("Toon hele bericht"),y.jsxs("span",{className:"reactie-links-context-details",children:[" ",this.getText("Toon volledige reactie details",this.props.reactie.name,this.props.resources.formatDateTime(o,{showOnlyDate:!0}),this.props.resources.formatDateTime(o,{showOnlyTime:!0}))]})]})},"more-link"),y.jsxs("div",{className:"reactie-actions",children:[i&&this.senderNotification(),i&&this.senderButtons()]},"actions")]})}),this.reactiesList()]})}renderWaitingForModerator(){return this.isInEditMode()?this.renderVisible():this.basicReactieWrapper("reactie-wacht-op-moderator","Deze bijdrage wacht op goedkeuring.")}renderHiddenByUser(){let t=this.props.reactie.senderSecret?this.senderNotification:null;return this.basicReactieWrapper("reactie-verborgen-door-gebruiker","Deze bijdrage is door de reageerder verwijderd.",t,!0)}renderHiddenByModerator(){let t=this.props.reactie.senderSecret?this.senderNotification:null;return this.basicReactieWrapper("reactie-verborgen-door-moderator","Deze bijdrage voldoet niet aan de spelregels en is daarom verwijderd.",t,!0)}basicReactieWrapper(t,n,r,i){let o=r?y.jsx("div",{className:"reactie-actions",children:r.call(this)},"actions"):null;return y.jsxs("div",{id:`reactie-${this.props.reactie.id}`,className:"reactie "+t,children:[y.jsxs("div",{className:"reactie-entry-container",children:[y.jsxs("div",{className:"reactie-entry",children:[y.jsx("div",{className:"reactie-body",children:this.getText(n)}),o]}),this.props.reactie.imageFileName&&this.props.config.imageMode===Ks.All&&this.props.reactie.id&&this.props.reactie.status===dt.Visible&&y.jsx("div",{className:"reactie-image",children:y.jsx("img",{alt:"",src:`/publish/reacties/${this.props.reactie.id}/${this.props.reactie.imageFileName}`})})]}),i&&this.reactiesList()]})}render(){if(this.props.reactie.syncStatus!==_e.Stored)return this.renderLocal();switch(this.props.reactie.status){case dt.Visible:return this.renderVisible();case dt.WaitingForModerator:return this.renderWaitingForModerator();case dt.HiddenByUser:return this.renderHiddenByUser();case dt.HiddenByModerator:return this.renderHiddenByModerator();default:return null}}onReadMoreClick(t){this.state.showFullMessage||(t.preventDefault(),this.jReactieItem.removeClass("reactie-wrapped"),this.jReactieBody.css("max-height","none"),this.setState({showFullMessage:!0}))}onCancel(){this.props.onCancel(se.set(this.state.reactie,{ancestors:this.props.data.ancestors}))}onChange(t){this.state.reactie=t}onSubmit(){this.props.onSubmit(this.state.reactie)}onSenderNotificationChange(t){const{value:n}=t;let r=_.find(this.notificationOptions,o=>o.id===n);const i=se.set(this.state.reactie,{notification:r.id});this.setState({reactie:i}),this.props.onSubscribe(i)}onSenderRemove(){this.props.onDisallow(this.props.reactie)}onModerateAllow(){this.props.onAllow(this.props.reactie)}onModerateDisallow(){this.props.onDisallow(this.props.reactie)}}Zm.propTypes={theme:A.object.isRequired,config:A.object.isRequired,level:A.number.isRequired,reactie:A.object.isRequired,onCancel:A.func.isRequired,onSubmit:A.func.isRequired,onAllow:A.func.isRequired,onDisallow:A.func.isRequired,onSubscribe:A.func.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired})};class zi extends Bt{constructor(t){super(t),this._bind("onCaptchaChange","onCaptchaAnswerChange","onCancel","onSubmit"),this.state={captchaAnswerValid:!1,reactie:{itmIdt:this.props.config.itmIdt}}}onCaptchaChange(t){const{key:n,question:r}=t,i=se.set(this.state.reactie,{captchaKey:n,captchaQuestion:r});this.setState({reactie:i}),this.props.onChange(i)}onCaptchaAnswerChange(t){const{valid:n,value:r}=t,i=se.set(this.state.reactie,{captchaAnswer:r});this.setState({reactie:i,captchaAnswerValid:n}),this.props.onChange(i)}onCancel(){this.props.onCancel(se.set(this.state.reactie,{ancestors:this.props.data.ancestors}))}onSubmit(t,n=!0){t.preventDefault(),this.setState({submitted:!0}),n&&this.props.onSubmit(this.state.reactie)}}zi.propTypes={theme:A.object.isRequired,config:A.object.isRequired,onCancel:A.func.isRequired,onChange:A.func.isRequired,onSubmit:A.func.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired}),autoComplete:A.string,autoFocus:A.bool};class e0 extends zi{constructor(t){super(t),this.theme=this.props.theme,this.props.reactie&&(this.state.reactie=this.props.reactie)}render(){const t=this.props.resources.getText,n=this.state.captchaAnswerValid;return y.jsxs("form",{className:"reactie-captcha-formulier formulier",noValidate:!0,children:[y.jsxs("fieldset",{className:"reacties-formulier-captcha",children:[y.jsx("legend",{children:t("Captcha")}),y.jsx(Ii,{...this.props,onChange:this.onCaptchaAnswerChange,onCaptchaChange:this.onCaptchaChange,captchaType:this.props.config.captchaType,friendlyCaptchaSiteKey:this.props.config.friendlyCaptchaSiteKey,captcha:this.props.config.captchaType==="friendlycaptcha"?void 0:Gl.actions.get})]}),y.jsx("div",{className:"knoppen reactie-captcha-knoppen",children:y.jsx("button",{type:"button",onClick:this.onSubmit,disabled:!n,className:we(this.theme.buttonBase,this.theme.sendCommentButton,{disabled:!n}),children:y.jsx("span",{className:this.theme.buttonLabel,children:t("Verzenden")})})})]})}}e0.propTypes={...zi.propTypes,reactie:A.object.isRequired};class t0 extends zi{constructor(n){super(n);a0(this,"onPlaceAsVerifiedUserChange",n=>{this.resetSubmitted();const r=se.set(this.state.reactie,{verifiedUser:n.checked});this.setState({reactie:r}),this.props.onChange(r)});this.theme=this.props.theme,this._bind("onNaamChange","onEmailChange","onImageChange","onBerichtChange","onNotificationChange"),this.notificationOptions=this.props.resources.notificationOptions,this.props.level>=this.props.config.maxDepth&&(this.notificationOptions=this.notificationOptions.filter(i=>i.id!=="2"));let r=this.notificationOptions[0];this.state={naamValid:!1,emailValid:!r.emailRequired,berichtValid:!1,captchaAnswerValid:!this.props.config.captcha,imageValid:!0,reactie:{itmIdt:this.props.config.itmIdt,notification:r.id,emailRequired:r.emailRequired},submitted:!1}}componentDidMount(){this.props.config&&this.props.config.prefillUserFields&&fetch("/appidt/usersession").then(async n=>{const r=await n.json();this.setState({name:r.displayName,email:r.emailAddress})})}render(){const n=this.props.resources.getText,r=this.props.resources.getHtmlOrNull,i=this.state.naamValid&&this.state.emailValid&&this.state.imageValid!=="invalidSize"&&this.state.imageValid!=="invalidType"&&this.state.captchaAnswerValid&&this.state.berichtValid,o=r("Reactie_intro");return y.jsx("div",{className:"reacties-formulier-container",children:y.jsxs("form",{className:"reacties-formulier formulier",noValidate:!0,onSubmit:s=>this.onSubmit(s,i),children:[y.jsxs("fieldset",{className:"reacties-formulier-velden",children:[y.jsx("legend",{children:n("Reactie")}),o&&y.jsx("div",{className:"reacties-formulier-intro iprox-content iprox-rich-content",dangerouslySetInnerHTML:o}),y.jsx("div",{className:"reacties-formulier-knoppen knoppen reacties-cancel",children:y.jsx("button",{type:"button",className:we(this.theme.buttonBase,this.theme.cancelCommentButton),onClick:this.onCancel,"aria-expanded":"true",children:y.jsx("span",{className:this.theme.buttonLabel,children:n("Annuleren")})})}),y.jsx(ct,{...this.props,label:n("Naam"),onChange:this.onNaamChange,value:this.state.name,submitted:this.state.submitted,required:!0,autoComplete:"name",autoFocus:this.props.config.initiallyFormHidden||this.props.level>0}),this.props.data.hasAuthorizationModerator&&y.jsx(kc,{...this.props,label:n("Plaatsen als geverifieerd account"),onChange:this.onPlaceAsVerifiedUserChange}),y.jsx(ct,{...this.props,label:n("E-mail"),type:"email",onChange:this.onEmailChange,submitted:this.state.submitted,value:this.state.email,required:this.state.reactie.emailRequired,pattern:this.props.config.emailRegex,autoComplete:"email"}),y.jsx(bc,{...this.props,onChange:this.onBerichtChange,submitted:this.state.submitted,label:n("Uw reactie"),required:!0}),y.jsx($i,{...this.props,value:this.state.reactie.notification,options:this.notificationOptions,onChange:this.onNotificationChange,submitted:this.state.submitted,label:n("Notificatie")}),this.props.config.imageMode===Ks.All&&y.jsx(_c,{...this.props,label:n("Image"),onChange:this.onImageChange,submitted:this.state.submitted,imageValid:this.state.imageValid}),this.props.config.captcha&&y.jsx(Ii,{...this.props,onChange:this.onCaptchaAnswerChange,submitted:this.state.submitted,onCaptchaChange:this.onCaptchaChange,captchaType:this.props.config.captchaType,friendlyCaptchaSiteKey:this.props.config.friendlyCaptchaSiteKey,captcha:this.props.config.captchaType==="friendlycaptcha"?void 0:Gl.actions.get})]}),y.jsx("div",{className:"reacties-formulier-knoppen knoppen",children:y.jsx("button",{type:"submit",className:we(this.theme.buttonBase,this.theme.sendCommentButton,{disabled:!i}),"aria-disabled":!i,children:y.jsx("span",{className:this.theme.buttonLabel,children:n("Verzenden")})})})]})})}resetSubmitted(){this.setState({submitted:!1})}onNaamChange(n){this.resetSubmitted();const{valid:r,value:i}=n,o=se.set(this.state.reactie,{name:i});
143this.setState({reactie:o,naamValid:r}),this.props.onChange(o)}onEmailChange(n){this.resetSubmitted();const{valid:r,value:i}=n,o=se.set(this.state.reactie,{email:i});this.setState({reactie:o,emailValid:r}),this.props.onChange(o)}onImageChange(n){this.resetSubmitted();const r=this.state;if(n.file&&n.file.size){const i=n.value,o=this,s=".jpg,.jpeg,.png,.svg,.gif".split(",");let a=!1;if(_.each(s,function(l){i.toLowerCase().indexOf(l,i.length-l.length)!==-1&&(a=!0)}),!a){const l=se.set(r.reactie,{image:"",imageFileName:""});o.setState({reactie:l,imageValid:"invalidType"});return}if(this.props.config.maxFileSize>0&&n.file.size>this.props.config.maxFileSize){const l=se.set(r.reactie,{image:"",imageFileName:""});o.setState({reactie:l,imageValid:"invalidSize"});return}const u=new FileReader;u.onload=function(){const l=this.result,c=new Uint8Array(l),f=c.byteLength;let d="";for(var p=0;p<f;p++)d+=String.fromCharCode(c[p]);const m=btoa(d),w=se.set(r.reactie,{image:m,imageFileName:i});o.setState({reactie:w,imageValid:!0})},u.readAsArrayBuffer(n.file)}else{const i=se.set(r.reactie,{image:"",imageFileName:""});this.setState({reactie:i,imageValid:!0})}}onNotificationChange(n){this.resetSubmitted();const{value:r}=n;let i=_.find(this.notificationOptions,s=>s.id===r);const o=se.set(this.state.reactie,{notification:i.id,emailRequired:i.emailRequired});this.setState({reactie:o}),this.props.onChange(o)}onBerichtChange(n){this.resetSubmitted();const{valid:r,value:i}=n,o=se.set(this.state.reactie,{bodyText:i});this.setState({reactie:o,berichtValid:r}),this.props.onChange(o)}}t0.propTypes={...zi.propTypes};class Tc extends Bt{constructor(t){super(t),this.theme=this.props.theme,this._bind("onAdd","onCancel","onSubmit","onUpdate","onExpandAllClick","onMoreClick"),this.state={adding:!1,formOpen:this.props.config.reactiesMode===Fc.Open&&!this.props.config.initiallyFormHidden&&(t.data.ancestors||[]).length===0},this.config=this.props.config,this.getText=this.props.resources.getText}renderExpandAll(){if(!this.props.config.enableExpandAll||this.props.data.parentId||this.props.data.initStatus!==Qs.Ready)return null;function t(n){return n&&(n.more||_.some(n.reacties,r=>t(r.reactiesList)))}return t(this.props.data)?y.jsx("div",{className:"reacties-expandall",children:y.jsx("div",{className:"reacties-expandall-inner",children:y.jsx("button",{type:"button","aria-expanded":"false",onClick:this.onExpandAllClick,children:this.getText("Alles uitklappen")})})}):null}renderMoreAction(){return y.jsx("div",{className:"reacties-more",children:y.jsx("div",{className:"reacties-more-inner",children:y.jsx("button",{type:"button",className:we(this.theme.buttonBase,this.theme.showMoreLink),"aria-expanded":"false",onClick:this.onMoreClick,children:this.getText("Oudere reacties weergeven")})})})}renderNoReacties(){return y.jsx("div",{className:"reacties-noreacties",children:y.jsx("div",{className:"reacties-noreacties-inner",dangerouslySetInnerHTML:this.props.resources.getHtml("geen reacties")})})}renderReactieActions(){const t=this.props.config.reactiesMode===Fc.Open&&this.props.level<=this.props.config.maxDepth&&!this.state.formOpen,n=this.props.data.more&&this.props.data.reacties.length===0,{level:r,reactie:i,resources:o}=this.props;return!t&&!n?null:y.jsxs("div",{className:"reactie-actions-knoppen knoppen",children:[t&&y.jsxs("button",{type:"button",className:we(this.theme.buttonBase,this.theme.replyButton),"aria-expanded":this.state.adding,onClick:this.onAdd,children:[o.getTextOrNull(`Reageren-${r}`)||this.getText("Reageren"),i&&y.jsxs("span",{className:"reactie-links-context-details",children:[" ",this.getText("op deze reactie",i.name,o.formatDateTime(i.submittedDateTime,{showOnlyDate:!0}),o.formatDateTime(i.submittedDateTime,{showOnlyTime:!0}))]})]}),t&&n&&y.jsx("span",{children:" of "}),n&&y.jsxs("button",{type:"button",className:we(this.theme.buttonBase,this.theme.showRepliesLink),"aria-expanded":"false",onClick:this.onMoreClick,children:[this.getText("Toon reacties"),y.jsxs("span",{className:"reactie-links-context-details",children:[" ",this.getText("op deze reactie",i.name,o.formatDateTime(i.submittedDateTime,{showOnlyDate:!0}),o.formatDateTime(i.submittedDateTime,{showOnlyTime:!0}))]})]})]})}render(){const t=this.props.data.more&&this.props.data.reacties.length>0,n=!this.props.data.more&&this.props.level===0&&!_.some(this.props.data.reacties,r=>r.syncStatus===_e.Stored||r.bodyText!==""||r.name!=="")&&this.props.resources.getHtmlOrNull("geen reacties");return y.jsxs("div",{className:"reacties-set",children:[this.renderExpandAll(
143),this.state.formOpen&&W.createElement(t0,{...this.props,onChange:this.onUpdate,onSubmit:this.onSubmit,onCancel:this.onCancel,key:"p1"}),this.renderReactieActions(),y.jsx("div",{className:"reacties-lijst",children:this.props.data.reacties.map(r=>W.createElement(Zm,{...this.props,reactie:r,onCancel:this.props.actions.cancel,onSubmit:this.props.actions.submit,onAllow:this.props.actions.allow,onDisallow:this.props.actions.disallow,onSubscribe:this.props.actions.subscribe,key:typeof r.id=="number"?r.id:0}))}),t&&this.renderMoreAction(),n&&this.renderNoReacties()]})}onExpandAllClick(t){t.preventDefault(),this.props.actions.all()}onMoreClick(t){t.preventDefault(),this.props.actions.more(this.props.data.ancestors)}onAdd(t){t&&t.preventDefault(),this.setState({adding:!0,formOpen:!0}),this.props.actions.add({itmIdt:this.props.config.itmIdt},this.props.data.ancestors)}onCancel(t){this.setState({adding:!1,formOpen:!1}),this.props.actions.cancel(t)}onSubmit(t){this.setState({adding:!1,formOpen:!1}),this.props.actions.submit(t,this.props.data.ancestors)}onUpdate(t){this.state.adding||this.onAdd(),this.props.actions.update(t,this.props.data.ancestors)}}Tc.propTypes={theme:A.object.isRequired,config:A.object.isRequired,level:A.number.isRequired,data:A.object.isRequired,actions:A.object.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired})};class n0 extends Bt{constructor(t){super(t),this.theme=Object.assign({},P1,this.props.theme),this.state={data:{}},this._bind("setData");for(const n in pe.ListenerMethods)this[n]=pe.ListenerMethods[n]}componentDidMount(){const t=this.flux;typeof t<"u"&&(this.setState({actions:t.actions}),"store"in t&&this.listenTo(t.store,this.setData,this.setData))}componentWillUnmount(){this.setState({actions:void 0}),this.stopListeningToAll()}setData(t){this.setState({data:t})}}class r0 extends n0{constructor(t){super(t),this.getText=this.props.resources.getText}get flux(){return L.get(this.props.config)}render(){return[Qs.Ready,Qs.Expanding].indexOf(this.state.data.initStatus)!==-1?y.jsxs("div",{className:"reacties-inner",children:[y.jsx("h3",{children:this.getText("Reacties")}),y.jsx(Tc,{...this.props,theme:this.theme,level:0,...this.state})]}):this.state.data.initStatus===Qs.Error?y.jsx("div",{className:"reacties reacties-error",children:this.getText("Fout bij laden reacties.")}):y.jsx("div",{className:we("reacties",this.theme.commentsModuleInitializing)})}}r0.propTypes={theme:A.object,config:A.object.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired})};const i0=({captcha:e,captchaGet:t,captchaType:n,friendlyCaptchaSiteKey:r,emailRegex:i,emailValue:o,notificationOption:s,notificationOptions:a,onCancel:u,onCaptchaAnswerChange:l,onCaptchaChange:c,onEmailChange:f,onNotificationChange:d,onSubmit:p,resources:m,valid:w,theme:x})=>y.jsx("div",{className:"reacties-formulier-container",children:y.jsxs("form",{className:"reacties-formulier formulier",noValidate:!0,onSubmit:g=>{p(),g.preventDefault()},children:[y.jsxs("fieldset",{className:"reacties-formulier-velden",children:[y.jsx("legend",{children:m.getText("Reactie")}),y.jsx("div",{className:"reacties-formulier-knoppen knoppen reacties-cancel",children:y.jsx("button",{type:"button",className:we(x.buttonBase,x.cancelFollowButton),"aria-expanded":"true",onClick:u,children:y.jsx("span",{className:x.buttonLabel,children:m.getText("Annuleren")})})}),y.jsx(ct,{autoComplete:"email",theme:x,resources:m,onChange:f,label:m.getText("E-mail"),type:"email",required:!0,pattern:i,defaultValue:o,autoFocus:!0}),e&&y.jsx(Ii,{theme:x,resources:m,captchaType:n,friendlyCaptchaSiteKey:r,captcha:n==="friendlycaptcha"?void 0:t,onChange:l,onCaptchaChange:c}),y.jsx($i,{theme:x,resources:m,value:s||a[0].id,options:a,onChange:d,label:m.getText("Notificatie"),required:!0,disabled:a.length===1})]}),y.jsx("div",{className:"reacties-formulier-knoppen knoppen",children:y.jsx("button",{type:"submit",className:we(x.buttonBase,x.sendFollowButton,{disabled:!w}),disabled:!w,children:y.jsx("span",{className:x.buttonLabel,children:m.getText("Verzenden")})})})]})});i0.propTypes={theme:A.object.isRequired,captcha:A.bool,captchaGet:A.func,captchaType:A.string,friendlyCaptchaSiteKey:A.string,emailRegex:A.string.isRequired,emailValue:A.string,notificationOption:A.string,notificationOptions:A.array.isRequired,onCancel:A.func.isRequired,onCaptchaChange:A.func.isRequired,onCaptchaAnswerChange:A.func.isRequired,onEmailChange:A.func.isRequired,onNotificationChange:A.func.isRequired,onSubmit:A.func.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired}),valid:A.bool.isRequired,autoComplete:A.string,autoFocus:A.bool};
143const yx={CaptchaInvalid:"captcha is not valid.",Deleted:"Uw abonnement is verwijderd.",Duplicate:"Dit e-mailadres is al ingeschreven.",NotFound:"Geen abonnement gevonden.",Error:"Opslaan is mislukt.",Stored:"Uw abonnement is opgeslagen."};class o0 extends Bt{constructor(t){super(t),this.theme=this.props.theme,this.state={email:{valid:!!t.data.email,empty:!t.data.email,value:t.data.email},notification:{valid:!0,empty:!("notification"in this.props.data),value:("notification"in this.props.data?this.props.data.notification:4).toString()},captcha:{valid:!1},dirty:!1},this._bind("onEmailChange","onCaptchaChange","onCaptchaAnswerChange","onNotificationChange","submit")}UNSAFE_componentWillReceiveProps(t){t.data.syncStatus!==this.props.data.syncStatus&&t.data.syncStatus===_e.Stored&&this.setState({dirty:!1})}get captcha(){return this.props.config.captcha&&!this.props.data.followerSecret}get valid(){return this.props.data.syncStatus!==_e.Sent&&this.props.data.syncStatus!==_e.Remote&&this.state.email.valid&&(!this.captcha||this.state.captcha.valid)&&this.state.notification.valid&&this.state.dirty}render(){const t=this.props.data.followerSecret?r=>r.id!=="2":r=>r.id==="4",n=this.props.resources.getText(yx[this.props.data.syncStatus===_e.Stored&&this.state.dirty?"Local":this.props.data.syncStatus===_e.Stored&&this.state.notification.value==="0"?"Deleted":_e.labels[this.props.data.syncStatus]]);return y.jsxs("div",{children:[y.jsx(i0,{...this.props,captcha:this.captcha,captchaGet:this.props.config.captchaType==="friendlycaptcha"?void 0:Gl.actions.get,captchaType:this.props.config.captchaType,friendlyCaptchaSiteKey:this.props.config.friendlyCaptchaSiteKey,emailRegex:this.props.config.emailRegex,emailValue:this.state.email.value,valid:this.valid,onEmailChange:this.onEmailChange,onNotificationChange:this.onNotificationChange,onCaptchaAnswerChange:this.onCaptchaAnswerChange,onCaptchaChange:this.onCaptchaChange,onSubmit:this.submit,notificationOption:this.state.notification.value,notificationOptions:this.props.resources.notificationOptions.filter(t)}),n&&y.jsx("div",{className:this.theme.errorSummary,children:y.jsx("p",{role:"alert",children:n})})]})}onEmailChange(t){this.setState({email:t,dirty:!0})}onNotificationChange(t){this.setState({notification:t,dirty:!0})}onCaptchaAnswerChange(t){this.setState({captcha:t,dirty:!0})}onCaptchaChange(t){this.setState({captchaKey:t.key})}submit(){this.valid&&this.props.onSubmit({email:this.state.email.value,notification:this.state.notification.value,captchaAnswer:this.state.captcha.value,captchaKey:this.state.captchaKey})}}o0.propTypes={theme:A.object.isRequired,config:A.object.isRequired,data:A.object.isRequired,onCancel:A.func.isRequired,onSubmit:A.func.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired,notificationOptions:A.array.isRequired})};class s0 extends n0{constructor(t){super(t),this.state=se.set(this.state,{formOpen:!1}),this._bind("toggleFormOpen","cancel","submit"),this.props.config.followerSecret&&this.flux.actions.get(this.props.config)}get flux(){return tm.get(this.props.config)}render(){return this.props.config.reactiesMode!==Fc.Open?null:y.jsxs("div",{className:`reacties-follow reacties-follow-${this.state.formOpen?"open":"closed"} reacties-follow-${_e.labels[this.state.data.syncStatus]}`,children:[y.jsx("h3",{children:y.jsx("a",{href:"#","aria-expanded":this.state.formOpen,onClick:this.toggleFormOpen,children:this.props.resources.getText("Abonneren")})}),this.state.formOpen&&y.jsx(o0,{...this.props,theme:this.theme,data:this.state.data,onCancel:this.cancel,onSubmit:this.submit})]})}setData(t){this.state.data.syncStatus===_e.Remote&&t.syncState!==_e.Remote?this.setState({formOpen:!0,data:t}):super.setData(t)}toggleFormOpen(t){t.preventDefault(),this.state.data.syncStatus!==_e.Remote&&(this.state.formOpen?this.cancel():this.setState({formOpen:!0}))}cancel(){this.state.actions.clear(),this.setState({formOpen:!1})}submit(t){this.state.actions.follow(t)}}s0.propTypes={theme:A.object,config:A.object.isRequired,resources:A.shape({formatDateTime:A.func.isRequired,getText:A.func.isRequired})};class wx{static init(){lw();try{$("div.reacties.reacties-initial[data-reacties]").each(function(){const t=$(this).data("reacties"),n=$(this).data("reacties-theme");t&&($(this).removeClass().addClass("reacties"),Xn.createRoot(this).render(Zt.createElement(r0,{config:t,theme:n,resources:new Ni({lang:$("html").attr("lang")})})))}),$("div.reacties-follow-wrapper.reacties-follow-initial[data-reacties]").each(function(){const t=$(this).data("reacties"),n=$(this).data("reacties-theme");t&&t.reactiesMode===L.ReactiesMode.Open?Xn.createRoot(this).render(Zt.createElement(s0,{config:t,theme:n,resources:new Ni({lang:$("html").attr("lang")})})):$(this).remove()})}catch(t){typeof console=="object"&&typeof console.warn=="function"&&console.warn(t)}}}(()=>wx.init())(),S1(),j1()})(); 144 145/* end of /views/baseline/js/libs/kennisbank.min.js */ 146/* start of /views/pagetypes/formulier/js/formulier-referrer.js (as is) */ 147!function(r){"use strict";r((function(){var e=r("form"),t=function(r){return 1!=r.has(".form-summary").length>0}(e),n=function(r){if(!r)return sessionStorage.getItem("formreferrer");var e=document.referrer||"Externe website";return sessionStorage.setItem("formreferrer",e),e}(t);e.has("input[data-formulier-referrer]")&&r("input[data-formulier-referrer]").val(n)}))}(jQuery); 148/* end of /views/pagetypes/formulier/js/formulier-referrer.js */ 149/* start of /views/pagetypes/formulier/js/formulier-stars.js (as is) */ 150!function(e){"use strict";e(".feedback-stars").children().each((function(a,t){e(t).find('input[type="radio"]').on("change",(function(a){var t=e(a.currentTarget);if(t.prop("checked")){var c=t.closest(".antwoord");c.addClass("active"),c.prevAll().addClass("active"),c.nextAll().removeClass("active")}}))}))}(jQuery); 151/* end of /views/pagetypes/formulier/js/formulier-stars.js */
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.