!function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=13)}({13:function(t,e,r){(function(){const t=t=>"string"==typeof t||t instanceof String;window.LOU=new class{identify(e,r){let n,i;(e||r)&&(t(e)?(i=r,n=e):(t(r),i=e,n=r));let o=window.sessionStorage.getItem("LOU_SESSION_USER_DATA")||{};try{o=JSON.parse(o)}catch(t){o={}}i&&(o.properties=Object.assign(Object.assign({},o.properties),i)),n&&(o.userId=n),window.sessionStorage.setItem("LOU_SESSION_USER_DATA",JSON.stringify(o))}user(t,e){let r=window.sessionStorage.getItem("LOU_SESSION_USER_DATA")||{};try{r=JSON.parse(r)}catch(t){r={}}t&&(r.properties=Object.assign(Object.assign({},r.properties),t)),e&&(r.userId=e),window.sessionStorage.setItem("LOU_SESSION_USER_DATA",JSON.stringify(r))}track(t,e){}};const e=document.currentScript,r=((t,e)=>{e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null})("id",e.src)||e.getAttribute("company-id"),n=e.getAttribute("folder-id"),i=e.getAttribute("builder");r?fetch(`https://api.louassist.com/v1/assistant/public/${r}/script-data/`).then((function(t){return t.json()})).then((function(t){const o=e.getAttribute("theme-color"),s=e.getAttribute("margin-right"),c=document.createElement("script"),u=document.head||document.documentElement;let l;l=`viewer/script/v${t.scriptVersion}`,c.src=`https://cdn.louassist.com/${l}`,c.id="louViewer",n?c.setAttribute("folder-id",n):c.setAttribute("company-id",r),i&&c.setAttribute("builder","builder"),c.setAttribute("theme-color",o||t.themeColor),c.setAttribute("margin-right",s),c.async=!0,u.appendChild(c)})).catch((function(){console.log("LOU couldn't be mounted")})):n?fetch("https://api.louassist.com/v1/assistant/public/viewer-script-version/").then((function(t){return t.json()})).then((function(t){const r=e.getAttribute("theme-color"),o=e.getAttribute("margin-right"),s=document.createElement("script"),c=document.head||document.documentElement;let u;u=`viewer/script/v${t.scriptVersion}`,s.src=`https://cdn.louassist.com/${u}`,s.id="louViewer",s.setAttribute("folder-id",n),s.setAttribute("theme-color",r),s.setAttribute("margin-right",o),i&&s.setAttribute("builder","builder"),s.async=!0,c.appendChild(s)})).catch((function(){console.log("LOU couldn't be mounted")})):console.log("There is an error with the LOU script tag")}).call(this)}});