@moveo-ai/web-client 0.120.1 → 0.121.0-true.2

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.
Files changed (44) hide show
  1. package/dist/63.min.js.LICENSE.txt +1 -1
  2. package/dist/752.min.js +1 -1
  3. package/dist/752.min.js.LICENSE.txt +1 -1
  4. package/dist/882.min.js.LICENSE.txt +1 -1
  5. package/dist/929.min.js.LICENSE.txt +1 -1
  6. package/dist/_headers +4 -0
  7. package/dist/audio-client.min.js.LICENSE.txt +1 -1
  8. package/dist/continue/index.html +176 -0
  9. package/dist/iframe.min.js +1 -1
  10. package/dist/iframe.min.js.LICENSE.txt +1 -1
  11. package/dist/index.html +1 -1
  12. package/dist/preview/index.html +2 -2
  13. package/dist/preview.css.min.js.LICENSE.txt +1 -1
  14. package/dist/public/locales/ar.json +21 -0
  15. package/dist/public/locales/bg.json +21 -0
  16. package/dist/public/locales/cs.json +21 -0
  17. package/dist/public/locales/da.json +21 -0
  18. package/dist/public/locales/de.json +21 -0
  19. package/dist/public/locales/el.json +22 -1
  20. package/dist/public/locales/en.json +22 -1
  21. package/dist/public/locales/es.json +21 -0
  22. package/dist/public/locales/fr.json +21 -0
  23. package/dist/public/locales/id.json +21 -0
  24. package/dist/public/locales/it.json +21 -0
  25. package/dist/public/locales/ja.json +21 -0
  26. package/dist/public/locales/me.json +21 -0
  27. package/dist/public/locales/nl-be.json +21 -0
  28. package/dist/public/locales/nl.json +21 -0
  29. package/dist/public/locales/pl.json +21 -0
  30. package/dist/public/locales/pt-br.json +21 -0
  31. package/dist/public/locales/pt.json +21 -0
  32. package/dist/public/locales/ro.json +21 -0
  33. package/dist/public/locales/ru.json +21 -0
  34. package/dist/public/locales/sq.json +21 -0
  35. package/dist/public/locales/sr.json +21 -0
  36. package/dist/public/locales/sv.json +21 -0
  37. package/dist/public/locales/tl.json +21 -0
  38. package/dist/public/locales/tr.json +21 -0
  39. package/dist/public/locales/zh.json +21 -0
  40. package/dist/telnyx-client.min.js.LICENSE.txt +1 -1
  41. package/dist/web-client.min.js +1 -1
  42. package/dist/web-client.min.js.LICENSE.txt +1 -1
  43. package/dist/webrtc-client.min.js.LICENSE.txt +1 -1
  44. package/package.json +2 -1
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "AI-агент",
93
93
  "loading": "Загрузка..."
94
94
  },
95
+ "continue": {
96
+ "button": "Продолжить здесь",
97
+ "divider": "Разговор продолжается здесь",
98
+ "ended_subtitle": "Напишите нам там, где вы начали, чтобы продолжить его.",
99
+ "ended_title": "Этот разговор завершён",
100
+ "error_subtitle": "Проверьте подключение и попробуйте снова.",
101
+ "error_title": "Не удалось открыть этот разговор",
102
+ "from_channel": "Из канала {{channel}}",
103
+ "from_channel_time": "Из канала {{channel}} · {{time}}",
104
+ "left_subtitle": "Ваш разговор остаётся в канале {{channel}}.",
105
+ "left_title": "Эту страницу можно закрыть",
106
+ "loading": "Продолжаем с того места, где вы остановились…",
107
+ "moved": "Теперь вы общаетесь здесь. Если вы напишете в канале {{channel}}, разговор вернётся туда.",
108
+ "page_title": "Продолжите разговор",
109
+ "retry": "Попробовать снова",
110
+ "title": "Продолжить здесь разговор из канала {{channel}}?",
111
+ "title_with_name": "Продолжить здесь разговор с {{name}} из канала {{channel}}?",
112
+ "today": "сегодня",
113
+ "used_subtitle": "Вернитесь в приложение, где вы начали, или откройте разговор там, где вы уже его продолжили.",
114
+ "used_title": "Эта ссылка уже использована"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "Чтобы продолжить, примите политику конфиденциальности.",
97
118
  "title": "Отказ от ответственности и политика данных"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "Agjent AI",
93
93
  "loading": "Duke u ngarkuar..."
94
94
  },
95
+ "continue": {
96
+ "button": "Vazhdo këtu",
97
+ "divider": "Biseda vazhdon këtu",
98
+ "ended_subtitle": "Na shkruaj aty ku fillove për ta rifilluar.",
99
+ "ended_title": "Kjo bisedë ka përfunduar",
100
+ "error_subtitle": "Kontrollo lidhjen dhe provo sërish.",
101
+ "error_title": "Nuk arritëm ta hapnim këtë bisedë",
102
+ "from_channel": "Nga {{channel}}",
103
+ "from_channel_time": "Nga {{channel}} · {{time}}",
104
+ "left_subtitle": "Biseda jote mbetet në {{channel}}.",
105
+ "left_title": "Mund ta mbyllësh këtë faqe",
106
+ "loading": "Po vazhdojmë aty ku e le…",
107
+ "moved": "Tani po bisedon këtu. Nëse shkruan në {{channel}}, biseda kthehet atje.",
108
+ "page_title": "Vazhdo bisedën",
109
+ "retry": "Provo sërish",
110
+ "title": "Të vazhdosh këtu bisedën nga {{channel}}?",
111
+ "title_with_name": "Të vazhdosh këtu bisedën me {{name}} nga {{channel}}?",
112
+ "today": "sot",
113
+ "used_subtitle": "Kthehu te aplikacioni ku fillove ose hap bisedën aty ku e ke vazhduar tashmë.",
114
+ "used_title": "Kjo lidhje është përdorur tashmë"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "Për të vazhduar, prano politikën e privatësisë.",
97
118
  "title": "Mohim përgjegjësie dhe politika e të dhënave"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "AI агент",
93
93
  "loading": "Учитавам..."
94
94
  },
95
+ "continue": {
96
+ "button": "Настави овде",
97
+ "divider": "Разговор се наставља овде",
98
+ "ended_subtitle": "Пишите нам тамо где сте почели да бисте га наставили.",
99
+ "ended_title": "Овај разговор је завршен",
100
+ "error_subtitle": "Проверите везу и покушајте поново.",
101
+ "error_title": "Нисмо успели да отворимо овај разговор",
102
+ "from_channel": "Из канала {{channel}}",
103
+ "from_channel_time": "Из канала {{channel}} · {{time}}",
104
+ "left_subtitle": "Ваш разговор остаје на каналу {{channel}}.",
105
+ "left_title": "Можете да затворите ову страницу",
106
+ "loading": "Настављамо тамо где сте стали…",
107
+ "moved": "Сада разговарате овде. Ако пишете на каналу {{channel}}, разговор се враћа тамо.",
108
+ "page_title": "Наставите разговор",
109
+ "retry": "Покушајте поново",
110
+ "title": "Наставити овде разговор из канала {{channel}}?",
111
+ "title_with_name": "Наставити овде разговор са {{name}} из канала {{channel}}?",
112
+ "today": "данас",
113
+ "used_subtitle": "Вратите се у апликацију у којој сте почели или отворите разговор тамо где сте га већ наставили.",
114
+ "used_title": "Ова веза је већ искоришћена"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "Да бисте наставили, прихватите политику приватности.",
97
118
  "title": "Обавештење и политика података"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "AI-agent",
93
93
  "loading": "Laddar..."
94
94
  },
95
+ "continue": {
96
+ "button": "Fortsätt här",
97
+ "divider": "Konversationen fortsätter här",
98
+ "ended_subtitle": "Skriv till oss där du började för att fortsätta den.",
99
+ "ended_title": "Den här konversationen har avslutats",
100
+ "error_subtitle": "Kontrollera din anslutning och försök igen.",
101
+ "error_title": "Vi kunde inte öppna den här konversationen",
102
+ "from_channel": "Från {{channel}}",
103
+ "from_channel_time": "Från {{channel}} · {{time}}",
104
+ "left_subtitle": "Din konversation fortsätter på {{channel}}.",
105
+ "left_title": "Du kan stänga den här sidan",
106
+ "loading": "Vi fortsätter där du slutade…",
107
+ "moved": "Du chattar nu här. Om du skriver på {{channel}} fortsätter konversationen där.",
108
+ "page_title": "Fortsätt konversationen",
109
+ "retry": "Försök igen",
110
+ "title": "Vill du fortsätta din {{channel}}-konversation här?",
111
+ "title_with_name": "Vill du fortsätta din {{channel}}-konversation med {{name}} här?",
112
+ "today": "i dag",
113
+ "used_subtitle": "Gå tillbaka till appen där du började, eller öppna konversationen där du redan har fortsatt den.",
114
+ "used_title": "Den här länken har redan använts"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "För att fortsätta måste du acceptera sekretesspolicyn.",
97
118
  "title": "Ansvarsfriskrivning och datapolicy"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "AI agent",
93
93
  "loading": "Naglo-load..."
94
94
  },
95
+ "continue": {
96
+ "button": "Magpatuloy dito",
97
+ "divider": "Nagpapatuloy dito",
98
+ "ended_subtitle": "Mag-message sa amin kung saan ka nagsimula para ituloy ito.",
99
+ "ended_title": "Natapos na ang usapang ito",
100
+ "error_subtitle": "Tingnan ang iyong koneksyon, saka subukang muli.",
101
+ "error_title": "Hindi namin mabuksan ang usapang ito",
102
+ "from_channel": "Mula sa {{channel}}",
103
+ "from_channel_time": "Mula sa {{channel}} · {{time}}",
104
+ "left_subtitle": "Mananatili sa {{channel}} ang usapan mo.",
105
+ "left_title": "Maaari mo nang isara ang page na ito",
106
+ "loading": "Itinutuloy kung saan ka huminto…",
107
+ "moved": "Dito ka na nakikipag-usap ngayon. Kung magsusulat ka sa {{channel}}, babalik doon ang usapan.",
108
+ "page_title": "Ituloy ang pakikipag-usap mo",
109
+ "retry": "Subukang muli",
110
+ "title": "Ituloy dito ang usapan mo mula sa {{channel}}?",
111
+ "title_with_name": "Ituloy dito ang pakikipag-usap mo sa {{name}} mula sa {{channel}}?",
112
+ "today": "ngayong araw",
113
+ "used_subtitle": "Bumalik sa app kung saan ka nagsimula, o buksan ang usapan kung saan mo na ito itinuloy.",
114
+ "used_title": "Nagamit na ang link na ito"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "Upang magpatuloy, dapat mong tanggapin ang patakaran sa privacy.",
97
118
  "title": "Disclaimer at patakaran sa data"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "Yapay zekâ temsilcisi",
93
93
  "loading": "Yükleniyor..."
94
94
  },
95
+ "continue": {
96
+ "button": "Burada devam et",
97
+ "divider": "Görüşme burada devam ediyor",
98
+ "ended_subtitle": "Devam etmek için başladığınız yerden bize yazın.",
99
+ "ended_title": "Bu görüşme sona erdi",
100
+ "error_subtitle": "Bağlantınızı kontrol edip tekrar deneyin.",
101
+ "error_title": "Bu görüşmeyi açamadık",
102
+ "from_channel": "{{channel}} üzerinden",
103
+ "from_channel_time": "{{channel}} üzerinden · {{time}}",
104
+ "left_subtitle": "Görüşmeniz {{channel}} üzerinden devam ediyor.",
105
+ "left_title": "Bu sayfayı kapatabilirsiniz",
106
+ "loading": "Kaldığınız yerden devam ediliyor…",
107
+ "moved": "Artık burada görüşüyorsunuz. {{channel}} üzerinden yazarsanız görüşme oraya geri döner.",
108
+ "page_title": "Görüşmenize devam edin",
109
+ "retry": "Tekrar dene",
110
+ "title": "{{channel}} görüşmenize burada devam etmek ister misiniz?",
111
+ "title_with_name": "{{name}} ile {{channel}} görüşmenize burada devam etmek ister misiniz?",
112
+ "today": "bugün",
113
+ "used_subtitle": "Başladığınız uygulamaya geri dönün veya görüşmeyi zaten devam ettiğiniz yerde açın.",
114
+ "used_title": "Bu bağlantı zaten kullanıldı"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "Devam etmek için gizlilik politikasını kabul edin.",
97
118
  "title": "Aydınlatma ve veri politikası"
@@ -92,6 +92,27 @@
92
92
  "ai_agent": "AI 客服",
93
93
  "loading": "加载中..."
94
94
  },
