@builder.io/sdk 1.1.28-2 → 1.1.28-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("@builder.io/sdk",["exports"],t):t(e.BuilderIO={})}(this,function(exports){"use strict";var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};!function(){if("undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);function nextTick(e){if("function"==typeof setImmediate&&"undefined"==typeof window)return setImmediate(e);if(isSafari||"undefined"==typeof MutationObserver)setTimeout(e);else{var t=0,n=new MutationObserver(function(){return e()}),i=document.createTextNode("");n.observe(i,{characterData:!0}),i.data=String(t=++t)}}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),i=0;i<n.length;i++){var r=n[i].split("=");try{t[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}catch(e){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(i)}return t},e.deepen=function(e){var t={};for(var n in e){for(var i=t,r=n.split("."),o=r.pop(),s=0,a=r;s<a.length;s++){var u=a[s];assertAllowedPropertyName(u),i=i[u]=i[u]||{}}i[o]=e[n]}return t},e.flatten=function(e,t,n){for(var i in void 0===n&&(n={}),e){var r=e[i],o=t?t+"."+i:i;r&&"object"==typeof r?this.flatten(r,o,n):n[o]=r}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw new Error('Property name "'.concat(e,'" is not allowed'))}var version="1.1.28-1",Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed},enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){this.value=e,this.listeners=[],this.errorListeners=[]}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var i=e.subscribe(function(e){t(e),i.unsubscribe()},function(e){n(e),i.unsubscribe()})})},e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var i=!1;try{var r=t.then;isFunction(r)?r.call(t,function(e){i||n._resolve(e),i=!0},function(e){i||n._reject(e),i=!0}):this._fulfill(t)}catch(e){i||this._reject(e)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var i=this;switch(this._state){case State.Pending:return new e(function(e,r){i._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(e){r(e)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):r(t)}catch(e){r(e)}})})});case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(i._value)):e(i._value)}catch(e){n(e)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(i._value)):t(i._value)}catch(e){t(e)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise,serverOnlyRequire;try{serverOnlyRequire=eval("require")}catch(e){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire,fetch;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,i){var r=new XMLHttpRequest;if(r.open(t.method||"get",e,!0),t.headers)for(var o in t.headers)r.setRequestHeader(o,t.headers[o]);function s(){var e=[],t=[],n={},i=void 0;return r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(r,o,s){var a=o;return e.push(a=a.toLowerCase()),t.push([a,s]),i=n[a],n[a]=i?"".concat(i,",").concat(s):s,""}),{ok:2==(r.status/100|0),status:r.status,statusText:r.statusText,url:r.responseURL,clone:s,text:function(){return promiseResolve(r.responseText)},json:function(){return promiseResolve(r.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([r.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase()in n}}}}r.withCredentials="include"===t.credentials,r.onload=function(){n(s())},r.onerror=i,r.send(t.body)})}function assign(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])}return i}function throttle(e,t,n){var i,r,o;void 0===n&&(n={});var s=null,a=0,u=function(){a=!1===n.leading?0:Date.now(),s=null,o=e.apply(i,r),s||(i=r=null)};return function(){var c=Date.now();a||!1!==n.leading||(a=c);var l=t-(c-a);return i=this,r=arguments,l<=0||l>t?(s&&(clearTimeout(s),s=null),a=c,o=e.apply(i,r),s||(i=r=null)):s||!1===n.trailing||(s=setTimeout(u,l)),o}}globalThis.fetch&&(fetch=globalThis.fetch),"undefined"==typeof window&&(null!==fetch&&void 0!==fetch||(fetch=serverOnlyRequire$1("node-fetch"))),null!==fetch&&void 0!==fetch||(fetch=tinyFetch);var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];switch(i.trigger){case"pageLoad":this.triggerAnimation(i);break;case"hover":this.bindHoverAnimation(i);break;case"scrollInView":this.bindScrollInViewAnimation(i)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),i=getComputedStyle(t),r=0,o=[e.steps[0].styles,e.steps[e.steps.length-1].styles];r<o.length;r++)for(var s=o[r],a=0,u=n;a<u.length;a++){var c=u[a];c in s||(s[c]=i[c])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,i=e.steps;n<i.length;n++){var r=i[n];for(var o in r.styles)-1===t.indexOf(o)&&t.push(o)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var i=e.steps[0].styles,r=e.steps[1].styles;function o(){assign(n.style,i)}o(),n.addEventListener("mouseenter",function(){assign(n.style,r)}),n.addEventListener("mouseleave",o),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var i=!1;function r(){var t,r,s;!i&&(t=n.getBoundingClientRect(),r=window.innerHeight,s=0*r,t.bottom>s&&t.top<r-s)&&(i=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),document.removeEventListener("scroll",o),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(1e3*e.duration+(e.delay||0))+100)}))}var o=throttle(r,200,{leading:!1});var s=e.steps[0].styles;assign(n.style,s),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",o,{capture:!0,passive:!0}),r()}):this.warnElementNotPresent(e.elementId||e.id||"")},e}();function getTopLevelDomain(e){var t=e.split(".");return t.length>2?t.slice(1).join("."):e}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var i=this.response,r=this.request,o=i.getHeader("Set-Cookie")||[],s=void 0!==this.secure?!!this.secure:"https"===r.protocol||r.connection.encrypted,a=new Cookie(e,t,n);if("string"==typeof o&&(o=[o]),!s&&n&&n.secure)throw new Error("Cannot send secure cookie over unencrypted connection");return a.secure=s,n&&"secure"in n&&(a.secure=!!n.secure),a.domain=r.headers.host&&getTopLevelDomain(r.headers.host),pushCookie(o,a),i.setHeader.call(i,"Set-Cookie",o),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw new TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw new TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=Object.assign({},e),r=0,o=t;r<o.length;r++){delete i[o[r]]}return i}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse(e){var t,n=emptyUrl();return""===e||"/"===e[0]?(t=new URL(e,"http://0.0.0.0/"),n.href=t.href,n.href=n.href.slice(14)):(t=new URL(e),n.href=t.href,n.port=""===t.port?null:t.port,n.hash=""===t.hash?null:t.hash,n.host=t.host,n.hostname=t.hostname,n.href=t.href,n.pathname=t.pathname,n.protocol=t.protocol,n.slashes="/"===e[t.protocol.length]),n.search=t.search,n.query=t.search.slice(1),n.path="".concat(t.pathname).concat(t.search),n.pathname=t.pathname,n}function pad(e,t){for(;e.length<t;)e="0"+e;return e}function fold(e,t){var n,i;if(0===t.length)return e;for(n=0,i=t.length;n<i;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e<0?-2*e:e}function foldObject(e,t,n){return Object.keys(t).sort().reduce(function(e,i){return foldValue(e,t[i],i,n)},e)}function foldValue(e,t,n,i){var r=fold(fold(fold(e,n),toString(t)),typeof t);if(null===t)return fold(r,"null");if(void 0===t)return fold(r,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==i.indexOf(t))return fold(r,"[Circular]"+n);i.push(t);var o=foldObject(r,t,i);if(!("valueOf"in t)||"function"!=typeof t.valueOf)return o;try{return fold(o,String(t.valueOf()))}catch(e){return fold(o,"[valueOf exception]"+(e.stack||e.message))}}return fold(r,t.toString())}function toString(e){return Object.prototype.toString.call(e)}function sum(e){return pad(foldValue(0,e,"",[]).toString(16),8)}var hashSum=sum;function toError(e){return e instanceof Error?e:new Error(String(e))}function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),i=0;i<n.length;i++){var r=n[i].split("=");if(decodeURIComponent(r[0])===t)return decodeURIComponent(r[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},i=0,r=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"];i<r.length;i++){var o=r[i];n[o]=t[o]}return!n.pathname&&""!==n.pathname||"string"!=typeof n.pathname||0===n.pathname.indexOf("/")||(n.pathname="/"+n.pathname),n}},parse$1=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse;function setCookie(e,t,n){try{var i="";n&&(i="; expires="+n.toUTCString());var r=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+i+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(r?";secure ; SameSite=None":"")}catch(e){console.warn("Could not set cookie",e)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){console.warn("Could not get cookie",e)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,i=n.length>>>0,r=arguments[1],o=0;o<i;o++){var s=n[o];if(t.call(r,s,o,n))return s}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,i,r,o){void 0===t&&(t=null),void 0===r&&(r=!1),void 0===o&&(o=null);var s=this;if(this.request=n,this.response=i,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){s.processEventsQueue(),s.setCookie(sessionStorageKey,s.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!(this.isDevelopmentEnv||e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!r&&e.singletonInstance)return e.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),o&&(this.authToken=o),isBrowser&&this.bindMessageListeners(),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,s.sessionId)}catch(e){console.debug("Session storage error",e)}s.eventsQueue.length&&s.throttledClearEventsQueue(),s.cookieQueue.length&&(s.cookieQueue.forEach(function(e){s.setCookie(e[0],e[1])}),s.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return e.register=function(t,n){var i=this.registry[t];if(i||(i=this.registry[t]=[]),i.push(n),e.isBrowser){var r={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(r,"*"),parent!==window&&window.postMessage(r,"*")}catch(e){console.debug("Could not postmessage",e)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(e){this.actions.push(e)},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t===e||e.endsWith(".".concat(t))})>-1},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw new Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(e.isBrowser){var n=window.System;if(n)return n.import("https://cdn.builder.io/systemjs/".concat(t));console.warn("System.js not available. Please include System.js when using Builder.import")}else console.warn("Builder.import used on the server - this should only be used in the browser")},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.prepareComponentSpecToSend=function(e){return __assign(__assign(__assign({},e),e.inputs&&{inputs:e.inputs.map(function(e){for(var t,n=0,i=["onChange","showIf"];n<i.length;n++){var r=i[n];if(e[r]&&"function"==typeof e[r]){var o=e[r];e=__assign(__assign({},e),((t={})[r]="return (".concat(o.toString(),").apply(this, arguments)"),t))}}return e})}),{hooks:Object.keys(e.hooks||{}).reduce(function(t,n){var i=e.hooks&&e.hooks[n];return i?(t[n]="string"==typeof i?i:"return (".concat(i.toString(),").apply(this, arguments)"),t):t},{}),class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,i=__assign(__assign({class:e},e.builderOptions),t);if(this.addComponent(i),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var r=this.prepareComponentSpecToSend(i);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:r},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var i,r=__assign(__assign({},e),{class:n});r.name||(r.name=n.name),t.addComponent(r);var o=t.prepareComponentSpecToSend(r);return isBrowser&&(null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.registerComponent",data:o},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component},enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=__assign(__assign({},e.overrideUserAttributes),this.trackingUserAttributes),i=0,r=t;i<r.length;i++){var o=r[i];o.data.metadata||(o.data.metadata={}),o.data.metadata.user||(o.data.metadata.user={}),Object.assign(o.data.metadata.user,n,o.data.metadata.user)}var s=this.host;fetch("".concat(s,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&Boolean(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var i=n?e:e.parentElement;do{if(!i)return null;if(t(i))return i}while(i=i.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return Boolean(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,i){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var r=this.apiKey;if(r){for(var o=JSON.parse(JSON.stringify({type:t,data:__assign(__assign({},omit(n,"meta")),{metadata:__assign(__assign({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:r,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),s=0,a=this.trackingHooks;s<a.length;s++){var u=(0,a[s])(o,i||{});u&&(o=u)}this.eventsQueue.push(o),this.canTrack&&this.throttledClearEventsQueue()}else console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("«YOUR-API-KEY»");` as early as possible in your application\'s code.')}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(e){console.debug("Session storage error",e)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(e){console.debug("Cookie setting error",e)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(e){console.debug("Local storage error",e)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(e){console.debug("Session storage error",e)}}),n},e.prototype.trackImpression=function(t,n,i,r){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:i},r)},e.prototype.trackConversion=function(t,n,i,r,o){if(!isIframe&&isBrowser&&!e.isPreviewing){var s="object"==typeof n?n:r,a="string"==typeof n?n:void 0;this.track("conversion",{amount:t,variationId:i,meta:s,contentId:a},o)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env},enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,i,r,o){if(void 0===i&&(i=!1),!isIframe&&isBrowser&&!e.isPreviewing){var s=r&&r.target,a=s&&this.findBuilderParent(s),u={};if(r){var c=r.clientX,l=r.clientY;if(s){var d=c-(g=s.getBoundingClientRect()).left,h=l-g.top,p=m(d/g.width),f=m(h/g.height);u.targetOffset={x:p,y:f}}if(a){var g;d=c-(g=a.getBoundingClientRect()).left,h=l-g.top,p=m(d/g.width),f=m(h/g.height);u.builderTargetOffset={x:p,y:f}}}var v=a&&(a.getAttribute("builder-id")||a.id);v&&a&&(u.builderElementIndex=[].slice.call(document.getElementsByClassName(v)).indexOf(a)),this.track("click",{contentId:t,metadata:u,variationId:n!==t?n:void 0,unique:!i,targetBuilderElement:v||void 0},o)}function m(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search,t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var i in n)n.hasOwnProperty(i)&&this.setTestCookie(i,n[i])},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation(),n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),i=n.builder;if(i){var r=i.userAttributes,o=i.overrides,s=i.env,a=(i.host,i.api),u=i.cachebust,c=i.noCache,l=i.preview,d=i.editing,h=i.frameEditing,p=i.options,f=i.params;if(r&&this.setUserAttributes(r),p&&(this.queryOptions=__assign(__assign({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs})),o&&(this.overrides=o),validEnvList.indexOf(s||a)>-1&&(this.env=s||a),e.isEditing){var g=h||d||l;g&&"true"!==g&&(this.editingModel=g)}u&&(this.cachebust=!0),c&&(this.noCache=!0),l&&(this.preview=!0),n&&(this.overrideParams=f)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;isBrowser&&addEventListener("message",function(n){var i,r,o,s,a,u=parse$1(n.origin),c=-1===["builder.register","builder.registerComponent"].indexOf(null===(i=n.data)||void 0===i?void 0:i.type),l=u.hostname&&e.isTrustedHost(u.hostname);if(!c||l){var d=n.data;if(d)switch(d.type){case"builder.ping":null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var h=d.data;if(!h)break;var p=h.type,f=h.info,g=e.registry[p];g||(g=e.registry[p]=[]),g.push(f),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var v=d.data;if(!v)break;Object.assign(e.settings,v),e.settingsChange.next(e.settings);break;case"builder.registerEditor":if(n.source===window)break;var m=d.data;if(!m)break;var y=!!m.component;e.editors.every(function(t,n){return m.name!==t.name||!(t.component&&!y)&&(e.editors[n]=t,!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(d.data);break;case"builder.contentUpdate":var b=d.data.key||d.data.alias||d.data.entry||d.data.modelName,w=d.data.data,k=t.observersByKey[b];k&&!t.noEditorUpdates[b]&&k.next([w]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=d.data.model;break;case"builder.registerComponent":var C=d.data;e.addComponent(C);break;case"builder.blockContentLoading":"string"==typeof d.data.model&&(t.blockContentLoading=d.data.model);break;case"builder.editingMode":d.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var S=d.data;e.editingPage=S;break;case"builder.overrideUserAttributes":var _=d.data;assign(e.overrideUserAttributes,_),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var x=d.data,T=x.variationId,B=x.contentId;T&&B&&(t.setTestCookie(B,T),t.flushGetContentQueue(!0));break;case"builder.evaluate":var I=d.data.text,P=d.data.arguments||[],O=d.data.id,E=new Function(I),A=void 0,j=null;try{A=E.apply(t,P)}catch(e){j=toError(e)}j?null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.evaluateError",data:{id:O,error:j.message}},"*"):A&&"function"==typeof A.then?A.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:O,result:e}},"*")}).catch(console.error):null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateResult",data:{result:A,id:O}},"*")}}})},Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return Boolean(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,i,r){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),i&&(this.response=i),this.canTrack=t,this.apiKey=e,r&&(this.authToken=r),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse$1(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse$1(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},i=t.match(/Tablet|iPad/i),r=this.getLocation();return __assign({urlPath:r.pathname,host:r.host||r.hostname,device:i?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var i=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken)):(i=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken)).setUserAttributes(this.getUserAttributes()),i.queueGetContent(t,n).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var i=n&&n.data;return i?(void 0!==i.blocksString&&(i.blocks=JSON.parse(i.blocksString),delete i.blocksString),{data:i,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var i=this;void 0===n&&(n={});var r=n.key||n.alias||t,o=this.editingModel===t,s=this.observersByKey[r];"DEMO"!==this.apiKey||this.overrides[r]||n.initialContent||(n.initialContent=[]);var a=n.initialContent;if(s&&(!s.value||n.cache))return s.value&&nextTick(function(){s.next(s.value)}),s;if(o&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!a)if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push(__assign(__assign({},n),{model:t,key:r})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var u=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){i.flushGetContentQueue(!1,u)})}else nextTick(function(){i.flushGetContentQueue()});var c=new BehaviorSubject(null);return this.observersByKey[r]=c,n.noEditorUpdates&&(this.noEditorUpdates[r]=!0),a&&nextTick(function(){c.next(a)}),c},Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.flushGetContentQueue=function(t,n){var i=this;if(void 0===t&&(t=!1),!this.apiKey)throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(t||this.getContentQueue){var r=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var o=__assign(__assign({omit:r[0].omit||"meta.componentsUsed",apiKey:this.apiKey},r[0].options),this.queryOptions);r[0].fields&&(o.fields=r[0].fields),r[0].format&&(o.format=r[0].format);var s="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},a=r&&r[0].userAttributes?r[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(r.find(function(e){return!!e.includeUrl})){var u=this.getLocation();u.origin&&(o.url="".concat(u.origin).concat(u.pathname).concat(u.search))}var c=null===n||void 0===n?void 0:n.find(function(e){return e.url});if((null===c||void 0===c?void 0:c.url)&&(a.urlPath=c.url.split("?")[0]),o.userAttributes=a,t||n||(this.priorContentQueue=r,this.getContentQueue=null),(this.cachebust||isIframe||s.cachebust||s["builder.cachebust"]||"production"!==this.env)&&(o.cachebust=!0),e.isEditing&&(o.isEditing=!0),(this.noCache||"production"!==this.env)&&(o.noCache=!0),size(this.overrides))for(var l in this.overrides)this.overrides.hasOwnProperty(l)&&(o["overrides.".concat(l)]=this.overrides[l]);e.isReact||(o.prerender=!0);for(var d=0,h=r;d<h.length;d++){var p=h[d];p.format&&(o.format=p.format),p.static&&(o.static=p.static),p.cachebust&&(o.cachebust=p.cachebust),isPositiveNumber(p.cacheSeconds)&&(o.cacheSeconds=p.cacheSeconds),isPositiveNumber(p.staleCacheSeconds)&&(o.staleCacheSeconds=p.staleCacheSeconds);for(var f=0,g=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"];f<g.length;f++){var v=p[l=g[f]];void 0!==v&&(o.options=o.options||{},o.options[p.key]=o.options[p.key]||{},o.options[p.key][l]=JSON.stringify(v))}}this.preview&&(o.preview="true");var m=Object.keys(o).length>0,y=this.host,b=r.map(function(e){return encodeURIComponent(e.key)}).join(",");if(this.overrideParams)assign(o,omit(QueryString.parse(this.overrideParams),"apiKey"));var w=QueryString.stringifyDeep(o),k=o.format,C={headers:{}};this.authToken&&(C.headers=__assign(__assign({},C.headers),{Authorization:"Bearer ".concat(this.authToken)}));var S="solid"===k||"react"===k?"codegen":"query",_="".concat(y,"/api/v1/").concat(S,"/").concat(this.apiKey,"/").concat(b)+(o&&m?"?".concat(w):"");return fetch(_,C).then(function(e){return e.json()}).then(function(t){for(var n=0,o=r;n<o.length;n++){var s=o[n],a=s.key;if(s.model!==i.blockContentLoading||s.noEditorUpdates){i.editingModel===s.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:s}},"*");var u=i.observersByKey[a];if(!u)return;var c=t[a],l=c;if(c){var d=e.isServer?l:i.processResultsForTests(l);u.next(d)}else{if((i.getLocation().search||"").includes("builder.preview="+s.model)){u.next([{id:"preview",name:"Preview",data:{}}])}u.next([])}}}},function(e){for(var t=0,n=r;t<n.length;t++){var o=n[t],s=i.observersByKey[o.key];if(!s)return;s.error(e)}})}},e.prototype.processResultsForTests=function(e){var t,n=this,i=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),i=t===e.id?e:e.variations[t];if(i)return __assign(__assign({},e),{data:i.data,variationId:t,testVariationId:t,testVariationName:i.name});if(n.canTrack&&e.variations&&size(e.variations)){var r=0,o=Math.random();for(var s in e.variations){var a=e.variations[s];if(o<(r+=a.testRatio)){n.setTestCookie(e.id,a.id);var u=a.name||(a.id===e.id?"Default variation":"");return __assign(__assign({},e),{data:a.data,variationId:a.id,testVariationId:a.id,variationName:u,testVariationName:u})}}n.setTestCookie(e.id,e.id)}return __assign(__assign(__assign({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:i}},"*")),i},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(this.canTrack){var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)}this.cookieQueue.push([e,t])},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,i){return!this.cookies||e.isServer&&e.isStatic?e.isBrowser&&setCookie(t,n,i):this.cookies.set(t,n,{expires:i,secure:"https:"===this.getLocation().protocol})},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw new Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var i=this;return e.isBrowser?n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey):(i=new e(n.apiKey||this.apiKey,n.req,n.res)).setUserAttributes(this.getUserAttributes()),i.getContent(t,__assign(__assign({limit:30},n),{key:n.key||e.isBrowser?"".concat(t,":").concat(hashSum(omit(n,"initialContent","req","res"))):void 0})).promise()},e.VERSION=version,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["builder.io","localhost"],e.plugins=[],e.actions=[],e.registry={},e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=Boolean(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=Boolean(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder,exports.Builder=Builder,exports.BuilderComponent=BuilderComponent,exports.isBrowser=isBrowser,exports.BehaviorSubject=BehaviorSubject,exports.Subscription=Subscription,exports.builder=builder,Object.defineProperty(exports,"__esModule",{value:!0})});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("@builder.io/sdk",["exports"],t):t(e.BuilderIO={})}(this,function(exports){"use strict";var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};!function(){if("undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);function nextTick(e){if("function"==typeof setImmediate&&"undefined"==typeof window)return setImmediate(e);if(isSafari||"undefined"==typeof MutationObserver)setTimeout(e);else{var t=0,n=new MutationObserver(function(){return e()}),i=document.createTextNode("");n.observe(i,{characterData:!0}),i.data=String(t=++t)}}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),i=0;i<n.length;i++){var r=n[i].split("=");try{t[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}catch(e){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(i)}return t},e.deepen=function(e){var t={};for(var n in e){for(var i=t,r=n.split("."),o=r.pop(),s=0,a=r;s<a.length;s++){var u=a[s];assertAllowedPropertyName(u),i=i[u]=i[u]||{}}i[o]=e[n]}return t},e.flatten=function(e,t,n){for(var i in void 0===n&&(n={}),e){var r=e[i],o=t?t+"."+i:i;r&&"object"==typeof r?this.flatten(r,o,n):n[o]=r}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw new Error('Property name "'.concat(e,'" is not allowed'))}var version="1.1.28-2",Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed},enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){this.value=e,this.listeners=[],this.errorListeners=[]}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++){(0,n[t])(e)}},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var i=e.subscribe(function(e){t(e),i.unsubscribe()},function(e){n(e),i.unsubscribe()})})},e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var i=!1;try{var r=t.then;isFunction(r)?r.call(t,function(e){i||n._resolve(e),i=!0},function(e){i||n._reject(e),i=!0}):this._fulfill(t)}catch(e){i||this._reject(e)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var i=this;switch(this._state){case State.Pending:return new e(function(e,r){i._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(e){r(e)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):r(t)}catch(e){r(e)}})})});case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(i._value)):e(i._value)}catch(e){n(e)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(i._value)):t(i._value)}catch(e){t(e)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise,serverOnlyRequire;try{serverOnlyRequire=eval("require")}catch(e){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire,fetch;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,i){var r=new XMLHttpRequest;if(r.open(t.method||"get",e,!0),t.headers)for(var o in t.headers)r.setRequestHeader(o,t.headers[o]);function s(){var e=[],t=[],n={},i=void 0;return r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(r,o,s){var a=o;return e.push(a=a.toLowerCase()),t.push([a,s]),i=n[a],n[a]=i?"".concat(i,",").concat(s):s,""}),{ok:2==(r.status/100|0),status:r.status,statusText:r.statusText,url:r.responseURL,clone:s,text:function(){return promiseResolve(r.responseText)},json:function(){return promiseResolve(r.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([r.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase()in n}}}}r.withCredentials="include"===t.credentials,r.onload=function(){n(s())},r.onerror=i,r.send(t.body)})}function assign(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])}return i}function throttle(e,t,n){var i,r,o;void 0===n&&(n={});var s=null,a=0,u=function(){a=!1===n.leading?0:Date.now(),s=null,o=e.apply(i,r),s||(i=r=null)};return function(){var c=Date.now();a||!1!==n.leading||(a=c);var l=t-(c-a);return i=this,r=arguments,l<=0||l>t?(s&&(clearTimeout(s),s=null),a=c,o=e.apply(i,r),s||(i=r=null)):s||!1===n.trailing||(s=setTimeout(u,l)),o}}globalThis.fetch&&(fetch=globalThis.fetch),"undefined"==typeof window&&(null!==fetch&&void 0!==fetch||(fetch=serverOnlyRequire$1("node-fetch"))),null!==fetch&&void 0!==fetch||(fetch=tinyFetch);var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];switch(i.trigger){case"pageLoad":this.triggerAnimation(i);break;case"hover":this.bindHoverAnimation(i);break;case"scrollInView":this.bindScrollInViewAnimation(i)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),i=getComputedStyle(t),r=0,o=[e.steps[0].styles,e.steps[e.steps.length-1].styles];r<o.length;r++)for(var s=o[r],a=0,u=n;a<u.length;a++){var c=u[a];c in s||(s[c]=i[c])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,i=e.steps;n<i.length;n++){var r=i[n];for(var o in r.styles)-1===t.indexOf(o)&&t.push(o)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var i=e.steps[0].styles,r=e.steps[1].styles;function o(){assign(n.style,i)}o(),n.addEventListener("mouseenter",function(){assign(n.style,r)}),n.addEventListener("mouseleave",o),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})}):this.warnElementNotPresent(e.elementId||e.id||"")},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));n.length?Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var i=!1;function r(){var t,r,s;!i&&(t=n.getBoundingClientRect(),r=window.innerHeight,s=0*r,t.bottom>s&&t.top<r-s)&&(i=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),document.removeEventListener("scroll",o),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(1e3*e.duration+(e.delay||0))+100)}))}var o=throttle(r,200,{leading:!1});var s=e.steps[0].styles;assign(n.style,s),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",o,{capture:!0,passive:!0}),r()}):this.warnElementNotPresent(e.elementId||e.id||"")},e}();function getTopLevelDomain(e){var t=e.split(".");return t.length>2?t.slice(1).join("."):e}var fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var i=this.response,r=this.request,o=i.getHeader("Set-Cookie")||[],s=void 0!==this.secure?!!this.secure:"https"===r.protocol||r.connection.encrypted,a=new Cookie(e,t,n);if("string"==typeof o&&(o=[o]),!s&&n&&n.secure)throw new Error("Cannot send secure cookie over unencrypted connection");return a.secure=s,n&&"secure"in n&&(a.secure=!!n.secure),a.domain=r.headers.host&&getTopLevelDomain(r.headers.host),pushCookie(o,a),i.setHeader.call(i,"Set-Cookie",o),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw new TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw new TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=Object.assign({},e),r=0,o=t;r<o.length;r++){delete i[o[r]]}return i}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse(e){var t,n=emptyUrl();return""===e||"/"===e[0]?(t=new URL(e,"http://0.0.0.0/"),n.href=t.href,n.href=n.href.slice(14)):(t=new URL(e),n.href=t.href,n.port=""===t.port?null:t.port,n.hash=""===t.hash?null:t.hash,n.host=t.host,n.hostname=t.hostname,n.href=t.href,n.pathname=t.pathname,n.protocol=t.protocol,n.slashes="/"===e[t.protocol.length]),n.search=t.search,n.query=t.search.slice(1),n.path="".concat(t.pathname).concat(t.search),n.pathname=t.pathname,n}function pad(e,t){for(;e.length<t;)e="0"+e;return e}function fold(e,t){var n,i;if(0===t.length)return e;for(n=0,i=t.length;n<i;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e<0?-2*e:e}function foldObject(e,t,n){return Object.keys(t).sort().reduce(function(e,i){return foldValue(e,t[i],i,n)},e)}function foldValue(e,t,n,i){var r=fold(fold(fold(e,n),toString(t)),typeof t);if(null===t)return fold(r,"null");if(void 0===t)return fold(r,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==i.indexOf(t))return fold(r,"[Circular]"+n);i.push(t);var o=foldObject(r,t,i);if(!("valueOf"in t)||"function"!=typeof t.valueOf)return o;try{return fold(o,String(t.valueOf()))}catch(e){return fold(o,"[valueOf exception]"+(e.stack||e.message))}}return fold(r,t.toString())}function toString(e){return Object.prototype.toString.call(e)}function sum(e){return pad(foldValue(0,e,"",[]).toString(16),8)}var hashSum=sum;function toError(e){return e instanceof Error?e:new Error(String(e))}function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),i=0;i<n.length;i++){var r=n[i].split("=");if(decodeURIComponent(r[0])===t)return decodeURIComponent(r[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},i=0,r=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"];i<r.length;i++){var o=r[i];n[o]=t[o]}return!n.pathname&&""!==n.pathname||"string"!=typeof n.pathname||0===n.pathname.indexOf("/")||(n.pathname="/"+n.pathname),n}},parse$1=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse;function setCookie(e,t,n){try{var i="";n&&(i="; expires="+n.toUTCString());var r=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+i+"; path=/"+"; domain=".concat(getTopLevelDomain(location.hostname))+(r?";secure ; SameSite=None":"")}catch(e){console.warn("Could not set cookie",e)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){console.warn("Could not get cookie",e)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,i=n.length>>>0,r=arguments[1],o=0;o<i;o++){var s=n[o];if(t.call(r,s,o,n))return s}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,i,r,o){void 0===t&&(t=null),void 0===r&&(r=!1),void 0===o&&(o=null);var s=this;if(this.request=n,this.response=i,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){s.processEventsQueue(),s.setCookie(sessionStorageKey,s.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!(this.isDevelopmentEnv||e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!r&&e.singletonInstance)return e.singletonInstance;this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),o&&(this.authToken=o),isBrowser&&this.bindMessageListeners(),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,s.sessionId)}catch(e){console.debug("Session storage error",e)}s.eventsQueue.length&&s.throttledClearEventsQueue(),s.cookieQueue.length&&(s.cookieQueue.forEach(function(e){s.setCookie(e[0],e[1])}),s.cookieQueue.length=0)}}),isBrowser&&(this.setTestsFromUrl(),this.getOverridesFromQueryString())}return e.register=function(t,n){var i=this.registry[t];if(i||(i=this.registry[t]=[]),i.push(n),e.isBrowser){var r={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(r,"*"),parent!==window&&window.postMessage(r,"*")}catch(e){console.debug("Could not postmessage",e)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(e){this.actions.push(e)},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t===e||e.endsWith(".".concat(t))})>-1},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw new Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(e.isBrowser){var n=window.System;if(n)return n.import("https://cdn.builder.io/systemjs/".concat(t));console.warn("System.js not available. Please include System.js when using Builder.import")}else console.warn("Builder.import used on the server - this should only be used in the browser")},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.prepareComponentSpecToSend=function(e){return __assign(__assign(__assign({},e),e.inputs&&{inputs:e.inputs.map(function(e){for(var t,n=0,i=["onChange","showIf"];n<i.length;n++){var r=i[n];if(e[r]&&"function"==typeof e[r]){var o=e[r];e=__assign(__assign({},e),((t={})[r]="return (".concat(o.toString(),").apply(this, arguments)"),t))}}return e})}),{hooks:Object.keys(e.hooks||{}).reduce(function(t,n){var i=e.hooks&&e.hooks[n];return i?(t[n]="string"==typeof i?i:"return (".concat(i.toString(),").apply(this, arguments)"),t):t},{}),class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,i=__assign(__assign({class:e},e.builderOptions),t);if(this.addComponent(i),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var r=this.prepareComponentSpecToSend(i);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:r},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var i,r=__assign(__assign({},e),{class:n});r.name||(r.name=n.name),t.addComponent(r);var o=t.prepareComponentSpecToSend(r);return isBrowser&&(null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.registerComponent",data:o},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component},enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=__assign(__assign({},e.overrideUserAttributes),this.trackingUserAttributes),i=0,r=t;i<r.length;i++){var o=r[i];o.data.metadata||(o.data.metadata={}),o.data.metadata.user||(o.data.metadata.user={}),Object.assign(o.data.metadata.user,n,o.data.metadata.user)}var s=this.host;fetch("".concat(s,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:{"content-type":"application/json"},mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&Boolean(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var i=n?e:e.parentElement;do{if(!i)return null;if(t(i))return i}while(i=i.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return Boolean(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,i){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var r=this.apiKey;if(r){for(var o=JSON.parse(JSON.stringify({type:t,data:__assign(__assign({},omit(n,"meta")),{metadata:__assign(__assign({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:r,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),s=0,a=this.trackingHooks;s<a.length;s++){var u=(0,a[s])(o,i||{});u&&(o=u)}this.eventsQueue.push(o),this.canTrack&&this.throttledClearEventsQueue()}else console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("«YOUR-API-KEY»");` as early as possible in your application\'s code.')}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(e){console.debug("Session storage error",e)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(e){console.debug("Cookie setting error",e)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(e){console.debug("Local storage error",e)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(e){console.debug("Session storage error",e)}}),n},e.prototype.trackImpression=function(t,n,i,r){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:i},r)},e.prototype.trackConversion=function(t,n,i,r,o){if(!isIframe&&isBrowser&&!e.isPreviewing){var s="object"==typeof n?n:r,a="string"==typeof n?n:void 0;this.track("conversion",{amount:t,variationId:i,meta:s,contentId:a},o)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env},enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,i,r,o){if(void 0===i&&(i=!1),!isIframe&&isBrowser&&!e.isPreviewing){var s=r&&r.target,a=s&&this.findBuilderParent(s),u={};if(r){var c=r.clientX,l=r.clientY;if(s){var d=c-(g=s.getBoundingClientRect()).left,h=l-g.top,p=m(d/g.width),f=m(h/g.height);u.targetOffset={x:p,y:f}}if(a){var g;d=c-(g=a.getBoundingClientRect()).left,h=l-g.top,p=m(d/g.width),f=m(h/g.height);u.builderTargetOffset={x:p,y:f}}}var v=a&&(a.getAttribute("builder-id")||a.id);v&&a&&(u.builderElementIndex=[].slice.call(document.getElementsByClassName(v)).indexOf(a)),this.track("click",{contentId:t,metadata:u,variationId:n!==t?n:void 0,unique:!i,targetBuilderElement:v||void 0},o)}function m(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search,t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var i in n)n.hasOwnProperty(i)&&this.setTestCookie(i,n[i])},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation(),n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),i=n.builder;if(i){var r=i.userAttributes,o=i.overrides,s=i.env,a=(i.host,i.api),u=i.cachebust,c=i.noCache,l=i.preview,d=i.editing,h=i.frameEditing,p=i.options,f=i.params;if(r&&this.setUserAttributes(r),p&&(this.queryOptions=__assign(__assign({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs})),o&&(this.overrides=o),validEnvList.indexOf(s||a)>-1&&(this.env=s||a),e.isEditing){var g=h||d||l;g&&"true"!==g&&(this.editingModel=g)}u&&(this.cachebust=!0),c&&(this.noCache=!0),l&&(this.preview=!0),n&&(this.overrideParams=f)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;isBrowser&&addEventListener("message",function(n){var i,r,o,s,a,u=parse$1(n.origin),c=-1===["builder.register","builder.registerComponent"].indexOf(null===(i=n.data)||void 0===i?void 0:i.type),l=u.hostname&&e.isTrustedHost(u.hostname);if(!c||l){var d=n.data;if(d)switch(d.type){case"builder.ping":null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var h=d.data;if(!h)break;var p=h.type,f=h.info,g=e.registry[p];g||(g=e.registry[p]=[]),g.push(f),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var v=d.data;if(!v)break;Object.assign(e.settings,v),e.settingsChange.next(e.settings);break;case"builder.registerEditor":if(n.source===window)break;var m=d.data;if(!m)break;var y=!!m.component;e.editors.every(function(t,n){return m.name!==t.name||!(t.component&&!y)&&(e.editors[n]=t,!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(d.data);break;case"builder.contentUpdate":var b=d.data.key||d.data.alias||d.data.entry||d.data.modelName,w=d.data.data,k=t.observersByKey[b];k&&!t.noEditorUpdates[b]&&k.next([w]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=d.data.model;break;case"builder.registerComponent":var C=d.data;e.addComponent(C);break;case"builder.blockContentLoading":"string"==typeof d.data.model&&(t.blockContentLoading=d.data.model);break;case"builder.editingMode":d.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var S=d.data;e.editingPage=S;break;case"builder.overrideUserAttributes":var _=d.data;assign(e.overrideUserAttributes,_),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var x=d.data,T=x.variationId,B=x.contentId;T&&B&&(t.setTestCookie(B,T),t.flushGetContentQueue(!0));break;case"builder.evaluate":var I=d.data.text,P=d.data.arguments||[],O=d.data.id,E=new Function(I),A=void 0,j=null;try{A=E.apply(t,P)}catch(e){j=toError(e)}j?null===(s=window.parent)||void 0===s||s.postMessage({type:"builder.evaluateError",data:{id:O,error:j.message}},"*"):A&&"function"==typeof A.then?A.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:O,result:e}},"*")}).catch(console.error):null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateResult",data:{result:A,id:O}},"*")}}})},Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return Boolean(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,i,r){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),i&&(this.response=i),this.canTrack=t,this.apiKey=e,r&&(this.authToken=r),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse$1(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse$1(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},i=t.match(/Tablet|iPad/i),r=this.getLocation();return __assign({urlPath:r.pathname,host:r.host||r.hostname,device:i?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var i=this;return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken)):(i=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken)).setUserAttributes(this.getUserAttributes()),i.queueGetContent(t,n).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var i=n&&n.data;return i?(void 0!==i.blocksString&&(i.blocks=JSON.parse(i.blocksString),delete i.blocksString),{data:i,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var i=this;void 0===n&&(n={});var r=n.key||n.alias||t,o=this.editingModel===t,s=this.observersByKey[r];"DEMO"!==this.apiKey||this.overrides[r]||n.initialContent||(n.initialContent=[]);var a=n.initialContent;if(s&&(!s.value||n.cache))return s.value&&nextTick(function(){s.next(s.value)}),s;if(o&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!a)if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push(__assign(__assign({},n),{model:t,key:r})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var u=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){i.flushGetContentQueue(!1,u)})}else nextTick(function(){i.flushGetContentQueue()});var c=new BehaviorSubject(null);return this.observersByKey[r]=c,n.noEditorUpdates&&(this.noEditorUpdates[r]=!0),a&&nextTick(function(){c.next(a)}),c},Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.flushGetContentQueue=function(t,n){var i=this;if(void 0===t&&(t=!1),!this.apiKey)throw new Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(t||this.getContentQueue){var r=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var o=__assign(__assign({omit:r[0].omit||"meta.componentsUsed",apiKey:this.apiKey},r[0].options),this.queryOptions);r[0].fields&&(o.fields=r[0].fields),r[0].format&&(o.format=r[0].format);var s="undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):{},a=r&&r[0].userAttributes?r[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(r.find(function(e){return!!e.includeUrl})){var u=this.getLocation();u.origin&&(o.url="".concat(u.origin).concat(u.pathname).concat(u.search))}var c=null===n||void 0===n?void 0:n.find(function(e){return e.url});if((null===c||void 0===c?void 0:c.url)&&(a.urlPath=c.url.split("?")[0]),o.userAttributes=a,t||n||(this.priorContentQueue=r,this.getContentQueue=null),(this.cachebust||isIframe||s.cachebust||s["builder.cachebust"]||"production"!==this.env)&&(o.cachebust=!0),e.isEditing&&(o.isEditing=!0),(this.noCache||"production"!==this.env)&&(o.noCache=!0),size(this.overrides))for(var l in this.overrides)this.overrides.hasOwnProperty(l)&&(o["overrides.".concat(l)]=this.overrides[l]);e.isReact||(o.prerender=!0);for(var d=0,h=r;d<h.length;d++){var p=h[d];p.format&&(o.format=p.format),p.static&&(o.static=p.static),p.cachebust&&(o.cachebust=p.cachebust),isPositiveNumber(p.cacheSeconds)&&(o.cacheSeconds=p.cacheSeconds),isPositiveNumber(p.staleCacheSeconds)&&(o.staleCacheSeconds=p.staleCacheSeconds);for(var f=0,g=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static"];f<g.length;f++){var v=p[l=g[f]];void 0!==v&&(o.options=o.options||{},o.options[p.key]=o.options[p.key]||{},o.options[p.key][l]=JSON.stringify(v))}}this.preview&&(o.preview="true");var m=Object.keys(o).length>0,y=this.host,b=r.map(function(e){return encodeURIComponent(e.key)}).join(",");if(this.overrideParams)assign(o,omit(QueryString.parse(this.overrideParams),"apiKey"));var w=QueryString.stringifyDeep(o),k=o.format,C={headers:{}};this.authToken&&(C.headers=__assign(__assign({},C.headers),{Authorization:"Bearer ".concat(this.authToken)}));var S="solid"===k||"react"===k?"codegen":"query",_="".concat(y,"/api/v1/").concat(S,"/").concat(this.apiKey,"/").concat(b)+(o&&m?"?".concat(w):"");return fetch(_,C).then(function(e){return e.json()}).then(function(t){for(var n=0,o=r;n<o.length;n++){var s=o[n],a=s.key;if(s.model!==i.blockContentLoading||s.noEditorUpdates){i.editingModel===s.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:s}},"*");var u=i.observersByKey[a];if(!u)return;var c=t[a],l=c;if(c){var d=e.isServer?l:i.processResultsForTests(l);u.next(d)}else{if((i.getLocation().search||"").includes("builder.preview="+s.model)){u.next([{id:"preview",name:"Preview",data:{}}])}u.next([])}}}},function(e){for(var t=0,n=r;t<n.length;t++){var o=n[t],s=i.observersByKey[o.key];if(!s)return;s.error(e)}})}},e.prototype.processResultsForTests=function(e){var t,n=this,i=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),i=t===e.id?e:e.variations[t];if(i)return __assign(__assign({},e),{data:i.data,variationId:t,testVariationId:t,testVariationName:i.name});if(n.canTrack&&e.variations&&size(e.variations)){var r=0,o=Math.random();for(var s in e.variations){var a=e.variations[s];if(o<(r+=a.testRatio)){n.setTestCookie(e.id,a.id);var u=a.name||(a.id===e.id?"Default variation":"");return __assign(__assign({},e),{data:a.data,variationId:a.id,testVariationId:a.id,variationName:u,testVariationName:u})}}n.setTestCookie(e.id,e.id)}return __assign(__assign(__assign({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:i}},"*")),i},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(this.canTrack){var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)}this.cookieQueue.push([e,t])},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,i){return!this.cookies||e.isServer&&e.isStatic?e.isBrowser&&setCookie(t,n,i):this.cookies.set(t,n,{expires:i,secure:"https:"===this.getLocation().protocol})},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw new Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var i=this;return e.isBrowser?n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey):(i=new e(n.apiKey||this.apiKey,n.req,n.res)).setUserAttributes(this.getUserAttributes()),i.getContent(t,__assign(__assign({limit:30},n),{key:n.key||e.isBrowser?"".concat(t,":").concat(hashSum(omit(n,"initialContent","req","res"))):void 0})).promise()},e.VERSION=version,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["builder.io","localhost"],e.plugins=[],e.actions=[],e.registry={},e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=Boolean(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=Boolean(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder,exports.Builder=Builder,exports.BuilderComponent=BuilderComponent,exports.isBrowser=isBrowser,exports.BehaviorSubject=BehaviorSubject,exports.Subscription=Subscription,exports.builder=builder,Object.defineProperty(exports,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=index.browser.js.map
package/dist/index.cjs.js CHANGED
@@ -129,7 +129,7 @@ function assertAllowedPropertyName(name) {
129
129
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
130
130
  }
131
131
 
132
- var version = "1.1.28-1";
132
+ var version = "1.1.28-2";
133
133
 
134
134
  var Subscription = /** @class */ (function () {
135
135
  function Subscription(listeners, listener) {
package/dist/index.esm.js CHANGED
@@ -123,7 +123,7 @@ function assertAllowedPropertyName(name) {
123
123
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
124
124
  }
125
125
 
126
- var version = "1.1.28-1";
126
+ var version = "1.1.28-2";
127
127
 
128
128
  var Subscription = /** @class */ (function () {
129
129
  function Subscription(listeners, listener) {
package/dist/index.umd.js CHANGED
@@ -152,7 +152,7 @@
152
152
  throw new Error("Property name \"".concat(name, "\" is not allowed"));
153
153
  }
154
154
 
155
- var version = "1.1.28-1";
155
+ var version = "1.1.28-2";
156
156
 
157
157
  var Subscription = /** @class */ (function () {
158
158
  function Subscription(listeners, listener) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk",
3
- "version": "1.1.28-1",
3
+ "version": "1.1.28-2",
4
4
  "unpkg": "./dist/index.browser.js",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/functions/next-tick.function.ts","../src/classes/query-string.class.ts","../package.json","../src/classes/observable.class.ts","../src/classes/promise.class.ts","../src/functions/server-only-require.function.ts","../src/functions/fetch.function.ts","../src/functions/assign.function.ts","../src/functions/throttle.function.ts","../src/classes/animator.class.ts","../src/types/element.ts","../src/functions/get-top-level-domain.ts","../src/classes/cookies.class.ts","../src/functions/omit.function.ts","../src/types/content.ts","../src/functions/uuid.ts","../src/url.ts","../src/functions/to-error.ts","../src/builder.class.ts","../src/constants/builder.ts","../index.ts","../src/url.test.ts","../src/classes/query-string.class.test.ts","../src/functions/finder.function.ts","../src/typings/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../types.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/events/index.d.ts","../node_modules/@types/minimatch/index.d.ts","../node_modules/@types/glob/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/jest-diff/build/cleanupsemantic.d.ts","../node_modules/pretty-format/build/types.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/types.d.ts","../node_modules/jest-diff/build/difflines.d.ts","../node_modules/jest-diff/build/printdiffs.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/js-cookie/index.d.ts","../node_modules/@types/json-stable-stringify/index.d.ts","../node_modules/@types/node-fetch/index.d.ts","../node_modules/@types/prettier/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/query-string/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/ua-parser-js/index.d.ts","../node_modules/@types/virtual-dom/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"9ee9a79bfc7635fbb8d71fde2d9d11c8d3c53cab239f6d7342c188490174fd93","0860a67bcaf5bcad3044e0f0b532fb61a03e603b6b875590eb7fb096a700ecb1",{"version":"4a4571b4cc9ce541fef2a24933210012f8a2664b604ab757f8b927192be74218","signature":"57e2ae82625c7d84cc9a07cd15b264bfc81090ae1cd46e81672fc4300989a1bd"},"b06a1fd2c80546cb44491cfb0133d5b734bf195a5dddaedc913456803dbdae40","c02816fa89998a9fde98a12ea3baffb94e0198a9a728258f07b24e725503a524","738698eacc079fcd0602a437a46ce744d64c7e1fc7c27b1e8b0fe1163cd8799d",{"version":"2681962c65d1e597bce7c128237e895f159bacd0ad7d2a030e8940fac24e1701","signature":"889dd6eee2524ba18917c64739d20f2971bf1827551dcfe7f250d4059ef8c1ae"},"e460753a5bfea6c688fdaac978465fd567816a14300209cbe95a4aa3baac478b","b86464d97a671a400be3add6091ae3ba0193d3a5ba1894047ee8fcd6631de323","478d83f581f5f77714b59e7c5da666e9fc69cca09cf56722591a12dc1260c872","bb2b31be165f27d6d6c71c78c7f960316137e499256d4c8244fed18eb452a24e","3f20e103b33ff882739ffe6c822e1350318c809563d90de79da56a33f1c97841","80d76a8becbc9c3e90490f7588ca59df12638af3c818a9628b925cbc577c6bdb","4769509030a4e8d0ba4e17608f6019d651fb19f05b866fa3a557a49d21d40fe3",{"version":"8b86ad8122ee5093973d0d4c5974046df60c9b4372a973a0c25575f189cc5fd0","signature":"dd52a1204ccd13bb75097b486954339163ef4832834360721b0346ef3dd503bd"},"78d37663836142d837ddf540d739bae79a34b3ec1ac6a58ffa2023aca2f8595a","b5e9213fff9d34a035e22a03158bddd58cc43a40f11e8153c3b66e67b39e054e","beb97b83d3e7da15164bf82728b4e725010e083fcba0b0a9f80406449eb03c6d",{"version":"67057349ea16b2ad4ff99477cdf454b58c150579ec55191b88ae2a5733d2322d","signature":"e276ebf27804a9c3f7667a4ee253d29312dbfa884ef1abef2aa36c1f5dca676a"},{"version":"0d6341263951e7ae0bb4d6a3b6aec116108cf8f2f7096bfe4f32d6e2274bf63d","signature":"c2a9652d6a4afcc81992b0a24854cf65c22600dfc91709784a5eeaee4dac13cf"},{"version":"390ba944b005719a46df51736d90672897620de7b05644066be2704a78804e70","signature":"3820787bfa2dbdd954f1fec7ba908b6b210d91600b97a2d3e8ec91dfe00d1754"},"d0da49170ec964867e38e8b146d68693c4a4d07a6d1e419ecc17c80513ac99a6","55dcbfaf97bcc8a604f850f17534acc3dba7357b54b5b69546c7c4b5ecc4a62f","b2a503cef0f8759581e77a03e663b4355bb11253ab030c8184f54c7675ac53d8","979be1f15938f4dbafa42d9b22aa870e1f456918535abba11a352533ad36b0f5","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","8d29e25413cb756265753e20fffbba96c1c531a260a8d866b184c7f9ba8f9c41","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","48e4ab4540aa291062a9f5b223dd5cebde35c2a9a7007d99b91d77e71d4266dc","d5d7b68f5369a210c235cd65458369888f8b839192d088c964f21cab3ac954db","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","dd5647a9ccccb2b074dca8a02b00948ac293091ebe73fdf2e6e98f718819f669","3e41ed5b061b1734fa545e4309f99c494960557372f64b1ef60b139b8f5379dc","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"a1ec23b323ad57b2b13707ea953605c25ce9c8e2d011ae356e247e4b800ab7ec","0ff503ae2e4623981da229c3bd11b812985e36199641993159e7b65457c3ea48","22f93f14b0c14e882bde0f7681f3c713d29c6471cfec9cd6428e8cc2ef5e32e8","501260c8b07a6e423fb6ebdea704e732ad529208e4fbbc517836fac8f8ae8895","c048b9659fff2e130bd6408317fa8cc833e50a1e8b8bdbf81544848b2c278c59","191a86aef5e87c7ce1cb42f17d8d3fbe66f74dff7e396b1f0cff124cc66ae97d","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",{"version":"59cd3c852c5b38f67d5c2fbbdbb2c2b5609700195fab22220b2a95498d2cc6f1","affectsGlobalScope":true},{"version":"2512251831b4d15e3933285ff6edcc412c662fd66f4daf08a9503c5b5a36e895","affectsGlobalScope":true},"f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":1},"fileIdsList":[[110],[43,50,54,58,59,110],[110,119],[110,119,120,121,122,123],[110,119,121],[80,81,110,117,127],[81,110,117],[110,130],[110,131],[110,135,139],[83,110,117],[65,110],[68,110],[69,74,110],[70,80,81,88,98,109,110],[70,71,80,88,110],[72,110],[73,74,81,89,110],[74,98,106,110],[75,77,80,88,110],[76,110],[77,78,110],[79,80,110],[80,110],[80,81,82,98,109,110],[80,81,82,98,101,110],[110,114],[83,88,98,109,110],[80,81,83,84,88,98,106,109,110],[83,85,98,106,109,110],[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],[80,86,110],[87,109,110],[77,80,88,98,110],[89,110],[90,110],[68,91,110],[92,108,110,114],[93,110],[94,110],[80,95,96,110],[95,97,110,112],[80,98,99,100,101,110],[98,100,110],[98,99,110],[101,110],[102,110],[80,104,105,110],[104,105,110],[74,88,98,106,110],[107,110],[88,108,110],[69,83,94,109,110],[74,110],[98,110,111],[110,112],[110,113],[69,74,80,82,91,98,109,110,112,114],[98,110,115],[110,150],[110,133,136],[110,133,136,137,138],[110,135],[110,134],[40,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,83,110,118],[47,48,110],[51,83,110],[40,110],[41,110],[58,110],[44,45,110],[50,58,110],[56,109,110],[109,110],[110,117],[43,50,54,58,59],[40,43,48,49,50,52,54,83],[58],[50,58]],"referencedMap":[[126,1],[60,2],[121,3],[119,1],[124,4],[120,3],[122,5],[123,3],[125,1],[128,6],[129,7],[130,1],[131,8],[132,9],[140,10],[141,1],[142,1],[127,1],[143,11],[65,12],[66,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[76,21],[77,22],[78,22],[79,23],[80,24],[81,25],[82,26],[67,27],[116,1],[83,28],[84,29],[85,30],[117,31],[86,32],[87,33],[88,34],[89,35],[90,36],[91,37],[92,38],[93,39],[94,40],[95,41],[96,41],[97,42],[98,43],[100,44],[99,45],[101,46],[102,47],[103,1],[104,48],[105,49],[106,50],[107,51],[108,52],[109,53],[110,54],[111,55],[112,56],[113,57],[114,58],[115,59],[144,1],[145,1],[146,1],[147,1],[148,1],[149,1],[150,1],[151,60],[133,1],[137,61],[139,62],[138,61],[136,63],[135,64],[134,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[42,1],[58,65],[49,66],[52,67],[43,1],[44,68],[62,69],[41,1],[59,70],[47,1],[46,71],[63,1],[51,1],[40,1],[53,1],[45,1],[48,1],[57,1],[55,1],[54,72],[50,1],[64,1],[61,73],[56,74],[118,75]],"exportedModulesMap":[[126,1],[60,76],[121,3],[119,1],[124,4],[120,3],[122,5],[123,3],[125,1],[128,6],[129,7],[130,1],[131,8],[132,9],[140,10],[141,1],[142,1],[127,1],[143,11],[65,12],[66,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[76,21],[77,22],[78,22],[79,23],[80,24],[81,25],[82,26],[67,27],[116,1],[83,28],[84,29],[85,30],[117,31],[86,32],[87,33],[88,34],[89,35],[90,36],[91,37],[92,38],[93,39],[94,40],[95,41],[96,41],[97,42],[98,43],[100,44],[99,45],[101,46],[102,47],[103,1],[104,48],[105,49],[106,50],[107,51],[108,52],[109,53],[110,54],[111,55],[112,56],[113,57],[114,58],[115,59],[144,1],[145,1],[146,1],[147,1],[148,1],[149,1],[150,1],[151,60],[133,1],[137,61],[139,62],[138,61],[136,63],[135,64],[134,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[58,77],[49,66],[52,67],[43,1],[44,68],[62,69],[41,1],[59,78],[47,1],[63,1],[51,1],[40,1],[53,1],[45,1],[48,1],[57,1],[55,1],[54,79],[50,1],[64,1],[61,73],[56,74],[118,75]],"semanticDiagnosticsPerFile":[126,60,121,119,124,120,122,123,125,128,129,130,131,132,140,141,142,127,143,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,67,116,83,84,85,117,86,87,88,89,90,91,92,93,94,95,96,97,98,100,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,144,145,146,147,148,149,150,151,133,137,139,138,136,135,134,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,42,58,49,52,43,44,62,41,59,47,46,63,51,40,53,45,48,57,55,54,50,64,61,56,118]},"version":"4.6.4"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/functions/next-tick.function.ts","../src/classes/query-string.class.ts","../package.json","../src/classes/observable.class.ts","../src/classes/promise.class.ts","../src/functions/server-only-require.function.ts","../src/functions/fetch.function.ts","../src/functions/assign.function.ts","../src/functions/throttle.function.ts","../src/classes/animator.class.ts","../src/types/element.ts","../src/functions/get-top-level-domain.ts","../src/classes/cookies.class.ts","../src/functions/omit.function.ts","../src/types/content.ts","../src/functions/uuid.ts","../src/url.ts","../src/functions/to-error.ts","../src/builder.class.ts","../src/constants/builder.ts","../index.ts","../src/url.test.ts","../src/classes/query-string.class.test.ts","../src/functions/finder.function.ts","../src/typings/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../types.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/events/index.d.ts","../node_modules/@types/minimatch/index.d.ts","../node_modules/@types/glob/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/jest-diff/build/cleanupsemantic.d.ts","../node_modules/pretty-format/build/types.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/types.d.ts","../node_modules/jest-diff/build/difflines.d.ts","../node_modules/jest-diff/build/printdiffs.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/js-cookie/index.d.ts","../node_modules/@types/json-stable-stringify/index.d.ts","../node_modules/@types/node-fetch/index.d.ts","../node_modules/@types/prettier/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/query-string/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/ua-parser-js/index.d.ts","../node_modules/@types/virtual-dom/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"9ee9a79bfc7635fbb8d71fde2d9d11c8d3c53cab239f6d7342c188490174fd93","0860a67bcaf5bcad3044e0f0b532fb61a03e603b6b875590eb7fb096a700ecb1",{"version":"ce5fba94dbc19c3bd9157a34a5b4e6908795d104f172f780ebf8fdb8e39762dd","signature":"57e2ae82625c7d84cc9a07cd15b264bfc81090ae1cd46e81672fc4300989a1bd"},"b06a1fd2c80546cb44491cfb0133d5b734bf195a5dddaedc913456803dbdae40","c02816fa89998a9fde98a12ea3baffb94e0198a9a728258f07b24e725503a524","738698eacc079fcd0602a437a46ce744d64c7e1fc7c27b1e8b0fe1163cd8799d",{"version":"2681962c65d1e597bce7c128237e895f159bacd0ad7d2a030e8940fac24e1701","signature":"889dd6eee2524ba18917c64739d20f2971bf1827551dcfe7f250d4059ef8c1ae"},"e460753a5bfea6c688fdaac978465fd567816a14300209cbe95a4aa3baac478b","b86464d97a671a400be3add6091ae3ba0193d3a5ba1894047ee8fcd6631de323","478d83f581f5f77714b59e7c5da666e9fc69cca09cf56722591a12dc1260c872","bb2b31be165f27d6d6c71c78c7f960316137e499256d4c8244fed18eb452a24e","3f20e103b33ff882739ffe6c822e1350318c809563d90de79da56a33f1c97841","80d76a8becbc9c3e90490f7588ca59df12638af3c818a9628b925cbc577c6bdb","4769509030a4e8d0ba4e17608f6019d651fb19f05b866fa3a557a49d21d40fe3",{"version":"8b86ad8122ee5093973d0d4c5974046df60c9b4372a973a0c25575f189cc5fd0","signature":"dd52a1204ccd13bb75097b486954339163ef4832834360721b0346ef3dd503bd"},"78d37663836142d837ddf540d739bae79a34b3ec1ac6a58ffa2023aca2f8595a","b5e9213fff9d34a035e22a03158bddd58cc43a40f11e8153c3b66e67b39e054e","beb97b83d3e7da15164bf82728b4e725010e083fcba0b0a9f80406449eb03c6d",{"version":"67057349ea16b2ad4ff99477cdf454b58c150579ec55191b88ae2a5733d2322d","signature":"e276ebf27804a9c3f7667a4ee253d29312dbfa884ef1abef2aa36c1f5dca676a"},{"version":"0d6341263951e7ae0bb4d6a3b6aec116108cf8f2f7096bfe4f32d6e2274bf63d","signature":"c2a9652d6a4afcc81992b0a24854cf65c22600dfc91709784a5eeaee4dac13cf"},{"version":"390ba944b005719a46df51736d90672897620de7b05644066be2704a78804e70","signature":"3820787bfa2dbdd954f1fec7ba908b6b210d91600b97a2d3e8ec91dfe00d1754"},"d0da49170ec964867e38e8b146d68693c4a4d07a6d1e419ecc17c80513ac99a6","55dcbfaf97bcc8a604f850f17534acc3dba7357b54b5b69546c7c4b5ecc4a62f","b2a503cef0f8759581e77a03e663b4355bb11253ab030c8184f54c7675ac53d8","979be1f15938f4dbafa42d9b22aa870e1f456918535abba11a352533ad36b0f5","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","8d29e25413cb756265753e20fffbba96c1c531a260a8d866b184c7f9ba8f9c41","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","68915895d4a136df5cf5f90aaa41d8e1e47ec047e7781a150b5d0cf273dbb7a9","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","48e4ab4540aa291062a9f5b223dd5cebde35c2a9a7007d99b91d77e71d4266dc","d5d7b68f5369a210c235cd65458369888f8b839192d088c964f21cab3ac954db","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","dd5647a9ccccb2b074dca8a02b00948ac293091ebe73fdf2e6e98f718819f669","3e41ed5b061b1734fa545e4309f99c494960557372f64b1ef60b139b8f5379dc","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"a1ec23b323ad57b2b13707ea953605c25ce9c8e2d011ae356e247e4b800ab7ec","0ff503ae2e4623981da229c3bd11b812985e36199641993159e7b65457c3ea48","22f93f14b0c14e882bde0f7681f3c713d29c6471cfec9cd6428e8cc2ef5e32e8","501260c8b07a6e423fb6ebdea704e732ad529208e4fbbc517836fac8f8ae8895","c048b9659fff2e130bd6408317fa8cc833e50a1e8b8bdbf81544848b2c278c59","191a86aef5e87c7ce1cb42f17d8d3fbe66f74dff7e396b1f0cff124cc66ae97d","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",{"version":"59cd3c852c5b38f67d5c2fbbdbb2c2b5609700195fab22220b2a95498d2cc6f1","affectsGlobalScope":true},{"version":"2512251831b4d15e3933285ff6edcc412c662fd66f4daf08a9503c5b5a36e895","affectsGlobalScope":true},"f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":1},"fileIdsList":[[110],[43,50,54,58,59,110],[110,119],[110,119,120,121,122,123],[110,119,121],[80,81,110,117,127],[81,110,117],[110,130],[110,131],[110,135,139],[83,110,117],[65,110],[68,110],[69,74,110],[70,80,81,88,98,109,110],[70,71,80,88,110],[72,110],[73,74,81,89,110],[74,98,106,110],[75,77,80,88,110],[76,110],[77,78,110],[79,80,110],[80,110],[80,81,82,98,109,110],[80,81,82,98,101,110],[110,114],[83,88,98,109,110],[80,81,83,84,88,98,106,109,110],[83,85,98,106,109,110],[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],[80,86,110],[87,109,110],[77,80,88,98,110],[89,110],[90,110],[68,91,110],[92,108,110,114],[93,110],[94,110],[80,95,96,110],[95,97,110,112],[80,98,99,100,101,110],[98,100,110],[98,99,110],[101,110],[102,110],[80,104,105,110],[104,105,110],[74,88,98,106,110],[107,110],[88,108,110],[69,83,94,109,110],[74,110],[98,110,111],[110,112],[110,113],[69,74,80,82,91,98,109,110,112,114],[98,110,115],[110,150],[110,133,136],[110,133,136,137,138],[110,135],[110,134],[40,41,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,83,110,118],[47,48,110],[51,83,110],[40,110],[41,110],[58,110],[44,45,110],[50,58,110],[56,109,110],[109,110],[110,117],[43,50,54,58,59],[40,43,48,49,50,52,54,83],[58],[50,58]],"referencedMap":[[126,1],[60,2],[121,3],[119,1],[124,4],[120,3],[122,5],[123,3],[125,1],[128,6],[129,7],[130,1],[131,8],[132,9],[140,10],[141,1],[142,1],[127,1],[143,11],[65,12],[66,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[76,21],[77,22],[78,22],[79,23],[80,24],[81,25],[82,26],[67,27],[116,1],[83,28],[84,29],[85,30],[117,31],[86,32],[87,33],[88,34],[89,35],[90,36],[91,37],[92,38],[93,39],[94,40],[95,41],[96,41],[97,42],[98,43],[100,44],[99,45],[101,46],[102,47],[103,1],[104,48],[105,49],[106,50],[107,51],[108,52],[109,53],[110,54],[111,55],[112,56],[113,57],[114,58],[115,59],[144,1],[145,1],[146,1],[147,1],[148,1],[149,1],[150,1],[151,60],[133,1],[137,61],[139,62],[138,61],[136,63],[135,64],[134,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[42,1],[58,65],[49,66],[52,67],[43,1],[44,68],[62,69],[41,1],[59,70],[47,1],[46,71],[63,1],[51,1],[40,1],[53,1],[45,1],[48,1],[57,1],[55,1],[54,72],[50,1],[64,1],[61,73],[56,74],[118,75]],"exportedModulesMap":[[126,1],[60,76],[121,3],[119,1],[124,4],[120,3],[122,5],[123,3],[125,1],[128,6],[129,7],[130,1],[131,8],[132,9],[140,10],[141,1],[142,1],[127,1],[143,11],[65,12],[66,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[76,21],[77,22],[78,22],[79,23],[80,24],[81,25],[82,26],[67,27],[116,1],[83,28],[84,29],[85,30],[117,31],[86,32],[87,33],[88,34],[89,35],[90,36],[91,37],[92,38],[93,39],[94,40],[95,41],[96,41],[97,42],[98,43],[100,44],[99,45],[101,46],[102,47],[103,1],[104,48],[105,49],[106,50],[107,51],[108,52],[109,53],[110,54],[111,55],[112,56],[113,57],[114,58],[115,59],[144,1],[145,1],[146,1],[147,1],[148,1],[149,1],[150,1],[151,60],[133,1],[137,61],[139,62],[138,61],[136,63],[135,64],[134,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[58,77],[49,66],[52,67],[43,1],[44,68],[62,69],[41,1],[59,78],[47,1],[63,1],[51,1],[40,1],[53,1],[45,1],[48,1],[57,1],[55,1],[54,79],[50,1],[64,1],[61,73],[56,74],[118,75]],"semanticDiagnosticsPerFile":[126,60,121,119,124,120,122,123,125,128,129,130,131,132,140,141,142,127,143,65,66,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,67,116,83,84,85,117,86,87,88,89,90,91,92,93,94,95,96,97,98,100,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,144,145,146,147,148,149,150,151,133,137,139,138,136,135,134,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,42,58,49,52,43,44,62,41,59,47,46,63,51,40,53,45,48,57,55,54,50,64,61,56,118]},"version":"4.6.4"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk",
3
- "version": "1.1.28-2",
3
+ "version": "1.1.28-3",
4
4
  "unpkg": "./dist/index.browser.js",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",