PageSourceSearch

https://www.usetiful.com/build/app.15133149.js

js usetiful.com collected 2026-09-24 09:05:55 UTC 19,561 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t={32843(e,t,n){n(8065);var o=n(24212);const r="show";const a=class{constructor(e){this.handleCloseAction=e=>{e.classList.remove(r)},this.initElementActions=e=>{setTimeout(()=>{e.classList.add(r)},100);const t=e.querySelector('[data-dismiss="toast"]');t&&t.addEventListener("click",()=>this.handleCloseAction(e));const n=parseInt(e.getAttribute("data-delay")||"",10);n>0&&setTimeout(()=>{e.classList.remove(r),t&&t.removeEventListener("click",()=>this.handleCloseAction(e))},n)},this.createMessageFromHtml=e=>{const t=document.createElement("div");return t.innerHTML=e.trim(),t.querySelector(".toast")},this.addFlash=(e,t,n=5e3)=>{var o;const r="error"===e?" bg-danger":`bg-${e}`,a="warning"!==e?" text-white":"",s="warning"!==e?" btn-close-white":"",l=this.createMessageFromHtml(`<div class="toast align-items-center${a} ${r} border-0" role="alert" aria-live="polite" aria-atomic="true" data-delay="${n}">\n            <div class="toast-body">\n                <i class="fas ${"success"===e?"fa-check-circle":"fa-exclamation-circle"}"></i> ${t}\n            </div>\n            <button type="button" class="btn-close${s} me-2 m-auto" data-dismiss="toast" aria-label="Close"></button>\n        </div>`);l instanceof HTMLElement&&(null===(o=document.querySelector(this.selector))||void 0===o||o.append(l),this.initElementActions(l))},this.init=()=>{document.querySelectorAll(this.selector).forEach(e=>{this.initElementActions(e)})},this.selector=e}},s=(Object.values({tour:"tour",checklist:"checklist",assistant:"assistant",smartTips:"smartTips",survey:"survey",banner:"banner"}),()=>{const e=document.querySelectorAll('[data-field="password"]');null==e||e.forEach(e=>{(e=>{const t=e.querySelector("input"),n=e.querySelector("button"),o=e.querySelector("i");n&&t&&o&&n.addEventListener("click",()=>{"password"===t.getAttribute("type")?(t.setAttribute("type","text"),o.classList.remove("fa-eye"),o.classList.add("fa-eye-slash")):(t.setAttribute("type","password"),o.classList.remove("fa-eye-slash"),o.classList.add("fa-eye"))})})(e)})}),l=()=>"1"===((e,t)=>{var n;return null!==(n=new URLSearchParams(window.location.search).get(e))&&void 0!==n?n:t})("hideNav",null)||null===document.getElementById("new-navigation");var i=n(14041),c=n(25873);const d=({icon:e,title:t,description:n,href:o,hoveredItem:r,setHoveredItem:a,itemId:s,variant:l})=>{const c=()=>{o.startsWith("mailto:")?window.location.href=o:window.open(o,"_blank","noopener,noreferrer")},d=r===s;return i.createElement("div",{className:(()=>{switch(l){case"top":return"hsc-reference-box-top";case"bottom":return"hsc-reference-box-bottom";default:return"hsc-reference-box-top-bottom"}})(),onClick:c,onMouseEnter:()=>a(s),onMouseLeave:()=>a(null),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c())},style:{boxShadow:"0 0 0 1px #cfd3d3",width:"100%"},role:"button",tabIndex:0,"aria-label":`${t}: ${n}`},i.createElement("div",{style:{marginRight:"16px",display:"flex",alignItems:"center"}},i.createElement("img",{src:e,alt:"",width:"20",height:"20","aria-hidden":"true"})),i.createElement("div",{style:{maxWidth:"323px",flex:1}},i.createElement("p",{style:{fontWeight:600,fontSize:"14px",color:"#212529",margin:0,marginBottom:"2px"}},t),i.createElement("p",{style:{fontSize:"12px",color:"#6c757d",margin:0}},n)),d&&i.createElement("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center"},"aria-hidden":"true"},i.createElement("img",{src:"/build/images/app/icons/sidecar/chevron-right.svg",alt:"",width:"20",height:"20"})))},u=({closeFn:e})=>{var t;const[n,o]=(0,i.useState)(!1),[r,a]=(0,i.useState)(!1),[s,l]=(0,i.useState)(null),c=(0,i.useRef)(null),u=(0,i.useRef)(null),m=(0,i.useRef)(null),v=(0,i.useCallback)(()=>{null==e||e()},[e]);(0,i.useEffect)(()=>{const e=()=>{o(e=>!e)};return window.addEventListener("toggle-sidecar",e),()=>{window.removeEventListener("toggle-sidecar",e)}},[]),(0,i.useEffect)(()=>
1(null!==m.current&&cancelAnimationFrame(m.current),n&&!r&&c.current&&u.current&&(m.current=requestAnimationFrame(()=>{var e,t;null===(e=c.current)||void 0===e||e.classList.add("hsc-open"),null===(t=u.current)||void 0===t||t.classList.add("hsc-open")})),()=>{null!==m.current&&cancelAnimationFrame(m.current)}),[n,r]),(0,i.useEffect)(()=>{const e=u.current,t=()=>{r&&(o(!1),a(!1),v())};return e&&e.addEventListener("animationend",t),()=>{e&&e.removeEventListener("animationend",t)}},[r,v]);const p=(0,i.useCallback)(()=>{r||(a(!0),c.current&&u.current&&(c.current.classList.remove("hsc-open"),c.current.classList.add("hsc-closing"),u.current.classList.remove("hsc-open"),u.current.classList.add("hsc-closing")))},[r]);if((0,i.useEffect)(()=>{const e=e=>{"Escape"===e.key&&n&&!r&&p()};return n&&document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n,r,p]),!n&&!r)return null;const h=[{icon:"/build/images/app/icons/sidecar/life-preserver.svg",title:"Knowledge Base",description:"Find tutorials, articles, videos and more.",href:"https://help.fullstory.com/hc/en-us",hoveredItem:s,setHoveredItem:l,itemId:"kb",variant:"top"},{icon:"/build/images/app/icons/sidecar/graduation-cap.svg",title:"Level up with Fullstory training",description:"Browse our library of on-demand trainings.",href:"https://learn.fullstory.com/app",hoveredItem:s,setHoveredItem:l,itemId:"training",variant:"middle"},{icon:"/build/images/app/icons/sidecar/star-person.svg",title:"Learn and engage with Fullstory experts",description:"New user training, office hours, live and on-demand webinars.",href:"https://eventhub.goldcast.io/?eventHubId=8b839287-475e-4773-a016-ac43fd4e4672",hoveredItem:s,setHoveredItem:l,itemId:"experts",variant:"middle"},{icon:"/build/images/app/icons/sidecar/people.svg",title:"Ask the Community",description:"Connect with other Fullstory users.",href:"https://help.fullstory.com/hc/en-us/community/topics",hoveredItem:s,setHoveredItem:l,itemId:"community",variant:"middle"},{icon:"/build/images/app/icons/sidecar/envelope.svg",title:"Email Customer Support",description:"Can't find what you're looking for? Our global support team is here to help.",href:(null===(t=window.usetiful)||void 0===t?void 0:t.userEmail)?`https://help.fullstory.com/hc/en-us/requests/new?tf_anonymous_requester_email=${encodeURIComponent(window.usetiful.userEmail)}`:"https://help.fullstory.com/hc/en-us/requests/new",hoveredItem:s,setHoveredItem:l,itemId:"support",variant:"bottom"}];return i.createElement(i.Fragment,null,i.createElement("div",{ref:c,className:"hsc-sidecar",role:"dialog","aria-modal":"true","aria-labelledby":"sidecar-title"},i.createElement("div",{className:"hsc-header"},i.createElement("h3",{id:"sidecar-title"},"HELP")),i.createElement("div",{className:"hsc-body"},h.map(e=>i.createElement(d,Object.assign({key:e.itemId},e))))),i.createElement("div",{ref:u,className:"hsc-backdrop",onClick:p,"aria-hidden":"true"}))};function m(){const e=document.getElementById("sidecar-root");if(e&&!e.hasAttribute("data-sidecar-mounted")){(0,c.H)(e).render(i.createElement(u,null)),e.setAttribute("data-sidecar-mounted","true")}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",m):m();const v="limit_type_selector";const p="subscription_selector",h="annual",g="assist";document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("billing-switch"),t=document.getElementById("limit-switch");let n=window.localStorage.getItem(p),o=window.localStorage.getItem(v);n||(window.localStorage.setItem(p,h),n=h),e&&n&&(y(n),e instanceof HTMLInputElement&&n===h&&(e.checked=!0)),o||(window.localStorage.setItem(v,g),o=g),t&&o&&(E(o),t instanceof HTMLInputElement&&"mau"===o&&(t.checked=!0)),f(),w()});const f=()=>{const e=document.getElementById("billing-switch");e&&e.addEventListener("change",t=>{if(t.target instanceof HTMLInputElement){const t=e.checked?"annual":"monthly";window.localStorage.setItem(p,t),y(t)}})},y=e=>{const t=document.querySelectorAll(".js-price");t.length>0&&t.forEach(t=>{t instanceof HTMLElement&&(t.dataset.price===e?t.classList.remove("d-none"):t.classList.add("d-none"))})},E=e=>{document.querySelectorAll("[data-limit-type]").forEach(t=>{t instanceof HTMLElement&&(t.dataset.limitType===e?t.classList.remove("d-none"):t.classList.add("d-none"))})},w=()=>{const e=document.getElementById("limit-switch");e&&e.addEventListener("change",()=>{const t=e.checked?"mau":"assist";window.localStorage.setItem(v,t),E(t)})};(()=>{const e="uf_selected_plan",t=window.localStorage.getItem(v);document.querySelectorAll(".js-multiplan-select").forEach(t=>{t.addEventListener("change",t=>{var n;if(t.target instanceof HTMLSelectElement){const o=t.target,r=o.dataset.type,{limitType:a}=o.dataset;if(r&&a){const o=t.target.value;document.querySelectorAll(`.plan-${r}-${a}
1`).forEach(e=>{e.classList.add("d-none")}),document.querySelectorAll(`[id^="${r}-${a}-${o}"]`).forEach(e=>{e.classList.remove("d-none")}),(null===(n=window.sessionStorage)||void 0===n?void 0:n.setItem)&&window.sessionStorage.setItem(e,o.toString())}}})});const n=window.sessionStorage.getItem(e);n&&document.querySelectorAll(`[data-limit-type='${t}'] .js-multiplan-select`).forEach(e=>{!function(e,t){for(let n=0;n<e.options.length;n+=1)if(e.options[n].value===t)return void(e.options[n].selected=!0)}(e,n),e.dispatchEvent(new CustomEvent("change"))})})(),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(e=>new o.m_(e));const L="fullstory_return_url";var b,S,I,q,k,A,T,H,M;document.addEventListener("DOMContentLoaded",function(){var e;const t=null===(e=document.body)||void 0===e?void 0:e.getAttribute("data-return-url");t&&sessionStorage.setItem(L,t);const n=sessionStorage.getItem(L);if(!n)return;const o=l()?"back-button":"nav-back-to-analytics",r=document.getElementById(o);r&&(r.href=n,r.classList.remove("d-none"))});const x=()=>{const e=document.querySelector(".header"),t=window.innerHeight-(null!==e?e.clientHeight:0),n=document.querySelector("main");n&&(n.style.height=`${t}px`)},C=e=>{var t;null===(t=document.querySelector(".modal-backdrop"))||void 0===t||t.remove(),e instanceof HTMLElement&&(e.style.display="none",e.classList.remove("show"),e.querySelectorAll('[data-bs-dismiss="modal"]').forEach(t=>{t.removeEventListener("click",()=>{C(e)})}))};document.addEventListener("DOMContentLoaded",()=>{document.querySelector("#creator")&&x();new a(".toast").init(),B(),s(),window.addEventListener("message",e=>{if("init"!==e.data.event)return;let t=0;const n=setInterval(()=>{const o=document.querySelector(`iframe#cf-chl-widget-${e.data.widgetId}`);o instanceof HTMLIFrameElement?(o.style.width="100%",o.style.display="",clearInterval(n)):t>=20&&clearInterval(n),t+=1},10);e.stopImmediatePropagation()})});const B=()=>{const e=document.querySelectorAll("[data-show-modal-onload]");null==e||e.forEach(e=>{(e=>{const t=document.querySelector(".modal-backdrop");if(t instanceof HTMLElement)t.classList.add("show","fade");else{const e=document.createElement("div");e.classList.add("modal-backdrop","fade","show"),document.body.append(e)}e instanceof HTMLElement&&(e.style.display="block",e.classList.add("show"),e.querySelectorAll('[data-bs-dismiss="modal"]').forEach(t=>{t.addEventListener("click",()=>{C(e)})}))})(e)})},$=document.querySelectorAll(".to-clipboard");$&&$.forEach(e=>{e.addEventListener("click",e=>{const t=e.target;let n=null;if(!(t instanceof HTMLButtonElement))return;const o=null==t?void 0:t.getAttribute("data-id");if(n=o?document.getElementById(o):null,null!==n&&n instanceof HTMLTextAreaElement||n instanceof HTMLInputElement){let r=!1;const a=n.getAttribute("data-type"),s=n.getAttribute("data-addon");if(s&&"URL"===a){let e;try{e=new URL(n.value)}catch(e){console.warn(e)}if(e){const t=s.split(",");t&&e.searchParams.set(t[0],t[1]);P(o||"").forEach(t=>{null==e||e.searchParams.set(t.key,t.vlaue)}),n.value=e.toString(),r=!0}}else r=!0;if(r){n.select(),n.setSelectionRange(0,99999),document.execCommand("copy");const o=n.getAttribute("data-label");t.innerText=null!==o?o:"Copied!",e.preventDefault()}}})});if(document.querySelector("#embed-code")){let e;e=[];const t=new URLSearchParams(window.location.search).get("fragments"),n=null===(b=document.getElementById("share-with-developer"))||void 0===b?void 0:b.getAttribute("href"),o=(null===(S=document.getElementById("share-with-developer"))||void 0===S?void 0:S.getAttribute("data-url"))||"";t&&(e=t.split(","));const r=()=>{var t,r;e.length>0?null===(t=document.getElementById("share-with-developer"))||void 0===t||t.setAttribute("href",n+escape(`${o}?fragments=${e.toString()}`)):null===(r=document.getElementById("share-with-developer"))||void 0===r||r.setAttribute("href",n+escape(o))},a=()=>{e.forEach(e=>{const t=document.querySelector(`#code-builder input[data-type='${e}']`);t instanceof HTMLInputElement&&(t.checked=!0)}),r()};e.length>0&&a();const s=()=>{var t,n;const o=document.querySelector("#code-to-copy");if(null===o)return;o.innerHTML="";let a="";if(e.length>0){null===(t=document.querySelector("#segmentation-alert"))||void 0===t||t.classList.remove("d-none");const e=document.querySelector("#embed-code #segmentation-start");e&&(a+=e.innerHTML)}else null===(n=document.querySelector("#segmentation-alert"))||void 0===n||n.classList.add("d-none");
1if(e.forEach(e=>{const t=document.querySelector(`#embed-code #${e}`);t&&(a+=t.innerHTML)}),e.length>0){const e=document.querySelector("#embed-code #segmentation-end");e&&(a+=e.innerHTML)}o.innerHTML=a+o.innerHTML;const s=document.querySelector("#embed-code #standard");s&&(o.innerHTML+=s.innerHTML),r()};s(),document.querySelectorAll("#code-builder input").forEach(t=>{t.addEventListener("change",t=>{let n,o=!1,r=-1;t.target instanceof HTMLInputElement&&(o=t.target.checked,n=t.target.getAttribute("data-type"),r=e.indexOf(n)),o&&n?-1===r&&e.push(n):r>=0&&e.splice(r,1),s()})})}const _=document.querySelector("#trackingSelection #userId"),O=document.querySelector("#trackingSelection #anonymous"),F=e=>{const t=document.querySelector("#code-area"),n=document.querySelector("#code-builder input#specific-user-input");if(!t||!n)return;n instanceof HTMLInputElement&&(n.checked=!e);const o=document.querySelector("#userIdDesc");!e&&o&&o.classList.remove("d-none");const r=new Event("change");n.dispatchEvent(r),t.classList.remove("d-none");const a=document.querySelector("#trackingSelection");a&&a.classList.add("d-none");const s=document.querySelector("#selectedTracking"),l=e?O:_;if(l instanceof HTMLElement){const e=l.dataset.name;s instanceof HTMLElement&&e&&e.length>0&&(s.innerText=e)}};O&&O.addEventListener("click",()=>{F(!0)}),_&&_.addEventListener("click",()=>{F(!1)}),window.addEventListener("resize",x),document.querySelectorAll("#tour_autoplay input").forEach(e=>{e.addEventListener("change",e=>{var t,n;e.target instanceof Element&&1===parseInt(e.target.getAttribute("value")||"0",10)?null===(t=document.getElementById("collapseLaunchManualInfo"))||void 0===t||t.classList.remove("show"):null===(n=document.getElementById("collapseLaunchManualInfo"))||void 0===n||n.classList.add("show")})});const j=document.querySelectorAll(".shareTourSetting");null==j||j.forEach(e=>{var t,n;const o=e.parentElement;o&&(e.addEventListener("click",()=>{var t;e.classList.add("d-none"),null===(t=o.querySelector(".tourSettingSection"))||void 0===t||t.classList.remove("d-none")}),null===(t=o.querySelector(".addNewBtn"))||void 0===t||t.addEventListener("click",()=>{var e;const t=o.querySelector(".inputs-row"),n=null==t?void 0:t.cloneNode(!0);n instanceof Element&&(n.classList.add("mt-2"),n.querySelectorAll("input").forEach(e=>{e.value=""}),null===(e=o.querySelector(".inputsContainer"))||void 0===e||e.appendChild(n.cloneNode(!0)))}),null===(n=o.querySelector(".inputsContainer"))||void 0===n||n.addEventListener("click",e=>{var t,n;const{target:o}=e;if(!(o instanceof HTMLElement))return;const r=o;(r.classList.contains("recycle-btn")||(null===(t=r.parentElement)||void 0===t?void 0:t.classList.contains("recycle-btn")))&&(null===(n=r.closest(".inputs-row"))||void 0===n||n.remove())}))});const P=e=>{const t=[];return document.querySelectorAll(`.input-key-${e}`).forEach((e,n)=>{if(e instanceof HTMLInputElement){const o=e.value.trim();t[n]={key:o?`ufTag-${e.value.trim()}`:"",vlaue:""}}}),document.querySelectorAll(`.input-value-${e}`).forEach((e,n)=>{e instanceof HTMLInputElement&&t[n]&&(t[n].vlaue=e.value.trim())}),t.filter(e=>Boolean(e.key)&&Boolean(e.vlaue))};window.addEventListener("invite-member",e=>{console.log("invite-member"),console.warn(e)}),null===(I=document.getElementById("changePasswordBtn"))||void 0===I||I.addEventListener("click",()=>{const e=document.getElementById("changePasswordFormContainer");(null==e?void 0:e.classList.contains("change-password-form_open"))?e.classList.remove("change-password-form_open"):null==e||e.classList.add("change-password-form_open")}),null===(q=document.getElementById("editDomainsBtn"))||void 0===q||q.addEventListener("click",()=>{const e=document.getElementById("editDomainsContainer");(null==e?void 0:e.classList.contains("edit-domains-form_open"))?e.classList.remove("edit-domains-form_open"):null==e||e.classList.add("edit-domains-form_open")}),window.addEventListener("invite-member",e=>{console.log("invite-member"),console.warn(e)}),l()?null===(k=document.querySelector("#new-wrapper"))||void 0===k||k.classList.add("hidden"):window.localStorage.getItem("app-nav-expanded")&&(null===(A=document.querySelector("#new-wrapper"))||void 0===A||A.classList.add("expanded")),null===(T=document.querySelector("#new-navigation #expand"))||void 0===T||T.addEventListener("click",()=>{var e;null===(e=document.querySelector("#new-wrapper"))||void 0===e||e.classList.add("expanded"),window.localStorage.setItem("app-nav-expanded","true")}),null===(H=document.querySelector("#new-navigation #collapse"))||void 0===H||H.addEventListener("click",()=>{var e;null===(e=document.querySelector("#new-wrapper"))||void 0===e||e.classList.remove("expanded"),window.localStorage.removeItem("app-nav-expanded")}),null===(M=document.querySelector("#help-link"))||void 0===M||M.addEventListener("click",e=>{e.preventDefault();const t=new CustomEvent("toggle-sidecar");window.dispatchEvent(t)})}},n={};function o(e){var r=n[e];
1if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,n,r,a)=>{if(!n){var s=1/0;for(d=0;d<e.length;d++){for(var[n,r,a]=e[d],l=!0,i=0;i<n.length;i++)(!1&a||s>=a)&&Object.keys(o.O).every(e=>o.O[e](n[i]))?n.splice(i--,1):(l=!1,a<s&&(s=a));if(l){e.splice(d--,1);var c=r();void 0!==c&&(t=c)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[n,r,a]},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={3524:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var r,a,[s,l,i]=n,c=0;if(s.some(t=>0!==e[t])){for(r in l)o.o(l,r)&&(o.m[r]=l[r]);if(i)var d=i(o)}for(t&&t(n);c<s.length;c++)a=s[c],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(d)},n=self.webpackChunk_usetiful_app=self.webpackChunk_usetiful_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var r=o.O(void 0,[7907,3817,8065,294],()=>o(32843));r=o.O(r)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.