95
+ "continue": {
96
+ "button": "在此继续",
97
+ "divider": "对话在此继续",
98
+ "ended_subtitle": "请在您开始对话的地方给我们发消息以继续。",
99
+ "ended_title": "此对话已结束",
100
+ "error_subtitle": "请检查网络连接,然后重试。",
101
+ "error_title": "我们无法打开此对话",
102
+ "from_channel": "来自 {{channel}}",
103
+ "from_channel_time": "来自 {{channel}} · {{time}}",
104
+ "left_subtitle": "您的对话仍在 {{channel}} 上。",
105
+ "left_title": "您可以关闭此页面",
106
+ "loading": "正在从您上次离开的地方继续…",
107
+ "moved": "您现在在这里对话。如果您在 {{channel}} 上发消息,对话将回到那里。",
108
+ "page_title": "继续您的对话",
109
+ "retry": "重试",
110
+ "title": "要在此继续您的 {{channel}} 对话吗?",
111
+ "title_with_name": "要在此继续您与 {{name}} 的 {{channel}} 对话吗?",
112
+ "today": "今天",
113
+ "used_subtitle": "请返回您开始对话的应用,或打开您已继续的对话。",
114
+ "used_title": "此链接已被使用"
115
+ },
95
116
  "disclaimer": {
96
117
  "required": "继续前请先接受隐私政策。",
97
118
  "title": "免责声明与数据政策"
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.120.1
3
+ * @moveo-ai/web-client v0.121.0-true.2
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see web-client.min.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("MoveoAI",[],t):"object"==typeof exports?exports.MoveoAI=t():e.MoveoAI=t()}(this,()=>(()=>{var e={1178(e,t,n){"use strict";var o=n(1601),i=n.n(o),s=n(6314),r=n.n(s)()(i());r.push([e.id,"/*\n * Applied to the iframe on the customer's own page, so the overrides below are\n * deliberate: the host stylesheet must not win.\n */\n.web-client-container {\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: var(--moveo-z-index, 10022);\n max-height: 99%;\n cursor: pointer;\n}\n\n.web-client-container.embed {\n position: static;\n width: 100% !important;\n height: 100% !important;\n max-height: 100%;\n}\n\n/*\n * Full is the frame's viewport — the visitor's window only on a top-level\n * page. On a nested install the loader pins the panel to the visible band\n * through these two variables; unset, they resolve to the plain full frame.\n */\n.web-client-container.full {\n inset: var(--moveo-full-top, 0) 0 auto 0 !important;\n width: 100% !important;\n height: var(--moveo-full-height, 100%) !important;\n max-height: initial;\n}\n",""]);const a=r;n.d(t,["A",0,a])},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,o,i,s){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(o)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);o&&r[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},1601(e){"use strict";e.exports=function(e){return e[1]}},7833(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(736)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},736(e,t,n){e.exports=function(e){function t(e){let n,i,s,r=null;function a(...e){if(!a.enabled)return;const o=a,i=Number(new Date),s=i-(n||i);o.diff=s,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";r++;const s=t.formatters[i];if("function"==typeof s){const t=e[r];n=s.call(o,t),e.splice(r,1),r--}return n}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{r=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e,t){let n=0,o=0,i=-1,s=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,s=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,s++,n=s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(6585),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6585(e){var t=1e3,n=60*t,o=60*n,i=24*o,s=7*i;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}e.exports=function(e,a){a=a||{};var c,l,d=typeof e;if("string"===d&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var a=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===d&&isFinite(e))return a.long?(c=e,(l=Math.abs(c))>=i?r(c,l,i,"day"):l>=o?r(c,l,o,"hour"):l>=n?r(c,l,n,"minute"):l>=t?r(c,l,t,"second"):c+" ms"):function(e){var s=Math.abs(e);return s>=i?Math.round(e/i)+"d":s>=o?Math.round(e/o)+"h":s>=n?Math.round(e/n)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},5139(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>Ve});var o=n(7833),i=n.n(o);let s=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};const r=e=>{if("object"==typeof e&&null!==e){if("function"==typeof Object.getPrototypeOf){const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}return"[object Object]"===Object.prototype.toString.call(e)}return!1},a=new Set(["__proto__","constructor","prototype","toString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString"]),c=(...e)=>e.reduce((e,t)=>{if(void 0===t)return e;if(Array.isArray(t))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(t).forEach(n=>{a.has(n)||(Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=c.options.mergeArrays?c.options.uniqueArrayItems?Array.from(new Set(e[n].concat(t[n]))):[...e[n],...t[n]]:t[n]:r(e[n])&&r(t[n])?e[n]=c(e[n],t[n]):!r(e[n])&&r(t[n])?e[n]=c(t[n],void 0):e[n]=void 0===t[n]?c.options.allowUndefinedOverrides?t[n]:e[n]:t[n])}),e},{}),l={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};c.options=l,c.withOptions=(e,...t)=>{c.options=Object.assign(Object.assign({},l),e);const n=c(...t);return c.options=l,n};const d="https://channels-ws.moveo.ai",u=Object.freeze({"bab4875e-0411-4ae1-9e98-19ea236d369b":"nbg","0ffdaef8-4ce9-4188-9fdd-4644e5062cf2":"alpha","0e614713-2e6b-4af2-8e9e-21c2a4617981":"fiserv"}),h=e=>Boolean(e&&"fiserv"===u[e]),p="https://web.moveo.ai",m="https://web.dev.moveo.ai",f=[1e3,2e3],v=()=>window.innerWidth<650||window.innerHeight<550&&window.innerWidth<1e3||(()=>{const{screen:e,matchMedia:t}=window;return!(!e||"function"!=typeof t)&&Math.min(e.width,e.height)<650&&t("(pointer: coarse)").matches})(),g=(e,t)=>{const n=t?.data?.type;if("string"!=typeof n||!n.startsWith(e))return null;const o=n.replace(e,""),i=t.data?.data;return{type:o,data:i}};var y,w=/bot|crawl|http|lighthouse|scan|search|spider/i;var b=function(e){return"string"==typeof(t=e)&&""!==t&&function(){if(y instanceof RegExp)return y;try{y=new RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+\\.ai|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|fetcher|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|upday/|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){y=w}return y}().test(e);var t};const C=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},x="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;var E="object"==typeof self&&self&&self.Object===Object&&self;const S=x||E||Function("return this")(),k=function(){return S.Date.now()};var M=/\s/;var I=/^\s+/;const T=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&M.test(e.charAt(t)););return t}(e)+1).replace(I,""):e},A=S.Symbol;var F=Object.prototype,L=F.hasOwnProperty,O=F.toString,H=A?A.toStringTag:void 0;var R=Object.prototype.toString;var j=A?A.toStringTag:void 0;const P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":j&&j in Object(e)?function(e){var t=L.call(e,H),n=e[H];try{e[H]=void 0;var o=!0}catch(e){}var i=O.call(e);return o&&(t?e[H]=n:delete e[H]),i}(e):function(e){return R.call(e)}(e)};var $=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,_=/^0o[0-7]+$/i,U=parseInt;const B=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==P(e)}(e))return NaN;if(C(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=C(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=T(e);var n=z.test(e);return n||_.test(e)?U(e.slice(2),n?2:8):$.test(e)?NaN:+e};var W=Math.max,N=Math.min;const q=function(e,t,n){var o,i,s,r,a,c,l=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=o,s=i;return o=i=void 0,l=t,r=e.apply(s,n)}function m(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-l>=s}function f(){var e=k();if(m(e))return v(e);a=setTimeout(f,function(e){var n=t-(e-c);return u?N(n,s-(e-l)):n}(e))}function v(e){return a=void 0,h&&o?p(e):(o=i=void 0,r)}function g(){var e=k(),n=m(e);if(o=arguments,i=this,c=e,n){if(void 0===a)return function(e){return l=e,a=setTimeout(f,t),d?p(e):r}(c);if(u)return clearTimeout(a),a=setTimeout(f,t),p(c)}return void 0===a&&(a=setTimeout(f,t)),r}return t=B(t)||0,C(n)&&(d=!!n.leading,s=(u="maxWait"in n)?W(B(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),g.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=i=a=void 0},g.flush=function(){return void 0===a?r:v(k())},g},V=i()("moveo:safe-read"),Q=(e,t)=>{try{return t()}catch(t){return void V("%s unreadable: %o",e,t)}},D=(e,t)=>{Q(e,()=>{t()})},J=e=>{if("string"==typeof e)return e.trim()||void 0},Y=e=>{for(const t of Object.keys(e))void 0===e[t]&&delete e[t];return e},G=()=>window,Z=()=>Q("QuantumMetric scripts",()=>Array.from(document.querySelectorAll('script[src*="quantummetric"]')))??[],K=()=>Z().length>0,X=()=>Q("QuantumMetricAPI.isOn",()=>{const e=G().QuantumMetricAPI;return"function"==typeof e?.isOn&&!0===e.isOn()})??!1,ee=/\/qscripts\/quantum-([a-z0-9-]+)\.js/,te=()=>{if(X())return Q("QuantumMetric script src",()=>{for(const e of Z()){const t=e.getAttribute("src")?.match(ee)?.[1];if(t)return t}})},ne=[{name:"quantum-metric",isReady:()=>X(),isExpected:()=>K(),readIdentity:()=>({qm_subscription:te()??null,qm_user_id:X()?Q("QuantumMetricAPI.getUserID",()=>J(G().QuantumMetricAPI?.getUserID?.())):K()?null:void 0}),whenReady:e=>{let t,n=e;const o=()=>D("quantum-metric ready callback",()=>{n?.()}),i=()=>{n&&(t=o,D("QuantumMetricAPI.addEventListener('start')",()=>{G().QuantumMetricAPI?.addEventListener?.("start",o)}),D("QuantumMetricAPI.addEventListener('stop')",()=>{G().QuantumMetricAPI?.addEventListener?.("stop",o)}),o())};return Q("QuantumMetricAPI",()=>G().QuantumMetricAPI)?i():D("QuantumMetricOnload",()=>{const e=G().QuantumMetricOnload;if(Array.isArray(e))e.push(i);else{if("function"==typeof e){const t=e;return void(G().QuantumMetricOnload=function(...e){return D("QuantumMetricOnload (ours)",i),t.apply(this,e)})}G().QuantumMetricOnload=[i]}}),()=>{n=null,t&&(D("QuantumMetricAPI.removeEventListener('start')",()=>{G().QuantumMetricAPI?.removeEventListener?.("start",t)}),D("QuantumMetricAPI.removeEventListener('stop')",()=>{G().QuantumMetricAPI?.removeEventListener?.("stop",t)}),t=void 0)}}}],oe=(e,t)=>Q(`${e.name}.${t}`,()=>e[t]?.())??!1,ie=e=>Q(`input[name="${e}"]`,()=>{const t=document.querySelectorAll(`input[name="${CSS.escape(e)}"]`);for(const e of t){const t=J(e.value);if(t)return t}}),se="moveo_visitor_id",re=e=>Q(`document.cookie ${e}`,()=>{const t=`${e}=`,n=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith(t));return J(n?.slice(t.length))}),ae=new RegExp("^[A-Za-z0-9_-]{43}$"),ce=/^[0-9a-f-]{36}$/,le=()=>{const{path:e,...t}=(e=>{const t={};for(const n of e)for(const[e,o]of Object.entries(n))void 0!==o&&""!==o&&void 0===t[e]&&(t[e]=o);return t})([Y({qm_partner_id:ie("partnerId"),qm_client_id:ie("stdAppType"),qm_config_id:ie("selectedConfig"),qm_page_template:(n="template",Q(`meta[name="${n}"]`,()=>J(document.querySelector(`meta[name="${CSS.escape(n)}"]`)?.content))),path:Q("location.pathname",()=>J(window.location.pathname))}),...ne.map(e=>Q(`${e.name}.readIdentity`,()=>e.readIdentity?.())??{})]);var n;const o=Y(t),i=(()=>{const e=re(se);if(e&&(t=e,ae.test(t)||ce.test(t)))return e;var t;const n=Q("nanoid",()=>s(43));return n?(D("document.cookie write",()=>{document.cookie=`${se}=${n}; path=/; max-age=34214400; SameSite=Lax; Secure`}),re(se)===n?n:void 0):void 0})(),r=i?{...o,user:{web_psid:i}}:o;return e?{...r,global:{client_path:e}}:r},de="moveo:activity:locationchange",ue=Symbol.for("moveo.activity.history"),he=[de,"popstate","hashchange"],pe=[0,400];let me=!1;const fe=()=>{me||(me=!0,D("history patch",()=>{const e=window.history;e[ue]||(["pushState","replaceState"].forEach(t=>{const n=e[t];e[t]=function(...e){const t=n.apply(this,e);return D("location event",()=>{window.dispatchEvent(new Event(de))}),t}}),e[ue]=!0)}))},ve=e=>{fe();const t=new Set,n=()=>{t.forEach(e=>window.clearTimeout(e)),t.clear(),pe.forEach(n=>{const o=window.setTimeout(()=>{t.delete(o),e()},n);t.add(o)})};return he.forEach(e=>window.addEventListener(e,n)),()=>{he.forEach(e=>window.removeEventListener(e,n)),t.forEach(e=>window.clearTimeout(e)),t.clear()}},ge=Array.from({length:21},(e,t)=>t/20),ye=(e,{onChange:t,onResolved:n},o=600,i=f)=>{const s=e.filter(e=>"string"==typeof e?.id&&!!e.id);if("undefined"==typeof IntersectionObserver)return n(s.map(e=>({id:e.id,matched:null,selectors:e.match?.length??0}))),{stop:()=>{}};const r=new Map,a=new Map,c=new Map;let l,d=null,u=!1,h=null,p=!1;const m=e=>{d=e,t(e)},v=new IntersectionObserver(e=>{e.forEach(e=>{const{width:t,height:n}=e.intersectionRect;a.set(e.target,e.isIntersecting?t*n:0)}),(()=>{let e=null,t=0,n=0;a.forEach((o,i)=>{const s=r.get(i)??null;s===d&&(n=Math.max(n,o)),o>t&&(e=s,t=o)}),(e=>{if(e!==d)return u?void(h?.id!==e&&(h&&clearTimeout(h.timer),h={id:e,timer:setTimeout(()=>{h=null,m(e)},o)})):(u=!0,void m(e));h&&(clearTimeout(h.timer),h=null)})(t<=0?null:null!==d&&n>=t?d:e)})()},{threshold:ge}),g=(e,t)=>{const o=e.filter(e=>{const t=(e=>{for(let t=0;t<e.length;t+=1){const n=e[t],o="string"==typeof n&&n.trim()?Q("section selector",()=>document.querySelector(n)):null;if(o)return{element:o,index:t}}return null})(Array.isArray(e.match)?e.match:[]);if(!t)return!0;c.set(e.id,t.index);const n=(e=>{const t=Q("section band",()=>e.closest("section, article, [data-moveo-section]"));if(!t||t===e)return e;const n=Q("document height",()=>document.documentElement?.scrollHeight)??0,o=Q("band height",()=>t.getBoundingClientRect().height)??0;return n>0&&o>.5*n?e:t})(t.element);return r.has(n)||(r.set(n,e.id),v.observe(n)),!1});o.length>0&&t<i.length?l=setTimeout(()=>{l=void 0,g(o,t+1)},i[t]):p||n(s.map(e=>({id:e.id,matched:c.get(e.id)??null,selectors:Array.isArray(e.match)?e.match.length:0})))};return g(s,0),{stop:()=>{p=!0,v.disconnect(),clearTimeout(l),h&&(clearTimeout(h.timer),h=null)}}},we=i()("moveo:visible-band");var be,Ce,xe,Ee,Se;!function(e){e.Open="open",e.Resolved="closed",e.Expired="expired",e.Spam="spam",e.Trash="trash"}(be||(be={})),function(e){e.AnalyticsEvent="moveo-analytics-event",e.IframeLoaded="moveo-iframe-loaded",e.IframeError="moveo-iframe-error",e.WidgetLoaded="moveo-widget-loaded",e.WidgetError="moveo-widget-error",e.Opened="moveo-widget-opened",e.Closed="moveo-widget-closed",e.Resize="moveo-widget-resize",e.LocaleChanged="moveo-widget-locale-changed",e.SessionCreated="moveo-widget-session-created",e.SessionReconnected="moveo-widget-session-reconnected",e.SessionClosed="moveo-widget-session-closed",e.SessionExpired="moveo-widget-session-expired",e.ConversationClosed="moveo-widget-conversation-closed",e.LinkClicked="moveo-widget-link-clicked",e.Navigate="moveo-widget-navigate",e.UserActivity="moveo-widget-user-activity",e.MemberLeave="moveo-widget-member-leave",e.ConversationUnreadMessages="moveo-conversation-unread-messages",e.ConversationNoUnreadMessages="moveo-conversation-no-unread-messages",e.UserWayInit="moveo-userway-init"}(Ce||(Ce={})),function(e){e.SetConfig="moveo-set-config",e.SetLocale="moveo-set-locale",e.SetCssVariables="moveo-set-css-variables",e.Open="moveo-open",e.Close="moveo-close",e.CloseConversation="moveo-close-conversation",e.SendMessage="moveo-send-message",e.ShowTeaserMessage="moveo-show-teaser-message",e.UpdateContext="moveo-update-context",e.UpdateHostContext="moveo-update-host-context",e.LoadSessionReplay="moveo-load-session-replay",e.HostScroll="moveo-host-scroll",e.HostLocation="moveo-host-location",e.HostSection="moveo-host-section",e.HostSectionsResolved="moveo-host-sections-resolved",e.WindowResize="moveo-resize",e.HostFrameBox="moveo-host-frame-box",e.SessionActivity="session-activity",e.UserWayDisabled="userway-disabled",e.UserWayEnabled="userway-enabled",e.LinkClicked="link-clicked"}(xe||(xe={})),function(e){e.Expired="expired",e.Survey="survey",e.Closing="closing",e.Resolved="closed",e.Inactivity="inactivity"}(Ee||(Ee={})),function(e){e.CloseButton="close-btn",e.EndSessionButton="end-btn",e.HeaderMenuButton="header-menu-btn",e.RestartButton="restart-btn",e.LauncherButton="launcher-btn",e.MessageInput="message-input",e.DisclaimerCheck="disclaimer-check",e.DisclaimerContainer="disclaimer-container",e.HeaderContainer="header-container",e.ImageButton="image-btn"}(Se||(Se={}));const ke=()=>Q("window.top",()=>window===window.top)??!0,Me=["s2","s3","s4","s6","s7","s10","s12","s13","s14","s15","s16","s17","s19","s23"],Ie=["/shop","/go","/compact","/flex","/flex-pocket","/mini","/station-solo","/station-duo","/kiosk","/kitchen-display-system"],Te=["clover.com","www.clover.com","www.staging.clover.com"];class Ae{constructor({config:e}){this.detectUserway=()=>{Me.forEach(e=>{document.addEventListener(`userway:feature_enabled_${e}`,()=>{const t=localStorage.getItem(`userway-${e}`)??"";this.sendEventToIframe({type:xe.UserWayEnabled,data:{eventType:e,value:t}})}),document.addEventListener(`userway:feature_disabled_${e}`,()=>{this.sendEventToIframe({type:xe.UserWayDisabled,data:{eventType:e}})})})},this.initUserway=()=>{const e={...localStorage};Object.keys(e).forEach(t=>{const n=(e[t],e[t]);if(t.includes("userway-s")&&(!isNaN(parseInt(n))||"true"===n)){const e=t.split("-")[1];"0"===n?this.sendEventToIframe({type:xe.UserWayDisabled,data:{eventType:e}}):this.sendEventToIframe({type:xe.UserWayEnabled,data:{eventType:e,value:n}})}})},this.detectMobile=()=>{this.sendEventToIframe({type:xe.WindowResize,data:{is_mobile:v(),width:window.innerWidth,height:window.innerHeight}}),this.sendFrameBox()},this.updateLastActivity=()=>{try{this.sendEventToIframe({type:xe.SessionActivity,data:"active"})}catch(e){this.log("Failed to report page activity",e)}},this.sendHostContext=()=>{if(this.stopHostContext)try{const e=le();if(0===Object.keys(e).length)return;const t=JSON.stringify(e);if(t===this.sentHostContext)return;this.sentHostContext=t,this.log("Host context:",e),this.updateHostContext(e)}catch(e){this.log("Failed to collect host context",e)}},this.sendSessionReplayHandoff=()=>{if(this.stopHostContext)try{const e=te();if(!e)return void(this.sentReplaySubscription=null);if(e===this.sentReplaySubscription)return;this.sentReplaySubscription=e,this.log("Session replay handoff:",e),this.sendEventToIframe({type:xe.LoadSessionReplay,data:{vendor:"quantum-metric",subscription:e}})}catch(e){this.log("Failed to hand off the session replay subscription",e)}},this.trackHostContext=()=>{const e=(e=>{const t=[];ne.forEach(n=>{const o=Q(`${n.name}.whenReady`,()=>n.whenReady?.(e));"function"==typeof o&&t.push(o)});const n=new Set(ne.filter(e=>oe(e,"isExpected")&&!oe(e,"isReady")));let o;if(n.size>0){let t=Math.ceil(20);o=window.setInterval(()=>{t-=1,n.forEach(t=>{oe(t,"isReady")&&(n.delete(t),e())}),(0===n.size||t<=0)&&window.clearInterval(o)},500)}return()=>{window.clearInterval(o),t.forEach(e=>D("provider unsubscribe",e)),t.length=0}})(()=>{this.sendHostContext(),this.sendSessionReplayHandoff()}),t=ve(this.sendHostContext);this.stopHostContext=()=>{e(),t()}},this.trackSections=()=>{this.sectionTracker?.stop(),this.sectionTracker=null,this.sectionReport=null,this.hostSection=null,this.sendHostSection();const e=((e,t)=>{const n=(e=>{try{return new URL(e??"").pathname.toLowerCase()}catch{return(e??"").toLowerCase()}})(t);let o,i=0;return e?.forEach(e=>{const t=e?.url?.trim().toLowerCase();!t||t.length<=i||!n.includes(t)||(o=e,i=t.length)}),o})(this.config.teaser?.pages,window.location.href);e?.sections?.length&&(this.sectionTracker=ye(e.sections,{onChange:e=>{this.hostSection=e,this.sendHostSection()},onResolved:t=>{this.sectionReport={page:{id:e.id??null,url:e.url},sections:t},this.sendSectionReport()}}))},this.sendHostLocation=()=>{const e=Q("host location",()=>window.location.href);e&&this.sendEventToIframe({type:xe.HostLocation,data:{href:e}})},this.applyVisibility=()=>{this.widgetOpen||this.sessionActive||this.pageAllowsWidget()?this.iframe.style.display="":this.iframe.style.display="none"},this.pageAllowsWidget=()=>((e,t)=>{if(!h(e))return!0;try{const e=new URL(t);return!Te.includes(e.hostname.toLowerCase())||Ie.some(t=>((e,t)=>{const n=(e=>e.replace(/\/+$/,"")||"/")(e);return n===t||n.startsWith(`${t}/`)})(e.pathname,t))}catch{return!0}})(this.config.account_id,window.location.href),this.sendFrameBox=()=>{requestAnimationFrame(()=>{if(!this.iframe)return;const{width:e,height:t}=this.iframe.getBoundingClientRect();e&&t&&(this.frameHeight=t,this.placeInVisibleBand(),this.sendEventToIframe({type:xe.HostFrameBox,data:{width:e,height:t}}))})},this.placeInVisibleBand=()=>{const e=this.visibleBand;if(!this.iframe||!e||this.hostAlignedTop||"embed"===this.config.widget_position)return;if(this.iframe.classList.contains("full"))return void this.placeFullInBand(e);if(e.bottom>=window.innerHeight-1)return this.iframe.style.removeProperty("top"),this.iframe.style.removeProperty("bottom"),this.iframe.style.removeProperty("transition"),this.iframe.style.removeProperty("transform"),this.iframe.style.removeProperty("will-change"),void(this.placedTop=null);null==this.frameHeight&&(this.frameHeight=this.iframe.getBoundingClientRect().height);const t=Math.max(0,e.bottom-this.frameHeight);if(t!==this.placedTop){if(this.placedTop=t,e.exact)return this.iframe.style.top="0px",this.iframe.style.bottom="auto",this.iframe.style.willChange="transform",this.iframe.style.transition="none",void(this.iframe.style.transform=`translateY(${t}px)`);this.iframe.style.removeProperty("transform"),this.iframe.style.removeProperty("will-change"),this.iframe.style.transition="top 0.25s linear",this.iframe.style.top=`${t}px`,this.iframe.style.bottom="auto"}},this.placeFullInBand=e=>{e.top<=1&&e.bottom>=window.innerHeight-1?this.clearFullBandPin():(this.iframe.style.transition=e.exact?"":"top 0.25s linear, height 0.25s linear",this.iframe.style.setProperty("--moveo-full-top",`${e.top}px`),this.iframe.style.setProperty("--moveo-full-height",e.bottom-e.top+"px"))},this.clearFullBandPin=()=>{this.iframe.style.removeProperty("--moveo-full-top"),this.iframe.style.removeProperty("--moveo-full-height")},this.config=e,this.id=e.widgetId,this.isNested=!ke(),this.initialized=!1,this.log=i()(`moveo:web-client:${this.id}`),this.iframe=this.createIframe(),this.stopHostContext=null,this.stopActivityTracking=null,this.scrollTracker=null,this.stopLocationTracking=null,this.stopVisibilityTracking=null,this.widgetOpen=!1,this.sessionActive=!1,this.awaitingReplacement=!1,this.fiservAccount=h(this.config.account_id),this.sectionTracker=null,this.hostSection=null,this.sectionReport=null,this.appMounted=!1,this.sentHostContext=null,this.sentReplaySubscription=null,this.stopWindowListeners=null,this.widgetLoadedEvent=null,this.stopVisibleBand=null,this.visibleBand=null,this.hostAlignedTop=!1,this.frameHeight=null,this.placedTop=null}createIframe(){const e=document.createElement("iframe");return e.width="1px",e.height="1px",e.title="Moveo webchat",e.id=this.id,e.name=this.id,e.allow="geolocation; microphone; autoplay",e.style.border="0",e.classList.add("web-client-container"),"embed"===this.config.widget_position&&e.classList.add("embed"),e.setAttribute("src",(e=>{let t="";const n=document.querySelectorAll("script");n&&n.forEach(e=>{e.src?.includes(m)&&(t=m),e.src?.includes(p)&&(t=p),e.src?.match(/@moveo-ai\/web-client.*next/)&&(t="https://web-client.dev.moveo.ai")});const{origin:o}=window.location;return t||(t=o.match(/^https?:\/\/(localhost|127\.0\.0\.1|\[::1\])(:\d+)?$/)||o.match(/^https:\/\/([a-z0-9-]+\.)?web-7ii\.pages\.dev$/)||o.match(/web-client.*moveo-ai\.vercel\.app/)||o.match(/web.*moveo\.ai/)?o:p),`${t}?widgetId=${e}`})(this.id)),e}handleEvents(e,t){return n=>{const o=g(this.id,n);if(o)switch(o.type){case Ce.IframeLoaded:{let e=this.config;this.pageAllowsWidget()||(e={...this.config,auto_open:!1}),this.sendEventToIframe({type:xe.SetConfig,data:e}),this.fiservAccount&&!this.stopHostContext&&this.trackHostContext(),this.sendHostContext(),this.sendSessionReplayHandoff();break}case Ce.SessionCreated:case Ce.SessionReconnected:this.sessionActive=!0,this.awaitingReplacement=!1,this.applyVisibility(),this.sentHostContext=null,this.sendHostContext();break;case Ce.SessionClosed:case Ce.SessionExpired:{const e=o.type===Ce.SessionClosed&&!0===o.data?.restarting;this.awaitingReplacement=e,e||(this.sessionActive=!1,this.applyVisibility());break}case Ce.IframeError:return this.stopInstrumentation(),this.stopWindowListeners?.(),this.stopWindowListeners=null,t(o.data);case Ce.UserWayInit:this.initUserway(),this.detectUserway();break;case Ce.WidgetLoaded:setTimeout(()=>{this.detectMobile(),e(this)},0),this.sentHostContext=null,this.sentReplaySubscription=null,this.sendHostContext(),this.sendSessionReplayHandoff(),(this.stopVisibilityTracking||this.stopLocationTracking)&&this.sendHostLocation(),this.appMounted=!0,this.sectionTracker&&this.sendHostSection(),this.sendSectionReport(),this.widgetLoadedEvent={timestamp:(new Date).toISOString(),event:"widget_loaded",properties:{}};break;case Ce.WidgetError:this.notify(o);break;case Ce.Opened:o.data.skipInstanceCallback||(this.widgetOpen=!0===o.data.openedByUser||this.sessionActive,this.applyVisibility()),(o.data.isFull||o.data.is_mobile||v())&&(this.iframe.classList.add("full"),this.placeInVisibleBand());break;case Ce.Closed:o.data.skipInstanceCallback||(this.widgetOpen=!1,this.awaitingReplacement&&(this.awaitingReplacement=!1,this.sessionActive=!1),this.applyVisibility()),(o.data.isFull||v())&&(this.iframe.classList.remove("full"),this.clearFullBandPin(),this.frameHeight=null,this.placeInVisibleBand());break;case Ce.Resize:{this.iframe.style.width=o.data.width,this.iframe.style.height=o.data.height,this.iframe.style.left=o.data.left,null!=o.data.top&&(this.iframe.style.top=o.data.top,this.iframe.style.bottom="auto",this.hostAlignedTop=!0);const e=Number.parseFloat(o.data.height);Number.isFinite(e)&&e>0?(this.frameHeight=e,this.placeInVisibleBand()):this.frameHeight=null,this.sendFrameBox();break}case Ce.Navigate:{if(n.source!==this.iframe.contentWindow)break;const e=o.data?.url;"string"==typeof e&&(e=>{try{const{protocol:t}=new URL(e);return"http:"===t||"https:"===t}catch{return!1}})(e)&&ke()&&((e,t)=>{try{return new URL(e).hostname===new URL(t).hostname}catch{return!1}})(e,window.location.href)&&this.followSameDomainLink(e);break}default:this.log(`Unhandle event: ${o.type}`)}}}sendHostSection(){this.appMounted&&this.sendEventToIframe({type:xe.HostSection,data:{id:this.hostSection}})}sendSectionReport(){this.appMounted&&this.sectionReport&&(this.sendEventToIframe({type:xe.HostSectionsResolved,data:this.sectionReport}),this.sectionReport=null)}stopInstrumentation(){this.stopHostContext?.(),this.stopHostContext=null,this.stopActivityTracking?.(),this.stopActivityTracking=null,this.scrollTracker?.stop(),this.scrollTracker=null,this.stopLocationTracking?.(),this.stopLocationTracking=null,this.stopVisibilityTracking?.(),this.stopVisibilityTracking=null,this.sectionTracker?.stop(),this.sectionTracker=null,this.stopVisibleBand?.(),this.stopVisibleBand=null,this.visibleBand=null}resolveEmbedElement(){const e=this.config?.element||null;if("string"!=typeof e)return e;const t=document.getElementById(e);if(!t)throw new Error(`Element with id: ${e} not found`);return t}init(){return new Promise((e,t)=>{if(b(navigator.userAgent))throw new Error(`Widget ${this.id} was not initialized because user-agent is a bot`);if(this.initialized)throw new Error(`Widget ${this.id} was already initialized`);let n;n="embed"===this.config.widget_position?this.resolveEmbedElement():window.document.querySelector("body");const o=this.handleEvents(e,t),i=q(this.detectMobile,100);if(window.addEventListener("message",o),window.addEventListener("resize",i),this.stopWindowListeners=()=>{window.removeEventListener("message",o),window.removeEventListener("resize",i)},this.applyVisibility(),n?.appendChild(this.iframe),this.fiservAccount&&(this.stopVisibilityTracking=ve(()=>{this.applyVisibility(),this.sendHostLocation()})),this.stopActivityTracking=(e=>{const t=[],n=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return C(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),q(e,t,{leading:o,maxWait:t,trailing:i})}(e,3e3),o=(e,o)=>{window.addEventListener(e,n,o),t.push(()=>window.removeEventListener(e,n,o))},i={passive:!0};return o("load",i),o("mousemove",i),o("mousedown",i),o("touchstart",i),o("touchmove",i),o("click",i),o("keydown",i),o("scroll",{capture:!0,passive:!0}),()=>{t.forEach(e=>e()),t.length=0,n.cancel()}})(this.updateLastActivity),this.config.teaser&&(this.scrollTracker=(e=>{let t,n=!1;const o=()=>{n=!1,e(!1)},i=()=>{n||(n=!0,e(!0)),clearTimeout(t),t=setTimeout(o,1e3)},s={capture:!0,passive:!0};return window.addEventListener("scroll",i,s),{pulse:i,stop:()=>{window.removeEventListener("scroll",i,s),clearTimeout(t)}}})(e=>this.sendEventToIframe({type:xe.HostScroll,data:{scrolling:e}}))),this.config.teaser?.pages?.length){const e=(s=this.config.teaser.pages,!!s?.some(e=>!!e?.sections?.length));this.stopLocationTracking=ve(()=>{this.sendHostLocation(),e&&this.trackSections()}),e&&this.trackSections()}var s,r;this.isNested&&"embed"!==this.config.widget_position&&(this.stopVisibleBand=(r=e=>{const t=null!=e&&(this.visibleBand?.top!==e.top||this.visibleBand?.bottom!==e.bottom);this.visibleBand=e,this.placeInVisibleBand(),t&&this.scrollTracker?.pulse()},Q("visible band",()=>(e=>{const t=(()=>{const e=[];try{let t=window;for(;t!==t.parent;){if(!t.frameElement)return null;t=t.parent,t.innerHeight,e.push(t)}}catch{return null}return e})();if(!t||0===t.length)return null;const n=()=>{let e=0,t=window.innerHeight,n=0,o=window;for(;o!==o.parent;){const i=o.frameElement;if(!i)return null;n+=i.getBoundingClientRect().top+i.clientTop,o=o.parent,e=Math.max(e,-n),t=Math.min(t,o.innerHeight-n)}return t>e?{top:e,bottom:t,exact:!0}:null};let o=null;const i=()=>{const t=Q("ancestor geometry",n)??null;!t||o&&o.top===t.top&&o.bottom===t.bottom||(o=t,e(t))},s={capture:!0,passive:!0};for(const e of t)e.addEventListener("scroll",i,s),e.addEventListener("resize",i);return window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i);for(const e of t)try{e.removeEventListener("scroll",i,s),e.removeEventListener("resize",i)}catch{}}})(r))||(Q("visible band ladder",()=>(e=>{const t=document.createElement("div");t.style.cssText="position:absolute;top:0;left:0;width:0;height:0;pointer-events:none";const n=document.createElement("div");n.dataset.bandProbe="";const o=()=>{const e=t.parentNode;e?.removeChild(t);const n=Q("document height",()=>Math.max(document.documentElement.scrollHeight,window.innerHeight));return e?.appendChild(t),n&&n>0?n:null},i=new Set;let s=null,r=0,a=600,c=!1;const l=new IntersectionObserver(t=>{for(const e of t){const t=Number(e.target.dataset.y);e.isIntersecting?i.add(t):i.delete(t);const n=e.rootBounds?.height;n&&(a=n)}C(),(()=>{if(c)return;if(0===i.size)return;const t=Q("scrollY",()=>window.scrollY)??0;let n=1/0,o=-1/0;for(const e of i)e<n&&(n=e),e>o&&(o=e);n=Math.max(0,n-t),o-=t,o<=n||s&&s.top===n&&s.bottom===o||(s={top:n,bottom:o,exact:!1},e(s))})()},{root:null,threshold:0});let d=null,u=null,h=0,p=null;const m=new IntersectionObserver(t=>{const n=(e=>{const t=e.intersectionRect,n=e.boundingClientRect;if(!e.isIntersecting||!t||!n)return null;const o=Q("scrollY",()=>window.scrollY)??0,i=t.top-n.top-o,s=t.bottom-n.top-o;if(!Number.isFinite(i)||!Number.isFinite(s)||s<=i)return null;const r=performance.now(),a=Number.isFinite(e.time)&&r-e.time>-5&&r-e.time<200?e.time:r;return{top:Math.max(0,i),bottom:s,at:a}})(t[t.length-1]);if(!n)return;c||(c=!0,we("browser clips the probe; exact bands from here on"));const o=u?.top===n.top&&u.bottom===n.bottom;return o&&null!==g?void 0:null!==g?(d=n,void(v=performance.now()+500)):void(o&&s?.exact&&s.top===n.top&&s.bottom===n.bottom||(u={t:n.at,top:n.top,bottom:n.bottom},h=0,p=n.bottom,s={top:n.top,bottom:n.bottom,exact:!0},e(s),C()))},{root:null,threshold:0}),f=()=>{m.unobserve(n),m.observe(n)};let v=0,g=null,y=0,w=0;const b=()=>{g=null,D("visible band pump",()=>{const t=performance.now(),n=w?Math.min(50,t-w):16;if(w=t,null!==p&&(p+=h*n),d){y=0;const e=d;d=null,(e=>{const t=u;u={t:e.at,top:e.top,bottom:e.bottom};const n=t?e.at-t.t:0;if(!t||null===p||n<4||n>120)return p=e.bottom,void(h=0);let o=(e.bottom-t.bottom)/n;o=Math.max(h-.3*n,Math.min(h+.3*n,o)),h=0!==h&&Math.sign(o)!==Math.sign(h)||0===h?o:h+.4*(o-h),p+=.35*(e.bottom-p)})(e)}else if(y||(y=t),t-y>24/Math.max(.1,Math.abs(h))&&(h*=Math.exp(-n/50),Math.abs(h)<.02&&(h=0),0===h&&u&&null!==p&&(p+=(u.bottom-p)*(1-Math.exp(-n/40)),Math.abs(p-u.bottom)<.75&&(p=u.bottom))),u&&null!==p&&0!==h){const e=u.bottom+32*Math.sign(h);p=h>0?Math.min(p,e):Math.max(p,e)}if(null!==p&&u){const t=Math.max(-160,Math.min(160,8*h)),o=u.bottom-u.top;let i=p+t;if(s?.exact){const e=Math.abs(h)*n*1.75+6;i=Math.max(s.bottom-e,Math.min(s.bottom+e,i))}const r=(e=>{const t=Math.max(0,e.top+0);let n=e.bottom+0;const o=window.innerHeight-2;return e.bottom<=o&&n>o&&(n=o),n<=t?null:{top:t,bottom:n,exact:!0}})({top:Math.max(0,i-o),bottom:i});r&&((t,n)=>{s?.exact&&s.top===t&&s.bottom===n||(s={top:t,bottom:n,exact:!0},e(s))})(r.top,r.bottom)}t>=v||(f(),g=requestAnimationFrame(b))})},C=()=>{v=performance.now()+500,null===g&&"function"==typeof requestAnimationFrame&&(y=0,w=0,f(),g=requestAnimationFrame(b))},x=e=>{r=e;const o=((e,t)=>{const n=Math.max(16,Math.ceil(e/200)),o=Math.max(16,Math.floor(.5*t));return Math.max(Math.min(n,o),Math.ceil(e/2e3))})(r,a);t.replaceChildren(),i.clear(),n.style.cssText=`position:absolute;top:0;left:0;width:1px;height:${r}px;pointer-events:none`,t.appendChild(n);const s=e=>{const n=document.createElement("div");n.dataset.y=String(e),n.style.cssText=`position:absolute;top:${e}px;left:0;width:1px;height:1px`,t.appendChild(n)};let c=0;for(;c<r-1;c+=o)s(c);s(Math.max(0,r-1)),l.disconnect();for(const e of t.children)e!==n&&l.observe(e);m.disconnect(),m.observe(n)};let E=!1;const S=()=>{D("visible band rebuild",()=>{const e=E?o():null;null!==e&&e!==r&&x(e)})},k=()=>{D("visible band attach",()=>{(document.body??document.documentElement).appendChild(t),E=!0;const e=o();null!==e&&x(e)})};return document.body?k():document.addEventListener("DOMContentLoaded",k,{once:!0}),window.addEventListener("resize",S),()=>{null!==g&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(g),g=null,v=0,d=null,u=null,h=0,p=null,w=0,window.removeEventListener("resize",S),document.removeEventListener("DOMContentLoaded",k),l.disconnect(),m.disconnect(),t.remove(),i.clear(),s=null}})(r))??(()=>{})))),this.initialized=!0,this.detectMobile()})}sendEventToIframe(e){this.iframe&&this.iframe.contentWindow?(this.log(`Event to iframe: ${e.type}`,e),e.type===xe.SetConfig&&e.data?.element&&delete e.data.element,this.iframe.contentWindow.postMessage({...e,type:`${this.id}${e.type}`},"*")):this.log("Error: Cannot find iframe to send event")}notify(e){this.log(`notify ${e.type}:`,e)}notifyParent(e,t){window.addEventListener("message",n=>{const o=g(this.id,n);if(o&&(this.log(`Event from iframe: ${o.type}`,o),o.type===e)){if("data"in o&&"object"==typeof o.data&&null!==o.data&&"skipInstanceCallback"in o.data)return;t("data"in o?o.data:void 0)}})}openWindow(){this.sendEventToIframe({type:xe.Open})}async destroy(){var e;this.closeConversation({hide:!0}),this.stopInstrumentation(),await(e=4e3,new Promise(t=>setTimeout(t,e)));const t=document.getElementById(this.id);t&&(t.remove(),this.initialized=!1),this.stopWindowListeners?.(),this.stopWindowListeners=null,this.sentHostContext=null,this.sentReplaySubscription=null,this.widgetLoadedEvent=null,this.appMounted=!1,this.widgetOpen=!1,this.sessionActive=!1,this.awaitingReplacement=!1,this.hostSection=null,this.sectionReport=null}closeConversation({hide:e}){this.sendEventToIframe({type:xe.CloseConversation,data:{hide:e}})}closeWindow(){this.sendEventToIframe({type:xe.Close})}sendMessage(e){this.sendEventToIframe({type:xe.SendMessage,data:e})}showTeaserMessage(e){this.sendEventToIframe({type:xe.ShowTeaserMessage,data:e?{text:e}:void 0})}updateContext(e){this.sendEventToIframe({type:xe.UpdateContext,data:e})}updateHostContext(e){this.sendEventToIframe({type:xe.UpdateHostContext,data:e})}setCSSVariables(e){const t=e["--moveo-z-index"];void 0!==t&&this.iframe&&(t?this.iframe.style.setProperty("--moveo-z-index",t):this.iframe.style.removeProperty("--moveo-z-index")),this.sendEventToIframe({type:xe.SetCssVariables,data:e})}setLocale(e){this.sendEventToIframe({type:xe.SetLocale,data:e})}onSessionCreated(e){this.notifyParent(Ce.SessionCreated,e)}onSessionClosed(e){this.notifyParent(Ce.SessionClosed,e)}onConversationClosed(e){this.notifyParent(Ce.ConversationClosed,e)}onSessionReconnected(e){this.notifyParent(Ce.SessionReconnected,e)}onNoUnreadMessages(e){this.notifyParent(Ce.ConversationNoUnreadMessages,e)}onUnreadMessages(e){this.notifyParent(Ce.ConversationUnreadMessages,e)}followSameDomainLink(e){let t=!1;const n=new MutationObserver(()=>{t=!0,n.disconnect()});n.observe(document.body,{childList:!0,subtree:!0}),window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate",{state:{}})),window.setTimeout(()=>{n.disconnect(),t||this.navigateHost(e)},1e3)}navigateHost(e){window.location.assign(e)}onLinkClicked(e){this.notifyParent(Ce.LinkClicked,e)}onUserActivity(e){this.notifyParent(Ce.UserActivity,e)}onAnalyticsEvent(e){this.notifyParent(Ce.AnalyticsEvent,e),this.widgetLoadedEvent&&e(this.widgetLoadedEvent)}onWebchatOpened(e){this.notifyParent(Ce.Opened,e)}onWebchatClosed(e){this.notifyParent(Ce.Closed,e)}onMemberLeave(e){this.notifyParent(Ce.MemberLeave,e)}}var Fe=n.cjs(function(e,t){var n=[];function o(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function i(e,t){for(var i={},r=[],a=0;a<e.length;a++){var c=e[a],l=t.base?c[0]+t.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var h=o(u),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)n[h].references++,n[h].updater(p);else{var m=s(p,t);t.byIndex=a,n.splice(a,0,{identifier:u,updater:m,references:1})}r.push(u)}return r}function s(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,t){var s=i(e=e||[],t=t||{});return function(e){e=e||[];for(var r=0;r<s.length;r++){var a=o(s[r]);n[a].references--}for(var c=i(e,t),l=0;l<s.length;l++){var d=o(s[l]);0===n[d].references&&(n[d].updater(),n.splice(d,1))}s=c}}}),Le=n.n(Fe),Oe=n.cjs(function(e,t){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,i&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}),He=n.n(Oe),Re=n.cjs(function(e,t){var n={};e.exports=function(e,t){var o=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}}),je=n.n(Re),Pe=n.cjs(function(e,t){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}}),$e=n.n(Pe),ze=n.cjs(function(e,t){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}}),_e=n.n(ze),Ue=n.cjs(function(e,t){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}),Be=n.n(Ue),We=n(1178),Ne={};Ne.styleTagTransform=Be(),Ne.setAttributes=$e(),Ne.insert=je().bind(null,"head"),Ne.domAPI=He(),Ne.insertStyleElement=_e(),Le()(We.A,Ne),We.A&&We.A.locals&&We.A.locals;let qe=i()("moveo:web-client");const Ve=async e=>{await new Promise(e=>{if("complete"===document.readyState)return e();window.addEventListener("load",()=>e())});const t=await(async e=>{const t=`moveo-${s(5)}`,n=window.location.href;if(qe=qe.extend(`:${t}`),!e?.integrationId)throw new Error("integrationId is required.\n Call MoveoAI.init({ integrationId: YOUR_INTEGRATION_HERE })");const o=await(async(e,t)=>{const n=t||d,o=await fetch(`${n}/v1/web/${e}`,{headers:{"Cache-Control":"no-cache"}}),i=await o.text();if(o.ok)return JSON.parse(i);throw new Error(`Error loading config from: ${n}/${e}`)})(e.integrationId,e.host);qe("Loaded integration configuration:",o);const{feature_flags:i,account_id:r,...a}=e;void 0!==i&&qe("feature_flags is server-owned; the caller value is ignored"),void 0!==r&&qe("account_id is server-owned; the caller value is ignored");const{teaser:l,...u}=a;return{...c({...o},u),...void 0!==l&&{teaser:l},clientUrl:n,widgetId:t}})(e);if(qe("Configuration:",t),"embed"===t.widget_position&&!t.element)throw new Error("element is not defined but required by embed widget");const n=new Ae({config:t});qe("Initializing");const o=await n.init();return qe("Initialized"),o}}};const t={};function n(o){const i=t[o];if(void 0!==i)return i.exports;const s=t[o]={id:o,exports:{}};return e[o](s,s.exports,n),s.exports}return n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var i=t[o++],s=t[o++];n.o(e,i)?0===s&&o++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[o++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.cjs=e=>{const t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},n.nc=void 0,n(5139)})());
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("MoveoAI",[],t):"object"==typeof exports?exports.MoveoAI=t():e.MoveoAI=t()}(this,()=>(()=>{var e={1178(e,t,n){"use strict";var o=n(1601),i=n.n(o),s=n(6314),r=n.n(s)()(i());r.push([e.id,"/*\n * Applied to the iframe on the customer's own page, so the overrides below are\n * deliberate: the host stylesheet must not win.\n */\n.web-client-container {\n position: fixed;\n right: 0;\n bottom: 0;\n z-index: var(--moveo-z-index, 10022);\n max-height: 99%;\n cursor: pointer;\n}\n\n.web-client-container.embed {\n position: static;\n width: 100% !important;\n height: 100% !important;\n max-height: 100%;\n}\n\n/*\n * Full is the frame's viewport — the visitor's window only on a top-level\n * page. On a nested install the loader pins the panel to the visible band\n * through these two variables; unset, they resolve to the plain full frame.\n */\n.web-client-container.full {\n inset: var(--moveo-full-top, 0) 0 auto 0 !important;\n width: 100% !important;\n height: var(--moveo-full-height, 100%) !important;\n max-height: initial;\n}\n",""]);const a=r;n.d(t,["A",0,a])},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,o,i,s){"string"==typeof e&&(e=[[null,e,void 0]]);var r={};if(o)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(r[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);o&&r[d[0]]||(void 0!==s&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},1601(e){"use strict";e.exports=function(e){return e[1]}},7833(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(736)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},736(e,t,n){e.exports=function(e){function t(e){let n,i,s,r=null;function a(...e){if(!a.enabled)return;const o=a,i=Number(new Date),s=i-(n||i);o.diff=s,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";r++;const s=t.formatters[i];if("function"==typeof s){const t=e[r];n=s.call(o,t),e.splice(r,1),r--}return n}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{r=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function i(e,t){let n=0,o=0,i=-1,s=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,s=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,s++,n=s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(6585),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6585(e){var t=1e3,n=60*t,o=60*n,i=24*o,s=7*i;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}e.exports=function(e,a){a=a||{};var c,l,d=typeof e;if("string"===d&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var a=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===d&&isFinite(e))return a.long?(c=e,(l=Math.abs(c))>=i?r(c,l,i,"day"):l>=o?r(c,l,o,"hour"):l>=n?r(c,l,n,"minute"):l>=t?r(c,l,t,"second"):c+" ms"):function(e){var s=Math.abs(e);return s>=i?Math.round(e/i)+"d":s>=o?Math.round(e/o)+"h":s>=n?Math.round(e/n)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},5473(e,t,n){"use strict";n.r(t),n.d(t,{init:()=>Ct});var o=n(7833),i=n.n(o);let s=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};const r=e=>{if("object"==typeof e&&null!==e){if("function"==typeof Object.getPrototypeOf){const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}return"[object Object]"===Object.prototype.toString.call(e)}return!1},a=new Set(["__proto__","constructor","prototype","toString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString"]),c=(...e)=>e.reduce((e,t)=>{if(void 0===t)return e;if(Array.isArray(t))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(t).forEach(n=>{a.has(n)||(Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=c.options.mergeArrays?c.options.uniqueArrayItems?Array.from(new Set(e[n].concat(t[n]))):[...e[n],...t[n]]:t[n]:r(e[n])&&r(t[n])?e[n]=c(e[n],t[n]):!r(e[n])&&r(t[n])?e[n]=c(t[n],void 0):e[n]=void 0===t[n]?c.options.allowUndefinedOverrides?t[n]:e[n]:t[n])}),e},{}),l={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};c.options=l,c.withOptions=(e,...t)=>{c.options=Object.assign(Object.assign({},l),e);const n=c(...t);return c.options=l,n};const d="https://channels-ws.moveo.ai",u=Object.freeze({"bab4875e-0411-4ae1-9e98-19ea236d369b":"nbg","0ffdaef8-4ce9-4188-9fdd-4644e5062cf2":"alpha","0e614713-2e6b-4af2-8e9e-21c2a4617981":"fiserv"}),h=e=>Boolean(e&&"fiserv"===u[e]),m="https://web.moveo.ai",p="https://web.dev.moveo.ai",f="storage",v=[1e3,2e3],g=()=>window.innerWidth<650||window.innerHeight<550&&window.innerWidth<1e3||(()=>{const{screen:e,matchMedia:t}=window;return!(!e||"function"!=typeof t)&&Math.min(e.width,e.height)<650&&t("(pointer: coarse)").matches})(),y=(e,t)=>{const n=t?.data?.type;if("string"!=typeof n||!n.startsWith(e))return null;const o=n.replace(e,""),i=t.data?.data;return{type:o,data:i}};var w,b=/bot|crawl|http|lighthouse|scan|search|spider/i;var C=function(e){return"string"==typeof(t=e)&&""!==t&&function(){if(w instanceof RegExp)return w;try{w=new RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+\\.ai|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|fetcher|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|upday/|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){w=b}return w}().test(e);var t};const x=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},E="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;var S="object"==typeof self&&self&&self.Object===Object&&self;const k=E||S||Function("return this")(),I=function(){return k.Date.now()};var M=/\s/;var T=/^\s+/;const A=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&M.test(e.charAt(t)););return t}(e)+1).replace(T,""):e},L=k.Symbol;var F=Object.prototype,$=F.hasOwnProperty,_=F.toString,O=L?L.toStringTag:void 0;var H=Object.prototype.toString;var P=L?L.toStringTag:void 0;const R=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?function(e){var t=$.call(e,O),n=e[O];try{e[O]=void 0;var o=!0}catch(e){}var i=_.call(e);return o&&(t?e[O]=n:delete e[O]),i}(e):function(e){return H.call(e)}(e)};var j=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,U=/^0o[0-7]+$/i,B=parseInt;const W=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==R(e)}(e))return NaN;if(x(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=x(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=A(e);var n=z.test(e);return n||U.test(e)?B(e.slice(2),n?2:8):j.test(e)?NaN:+e};var N=Math.max,q=Math.min;const V=function(e,t,n){var o,i,s,r,a,c,l=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=o,s=i;return o=i=void 0,l=t,r=e.apply(s,n)}function p(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-l>=s}function f(){var e=I();if(p(e))return v(e);a=setTimeout(f,function(e){var n=t-(e-c);return u?q(n,s-(e-l)):n}(e))}function v(e){return a=void 0,h&&o?m(e):(o=i=void 0,r)}function g(){var e=I(),n=p(e);if(o=arguments,i=this,c=e,n){if(void 0===a)return function(e){return l=e,a=setTimeout(f,t),d?m(e):r}(c);if(u)return clearTimeout(a),a=setTimeout(f,t),m(c)}return void 0===a&&(a=setTimeout(f,t)),r}return t=W(t)||0,x(n)&&(d=!!n.leading,s=(u="maxWait"in n)?N(W(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),g.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=c=i=a=void 0},g.flush=function(){return void 0===a?r:v(I())},g},Q=i()("moveo:safe-read"),D=(e,t)=>{try{return t()}catch(t){return void Q("%s unreadable: %o",e,t)}},J=(e,t)=>{D(e,()=>{t()})},Y=e=>{if("string"==typeof e)return e.trim()||void 0},Z=e=>{for(const t of Object.keys(e))void 0===e[t]&&delete e[t];return e},G=()=>window,K=()=>D("QuantumMetric scripts",()=>Array.from(document.querySelectorAll('script[src*="quantummetric"]')))??[],X=()=>K().length>0,ee=()=>D("QuantumMetricAPI.isOn",()=>{const e=G().QuantumMetricAPI;return"function"==typeof e?.isOn&&!0===e.isOn()})??!1,te=/\/qscripts\/quantum-([a-z0-9-]+)\.js/,ne=()=>{if(ee())return D("QuantumMetric script src",()=>{for(const e of K()){const t=e.getAttribute("src")?.match(te)?.[1];if(t)return t}})},oe=[{name:"quantum-metric",isReady:()=>ee(),isExpected:()=>X(),readIdentity:()=>({qm_subscription:ne()??null,qm_user_id:ee()?D("QuantumMetricAPI.getUserID",()=>Y(G().QuantumMetricAPI?.getUserID?.())):X()?null:void 0}),whenReady:e=>{let t,n=e;const o=()=>J("quantum-metric ready callback",()=>{n?.()}),i=()=>{n&&(t=o,J("QuantumMetricAPI.addEventListener('start')",()=>{G().QuantumMetricAPI?.addEventListener?.("start",o)}),J("QuantumMetricAPI.addEventListener('stop')",()=>{G().QuantumMetricAPI?.addEventListener?.("stop",o)}),o())};return D("QuantumMetricAPI",()=>G().QuantumMetricAPI)?i():J("QuantumMetricOnload",()=>{const e=G().QuantumMetricOnload;if(Array.isArray(e))e.push(i);else{if("function"==typeof e){const t=e;return void(G().QuantumMetricOnload=function(...e){return J("QuantumMetricOnload (ours)",i),t.apply(this,e)})}G().QuantumMetricOnload=[i]}}),()=>{n=null,t&&(J("QuantumMetricAPI.removeEventListener('start')",()=>{G().QuantumMetricAPI?.removeEventListener?.("start",t)}),J("QuantumMetricAPI.removeEventListener('stop')",()=>{G().QuantumMetricAPI?.removeEventListener?.("stop",t)}),t=void 0)}}}],ie=(e,t)=>D(`${e.name}.${t}`,()=>e[t]?.())??!1,se=e=>D(`input[name="${e}"]`,()=>{const t=document.querySelectorAll(`input[name="${CSS.escape(e)}"]`);for(const e of t){const t=Y(e.value);if(t)return t}}),re="moveo_visitor_id",ae=e=>D(`document.cookie ${e}`,()=>{const t=`${e}=`,n=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith(t));return Y(n?.slice(t.length))}),ce=new RegExp("^[A-Za-z0-9_-]{43}$"),le=/^[0-9a-f-]{36}$/,de=new Set,ue=({label:e,marker:t,target:n,methods:o,event:i,emitIf:s=()=>!0})=>{de.has(t)||(de.add(t),J(e,()=>{const e=n();e[t]||(o.forEach(t=>{const n=e[t];e[t]=function(...e){const t=n.apply(this,e);return s(e)&&J(i,()=>{window.dispatchEvent(new Event(i))}),t}}),e[t]=!0)}))},he=["/shop","/go","/compact","/flex","/flex-pocket","/mini","/station-solo","/station-duo","/kiosk","/kitchen-display-system"],me=["clover.com","www.clover.com","www.staging.clover.com"],pe=e=>{const t=(e=>{try{return new URL(e)}catch{return null}})(e);return!!t&&me.includes(t.hostname.toLowerCase())},fe="cart-v1",ve="checkout-plan",ge="moveo_clover_cart_seen",ye=[fe,ve],we="moveo:clover:cartchange",be=Symbol.for("moveo.clover.storage"),Ce=e=>{return(t=e)&&"object"==typeof t&&!Array.isArray(t)?e:void 0;var t},xe=e=>Array.isArray(e)?e:[],Ee=e=>"number"==typeof e&&Number.isFinite(e)?e:null,Se=e=>Y(e)??null,ke=e=>{const t=Se(e);return t&&/^[A-Z0-9_]{1,40}$/.test(t)?t:null},Ie=e=>Se(e)?.replace(/[\s\p{Cc}]+/gu," ").slice(0,60)??null,Me=e=>{const t=Se(e);return t?.startsWith("//")?`https:${t}`:t?.startsWith("https://")?t:null},Te=(e,t)=>Ee(Ce(Ce(e)?.[t])?.value),Ae=e=>t=>{const n=Ce(t),o=Ie(n?.name);if(!n||!o)return[];const i=ke(n.id);return[{id:i,name:o,kind:e(i),quantity:Ee(n.quantity)??1,price:Ee(n.totalCost),monthly_36:Te(n.installmentPlans,"SL36"),monthly_48:Te(n.installmentPlans,"SL48"),image_url:Me(n.imageURL)}]},Le=e=>{const t=Ce(e),n=Ee(t?.percentage),o=Ee(t?.cost);return null===n||null===o?null:`${n}% + $${o.toFixed(2)}`},Fe=e=>{const t=Ce(e),n=Ie(t?.name);if(!t||!n)return null;const o=Ce(t.transactions);return{name:n,monthly:Ee(t.monthly),in_person:Le(o?.inPerson),keyed_in:Le(o?.keyedIn),additional_device:Ee(t.additionalDevicePrice)}},$e=(e,t)=>{const n=Ce(e),o=Ce(n?.cart),i=Ce(o?.cartMetadata),s=Ce(n?.checkout),r=xe(i?.hardware),a=new Set(r.flatMap(e=>xe(Ce(e)?.accessories).map(e=>ke(Ce(e)?.id)))),c=[...r.flatMap(Ae(e=>e&&a.has(e)?"accessory":"device")),...xe(o?.products).flatMap(Ae(()=>"add-on"))].slice(0,10);if(0===c.length)return null;const l=[i?.solutionTitle,i?.name].map(Ie).filter(Boolean).join(" · ");return{order_type:Se(o?.orderType),bundle_id:ke(i?.id),plan_id:ke(Ce(o?.softwarePlan)?.id),solution:l||null,items:c,plan:Fe(o?.softwarePlan),item_count:Ee(s?.count)??c.reduce((e,t)=>e+t.quantity,0),subtotal:Ee(s?.subtotal),software_monthly:Ee(s?.softwareTotal),installments:xe(s?.installmentPlans).flatMap(e=>{const t=Ce(e),n=Ee(t?.months),o=Ee(t?.cost);return null===n||null===o?[]:[{months:n,monthly:o}]}).slice(0,4),payment_option:Ie(t)}},_e=e=>`$${e.toLocaleString("en-US",{minimumFractionDigits:Number.isInteger(e)?0:2,maximumFractionDigits:2})}`,Oe=e=>e.length>1?`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`:e[0]??"",He=e=>{const t=null===e.price?"":`, ${_e(e.price)} each`;return`"${e.name}" (quantity ${e.quantity}${t})`},Pe=e=>{const t=1===e.item_count?"item":"items",n=[`The visitor's Clover cart has ${e.item_count} ${t}: ${Oe(e.items.map(He))}.`];if(e.solution&&n.push(`Package: "${e.solution}".`),null!==e.subtotal){const t=e.installments.map(({months:e,monthly:t})=>`${_e(t)}/month for ${e} months`),o=t.length?`, or ${t.join(" or ")}`:"";n.push(`Hardware subtotal: ${_e(e.subtotal)}${o}.`)}e.plan&&(n.push((e=>{const t=null===e.monthly?"":` at ${_e(e.monthly)}/month`,n=[e.in_person&&`${e.in_person} in person`,e.keyed_in&&`${e.keyed_in} keyed in`].filter(e=>!!e),o=n.length?`, card fees ${Oe(n)}`:"";return`Software plan: "${e.name}"${t}${o}.`})(e.plan)),null!==e.plan.additional_device&&n.push(`Each additional device adds ${_e(e.plan.additional_device)}/month.`)),null!==e.software_monthly&&n.push(`Software total: ${_e(e.software_monthly)}/month.`),e.payment_option&&n.push(`Chosen payment option: ${(e=>{if("P"===e)return"pay the full hardware price now";const t=/^SL(\d+)$/.exec(e)?.[1];return t?`${t} monthly installments`:`"${e}"`})(e.payment_option)}.`);const o=(e=>[e.bundle_id&&`bundleId=${e.bundle_id}`,e.plan_id&&`planId=${e.plan_id}`].filter(Boolean).join(", "))(e);return o&&n.push(`Clover cart ids: ${o}.`),n.join(" ")},Re=e=>D(`localStorage ${e}`,()=>window.localStorage.getItem(e));let je=!1;const ze=()=>J(`localStorage ${ge}`,()=>window.localStorage.setItem(ge,"1")),Ue=/^\/cart\/?$/,Be=/^\/purchase(\/|$)/,We=()=>{const e=(()=>{const e=Re(fe);if(null===e&&(je||"1"===Re(ge)))return{cart:null,live_instructions:{cart:"The visitor's Clover cart is empty."}};if("string"!=typeof e)return;je||(je=!0,ze());const t=$e(D(fe,()=>JSON.parse(e)),(()=>{const e=Se(Re(ve));return e?.startsWith('"')?Se(D(ve,()=>JSON.parse(e))):e})());return t?{cart:t,live_instructions:{cart:Pe(t)}}:{cart:null,live_instructions:{cart:"The visitor's Clover cart is empty."}}})(),t=D("location.href",()=>(e=>{if(!pe(e))return;const{pathname:t}=new URL(e);return Ue.test(t)?"The visitor is on the cart (/cart). Continue starts the self-serve checkout.":Be.test(t)?`The visitor is in the self-serve checkout (${t}), Clover's own account and payment application, not a contact form.`:`The visitor is on ${t}.`})(window.location.href));if(e||t)return{...e,live_instructions:{...e?.live_instructions,page:t}}},Ne=()=>{const{path:e,...t}=(e=>{const t={};for(const n of e)for(const[e,o]of Object.entries(n))void 0!==o&&""!==o&&void 0===t[e]&&(t[e]=o);return t})([Z({qm_partner_id:se("partnerId"),qm_client_id:se("stdAppType"),qm_config_id:se("selectedConfig"),qm_page_template:(n="template",D(`meta[name="${n}"]`,()=>Y(document.querySelector(`meta[name="${CSS.escape(n)}"]`)?.content))),path:D("location.pathname",()=>Y(window.location.pathname))}),...oe.map(e=>D(`${e.name}.readIdentity`,()=>e.readIdentity?.())??{})]);var n;const o=Z(t),i=(()=>{const e=ae(re);if(e&&(t=e,ce.test(t)||le.test(t)))return e;var t;const n=D("nanoid",()=>s(43));return n?(J("document.cookie write",()=>{document.cookie=`${re}=${n}; path=/; max-age=34214400; SameSite=Lax; Secure`}),ae(re)===n?n:void 0):void 0})(),r={...i?{...o,user:{web_psid:i}}:o,...We()};return e?{...r,global:{client_path:e}}:r},qe="moveo:activity:locationchange",Ve=Symbol.for("moveo.activity.history"),Qe=[qe,"popstate","hashchange"],De=[0,400],Je=e=>{ue({label:"history patch",marker:Ve,target:()=>window.history,methods:["pushState","replaceState"],event:qe});const t=new Set,n=()=>{t.forEach(e=>window.clearTimeout(e)),t.clear(),De.forEach(n=>{const o=window.setTimeout(()=>{t.delete(o),e()},n);t.add(o)})};return Qe.forEach(e=>window.addEventListener(e,n)),()=>{Qe.forEach(e=>window.removeEventListener(e,n)),t.forEach(e=>window.clearTimeout(e)),t.clear()}},Ye=Array.from({length:21},(e,t)=>t/20),Ze=(e,{onChange:t,onResolved:n},o=600,i=v)=>{const s=e.filter(e=>"string"==typeof e?.id&&!!e.id);if("undefined"==typeof IntersectionObserver)return n(s.map(e=>({id:e.id,matched:null,selectors:e.match?.length??0}))),{stop:()=>{}};const r=new Map,a=new Map,c=new Map;let l,d=null,u=!1,h=null,m=!1;const p=e=>{d=e,t(e)},f=new IntersectionObserver(e=>{e.forEach(e=>{const{width:t,height:n}=e.intersectionRect;a.set(e.target,e.isIntersecting?t*n:0)}),(()=>{let e=null,t=0,n=0;a.forEach((o,i)=>{const s=r.get(i)??null;s===d&&(n=Math.max(n,o)),o>t&&(e=s,t=o)}),(e=>{if(e!==d)return u?void(h?.id!==e&&(h&&clearTimeout(h.timer),h={id:e,timer:setTimeout(()=>{h=null,p(e)},o)})):(u=!0,void p(e));h&&(clearTimeout(h.timer),h=null)})(t<=0?null:null!==d&&n>=t?d:e)})()},{threshold:Ye}),g=(e,t)=>{const o=e.filter(e=>{const t=(e=>{for(let t=0;t<e.length;t+=1){const n=e[t],o="string"==typeof n&&n.trim()?D("section selector",()=>document.querySelector(n)):null;if(o)return{element:o,index:t}}return null})(Array.isArray(e.match)?e.match:[]);if(!t)return!0;c.set(e.id,t.index);const n=(e=>{const t=D("section band",()=>e.closest("section, article, [data-moveo-section]"));if(!t||t===e)return e;const n=D("document height",()=>document.documentElement?.scrollHeight)??0,o=D("band height",()=>t.getBoundingClientRect().height)??0;return n>0&&o>.5*n?e:t})(t.element);return r.has(n)||(r.set(n,e.id),f.observe(n)),!1});o.length>0&&t<i.length?l=setTimeout(()=>{l=void 0,g(o,t+1)},i[t]):m||n(s.map(e=>({id:e.id,matched:c.get(e.id)??null,selectors:Array.isArray(e.match)?e.match.length:0})))};return g(s,0),{stop:()=>{m=!0,f.disconnect(),clearTimeout(l),h&&(clearTimeout(h.timer),h=null)}}},Ge=i()("moveo:visible-band");var Ke,Xe,et,tt,nt;!function(e){e.Open="open",e.Resolved="closed",e.Expired="expired",e.Spam="spam",e.Trash="trash"}(Ke||(Ke={})),function(e){e.AnalyticsEvent="moveo-analytics-event",e.IframeLoaded="moveo-iframe-loaded",e.IframeError="moveo-iframe-error",e.WidgetLoaded="moveo-widget-loaded",e.WidgetError="moveo-widget-error",e.Opened="moveo-widget-opened",e.Closed="moveo-widget-closed",e.Resize="moveo-widget-resize",e.LocaleChanged="moveo-widget-locale-changed",e.SessionCreated="moveo-widget-session-created",e.SessionReconnected="moveo-widget-session-reconnected",e.SessionClosed="moveo-widget-session-closed",e.SessionExpired="moveo-widget-session-expired",e.ConversationClosed="moveo-widget-conversation-closed",e.LinkClicked="moveo-widget-link-clicked",e.Navigate="moveo-widget-navigate",e.UserActivity="moveo-widget-user-activity",e.MemberLeave="moveo-widget-member-leave",e.ConversationUnreadMessages="moveo-conversation-unread-messages",e.ConversationNoUnreadMessages="moveo-conversation-no-unread-messages",e.UserWayInit="moveo-userway-init"}(Xe||(Xe={})),function(e){e.SetConfig="moveo-set-config",e.SetLocale="moveo-set-locale",e.SetCssVariables="moveo-set-css-variables",e.Open="moveo-open",e.Close="moveo-close",e.CloseConversation="moveo-close-conversation",e.SendMessage="moveo-send-message",e.ShowTeaserMessage="moveo-show-teaser-message",e.UpdateContext="moveo-update-context",e.UpdateHostContext="moveo-update-host-context",e.LoadSessionReplay="moveo-load-session-replay",e.HostScroll="moveo-host-scroll",e.HostLocation="moveo-host-location",e.HostSection="moveo-host-section",e.HostSectionsResolved="moveo-host-sections-resolved",e.WindowResize="moveo-resize",e.HostFrameBox="moveo-host-frame-box",e.SessionActivity="session-activity",e.UserWayDisabled="userway-disabled",e.UserWayEnabled="userway-enabled",e.LinkClicked="link-clicked"}(et||(et={})),function(e){e.Expired="expired",e.Survey="survey",e.Closing="closing",e.Resolved="closed",e.Inactivity="inactivity",e.Continue="continue"}(tt||(tt={})),function(e){e.CloseButton="close-btn",e.EndSessionButton="end-btn",e.HeaderMenuButton="header-menu-btn",e.RestartButton="restart-btn",e.LauncherButton="launcher-btn",e.MessageInput="message-input",e.DisclaimerCheck="disclaimer-check",e.DisclaimerContainer="disclaimer-container",e.HeaderContainer="header-container",e.ImageButton="image-btn"}(nt||(nt={}));const ot=()=>D("window.top",()=>window===window.top)??!0,it=["s2","s3","s4","s6","s7","s10","s12","s13","s14","s15","s16","s17","s19","s23"];class st{constructor({config:e}){this.detectUserway=()=>{it.forEach(e=>{document.addEventListener(`userway:feature_enabled_${e}`,()=>{const t=localStorage.getItem(`userway-${e}`)??"";this.sendEventToIframe({type:et.UserWayEnabled,data:{eventType:e,value:t}})}),document.addEventListener(`userway:feature_disabled_${e}`,()=>{this.sendEventToIframe({type:et.UserWayDisabled,data:{eventType:e}})})})},this.initUserway=()=>{const e={...localStorage};Object.keys(e).forEach(t=>{const n=(e[t],e[t]);if(t.includes("userway-s")&&(!isNaN(parseInt(n))||"true"===n)){const e=t.split("-")[1];"0"===n?this.sendEventToIframe({type:et.UserWayDisabled,data:{eventType:e}}):this.sendEventToIframe({type:et.UserWayEnabled,data:{eventType:e,value:n}})}})},this.detectMobile=()=>{this.sendEventToIframe({type:et.WindowResize,data:{is_mobile:g(),width:window.innerWidth,height:window.innerHeight}}),this.sendFrameBox()},this.updateLastActivity=()=>{try{this.sendEventToIframe({type:et.SessionActivity,data:"active"})}catch(e){this.log("Failed to report page activity",e)}},this.sendHostContext=()=>{if(this.stopHostContext)try{const e=Ne();if(0===Object.keys(e).length)return;const t=JSON.stringify(e);if(t===this.sentHostContext)return;this.sentHostContext=t,this.log("Host context:",e),this.updateHostContext(e)}catch(e){this.log("Failed to collect host context",e)}},this.sendSessionReplayHandoff=()=>{if(this.stopHostContext)try{const e=ne();if(!e)return void(this.sentReplaySubscription=null);if(e===this.sentReplaySubscription)return;this.sentReplaySubscription=e,this.log("Session replay handoff:",e),this.sendEventToIframe({type:et.LoadSessionReplay,data:{vendor:"quantum-metric",subscription:e}})}catch(e){this.log("Failed to hand off the session replay subscription",e)}},this.trackHostContext=()=>{const e=(e=>{const t=[];oe.forEach(n=>{const o=D(`${n.name}.whenReady`,()=>n.whenReady?.(e));"function"==typeof o&&t.push(o)});const n=new Set(oe.filter(e=>ie(e,"isExpected")&&!ie(e,"isReady")));let o;if(n.size>0){let t=Math.ceil(20);o=window.setInterval(()=>{t-=1,n.forEach(t=>{ie(t,"isReady")&&(n.delete(t),e())}),(0===n.size||t<=0)&&window.clearInterval(o)},500)}return()=>{window.clearInterval(o),t.forEach(e=>J("provider unsubscribe",e)),t.length=0}})(()=>{this.sendHostContext(),this.sendSessionReplayHandoff()}),t=Je(this.sendHostContext),n=(e=>{let t;ue({label:"storage patch",marker:be,target:()=>Object.getPrototypeOf(window.localStorage),methods:["setItem","removeItem","clear"],event:we,emitIf:([e])=>void 0===e||ye.includes(e)});const n=()=>{window.clearTimeout(t),t=window.setTimeout(e,0)},o=e=>{(null===e.key||ye.includes(e.key))&&n()},i=()=>{je&&queueMicrotask(ze),n()};return window.addEventListener(we,i),window.addEventListener(f,o),()=>{window.removeEventListener(we,i),window.removeEventListener(f,o),window.clearTimeout(t)}})(this.sendHostContext);this.stopHostContext=()=>{e(),t(),n()}},this.trackSections=()=>{this.sectionTracker?.stop(),this.sectionTracker=null,this.sectionReport=null,this.hostSection=null,this.sendHostSection();const e=((e,t)=>{const n=(e=>{try{return new URL(e??"").pathname.toLowerCase()}catch{return(e??"").toLowerCase()}})(t);let o,i=0;return e?.forEach(e=>{const t=e?.url?.trim().toLowerCase();!t||t.length<=i||!n.includes(t)||(o=e,i=t.length)}),o})(this.config.teaser?.pages,window.location.href);e?.sections?.length&&(this.sectionTracker=Ze(e.sections,{onChange:e=>{this.hostSection=e,this.sendHostSection()},onResolved:t=>{this.sectionReport={page:{id:e.id??null,url:e.url},sections:t},this.sendSectionReport()}}))},this.sendHostLocation=()=>{const e=D("host location",()=>window.location.href);e&&this.sendEventToIframe({type:et.HostLocation,data:{href:e}})},this.applyVisibility=()=>{this.widgetOpen||this.sessionActive||this.pageAllowsWidget()?this.iframe.style.display="":this.iframe.style.display="none"},this.pageAllowsWidget=()=>((e,t)=>{if(!h(e))return!0;try{const e=new URL(t);return!me.includes(e.hostname.toLowerCase())||he.some(t=>((e,t)=>{const n=(e=>e.replace(/\/+$/,"")||"/")(e);return n===t||n.startsWith(`${t}/`)})(e.pathname,t))}catch{return!0}})(this.config.account_id,window.location.href),this.sendFrameBox=()=>{requestAnimationFrame(()=>{if(!this.iframe)return;const{width:e,height:t}=this.iframe.getBoundingClientRect();e&&t&&(this.frameHeight=t,this.placeInVisibleBand(),this.sendEventToIframe({type:et.HostFrameBox,data:{width:e,height:t}}))})},this.placeInVisibleBand=()=>{const e=this.visibleBand;if(!this.iframe||!e||this.hostAlignedTop||"embed"===this.config.widget_position)return;if(this.iframe.classList.contains("full"))return void this.placeFullInBand(e);if(e.bottom>=window.innerHeight-1)return this.iframe.style.removeProperty("top"),this.iframe.style.removeProperty("bottom"),this.iframe.style.removeProperty("transition"),this.iframe.style.removeProperty("transform"),this.iframe.style.removeProperty("will-change"),void(this.placedTop=null);null==this.frameHeight&&(this.frameHeight=this.iframe.getBoundingClientRect().height);const t=Math.max(0,e.bottom-this.frameHeight);if(t!==this.placedTop){if(this.placedTop=t,e.exact)return this.iframe.style.top="0px",this.iframe.style.bottom="auto",this.iframe.style.willChange="transform",this.iframe.style.transition="none",void(this.iframe.style.transform=`translateY(${t}px)`);this.iframe.style.removeProperty("transform"),this.iframe.style.removeProperty("will-change"),this.iframe.style.transition="top 0.25s linear",this.iframe.style.top=`${t}px`,this.iframe.style.bottom="auto"}},this.placeFullInBand=e=>{e.top<=1&&e.bottom>=window.innerHeight-1?this.clearFullBandPin():(this.iframe.style.transition=e.exact?"":"top 0.25s linear, height 0.25s linear",this.iframe.style.setProperty("--moveo-full-top",`${e.top}px`),this.iframe.style.setProperty("--moveo-full-height",e.bottom-e.top+"px"))},this.clearFullBandPin=()=>{this.iframe.style.removeProperty("--moveo-full-top"),this.iframe.style.removeProperty("--moveo-full-height")},this.config=e,this.id=e.widgetId,this.isNested=!ot(),this.initialized=!1,this.log=i()(`moveo:web-client:${this.id}`),this.iframe=this.createIframe(),this.stopHostContext=null,this.stopActivityTracking=null,this.scrollTracker=null,this.stopLocationTracking=null,this.stopVisibilityTracking=null,this.widgetOpen=!1,this.sessionActive=!1,this.awaitingReplacement=!1,this.fiservAccount=h(this.config.account_id),this.sectionTracker=null,this.hostSection=null,this.sectionReport=null,this.appMounted=!1,this.sentHostContext=null,this.sentReplaySubscription=null,this.stopWindowListeners=null,this.widgetLoadedEvent=null,this.stopVisibleBand=null,this.visibleBand=null,this.hostAlignedTop=!1,this.frameHeight=null,this.placedTop=null}createIframe(){const e=document.createElement("iframe");return e.width="1px",e.height="1px",e.title="Moveo webchat",e.id=this.id,e.name=this.id,e.allow="geolocation; microphone; autoplay",e.style.border="0",e.classList.add("web-client-container"),"embed"===this.config.widget_position&&e.classList.add("embed"),e.setAttribute("src",(e=>{let t="";const n=document.querySelectorAll("script");n&&n.forEach(e=>{e.src?.includes(p)&&(t=p),e.src?.includes(m)&&(t=m),e.src?.match(/@moveo-ai\/web-client.*next/)&&(t="https://web-client.dev.moveo.ai")});const{origin:o}=window.location;return t||(t=o.match(/^https?:\/\/(localhost|127\.0\.0\.1|\[::1\])(:\d+)?$/)||o.match(/^https:\/\/([a-z0-9-]+\.)?web-7ii\.pages\.dev$/)||o.match(/web-client.*moveo-ai\.vercel\.app/)||o.match(/web.*moveo\.ai/)?o:m),`${t}?widgetId=${e}`})(this.id)),e}handleEvents(e,t){return n=>{const o=y(this.id,n);if(o)switch(o.type){case Xe.IframeLoaded:{let e=this.config;this.pageAllowsWidget()||(e={...this.config,auto_open:!1}),this.sendEventToIframe({type:et.SetConfig,data:e}),this.fiservAccount&&!this.stopHostContext&&this.trackHostContext(),this.sendHostContext(),this.sendSessionReplayHandoff();break}case Xe.SessionCreated:case Xe.SessionReconnected:this.sessionActive=!0,this.awaitingReplacement=!1,this.applyVisibility(),this.sentHostContext=null,this.sendHostContext();break;case Xe.SessionClosed:case Xe.SessionExpired:{const e=o.type===Xe.SessionClosed&&!0===o.data?.restarting;this.awaitingReplacement=e,e||(this.sessionActive=!1,this.applyVisibility());break}case Xe.IframeError:return this.stopInstrumentation(),this.stopWindowListeners?.(),this.stopWindowListeners=null,t(o.data);case Xe.UserWayInit:this.initUserway(),this.detectUserway();break;case Xe.WidgetLoaded:setTimeout(()=>{this.detectMobile(),e(this)},0),this.sentHostContext=null,this.sentReplaySubscription=null,this.sendHostContext(),this.sendSessionReplayHandoff(),(this.stopVisibilityTracking||this.stopLocationTracking)&&this.sendHostLocation(),this.appMounted=!0,this.sectionTracker&&this.sendHostSection(),this.sendSectionReport(),this.widgetLoadedEvent={timestamp:(new Date).toISOString(),event:"widget_loaded",properties:{}};break;case Xe.WidgetError:this.notify(o);break;case Xe.Opened:o.data.skipInstanceCallback||(this.widgetOpen=!0===o.data.openedByUser||this.sessionActive,this.applyVisibility()),(o.data.isFull||o.data.is_mobile||g())&&(this.iframe.classList.add("full"),this.placeInVisibleBand());break;case Xe.Closed:o.data.skipInstanceCallback||(this.widgetOpen=!1,this.awaitingReplacement&&(this.awaitingReplacement=!1,this.sessionActive=!1),this.applyVisibility()),(o.data.isFull||g())&&(this.iframe.classList.remove("full"),this.clearFullBandPin(),this.frameHeight=null,this.placeInVisibleBand());break;case Xe.Resize:{this.iframe.style.width=o.data.width,this.iframe.style.height=o.data.height,this.iframe.style.left=o.data.left,null!=o.data.top&&(this.iframe.style.top=o.data.top,this.iframe.style.bottom="auto",this.hostAlignedTop=!0);const e=Number.parseFloat(o.data.height);Number.isFinite(e)&&e>0?(this.frameHeight=e,this.placeInVisibleBand()):this.frameHeight=null,this.sendFrameBox();break}case Xe.Navigate:{if(n.source!==this.iframe.contentWindow)break;const e=o.data?.url;"string"==typeof e&&(e=>{try{const{protocol:t}=new URL(e);return"http:"===t||"https:"===t}catch{return!1}})(e)&&ot()&&((e,t)=>{try{return new URL(e).hostname===new URL(t).hostname}catch{return!1}})(e,window.location.href)&&(this.fiservAccount&&(e=>{if(!pe(e)||!new URL(e).searchParams.has("bundleId"))return!1;const t=Re(fe);return!("string"!=typeof t||!$e(D(fe,()=>JSON.parse(t)),null)||(J(`localStorage ${fe}`,()=>window.localStorage.removeItem(fe)),0))})(e)?this.navigateHost(e):this.followSameDomainLink(e));break}default:this.log(`Unhandle event: ${o.type}`)}}}sendHostSection(){this.appMounted&&this.sendEventToIframe({type:et.HostSection,data:{id:this.hostSection}})}sendSectionReport(){this.appMounted&&this.sectionReport&&(this.sendEventToIframe({type:et.HostSectionsResolved,data:this.sectionReport}),this.sectionReport=null)}stopInstrumentation(){this.stopHostContext?.(),this.stopHostContext=null,this.stopActivityTracking?.(),this.stopActivityTracking=null,this.scrollTracker?.stop(),this.scrollTracker=null,this.stopLocationTracking?.(),this.stopLocationTracking=null,this.stopVisibilityTracking?.(),this.stopVisibilityTracking=null,this.sectionTracker?.stop(),this.sectionTracker=null,this.stopVisibleBand?.(),this.stopVisibleBand=null,this.visibleBand=null}resolveEmbedElement(){const e=this.config?.element||null;if("string"!=typeof e)return e;const t=document.getElementById(e);if(!t)throw new Error(`Element with id: ${e} not found`);return t}init(){return new Promise((e,t)=>{if(C(navigator.userAgent))throw new Error(`Widget ${this.id} was not initialized because user-agent is a bot`);if(this.initialized)throw new Error(`Widget ${this.id} was already initialized`);let n;n="embed"===this.config.widget_position?this.resolveEmbedElement():window.document.querySelector("body");const o=this.handleEvents(e,t),i=V(this.detectMobile,100);if(window.addEventListener("message",o),window.addEventListener("resize",i),this.stopWindowListeners=()=>{window.removeEventListener("message",o),window.removeEventListener("resize",i)},this.applyVisibility(),n?.appendChild(this.iframe),this.fiservAccount&&(this.stopVisibilityTracking=Je(()=>{this.applyVisibility(),this.sendHostLocation()})),this.stopActivityTracking=(e=>{const t=[],n=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return x(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),V(e,t,{leading:o,maxWait:t,trailing:i})}(e,3e3),o=(e,o)=>{window.addEventListener(e,n,o),t.push(()=>window.removeEventListener(e,n,o))},i={passive:!0};return o("load",i),o("mousemove",i),o("mousedown",i),o("touchstart",i),o("touchmove",i),o("click",i),o("keydown",i),o("scroll",{capture:!0,passive:!0}),()=>{t.forEach(e=>e()),t.length=0,n.cancel()}})(this.updateLastActivity),this.config.teaser&&(this.scrollTracker=(e=>{let t,n=!1;const o=()=>{n=!1,e(!1)},i=()=>{n||(n=!0,e(!0)),clearTimeout(t),t=setTimeout(o,1e3)},s={capture:!0,passive:!0};return window.addEventListener("scroll",i,s),{pulse:i,stop:()=>{window.removeEventListener("scroll",i,s),clearTimeout(t)}}})(e=>this.sendEventToIframe({type:et.HostScroll,data:{scrolling:e}}))),this.config.teaser?.pages?.length){const e=(s=this.config.teaser.pages,!!s?.some(e=>!!e?.sections?.length));this.stopLocationTracking=Je(()=>{this.sendHostLocation(),e&&this.trackSections()}),e&&this.trackSections()}var s,r;this.isNested&&"embed"!==this.config.widget_position&&(this.stopVisibleBand=(r=e=>{const t=null!=e&&(this.visibleBand?.top!==e.top||this.visibleBand?.bottom!==e.bottom);this.visibleBand=e,this.placeInVisibleBand(),t&&this.scrollTracker?.pulse()},D("visible band",()=>(e=>{const t=(()=>{const e=[];try{let t=window;for(;t!==t.parent;){if(!t.frameElement)return null;t=t.parent,t.innerHeight,e.push(t)}}catch{return null}return e})();if(!t||0===t.length)return null;const n=()=>{let e=0,t=window.innerHeight,n=0,o=window;for(;o!==o.parent;){const i=o.frameElement;if(!i)return null;n+=i.getBoundingClientRect().top+i.clientTop,o=o.parent,e=Math.max(e,-n),t=Math.min(t,o.innerHeight-n)}return t>e?{top:e,bottom:t,exact:!0}:null};let o=null;const i=()=>{const t=D("ancestor geometry",n)??null;!t||o&&o.top===t.top&&o.bottom===t.bottom||(o=t,e(t))},s={capture:!0,passive:!0};for(const e of t)e.addEventListener("scroll",i,s),e.addEventListener("resize",i);return window.addEventListener("resize",i),i(),()=>{window.removeEventListener("resize",i);for(const e of t)try{e.removeEventListener("scroll",i,s),e.removeEventListener("resize",i)}catch{}}})(r))||(D("visible band ladder",()=>(e=>{const t=document.createElement("div");t.style.cssText="position:absolute;top:0;left:0;width:0;height:0;pointer-events:none";const n=document.createElement("div");n.dataset.bandProbe="";const o=()=>{const e=t.parentNode;e?.removeChild(t);const n=D("document height",()=>Math.max(document.documentElement.scrollHeight,window.innerHeight));return e?.appendChild(t),n&&n>0?n:null},i=new Set;let s=null,r=0,a=600,c=!1;const l=new IntersectionObserver(t=>{for(const e of t){const t=Number(e.target.dataset.y);e.isIntersecting?i.add(t):i.delete(t);const n=e.rootBounds?.height;n&&(a=n)}C(),(()=>{if(c)return;if(0===i.size)return;const t=D("scrollY",()=>window.scrollY)??0;let n=1/0,o=-1/0;for(const e of i)e<n&&(n=e),e>o&&(o=e);n=Math.max(0,n-t),o-=t,o<=n||s&&s.top===n&&s.bottom===o||(s={top:n,bottom:o,exact:!1},e(s))})()},{root:null,threshold:0});let d=null,u=null,h=0,m=null;const p=new IntersectionObserver(t=>{const n=(e=>{const t=e.intersectionRect,n=e.boundingClientRect;if(!e.isIntersecting||!t||!n)return null;const o=D("scrollY",()=>window.scrollY)??0,i=t.top-n.top-o,s=t.bottom-n.top-o;if(!Number.isFinite(i)||!Number.isFinite(s)||s<=i)return null;const r=performance.now(),a=Number.isFinite(e.time)&&r-e.time>-5&&r-e.time<200?e.time:r;return{top:Math.max(0,i),bottom:s,at:a}})(t[t.length-1]);if(!n)return;c||(c=!0,Ge("browser clips the probe; exact bands from here on"));const o=u?.top===n.top&&u.bottom===n.bottom;return o&&null!==g?void 0:null!==g?(d=n,void(v=performance.now()+500)):void(o&&s?.exact&&s.top===n.top&&s.bottom===n.bottom||(u={t:n.at,top:n.top,bottom:n.bottom},h=0,m=n.bottom,s={top:n.top,bottom:n.bottom,exact:!0},e(s),C()))},{root:null,threshold:0}),f=()=>{p.unobserve(n),p.observe(n)};let v=0,g=null,y=0,w=0;const b=()=>{g=null,J("visible band pump",()=>{const t=performance.now(),n=w?Math.min(50,t-w):16;if(w=t,null!==m&&(m+=h*n),d){y=0;const e=d;d=null,(e=>{const t=u;u={t:e.at,top:e.top,bottom:e.bottom};const n=t?e.at-t.t:0;if(!t||null===m||n<4||n>120)return m=e.bottom,void(h=0);let o=(e.bottom-t.bottom)/n;o=Math.max(h-.3*n,Math.min(h+.3*n,o)),h=0!==h&&Math.sign(o)!==Math.sign(h)||0===h?o:h+.4*(o-h),m+=.35*(e.bottom-m)})(e)}else if(y||(y=t),t-y>24/Math.max(.1,Math.abs(h))&&(h*=Math.exp(-n/50),Math.abs(h)<.02&&(h=0),0===h&&u&&null!==m&&(m+=(u.bottom-m)*(1-Math.exp(-n/40)),Math.abs(m-u.bottom)<.75&&(m=u.bottom))),u&&null!==m&&0!==h){const e=u.bottom+32*Math.sign(h);m=h>0?Math.min(m,e):Math.max(m,e)}if(null!==m&&u){const t=Math.max(-160,Math.min(160,8*h)),o=u.bottom-u.top;let i=m+t;if(s?.exact){const e=Math.abs(h)*n*1.75+6;i=Math.max(s.bottom-e,Math.min(s.bottom+e,i))}const r=(e=>{const t=Math.max(0,e.top+0);let n=e.bottom+0;const o=window.innerHeight-2;return e.bottom<=o&&n>o&&(n=o),n<=t?null:{top:t,bottom:n,exact:!0}})({top:Math.max(0,i-o),bottom:i});r&&((t,n)=>{s?.exact&&s.top===t&&s.bottom===n||(s={top:t,bottom:n,exact:!0},e(s))})(r.top,r.bottom)}t>=v||(f(),g=requestAnimationFrame(b))})},C=()=>{v=performance.now()+500,null===g&&"function"==typeof requestAnimationFrame&&(y=0,w=0,f(),g=requestAnimationFrame(b))},x=e=>{r=e;const o=((e,t)=>{const n=Math.max(16,Math.ceil(e/200)),o=Math.max(16,Math.floor(.5*t));return Math.max(Math.min(n,o),Math.ceil(e/2e3))})(r,a);t.replaceChildren(),i.clear(),n.style.cssText=`position:absolute;top:0;left:0;width:1px;height:${r}px;pointer-events:none`,t.appendChild(n);const s=e=>{const n=document.createElement("div");n.dataset.y=String(e),n.style.cssText=`position:absolute;top:${e}px;left:0;width:1px;height:1px`,t.appendChild(n)};let c=0;for(;c<r-1;c+=o)s(c);s(Math.max(0,r-1)),l.disconnect();for(const e of t.children)e!==n&&l.observe(e);p.disconnect(),p.observe(n)};let E=!1;const S=()=>{J("visible band rebuild",()=>{const e=E?o():null;null!==e&&e!==r&&x(e)})},k=()=>{J("visible band attach",()=>{(document.body??document.documentElement).appendChild(t),E=!0;const e=o();null!==e&&x(e)})};return document.body?k():document.addEventListener("DOMContentLoaded",k,{once:!0}),window.addEventListener("resize",S),()=>{null!==g&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(g),g=null,v=0,d=null,u=null,h=0,m=null,w=0,window.removeEventListener("resize",S),document.removeEventListener("DOMContentLoaded",k),l.disconnect(),p.disconnect(),t.remove(),i.clear(),s=null}})(r))??(()=>{})))),this.initialized=!0,this.detectMobile()})}sendEventToIframe(e){this.iframe&&this.iframe.contentWindow?(this.log(`Event to iframe: ${e.type}`,e),e.type===et.SetConfig&&e.data?.element&&delete e.data.element,this.iframe.contentWindow.postMessage({...e,type:`${this.id}${e.type}`},"*")):this.log("Error: Cannot find iframe to send event")}notify(e){this.log(`notify ${e.type}:`,e)}notifyParent(e,t){window.addEventListener("message",n=>{const o=y(this.id,n);if(o&&(this.log(`Event from iframe: ${o.type}`,o),o.type===e)){if("data"in o&&"object"==typeof o.data&&null!==o.data&&"skipInstanceCallback"in o.data)return;t("data"in o?o.data:void 0)}})}openWindow(){this.sendEventToIframe({type:et.Open})}async destroy(){var e;this.closeConversation({hide:!0}),this.stopInstrumentation(),await(e=4e3,new Promise(t=>setTimeout(t,e)));const t=document.getElementById(this.id);t&&(t.remove(),this.initialized=!1),this.stopWindowListeners?.(),this.stopWindowListeners=null,this.sentHostContext=null,this.sentReplaySubscription=null,this.widgetLoadedEvent=null,this.appMounted=!1,this.widgetOpen=!1,this.sessionActive=!1,this.awaitingReplacement=!1,this.hostSection=null,this.sectionReport=null}closeConversation({hide:e}){this.sendEventToIframe({type:et.CloseConversation,data:{hide:e}})}closeWindow(){this.sendEventToIframe({type:et.Close})}sendMessage(e){this.sendEventToIframe({type:et.SendMessage,data:e})}showTeaserMessage(e){this.sendEventToIframe({type:et.ShowTeaserMessage,data:e?{text:e}:void 0})}updateContext(e){this.sendEventToIframe({type:et.UpdateContext,data:e})}updateHostContext(e){this.sendEventToIframe({type:et.UpdateHostContext,data:e})}setCSSVariables(e){const t=e["--moveo-z-index"];void 0!==t&&this.iframe&&(t?this.iframe.style.setProperty("--moveo-z-index",t):this.iframe.style.removeProperty("--moveo-z-index")),this.sendEventToIframe({type:et.SetCssVariables,data:e})}setLocale(e){this.sendEventToIframe({type:et.SetLocale,data:e})}onSessionCreated(e){this.notifyParent(Xe.SessionCreated,e)}onSessionClosed(e){this.notifyParent(Xe.SessionClosed,e)}onConversationClosed(e){this.notifyParent(Xe.ConversationClosed,e)}onSessionReconnected(e){this.notifyParent(Xe.SessionReconnected,e)}onNoUnreadMessages(e){this.notifyParent(Xe.ConversationNoUnreadMessages,e)}onUnreadMessages(e){this.notifyParent(Xe.ConversationUnreadMessages,e)}followSameDomainLink(e){let t=!1;const n=new MutationObserver(()=>{t=!0,n.disconnect()});n.observe(document.body,{childList:!0,subtree:!0}),window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate",{state:{}})),window.setTimeout(()=>{n.disconnect(),t||this.navigateHost(e)},1e3)}navigateHost(e){window.location.assign(e)}onLinkClicked(e){this.notifyParent(Xe.LinkClicked,e)}onUserActivity(e){this.notifyParent(Xe.UserActivity,e)}onAnalyticsEvent(e){this.notifyParent(Xe.AnalyticsEvent,e),this.widgetLoadedEvent&&e(this.widgetLoadedEvent)}onWebchatOpened(e){this.notifyParent(Xe.Opened,e)}onWebchatClosed(e){this.notifyParent(Xe.Closed,e)}onMemberLeave(e){this.notifyParent(Xe.MemberLeave,e)}}var rt=n.cjs(function(e,t){var n=[];function o(e){for(var t=-1,o=0;o<n.length;o++)if(n[o].identifier===e){t=o;break}return t}function i(e,t){for(var i={},r=[],a=0;a<e.length;a++){var c=e[a],l=t.base?c[0]+t.base:c[0],d=i[l]||0,u="".concat(l," ").concat(d);i[l]=d+1;var h=o(u),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)n[h].references++,n[h].updater(m);else{var p=s(m,t);t.byIndex=a,n.splice(a,0,{identifier:u,updater:p,references:1})}r.push(u)}return r}function s(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,t){var s=i(e=e||[],t=t||{});return function(e){e=e||[];for(var r=0;r<s.length;r++){var a=o(s[r]);n[a].references--}for(var c=i(e,t),l=0;l<s.length;l++){var d=o(s[l]);0===n[d].references&&(n[d].updater(),n.splice(d,1))}s=c}}}),at=n.n(rt),ct=n.cjs(function(e,t){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,i&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}),lt=n.n(ct),dt=n.cjs(function(e,t){var n={};e.exports=function(e,t){var o=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}}),ut=n.n(dt),ht=n.cjs(function(e,t){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}}),mt=n.n(ht),pt=n.cjs(function(e,t){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}}),ft=n.n(pt),vt=n.cjs(function(e,t){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}),gt=n.n(vt),yt=n(1178),wt={};wt.styleTagTransform=gt(),wt.setAttributes=mt(),wt.insert=ut().bind(null,"head"),wt.domAPI=lt(),wt.insertStyleElement=ft(),at()(yt.A,wt),yt.A&&yt.A.locals&&yt.A.locals;let bt=i()("moveo:web-client");const Ct=async e=>{await new Promise(e=>{if("complete"===document.readyState)return e();window.addEventListener("load",()=>e())});const t=await(async e=>{const t=`moveo-${s(5)}`,n=window.location.href;if(bt=bt.extend(`:${t}`),!e?.integrationId)throw new Error("integrationId is required.\n Call MoveoAI.init({ integrationId: YOUR_INTEGRATION_HERE })");const o=await(async(e,t)=>{const n=t||d,o=await fetch(`${n}/v1/web/${e}`,{headers:{"Cache-Control":"no-cache"}}),i=await o.text();if(o.ok)return JSON.parse(i);throw new Error(`Error loading config from: ${n}/${e}`)})(e.integrationId,e.host);bt("Loaded integration configuration:",o);const{feature_flags:i,account_id:r,...a}=e;void 0!==i&&bt("feature_flags is server-owned; the caller value is ignored"),void 0!==r&&bt("account_id is server-owned; the caller value is ignored");const{teaser:l,...u}=a;return{...c({...o},u),...void 0!==l&&{teaser:l},clientUrl:n,widgetId:t}})(e);if(bt("Configuration:",t),"embed"===t.widget_position&&!t.element)throw new Error("element is not defined but required by embed widget");const n=new st({config:t});bt("Initializing");const o=await n.init();return bt("Initialized"),o}}};const t={};function n(o){const i=t[o];if(void 0!==i)return i.exports;const s=t[o]={id:o,exports:{}};return e[o](s,s.exports,n),s.exports}return n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var i=t[o++],s=t[o++];n.o(e,i)?0===s&&o++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[o++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.cjs=e=>{const t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},n.nc=void 0,n(5473)})());
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.120.1
3
+ * @moveo-ai/web-client v0.121.0-true.2
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.120.1
3
+ * @moveo-ai/web-client v0.121.0-true.2
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moveo-ai/web-client",
3
- "version": "0.120.1",
3
+ "version": "0.121.0-true.2",
4
4
  "description": "Client side library to load the moveo chat widget and connect it with your agent",
5
5
  "main": "dist/web-client.min.js",
6
6
  "types": "web-client.d.ts",
@@ -29,6 +29,7 @@
29
29
  "visual-diff": "node scripts/visual-diff.mjs",
30
30
  "walkthrough": "node scripts/walkthrough.mjs",
31
31
  "dev:disconnect-close": "node scripts/dev-disconnect-close.mjs",
32
+ "clover:staging": "node scripts/fiserv/e2e/clover-staging.mjs",
32
33
  "watch": "webpack --watch"
33
34
  },
34
35
  "files": [