UNPKG

@causalfoundry/js-sdk

Version:

Causal Foundry WEB SDK (JS/TS)

1 lines 163 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.lib=t():e.lib=t()}(this,()=>(()=>{var e={7:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,i)})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,o,a,u;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=a.length,u=d,console&&console.warn&&console.warn(u)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){r.once&&e.removeEventListener(t,i),n(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)r(c,this,t);else{var u=c.length,d=m(c,u);for(n=0;n<u;++n)r(d[n],this,t)}return!0},o.prototype.addListener=function(e,t){return u(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return u(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,l(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,l(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},12:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15:(e,t,n)=>{"use strict";var r=n(516),i=n(12),o=n(155),a=n(343);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=s(n(987));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(928),c.CancelToken=n(191),c.isCancel=n(864),c.all=function(e){return Promise.all(e)},c.spread=n(980),c.isAxiosError=n(19),e.exports=c,e.exports.default=c},18:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},19:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},106:(e,t,n)=>{"use strict";var r=n(516);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},137:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},155:(e,t,n)=>{"use strict";var r=n(516),i=n(106),o=n(471),a=n(490),s=n(343),c=n(841),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach(function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))});var i,o=[];if(this.interceptors.response.forEach(function(e){o.push(e.fulfilled,e.rejected)}),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(o),i=Promise.resolve(e);d.length;)i=i.then(d.shift(),d.shift());return i}for(var l=e;n.length;){var p=n.shift(),h=n.shift();try{l=p(l)}catch(e){h(e);break}}try{i=a(l)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},d.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){d.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}}),e.exports=d},182:(e,t,n)=>{"use strict";n.d(t,{CancelType:()=>g,CartAction:()=>d,DeliveryAction:()=>m,ECommerceCatalogType:()=>i,ECommerceTypes:()=>r,ItemAction:()=>o,ItemType:()=>a,ListAction:()=>l,ListType:()=>p,ScanChannel:()=>s,ScanType:()=>c,ShopMode:()=>h,StockStatus:()=>u});let r=function(e){return e.CancelCheckout="cancel_checkout",e.Cart="cart",e.Checkout="checkout",e.Delivery="delivery",e.Item="item",e.ItemReport="item_report",e.ItemRequest="item_request",e.ItemVerification="item_verification",e}({}),i=function(e){return e.Drug="drug",e.Grocery="grocery",e.Blood="blood",e.Oxygen="oxygen",e.MedicalEquipment="medical_equipment",e.Facility="facility",e}({}),o=function(e){return e.View="view",e.Detail="detail",e.Impression="impression",e.TopUp="top_up",e.Cancel="cancel",e.Update="update",e.Remove="remove",e.Add="add",e.Select="select",e.AddFavorite="add_favorite",e.RemoveFavorite="remove_favorite",e.AddReminder="add_reminder",e.RemoveReminder="remove_reminder",e.RemoveReminderAuto="remove_reminder_auto",e.Other="other",e}({}),a=function(e){return e.Blood="blood",e.Book="book",e.Clothing="clothing",e.Drug="drug",e.Grocery="grocery",e.Subscription="subscription",e.Facility="facility",e.Electronics="electronics",e.MedicalEquipment="medical_equipment",e.Misc="misc",e.Oxygen="oxygen",e.ItemVerification="item_verification",e.ItemReport="item_report",e.Reward="reward",e.Survey="survey",e.Other="other",e}({}),s=function(e){return e.App="app",e.Ussd="ussd",e}({}),c=function(e){return e.Pin="pin",e.QrCode="qr_code",e}({}),u=function(e){return e.InStock="in_stock",e.LowStock="low_stock",e.OutOfStock="out_of_stock",e}({}),d=function(e){return e.AddItem="add_item",e.RemoveItem="remove_item",e}({}),l=function(e){return e.Add="add_item",e.Discard="discard",e.Edit="edit_item",e.Remove="remove_item",e.View="view",e.Expired="expired",e}({}),p=function(e){return e.Cart="cart",e.Favourite="favourite",e.Order="order",e.Reminder="reminder",e}({}),h=function(e){return e.Delivery="delivery",e.Pickup="pickup",e}({}),m=function(e){return e.Schedule="schedule",e.Update="update",e.Dispatch="dispatch",e.Delivered="delivered",e}({}),g=function(e){return e.Cart="cart",e.Order="order",e}({})},191:(e,t,n)=>{"use strict";var r=n(928);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},198:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},202:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},343:(e,t,n)=>{"use strict";var r=n(516);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(e[i],t[i])}r.forEach(i,function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))}),r.forEach(o,u),r.forEach(a,function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(void 0,t[i])}),r.forEach(s,function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))});var d=i.concat(o).concat(a).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter(function(e){return-1===d.indexOf(e)});return r.forEach(l,u),n}},449:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},471:(e,t,n)=>{"use strict";var r=n(516);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},490:(e,t,n)=>{"use strict";var r=n(516),i=n(881),o=n(864),a=n(987);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},491:(e,t,n)=>{"use strict";n.d(t,{ELearningTypes:()=>r,ExamAction:()=>i,ModuleAction:()=>o,QuestionAction:()=>a});let r=function(e){return e.Module="module",e.Question="question",e.Exam="exam",e}({}),i=function(e){return e.Start="start",e.Submit="submit",e.Result="result",e.Other="other",e}({}),o=function(e){return e.View="view",e.Other="other",e}({}),a=function(e){return e.Answer="answer",e.Skip="skip",e.Other="other",e}({})},505:(e,t,n)=>{e.exports=n(15)},516:(e,t,n)=>{"use strict";var r=n(12),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},522:(e,t,n)=>{"use strict";var r=n(763);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},552:()=>{},568:(e,t,n)=>{"use strict";n.d(t,{LoyaltyCatalogSubject:()=>i,LoyaltyTypes:()=>r,MilestoneAction:()=>p,PromoAction:()=>o,PromoItemType:()=>s,PromoType:()=>a,RedeemType:()=>l,RewardAction:()=>d,SurveyAction:()=>u,SurveyType:()=>c});let r=function(e){return e.Survey="survey",e.Reward="reward",e.Level="level",e.Milestone="milestone",e.Promo="promo",e}({}),i=function(e){return e.Survey="survey",e.Reward="reward",e}({}),o=function(e){return e.Apply="apply",e.View="view",e.Other="other",e}({}),a=function(e){return e.AddToCart="add_to_cart",e.Coupon="coupon",e.Other="other",e}({}),s=function(e){return e.Blood="blood",e.Book="book",e.Clothing="clothing",e.Drug="drug",e.Grocery="grocery",e.Electronics="electronics",e.Misc="misc",e.Oxygen="oxygen",e.Subscription="subscription",e.Facility="facility",e.Other="other",e}({}),c=function(e){return e.OpenEnded="open_ended",e.ClosedEnded="closed_ended",e.Nominal="nominal",e.LikertScale="likert_scale",e.RatingScale="rating_scale",e.YesNo="yes_no",e.Interview="interview",e.Other="other",e}({}),u=function(e){return e.View="view",e.Impression="impression",e.Start="start",e.Submit="submit",e.Other="other",e}({}),d=function(e){return e.View="view",e.Add="add",e.Redeem="redeem",e.Other="other",e}({}),l=function(e){return e.Cash="cash",e.Airtime="airtime",e.Other="other",e}({}),p=function(e){return e.Achieved="achieved",e.Other="other",e}({})},592:(e,t,n)=>{"use strict";var r=n(516),i=n(522),o=n(948),a=n(106),s=n(615),c=n(631),u=n(202),d=n(763);e.exports=function(e){return new Promise(function(t,n){var l=e.data,p=e.headers,h=e.responseType;r.isFormData(l)&&delete p["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var g=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(g+":"+f)}var y=s(e.baseURL,e.url);function v(){if(m){var r="getAllResponseHeaders"in m?c(m.getAllResponseHeaders()):null,o={data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m};i(t,n,o),m=null}}if(m.open(e.method.toUpperCase(),a(y,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(d("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(d("Network Error",e,null,m)),m=null},m.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(d(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var _=(e.withCredentials||u(y))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;_&&(p[e.xsrfHeaderName]=_)}"setRequestHeader"in m&&r.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:m.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),h&&"json"!==h&&(m.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){m&&(m.abort(),n(e),m=null)}),l||(l=null),m.send(l)})}},602:(e,t,n)=>{"use strict";n.d(t,{AppointmentFollowupType:()=>a,AppointmentStatus:()=>s,CounselingType:()=>c,DiagnosisCategory:()=>u,DiagnosisQuestionnaireCategory:()=>d,DiagnosisQuestionnaireOutcomeType:()=>l,DiagnosisStatusRiskType:()=>h,DiagnosisStatusValueType:()=>p,DiagnosisSubType:()=>m,DiagnosisSymptomType:()=>g,DiagnosisType:()=>f,EncounterType:()=>y,FrequencyType:()=>v,HcwItemAction:()=>_,HcwSiteCategory:()=>o,PatientMgmtCatalogType:()=>i,PatientMgmtEventType:()=>r,PatientType:()=>w,PrescriptionItemFormulationType:()=>b,PrescriptionItemFrequency:()=>E,ScheduleItemType:()=>T});let r=function(e){return e.Patient="patient",e.Encounter="encounter",e.Appointment="appointment",e.Diagnosis="diagnosis",e.Other="other",e}({}),i=function(e){return e.UserHcw="user_chw",e.Patient="patient",e}({}),o=function(e){return e.Facility="facility",e.Community="community",e.PatientAddress="patient_address",e.Virtual="virtual",e.Other="other",e}({}),a=function(e){return e.PhoneCall="phone_call",e.SMS="sms",e.WhatsApp="whatsapp",e.HouseVisit="house_visit",e.Other="other",e}({}),s=function(e){return e.Upcoming="upcoming",e.Missed="missed",e.Attended="attended",e.Other="other",e}({}),c=function(e){return e.Lifestyle="lifestyle",e.Psychological="psychological",e.Other="other",e}({}),u=function(e){return e.Computed="computed",e.Given="given",e.Other="other",e}({}),d=function(e){return e.MedicalReview="medical_review",e.Assessment="assessment",e.Diagnostic="diagnostic",e.Other="other",e}({}),l=function(e){return e.RiskStatus="risk_status",e.RiskScore="risk_score",e.Other="other",e}({}),p=function(e){return e.Positive="positive",e.Negative="negative",e.Recovered="recovered",e.Unknown="unknown",e.NA="n_a",e.Other="other",e}({}),h=function(e){return e.Low="low",e.High="high",e.Unknown="unknown",e.NA="n_a",e.Other="other",e}({}),m=function(e){return e.Age="age",e.Gender="gender",e.Height="height",e.Weight="weight",e.Smoker="smoker",e.BloodPressure="blood_pressure",e.BloodPressureSystolic="blood_pressure_systolic",e.BloodPressureDiastolic="blood_pressure_diastolic",e.MUAC="muac",e.BloodGlucose="blood_glucose",e.HbA1c="hbA1c",e.Temperature="temperature",e.Bmi="bmi",e.Cvd="cvd",e.Phq4="phq_4",e.Phq9="phq_9",e.Gad7="gad_7",e.PregnancyStatus="pregnancy_status",e.PregnancyDangerSigns="pregnancy_danger_signs",e.SuicidalIdeation="suicidal_ideation",e.HighRiskPregnancy="high_risk_pregnancy",e.Other="other",e}({}),g=function(e){return e.Bio="bio",e.HIV="hiv",e.NCD="ncd",e.TB="tb",e.ECD="ecd",e.Diabetes="diabetes",e.Hypertension="hypertension",e.Pregnancy="pregnancy",e.MentalHealth="mental_health",e.SubstanceUseDisorder="substance_use_disorder",e.AdolescentHealth="adolescent_health",e.GeneralScreening="general_screening",e.Gynecologic="gynecologic",e.Antenatal="antenatal",e.Postnatal="postnatal",e.CervicalCancer="cervical_cancer",e.Lifestyle="lifestyle",e.Psychological="psychological",e.GenderBasedViolence="gender_based_violence",e.SexualBehaviour="sexual_behaviour",e.EconomicStrength="economic_strengthening",e.Other="other",e}({}),f=function(e){return e.Bio="bio",e.HIV="hiv",e.NCD="ncd",e.TB="tb",e.ECD="ecd",e.Diabetes="diabetes",e.Hypertension="hypertension",e.Pregnancy="pregnancy",e.MentalHealth="mental_health",e.SubstanceUseDisorder="substance_use_disorder",e.AdolescentHealth="adolescent_health",e.GeneralScreening="general_screening",e.Gynecologic="gynecologic",e.Antenatal="antenatal",e.Postnatal="postnatal",e.CervicalCancer="cervical_cancer",e.Lifestyle="lifestyle",e.Psychological="psychological",e.GenderBasedViolence="gender_based_violence",e.SexualBehaviour="sexual_behaviour",e.EconomicStrength="economic_strengthening",e.Other="other",e}({}),y=function(e){return e.Screening="screening",e.Assessment="assessment",e.Enrolment="enrolment",e.MedicalReview="medical_review",e.Counseling="counseling",e.Other="other",e}({}),v=function(e){return e.Daily="daily",e.Days="days",e.Weeks="weeks",e.Months="months",e.Other="other",e}({}),_=function(e){return e.View="view",e.Add="add",e.Update="update",e.Remove="remove",e.Done="done",e.Other="other",e}({}),w=function(e){return e.Triage="triage",e.Outpatient="outpatient",e.Inpatient="inpatient",e.Pharmacy="pharmacy",e.DoorToDoor="door_to_door",e.Camp="camp",e.Other="other",e}({}),E=function(e){return e.AM="AM",e.PM="PM",e.OD="OD",e.BD="BD",e.TDS="TDS",e.QDS="QDS",e.OM="OM",e.ON="ON",e.CC="CC",e.PC="PC",e.AC="AC",e.PRN="PRN",e.Other="other",e}({}),b=function(e){return e.Tablet="tablet",e.Capsule="capsule",e.Syrup="syrup",e.Injection="injection",e.Insulin="insulin",e.Contraceptive="contraceptive",e.Other="other",e}({}),T=function(e){return e.MedicalReview="medical_review",e.Assessment="assessment",e.Other="other",e}({})},615:(e,t,n)=>{"use strict";var r=n(137),i=n(680);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},631:(e,t,n)=>{"use strict";var r=n(516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},639:(e,t,n)=>{"use strict";n.d(t,{BreakType:()=>o,CallCenterAction:()=>i,CallCenterEventType:()=>r,ContactChannel:()=>a,ContactType:()=>s});let r=function(e){return e.Break="break",e.Contact="contact",e.OpsScorecard="ops_scorecard",e}({}),i=function(e){return e.View="view",e.Add="add",e.Update="update",e.Remove="remove",e.Start="start",e.End="end",e.Pause="pause",e.Resume="resume",e.Attend="attend",e.Decline="decline",e.Terminate="terminate",e.Transfer="transfer",e.Skip="skip",e.Other="other",e}({}),o=function(e){return e.BioBreak="bio_break",e.Feedback="feedback",e.Meeting="meeting",e.Meal="meal",e.Tea="tea",e.Other="other",e}({}),a=function(e){return e.Call="call",e.WhatsApp="whatsapp",e.SMS="sms",e.Email="email",e.Other="other",e}({}),s=function(e){return e.Emergency="emergency",e.Grievance="grievance",e.NonEmergency="non_emergency",e.Transfer="transfer",e.FollowUp="follow_up",e.ServiceOffering="service_offering",e.CustomerSupport="customer_support",e.Other="other",e}({})},680:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},763:(e,t,n)=>{"use strict";var r=n(449);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},780:(e,t,n)=>{"use strict";n.d(t,{AppAction:()=>c,ContentBlock:()=>o,CoreCatalogType:()=>i,EducationalLevel:()=>y,IdentityAction:()=>u,MaritalStatus:()=>m,MediaAction:()=>d,MediaType:()=>g,MembersCount:()=>l,ModuleType:()=>a,NavigationTypes:()=>r,RateType:()=>_,SearchItemType:()=>h,SearchModuleType:()=>s,SiteCatalogType:()=>f,UserAccountType:()=>v,UserGender:()=>p});let r=function(e){return e.App="app",e.Identify="identify",e.Media="media",e.ActionResponse="action_response",e.Page="page",e.Rate="rate",e.Search="search",e.ModuleSelection="module_selection",e.Track="track",e}({}),i=function(e){return e.User="user",e.Site="site",e.Media="media",e.Other="other",e}({}),o=function(e){return e.Core="core",e.ELearning="e-learning",e.ECommerce="e-commerce",e.Payment="payment",e.Loyalty="loyalty",e.PatientMgmt="patient_mgmt",e.CallCenter="call_center",e.EmergencyMgmt="emergency_mgmt",e}({}),a=function(e){return e.Core="core",e.ECommerce="e_commerce",e.ELearning="e_learning",e.Screening="screening",e.Assessment="assessment",e.Enrolment="enrolment",e.MedicalReview="medical_review",e.MyPatients="my_patients",e.Appointments="appointments",e.Prescription="prescription",e.LifestyleMgmt="lifestyle_mgmt",e.PsychologicalMgmt="psychological_mgmt",e.CounselingMgmt="counseling_mgmt",e.Investigation="investigation",e.TreatmentPlan="treatment_plan",e.Transfers="transfers",e.HCWMgmt="hcw_mgmt",e.Break="break",e.CallerHistory="caller_history",e.AttendCall="attend_call",e.Single="single",e.Dashboard="dashboard",e.Map="map",e.Other="other",e}({}),s=function(e){return e.Core="core",e.ECommerce="e_commerce",e.ELearning="e_learning",e.Other="other",e}({}),c=function(e){return e.Background="background",e.Close="close",e.Open="open",e.Resume="resume",e}({}),u=function(e){return e.Login="login",e.Logout="logout",e.Register="register",e.Blocked="blocked",e.UnBlocked="unblocked",e}({}),d=function(e){return e.View="view",e.Impression="impression",e.Play="play",e.Pause="pause",e.Seek="seek",e.Finish="finish",e}({}),l=function(e){return e.None="none",e.One="1",e.Two="2",e.Three="3",e.Four="4",e.FiveOrMore="5_or_more",e.Undisclosed="undisclosed",e}({}),p=function(e){return e.Male="male",e.Female="female",e.Other="other",e.UnDisclosed="undisclosed",e}({}),h=function(e){return e.PatientRecord="patient_record",e.LifestylePlanItem="lifestyle_plan_item",e.TreatmentPlanItem="treatment_plan_item",e.PsychologicalPlanItem="psychological_plan_item",e.CounselingPlanItem="counseling_plan_item",e.InvestigationTestItem="investigation_test_item",e.Blood="blood",e.Oxygen="oxygen",e.Drug="drug",e.Grocery="grocery",e.Facility="facility",e.MedicalEquipment="medical_equipment",e.Subscription="subscription",e.Electronics="electronics",e.Clothing="clothing",e.Book="book",e.ItemVerification="item_verification",e.ItemReport="item_report",e.Reward="reward",e.Survey="survey",e.Incident="incident",e.Address="address",e.Ambulance="ambulance",e.OtherVehicle="other_vehicle",e.Contact="contact",e.Call="call",e.Email="email",e.SMS="sms",e.Other="other",e}({}),m=function(e){return e.Single="single",e.Married="married",e.Widowed="widowed",e.Divorced="divorced",e.Separated="separated",e.Other="other",e.UnDisclosed="undisclosed",e}({}),g=function(e){return e.Audio="audio",e.Video="video",e.Image="image",e}({}),f=function(e){return e.Pharmacy="pharmacy",e.Clinic="clinic",e.Community="community",e}({}),y=function(e){return e.Primary="primary",e.LowerSecondary="lower_secondary",e.UpperSecondary="upper_secondary",e.NonTertiary="non_tertiary",e.Tertiary="tertiary",e.Bachelors="bachelors",e.Masters="masters",e.Doctorate="doctorate",e}({}),v=function(e){return e.Basic="basic",e.Classic="classic",e.Advanced="advanced",e.Other="other",e}({}),_=function(e){return e.App="app",e.Exam="exam",e.Question="question",e.Module="module",e.Process="process",e.Form="form",e.Section="section",e.Media="media",e.Order="order",e.Item="item",e.HCW="hcw",e.HcwSite="hcw_site",e.Facility="facility",e.Assessment="assessment",e.Customer="customer",e.Other="other",e}({})},830:(e,t,n)=>{"use strict";n.d(t,{AmbulanceStatus:()=>s,EmergencyMgmtCatalogType:()=>i,EmergencyMgmtEventType:()=>r,EmergencyMgmtItemAction:()=>o,IncidentType:()=>a});let r=function(e){return e.Incident="incident",e.Ambulance="ambulance",e}({}),i=function(e){return e.ERO="user_ero",e.Ambulance="ambulance",e}({}),o=function(e){return e.View="view",e.Add="add",e.Update="update",e.Remove="remove",e.Start="start",e.End="end",e.Pause="pause",e.Resume="resume",e.Attend="attend",e.Decline="decline",e.Terminate="terminate",e.Transfer="transfer",e.Skip="skip",e.Dispatch="dispatch",e.Denial="denial",e.Other="other",e}({}),a=function(e){return e.Emergency="emergency",e.Grievance="grievance",e.NonEmergency="non_emergency",e.Transfer="transfer",e.FollowUp="follow_up",e.ServiceOffering="service_offering",e.CustomerSupport="customer_support",e.Other="other",e}({}),s=function(e){return e.Available="available",e.Busy="busy",e.Maintenance="maintenance",e.Other="other",e}({})},841:(e,t,n)=>{"use strict";var r=n(198),i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],c=void 0===s||a(s,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},864:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},881:(e,t,n)=>{"use strict";var r=n(516),i=n(987);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},889:(e,t,n)=>{"use strict";n.d(t,{CfLogEventType:()=>c,CfLogEvents:()=>s,Country:()=>o,CurrencyCode:()=>i,Language:()=>a,NudgeScreenType:()=>u,QuestionType:()=>r});let r=function(e){return e.OpenEnded="open_ended",e.ClosedEnded="closed_ended",e.Nominal="nominal",e.LikertScale="likert_scale",e.RatingScale="rating_scale",e.YesNo="yes_no",e.Interview="interview",e.Other="other",e}({}),i=function(e){return e.AED="AED",e.AFN="AFN",e.ALL="ALL",e.AMD="AMD",e.ANG="ANG",e.AOA="AOA",e.ARS="ARS",e.AUD="AUD",e.AWG="AWG",e.AZN="AZN",e.BAM="BAM",e.BBD="BBD",e.BDT="BDT",e.BGN="BGN",e.BHD="BHD",e.BIF="BIF",e.BMD="BMD",e.BND="BND",e.BOB="BOB",e.BRL="BRL",e.BSD="BSD",e.BTN="BTN",e.BWP="BWP",e.BYR="BYR",e.BZD="BZD",e.CAD="CAD",e.CDF="CDF",e.CHF="CHF",e.CLP="CLP",e.CNY="CNY",e.COP="COP",e.CRC="CRC",e.CUC="CUC",e.CUP="CUP",e.CVE="CVE",e.CZK="CZK",e.DJF="DJF",e.DKK="DKK",e.DOP="DOP",e.DZD="DZD",e.EGP="EGP",e.ERN="ERN",e.ETB="ETB",e.EUR="EUR",e.FJD="FJD",e.FKP="FKP",e.GBP="GBP",e.GEL="GEL",e.GGP="GGP",e.GHS="GHS",e.GIP="GIP",e.GMD="GMD",e.GNF="GNF",e.GTQ="GTQ",e.GYD="GYD",e.HKD="HKD",e.HNL="HNL",e.HRK="HRK",e.HTG="HTG",e.HUF="HUF",e.IDR="IDR",e.ILS="ILS",e.IMP="IMP",e.INR="INR",e.IQD="IQD",e.IRR="IRR",e.ISK="ISK",e.JEP="JEP",e.JMD="JMD",e.JOD="JOD",e.JPY="JPY",e.KES="KES",e.KGS="KGS",e.KHR="KHR",e.KMF="KMF",e.KPW="KPW",e.KRW="KRW",e.KWD="KWD",e.KYD="KYD",e.KZT="KZT",e.LAK="LAK",e.LBP="LBP",e.LKR="LKR",e.LRD="LRD",e.LSL="LSL",e.LYD="LYD",e.MAD="MAD",e.MDL="MDL",e.MGA="MGA",e.MKD="MKD",e.MMK="MMK",e.MNT="MNT",e.MOP="MOP",e.MRO="MRO",e.MUR="MUR",e.MVR="MVR",e.MWK="MWK",e.MXN="MXN",e.MYR="MYR",e.MZN="MZN",e.NAD="NAD",e.NGN="NGN",e.NIO="NIO",e.NOK="NOK",e.NPR="NPR",e.NZD="NZD",e.OMR="OMR",e.PAB="PAB",e.PEN="PEN",e.PGK="PGK",e.PHP="PHP",e.PKR="PKR",e.PLN="PLN",e.PYG="PYG",e.QAR="QAR",e.RON="RON",e.RSD="RSD",e.RUB="RUB",e.RWF="RWF",e.SAR="SAR",e.SBD="SBD",e.SCR="SCR",e.SDG="SDG",e.SEK="SEK",e.SGD="SGD",e.SHP="SHP",e.SLL="SLL",e.SOS="SOS",e.SPL="SPL",e.SRD="SRD",e.STD="STD",e.SVC="SVC",e.SYP="SYP",e.SZL="SZL",e.THB="THB",e.TJS="TJS",e.TMT="TMT",e.TND="TND",e.TOP="TOP",e.TRY="TRY",e.TTD="TTD",e.TVD="TVD",e.TWD="TWD",e.TZS="TZS",e.UAH="UAH",e.UGX="UGX",e.USD="USD",e.UYU="UYU",e.UZS="UZS",e.VEF="VEF",e.VND="VND",e.VUV="VUV",e.WST="WST",e.XAF="XAF",e.XCD="XCD",e.XDR="XDR",e.XOF="XOF",e.XPF="XPF",e.YER="YER",e.ZAR="ZAR",e.ZMW="ZMW",e.ZWD="ZWD",e}({}),o=function(e){return e.Ascension_Island="Ascension Island",e.Andorra="Andorra",e.United_Arab_Emirates="United Arab Emirates",e.Afghanistan="Afghanistan",e.Antigua_and_Barbuda="Antigua and Barbuda",e.Anguilla="Anguilla",e.Albania="Albania",e.Armenia="Armenia",e.Netherlands_Antilles="Netherlands Antilles",e.Angola="Angola",e.Antarctica="Antarctica",e.Argentina="Argentina",e.American_Samoa="American Samoa",e.Austria="Austria",e.Australia="Australia",e.Aruba="Aruba",e.Aland_Islands="Aland Islands",e.Azerbaijan="Azerbaijan",e.Bosnia_and_Herzegovina="Bosnia and Herzegovina",e.Barbados="Barbados",e.Bangladesh="Bangladesh",e.Belgium="Belgium",e.Burkina_Faso="Burkina Faso",e.Bulgaria="Bulgaria",e.Bahrain="Bahrain",e.Burundi="Burundi",e.Benin="Benin",e.Saint_Barthelemy="Saint Barthelemy",e.Bermuda="Bermuda",e.Brunei_Darussalam="Brunei Darussalam",e.Bolivia="Bolivia",e.Caribbean_Netherlands="Caribbean Netherlands",e.Brazil="Brazil",e.Bahamas="Bahamas",e.Bhutan="Bhutan",e.Burma="Burma",e.Bouvet_Island="Bouvet Island",e.Botswana="Botswana",e.Belarus="Belarus",e.Belize="Belize",e.Canada="Canada",e.Cocos_Islands="Cocos Islands",e.Democratic_Republic_Congo="Democratic Republic Congo",e.Central_African_Republic="Central African Republic",e.Congo="Congo",e.Switzerland="Switzerland",e.Ivory_Coast="Ivory Coast",e.Cook_Islands="Cook Islands",e.Chile="Chile",e.Cameroon="Cameroon",e.China="China",e.Colombia="Colombia",e.Clipperton_Island="Clipperton Island",e.Costa_Rica="Costa Rica",e.Serbia_and_Montenegro="Serbia and Montenegro",e.Cuba="Cuba",e.Cape_Verde="Cape Verde",e.Curacao="Curacao",e.Christmas_Island="Christmas Island",e.Cyprus="Cyprus",e.Czech_Republic="Czech Republic",e.Germany="Germany",e.Diego_Garcia="Diego Garcia",e.Djibouti="Djibouti",e.Denmark="Denmark",e.Dominica="Dominica",e.Dominican_Republic="Dominican Republic",e.Algeria="Algeria",e.Ceuta_Melilla="Ceuta Melilla",e.Ecuador="Ecuador",e.Estonia="Estonia",e.Egypt="Egypt",e.Western_Sahara="Western Sahara",e.Eritrea="Eritrea",e.Spain="Spain",e.Ethiopia="Ethiopia",e.European_Union="European Union",e.Eurozone="Eurozone",e.Finland="Finland",e.Fiji="Fiji",e.Malvinas="Malvinas",e.Micronesia="Micronesia",e.Faroe_Islands="Faroe Islands",e.France="France",e.France_Metropolitan="France Metropolitan",e.Gabon="Gabon",e.United_Kingdom="United Kingdom",e.Grenada="Grenada",e.Georgia="Georgia",e.French_Guiana="French Guiana",e.Guernsey="Guernsey",e.Ghana="Ghana",e.Gibraltar="Gibraltar",e.Greenland="Greenland",e.Gambia="Gambia",e.Guinea="Guinea",e.Guadeloupe="Guadeloupe",e.Equatorial_Guinea="Equatorial Guinea",e.Greece="Greece",e.South_Georgia_and_South_Sandwich_Islands="South Georgia and South Sandwich Islands",e.Guatemala="Guatemala",e.Guam="Guam",e.Guinea_Bissau="Guinea Bissau",e.Guyana="Guyana",e.Hong_Kong="Hong Kong",e.Heard_Island_and_McDonald_Islands="Heard Island and McDonald Islands",e.Honduras="Honduras",e.Croatia="Croatia",e.Haiti="Haiti",e.Hungary="Hungary",e.Canary_Islands="Canary Islands",e.Indonesia="Indonesia",e.Ireland="Ireland",e.Israel="Israel",e.Isle_of_Man="Isle of Man",e.India="India",e.British_Indian_Ocean_Territory="British Indian Ocean Territory",e.Iraq="Iraq",e.Iran="Iran",e.Iceland="Iceland",e.Italy="Italy",e.Jersey="Jersey",e.Jamaica="Jamaica",e.Jordan="Jordan",e.Japan="Japan",e.Kenya="Kenya",e.Kyrgyzstan="Kyrgyzstan",e.Cambodia="Cambodia",e.Kiribati="Kiribati",e.Comoros="Comoros",e.Saint_Kitts_and_Nevis="Saint Kitts and Nevis",e.North_Korea="North Korea",e.South_Korea="South Korea",e.Kuwait="Kuwait",e.Cayman_Islands="Cayman Islands",e.Kazakhstan="Kazakhstan",e.Lao="Lao",e.Lebanon="Lebanon",e.Saint_Lucia="Saint Lucia",e.Liechtenstein="Liechtenstein",e.Sri_Lanka="Sri Lanka",e.Liberia="Liberia",e.Lesotho="Lesotho",e.Lithuania="Lithuania",e.Luxembourg="Luxembourg",e.Latvia="Latvia",e.Libya="Libya",e.Morocco="Morocco",e.Monaco="Monaco",e.Moldova="Moldova",e.Montenegro="Montenegro",e.Saint_Martin="Saint Martin",e.Madagascar="Madagascar",e.Marshall_Islands="Marshall Islands",e.North_Macedonia="North Macedonia",e.Mali="Mali",e.Myanmar="Myanmar",e.Mongolia="Mongolia",e.Macao="Macao",e.Northern_Mariana_Islands="Northern Mariana Islands",e.Martinique="Martinique",e.Mauritania="Mauritania",e.Montserrat="Montserrat",e.Malta="Malta",e.Mauritius="Mauritius",e.Maldives="Maldives",e.Malawi="Malawi",e.Mexico="Mexico",e.Malaysia="Malaysia",e.Mozambique="Mozambique",e.Namibia="Namibia",e.New_Caledonia="New Caledonia",e.Niger="Niger",e.Norfolk_Island="Norfolk Island",e.Nigeria="Nigeria",e.Nicaragua="Nicaragua",e.Netherlands="Netherlands",e.Norway="Norway",e.Nepal="Nepal",e.Nauru="Nauru",e.Neutral_Zone="Neutral Zone",e.Niue="Niue",e.New_Zealand="New Zealand",e.Oman="Oman",e.Panama="Panama",e.Peru="Peru",e.French_Polynesia="French Polynesia",e.Papua_New_Guinea="Papua New Guinea",e.Philippines="Philippines",e.Pakistan="Pakistan",e.Poland="Poland",e.Saint_Pierre_and_Miquelon="Saint Pierre and Miquelon",e.Pitcairn="Pitcairn",e.Puerto_Rico="Puerto Rico",e.Palestine="Palestine",e.Portugal="Portugal",e.Palau="Palau",e.Paraguay="Paraguay",e.Qatar="Qatar",e.Reunion="Reunion",e.Romania="Romania",e.Serbia="Serbia",e.Russia="Russia",e.Rwanda="Rwanda",e.Saudi_Arabia="Saudi Arabia",e.Solomon_Islands="Solomon Islands",e.Seychelles="Seychelles",e.Sudan="Sudan",e.Sweden="Sweden",e.Singapore="Singapore",e.Saint_Helena="Saint Helena",e.Slovenia="Slovenia",e.Svalbard="Svalbard",e.Slovakia="Slovakia",e.Sierra_Leone="Sierra Leone",e.San_Marino="San Marino",e.Senegal="Senegal",e.Somalia="Somalia",e.Suriname="Suriname",e.South_Sudan="South Sudan",e.Sao_Tome_and_Principe="Sao Tome and Principe",e.USSR="USSR",e.El_Salvador="El Salvador",e.Sint_Maarten="Sint Maarten",e.Syria="Syria",e.Eswatini="Eswatini",e.Turks_and_Caicos_Islands="Turks and Caicos Islands",e.French_Southern_Territories="French Southern Territories",e.Togo="Togo",e.Thailand="Thailand",e.Tajikistan="Tajikistan",e.Tokelau="Tokelau",e.Timor_Leste="Timor Leste",e.Turkmenistan="Turkmenistan",e.Tunisia="Tunisia",e.Tonga="Tonga",e.East_Timor="East Timor",e.Turkey="Turkey",e.Trinidad_and_Tobago="Trinidad and Tobago",e.Tuvalu="Tuvalu",e.Taiwan="Taiwan",e.Tanzania="Tanzania",e.Ukraine="Ukraine",e.Uganda="Uganda",e.United_States_Minor_Outlying_Islands="United States Minor Outlying Islands",e.United_States="United States",e.Uruguay="Uruguay",e.Uzbekistan="Uzbekistan",e.Vatican="Vatican",e.Saint_Vincent_and_Grenadines="Saint Vincent and Grenadines",e.Venezuela="Venezuela",e.British_Virgin_Islands="British Virgin Islands",e.US_Virgin_Islands="US Virgin Islands",e.Vietnam="Vietnam",e.Vanuatu="Vanuatu",e.Wallis_and_Futuna="Wallis and Futuna",e.Samoa="Samoa",e.Northern_Ireland="Northern Ireland",e.Kosovo="Kosovo",e.Yemen="Yemen",e.Mayotte="Mayotte",e.Yugoslavia="Yugoslavia",e.South_Africa="South Africa",e.Zambia="Zambia",e.Zaire="Zaire",e.Zimbabwe="Zimbabwe",e}({}),a=function(e){return e.Afar="Afar",e.Abkhaz="Abkhaz",e.Avestan="Avestan",e.Afrikaans="Afrikaans",e.Akan="Akan",e.Amharic="Amharic",e.Aragonese="Aragonese",e.Arabic="Arabic",e.Avaric="Avaric",e.Aymara="Aymara",e.Azerbaijani="Azerbaijani",e.Bashkir="Bashkir",e.Belarusian="Belarusian",e.Bulgarian="Bulgarian",e.Bihari="Bihari",e.Bislama="Bislama",e.Bambara="Bambara",e.Bengali="Bengali",e.Tibetan="Tibetan",e.Breton="Breton",e.Bosnian="Bosnian",e.Catalan="Catalan",e.Chechen="Chechen",e.Chamorro="Chamorro",e.Corsican="Corsican",e.Cree="Cree",e.Czech="Czech",e.Slavonic="Slavonic",e.Chuvash="Chuvash",e.Welsh="Welsh",e.Danish="Danish",e.German="German",e.Maldivian="Maldivian",e.Dzongkha="Dzongkha",e.Ewe="Ewe",e.Greek="Greek",e.English="English",e.Esperanto="Esperanto",e.Spanish="Spanish",e.Estonian="Estonian",e.Basque="Basque",e.Persian="Persian",e.Fulah="Fulah",e.Finnish="Finnish",e.Fijian="Fijian",e.Faroese="Faroese",e.French="French",e.Western_Frisian="Western_Frisian",e.Irish="Irish",e.Gaelic="Gaelic",e.Galician="Galician",e.Guarani="Guarani",e.Gujarati="Gujarati",e.Manx="Manx",e.Hausa="Hausa",e.Hebrew="Hebrew",e.Hindi="Hindi",e.Hiri_Motu="Hiri_Motu",e.Croatian="Croatian",e.Haitian="Haitian",e.Hungarian="Hungarian",e.Armenian="Armenian",e.Herero="Herero",e.Interlingua="Interlingua",e.Indonesian="Indonesian",e.Occidental="Occidental",e.Igbo="Igbo",e.Nuosu="Nuosu",e.Inupiaq="Inupiaq",e.Ido="Ido",e.Icelandic="Icelandic",e.Italian="Italian",e.Inuktitut="Inuktitut",e.Japanese="Japanese",e.Javanese="Javanese",e.Georgian="Georgian",e.Kongo="Kongo",e.Kikuyu="Kikuyu",e.Kuanyama="Kuanyama",e.Kazakh="Kazakh",e.Greenlandic="Greenlandic",e.Central_Khmer="Central_Khmer",e.Kannada="Kannada",e.Korean="Korean",e.Kanuri="Kanuri",e.Kashmiri="Kashmiri",e.Kurdish="Kurdish",e.Komi="Komi",e.Cornish="Cornish",e.Kirghiz="Kirghiz",e.Latin="Latin",e.Luxembourgish="Luxembourgish",e.Ganda="Ganda",e.Limburgish="Limburgish",e.Lingala="Lingala",e.Lao="Lao",e.Lithuanian="Lithuanian",e.Luba_katanga="Luba_katanga",e.Latvian="Latvian",e.Malagasy="Malagasy",e.Marshallese="Marshallese",e.Maori="Maori",e.Macedonian="Macedonian",e.Malayalam="Malayalam",e.Mongolian="Mongolian",e.Moldavian="Moldavian",e.Marathi="Marathi",e.Malay="Malay",e.Maltese="Maltese",e.Burmese="Burmese",e.Nauruan="Nauruan",e.Norwegian_Bokmal="Norwegian_Bokmal",e.North_Ndebele="North_Ndebele",e.Nepali="Nepali",e.Ndonga="Ndonga",e.Dutch="Dutch",e.Norwegian_Nynorsk="Norwegian_Nynorsk",e.Norwegian="Norwegian",e.South_Ndebele="South_Ndebele",e.Navajo="Navajo",e.Nyanja="Nyanja",e.Occitan="Occitan",e.Ojibwa="Ojibwa",e.Oromo="Oromo",e.Oriya="Oriya",e.Ossetian="Ossetian",e.Punjabi="Punjabi",e.Pali="Pali",e.Polish="Polish",e.Pushto="Pushto",e.Portuguese="Portuguese",e.Quechua="Quechua",e.Reunionese="Reunionese",e.Romansh="Romansh",e.Rundi="Rundi",e.Romanian="Romanian",e.Russian="Russian",e.Kinyarwanda="Kinyarwanda",e.Sanskrit="Sanskrit",e.Sardinian="Sardinian",e.Sindhi="Sindhi",e.Northern_Sami="Northern Sami",e.Sango="Sango",e.Slavic="Slavic_Languages",e.Sinhalese="Sinhalese",e.Slovak="Slovak",e.Slovenian="Slovenian",e.Samoan="Samoan",e.Shona="Shona",e.Somali="Somali",e.Albanian="Albanian",e.Serbian="Serbian",e.Swati="Swati",e.Southern_Sotho="Southern Sotho",e.Sundanese="Sundanese",e.Swedish="Swedish",e.Swahili="Swahili",e.Tamil="Tamil",e.Telugu="Telugu",e.Tajik="Tajik",e.Thai="Thai",e.Tigrinya="Tigrinya",e.Turkmen="Turkmen",e.Tagalog="Tagalog",e.Tswana="Tswana",e.Tongan="Tongan",e.Turkish="Turkish",e.Tsonga="Tsonga",e.Tatar="Tatar",e.Twi="Twi",e.Tahitian="Tahitian",e.Uighur="Uighur",e.Ukrainian="Ukrainian",e.Urdu="Urdu",e.Uzbek="Uzbek",e.Venda="Venda",e.Vietnamese="Vietnamese",e.Volapuk="Volapuk",e.Walloon="Walloon",e.Wolof="Wolof",e.Xhosa="Xhosa",e.Yiddish="Yiddish",e.Yoruba="Yoruba",e.Zhuang="Zhuang",e.Chinese="Chinese",e.Zulu="Zulu",e}({}),s=function(e){return e.NudgeAction="nudge-action",e}({}),c=function(e){return e.Redirect="redirect",e.AddToCart="add_to_cart",e}({}),u=function(e){return e.None="",e.Home="home",e.Search="search",e.Product="product",e.Cart="cart",e.Checkout="checkout",e.Reminder="reminder",e.Favorite="favorite",e.Other="other",e}({})},928:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},948:(e,t,n)=>{"use strict";var r=n(516);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+