Files
4.0/dist/electron/renderer.js

51 lines
3.2 MiB
JavaScript
Raw Normal View History

2025-07-31 09:31:31 +08:00
module.exports=function(e){function t(e){delete A[e]}function a(e){var t=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.src=u.p+""+e+"."+g+".hot-update.js",t.appendChild(a)}function n(e){return e=e||1e4,new Promise(function(t,a){if("undefined"==typeof XMLHttpRequest)return a(new Error("No browser support"));try{var n=new XMLHttpRequest,l=u.p+""+g+".hot-update.json";n.open("GET",l,!0),n.timeout=e,n.send(null)}catch(e){return a(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)a(new Error("Manifest request to "+l+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)a(new Error("Manifest request to "+l+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(t){return void a(t)}t(e)}}})}function l(e){var t=S[e];if(!t)return u;var a=function(a){return t.hot.active?(S[a]?0>S[a].parents.indexOf(e)&&S[a].parents.push(e):(L=[e],H=a),0>t.children.indexOf(a)&&t.children.push(a)):(console.warn("[HMR] unexpected require("+a+") from disposed module "+e),L=[]),u(a)},n=function(e){return{configurable:!0,enumerable:!0,get:function(){return u[e]},set:function(t){u[e]=t}}};for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&"e"!=l&&Object.defineProperty(a,l,n(l));return a.e=function(e){function t(){_--,"prepare"===M&&(!k[e]&&C(e),0===_&&0===w&&c())}return"ready"===M&&s("prepare"),_++,u.e(e).then(t,function(e){throw t(),e})},a}function o(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:H!==e,active:!0,accept:function(e,a){if("undefined"==typeof e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._acceptedDependencies[e[n]]=a||function(){};else t._acceptedDependencies[e]=a||function(){}},decline:function(e){if("undefined"==typeof e)t._selfDeclined=!0;else if("object"==typeof e)for(var a=0;a<e.length;a++)t._declinedDependencies[e[a]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var a=t._disposeHandlers.indexOf(e);0<=a&&t._disposeHandlers.splice(a,1)},check:r,apply:p,status:function(e){return e?void x.push(e):M},addStatusHandler:function(e){x.push(e)},removeStatusHandler:function(e){var t=x.indexOf(e);0<=t&&x.splice(t,1)},data:y[e]};return H=void 0,t}function s(e){M=e;for(var t=0;t<x.length;t++)x[t].call(null,e)}function i(e){return+e+""===e?+e:e}function r(e){if("idle"!==M)throw new Error("check() is only allowed in idle status");return f=e,s("check"),n(v).then(function(e){if(!e)return s("idle"),null;Z={},k={},V=e.c,I=e.h,s("prepare");var t=new Promise(function(e,t){T={resolve:e,reject:t}});for(var a in E={},A)C(a);return"prepare"===M&&0===_&&0==w&&c(),t})}function d(e,t){if(V[e]&&Z[e]){for(var a in Z[e]=!1,t)Object.prototype.hasOwnProperty.call(t,a)&&(E[a]=t[a]);0==--w&&0===_&&c()}}function C(e){V[e]?(Z[e]=!0,w++,a(e)):k[e]=!0}function c(){s("ready");var e=T;if(T=null,!!e)if(f)Promise.resolve().then(function(){return p(f)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var a in E)Object.prototype.hasOwnProperty.call(E,a)&&t.push(i(a));e.resolve(t)}}function p(a){function n(e){for(var t=[e],a={},n=t.slice().map(function(e){return{chain:[e],id:e}});0<n.length;){var o=n.pop(),s=o.id,r=o.chain;if(m=S[s],m&&!m.hot._selfAccepted){if(m.hot._selfDeclined)return{type:"self-declined",chain:r,moduleId:s};if(m.hot._main)return{type:"unaccepted",chain:r,moduleId:s};for(var d=0;d<m.parents.length;d++){var i=m.parents[d],C=S[i];if(C){if(C.hot._declinedDependencies[s])return{type:"declined",chain:r.concat([i]),moduleId:s,parentId:i};if(!(0<=t.indexOf(i))){if(C.hot._acceptedDependencies[s]){a[i]||(a[i]=[]),l(a[i],[s]);continue}delete a[i],t.push(i),n.push({chain:r.concat([i]),id:i})}}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:a}}function l(e,t){for(var a=0,n;a<t.length;a++)n=t[a],0>e.indexOf(n
2025-07-03 17:39:09 +08:00
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){function l(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2]);}return e.apply(t,a)}function o(e,t,a,n){for(var l=-1,o=null==e?0:e.length;++l<o;){var i=e[l];t(n,i,a(i),e)}return n}function i(e,t){for(var a=-1,n=null==e?0:e.length;++a<n&&!(!1===t(e[a],a,e)););return e}function s(e,t){for(var a=null==e?0:e.length;a--&&!(!1===t(e[a],a,e)););return e}function r(e,t){for(var a=-1,n=null==e?0:e.length;++a<n;)if(!t(e[a],a,e))return!1;return!0}function d(e,t){for(var a=-1,n=null==e?0:e.length,l=0,o=[];++a<n;){var i=e[a];t(i,a,e)&&(o[l++]=i)}return o}function C(e,t){var a=null==e?0:e.length;return!!a&&-1<b(e,t,0)}function c(e,t,a){for(var n=-1,l=null==e?0:e.length;++n<l;)if(a(t,e[n]))return!0;return!1}function p(e,t){for(var a=-1,n=null==e?0:e.length,l=Array(n);++a<n;)l[a]=t(e[a],a,e);return l}function u(e,t){for(var a=-1,n=t.length,l=e.length;++a<n;)e[l+a]=t[a];return e}function h(e,t,a,n){var l=-1,o=null==e?0:e.length;for(n&&o&&(a=e[++l]);++l<o;)a=t(a,e[l],l,e);return a}function m(e,t,a,n){var l=null==e?0:e.length;for(n&&l&&(a=e[--l]);l--;)a=t(a,e[l],l,e);return a}function f(e,t){for(var a=-1,n=null==e?0:e.length;++a<n;)if(t(e[a],a,e))return!0;return!1}function g(e){return e.split("")}function v(e){return e.match(Mt)||[]}function y(e,t,a){var n;return a(e,function(e,a,l){if(t(e,a,l))return n=a,!1}),n}function L(e,t,a,n){for(var l=e.length,o=a+(n?1:-1);n?o--:++o<l;)if(t(e[o],o,e))return o;return-1}function b(e,t,a){return t===t?X(e,t,a):L(e,M,a)}function x(e,t,a,n){for(var l=a-1,o=e.length;++l<o;)if(n(e[l],t))return l;return-1}function M(e){return e!==e}function w(e,t){var a=null==e?0:e.length;return a?A(e,t)/a:Ze}function k(e){return function(t){return null==t?void 0:t[e]}}function Z(e){return function(t){return null==e?void 0:e[t]}}function V(e,t,a,n,l){return l(e,function(e,l,o){a=n?(n=!1,e):t(a,e,l,o)}),a}function S(e,t){var a=e.length;for(e.sort(t);a--;)e[a]=e[a].value;return e}function A(e,t){for(var a=-1,n=e.length,l;++a<n;){var o=t(e[a]);o!==void 0&&(l=l==void 0?o:l+o)}return l}function H(e,t){for(var a=-1,n=Array(e);++a<e;)n[a]=t(a);return n}function T(e,t){return p(t,function(t){return[t,e[t]]})}function E(e){return e?e.slice(0,te(e)+1).replace(vt,""):e}function I(e){return function(t){return e(t)}}function F(e,t){return p(t,function(t){return e[t]})}function q(e,t){return e.has(t)}function P(e,t){for(var a=-1,n=e.length;++a<n&&-1<b(t,e[a],0););return a}function D(e,t){for(var a=e.length;a--&&-1<b(t,e[a],0););return a}function N(e,t){for(var a=e.length,n=0;a--;)e[a]===t&&++n;return n}function B(e){return"\\"+ga[e]}function O(e,t){return null==e?void 0:e[t]}function z(e){return ca.test(e)}function R(e){return pa.test(e)}function W(e){for(var t=[],a;!(a=e.next()).done;)t.push(a.value);return t}function j(e){var t=-1,a=Array(e.size);return e.forEach(function(e,n){a[++t]=[n,e]}),a}function K(e,t){return function(a){return e(t(a))}}function U(e,t){for(var a=-1,n=e.length,l=0,o=[];++a<n;){var i=e[a];(i===t||i===re)&&(e[a]=re,o[l++]=a)}return o}function Y(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}function G(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=[e,e]}),a}function X(e,t,a){for(var n=a-1,l=e.length;++n<l;)if(e[n]===t)return n;return-1}function Q(e,t,a){for(var n=a+1;n--;)if(e[n]===t)return n;return n}function J(e){return z(e)?ae(e):Ia(e)}function ee(e){return z(e)?ne(e):g(e)}function te(e){for(var t=e.length;t--&&yt.test(e.charAt(t)););return t}function ae(e){for(var t=da.lastIndex=0;da.test(e);)++t;return t}function ne(e){return e.match(da)||[]}function le(e){return e.match(Ca)||[]}var oe=200,ie="Expected a function",se="__lodash_hash_undefined__",re="__lodash_placeholder__",de=1,Ce=2,ce=4,pe=1,ue=2,he=1,me=2,fe=4,ge=8,ve=16,ye=32,Le=64,be=128,xe=256,Me=512,we=1,_e=1/0,ke=9007199254740991,Ze=0/0,Ve=4294967295,Se=[["ary",be],["bind",he],["bindKey",me],["curry",ge],["curryRight",ve],["flip",Me],["partial",ye],["partialRight",Le],["rearg",xe]],Ae="[object Arguments
2025-07-03 17:39:09 +08:00
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version {{version}}
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/(function(n,l){r=l,d="function"==typeof r?r.call(t,a,t,e):r,!(d!==void 0&&(e.exports=d))})(void 0,function(){function e(e,t,a){this._reference=e.jquery?e[0]:e,this.state={};var n=t&&"[object Object]"===Object.prototype.toString.call(t);return this._popper="undefined"==typeof t||null===t||n?this.parse(n?t:{}):t.jquery?t[0]:t,this._options=Object.assign({},y,a),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),u(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function t(e){var t=e.style.display,a=e.style.visibility;e.style.display="block",e.style.visibility="hidden";var n=e.offsetWidth,l=L.getComputedStyle(e),o=parseFloat(l.marginTop)+parseFloat(l.marginBottom),i=parseFloat(l.marginLeft)+parseFloat(l.marginRight),s={width:e.offsetWidth+i,height:e.offsetHeight+o};return e.style.display=t,e.style.visibility=a,s}function s(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function r(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function a(e,t){var a=0,n;for(n in e){if(e[n]===t)return a;a++}return null}function d(e,t){var a=L.getComputedStyle(e,null);return a[t]}function C(e){var t=e.offsetParent;return t!==L.document.body&&t?t:L.document.documentElement}function c(e){var t=e.parentNode;return t?t===L.document?L.document.body.scrollTop||L.document.body.scrollLeft?L.document.body:L.document.documentElement:-1!==["scroll","auto"].indexOf(d(t,"overflow"))||-1!==["scroll","auto"].indexOf(d(t,"overflow-x"))||-1!==["scroll","auto"].indexOf(d(t,"overflow-y"))?t:c(e.parentNode):e}function p(e){return e!==L.document.body&&("fixed"===d(e,"position")||(e.parentNode?p(e.parentNode):e))}function u(e,t){function a(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach(function(n){var l="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&a(t[n])&&(l="px"),e.style[n]=t[n]+l})}function h(e){return e&&"[object Function]"==={}.toString.call(e)}function m(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function f(e){var t=e.getBoundingClientRect(),a=-1!=navigator.userAgent.indexOf("MSIE"),n=a&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:n,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-n}}function g(e,t,a){var n=f(e),l=f(t);if(a){var o=c(t);l.top+=o.scrollTop,l.bottom+=o.scrollTop,l.left+=o.scrollLeft,l.right+=o.scrollLeft}var i={top:n.top-l.top,left:n.left-l.left,bottom:n.top-l.top+n.height,right:n.left-l.left+n.width,width:n.width,height:n.height};return i}function v(e){for(var t=["","ms","webkit","moz","o"],a=0,n;a<t.length;a++)if(n=t[a]?t[a]+e.charAt(0).toUpperCase()+e.slice(1):e,"undefined"!=typeof L.document.body.style[n])return n;return null}var L=window,y={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};return e.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[v("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},e.prototype.update=function(){var e={instance:this,styles:{}};e.placement=this._options.placement,e._originalPlacement=this._options.placement,e.offsets=this._getOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,
* @license
* Lodash <https://lodash.com/>
* Copyright JS Foundation and other contributors <https://js.foundation/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){function o(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2]);}return e.apply(t,a)}function i(e,t,a,n){for(var l=-1,o=null==e?0:e.length;++l<o;){var i=e[l];t(n,i,a(i),e)}return n}function s(e,t){for(var a=-1,n=null==e?0:e.length;++a<n&&!(!1===t(e[a],a,e)););return e}function r(e,t){for(var a=null==e?0:e.length;a--&&!(!1===t(e[a],a,e)););return e}function d(e,t){for(var a=-1,n=null==e?0:e.length;++a<n;)if(!t(e[a],a,e))return!1;return!0}function C(e,t){for(var a=-1,n=null==e?0:e.length,l=0,o=[];++a<n;){var i=e[a];t(i,a,e)&&(o[l++]=i)}return o}function c(e,t){var a=null==e?0:e.length;return!!a&&-1<x(e,t,0)}function p(e,t,a){for(var n=-1,l=null==e?0:e.length;++n<l;)if(a(t,e[n]))return!0;return!1}function u(e,t){for(var a=-1,n=null==e?0:e.length,l=Array(n);++a<n;)l[a]=t(e[a],a,e);return l}function h(e,t){for(var a=-1,n=t.length,l=e.length;++a<n;)e[l+a]=t[a];return e}function m(e,t,a,n){var l=-1,o=null==e?0:e.length;for(n&&o&&(a=e[++l]);++l<o;)a=t(a,e[l],l,e);return a}function f(e,t,a,n){var l=null==e?0:e.length;for(n&&l&&(a=e[--l]);l--;)a=t(a,e[l],l,e);return a}function g(e,t){for(var a=-1,n=null==e?0:e.length;++a<n;)if(t(e[a],a,e))return!0;return!1}function v(e){return e.split("")}function y(e){return e.match(wt)||[]}function L(e,t,a){var n;return a(e,function(e,a,l){if(t(e,a,l))return n=a,!1}),n}function b(e,t,a,n){for(var l=e.length,o=a+(n?1:-1);n?o--:++o<l;)if(t(e[o],o,e))return o;return-1}function x(e,t,a){return t===t?Q(e,t,a):b(e,w,a)}function M(e,t,a,n){for(var l=a-1,o=e.length;++l<o;)if(n(e[l],t))return l;return-1}function w(e){return e!==e}function k(e,t){var a=null==e?0:e.length;return a?H(e,t)/a:Ze}function Z(e){return function(t){return null==t?void 0:t[e]}}function V(e){return function(t){return null==e?void 0:e[t]}}function S(e,t,a,n,l){return l(e,function(e,l,o){a=n?(n=!1,e):t(a,e,l,o)}),a}function A(e,t){var a=e.length;for(e.sort(t);a--;)e[a]=e[a].value;return e}function H(e,t){for(var a=-1,n=e.length,l;++a<n;){var o=t(e[a]);o!==void 0&&(l=l==void 0?o:l+o)}return l}function T(e,t){for(var a=-1,n=Array(e);++a<e;)n[a]=t(a);return n}function E(e,t){return u(t,function(t){return[t,e[t]]})}function I(e){return function(t){return e(t)}}function F(e,t){return u(t,function(t){return e[t]})}function q(e,t){return e.has(t)}function P(e,t){for(var a=-1,n=e.length;++a<n&&-1<x(t,e[a],0););return a}function D(e,t){for(var a=e.length;a--&&-1<x(t,e[a],0););return a}function N(e,t){for(var a=e.length,n=0;a--;)e[a]===t&&++n;return n}function B(e){return"\\"+ga[e]}function O(e,t){return null==e?void 0:e[t]}function z(e){return ca.test(e)}function R(e){return pa.test(e)}function W(e){for(var t=[],a;!(a=e.next()).done;)t.push(a.value);return t}function j(e){var t=-1,a=Array(e.size);return e.forEach(function(e,n){a[++t]=[n,e]}),a}function K(e,t){return function(a){return e(t(a))}}function U(e,t){for(var a=-1,n=e.length,l=0,o=[];++a<n;){var i=e[a];(i===t||i===re)&&(e[a]=re,o[l++]=a)}return o}function Y(e,t){return"__proto__"==t?void 0:e[t]}function G(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}function X(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=[e,e]}),a}function Q(e,t,a){for(var n=a-1,l=e.length;++n<l;)if(e[n]===t)return n;return-1}function J(e,t,a){for(var n=a+1;n--;)if(e[n]===t)return n;return n}function ee(e){return z(e)?ae(e):Ia(e)}function te(e){return z(e)?ne(e):v(e)}function ae(e){for(var t=da.lastIndex=0;da.test(e);)++t;return t}function ne(e){return e.match(da)||[]}function le(e){return e.match(Ca)||[]}var oe=200,ie="Expected a function",se="__lodash_hash_undefined__",re="__lodash_placeholder__",de=1,Ce=2,ce=4,pe=1,ue=2,he=1,me=2,fe=4,ge=8,ve=16,ye=32,Le=64,be=128,xe=256,Me=512,we=1,_e=1/0,ke=9007199254740991,Ze=0/0,Ve=4294967295,Se=[["ary",be],["bind",he],["bindKey",me],["curry",ge],["curryRight",ve],["flip",Me],["partial",ye],["partialRight",Le],["rearg",xe]],Ae="[object Arguments]",He="[object Array]",Te="[object Boolean]",Ee="[object Date]",Ie="[object Erro
2025-07-03 17:39:09 +08:00
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
2025-07-31 09:31:31 +08:00
*/n.canUseDOM&&(l=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!n.canUseDOM||t&&!("addEventListener"in document))return!1;var a="on"+e,o=a in document;if(!o){var i=document.createElement("div");i.setAttribute(a,"return;"),o="function"==typeof i[a]}return!o&&l&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},function(e){"use strict";var t=!!("undefined"!=typeof window&&window.document&&window.document.createElement),a={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=a},function(e,t,a){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=a(85),o=function(e){return e&&e.__esModule?e:{default:e}}(l),i=i||{},s;i.Dialog=function(e,t,a){var l=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");this.focusAfterClosed="string"==typeof t?document.getElementById(t):"object"===("undefined"==typeof t?"undefined":n(t))?t:null,this.focusFirst="string"==typeof a?document.getElementById(a):"object"===("undefined"==typeof a?"undefined":n(a))?a:null,this.focusFirst?this.focusFirst.focus():o.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,s=function(t){l.trapFocus(t)},this.addListeners()},i.Dialog.prototype.addListeners=function(){document.addEventListener("focus",s,!0)},i.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",s,!0)},i.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout(function(){e.focusAfterClosed.focus()})},i.Dialog.prototype.trapFocus=function(e){o.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(o.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&o.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t.default=i.Dialog},function(e,t,a){"use strict";function n(e){this.rules=null,this._messages=C.a,this.define(e)}Object.defineProperty(t,"__esModule",{value:!0});var l=a(8),o=a.n(l),i=a(22),s=a.n(i),r=a(4),d=a(251),C=a(271);n.prototype={messages:function(e){return e&&(this._messages=Object(r.c)(Object(C.b)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"==typeof e?"undefined":s()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,a=void 0;for(t in e)e.hasOwnProperty(t)&&(a=e[t],this.rules[t]=Array.isArray(a)?a:[a])},validate:function(e){function t(e){function t(t){Array.isArray(t)?l=l.concat.apply(l,t):l.push(t)}var a=void 0,n=void 0,l=[],o={};for(a=0;a<e.length;a++)t(e[a]);if(!l.length)l=null,o=null;else for(a=0;a<l.length;a++)n=l[a].field,o[n]=o[n]||[],o[n].push(l[a]);p(l,o)}var a=this,l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2],d=e,c=l,p=i;if("function"==typeof c&&(p=c,c={}),!this.rules||0===Object.keys(this.rules).length)return void(p&&p());if(c.messages){var u=this.messages();u===C.a&&(u=Object(C.b)()),Object(r.c)(u,c.messages),c.messages=u}else c.messages=this.messages();var h=void 0,m=void 0,f={},g=c.keys||Object.keys(this.rules);g.forEach(function(t){h=a.rules[t],m=d[t],h.forEach(function(n){var l=n;"function"==typeof l.transform&&(d===e&&(d=o()({},d)),m=d[t]=l.transform(m)),l="function"==typeof l?{validator:l}:o()({},l),l.validator=a.getValidationMethod(l),l.field=t,l.fullField=l.fullField||t,l.type=a.getType(l),l.validator&&(f[t]=f[t]||[],f[t].push({rule:l,value:m,source:d,field:t}))})});var v={};Object(r.a)(f,c,function(e,t){function a(e,t){return o()({},t,{fullField:i.fullFi