@moveo-ai/web-client 0.92.0 → 0.93.0
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.
- package/dist/147.min.js.LICENSE.txt +1 -1
- package/dist/147.min.js.map +1 -1
- package/dist/329.min.js.LICENSE.txt +1 -1
- package/dist/329.min.js.map +1 -1
- package/dist/audio-client.min.js +1 -1
- package/dist/audio-client.min.js.LICENSE.txt +1 -1
- package/dist/audio-client.min.js.map +1 -1
- package/dist/iframe.min.js +1 -1
- package/dist/iframe.min.js.LICENSE.txt +1 -1
- package/dist/iframe.min.js.map +1 -1
- package/dist/iframe.v2.min.js +1 -1
- package/dist/iframe.v2.min.js.LICENSE.txt +1 -1
- package/dist/iframe.v2.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/preview-audio/index.html +3 -1
- package/dist/preview.css.min.js +1 -1
- package/dist/preview.css.min.js.LICENSE.txt +1 -1
- package/dist/preview.css.min.js.map +1 -1
- package/dist/web-client.min.js +1 -1
- package/dist/web-client.min.js.LICENSE.txt +1 -1
- package/dist/web-client.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
const widgetId = urlParams.get('widgetId');
|
|
16
16
|
const version = urlParams.get('version');
|
|
17
17
|
|
|
18
|
-
const defaultScript = 'iframe.min.js?
|
|
18
|
+
const defaultScript = 'iframe.min.js?dfbcf1cb67289e7dbed3';
|
|
19
19
|
const versionPattern = /^v\d+$/;
|
|
20
20
|
const script = document.createElement('script');
|
|
21
21
|
script.src =
|
package/dist/preview/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="keywords" content="Moveo.ai, Preview, WebChat, WebWidget, webclient, chatbot"/><meta name="description" content="Preview and Improve your AI Agent"/><meta name="twitter:card" value="summary"><meta property="og:title" content="Moveo.ai Webchat Preview"/><meta property="og:type" content="website"/><meta property="og:url" content="https://moveo.ai"/><meta property="og:image" content="https://web-client.moveo.ai/public/og-image.jpg"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:description" content="Preview and Improve your AI Agent"/><title>Moveo.ai Client Preview</title><script src="../preview.css.min.js?
|
|
1
|
+
<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="keywords" content="Moveo.ai, Preview, WebChat, WebWidget, webclient, chatbot"/><meta name="description" content="Preview and Improve your AI Agent"/><meta name="twitter:card" value="summary"><meta property="og:title" content="Moveo.ai Webchat Preview"/><meta property="og:type" content="website"/><meta property="og:url" content="https://moveo.ai"/><meta property="og:image" content="https://web-client.moveo.ai/public/og-image.jpg"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:description" content="Preview and Improve your AI Agent"/><title>Moveo.ai Client Preview</title><script src="../preview.css.min.js?dfbcf1cb67289e7dbed3"></script><style>body::before {
|
|
2
2
|
background-image: url('/public/background.svg');
|
|
3
3
|
}</style></head><body><div class="moveo_preview"><div class="preview_actions"><p class="header_text"><span class="colored">Preview</span> and <span class="colored">Test</span><br>your Webchat</p><p class="body_text">Moveo.ai can help you build engaging conversational applications powered by Artificial Intelligence.</p><div class="button_container"><button class="action_button" id="open-chat-button">Open Webchat</button> <button class="action_button" id="close-chat-button">Close Webchat</button> <button class="action_button" id="render-chat-button">Render Webchat</button></div></div><div id="embed-chat-container"><p id="embed-text">The webchat will render in the html element of your choice. Render the webchat here, in order to preview other settings.</p><div id="embed-chat"></div></div></div><script>// Get version from URL or default to v1
|
|
4
4
|
const queryString = window.location.search;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
const version = urlParams.get('version') || 'v1';
|
|
7
7
|
|
|
8
8
|
// Find web-client.min.js directly
|
|
9
|
-
const webpackFiles = `../iframe.min.js?
|
|
9
|
+
const webpackFiles = `../iframe.min.js?dfbcf1cb67289e7dbed3,../iframe.v2.min.js?dfbcf1cb67289e7dbed3,../web-client.min.js?dfbcf1cb67289e7dbed3,../preview.css.min.js?dfbcf1cb67289e7dbed3,../audio-client.min.js?dfbcf1cb67289e7dbed3`.split(',');
|
|
10
10
|
const webClientFile = webpackFiles.find(file => file.includes('web-client.min.js'));
|
|
11
11
|
const previewCssFile = webpackFiles.find(file => file.includes('preview.css.min.js'));
|
|
12
12
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/><meta name="keywords" content="Moveo.ai, Voice, Audio, Preview"/><meta name="description" content="Test your Audio Integration"/><meta name="twitter:card" content="summary"/><meta property="og:title" content="Moveo.ai Audio Preview"/><meta property="og:type" content="website"/><meta property="og:url" content="https://moveo.ai"/><meta property="og:image" content="https://web-client.moveo.ai/public/og-image.jpg"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:description" content="Test your Audio Integration"/><title>Moveo.ai Audio Preview</title><script src="https://cdn.tailwindcss.com"></script><script>tailwind.config = {
|
|
2
|
+
important: '#preview-content',
|
|
3
|
+
corePlugins: { preflight: false },
|
|
2
4
|
theme: {
|
|
3
5
|
extend: {
|
|
4
6
|
fontFamily: {
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
},
|
|
15
17
|
},
|
|
16
18
|
},
|
|
17
|
-
};</script><link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet"/><script defer="defer" src="/audio-client.min.js"></script></head><body class="relative min-h-screen font-sans text-slate-900 antialiased"><main class="relative z-10 flex min-h-screen items-center"><section class="mx-auto flex w-full max-w-6xl flex-col gap-12 px-6 py-16 md:flex-row md:items-center md:px-12 lg:gap-16"><header class="max-w-2xl space-y-6 text-center md:text-left"><h1 class="text-4xl font-semibold leading-tight sm:text-5xl">Preview and test<br class="hidden sm:block"/>your voice integration</h1><p class="text-lg text-slate-600 sm:text-xl">Click the widget button at the bottom right to start a test call and try your AI Agent with voice.</p><div id="status" class="text-sm font-medium"></div></header></section></main><script>localStorage.debug = 'moveo:audio:*';
|
|
19
|
+
};</script><link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet"/><script defer="defer" src="/audio-client.min.js"></script></head><body><div id="preview-content" class="relative min-h-screen font-sans text-slate-900 antialiased"><main class="relative z-10 flex min-h-screen items-center"><section class="mx-auto flex w-full max-w-6xl flex-col gap-12 px-6 py-16 md:flex-row md:items-center md:px-12 lg:gap-16"><header class="max-w-2xl space-y-6 text-center md:text-left"><h1 class="text-4xl font-semibold leading-tight sm:text-5xl">Preview and test<br class="hidden sm:block"/>your voice integration</h1><p class="text-lg text-slate-600 sm:text-xl">Click the widget button at the bottom right to start a test call and try your AI Agent with voice.</p><div id="status" class="text-sm font-medium"></div></header></section></main></div><script>localStorage.debug = 'moveo:audio:*';
|
|
18
20
|
|
|
19
21
|
const statusNode = document.getElementById('status');
|
|
20
22
|
const toneColor = {
|
package/dist/preview.css.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see preview.css.min.js.LICENSE.txt */
|
|
2
|
-
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("MoveoAI",[],e):"object"==typeof exports?exports.MoveoAI=e():n.MoveoAI=e()}(this,function(){return function(){"use strict";var n={1364:function(n){n.exports=function(n){var e=[];return e.toString=function(){return this.map(function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=n(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o}).join("")},e.i=function(n,o,t,i,r){"string"==typeof n&&(n=[[null,n,void 0]]);var a={};if(t)for(var A=0;A<this.length;A++){var c=this[A][0];null!=c&&(a[c]=!0)}for(var d=0;d<n.length;d++){var s=[].concat(n[d]);t&&a[s[0]]||(void 0!==r&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=r),o&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=o):s[2]=o),i&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=i):s[4]="".concat(i)),e.push(s))}},e}},2155:function(n){n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(o){!function(n,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,i&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var r=o.sourceMap;r&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleTagTransform(t,n,e.options)}(e,n,o)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}},5516:function(n){n.exports=function(n){var e=n[1],o=n[3];if(!o)return e;if("function"==typeof btoa){var t=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),r="/*# ".concat(i," */");return[e].concat([r]).join("\n")}return[e].join("\n")}},6186:function(n){var e=[];function o(n){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===n){o=t;break}return o}function t(n,t){for(var r={},a=[],A=0;A<n.length;A++){var c=n[A],d=t.base?c[0]+t.base:c[0],s=r[d]||0,m="".concat(d," ").concat(s);r[d]=s+1;var p=o(m),u={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(u);else{var l=i(u,t);t.byIndex=A,e.splice(A,0,{identifier:m,updater:l,references:1})}a.push(m)}return a}function i(n,e){var o=e.domAPI(e);return o.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;o.update(n=e)}else o.remove()}}n.exports=function(n,i){var r=t(n=n||[],i=i||{});return function(n){n=n||[];for(var a=0;a<r.length;a++){var A=o(r[a]);e[A].references--}for(var c=t(n,i),d=0;d<r.length;d++){var s=o(r[d]);0===e[s].references&&(e[s].updater(),e.splice(s,1))}r=c}}},7433:function(n){var e={};n.exports=function(n,o){var t=function(n){if(void 0===e[n]){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(n){o=null}e[n]=o}return e[n]}(n);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},8598:function(n,e,o){var t=o(5516),i=o.n(t),r=o(1364),a=o.n(r)()(i());a.push([n.id,"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap);"]),a.push([n.id,"@keyframes fadein{0%{opacity:0}100%{opacity:1}}body{position:relative;--moveo-preview-default-padding: 10%;--moveo-font-primary: 'Inter', monospace;min-height:100vh;background:linear-gradient(270.03deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%);background-repeat:no-repeat;background-position:top right;background-size:contain;margin:0}body::before{position:absolute;width:100%;height:100%;content:\"\";z-index:-1;background-size:contain;background-position:top right;background-repeat:no-repeat;opacity:.5}body .moveo_preview{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2;display:flex;flex-flow:row wrap;justify-content:space-between;padding:var(--moveo-preview-default-padding) var(--moveo-preview-default-padding) 0}body .moveo_preview #embed-chat-container{display:none;width:512px;height:562px;border:2px solid var(--moveo-background-color);background-color:var(--moveo-ui-background-01);box-sizing:border-box;box-shadow:2px 3px 6px rgba(104,104,104,.1);border-radius:.5rem;flex:0 1 auto;min-width:300px;margin-bottom:4rem}body .moveo_preview #embed-chat-container #embed-text{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-lg);font-weight:400;letter-spacing:0;line-height:1.5rem;line-height:1.5rem;text-align:center;margin:var(--moveo-preview-default-padding) 1.75rem 0}body .moveo_preview #embed-chat-container #embed-chat{width:100%;height:100%;display:none}body .moveo_preview .preview_actions{width:510px;margin-bottom:2.25rem}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;margin-top:0;margin-bottom:1.5rem}body .moveo_preview .preview_actions .header_text span{color:#c4c4c4}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;margin-bottom:2.25rem}body .moveo_preview .button_container{display:flex;flex-direction:row;justify-content:flex-start}body .moveo_preview .button_container .action_button{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-xs);font-weight:400;letter-spacing:0;line-height:1rem;font-size:var(--moveo-font-md);font-weight:600;margin-right:1rem;color:var(--moveo-ui-background-01);background-color:#c4c4c4;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;border:0;transition:.2s all linear;display:none;white-space:nowrap}body .moveo_preview .button_container .action_button.enabled{display:block}body .moveo_preview .button_container .action_button.disabled{background-color:#c4c4c4;cursor:not-allowed}@media(width <= 700px){body{background:linear-gradient(0deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%)}body::before{background-size:cover}body .moveo_preview{flex-direction:column;align-items:center;padding:75px 0 0}body .moveo_preview #embed-chat-container{margin-left:10%;margin-right:10%;width:80%}body .moveo_preview .preview_actions{display:flex;flex-direction:column;align-items:center;width:auto;min-width:0}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;font-size:28px;line-height:34px;text-align:center}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-size:16px;line-height:20px;width:280px;text-align:center}body .moveo_preview .preview_actions #close-chat-button{display:none}}","",{version:3,sources:["webpack://./src/styles/mixings.scss","webpack://./src/styles/preview.scss","webpack://./src/styles/theme.scss","webpack://./src/styles/spacing.scss","webpack://./src/styles/fonts.scss"],names:[],mappings:"AAUA,kBACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCVJ,KACE,iBAAA,CASA,oCAAA,CACA,wCAAA,CAEA,gBAAA,CACA,mFAAA,CAKA,2BAAA,CACA,6BAAA,CACA,uBAAA,CACA,QAAA,CAEA,aACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,UAAA,CACA,UArBmB,CAsBnB,uBAAA,CACA,6BAAA,CACA,2BAAA,CACA,UAAA,CAGF,oBDxCE,gCE2Bc,CF3Bd,sCE2Bc,CF3Bd,yBE2Bc,CF3Bd,6BE2Bc,CF3Bd,oHE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,4BE2Bc,CF3Bd,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,qBAAA,CAGF,oBACE,qBAAA,CACA,kBAAA,CACA,gBAAA,CAEA,0CACE,eApBkB,CAqBlB,gBArBkB,CAsBlB,SArBiB,CAwBnB,qCACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CAEA,kDGnFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAaA,gBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CH4DQ,iBAAA,CAGF,gDGzFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CHiFQ,WA1CiB,CA2CjB,iBAAA,CAGF,wDACE,YAAA,CAAA",sourcesContent:["@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n\n@mixin fade-in($val) {\n animation: fadein $val;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n","@use './fonts' as *;\n@use './spacing' as *;\n@use './theme' as *;\n@use './mixings' as *;\n@import 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap';\n\nbody {\n position: relative;\n\n $embed-width: 512px;\n $embed-height: 562px;\n $embed-max-width: 300px;\n $preview-background-color: #c4c4c4;\n $actions-width: 510px;\n $background-z-index: -1;\n\n --moveo-preview-default-padding: 10%;\n --moveo-font-primary: 'Inter', monospace;\n\n min-height: 100vh;\n background: linear-gradient(\n 270.03deg,\n $preview-background-color 3.88%,\n rgb(196 196 196 / 0%) 90.28%\n );\n background-repeat: no-repeat;\n background-position: top right;\n background-size: contain;\n margin: 0;\n\n &::before {\n position: absolute;\n width: 100%;\n height: 100%;\n content: '';\n z-index: $background-z-index;\n background-size: contain;\n background-position: top right;\n background-repeat: no-repeat;\n opacity: 0.5;\n }\n\n .moveo_preview {\n @include spread-map($theme-map-light);\n\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n padding: var(--moveo-preview-default-padding)\n var(--moveo-preview-default-padding) 0;\n\n #embed-chat-container {\n display: none;\n width: $embed-width;\n height: $embed-height;\n border: 2px solid var($text-primary);\n background-color: var($ui-background-01);\n box-sizing: border-box;\n box-shadow: 2px 3px 6px rgba(104 104 104 / 10%);\n border-radius: $space-8;\n flex: 0 1 auto;\n min-width: $embed-max-width;\n margin-bottom: $space-64;\n\n #embed-text {\n @include heading-regular;\n\n line-height: $space-24;\n text-align: center;\n margin: var(--moveo-preview-default-padding) $space-26 0;\n }\n\n #embed-chat {\n width: 100%;\n height: 100%;\n display: none;\n }\n }\n\n .preview_actions {\n width: $actions-width;\n margin-bottom: $space-36;\n\n .header_text {\n @include header-preview;\n\n margin-top: 0;\n margin-bottom: $space-24;\n\n span {\n color: $preview-background-color;\n }\n }\n\n .body_text {\n @include body-preview;\n\n margin-bottom: $space-36;\n }\n }\n\n .button_container {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n\n .action_button {\n @include body-medium;\n\n margin-right: $space-16;\n color: var($ui-background-01);\n background-color: $preview-background-color;\n padding: $space-8 $space-16;\n border-radius: $space-4;\n cursor: pointer;\n border: 0;\n transition: 0.2s all linear;\n display: none;\n white-space: nowrap;\n\n &.enabled {\n display: block;\n }\n\n &.disabled {\n background-color: $preview-background-color;\n cursor: not-allowed;\n }\n }\n }\n }\n}\n\n@media (width <= 700px) {\n body {\n $preview-background-color: #c4c4c4;\n $actions-mobile-width: 280px;\n $embed-mobile-margin: 10%;\n $embed-mobile-width: 80%;\n $mobile-top-padding: 75px;\n\n background: linear-gradient(\n 0deg,\n $preview-background-color 3.88%,\n rgb(196 196 196 / 0%) 90.28%\n );\n\n &::before {\n background-size: cover;\n }\n\n .moveo_preview {\n flex-direction: column;\n align-items: center;\n padding: $mobile-top-padding 0 0;\n\n #embed-chat-container {\n margin-left: $embed-mobile-margin;\n margin-right: $embed-mobile-margin;\n width: $embed-mobile-width;\n }\n\n .preview_actions {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: auto;\n min-width: 0;\n\n .header_text {\n @include header-preview-mobile;\n\n text-align: center;\n }\n\n .body_text {\n @include body-preview-mobile;\n\n width: $actions-mobile-width;\n text-align: center;\n }\n\n #close-chat-button {\n display: none;\n }\n }\n }\n }\n}\n","$text-01: --moveo-text-01;\n$text-02: --moveo-text-02;\n$text-03: --moveo-text-03;\n$text-04: --moveo-text-04;\n$text-05: --moveo-text-05;\n$text-success: --moveo-text-success;\n$text-failure: --moveo-text-failure;\n$text-primary: --moveo-background-color;\n$text-primary-hover: --moveo-background-color-hover;\n$text-secondary: --moveo-accent-color;\n$ui-background-01: --moveo-ui-background-01;\n$ui-background-02: --moveo-ui-background-02;\n$ui-background-03: --moveo-ui-background-03;\n$ui-background-04: --moveo-ui-background-04;\n$ui-background-05: --moveo-ui-background-05;\n\n// This variable name should never change\n$ui-chat-background: --moveo-chat-background;\n$ui-header-background: --moveo-header-background;\n$ui-03: --moveo-ui-03;\n$z-index: --moveo-z-index;\n$review-number: --moveo-review-number;\n$review-input-background: --moveo-review-input-background;\n$interactive-02: --moveo-interactive-02;\n$hover-02: --moveo-hover-02;\n$icon-attention: --moveo-icon-attention;\n$icon-warning: --moveo-icon-warning;\n\n// Default theme\n$theme-map-light: (\n $text-primary: #1b66d6,\n $text-primary-hover: #1c46b7,\n $text-secondary: #fff,\n $ui-background-01: #fff,\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\n $ui-background-03: #e8e8e8,\n $ui-background-04: #fdf7f2,\n $ui-background-05: #fff6f5,\n $ui-chat-background: #fff,\n $icon-attention: #d86a05,\n $icon-warning: #d82c0d,\n $text-01: #000,\n $text-02: #8893a8,\n $text-03: #fff,\n $text-04: #555,\n $text-05: #989898,\n $ui-03: #d6e3f8,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #f9f9f9,\n $review-input-background: #fafafa,\n $interactive-02: #e1e1e1,\n $hover-02: #c2c2c2,\n);\n$theme-map-dark: (\n $text-primary: #05043a,\n $text-primary-hover: #1b66d610,\n $text-secondary: #000,\n $ui-background-01: #202629,\n $ui-background-02: #000,\n $ui-background-03: #e8e8e8,\n $ui-background-04: #1d1d1d,\n $ui-background-05: #212121,\n $ui-chat-background: #000,\n $icon-attention: #282828,\n $icon-warning: #1a1a1a,\n $text-01: #fff,\n $text-02: #8893a8,\n $text-03: #000,\n $text-04: #fff,\n $text-05: #989898,\n $ui-03: #202629,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #1e2224,\n $review-input-background: #1e2224,\n $interactive-02: #4f5563,\n $hover-02: #7f889c,\n);\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n","/* stylelint-disable scale-unlimited/declaration-strict-value */\n/* stylelint-disable property-disallowed-list */\n\n@use './spacing' as *;\n\n@mixin label-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-xs);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-16;\n}\n\n@mixin label-caps {\n @include label-regular;\n\n font-weight: 600;\n text-transform: uppercase;\n}\n\n@mixin code-big {\n @include label-regular;\n\n font-size: var(--moveo-font-sm);\n}\n\n@mixin body-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-md);\n font-weight: 400;\n letter-spacing: 0;\n line-height: calc(var(--moveo-font-md) + 2px);\n}\n\n@mixin body-regular-phone {\n @include body-regular;\n\n font-size: var(--moveo-font-lg);\n line-height: $space-22;\n}\n\n@mixin body-medium {\n @include label-regular;\n\n font-size: var(--moveo-font-md);\n font-weight: 600;\n}\n\n@mixin heading-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-lg);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-24;\n}\n\n@mixin heading-medium {\n @include heading-regular;\n\n font-weight: 600;\n}\n\n@mixin body-2-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-sm);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-16;\n}\n\n@mixin body-2-medium {\n @include body-2-regular;\n\n font-weight: 600;\n}\n\n@mixin button-modal {\n font-weight: 600;\n padding: $space-6 $space-16;\n font-size: var(--moveo-font-sm);\n line-height: $space-24;\n}\n\n/* Style for the preview page */\n\n@mixin body-preview {\n font-family: var(--moveo-font-primary);\n font-style: normal;\n font-weight: normal;\n font-size: 24px;\n line-height: 30px;\n}\n\n@mixin body-preview-mobile {\n @include body-preview;\n\n font-size: 16px;\n line-height: 20px;\n}\n\n@mixin header-preview {\n @include body-preview;\n\n font-weight: bold;\n font-size: 42px;\n line-height: 51px;\n}\n\n@mixin header-preview-mobile {\n @include header-preview;\n\n font-size: 28px;\n line-height: 34px;\n}\n"],sourceRoot:""}]),e.A=a},8626:function(n,e,o){n.exports=function(n){var e=o.nc;e&&n.setAttribute("nonce",e)}},8990:function(n){n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},9827:function(n){n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}}},e={};function o(t){var i=e[t];if(void 0!==i)return i.exports;var r=e[t]={id:t,exports:{}};return n[t](r,r.exports,o),r.exports}o.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(e,{a:e}),e},o.d=function(n,e){for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},o.nc=void 0;var t=o(6186),i=o.n(t),r=o(2155),a=o.n(r),A=o(7433),c=o.n(A),d=o(8626),s=o.n(d),m=o(8990),p=o.n(m),u=o(9827),l=o.n(u),f=o(8598),g={};return g.styleTagTransform=l(),g.setAttributes=s(),g.insert=c().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p(),i()(f.A,g),f.A&&f.A.locals&&f.A.locals,{}}()});
|
|
2
|
+
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("MoveoAI",[],e):"object"==typeof exports?exports.MoveoAI=e():n.MoveoAI=e()}(this,function(){return function(){"use strict";var n={8598:function(n,e,o){var t=o(5516),i=o.n(t),r=o(1364),a=o.n(r)()(i());a.push([n.id,"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap);"]),a.push([n.id,"@keyframes fadein{0%{opacity:0}100%{opacity:1}}body{position:relative;--moveo-preview-default-padding: 10%;--moveo-font-primary: 'Inter', monospace;min-height:100vh;background:linear-gradient(270.03deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%);background-repeat:no-repeat;background-position:top right;background-size:contain;margin:0}body::before{position:absolute;width:100%;height:100%;content:\"\";z-index:-1;background-size:contain;background-position:top right;background-repeat:no-repeat;opacity:.5}body .moveo_preview{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2;display:flex;flex-flow:row wrap;justify-content:space-between;padding:var(--moveo-preview-default-padding) var(--moveo-preview-default-padding) 0}body .moveo_preview #embed-chat-container{display:none;width:512px;height:562px;border:2px solid var(--moveo-background-color);background-color:var(--moveo-ui-background-01);box-sizing:border-box;box-shadow:2px 3px 6px rgba(104,104,104,.1);border-radius:.5rem;flex:0 1 auto;min-width:300px;margin-bottom:4rem}body .moveo_preview #embed-chat-container #embed-text{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-lg);font-weight:400;letter-spacing:0;line-height:1.5rem;line-height:1.5rem;text-align:center;margin:var(--moveo-preview-default-padding) 1.75rem 0}body .moveo_preview #embed-chat-container #embed-chat{width:100%;height:100%;display:none}body .moveo_preview .preview_actions{width:510px;margin-bottom:2.25rem}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;margin-top:0;margin-bottom:1.5rem}body .moveo_preview .preview_actions .header_text span{color:#c4c4c4}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;margin-bottom:2.25rem}body .moveo_preview .button_container{display:flex;flex-direction:row;justify-content:flex-start}body .moveo_preview .button_container .action_button{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-xs);font-weight:400;letter-spacing:0;line-height:1rem;font-size:var(--moveo-font-md);font-weight:600;margin-right:1rem;color:var(--moveo-ui-background-01);background-color:#c4c4c4;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;border:0;transition:.2s all linear;display:none;white-space:nowrap}body .moveo_preview .button_container .action_button.enabled{display:block}body .moveo_preview .button_container .action_button.disabled{background-color:#c4c4c4;cursor:not-allowed}@media(width <= 700px){body{background:linear-gradient(0deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%)}body::before{background-size:cover}body .moveo_preview{flex-direction:column;align-items:center;padding:75px 0 0}body .moveo_preview #embed-chat-container{margin-left:10%;margin-right:10%;width:80%}body .moveo_preview .preview_actions{display:flex;flex-direction:column;align-items:center;width:auto;min-width:0}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;font-size:28px;line-height:34px;text-align:center}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-size:16px;line-height:20px;width:280px;text-align:center}body .moveo_preview .preview_actions #close-chat-button{display:none}}","",{version:3,sources:["webpack://./src/styles/mixings.scss","webpack://./src/styles/preview.scss","webpack://./src/styles/theme.scss","webpack://./src/styles/spacing.scss","webpack://./src/styles/fonts.scss"],names:[],mappings:"AAUA,kBACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCVJ,KACE,iBAAA,CASA,oCAAA,CACA,wCAAA,CAEA,gBAAA,CACA,mFAAA,CAKA,2BAAA,CACA,6BAAA,CACA,uBAAA,CACA,QAAA,CAEA,aACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,UAAA,CACA,UArBmB,CAsBnB,uBAAA,CACA,6BAAA,CACA,2BAAA,CACA,UAAA,CAGF,oBDxCE,gCE2Bc,CF3Bd,sCE2Bc,CF3Bd,yBE2Bc,CF3Bd,6BE2Bc,CF3Bd,oHE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,4BE2Bc,CF3Bd,8BE2Bc,CF3Bd,4BE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,oBE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,qBE2Bc,CF3Bd,4BE2B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,UAAA,CACA,WAAA,CAEA,kDGnFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAaA,gBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CH4DQ,iBAAA,CAGF,gDGzFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CHiFQ,WA1CiB,CA2CjB,iBAAA,CAGF,wDACE,YAAA,CAAA",sourcesContent:["@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n\n@mixin fade-in($val) {\n animation: fadein $val;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n","@use './fonts' as *;\n@use './spacing' as *;\n@use './theme' as *;\n@use './mixings' as *;\n@import 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap';\n\nbody {\n position: relative;\n\n $embed-width: 512px;\n $embed-height: 562px;\n $embed-max-width: 300px;\n $preview-background-color: #c4c4c4;\n $actions-width: 510px;\n $background-z-index: -1;\n\n --moveo-preview-default-padding: 10%;\n --moveo-font-primary: 'Inter', monospace;\n\n min-height: 100vh;\n background: linear-gradient(\n 270.03deg,\n $preview-background-color 3.88%,\n rgb(196 196 196 / 0%) 90.28%\n );\n background-repeat: no-repeat;\n background-position: top right;\n background-size: contain;\n margin: 0;\n\n &::before {\n position: absolute;\n width: 100%;\n height: 100%;\n content: '';\n z-index: $background-z-index;\n background-size: contain;\n background-position: top right;\n background-repeat: no-repeat;\n opacity: 0.5;\n }\n\n .moveo_preview {\n @include spread-map($theme-map-light);\n\n display: flex;\n flex-flow: row wrap;\n justify-content: space-between;\n padding: var(--moveo-preview-default-padding)\n var(--moveo-preview-default-padding) 0;\n\n #embed-chat-container {\n display: none;\n width: $embed-width;\n height: $embed-height;\n border: 2px solid var($text-primary);\n background-color: var($ui-background-01);\n box-sizing: border-box;\n box-shadow: 2px 3px 6px rgba(104 104 104 / 10%);\n border-radius: $space-8;\n flex: 0 1 auto;\n min-width: $embed-max-width;\n margin-bottom: $space-64;\n\n #embed-text {\n @include heading-regular;\n\n line-height: $space-24;\n text-align: center;\n margin: var(--moveo-preview-default-padding) $space-26 0;\n }\n\n #embed-chat {\n width: 100%;\n height: 100%;\n display: none;\n }\n }\n\n .preview_actions {\n width: $actions-width;\n margin-bottom: $space-36;\n\n .header_text {\n @include header-preview;\n\n margin-top: 0;\n margin-bottom: $space-24;\n\n span {\n color: $preview-background-color;\n }\n }\n\n .body_text {\n @include body-preview;\n\n margin-bottom: $space-36;\n }\n }\n\n .button_container {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n\n .action_button {\n @include body-medium;\n\n margin-right: $space-16;\n color: var($ui-background-01);\n background-color: $preview-background-color;\n padding: $space-8 $space-16;\n border-radius: $space-4;\n cursor: pointer;\n border: 0;\n transition: 0.2s all linear;\n display: none;\n white-space: nowrap;\n\n &.enabled {\n display: block;\n }\n\n &.disabled {\n background-color: $preview-background-color;\n cursor: not-allowed;\n }\n }\n }\n }\n}\n\n@media (width <= 700px) {\n body {\n $preview-background-color: #c4c4c4;\n $actions-mobile-width: 280px;\n $embed-mobile-margin: 10%;\n $embed-mobile-width: 80%;\n $mobile-top-padding: 75px;\n\n background: linear-gradient(\n 0deg,\n $preview-background-color 3.88%,\n rgb(196 196 196 / 0%) 90.28%\n );\n\n &::before {\n background-size: cover;\n }\n\n .moveo_preview {\n flex-direction: column;\n align-items: center;\n padding: $mobile-top-padding 0 0;\n\n #embed-chat-container {\n margin-left: $embed-mobile-margin;\n margin-right: $embed-mobile-margin;\n width: $embed-mobile-width;\n }\n\n .preview_actions {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: auto;\n min-width: 0;\n\n .header_text {\n @include header-preview-mobile;\n\n text-align: center;\n }\n\n .body_text {\n @include body-preview-mobile;\n\n width: $actions-mobile-width;\n text-align: center;\n }\n\n #close-chat-button {\n display: none;\n }\n }\n }\n }\n}\n","$text-01: --moveo-text-01;\n$text-02: --moveo-text-02;\n$text-03: --moveo-text-03;\n$text-04: --moveo-text-04;\n$text-05: --moveo-text-05;\n$text-success: --moveo-text-success;\n$text-failure: --moveo-text-failure;\n$text-primary: --moveo-background-color;\n$text-primary-hover: --moveo-background-color-hover;\n$text-secondary: --moveo-accent-color;\n$ui-background-01: --moveo-ui-background-01;\n$ui-background-02: --moveo-ui-background-02;\n$ui-background-03: --moveo-ui-background-03;\n$ui-background-04: --moveo-ui-background-04;\n$ui-background-05: --moveo-ui-background-05;\n\n// This variable name should never change\n$ui-chat-background: --moveo-chat-background;\n$ui-header-background: --moveo-header-background;\n$ui-03: --moveo-ui-03;\n$z-index: --moveo-z-index;\n$review-number: --moveo-review-number;\n$review-input-background: --moveo-review-input-background;\n$interactive-02: --moveo-interactive-02;\n$hover-02: --moveo-hover-02;\n$icon-attention: --moveo-icon-attention;\n$icon-warning: --moveo-icon-warning;\n\n// Default theme\n$theme-map-light: (\n $text-primary: #1b66d6,\n $text-primary-hover: #1c46b7,\n $text-secondary: #fff,\n $ui-background-01: #fff,\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\n $ui-background-03: #e8e8e8,\n $ui-background-04: #fdf7f2,\n $ui-background-05: #fff6f5,\n $ui-chat-background: #fff,\n $icon-attention: #d86a05,\n $icon-warning: #d82c0d,\n $text-01: #000,\n $text-02: #8893a8,\n $text-03: #fff,\n $text-04: #555,\n $text-05: #989898,\n $ui-03: #d6e3f8,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #f9f9f9,\n $review-input-background: #fafafa,\n $interactive-02: #e1e1e1,\n $hover-02: #c2c2c2,\n);\n$theme-map-dark: (\n $text-primary: #05043a,\n $text-primary-hover: #1b66d610,\n $text-secondary: #000,\n $ui-background-01: #202629,\n $ui-background-02: #000,\n $ui-background-03: #e8e8e8,\n $ui-background-04: #1d1d1d,\n $ui-background-05: #212121,\n $ui-chat-background: #000,\n $icon-attention: #282828,\n $icon-warning: #1a1a1a,\n $text-01: #fff,\n $text-02: #8893a8,\n $text-03: #000,\n $text-04: #fff,\n $text-05: #989898,\n $ui-03: #202629,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #1e2224,\n $review-input-background: #1e2224,\n $interactive-02: #4f5563,\n $hover-02: #7f889c,\n);\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n","/* stylelint-disable scale-unlimited/declaration-strict-value */\n/* stylelint-disable property-disallowed-list */\n\n@use './spacing' as *;\n\n@mixin label-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-xs);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-16;\n}\n\n@mixin label-caps {\n @include label-regular;\n\n font-weight: 600;\n text-transform: uppercase;\n}\n\n@mixin code-big {\n @include label-regular;\n\n font-size: var(--moveo-font-sm);\n}\n\n@mixin body-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-md);\n font-weight: 400;\n letter-spacing: 0;\n line-height: calc(var(--moveo-font-md) + 2px);\n}\n\n@mixin body-regular-phone {\n @include body-regular;\n\n font-size: var(--moveo-font-lg);\n line-height: $space-22;\n}\n\n@mixin body-medium {\n @include label-regular;\n\n font-size: var(--moveo-font-md);\n font-weight: 600;\n}\n\n@mixin heading-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-lg);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-24;\n}\n\n@mixin heading-medium {\n @include heading-regular;\n\n font-weight: 600;\n}\n\n@mixin body-2-regular {\n font-family: var(--moveo-font-primary);\n font-size: var(--moveo-font-sm);\n font-weight: 400;\n letter-spacing: 0;\n line-height: $space-16;\n}\n\n@mixin body-2-medium {\n @include body-2-regular;\n\n font-weight: 600;\n}\n\n@mixin button-modal {\n font-weight: 600;\n padding: $space-6 $space-16;\n font-size: var(--moveo-font-sm);\n line-height: $space-24;\n}\n\n/* Style for the preview page */\n\n@mixin body-preview {\n font-family: var(--moveo-font-primary);\n font-style: normal;\n font-weight: normal;\n font-size: 24px;\n line-height: 30px;\n}\n\n@mixin body-preview-mobile {\n @include body-preview;\n\n font-size: 16px;\n line-height: 20px;\n}\n\n@mixin header-preview {\n @include body-preview;\n\n font-weight: bold;\n font-size: 42px;\n line-height: 51px;\n}\n\n@mixin header-preview-mobile {\n @include header-preview;\n\n font-size: 28px;\n line-height: 34px;\n}\n"],sourceRoot:""}]),e.A=a},1364:function(n){n.exports=function(n){var e=[];return e.toString=function(){return this.map(function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=n(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o}).join("")},e.i=function(n,o,t,i,r){"string"==typeof n&&(n=[[null,n,void 0]]);var a={};if(t)for(var A=0;A<this.length;A++){var c=this[A][0];null!=c&&(a[c]=!0)}for(var d=0;d<n.length;d++){var s=[].concat(n[d]);t&&a[s[0]]||(void 0!==r&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=r),o&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=o):s[2]=o),i&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=i):s[4]="".concat(i)),e.push(s))}},e}},5516:function(n){n.exports=function(n){var e=n[1],o=n[3];if(!o)return e;if("function"==typeof btoa){var t=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),r="/*# ".concat(i," */");return[e].concat([r]).join("\n")}return[e].join("\n")}},6186:function(n){var e=[];function o(n){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===n){o=t;break}return o}function t(n,t){for(var r={},a=[],A=0;A<n.length;A++){var c=n[A],d=t.base?c[0]+t.base:c[0],s=r[d]||0,m="".concat(d," ").concat(s);r[d]=s+1;var p=o(m),u={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)e[p].references++,e[p].updater(u);else{var l=i(u,t);t.byIndex=A,e.splice(A,0,{identifier:m,updater:l,references:1})}a.push(m)}return a}function i(n,e){var o=e.domAPI(e);return o.update(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;o.update(n=e)}else o.remove()}}n.exports=function(n,i){var r=t(n=n||[],i=i||{});return function(n){n=n||[];for(var a=0;a<r.length;a++){var A=o(r[a]);e[A].references--}for(var c=t(n,i),d=0;d<r.length;d++){var s=o(r[d]);0===e[s].references&&(e[s].updater(),e.splice(s,1))}r=c}}},7433:function(n){var e={};n.exports=function(n,o){var t=function(n){if(void 0===e[n]){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(n){o=null}e[n]=o}return e[n]}(n);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},8990:function(n){n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},8626:function(n,e,o){n.exports=function(n){var e=o.nc;e&&n.setAttribute("nonce",e)}},2155:function(n){n.exports=function(n){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(o){!function(n,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,i&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var r=o.sourceMap;r&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleTagTransform(t,n,e.options)}(e,n,o)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}},9827:function(n){n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}}},e={};function o(t){var i=e[t];if(void 0!==i)return i.exports;var r=e[t]={id:t,exports:{}};return n[t](r,r.exports,o),r.exports}o.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(e,{a:e}),e},o.d=function(n,e){for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},o.nc=void 0;var t=o(6186),i=o.n(t),r=o(2155),a=o.n(r),A=o(7433),c=o.n(A),d=o(8626),s=o.n(d),m=o(8990),p=o.n(m),u=o(9827),l=o.n(u),f=o(8598),g={};return g.styleTagTransform=l(),g.setAttributes=s(),g.insert=c().bind(null,"head"),g.domAPI=a(),g.insertStyleElement=p(),i()(f.A,g),f.A&&f.A.locals&&f.A.locals,{}}()});
|
|
3
3
|
//# sourceMappingURL=preview.css.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview.css.min.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAA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nG,EAAOD,OACf,CCrBAoG,EAAoBI,EAAI,SAASvG,GAChC,IAAIwG,EAASxG,GAAUA,EAAOyG,WAC7B,WAAa,OAAOzG,EAAgB,OAAG,EACvC,WAAa,OAAOA,CAAQ,EAE7B,OADAmG,EAAoBO,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CACR,ECNAL,EAAoBO,EAAI,SAAS3G,EAAS6G,GACzC,IAAI,IAAIC,KAAOD,EACXT,EAAoBW,EAAEF,EAAYC,KAASV,EAAoBW,EAAE/G,EAAS8G,IAC5EE,OAAOC,eAAejH,EAAS8G,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAG3E,ECPAV,EAAoBW,EAAI,SAAS9E,EAAKmF,GAAQ,OAAOJ,OAAOK,UAAUC,eAAeC,KAAKtF,EAAKmF,EAAO,ECAtGhB,EAAoBoB,QAAKnG,E,gICWrBM,EAAU,CAAC,E,OAEfA,EAAQc,kBAAoB,IAC5Bd,EAAQkE,cAAgB,IACxBlE,EAAQgD,OAAS,SAAc,KAAM,QACrChD,EAAQuC,OAAS,IACjBvC,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKJ,KAAW,IAAQ8F,QAAS,IAAQA,O","sources":["webpack://MoveoAI/webpack/universalModuleDefinition","webpack://MoveoAI/./node_modules/css-loader/dist/runtime/api.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://MoveoAI/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://MoveoAI/./src/styles/preview.scss","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://MoveoAI/webpack/bootstrap","webpack://MoveoAI/webpack/runtime/compat get default export","webpack://MoveoAI/webpack/runtime/define property getters","webpack://MoveoAI/webpack/runtime/hasOwnProperty shorthand","webpack://MoveoAI/webpack/runtime/nonce","webpack://MoveoAI/./src/styles/preview.scss?4a77"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"MoveoAI\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"MoveoAI\"] = factory();\n\telse\n\t\troot[\"MoveoAI\"] = factory();\n})(this, function() {\nreturn ","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.push([module.id, \"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap);\"]);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@keyframes fadein{0%{opacity:0}100%{opacity:1}}body{position:relative;--moveo-preview-default-padding: 10%;--moveo-font-primary: 'Inter', monospace;min-height:100vh;background:linear-gradient(270.03deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%);background-repeat:no-repeat;background-position:top right;background-size:contain;margin:0}body::before{position:absolute;width:100%;height:100%;content:\\\"\\\";z-index:-1;background-size:contain;background-position:top right;background-repeat:no-repeat;opacity:.5}body .moveo_preview{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2;display:flex;flex-flow:row wrap;justify-content:space-between;padding:var(--moveo-preview-default-padding) var(--moveo-preview-default-padding) 0}body .moveo_preview #embed-chat-container{display:none;width:512px;height:562px;border:2px solid var(--moveo-background-color);background-color:var(--moveo-ui-background-01);box-sizing:border-box;box-shadow:2px 3px 6px rgba(104,104,104,.1);border-radius:.5rem;flex:0 1 auto;min-width:300px;margin-bottom:4rem}body .moveo_preview #embed-chat-container #embed-text{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-lg);font-weight:400;letter-spacing:0;line-height:1.5rem;line-height:1.5rem;text-align:center;margin:var(--moveo-preview-default-padding) 1.75rem 0}body .moveo_preview #embed-chat-container #embed-chat{width:100%;height:100%;display:none}body .moveo_preview .preview_actions{width:510px;margin-bottom:2.25rem}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;margin-top:0;margin-bottom:1.5rem}body .moveo_preview .preview_actions .header_text span{color:#c4c4c4}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;margin-bottom:2.25rem}body .moveo_preview .button_container{display:flex;flex-direction:row;justify-content:flex-start}body .moveo_preview .button_container .action_button{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-xs);font-weight:400;letter-spacing:0;line-height:1rem;font-size:var(--moveo-font-md);font-weight:600;margin-right:1rem;color:var(--moveo-ui-background-01);background-color:#c4c4c4;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;border:0;transition:.2s all linear;display:none;white-space:nowrap}body .moveo_preview .button_container .action_button.enabled{display:block}body .moveo_preview .button_container .action_button.disabled{background-color:#c4c4c4;cursor:not-allowed}@media(width <= 700px){body{background:linear-gradient(0deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%)}body::before{background-size:cover}body .moveo_preview{flex-direction:column;align-items:center;padding:75px 0 0}body .moveo_preview #embed-chat-container{margin-left:10%;margin-right:10%;width:80%}body .moveo_preview .preview_actions{display:flex;flex-direction:column;align-items:center;width:auto;min-width:0}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;font-size:28px;line-height:34px;text-align:center}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-size:16px;line-height:20px;width:280px;text-align:center}body .moveo_preview .preview_actions #close-chat-button{display:none}}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/mixings.scss\",\"webpack://./src/styles/preview.scss\",\"webpack://./src/styles/theme.scss\",\"webpack://./src/styles/spacing.scss\",\"webpack://./src/styles/fonts.scss\"],\"names\":[],\"mappings\":\"AAUA,kBACE,GACE,SAAA,CAGF,KACE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ACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CHOM,qBExFG,CF4FP,sCACE,YAAA,CACA,kBAAA,CACA,0BAAA,CAEA,qDGpGJ,qCAAA,CACA,8BAAA,CACA,eAAA,CACA,gBAAA,CACA,gBDMS,CC4BT,8BAAA,CACA,eAAA,CHgEM,iBE7FG,CF8FH,mCAAA,CACA,wBAnGqB,CAoGrB,kBAAA,CACA,oBE3FE,CF4FF,cAAA,CACA,QAAA,CACA,yBAAA,CACA,YAAA,CACA,kBAAA,CAEA,6DACE,aAAA,CAGF,8DACE,wBAjHmB,CAkHnB,kBAAA,CAOV,uBACE,KAOE,8EAAA,CAMA,aACE,qBAAA,CAGF,oBACE,qBAAA,CACA,kBAAA,CACA,gBAAA,CAEA,0CACE,eApBkB,CAqBlB,gBArBkB,CAsBlB,SArBiB,CAwBnB,qCACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CAEA,kDGnFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAaA,gBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CH4DQ,iBAAA,CAGF,gDGzFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CHiFQ,WA1CiB,CA2CjB,iBAAA,CAGF,wDACE,YAAA,CAAA\",\"sourcesContent\":[\"@mixin spread-map($map: ()) {\\n @each $key, $value in $map {\\n #{$key}: $value;\\n }\\n}\\n\\n@mixin fade-in($val) {\\n animation: fadein $val;\\n}\\n\\n@keyframes fadein {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 1;\\n }\\n}\\n\",\"@use './fonts' as *;\\n@use './spacing' as *;\\n@use './theme' as *;\\n@use './mixings' as *;\\n@import 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap';\\n\\nbody {\\n position: relative;\\n\\n $embed-width: 512px;\\n $embed-height: 562px;\\n $embed-max-width: 300px;\\n $preview-background-color: #c4c4c4;\\n $actions-width: 510px;\\n $background-z-index: -1;\\n\\n --moveo-preview-default-padding: 10%;\\n --moveo-font-primary: 'Inter', monospace;\\n\\n min-height: 100vh;\\n background: linear-gradient(\\n 270.03deg,\\n $preview-background-color 3.88%,\\n rgb(196 196 196 / 0%) 90.28%\\n );\\n background-repeat: no-repeat;\\n background-position: top right;\\n background-size: contain;\\n margin: 0;\\n\\n &::before {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n content: '';\\n z-index: $background-z-index;\\n background-size: contain;\\n background-position: top right;\\n background-repeat: no-repeat;\\n opacity: 0.5;\\n }\\n\\n .moveo_preview {\\n @include spread-map($theme-map-light);\\n\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-between;\\n padding: var(--moveo-preview-default-padding)\\n var(--moveo-preview-default-padding) 0;\\n\\n #embed-chat-container {\\n display: none;\\n width: $embed-width;\\n height: $embed-height;\\n border: 2px solid var($text-primary);\\n background-color: var($ui-background-01);\\n box-sizing: border-box;\\n box-shadow: 2px 3px 6px rgba(104 104 104 / 10%);\\n border-radius: $space-8;\\n flex: 0 1 auto;\\n min-width: $embed-max-width;\\n margin-bottom: $space-64;\\n\\n #embed-text {\\n @include heading-regular;\\n\\n line-height: $space-24;\\n text-align: center;\\n margin: var(--moveo-preview-default-padding) $space-26 0;\\n }\\n\\n #embed-chat {\\n width: 100%;\\n height: 100%;\\n display: none;\\n }\\n }\\n\\n .preview_actions {\\n width: $actions-width;\\n margin-bottom: $space-36;\\n\\n .header_text {\\n @include header-preview;\\n\\n margin-top: 0;\\n margin-bottom: $space-24;\\n\\n span {\\n color: $preview-background-color;\\n }\\n }\\n\\n .body_text {\\n @include body-preview;\\n\\n margin-bottom: $space-36;\\n }\\n }\\n\\n .button_container {\\n display: flex;\\n flex-direction: row;\\n justify-content: flex-start;\\n\\n .action_button {\\n @include body-medium;\\n\\n margin-right: $space-16;\\n color: var($ui-background-01);\\n background-color: $preview-background-color;\\n padding: $space-8 $space-16;\\n border-radius: $space-4;\\n cursor: pointer;\\n border: 0;\\n transition: 0.2s all linear;\\n display: none;\\n white-space: nowrap;\\n\\n &.enabled {\\n display: block;\\n }\\n\\n &.disabled {\\n background-color: $preview-background-color;\\n cursor: not-allowed;\\n }\\n }\\n }\\n }\\n}\\n\\n@media (width <= 700px) {\\n body {\\n $preview-background-color: #c4c4c4;\\n $actions-mobile-width: 280px;\\n $embed-mobile-margin: 10%;\\n $embed-mobile-width: 80%;\\n $mobile-top-padding: 75px;\\n\\n background: linear-gradient(\\n 0deg,\\n $preview-background-color 3.88%,\\n rgb(196 196 196 / 0%) 90.28%\\n );\\n\\n &::before {\\n background-size: cover;\\n }\\n\\n .moveo_preview {\\n flex-direction: column;\\n align-items: center;\\n padding: $mobile-top-padding 0 0;\\n\\n #embed-chat-container {\\n margin-left: $embed-mobile-margin;\\n margin-right: $embed-mobile-margin;\\n width: $embed-mobile-width;\\n }\\n\\n .preview_actions {\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n width: auto;\\n min-width: 0;\\n\\n .header_text {\\n @include header-preview-mobile;\\n\\n text-align: center;\\n }\\n\\n .body_text {\\n @include body-preview-mobile;\\n\\n width: $actions-mobile-width;\\n text-align: center;\\n }\\n\\n #close-chat-button {\\n display: none;\\n }\\n }\\n }\\n }\\n}\\n\",\"$text-01: --moveo-text-01;\\n$text-02: --moveo-text-02;\\n$text-03: --moveo-text-03;\\n$text-04: --moveo-text-04;\\n$text-05: --moveo-text-05;\\n$text-success: --moveo-text-success;\\n$text-failure: --moveo-text-failure;\\n$text-primary: --moveo-background-color;\\n$text-primary-hover: --moveo-background-color-hover;\\n$text-secondary: --moveo-accent-color;\\n$ui-background-01: --moveo-ui-background-01;\\n$ui-background-02: --moveo-ui-background-02;\\n$ui-background-03: --moveo-ui-background-03;\\n$ui-background-04: --moveo-ui-background-04;\\n$ui-background-05: --moveo-ui-background-05;\\n\\n// This variable name should never change\\n$ui-chat-background: --moveo-chat-background;\\n$ui-header-background: --moveo-header-background;\\n$ui-03: --moveo-ui-03;\\n$z-index: --moveo-z-index;\\n$review-number: --moveo-review-number;\\n$review-input-background: --moveo-review-input-background;\\n$interactive-02: --moveo-interactive-02;\\n$hover-02: --moveo-hover-02;\\n$icon-attention: --moveo-icon-attention;\\n$icon-warning: --moveo-icon-warning;\\n\\n// Default theme\\n$theme-map-light: (\\n $text-primary: #1b66d6,\\n $text-primary-hover: #1c46b7,\\n $text-secondary: #fff,\\n $ui-background-01: #fff,\\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\\n $ui-background-03: #e8e8e8,\\n $ui-background-04: #fdf7f2,\\n $ui-background-05: #fff6f5,\\n $ui-chat-background: #fff,\\n $icon-attention: #d86a05,\\n $icon-warning: #d82c0d,\\n $text-01: #000,\\n $text-02: #8893a8,\\n $text-03: #fff,\\n $text-04: #555,\\n $text-05: #989898,\\n $ui-03: #d6e3f8,\\n $text-success: #21d184,\\n $text-failure: #da0000,\\n $review-number: #f9f9f9,\\n $review-input-background: #fafafa,\\n $interactive-02: #e1e1e1,\\n $hover-02: #c2c2c2,\\n);\\n$theme-map-dark: (\\n $text-primary: #05043a,\\n $text-primary-hover: #1b66d610,\\n $text-secondary: #000,\\n $ui-background-01: #202629,\\n $ui-background-02: #000,\\n $ui-background-03: #e8e8e8,\\n $ui-background-04: #1d1d1d,\\n $ui-background-05: #212121,\\n $ui-chat-background: #000,\\n $icon-attention: #282828,\\n $icon-warning: #1a1a1a,\\n $text-01: #fff,\\n $text-02: #8893a8,\\n $text-03: #000,\\n $text-04: #fff,\\n $text-05: #989898,\\n $ui-03: #202629,\\n $text-success: #21d184,\\n $text-failure: #da0000,\\n $review-number: #1e2224,\\n $review-input-background: #1e2224,\\n $interactive-02: #4f5563,\\n $hover-02: #7f889c,\\n);\\n\",\"$space-128: 8rem;\\n$space-80: 5rem;\\n$space-72: 4.5rem;\\n$space-64: 4rem;\\n$space-60: 3.75rem;\\n$space-52: 3.25rem;\\n$space-48: 3rem;\\n$space-44: 2.75rem;\\n$space-40: 2.5rem;\\n$space-36: 2.25rem;\\n$space-32: 2rem;\\n$space-26: 1.75rem;\\n$space-24: 1.5rem;\\n$space-22: 1.375rem;\\n$space-20: 1.25rem;\\n$space-18: 1.125rem;\\n$space-16: 1rem;\\n$space-14: 0.875rem;\\n$space-12: 0.75rem;\\n$space-10: 0.625rem;\\n$space-8: 0.5rem;\\n$space-6: 0.4rem;\\n$space-4: 0.25rem;\\n$space-2: 0.125rem;\\n\",\"/* stylelint-disable scale-unlimited/declaration-strict-value */\\n/* stylelint-disable property-disallowed-list */\\n\\n@use './spacing' as *;\\n\\n@mixin label-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-xs);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-16;\\n}\\n\\n@mixin label-caps {\\n @include label-regular;\\n\\n font-weight: 600;\\n text-transform: uppercase;\\n}\\n\\n@mixin code-big {\\n @include label-regular;\\n\\n font-size: var(--moveo-font-sm);\\n}\\n\\n@mixin body-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-md);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: calc(var(--moveo-font-md) + 2px);\\n}\\n\\n@mixin body-regular-phone {\\n @include body-regular;\\n\\n font-size: var(--moveo-font-lg);\\n line-height: $space-22;\\n}\\n\\n@mixin body-medium {\\n @include label-regular;\\n\\n font-size: var(--moveo-font-md);\\n font-weight: 600;\\n}\\n\\n@mixin heading-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-lg);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-24;\\n}\\n\\n@mixin heading-medium {\\n @include heading-regular;\\n\\n font-weight: 600;\\n}\\n\\n@mixin body-2-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-sm);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-16;\\n}\\n\\n@mixin body-2-medium {\\n @include body-2-regular;\\n\\n font-weight: 600;\\n}\\n\\n@mixin button-modal {\\n font-weight: 600;\\n padding: $space-6 $space-16;\\n font-size: var(--moveo-font-sm);\\n line-height: $space-24;\\n}\\n\\n/* Style for the preview page */\\n\\n@mixin body-preview {\\n font-family: var(--moveo-font-primary);\\n font-style: normal;\\n font-weight: normal;\\n font-size: 24px;\\n line-height: 30px;\\n}\\n\\n@mixin body-preview-mobile {\\n @include body-preview;\\n\\n font-size: 16px;\\n line-height: 20px;\\n}\\n\\n@mixin header-preview {\\n @include body-preview;\\n\\n font-weight: bold;\\n font-size: 42px;\\n line-height: 51px;\\n}\\n\\n@mixin header-preview-mobile {\\n @include header-preview;\\n\\n font-size: 28px;\\n line-height: 34px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nc = undefined;","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-modules-typescript-loader/index.js!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js!./preview.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-modules-typescript-loader/index.js!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js!./preview.scss\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["root","factory","exports","module","define","amd","this","cssWithMappingToString","list","toString","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","options","document","update","remove","styleElement","insertStyleElement","obj","css","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","cssMapping","base64","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","domAPI","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","___CSS_LOADER_EXPORT___","nonce","setAttribute","element","createElement","setAttributes","attributes","styleSheet","cssText","firstChild","createTextNode","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","prop","prototype","hasOwnProperty","call","nc","locals"],"ignoreList":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"preview.css.min.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,UAAW,GAAIH,GACI,iBAAZC,QACdA,QAAiB,QAAID,IAErBD,EAAc,QAAIC,GACnB,CATD,CASGK,KAAM,WACT,O,qFCPIC,E,MAA0B,GAA4B,KAC1DA,EAAwBC,KAAK,CAACL,EAAOM,GAAI,mGAEzCF,EAAwBC,KAAK,CAACL,EAAOM,GAAI,wtIAAytI,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,sCAAsC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AAE/G,EAAS8G,IAC5EE,OAAOC,eAAejH,EAAS8G,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAG3E,ECPAV,EAAoBW,EAAI,SAAS/D,EAAKoE,GAAQ,OAAOJ,OAAOK,UAAUC,eAAeC,KAAKvE,EAAKoE,EAAO,ECAtGhB,EAAoBoB,QAAKhG,E,gICWrBkB,EAAU,CAAC,E,OAEfA,EAAQgD,kBAAoB,IAC5BhD,EAAQ0C,cAAgB,IACxB1C,EAAQ0B,OAAS,SAAc,KAAM,QACrC1B,EAAQe,OAAS,IACjBf,EAAQ+C,mBAAqB,IAEhB,IAAI,IAAS/C,GAKJ,KAAW,IAAQ+E,QAAS,IAAQA,O","sources":["webpack://MoveoAI/webpack/universalModuleDefinition","webpack://MoveoAI/./src/styles/preview.scss","webpack://MoveoAI/./node_modules/css-loader/dist/runtime/api.js","webpack://MoveoAI/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://MoveoAI/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://MoveoAI/webpack/bootstrap","webpack://MoveoAI/webpack/runtime/compat get default export","webpack://MoveoAI/webpack/runtime/define property getters","webpack://MoveoAI/webpack/runtime/hasOwnProperty shorthand","webpack://MoveoAI/webpack/runtime/nonce","webpack://MoveoAI/./src/styles/preview.scss?4a77"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"MoveoAI\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"MoveoAI\"] = factory();\n\telse\n\t\troot[\"MoveoAI\"] = factory();\n})(this, function() {\nreturn ","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.push([module.id, \"@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap);\"]);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@keyframes fadein{0%{opacity:0}100%{opacity:1}}body{position:relative;--moveo-preview-default-padding: 10%;--moveo-font-primary: 'Inter', monospace;min-height:100vh;background:linear-gradient(270.03deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%);background-repeat:no-repeat;background-position:top right;background-size:contain;margin:0}body::before{position:absolute;width:100%;height:100%;content:\\\"\\\";z-index:-1;background-size:contain;background-position:top right;background-repeat:no-repeat;opacity:.5}body .moveo_preview{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2;display:flex;flex-flow:row wrap;justify-content:space-between;padding:var(--moveo-preview-default-padding) var(--moveo-preview-default-padding) 0}body .moveo_preview #embed-chat-container{display:none;width:512px;height:562px;border:2px solid var(--moveo-background-color);background-color:var(--moveo-ui-background-01);box-sizing:border-box;box-shadow:2px 3px 6px rgba(104,104,104,.1);border-radius:.5rem;flex:0 1 auto;min-width:300px;margin-bottom:4rem}body .moveo_preview #embed-chat-container #embed-text{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-lg);font-weight:400;letter-spacing:0;line-height:1.5rem;line-height:1.5rem;text-align:center;margin:var(--moveo-preview-default-padding) 1.75rem 0}body .moveo_preview #embed-chat-container #embed-chat{width:100%;height:100%;display:none}body .moveo_preview .preview_actions{width:510px;margin-bottom:2.25rem}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;margin-top:0;margin-bottom:1.5rem}body .moveo_preview .preview_actions .header_text span{color:#c4c4c4}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;margin-bottom:2.25rem}body .moveo_preview .button_container{display:flex;flex-direction:row;justify-content:flex-start}body .moveo_preview .button_container .action_button{font-family:var(--moveo-font-primary);font-size:var(--moveo-font-xs);font-weight:400;letter-spacing:0;line-height:1rem;font-size:var(--moveo-font-md);font-weight:600;margin-right:1rem;color:var(--moveo-ui-background-01);background-color:#c4c4c4;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;border:0;transition:.2s all linear;display:none;white-space:nowrap}body .moveo_preview .button_container .action_button.enabled{display:block}body .moveo_preview .button_container .action_button.disabled{background-color:#c4c4c4;cursor:not-allowed}@media(width <= 700px){body{background:linear-gradient(0deg, #c4c4c4 3.88%, rgba(196, 196, 196, 0) 90.28%)}body::before{background-size:cover}body .moveo_preview{flex-direction:column;align-items:center;padding:75px 0 0}body .moveo_preview #embed-chat-container{margin-left:10%;margin-right:10%;width:80%}body .moveo_preview .preview_actions{display:flex;flex-direction:column;align-items:center;width:auto;min-width:0}body .moveo_preview .preview_actions .header_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-weight:bold;font-size:42px;line-height:51px;font-size:28px;line-height:34px;text-align:center}body .moveo_preview .preview_actions .body_text{font-family:var(--moveo-font-primary);font-style:normal;font-weight:normal;font-size:24px;line-height:30px;font-size:16px;line-height:20px;width:280px;text-align:center}body .moveo_preview .preview_actions #close-chat-button{display:none}}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/styles/mixings.scss\",\"webpack://./src/styles/preview.scss\",\"webpack://./src/styles/theme.scss\",\"webpack://./src/styles/spacing.scss\",\"webpack://./src/styles/fonts.scss\"],\"names\":[],\"mappings\":\"AAUA,kBACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCVJ,KACE,iBAAA,CASA,oCAAA,CACA,wCAAA,CAEA,gBAAA,CACA,mFAAA,CAKA,2BAAA,CACA,6BAAA,CACA,uBAAA,CACA,QAAA,CAEA,aACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,UAAA,CACA,UArBmB,CAsBnB,uBAAA,CACA,6BAAA,CACA,2BAAA,CACA,UAAA,CAGF,oBDxCE,gCE2Bc,CF3Bd,sCE2Bc,CF3Bd,yBE2Bc,CF3Bd,6BE2Bc,CF3Bd,oHE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,4BE2Bc,CF3Bd,8BE2Bc,CF3Bd,4BE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,oBE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,qBE2Bc,CF3Bd,4BE2Bc,CF3Bd,4BE2Bc,CF3Bd,6BE2Bc,CF3Bd,uCE2Bc,CF3Bd,8BE2Bc,CF3Bd,wBE2Bc,CDgBd,YAAA,CACA,kBAA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gBAAA,CAMA,cAAA,CACA,gBAAA,CH4DQ,iBAAA,CAGF,gDGzFN,qCAAA,CACA,iBAAA,CACA,kBAAA,CACA,cAAA,CACA,gBAAA,CAMA,cAAA,CACA,gBAAA,CHiFQ,WA1CiB,CA2CjB,iBAAA,CAGF,wDACE,YAAA,CAAA\",\"sourcesContent\":[\"@mixin spread-map($map: ()) {\\n @each $key, $value in $map {\\n #{$key}: $value;\\n }\\n}\\n\\n@mixin fade-in($val) {\\n animation: fadein $val;\\n}\\n\\n@keyframes fadein {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 1;\\n }\\n}\\n\",\"@use './fonts' as *;\\n@use './spacing' as *;\\n@use './theme' as *;\\n@use './mixings' as *;\\n@import 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap';\\n\\nbody {\\n position: relative;\\n\\n $embed-width: 512px;\\n $embed-height: 562px;\\n $embed-max-width: 300px;\\n $preview-background-color: #c4c4c4;\\n $actions-width: 510px;\\n $background-z-index: -1;\\n\\n --moveo-preview-default-padding: 10%;\\n --moveo-font-primary: 'Inter', monospace;\\n\\n min-height: 100vh;\\n background: linear-gradient(\\n 270.03deg,\\n $preview-background-color 3.88%,\\n rgb(196 196 196 / 0%) 90.28%\\n );\\n background-repeat: no-repeat;\\n background-position: top right;\\n background-size: contain;\\n margin: 0;\\n\\n &::before {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n content: '';\\n z-index: $background-z-index;\\n background-size: contain;\\n background-position: top right;\\n background-repeat: no-repeat;\\n opacity: 0.5;\\n }\\n\\n .moveo_preview {\\n @include spread-map($theme-map-light);\\n\\n display: flex;\\n flex-flow: row wrap;\\n justify-content: space-between;\\n padding: var(--moveo-preview-default-padding)\\n var(--moveo-preview-default-padding) 0;\\n\\n #embed-chat-container {\\n display: none;\\n width: $embed-width;\\n height: $embed-height;\\n border: 2px solid var($text-primary);\\n background-color: var($ui-background-01);\\n box-sizing: border-box;\\n box-shadow: 2px 3px 6px rgba(104 104 104 / 10%);\\n border-radius: $space-8;\\n flex: 0 1 auto;\\n min-width: $embed-max-width;\\n margin-bottom: $space-64;\\n\\n #embed-text {\\n @include heading-regular;\\n\\n line-height: $space-24;\\n text-align: center;\\n margin: var(--moveo-preview-default-padding) $space-26 0;\\n }\\n\\n #embed-chat {\\n width: 100%;\\n height: 100%;\\n display: none;\\n }\\n }\\n\\n .preview_actions {\\n width: $actions-width;\\n margin-bottom: $space-36;\\n\\n .header_text {\\n @include header-preview;\\n\\n margin-top: 0;\\n margin-bottom: $space-24;\\n\\n span {\\n color: $preview-background-color;\\n }\\n }\\n\\n .body_text {\\n @include body-preview;\\n\\n margin-bottom: $space-36;\\n }\\n }\\n\\n .button_container {\\n display: flex;\\n flex-direction: row;\\n justify-content: flex-start;\\n\\n .action_button {\\n @include body-medium;\\n\\n margin-right: $space-16;\\n color: var($ui-background-01);\\n background-color: $preview-background-color;\\n padding: $space-8 $space-16;\\n border-radius: $space-4;\\n cursor: pointer;\\n border: 0;\\n transition: 0.2s all linear;\\n display: none;\\n white-space: nowrap;\\n\\n &.enabled {\\n display: block;\\n }\\n\\n &.disabled {\\n background-color: $preview-background-color;\\n cursor: not-allowed;\\n }\\n }\\n }\\n }\\n}\\n\\n@media (width <= 700px) {\\n body {\\n $preview-background-color: #c4c4c4;\\n $actions-mobile-width: 280px;\\n $embed-mobile-margin: 10%;\\n $embed-mobile-width: 80%;\\n $mobile-top-padding: 75px;\\n\\n background: linear-gradient(\\n 0deg,\\n $preview-background-color 3.88%,\\n rgb(196 196 196 / 0%) 90.28%\\n );\\n\\n &::before {\\n background-size: cover;\\n }\\n\\n .moveo_preview {\\n flex-direction: column;\\n align-items: center;\\n padding: $mobile-top-padding 0 0;\\n\\n #embed-chat-container {\\n margin-left: $embed-mobile-margin;\\n margin-right: $embed-mobile-margin;\\n width: $embed-mobile-width;\\n }\\n\\n .preview_actions {\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n width: auto;\\n min-width: 0;\\n\\n .header_text {\\n @include header-preview-mobile;\\n\\n text-align: center;\\n }\\n\\n .body_text {\\n @include body-preview-mobile;\\n\\n width: $actions-mobile-width;\\n text-align: center;\\n }\\n\\n #close-chat-button {\\n display: none;\\n }\\n }\\n }\\n }\\n}\\n\",\"$text-01: --moveo-text-01;\\n$text-02: --moveo-text-02;\\n$text-03: --moveo-text-03;\\n$text-04: --moveo-text-04;\\n$text-05: --moveo-text-05;\\n$text-success: --moveo-text-success;\\n$text-failure: --moveo-text-failure;\\n$text-primary: --moveo-background-color;\\n$text-primary-hover: --moveo-background-color-hover;\\n$text-secondary: --moveo-accent-color;\\n$ui-background-01: --moveo-ui-background-01;\\n$ui-background-02: --moveo-ui-background-02;\\n$ui-background-03: --moveo-ui-background-03;\\n$ui-background-04: --moveo-ui-background-04;\\n$ui-background-05: --moveo-ui-background-05;\\n\\n// This variable name should never change\\n$ui-chat-background: --moveo-chat-background;\\n$ui-header-background: --moveo-header-background;\\n$ui-03: --moveo-ui-03;\\n$z-index: --moveo-z-index;\\n$review-number: --moveo-review-number;\\n$review-input-background: --moveo-review-input-background;\\n$interactive-02: --moveo-interactive-02;\\n$hover-02: --moveo-hover-02;\\n$icon-attention: --moveo-icon-attention;\\n$icon-warning: --moveo-icon-warning;\\n\\n// Default theme\\n$theme-map-light: (\\n $text-primary: #1b66d6,\\n $text-primary-hover: #1c46b7,\\n $text-secondary: #fff,\\n $ui-background-01: #fff,\\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\\n $ui-background-03: #e8e8e8,\\n $ui-background-04: #fdf7f2,\\n $ui-background-05: #fff6f5,\\n $ui-chat-background: #fff,\\n $icon-attention: #d86a05,\\n $icon-warning: #d82c0d,\\n $text-01: #000,\\n $text-02: #8893a8,\\n $text-03: #fff,\\n $text-04: #555,\\n $text-05: #989898,\\n $ui-03: #d6e3f8,\\n $text-success: #21d184,\\n $text-failure: #da0000,\\n $review-number: #f9f9f9,\\n $review-input-background: #fafafa,\\n $interactive-02: #e1e1e1,\\n $hover-02: #c2c2c2,\\n);\\n$theme-map-dark: (\\n $text-primary: #05043a,\\n $text-primary-hover: #1b66d610,\\n $text-secondary: #000,\\n $ui-background-01: #202629,\\n $ui-background-02: #000,\\n $ui-background-03: #e8e8e8,\\n $ui-background-04: #1d1d1d,\\n $ui-background-05: #212121,\\n $ui-chat-background: #000,\\n $icon-attention: #282828,\\n $icon-warning: #1a1a1a,\\n $text-01: #fff,\\n $text-02: #8893a8,\\n $text-03: #000,\\n $text-04: #fff,\\n $text-05: #989898,\\n $ui-03: #202629,\\n $text-success: #21d184,\\n $text-failure: #da0000,\\n $review-number: #1e2224,\\n $review-input-background: #1e2224,\\n $interactive-02: #4f5563,\\n $hover-02: #7f889c,\\n);\\n\",\"$space-128: 8rem;\\n$space-80: 5rem;\\n$space-72: 4.5rem;\\n$space-64: 4rem;\\n$space-60: 3.75rem;\\n$space-52: 3.25rem;\\n$space-48: 3rem;\\n$space-44: 2.75rem;\\n$space-40: 2.5rem;\\n$space-36: 2.25rem;\\n$space-32: 2rem;\\n$space-26: 1.75rem;\\n$space-24: 1.5rem;\\n$space-22: 1.375rem;\\n$space-20: 1.25rem;\\n$space-18: 1.125rem;\\n$space-16: 1rem;\\n$space-14: 0.875rem;\\n$space-12: 0.75rem;\\n$space-10: 0.625rem;\\n$space-8: 0.5rem;\\n$space-6: 0.4rem;\\n$space-4: 0.25rem;\\n$space-2: 0.125rem;\\n\",\"/* stylelint-disable scale-unlimited/declaration-strict-value */\\n/* stylelint-disable property-disallowed-list */\\n\\n@use './spacing' as *;\\n\\n@mixin label-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-xs);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-16;\\n}\\n\\n@mixin label-caps {\\n @include label-regular;\\n\\n font-weight: 600;\\n text-transform: uppercase;\\n}\\n\\n@mixin code-big {\\n @include label-regular;\\n\\n font-size: var(--moveo-font-sm);\\n}\\n\\n@mixin body-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-md);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: calc(var(--moveo-font-md) + 2px);\\n}\\n\\n@mixin body-regular-phone {\\n @include body-regular;\\n\\n font-size: var(--moveo-font-lg);\\n line-height: $space-22;\\n}\\n\\n@mixin body-medium {\\n @include label-regular;\\n\\n font-size: var(--moveo-font-md);\\n font-weight: 600;\\n}\\n\\n@mixin heading-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-lg);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-24;\\n}\\n\\n@mixin heading-medium {\\n @include heading-regular;\\n\\n font-weight: 600;\\n}\\n\\n@mixin body-2-regular {\\n font-family: var(--moveo-font-primary);\\n font-size: var(--moveo-font-sm);\\n font-weight: 400;\\n letter-spacing: 0;\\n line-height: $space-16;\\n}\\n\\n@mixin body-2-medium {\\n @include body-2-regular;\\n\\n font-weight: 600;\\n}\\n\\n@mixin button-modal {\\n font-weight: 600;\\n padding: $space-6 $space-16;\\n font-size: var(--moveo-font-sm);\\n line-height: $space-24;\\n}\\n\\n/* Style for the preview page */\\n\\n@mixin body-preview {\\n font-family: var(--moveo-font-primary);\\n font-style: normal;\\n font-weight: normal;\\n font-size: 24px;\\n line-height: 30px;\\n}\\n\\n@mixin body-preview-mobile {\\n @include body-preview;\\n\\n font-size: 16px;\\n line-height: 20px;\\n}\\n\\n@mixin header-preview {\\n @include body-preview;\\n\\n font-weight: bold;\\n font-size: 42px;\\n line-height: 51px;\\n}\\n\\n@mixin header-preview-mobile {\\n @include header-preview;\\n\\n font-size: 28px;\\n line-height: 34px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nc = undefined;","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-modules-typescript-loader/index.js!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js!./preview.scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-modules-typescript-loader/index.js!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/sass-loader/dist/cjs.js!./preview.scss\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["root","factory","exports","module","define","amd","this","___CSS_LOADER_EXPORT___","push","id","cssWithMappingToString","list","toString","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","options","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","prop","prototype","hasOwnProperty","call","nc","locals"],"sourceRoot":""}
|
package/dist/web-client.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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,function(){return function(){var e={1364:function(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,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);o&&s[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},1931:function(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(4582)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2155:function(e){"use strict";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 r=n.sourceMap;r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4582:function(e,t,n){e.exports=function(e){function t(e){let n,i,r,s=null;function a(...e){if(!a.enabled)return;const o=a,i=Number(new Date),r=i-(n||i);o.diff=r,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";s++;const r=t.formatters[i];if("function"==typeof r){const t=e[s];n=r.call(o,t),e.splice(s,1),s--}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!==s?s:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{s=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,r=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,r=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,r++,n=r}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(6151),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}},5516:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),r="/*# ".concat(i," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},6151:function(e){var t=1e3,n=60*t,o=60*n,i=24*o,r=7*i;function s(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,d,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\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(s){var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*r;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"===l&&isFinite(e))return a.long?(c=e,(d=Math.abs(c))>=i?s(c,d,i,"day"):d>=o?s(c,d,o,"hour"):d>=n?s(c,d,n,"minute"):d>=t?s(c,d,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=o?Math.round(e/o)+"h":r>=n?Math.round(e/n)+"m":r>=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))}},6186:function(e){"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var r={},s=[],a=0;a<e.length;a++){var c=e[a],d=o.base?c[0]+o.base:c[0],l=r[d]||0,u="".concat(d," ").concat(l);r[d]=l+1;var f=n(u),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=i(h,o);o.byIndex=a,t.splice(a,0,{identifier:u,updater:p,references:1})}s.push(u)}return s}function i(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,i){var r=o(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<r.length;s++){var a=n(r[s]);t[a].references--}for(var c=o(e,i),d=0;d<r.length;d++){var l=n(r[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}r=c}}},6384:function(e,t,n){"use strict";var o=n(5516),i=n.n(o),r=n(1364),s=n.n(r)()(i());s.push([e.id,".web-client-container{position:fixed;bottom:0;right:0;cursor:pointer;z-index:10022;max-height:99%}.web-client-container.embed{position:static;width:100% !important;height:100% !important;max-height:100%}.web-client-container.full{width:100% !important;height:100% !important;inset:0 !important;max-height:initial}","",{version:3,sources:["webpack://./src/styles/web-client.scss"],names:[],mappings:"AAIA,sBAIE,cAAA,CACA,QAAA,CACA,OAAA,CACA,cAAA,CACA,aAPiB,CAQjB,cAPoB,CASpB,4BACE,eAAA,CACA,qBAAA,CACA,sBAAA,CACA,eAAA,CAIF,2BACE,qBAAA,CACA,sBAAA,CACA,kBAAA,CACA,kBAAA",sourcesContent:["// This style is applied to the iframe that customers load.\n// Ideally we use style variables rather than this so that\n// we can use the widget-id.\n\n.web-client-container {\n $widget-z-index: 10022;\n $widget-max-height: 99%;\n\n position: fixed;\n bottom: 0;\n right: 0;\n cursor: pointer;\n z-index: $widget-z-index;\n max-height: $widget-max-height;\n\n &.embed {\n position: static;\n width: 100% !important;\n height: 100% !important;\n max-height: 100%;\n }\n\n // ! Important because this happens on the clients website\n &.full {\n width: 100% !important;\n height: 100% !important;\n inset: 0 !important;\n max-height: initial;\n }\n}\n"],sourceRoot:""}]),t.A=s},7433:function(e){"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[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(n)}},8626:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},8990:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9827:function(e){"use strict";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))}}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return function(){"use strict";n.r(o),n.d(o,{init:function(){return ce}});var e=n(1931),t=n.n(e);const i=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},r=(...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=>{["__proto__","constructor","prototype"].includes(n)||(Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=r.options.mergeArrays?r.options.uniqueArrayItems?Array.from(new Set(e[n].concat(t[n]))):[...e[n],...t[n]]:t[n]:i(e[n])&&i(t[n])?e[n]=r(e[n],t[n]):!i(e[n])&&i(t[n])?e[n]=r(t[n],void 0):e[n]=void 0===t[n]?r.options.allowUndefinedOverrides?t[n]:e[n]:t[n])}),e},{}),s={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};r.options=s,r.withOptions=(e,...t)=>{r.options=Object.assign(Object.assign({},s),e);const n=r(...t);return r.options=s,n};const a="https://channels-ws.moveo.ai",c="https://web-client.dev.moveo.ai",d="https://web.moveo.ai",l="https://web.dev.moveo.ai",u=()=>window.innerWidth<650||window.innerHeight<550&&window.innerWidth<1e3,f=(e,t)=>{var n,o;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.type;return"string"==typeof i&&i.startsWith(e)?{type:i.replace(e,""),data:null===(o=t.data)||void 0===o?void 0:o.data}:null};var h,p=/bot|crawl|http|lighthouse|scan|search|spider/i;var m,v,g,y,w,b=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},C="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,A="object"==typeof self&&self&&self.Object===Object&&self,E=C||A||Function("return this")(),F=function(){return E.Date.now()},x=/\s/,I=/^\s+/,k=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&x.test(e.charAt(t)););return t}(e)+1).replace(I,""):e},j=E.Symbol,S=Object.prototype,O=S.hasOwnProperty,T=S.toString,M=j?j.toStringTag:void 0,z=Object.prototype.toString,U=j?j.toStringTag:void 0,L=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":U&&U in Object(e)?function(e){var t=O.call(e,M),n=e[M];try{e[M]=void 0;var o=!0}catch(e){}var i=T.call(e);return o&&(t?e[M]=n:delete e[M]),i}(e):function(e){return z.call(e)}(e)},$=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,P=/^0o[0-7]+$/i,_=parseInt,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]"==L(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=k(e);var n=W.test(e);return n||P.test(e)?_(e.slice(2),n?2:8):$.test(e)?NaN:+e},N=Math.max,R=Math.min,q=function(e,t,n){var o,i,r,s,a,c,d=0,l=!1,u=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=o,r=i;return o=i=void 0,d=t,s=e.apply(r,n)}function p(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-d>=r}function m(){var e=F();if(p(e))return v(e);a=setTimeout(m,function(e){var n=t-(e-c);return u?R(n,r-(e-d)):n}(e))}function v(e){return a=void 0,f&&o?h(e):(o=i=void 0,s)}function g(){var e=F(),n=p(e);if(o=arguments,i=this,c=e,n){if(void 0===a)return function(e){return d=e,a=setTimeout(m,t),l?h(e):s}(c);if(u)return clearTimeout(a),a=setTimeout(m,t),h(c)}return void 0===a&&(a=setTimeout(m,t)),s}return t=B(t)||0,b(n)&&(l=!!n.leading,r=(u="maxWait"in n)?N(B(n.maxWait)||0,t):r,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==a&&clearTimeout(a),d=0,o=c=i=a=void 0},g.flush=function(){return void 0===a?s:v(F())},g};!function(e){e.Open="open",e.Resolved="closed",e.Expired="expired",e.Spam="spam",e.Trash="trash"}(m||(m={})),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.ConversationClosed="moveo-widget-conversation-closed",e.LinkClicked="moveo-widget-link-clicked",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"}(v||(v={})),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.WindowResize="moveo-resize",e.SessionActivity="session-activity",e.UserWayDisabled="userway-disabled",e.UserWayEnabled="userway-enabled",e.LinkClicked="link-clicked"}(g||(g={})),function(e){e.Expired="expired",e.Survey="survey",e.SurveyFull="survey-full",e.Closing="closing",e.Resolved="closed",e.Inactivity="inactivity",e.Email="email"}(y||(y={})),function(e){e.MinimizeButton="minimize-btn",e.CloseButton="close-btn",e.EndSessionButton="end-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"}(w||(w={}));const D=["s2","s3","s4","s6","s7","s10","s12","s13","s14","s15","s16","s17","s19","s23"];class H{constructor({config:e,version:n="v1"}){this.detectUserway=()=>{D.forEach(e=>{document.addEventListener(`userway:feature_enabled_${e}`,()=>{var t;const n=null!==(t=localStorage.getItem(`userway-${e}`))&&void 0!==t?t:"";this.sendEventToIframe({type:g.UserWayEnabled,data:{eventType:e,value:n}})}),document.addEventListener(`userway:feature_disabled_${e}`,()=>{this.sendEventToIframe({type:g.UserWayDisabled,data:{eventType:e}})})})},this.initUserway=()=>{const e=Object.assign({},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:g.UserWayDisabled,data:{eventType:e}}):this.sendEventToIframe({type:g.UserWayEnabled,data:{eventType:e,value:n}})}})},this.detectMobile=()=>{this.sendEventToIframe({type:g.WindowResize,data:{is_mobile:u(),width:window.innerWidth,height:window.innerHeight}}),this.isMobile=u()},this.trackActivity=()=>{const e=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return b(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),q(e,t,{leading:o,maxWait:t,trailing:i})}(()=>{this.sendEventToIframe({type:g.SessionActivity,data:"active"})},3e3);window.onload=e,window.onmousemove=e,window.onmousedown=e,window.ontouchstart=e,window.ontouchmove=e,window.onclick=e,window.onkeydown=e,window.addEventListener("scroll",e,!0)},this.config=e,this.id=e.widgetId,this.initialized=!1,this.log=t()(`moveo:web-client:${this.id}`),this.version=n,this.iframe=this.createIframe(),this.isMobile=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",e.style.border="0",e.classList.add("web-client-container"),"embed"===this.config.widget_position&&e.classList.add("embed"),"v2"!==this.version?e.setAttribute("src",((e,t="v1")=>{let n="";const o=document.querySelectorAll("script"),i=/@moveo-ai\/web-client.*next/;o&&o.forEach(e=>{var t;(null===(t=e.src)||void 0===t?void 0:t.match(i))&&(n=c)});const{origin:r}=window.location;return n||(n=r.match(/localhost:8880/)||r.match(/web-client.*moveo-ai\.vercel\.app/)?r:r.match(/web-client\.dev/)?c:"https://web-client.moveo.ai"),`${n}?widgetId=${e}&version=${t}`})(this.id,this.version)):e.setAttribute("src",(e=>{let t="";const n=document.querySelectorAll("script");n&&n.forEach(e=>{var n,o,i;(null===(n=e.src)||void 0===n?void 0:n.includes(l))&&(t=l),(null===(o=e.src)||void 0===o?void 0:o.includes(d))&&(t=d),(null===(i=e.src)||void 0===i?void 0:i.match(/@moveo-ai\/web-client.*next/))&&(t=c)});const{origin:o}=window.location;return t||(t=o.match(/localhost:8880/)||o.match(/web-client.*moveo-ai\.vercel\.app/)||o.match(/web.*moveo\.ai/)?o:d),`${t}?widgetId=${e}&version=v2`})(this.id)),e}handleEvents(e,t){return n=>{const o=f(this.id,n);if(o)switch(o.type){case v.IframeLoaded:this.sendEventToIframe({type:g.SetConfig,data:this.config});break;case v.IframeError:return t(o.data);case v.UserWayInit:this.initUserway(),this.detectUserway();break;case v.WidgetLoaded:setTimeout(()=>{this.detectMobile(),e(this)},0);break;case v.WidgetError:this.notify(o);break;case v.Opened:(o.data.isFull||o.data.is_mobile)&&this.iframe.classList.add("full");break;case v.Closed:o.data.isFull&&this.iframe.classList.remove("full");break;case v.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");break;default:this.log(`Unhandle event: ${o.type}`)}}}init(){return new Promise((e,t)=>{var n,o,i;if(i=navigator.userAgent,Boolean(i)&&function(){if(h instanceof RegExp)return h;try{h=new RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|(?<!cam)scan|24x7|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\bperl\\b|\\btime/|\\||^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\W|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^azure|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^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+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|agent\\b|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|fetcher|firephp|functionize|grab|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node\\b|nutch|offbyone|onetrust|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){h=p}return h}().test(i))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`);if(window.addEventListener("message",this.handleEvents(e,t)),window.addEventListener("resize",q(this.detectMobile,100)),this.trackActivity(),"embed"===this.config.widget_position){let e=(null===(n=this.config)||void 0===n?void 0:n.element)||null;if("string"==typeof e&&(e=document.getElementById(e),!e))throw new Error(`Element with id: ${e} not found`);null==e||e.appendChild(this.iframe)}else null===(o=window.document.querySelector("body"))||void 0===o||o.appendChild(this.iframe);this.initialized=!0,this.detectMobile()})}sendEventToIframe(e){var t;this.iframe&&this.iframe.contentWindow?(this.log(`Event to iframe: ${e.type}`,e),e.type===g.SetConfig&&(null===(t=e.data)||void 0===t?void 0:t.element)&&delete e.data.element,this.iframe.contentWindow.postMessage(Object.assign(Object.assign({},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=f(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;"data"in o?t(o.data):t()}})}openWindow(){this.sendEventToIframe({type:g.Open})}async destroy(){this.closeConversation({hide:!0}),await new Promise(e=>setTimeout(e,4e3));const e=document.getElementById(this.id);e&&(e.remove(),this.initialized=!1)}closeConversation({hide:e}){this.sendEventToIframe({type:g.CloseConversation,data:{hide:e}})}closeWindow(){this.sendEventToIframe({type:g.Close})}sendMessage(e){this.sendEventToIframe({type:g.SendMessage,data:e})}showTeaserMessage(e){this.sendEventToIframe({type:g.ShowTeaserMessage,data:e?{text:e}:void 0})}updateContext(e){this.sendEventToIframe({type:g.UpdateContext,data:e})}setCSSVariables(e){this.sendEventToIframe({type:g.SetCssVariables,data:e})}setLocale(e){this.sendEventToIframe({type:g.SetLocale,data:e})}onSessionCreated(e){this.notifyParent(v.SessionCreated,e)}onSessionClosed(e){this.notifyParent(v.SessionClosed,e)}onConversationClosed(e){this.notifyParent(v.ConversationClosed,e)}onSessionReconnected(e){this.notifyParent(v.SessionReconnected,e)}onNoUnreadMessages(e){this.notifyParent(v.ConversationNoUnreadMessages,e)}onUnreadMessages(e){this.notifyParent(v.ConversationUnreadMessages,e)}onLinkClicked(e){this.notifyParent(v.LinkClicked,e)}onUserActivity(e){this.notifyParent(v.UserActivity,e)}onAnalyticsEvent(e){this.notifyParent(v.AnalyticsEvent,e)}onWebchatOpened(e){this.notifyParent(v.Opened,e)}onWebchatClosed(e){this.notifyParent(v.Closed,e)}onMemberLeave(e){this.notifyParent(v.MemberLeave,e)}}var J=n(6186),V=n.n(J),G=n(2155),Q=n.n(G),Z=n(7433),Y=n.n(Z),K=n(8626),X=n.n(K),ee=n(8990),te=n.n(ee),ne=n(9827),oe=n.n(ne),ie=n(6384),re={};re.styleTagTransform=oe(),re.setAttributes=X(),re.insert=Y().bind(null,"head"),re.domAPI=Q(),re.insertStyleElement=te(),V()(ie.A,re),ie.A&&ie.A.locals&&ie.A.locals;let se=t()("moveo:web-client");const ae=async e=>{const t=`moveo-${((e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t})(5)}`,n=window.location.href;if(se=se.extend(`:${t}`),!(null==e?void 0: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||a,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);return se("Loaded integration configuration:",o),Object.assign(Object.assign({},r(Object.assign({},o),e)),{clientUrl:n,widgetId:t})},ce=async e=>{var t;await new Promise(e=>{if("complete"===document.readyState)return e();window.addEventListener("load",()=>e())});const n=await ae(e);if(se("Configuration:",n),"embed"===n.widget_position&&!n.element)throw new Error("element is not defined but required by embed widget");const o=!0===(null===(t=n.feature_flags)||void 0===t?void 0:t.webchat_v2)?"v2":e.version||"v1",i=new H({config:n,version:o});se("Initializing");const r=await i.init();return se("Initialized"),r}}(),o}()});
|
|
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,function(){return function(){var e={6384:function(e,t,n){"use strict";var o=n(5516),i=n.n(o),r=n(1364),s=n.n(r)()(i());s.push([e.id,".web-client-container{position:fixed;bottom:0;right:0;cursor:pointer;z-index:10022;max-height:99%}.web-client-container.embed{position:static;width:100% !important;height:100% !important;max-height:100%}.web-client-container.full{width:100% !important;height:100% !important;inset:0 !important;max-height:initial}","",{version:3,sources:["webpack://./src/styles/web-client.scss"],names:[],mappings:"AAIA,sBAIE,cAAA,CACA,QAAA,CACA,OAAA,CACA,cAAA,CACA,aAPiB,CAQjB,cAPoB,CASpB,4BACE,eAAA,CACA,qBAAA,CACA,sBAAA,CACA,eAAA,CAIF,2BACE,qBAAA,CACA,sBAAA,CACA,kBAAA,CACA,kBAAA",sourcesContent:["// This style is applied to the iframe that customers load.\n// Ideally we use style variables rather than this so that\n// we can use the widget-id.\n\n.web-client-container {\n $widget-z-index: 10022;\n $widget-max-height: 99%;\n\n position: fixed;\n bottom: 0;\n right: 0;\n cursor: pointer;\n z-index: $widget-z-index;\n max-height: $widget-max-height;\n\n &.embed {\n position: static;\n width: 100% !important;\n height: 100% !important;\n max-height: 100%;\n }\n\n // ! Important because this happens on the clients website\n &.full {\n width: 100% !important;\n height: 100% !important;\n inset: 0 !important;\n max-height: initial;\n }\n}\n"],sourceRoot:""}]),t.A=s},1364:function(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,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);o&&s[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},5516:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),r="/*# ".concat(i," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},1931:function(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(4582)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},4582:function(e,t,n){e.exports=function(e){function t(e){let n,i,r,s=null;function a(...e){if(!a.enabled)return;const o=a,i=Number(new Date),r=i-(n||i);o.diff=r,o.prev=n,o.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";s++;const r=t.formatters[i];if("function"==typeof r){const t=e[s];n=r.call(o,t),e.splice(s,1),s--}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!==s?s:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{s=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,r=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,r=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,r++,n=r}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(6151),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}},6151:function(e){var t=1e3,n=60*t,o=60*n,i=24*o,r=7*i;function s(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,d,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\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(s){var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return a*r;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"===l&&isFinite(e))return a.long?(c=e,(d=Math.abs(c))>=i?s(c,d,i,"day"):d>=o?s(c,d,o,"hour"):d>=n?s(c,d,n,"minute"):d>=t?s(c,d,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=o?Math.round(e/o)+"h":r>=n?Math.round(e/n)+"m":r>=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))}},6186:function(e){"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var r={},s=[],a=0;a<e.length;a++){var c=e[a],d=o.base?c[0]+o.base:c[0],l=r[d]||0,u="".concat(d," ").concat(l);r[d]=l+1;var f=n(u),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=i(h,o);o.byIndex=a,t.splice(a,0,{identifier:u,updater:p,references:1})}s.push(u)}return s}function i(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,i){var r=o(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<r.length;s++){var a=n(r[s]);t[a].references--}for(var c=o(e,i),d=0;d<r.length;d++){var l=n(r[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}r=c}}},7433:function(e){"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[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(n)}},8990:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},8626:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},2155:function(e){"use strict";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 r=n.sourceMap;r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9827:function(e){"use strict";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))}}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return function(){"use strict";n.r(o),n.d(o,{init:function(){return ce}});var e=n(1931),t=n.n(e);const i=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},r=(...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=>{["__proto__","constructor","prototype"].includes(n)||(Array.isArray(e[n])&&Array.isArray(t[n])?e[n]=r.options.mergeArrays?r.options.uniqueArrayItems?Array.from(new Set(e[n].concat(t[n]))):[...e[n],...t[n]]:t[n]:i(e[n])&&i(t[n])?e[n]=r(e[n],t[n]):!i(e[n])&&i(t[n])?e[n]=r(t[n],void 0):e[n]=void 0===t[n]?r.options.allowUndefinedOverrides?t[n]:e[n]:t[n])}),e},{}),s={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};r.options=s,r.withOptions=(e,...t)=>{r.options=Object.assign(Object.assign({},s),e);const n=r(...t);return r.options=s,n};const a="https://channels-ws.moveo.ai",c="https://web-client.dev.moveo.ai",d="https://web.moveo.ai",l="https://web.dev.moveo.ai",u=()=>window.innerWidth<650||window.innerHeight<550&&window.innerWidth<1e3,f=(e,t)=>{var n,o;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.type;return"string"==typeof i&&i.startsWith(e)?{type:i.replace(e,""),data:null===(o=t.data)||void 0===o?void 0:o.data}:null};var h,p=/bot|crawl|http|lighthouse|scan|search|spider/i;var m,v,g,y,w,b=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},C="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,A="object"==typeof self&&self&&self.Object===Object&&self,E=C||A||Function("return this")(),F=function(){return E.Date.now()},x=/\s/,I=/^\s+/,k=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&x.test(e.charAt(t)););return t}(e)+1).replace(I,""):e},j=E.Symbol,S=Object.prototype,O=S.hasOwnProperty,T=S.toString,M=j?j.toStringTag:void 0,z=Object.prototype.toString,U=j?j.toStringTag:void 0,L=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":U&&U in Object(e)?function(e){var t=O.call(e,M),n=e[M];try{e[M]=void 0;var o=!0}catch(e){}var i=T.call(e);return o&&(t?e[M]=n:delete e[M]),i}(e):function(e){return z.call(e)}(e)},$=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,P=/^0o[0-7]+$/i,_=parseInt,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]"==L(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=k(e);var n=W.test(e);return n||P.test(e)?_(e.slice(2),n?2:8):$.test(e)?NaN:+e},N=Math.max,R=Math.min,q=function(e,t,n){var o,i,r,s,a,c,d=0,l=!1,u=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=o,r=i;return o=i=void 0,d=t,s=e.apply(r,n)}function p(e){var n=e-c;return void 0===c||n>=t||n<0||u&&e-d>=r}function m(){var e=F();if(p(e))return v(e);a=setTimeout(m,function(e){var n=t-(e-c);return u?R(n,r-(e-d)):n}(e))}function v(e){return a=void 0,f&&o?h(e):(o=i=void 0,s)}function g(){var e=F(),n=p(e);if(o=arguments,i=this,c=e,n){if(void 0===a)return function(e){return d=e,a=setTimeout(m,t),l?h(e):s}(c);if(u)return clearTimeout(a),a=setTimeout(m,t),h(c)}return void 0===a&&(a=setTimeout(m,t)),s}return t=B(t)||0,b(n)&&(l=!!n.leading,r=(u="maxWait"in n)?N(B(n.maxWait)||0,t):r,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==a&&clearTimeout(a),d=0,o=c=i=a=void 0},g.flush=function(){return void 0===a?s:v(F())},g};!function(e){e.Open="open",e.Resolved="closed",e.Expired="expired",e.Spam="spam",e.Trash="trash"}(m||(m={})),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.ConversationClosed="moveo-widget-conversation-closed",e.LinkClicked="moveo-widget-link-clicked",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"}(v||(v={})),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.WindowResize="moveo-resize",e.SessionActivity="session-activity",e.UserWayDisabled="userway-disabled",e.UserWayEnabled="userway-enabled",e.LinkClicked="link-clicked"}(g||(g={})),function(e){e.Expired="expired",e.Survey="survey",e.SurveyFull="survey-full",e.Closing="closing",e.Resolved="closed",e.Inactivity="inactivity",e.Email="email"}(y||(y={})),function(e){e.MinimizeButton="minimize-btn",e.CloseButton="close-btn",e.EndSessionButton="end-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"}(w||(w={}));const D=["s2","s3","s4","s6","s7","s10","s12","s13","s14","s15","s16","s17","s19","s23"];class H{constructor({config:e,version:n="v1"}){this.detectUserway=()=>{D.forEach(e=>{document.addEventListener(`userway:feature_enabled_${e}`,()=>{var t;const n=null!==(t=localStorage.getItem(`userway-${e}`))&&void 0!==t?t:"";this.sendEventToIframe({type:g.UserWayEnabled,data:{eventType:e,value:n}})}),document.addEventListener(`userway:feature_disabled_${e}`,()=>{this.sendEventToIframe({type:g.UserWayDisabled,data:{eventType:e}})})})},this.initUserway=()=>{const e=Object.assign({},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:g.UserWayDisabled,data:{eventType:e}}):this.sendEventToIframe({type:g.UserWayEnabled,data:{eventType:e,value:n}})}})},this.detectMobile=()=>{this.sendEventToIframe({type:g.WindowResize,data:{is_mobile:u(),width:window.innerWidth,height:window.innerHeight}}),this.isMobile=u()},this.trackActivity=()=>{const e=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return b(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),q(e,t,{leading:o,maxWait:t,trailing:i})}(()=>{this.sendEventToIframe({type:g.SessionActivity,data:"active"})},3e3);window.onload=e,window.onmousemove=e,window.onmousedown=e,window.ontouchstart=e,window.ontouchmove=e,window.onclick=e,window.onkeydown=e,window.addEventListener("scroll",e,!0)},this.config=e,this.id=e.widgetId,this.initialized=!1,this.log=t()(`moveo:web-client:${this.id}`),this.version=n,this.iframe=this.createIframe(),this.isMobile=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",e.style.border="0",e.classList.add("web-client-container"),"embed"===this.config.widget_position&&e.classList.add("embed"),"v2"!==this.version?e.setAttribute("src",((e,t="v1")=>{let n="";const o=document.querySelectorAll("script"),i=/@moveo-ai\/web-client.*next/;o&&o.forEach(e=>{var t;(null===(t=e.src)||void 0===t?void 0:t.match(i))&&(n=c)});const{origin:r}=window.location;return n||(n=r.match(/localhost:8880/)||r.match(/web-client.*moveo-ai\.vercel\.app/)?r:r.match(/web-client\.dev/)?c:"https://web-client.moveo.ai"),`${n}?widgetId=${e}&version=${t}`})(this.id,this.version)):e.setAttribute("src",(e=>{let t="";const n=document.querySelectorAll("script");n&&n.forEach(e=>{var n,o,i;(null===(n=e.src)||void 0===n?void 0:n.includes(l))&&(t=l),(null===(o=e.src)||void 0===o?void 0:o.includes(d))&&(t=d),(null===(i=e.src)||void 0===i?void 0:i.match(/@moveo-ai\/web-client.*next/))&&(t=c)});const{origin:o}=window.location;return t||(t=o.match(/localhost:8880/)||o.match(/web-client.*moveo-ai\.vercel\.app/)||o.match(/web.*moveo\.ai/)?o:d),`${t}?widgetId=${e}&version=v2`})(this.id)),e}handleEvents(e,t){return n=>{const o=f(this.id,n);if(o)switch(o.type){case v.IframeLoaded:this.sendEventToIframe({type:g.SetConfig,data:this.config});break;case v.IframeError:return t(o.data);case v.UserWayInit:this.initUserway(),this.detectUserway();break;case v.WidgetLoaded:setTimeout(()=>{this.detectMobile(),e(this)},0);break;case v.WidgetError:this.notify(o);break;case v.Opened:(o.data.isFull||o.data.is_mobile)&&this.iframe.classList.add("full");break;case v.Closed:o.data.isFull&&this.iframe.classList.remove("full");break;case v.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");break;default:this.log(`Unhandle event: ${o.type}`)}}}init(){return new Promise((e,t)=>{var n,o,i;if(i=navigator.userAgent,Boolean(i)&&function(){if(h instanceof RegExp)return h;try{h=new RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|(?<!cam)scan|24x7|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\bperl\\b|\\btime/|\\||^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\W|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^azure|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^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+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|agent\\b|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|fetcher|firephp|functionize|grab|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node\\b|nutch|offbyone|onetrust|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){h=p}return h}().test(i))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`);if(window.addEventListener("message",this.handleEvents(e,t)),window.addEventListener("resize",q(this.detectMobile,100)),this.trackActivity(),"embed"===this.config.widget_position){let e=(null===(n=this.config)||void 0===n?void 0:n.element)||null;if("string"==typeof e&&(e=document.getElementById(e),!e))throw new Error(`Element with id: ${e} not found`);null==e||e.appendChild(this.iframe)}else null===(o=window.document.querySelector("body"))||void 0===o||o.appendChild(this.iframe);this.initialized=!0,this.detectMobile()})}sendEventToIframe(e){var t;this.iframe&&this.iframe.contentWindow?(this.log(`Event to iframe: ${e.type}`,e),e.type===g.SetConfig&&(null===(t=e.data)||void 0===t?void 0:t.element)&&delete e.data.element,this.iframe.contentWindow.postMessage(Object.assign(Object.assign({},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=f(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;"data"in o?t(o.data):t()}})}openWindow(){this.sendEventToIframe({type:g.Open})}async destroy(){this.closeConversation({hide:!0}),await new Promise(e=>setTimeout(e,4e3));const e=document.getElementById(this.id);e&&(e.remove(),this.initialized=!1)}closeConversation({hide:e}){this.sendEventToIframe({type:g.CloseConversation,data:{hide:e}})}closeWindow(){this.sendEventToIframe({type:g.Close})}sendMessage(e){this.sendEventToIframe({type:g.SendMessage,data:e})}showTeaserMessage(e){this.sendEventToIframe({type:g.ShowTeaserMessage,data:e?{text:e}:void 0})}updateContext(e){this.sendEventToIframe({type:g.UpdateContext,data:e})}setCSSVariables(e){this.sendEventToIframe({type:g.SetCssVariables,data:e})}setLocale(e){this.sendEventToIframe({type:g.SetLocale,data:e})}onSessionCreated(e){this.notifyParent(v.SessionCreated,e)}onSessionClosed(e){this.notifyParent(v.SessionClosed,e)}onConversationClosed(e){this.notifyParent(v.ConversationClosed,e)}onSessionReconnected(e){this.notifyParent(v.SessionReconnected,e)}onNoUnreadMessages(e){this.notifyParent(v.ConversationNoUnreadMessages,e)}onUnreadMessages(e){this.notifyParent(v.ConversationUnreadMessages,e)}onLinkClicked(e){this.notifyParent(v.LinkClicked,e)}onUserActivity(e){this.notifyParent(v.UserActivity,e)}onAnalyticsEvent(e){this.notifyParent(v.AnalyticsEvent,e)}onWebchatOpened(e){this.notifyParent(v.Opened,e)}onWebchatClosed(e){this.notifyParent(v.Closed,e)}onMemberLeave(e){this.notifyParent(v.MemberLeave,e)}}var J=n(6186),V=n.n(J),G=n(2155),Q=n.n(G),Z=n(7433),Y=n.n(Z),K=n(8626),X=n.n(K),ee=n(8990),te=n.n(ee),ne=n(9827),oe=n.n(ne),ie=n(6384),re={};re.styleTagTransform=oe(),re.setAttributes=X(),re.insert=Y().bind(null,"head"),re.domAPI=Q(),re.insertStyleElement=te(),V()(ie.A,re),ie.A&&ie.A.locals&&ie.A.locals;let se=t()("moveo:web-client");const ae=async e=>{const t=`moveo-${((e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t})(5)}`,n=window.location.href;if(se=se.extend(`:${t}`),!(null==e?void 0: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||a,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);return se("Loaded integration configuration:",o),Object.assign(Object.assign({},r(Object.assign({},o),e)),{clientUrl:n,widgetId:t})},ce=async e=>{var t;await new Promise(e=>{if("complete"===document.readyState)return e();window.addEventListener("load",()=>e())});const n=await ae(e);if(se("Configuration:",n),"embed"===n.widget_position&&!n.element)throw new Error("element is not defined but required by embed widget");const o=!0===(null===(t=n.feature_flags)||void 0===t?void 0:t.webchat_v2)?"v2":e.version||"v1",i=new H({config:n,version:o});se("Initializing");const r=await i.init();return se("Initialized"),r}}(),o}()});
|
|
3
3
|
//# sourceMappingURL=web-client.min.js.map
|