Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@analytics/type-utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics/type-utils - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.6.2](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-types/compare/@analytics/type-utils@0.6.1...@analytics/type-utils@0.6.2) (2023-05-27)
**Note:** Version bump only for package @analytics/type-utils
## [0.6.1](https://github.com/DavidWells/analytics/tree/master/packages/analytics-util-types/compare/@analytics/type-utils@0.6.0...@analytics/type-utils@0.6.1) (2023-05-27)

@@ -8,0 +16,0 @@

2

dist/analytics-util-types.js

@@ -1,2 +0,2 @@

var e=function(){},t=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,r=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,n=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,o="undefined"!=typeof process?process:{},s=o.env&&o.env.NODE_ENV||"",i="production"===s,u="staging"===s,c="development"===s,p="undefined"!=typeof window,a=p&&"localhost"===window.location.hostname,f=null!=o.versions&&null!=o.versions.node,l="undefined"!=typeof Deno&&void 0!==Deno.core,x="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,d=p&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function y(e,t){return t.charAt(0)[e]()+t.slice(1)}var N=y.bind(null,"toUpperCase"),E=y.bind(null,"toLowerCase");function m(e){return R(e)?N("null"):"object"==typeof e?j(e):Object.prototype.toString.call(e).slice(8,-1)}function b(e,t){void 0===t&&(t=!0);var r=m(e);return t?E(r):r}function g(e,t){return typeof t===e}var O=g.bind(null,"function"),S=g.bind(null,"string"),v=g.bind(null,"undefined"),A=g.bind(null,"boolean"),T=g.bind(null,"symbol");function R(e){return null===e}function F(e){return"number"===b(e)&&!isNaN(e)}function h(e){return"array"===b(e)}function D(e){if(!L(e))return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function L(e){return e&&("object"==typeof e||null!==e)}function j(e){return O(e.constructor)?e.constructor.name:null}function C(e){return e instanceof Set}function I(e){return e instanceof Map}function P(e){return e instanceof Error||S(e.message)&&e.constructor&&F(e.constructor.stackTraceLimit)}function U(e,t){if("object"!=typeof t||R(t))return!1;if(t instanceof e)return!0;var r=b(new e(""));if(P(t))for(;t;){if(b(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}var _=U.bind(null,TypeError),w=U.bind(null,SyntaxError);function B(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?G(e,t):r}function G(e,t){return void 0===t&&(t=""),e&&e.nodeName===t.toUpperCase()}function M(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}var z=M(B,"form"),Z=M(B,"button"),k=M(B,"input"),Y=M(B,"select");exports.ALL="*",exports.ANY="any",exports.ARRAY="array",exports.ASYNC_FUNCTION="asyncFunction",exports.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",exports.BOOLEAN="boolean",exports.BUTTON="button",exports.CHANGE="change",exports.ENV=s,exports.ERROR="error",exports.FORM="form",exports.FUNCTION="function",exports.GENERATOR_FUNCTION="generatorFunction",exports.HIDDEN="hidden",exports.INPUT="input",exports.NONE="none",exports.NULL="null",exports.NUMBER="number",exports.OBJECT="object",exports.PREFIX="__",exports.REGEX_EMAIL=r,exports.REGEX_ISO=t,exports.REGEX_JSON=n,exports.SELECT="select",exports.STRING="string",exports.SUBMIT="submit",exports.SYMBOL="symbol",exports.SYNTAX_ERROR="syntaxError",exports.TYPE_ERROR="typeError",exports.UNDEFINED="undefined",exports.ctorName=j,exports.ensureArray=function(e){return e?h(e)?e:[e]:[]},exports.getType=b,exports.getTypeName=m,exports.isArguments=function(e){try{if(F(e.length)&&O(e.callee))return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1},exports.isArray=h,exports.isAsyncFunction=function(e){return"asyncFunction"===b(e)},exports.isBoolean=A,exports.isBrowser=p,exports.isBuffer=function(e){return!(!e.constructor||!O(e.constructor.isBuffer))&&e.constructor.isBuffer(e)},exports.isButton=Z,exports.isClass=function(e){return!!O(e)&&/^class /.test(Function.prototype.toString.call(e))},exports.isDate=function(e){return e instanceof Date||O(e.toDateString)&&O(e.getDate)&&O(e.setDate)},exports.isDefined=function(e){return!v(e)},exports.isDeno=l,exports.isDev=c,exports.isElement=B,exports.isEmail=function(e){return!(e.length>320)&&r.test(e)},exports.isEmpty=function(e){return!(!R(e)&&(h(e)?e.length:C(e)||I(e)?e.size:D(e)&&Object.keys(e).length))},exports.isError=P,exports.isErrorLike=function(e){return L(e)&&S(e.message)&&S(e.name)},exports.isFalse=function(e){return!1===e},exports.isFalsy=function(e){return!e},exports.isForm=z,exports.isFunction=O,exports.isGenerator=function(e){return L(e)&&O(e.throw)&&O(e.return)&&O(e.next)},exports.isGeneratorFunction=function(e){return"generatorFunction"===b(e)},exports.isHidden=function(e,t){if(!e||"hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(null!=t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},exports.isInput=k,exports.isIsoDate=function(e){return t.test(e)},exports.isJsDom=d,exports.isJson=function(e){if(!S(e)||!n.test(e))return!1;try{JSON.parse(e)}catch(e){return!1}return!0},exports.isLocalHost=a,exports.isMap=I,exports.isMethod=function(e,t){return D(e)&&O(e[t])},exports.isNoOp=function(t){if(!O(t))return!1;var r=/{(\r|\n|\s)*}/gm,n=e+"";return n===(t.toString().match(r)||[""])[0].replace(r,n)},exports.isNode=f,exports.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},exports.isNodeType=G,exports.isNull=R,exports.isNumber=F,exports.isNumberLike=function(e){return!isNaN(parseFloat(e))},exports.isObject=D,exports.isObjectLike=L,exports.isPrimitive=function(e){if(R(e))return!0;switch(typeof e){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}},exports.isProd=i,exports.isPromise=function(e){return!!e&&!!(!v(Promise)&&e instanceof Promise||e.then&&O(e.then))},exports.isRegex=function(e){return e instanceof RegExp},exports.isSelect=Y,exports.isSet=C,exports.isStaging=u,exports.isString=S,exports.isSymbol=T,exports.isSyntaxError=w,exports.isTrue=function(e){return!0===e},exports.isTruthy=function(e){return!(S(e)&&"false"===e.toLowerCase()||!e)},exports.isTypeError=_,exports.isUndefined=v,exports.isWebWorker=x,exports.noOp=e;
var e=function(){},t=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,r=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,n=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,o="undefined"!=typeof process?process:{},s=o.env&&o.env.NODE_ENV||"",i="production"===s,u="staging"===s,c="development"===s,p="undefined"!=typeof document,a=p&&"localhost"===window.location.hostname,f=null!=o.versions&&null!=o.versions.node,l="undefined"!=typeof Deno&&void 0!==Deno.core,x="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,d=p&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function y(e,t){return t.charAt(0)[e]()+t.slice(1)}var N=y.bind(null,"toUpperCase"),m=y.bind(null,"toLowerCase");function E(e){return R(e)?N("null"):"object"==typeof e?j(e):Object.prototype.toString.call(e).slice(8,-1)}function g(e,t){void 0===t&&(t=!0);var r=E(e);return t?m(r):r}function b(e,t){return typeof t===e}var O=b.bind(null,"function"),v=b.bind(null,"string"),A=b.bind(null,"undefined"),S=b.bind(null,"boolean"),T=b.bind(null,"symbol");function R(e){return null===e}function F(e){return"number"===g(e)&&!isNaN(e)}function h(e){return"array"===g(e)}function D(e){if(!L(e))return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function L(e){return e&&("object"==typeof e||null!==e)}function j(e){return O(e.constructor)?e.constructor.name:null}function C(e){return e instanceof Set}function I(e){return e instanceof Map}function P(e){return e instanceof Error||v(e.message)&&e.constructor&&F(e.constructor.stackTraceLimit)}function U(e,t){if("object"!=typeof t||R(t))return!1;if(t instanceof e)return!0;var r=g(new e(""));if(P(t))for(;t;){if(g(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}var _=U.bind(null,TypeError),B=U.bind(null,SyntaxError);function G(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?w(e,t):r}function w(e,t){return void 0===t&&(t=""),e&&e.nodeName===t.toUpperCase()}function M(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}var z=M(G,"form"),Z=M(G,"button"),k=M(G,"input"),Y=M(G,"select");exports.ALL="*",exports.ANY="any",exports.ARRAY="array",exports.ASYNC_FUNCTION="asyncFunction",exports.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",exports.BOOLEAN="boolean",exports.BUTTON="button",exports.CHANGE="change",exports.ENV=s,exports.ERROR="error",exports.FORM="form",exports.FUNCTION="function",exports.GENERATOR_FUNCTION="generatorFunction",exports.HIDDEN="hidden",exports.INPUT="input",exports.NONE="none",exports.NULL="null",exports.NUMBER="number",exports.OBJECT="object",exports.PREFIX="__",exports.REGEX_EMAIL=r,exports.REGEX_ISO=t,exports.REGEX_JSON=n,exports.SELECT="select",exports.STRING="string",exports.SUBMIT="submit",exports.SYMBOL="symbol",exports.SYNTAX_ERROR="syntaxError",exports.TYPE_ERROR="typeError",exports.UNDEFINED="undefined",exports.ctorName=j,exports.ensureArray=function(e){return e?h(e)?e:[e]:[]},exports.getType=g,exports.getTypeName=E,exports.isArguments=function(e){try{if(F(e.length)&&O(e.callee))return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1},exports.isArray=h,exports.isAsyncFunction=function(e){return"asyncFunction"===g(e)},exports.isBoolean=S,exports.isBrowser=p,exports.isBuffer=function(e){return!(!e.constructor||!O(e.constructor.isBuffer))&&e.constructor.isBuffer(e)},exports.isButton=Z,exports.isClass=function(e){return!!O(e)&&/^class /.test(Function.prototype.toString.call(e))},exports.isDate=function(e){return e instanceof Date||O(e.toDateString)&&O(e.getDate)&&O(e.setDate)},exports.isDefined=function(e){return!A(e)},exports.isDeno=l,exports.isDev=c,exports.isElement=G,exports.isEmail=function(e){return!(e.length>320)&&r.test(e)},exports.isEmpty=function(e){return!(!R(e)&&(h(e)?e.length:C(e)||I(e)?e.size:D(e)&&Object.keys(e).length))},exports.isError=P,exports.isErrorLike=function(e){return L(e)&&v(e.message)&&v(e.name)},exports.isFalse=function(e){return!1===e},exports.isFalsy=function(e){return!e},exports.isForm=z,exports.isFunction=O,exports.isGenerator=function(e){return L(e)&&O(e.throw)&&O(e.return)&&O(e.next)},exports.isGeneratorFunction=function(e){return"generatorFunction"===g(e)},exports.isHidden=function(e,t){if(!e||"hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(null!=t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},exports.isInput=k,exports.isIsoDate=function(e){return t.test(e)},exports.isJsDom=d,exports.isJson=function(e){if(!v(e)||!n.test(e))return!1;try{JSON.parse(e)}catch(e){return!1}return!0},exports.isLocalHost=a,exports.isMap=I,exports.isMethod=function(e,t){return D(e)&&O(e[t])},exports.isNoOp=function(t){if(!O(t))return!1;var r=/{(\r|\n|\s)*}/gm,n=e+"";return n===(t.toString().match(r)||[""])[0].replace(r,n)},exports.isNode=f,exports.isNodeList=function(e){return NodeList.prototype.isPrototypeOf(e)},exports.isNodeType=w,exports.isNull=R,exports.isNumber=F,exports.isNumberLike=function(e){return!isNaN(parseFloat(e))},exports.isObject=D,exports.isObjectLike=L,exports.isPrimitive=function(e){if(R(e))return!0;switch(typeof e){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}},exports.isProd=i,exports.isPromise=function(e){return!!e&&!!(!A(Promise)&&e instanceof Promise||e.then&&O(e.then))},exports.isRegex=function(e){return e instanceof RegExp},exports.isSelect=Y,exports.isSet=C,exports.isStaging=u,exports.isString=v,exports.isSymbol=T,exports.isSyntaxError=B,exports.isTrue=function(e){return!0===e},exports.isTruthy=function(e){return!(v(e)&&"false"===e.toLowerCase()||!e)},exports.isTypeError=_,exports.isUndefined=A,exports.isWebWorker=x,exports.noOp=e;
//# sourceMappingURL=analytics-util-types.js.map

@@ -1,2 +0,2 @@

const n="function",t="string",e="undefined",r="boolean",o="object",u="array",c="number",i="symbol",s="null",f="error",a="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",b=()=>{},g="any",m="*",h="none",j="hidden",O="__",S="form",w="input",v="button",A="select",E="change",N="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof window,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}const U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t=!0){const e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}const W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}const Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;let t=n;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function sn(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function fn(n,t){return on(n)&&W(n[t])}function an(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function bn(n){return n instanceof Set}function gn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function hn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function jn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function On(n){return un(n)&&q(n.message)&&q(n.name)}function Sn(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;const e=R(new n(""));if(jn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}const wn=Sn.bind(null,TypeError),vn=Sn.bind(null,SyntaxError);function An(n){if(!W(n))return!1;const t=/{(\r|\n|\s)*}/gm,e=b+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function En(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function Nn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:bn(n)||gn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){const e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t=""){return n&&n.nodeName===t.toUpperCase()}function _n(n,...t){return function(...e){return n(...e,...t)}}const kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,g as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,v as BUTTON,E as CHANGE,P as ENV,f as ERROR,S as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,j as HIDDEN,w as INPUT,h as NONE,s as NULL,c as NUMBER,o as OBJECT,O as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,A as SELECT,t as STRING,N as SUBMIT,i as SYMBOL,l as SYNTAX_ERROR,a as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,En as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,hn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,jn as isError,On as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,gn as isMap,fn as isMethod,An as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,sn as isPrimitive,x as isProd,an as isPromise,mn as isRegex,Mn as isSelect,bn as isSet,C as isStaging,q as isString,X as isSymbol,vn as isSyntaxError,zn as isTrue,Nn as isTruthy,wn as isTypeError,I as isUndefined,B as isWebWorker,b as noOp};
const n="function",t="string",e="undefined",r="boolean",o="object",u="array",c="number",i="symbol",s="null",f="error",a="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",g=()=>{},b="any",m="*",h="none",j="hidden",O="__",v="form",S="input",A="button",E="select",N="change",w="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof document,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}const U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t=!0){const e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}const W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}const Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;let t=n;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function sn(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function fn(n,t){return on(n)&&W(n[t])}function an(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function gn(n){return n instanceof Set}function bn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function hn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function jn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function On(n){return un(n)&&q(n.message)&&q(n.name)}function vn(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;const e=R(new n(""));if(jn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}const Sn=vn.bind(null,TypeError),An=vn.bind(null,SyntaxError);function En(n){if(!W(n))return!1;const t=/{(\r|\n|\s)*}/gm,e=g+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function Nn(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function wn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:gn(n)||bn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){const e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t=""){return n&&n.nodeName===t.toUpperCase()}function _n(n,...t){return function(...e){return n(...e,...t)}}const kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,b as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,A as BUTTON,N as CHANGE,P as ENV,f as ERROR,v as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,j as HIDDEN,S as INPUT,h as NONE,s as NULL,c as NUMBER,o as OBJECT,O as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,E as SELECT,t as STRING,w as SUBMIT,i as SYMBOL,l as SYNTAX_ERROR,a as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,Nn as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,hn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,jn as isError,On as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,bn as isMap,fn as isMethod,En as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,sn as isPrimitive,x as isProd,an as isPromise,mn as isRegex,Mn as isSelect,gn as isSet,C as isStaging,q as isString,X as isSymbol,An as isSyntaxError,zn as isTrue,wn as isTruthy,Sn as isTypeError,I as isUndefined,B as isWebWorker,g as noOp};
//# sourceMappingURL=analytics-util-types.modern.js.map

@@ -1,2 +0,2 @@

var n="function",t="string",e="undefined",r="boolean",o="object",u="array",i="number",c="symbol",f="null",a="error",s="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",b=function(){},g="any",m="*",v="none",h="hidden",j="__",O="form",S="input",w="button",A="select",E="change",N="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof window,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t){void 0===t&&(t=!0);var e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}var W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}var Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function fn(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function an(n,t){return on(n)&&W(n[t])}function sn(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function bn(n){return n instanceof Set}function gn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function vn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function hn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function jn(n){return un(n)&&q(n.message)&&q(n.name)}function On(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=R(new n(""));if(hn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var Sn=On.bind(null,TypeError),wn=On.bind(null,SyntaxError);function An(n){if(!W(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=b+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function En(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function Nn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:bn(n)||gn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function _n(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,g as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,w as BUTTON,E as CHANGE,P as ENV,a as ERROR,O as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,h as HIDDEN,S as INPUT,v as NONE,f as NULL,i as NUMBER,o as OBJECT,j as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,A as SELECT,t as STRING,N as SUBMIT,c as SYMBOL,l as SYNTAX_ERROR,s as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,En as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,vn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,hn as isError,jn as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,gn as isMap,an as isMethod,An as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,fn as isPrimitive,x as isProd,sn as isPromise,mn as isRegex,Mn as isSelect,bn as isSet,C as isStaging,q as isString,X as isSymbol,wn as isSyntaxError,zn as isTrue,Nn as isTruthy,Sn as isTypeError,I as isUndefined,B as isWebWorker,b as noOp};
var n="function",t="string",e="undefined",r="boolean",o="object",u="array",i="number",c="symbol",a="null",f="error",s="typeError",l="syntaxError",d="asyncFunction",p="generatorFunction",y="asyncGeneratorFunction",g=function(){},b="any",m="*",v="none",h="hidden",j="__",O="form",S="input",A="button",E="select",N="change",w="submit",D=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,z=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Z=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,F="undefined"!=typeof process?process:{},P=F.env&&F.env.NODE_ENV||"",x="production"===P,C="staging"===P,L="development"===P,$="undefined"!=typeof document,T=$&&"localhost"===window.location.hostname,_=null!=F.versions&&null!=F.versions.node,k="undefined"!=typeof Deno&&void 0!==Deno.core,B="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,G=$&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function M(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=M.bind(null,"toUpperCase"),H=M.bind(null,"toLowerCase");function J(n){return Y(n)?U("null"):"object"==typeof n?yn(n):Object.prototype.toString.call(n).slice(8,-1)}function R(n,t){void 0===t&&(t=!0);var e=J(n);return t?H(e):e}function V(n,t){return typeof t===n}var W=V.bind(null,"function"),q=V.bind(null,"string"),I=V.bind(null,"undefined");function K(n){return!I(n)}var Q=V.bind(null,"boolean"),X=V.bind(null,"symbol");function Y(n){return null===n}function nn(n){return"number"===R(n)&&!isNaN(n)}function tn(n){return!isNaN(parseFloat(n))}function en(n){return!!W(n)&&/^class /.test(Function.prototype.toString.call(n))}function rn(n){return"array"===R(n)}function on(n){if(!un(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function un(n){return n&&("object"==typeof n||null!==n)}function cn(n){if(!q(n)||!Z.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0}function an(n){if(Y(n))return!0;switch(typeof n){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function fn(n,t){return on(n)&&W(n[t])}function sn(n){return!!n&&!!(!I(Promise)&&n instanceof Promise||n.then&&W(n.then))}function ln(n){return un(n)&&W(n.throw)&&W(n.return)&&W(n.next)}function dn(n){return"generatorFunction"===R(n)}function pn(n){return"asyncFunction"===R(n)}function yn(n){return W(n.constructor)?n.constructor.name:null}function gn(n){return n instanceof Set}function bn(n){return n instanceof Map}function mn(n){return n instanceof RegExp}function vn(n){return!(!n.constructor||!W(n.constructor.isBuffer))&&n.constructor.isBuffer(n)}function hn(n){return n instanceof Error||q(n.message)&&n.constructor&&nn(n.constructor.stackTraceLimit)}function jn(n){return un(n)&&q(n.message)&&q(n.name)}function On(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=R(new n(""));if(hn(t))for(;t;){if(R(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var Sn=On.bind(null,TypeError),An=On.bind(null,SyntaxError);function En(n){if(!W(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=g+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)}function Nn(n){try{if(nn(n.length)&&W(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1}function wn(n){return!(q(n)&&"false"===n.toLowerCase()||!n)}function Dn(n){return!n}function zn(n){return!0===n}function Zn(n){return!1===n}function Fn(n){return!(n.length>320)&&z.test(n)}function Pn(n){return n instanceof Date||W(n.toDateString)&&W(n.getDate)&&W(n.setDate)}function xn(n){return D.test(n)}function Cn(n){return!(!Y(n)&&(rn(n)?n.length:gn(n)||bn(n)?n.size:on(n)&&Object.keys(n).length))}function Ln(n){return NodeList.prototype.isPrototypeOf(n)}function $n(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?Tn(n,t):e}function Tn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function _n(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var kn=_n($n,"form"),Bn=_n($n,"button"),Gn=_n($n,"input"),Mn=_n($n,"select");function Un(n,t){if(!n||"hidden"===getComputedStyle(n).visibility)return!0;for(;n;){if(null!=t&&n===t)return!1;if("none"===getComputedStyle(n).display)return!0;n=n.parentElement}return!1}function Hn(n){return n?rn(n)?n:[n]:[]}export{m as ALL,b as ANY,u as ARRAY,d as ASYNC_FUNCTION,y as ASYNC_GENERATOR_FUNCTION,r as BOOLEAN,A as BUTTON,N as CHANGE,P as ENV,f as ERROR,O as FORM,n as FUNCTION,p as GENERATOR_FUNCTION,h as HIDDEN,S as INPUT,v as NONE,a as NULL,i as NUMBER,o as OBJECT,j as PREFIX,z as REGEX_EMAIL,D as REGEX_ISO,Z as REGEX_JSON,E as SELECT,t as STRING,w as SUBMIT,c as SYMBOL,l as SYNTAX_ERROR,s as TYPE_ERROR,e as UNDEFINED,yn as ctorName,Hn as ensureArray,R as getType,J as getTypeName,Nn as isArguments,rn as isArray,pn as isAsyncFunction,Q as isBoolean,$ as isBrowser,vn as isBuffer,Bn as isButton,en as isClass,Pn as isDate,K as isDefined,k as isDeno,L as isDev,$n as isElement,Fn as isEmail,Cn as isEmpty,hn as isError,jn as isErrorLike,Zn as isFalse,Dn as isFalsy,kn as isForm,W as isFunction,ln as isGenerator,dn as isGeneratorFunction,Un as isHidden,Gn as isInput,xn as isIsoDate,G as isJsDom,cn as isJson,T as isLocalHost,bn as isMap,fn as isMethod,En as isNoOp,_ as isNode,Ln as isNodeList,Tn as isNodeType,Y as isNull,nn as isNumber,tn as isNumberLike,on as isObject,un as isObjectLike,an as isPrimitive,x as isProd,sn as isPromise,mn as isRegex,Mn as isSelect,gn as isSet,C as isStaging,q as isString,X as isSymbol,An as isSyntaxError,zn as isTrue,wn as isTruthy,Sn as isTypeError,I as isUndefined,B as isWebWorker,g as noOp};
//# sourceMappingURL=analytics-util-types.module.js.map

@@ -1,2 +0,2 @@

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,S=typeof process!==r?process:{},A=S.env&&S.env.NODE_ENV||"",v="production"===A,R="staging"===A,h="development"===A,D=typeof window!==r,F=D&&"localhost"===window.location.hostname,L=null!=S.versions&&null!=S.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var x=G.bind(null,t),M=G.bind(null,e),z=G.bind(null,r),Z=G.bind(null,o),k=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",g="button",m="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,A=typeof process!==r?process:{},S=A.env&&A.env.NODE_ENV||"",v="production"===S,R="staging"===S,h="development"===S,D=typeof document!==r,F=D&&"localhost"===window.location.hostname,L=null!=A.versions&&null!=A.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&typeof navigator.userAgent!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function B(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function G(n,t){void 0===t&&(t=!0);var e=B(n);return t?_(e):e}function w(n,t){return typeof t===n}var x=w.bind(null,t),M=w.bind(null,e),z=w.bind(null,r),Z=w.bind(null,o),k=w.bind(null,c);function Y(n){return null===n}function H(n){return G(n)===s&&!isNaN(n)}function J(n){return G(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=G(new n(""));if(K(t))for(;t;){if(G(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,g),cn=on(en,E),an=on(en,m);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=g,n.CHANGE="change",n.ENV=S,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=m,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=G,n.getTypeName=B,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return G(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return G(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
//# sourceMappingURL=analytics-util-types.umd.js.map

@@ -1,2 +0,2 @@

var utilTypes=function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,S=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,v=typeof process!==r?process:{},A=v.env&&v.env.NODE_ENV||"",T="production"===A,R="staging"===A,D="development"===A,h=typeof window!==r,F=h&&"localhost"===window.location.hostname,L=null!=v.versions&&null!=v.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,I=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,j=h&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var M=G.bind(null,t),z=G.bind(null,e),Z=G.bind(null,r),k=G.bind(null,o),x=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return M(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||z(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);return n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=S,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&M(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=k,n.isBrowser=h,n.isBuffer=function(n){return!(!n.constructor||!M(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!M(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||M(n.toDateString)&&M(n.getDate)&&M(n.setDate)},n.isDefined=function(n){return!Z(n)},n.isDeno=C,n.isDev=D,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&z(n.message)&&z(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=M,n.isGenerator=function(n){return $(n)&&M(n.throw)&&M(n.return)&&M(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=j,n.isJson=function(n){if(!z(n)||!S.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&M(n[t])},n.isNoOp=function(n){if(!M(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=T,n.isPromise=function(n){return!!n&&!!(!Z(Promise)&&n instanceof Promise||n.then&&M(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=z,n.isSymbol=x,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(z(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=Z,n.isWebWorker=I,n.noOp=d,n}({});
var utilTypes=function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",p=function(){},d="none",y="hidden",N="form",E="input",g="button",m="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,v=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,A=typeof process!==r?process:{},S=A.env&&A.env.NODE_ENV||"",T="production"===S,R="staging"===S,D="development"===S,h=typeof document!==r,F=h&&"localhost"===window.location.hostname,L=null!=A.versions&&null!=A.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,I=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,j=h&&"nodejs"===window.name||typeof navigator!==r&&typeof navigator.userAgent!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function B(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function G(n,t){void 0===t&&(t=!0);var e=B(n);return t?_(e):e}function w(n,t){return typeof t===n}var M=w.bind(null,t),z=w.bind(null,e),Z=w.bind(null,r),k=w.bind(null,o),x=w.bind(null,c);function Y(n){return null===n}function H(n){return G(n)===s&&!isNaN(n)}function J(n){return G(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return M(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||z(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=G(new n(""));if(K(t))for(;t;){if(G(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,g),cn=on(en,E),an=on(en,m);return n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=g,n.CHANGE="change",n.ENV=S,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=d,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=v,n.SELECT=m,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=G,n.getTypeName=B,n.isArguments=function(n){try{if(H(n.length)&&M(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return G(n)===f},n.isBoolean=k,n.isBrowser=h,n.isBuffer=function(n){return!(!n.constructor||!M(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!M(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||M(n.toDateString)&&M(n.getDate)&&M(n.setDate)},n.isDefined=function(n){return!Z(n)},n.isDeno=C,n.isDev=D,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&z(n.message)&&z(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=M,n.isGenerator=function(n){return $(n)&&M(n.throw)&&M(n.return)&&M(n.next)},n.isGeneratorFunction=function(n){return G(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===d)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=j,n.isJson=function(n){if(!z(n)||!v.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&M(n[t])},n.isNoOp=function(n){if(!M(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=p+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=T,n.isPromise=function(n){return!!n&&!!(!Z(Promise)&&n instanceof Promise||n.then&&M(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=z,n.isSymbol=x,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(z(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=Z,n.isWebWorker=I,n.noOp=p,n}({});
//# sourceMappingURL=type-utils.js.map

@@ -1,2 +0,2 @@

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",m="button",g="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,S=typeof process!==r?process:{},A=S.env&&S.env.NODE_ENV||"",v="production"===A,R="staging"===A,h="development"===A,D=typeof window!==r,F=D&&"localhost"===window.location.hostname,L=null!=S.versions&&null!=S.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function w(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function B(n,t){void 0===t&&(t=!0);var e=w(n);return t?_(e):e}function G(n,t){return typeof t===n}var x=G.bind(null,t),M=G.bind(null,e),z=G.bind(null,r),Z=G.bind(null,o),k=G.bind(null,c);function Y(n){return null===n}function H(n){return B(n)===s&&!isNaN(n)}function J(n){return B(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=B(new n(""));if(K(t))for(;t;){if(B(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,m),cn=on(en,E),an=on(en,g);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=m,n.CHANGE="change",n.ENV=A,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=g,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=B,n.getTypeName=w,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return B(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return B(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n||self).utilTypes={})}(this,function(n){var t="function",e="string",r="undefined",o="boolean",i="object",u="array",s="number",c="symbol",a="null",f="asyncFunction",l="generatorFunction",d=function(){},p="none",y="hidden",N="form",E="input",g="button",m="select",O=/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)$/,b=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,T=/^\{[\s\S]*\}$|^\[[\s\S]*\]$/,A=typeof process!==r?process:{},S=A.env&&A.env.NODE_ENV||"",v="production"===S,R="staging"===S,h="development"===S,D=typeof document!==r,F=D&&"localhost"===window.location.hostname,L=null!=A.versions&&null!=A.versions.node,C=typeof Deno!==r&&typeof Deno.core!==r,j=typeof self===i&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name,I=D&&"nodejs"===window.name||typeof navigator!==r&&typeof navigator.userAgent!==r&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function P(n,t){return t.charAt(0)[n]()+t.slice(1)}var U=P.bind(null,"toUpperCase"),_=P.bind(null,"toLowerCase");function B(n){return Y(n)?U(a):typeof n===i?W(n):Object.prototype.toString.call(n).slice(8,-1)}function G(n,t){void 0===t&&(t=!0);var e=B(n);return t?_(e):e}function w(n,t){return typeof t===n}var x=w.bind(null,t),M=w.bind(null,e),z=w.bind(null,r),Z=w.bind(null,o),k=w.bind(null,c);function Y(n){return null===n}function H(n){return G(n)===s&&!isNaN(n)}function J(n){return G(n)===u}function X(n){if(!$(n))return!1;for(var t=n;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function $(n){return n&&(typeof n===i||null!==n)}function W(n){return x(n.constructor)?n.constructor.name:null}function V(n){return n instanceof Set}function q(n){return n instanceof Map}function K(n){return n instanceof Error||M(n.message)&&n.constructor&&H(n.constructor.stackTraceLimit)}function Q(n,t){if("object"!=typeof t||Y(t))return!1;if(t instanceof n)return!0;var e=G(new n(""));if(K(t))for(;t;){if(G(t)===e)return!0;t=Object.getPrototypeOf(t)}return!1}var nn=Q.bind(null,TypeError),tn=Q.bind(null,SyntaxError);function en(n,t){var e=n instanceof Element||n instanceof HTMLDocument;return e&&t?rn(n,t):e}function rn(n,t){return void 0===t&&(t=""),n&&n.nodeName===t.toUpperCase()}function on(n){var t=[].slice.call(arguments,1);return function(){return n.apply(void 0,[].slice.call(arguments).concat(t))}}var un=on(en,N),sn=on(en,g),cn=on(en,E),an=on(en,m);n.ALL="*",n.ANY="any",n.ARRAY=u,n.ASYNC_FUNCTION=f,n.ASYNC_GENERATOR_FUNCTION="asyncGeneratorFunction",n.BOOLEAN=o,n.BUTTON=g,n.CHANGE="change",n.ENV=S,n.ERROR="error",n.FORM=N,n.FUNCTION=t,n.GENERATOR_FUNCTION=l,n.HIDDEN=y,n.INPUT=E,n.NONE=p,n.NULL=a,n.NUMBER=s,n.OBJECT=i,n.PREFIX="__",n.REGEX_EMAIL=b,n.REGEX_ISO=O,n.REGEX_JSON=T,n.SELECT=m,n.STRING=e,n.SUBMIT="submit",n.SYMBOL=c,n.SYNTAX_ERROR="syntaxError",n.TYPE_ERROR="typeError",n.UNDEFINED=r,n.ctorName=W,n.ensureArray=function(n){return n?J(n)?n:[n]:[]},n.getType=G,n.getTypeName=B,n.isArguments=function(n){try{if(H(n.length)&&x(n.callee))return!0}catch(n){if(-1!==n.message.indexOf("callee"))return!0}return!1},n.isArray=J,n.isAsyncFunction=function(n){return G(n)===f},n.isBoolean=Z,n.isBrowser=D,n.isBuffer=function(n){return!(!n.constructor||!x(n.constructor.isBuffer))&&n.constructor.isBuffer(n)},n.isButton=sn,n.isClass=function(n){return!!x(n)&&/^class /.test(Function.prototype.toString.call(n))},n.isDate=function(n){return n instanceof Date||x(n.toDateString)&&x(n.getDate)&&x(n.setDate)},n.isDefined=function(n){return!z(n)},n.isDeno=C,n.isDev=h,n.isElement=en,n.isEmail=function(n){return!(n.length>320)&&b.test(n)},n.isEmpty=function(n){return!(!Y(n)&&(J(n)?n.length:V(n)||q(n)?n.size:X(n)&&Object.keys(n).length))},n.isError=K,n.isErrorLike=function(n){return $(n)&&M(n.message)&&M(n.name)},n.isFalse=function(n){return!1===n},n.isFalsy=function(n){return!n},n.isForm=un,n.isFunction=x,n.isGenerator=function(n){return $(n)&&x(n.throw)&&x(n.return)&&x(n.next)},n.isGeneratorFunction=function(n){return G(n)===l},n.isHidden=function(n,t){if(!n||getComputedStyle(n).visibility===y)return!0;for(;n;){if(null!=t&&n===t)return!1;if(getComputedStyle(n).display===p)return!0;n=n.parentElement}return!1},n.isInput=cn,n.isIsoDate=function(n){return O.test(n)},n.isJsDom=I,n.isJson=function(n){if(!M(n)||!T.test(n))return!1;try{JSON.parse(n)}catch(n){return!1}return!0},n.isLocalHost=F,n.isMap=q,n.isMethod=function(n,t){return X(n)&&x(n[t])},n.isNoOp=function(n){if(!x(n))return!1;var t=/{(\r|\n|\s)*}/gm,e=d+"";return e===(n.toString().match(t)||[""])[0].replace(t,e)},n.isNode=L,n.isNodeList=function(n){return NodeList.prototype.isPrototypeOf(n)},n.isNodeType=rn,n.isNull=Y,n.isNumber=H,n.isNumberLike=function(n){return!isNaN(parseFloat(n))},n.isObject=X,n.isObjectLike=$,n.isPrimitive=function(n){if(Y(n))return!0;switch(typeof n){case e:case s:case c:case r:case o:return!0;default:return!1}},n.isProd=v,n.isPromise=function(n){return!!n&&!!(!z(Promise)&&n instanceof Promise||n.then&&x(n.then))},n.isRegex=function(n){return n instanceof RegExp},n.isSelect=an,n.isSet=V,n.isStaging=R,n.isString=M,n.isSymbol=k,n.isSyntaxError=tn,n.isTrue=function(n){return!0===n},n.isTruthy=function(n){return!(M(n)&&"false"===n.toLowerCase()||!n)},n.isTypeError=nn,n.isUndefined=z,n.isWebWorker=j,n.noOp=d});
//# sourceMappingURL=type-utils.umd.js.map
{
"name": "@analytics/type-utils",
"version": "0.6.1",
"version": "0.6.2",
"description": "Tiny runtime type checking utils",

@@ -54,3 +54,3 @@ "author": "David Wells",

},
"gitHead": "587a2ec0e20db0b24151fd69626d0fa19ac22131"
"gitHead": "904e8bc88a9de0d9e55ecbe1e87ac2ee2a454e32"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc