New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commandbar

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commandbar - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

2

build/commandbar-js/src/index.js
/*! For license information please see index.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.commandbar=t():e.commandbar=t()}(this,(()=>(()=>{var e={599:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,getControlKey:()=>p});var o=r(378),n=function(){return["WINDOWS","ANDROID","LINUX"].includes(function(){if("undefined"!=typeof window){var e=window.navigator.userAgent,t=window.navigator.platform,r="MAC";return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?r="MAC":-1!==["iPhone","iPad","iPod"].indexOf(t)?r="IOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?r="WINDOWS":/Android/.test(e)?r="ANDROID":/Linux/.test(t)&&(r="LINUX"),r}}())?"Ctrl":"⌘"},i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=o.createContext&&o.createContext(i),s=function(){return s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)},u=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]])}return r};function c(e){return e&&e.map((function(e,t){return o.createElement(e.tag,s({key:t},e.attr),c(e.child))}))}function l(e){return function(t){return o.createElement(f,s({attr:s({},e.attr)},t),c(e.child))}}function f(e){var t=function(t){var r,n=e.size||t.size||"1em";t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className);var i=e.attr,a=e.title,c=u(e,["attr","title"]);return o.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,c,{className:r,style:s({color:e.color||t.color},t.style,e.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),a&&o.createElement("title",null,a),e.children)};return void 0!==a?o.createElement(a.Consumer,null,(function(e){return t(e)})):t(i)}function d(e){return l({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]})(e)}var p=n;const m=function(e){var t=e.text,r=e.style;return o.createElement("div",{id:"commandbar-user-launcher-component",className:"commandbar-user-launcher",style:r||{},onClick:function(){var e,t;null===(e=window)||void 0===e||null===(t=e.CommandBar)||void 0===t||t.open()}},o.createElement("div",{className:"commandbar-user-launcher__content"},o.createElement("div",{className:"commandbar-user-launcher__prefix"},o.createElement(d,null),"  ",t||"Find anything"),!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&o.createElement("div",{className:"commandbar-user-launcher__suffix"},o.createElement("span",{style:{marginRight:3},className:"commandbar-user-launcher__tag"},n()),o.createElement("span",{style:{marginRight:3}},"+"),o.createElement("span",{className:"commandbar-user-launcher__tag "},"K"))))}},296:(e,t,r)=>{"use strict";var o=r(649),n=r(413),i=r(715),a=r(416),s=r(682);(e.exports=function(e,t){var r,n,u,c,l;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],o(e)?(r=s.call(e,"c"),n=s.call(e,"e"),u=s.call(e,"w")):(r=u=!0,n=!1),l={value:t,configurable:r,enumerable:n,writable:u},c?i(a(c),l):l}).gs=function(e,t,r){var u,c,l,f;return"string"!=typeof e?(l=r,r=t,t=e,e=null):l=arguments[3],o(t)?n(t)?o(r)?n(r)||(l=r,r=void 0):r=void 0:(l=t,t=r=void 0):t=void 0,o(e)?(u=s.call(e,"c"),c=s.call(e,"e")):(u=!0,c=!1),f={get:t,set:r,configurable:u,enumerable:c},l?i(a(l),f):f}},448:e=>{"use strict";e.exports=function(){}},715:(e,t,r)=>{"use strict";e.exports=r(927)()?Object.assign:r(958)},927:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},958:(e,t,r)=>{"use strict";var o=r(700),n=r(240),i=Math.max;e.exports=function(e,t){var r,a,s,u=i(arguments.length,2);for(e=Object(n(e)),s=function(o){try{e[o]=t[o]}catch(e){r||(r=e)}},a=1;a<u;++a)o(t=arguments[a]).forEach(s);if(void 0!==r)throw r;return e}},630:(e,t,r)=>{"use strict";var o=r(448)();e.exports=function(e){return e!==o&&null!==e}},700:(e,t,r)=>{"use strict";e.exports=r(790)()?Object.keys:r(360)},790:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},360:(e,t,r)=>{"use strict";var o=r(630),n=Object.keys;e.exports=function(e){return n(o(e)?Object(e):e)}},416:(e,t,r)=>{"use strict";var o=r(630),n=Array.prototype.forEach,i=Object.create;e.exports=function(e){var t=i(null);return n.call(arguments,(function(e){o(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}},240:(e,t,r)=>{"use strict";var o=r(630);e.exports=function(e){if(!o(e))throw new TypeError("Cannot use null or undefined");return e}},682:(e,t,r)=>{"use strict";e.exports=r(974)()?String.prototype.contains:r(641)},974:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},641:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},86:(e,t,r)=>{"use strict";var o=r(84);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!o(e)}},453:(e,t,r)=>{"use strict";var o=r(649),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!o(e)&&hasOwnProperty.call(n,typeof e)}},413:(e,t,r)=>{"use strict";var o=r(86),n=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!!o(e)&&!n.test(i.call(e))}},84:(e,t,r)=>{"use strict";var o=r(453);e.exports=function(e){if(!o(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},649:e=>{"use strict";e.exports=function(e){return null!=e}},992:(e,t,r)=>{"use strict";r(98).polyfill()},98:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),o=1;o<arguments.length;o++){var n=arguments[o];if(null!=n)for(var i=Object.keys(Object(n)),a=0,s=i.length;a<s;a++){var u=i[a],c=Object.getOwnPropertyDescriptor(n,u);void 0!==c&&c.enumerable&&(r[u]=n[u])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},769:(e,t,r)=>{"use strict";r(614)()||Object.defineProperty(r(119),"Symbol",{value:r(798),configurable:!0,enumerable:!1,writable:!0})},614:(e,t,r)=>{"use strict";var o=r(119),n={object:!0,symbol:!0};e.exports=function(){var e,t=o.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[typeof t.iterator]&&!!n[typeof t.toPrimitive]&&!!n[typeof t.toStringTag]}},64:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},573:(e,t,r)=>{"use strict";var o=r(296),n=Object.create,i=Object.defineProperty,a=Object.prototype,s=n(null);e.exports=function(e){for(var t,r,n=0;s[e+(n||"")];)++n;return s[e+=n||""]=!0,i(a,t="@@"+e,o.gs(null,(function(e){r||(r=!0,i(this,t,o(e)),r=!1)}))),t}},572:(e,t,r)=>{"use strict";var o=r(296),n=r(119).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:o("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:o("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:o("",n&&n.iterator||e("iterator")),match:o("",n&&n.match||e("match")),replace:o("",n&&n.replace||e("replace")),search:o("",n&&n.search||e("search")),species:o("",n&&n.species||e("species")),split:o("",n&&n.split||e("split")),toPrimitive:o("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:o("",n&&n.toStringTag||e("toStringTag")),unscopables:o("",n&&n.unscopables||e("unscopables"))})}},781:(e,t,r)=>{"use strict";var o=r(296),n=r(11),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:o((function(t){return i[t]?i[t]:i[t]=e(String(t))})),keyFor:o((function(e){var t;for(t in n(e),i)if(i[t]===e)return t}))})}},798:(e,t,r)=>{"use strict";var o,n,i,a=r(296),s=r(11),u=r(119).Symbol,c=r(573),l=r(572),f=r(781),d=Object.create,p=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),i=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return o(e)},e.exports=o=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?u(t):(r=d(n.prototype),t=void 0===t?"":String(t),p(r,{__description__:a("",t),__name__:a("",c(t))}))},l(o),f(o),p(n.prototype,{constructor:a(o),toString:a("",(function(){return this.__name__}))}),p(o.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),m(o.prototype,o.toPrimitive,a("",(function(){var e=s(this);return"symbol"==typeof e?e:e.toString()}))),m(o.prototype,o.toStringTag,a("c","Symbol")),m(n.prototype,o.toStringTag,a("c",o.prototype[o.toStringTag])),m(n.prototype,o.toPrimitive,a("c",o.prototype[o.toPrimitive]))},11:(e,t,r)=>{"use strict";var o=r(64);e.exports=function(e){if(!o(e))throw new TypeError(e+" is not a symbol");return e}},308:e=>{var t=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},119:(e,t,r)=>{"use strict";e.exports=r(801)()?globalThis:r(308)},801:e=>{"use strict";e.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))r.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var l=0;l<a.length;l++)o.call(i,a[l])&&(s[a[l]]=i[a[l]])}}return s}},656:(e,t,r)=>{"use strict";var o;(o="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?r.g:self).Proxy||(o.Proxy=r(659)(),o.Proxy.revocable=o.Proxy.revocable)},659:e=>{e.exports=function(){let e,t=null;function r(e){return!!e&&("object"==typeof e||"function"==typeof e)}function o(e){if(null!==e&&!r(e))throw new TypeError("Object prototype may only be an Object or null: "+e)}const n=Object,i=Boolean(n.create)||!({__proto__:null}instanceof n),a=n.create||(i?function(e){return o(e),{__proto__:e}}:function(e){if(o(e),null===e)throw new SyntaxError("Native Object.create is required to create objects with null prototype");var t=function(){};return t.prototype=e,new t}),s=function(){return null},u=n.getPrototypeOf||([].__proto__===Array.prototype?function(e){const t=e.__proto__;return r(t)?t:null}:s);return e=function(c,l){if(void 0===(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Constructor Proxy requires 'new'");if(!r(c)||!r(l))throw new TypeError("Cannot create proxy with a non-object as target or handler");let f=function(){};t=function(){c=null,f=function(e){throw new TypeError(`Cannot perform '${e}' on a proxy that has been revoked`)}},setTimeout((function(){t=null}),0);const d=l;l={get:null,set:null,apply:null,construct:null};for(let e in d){if(!(e in l))throw new TypeError(`Proxy polyfill does not support trap '${e}'`);l[e]=d[e]}"function"==typeof d&&(l.apply=d.apply.bind(d));const p=u(c);let m,y=!1,b=!1;"function"==typeof c?(m=function(){const e=this&&this.constructor===m,t=Array.prototype.slice.call(arguments);return f(e?"construct":"apply"),e&&l.construct?l.construct.call(this,c,t):!e&&l.apply?l.apply(c,this,t):e?(t.unshift(c),new(c.bind.apply(c,t))):c.apply(this,t)},y=!0):c instanceof Array?(m=[],b=!0):m=i||null!==p?a(p):{};const _=l.get?function(e){return f("get"),l.get(this,e,m)}:function(e){return f("get"),this[e]},v=l.set?function(e,t){f("set"),l.set(this,e,t,m)}:function(e,t){f("set"),this[e]=t},h=n.getOwnPropertyNames(c),g={};h.forEach((function(e){if((y||b)&&e in m)return;const t=n.getOwnPropertyDescriptor(c,e),r={enumerable:Boolean(t.enumerable),get:_.bind(c,e),set:v.bind(c,e)};n.defineProperty(m,e,r),g[e]=!0}));let S=!0;if(y||b){const e=n.setPrototypeOf||([].__proto__===Array.prototype?function(e,t){return o(t),e.__proto__=t,e}:s);p&&e(m,p)||(S=!1)}if(l.get||!S)for(let e in c)g[e]||n.defineProperty(m,e,{get:_.bind(c,e)});return n.seal(c),n.seal(m),m},e.revocable=function(r,o){return{proxy:new e(r,o),revoke:t}},e}},535:(e,t,r)=>{"use strict";var o=r(525),n=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;n=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function b(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}function _(){}function v(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var h=v.prototype=new _;h.constructor=v,o(h,b.prototype),h.isPureReactComponent=!0;var g={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=t[o]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===i[o]&&(i[o]=u[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:g.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,r,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case i:u=!0}}if(u)return a=a(u=e),e=""===o?"."+j(u,0):o,Array.isArray(a)?(r="",null!=e&&(r=e.replace(P,"$&/")+"/"),E(a,t,r,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(u=0,o=""===o?".":o+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=o+j(s=e[c],c);u+=E(s,t,r,l,a)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),c=0;!(s=e.next()).done;)u+=E(s=s.value,t,r,l=o+j(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function x(e,t,r){if(null==e)return e;var o=[],n=0;return E(e,o,"","",(function(e){return t.call(r,e,n++)})),o}function B(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function D(){var e=T.current;if(null===e)throw Error(p(321));return e}var A={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:g,IsSomeRendererActing:{current:!1},assign:o};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error(p(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,r){if(null==e)throw Error(p(267,e));var i=o({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=g.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!C.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:n,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:B}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return D().useCallback(e,t)},t.useContext=function(e,t){return D().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return D().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return D().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return D().useLayoutEffect(e,t)},t.useMemo=function(e,t){return D().useMemo(e,t)},t.useReducer=function(e,t,r){return D().useReducer(e,t,r)},t.useRef=function(e){return D().useRef(e)},t.useState=function(e){return D().useState(e)},t.version="17.0.2"},378:(e,t,r)=>{"use strict";e.exports=r(535)},14:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getControlKey=t.Launcher=t.initProxy=t.init=void 0;var s=i(r(599));t.Launcher=s.default,Object.defineProperty(t,"getControlKey",{enumerable:!0,get:function(){return s.getControlKey}});var u=r(956);Object.defineProperty(t,"init",{enumerable:!0,get:function(){return a(u).default}});var c=r(737);Object.defineProperty(t,"initProxy",{enumerable:!0,get:function(){return c.initProxySDK}})},956:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),r(656),r(992),r(769);var n=r(737),i=r(207),a=function(e,t){if("complete"===document.readyState){var r=function(e,t){var r,o=t.apiOrigin||"https://api.commandbar.com",n=[],i=localStorage.getItem("commandbar.lc");if(i&&i.includes("api=local")&&(o="http://localhost:8000"),i&&i.includes("api=preview_")){var a=null===(r=/api=preview_([^;$]+)/.exec(i))||void 0===r?void 0:r[1];o="https://".concat(a,".commandbar.xyz:8000")}var s=o+"/latest/"+e;return i&&n.push("lc="+i),t.nonce&&n.push("nonce="+encodeURIComponent(t.nonce)),t.silentMode&&n.push("silent=true"),t.cdnOrigin&&n.push("cdn="+encodeURIComponent(t.cdnOrigin)),n.push("version=2"),s+"?"+n.join("&")}(e,t),o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=r,document.head.appendChild(o)}else window.addEventListener("load",a.bind(null,e,t),{capture:!1,once:!0})},s={debug:!1,silentMode:!1};t.default=function(e,t){var r;void 0===t&&(t=s);var u=o(o({},s),t);e?(null===(r=(0,n.getProxySDK)()[i._configuration])||void 0===r?void 0:r.uuid)?console.warn("CommandBar init was called more than once. Skipping the redundant initialization..."):(u.debug&&console.log("CommandBar init...",{environment:t.environment,version:t.version}),(0,n.getProxySDK)()[i._configuration]={api:u.apiOrigin,cdn:u.cdnOrigin,uuid:e,environment:u.environment,version:u.version,config:u.config,nonce:u.nonce,silent:u.silentMode},a(e,u)):console.error("No org specified for CommandBar.init")}},343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_META_ATTRIBUTES=t.DEFAULT_INSTANCE_ATTRIBUTES=t.PRODUCTS=t.ASYNC_METHODS=t.ASYNC_METHODS_SNIPPET=void 0,t.ASYNC_METHODS_SNIPPET=["addCommand","boot","addEventSubscriber","addRecordAction","setFormFactor"],t.ASYNC_METHODS=["addCommand","boot","addEventSubscriber","addEventHandler","addRecordAction","setFormFactor"],t.PRODUCTS=["spotlight","nudges","checklists","help_hub"],t.DEFAULT_INSTANCE_ATTRIBUTES={canOpenEditor:!0,formFactor:{type:"modal"},products:["spotlight","nudges","checklists","help_hub"]},t.DEFAULT_META_ATTRIBUTES={}},737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initProxySDK=t.getProxySDK=void 0;var o=r(314),n=r(343),i=r(207);function a(){var e,t,r,o,a,s,u=window.CommandBar,c=window.CommandBar;Array.isArray(null==u?void 0:u.q)||"string"==typeof(null==u?void 0:u.uid)?(o=null==u?void 0:u.uid,a=null==u?void 0:u.q,s=null==u?void 0:u.api):(o=null===(t=null==c?void 0:c[i._configuration])||void 0===t?void 0:t.uuid,a=null==c?void 0:c[i._queue],s=null===(r=null==c?void 0:c[i._configuration])||void 0===r?void 0:r.api);var l=((e={})[i._configuration]={uuid:"string"==typeof o?o:"",api:"string"==typeof s?s:void 0},e[i._disposed]=!1,e[i._isProxy]=!0,e[i._queue]=Array.isArray(a)?a:[],e[i._unwrap]=function(){return l},e[i._eventSubscriptions]=void 0,e[i._sentry]=void 0,e),f=l;Object.assign(l,{shareCallbacks:function(){return{}},shareContext:function(){return{}}}),window.CommandBar=new Proxy(l,{get:function(e,t){return t in f?f[t]:"then"!==t?n.ASYNC_METHODS_SNIPPET.includes(t)?function(){var e=Array.prototype.slice.call(arguments);return new Promise((function(r,o){e.unshift(t,r,o),l[i._queue].push(e)}))}:function(){var e=Array.prototype.slice.call(arguments);e.unshift(t),l[i._queue].push(e)}:void 0}})}t.getProxySDK=function(){var e=window.CommandBar;return((0,o.isDisposed)(e)||"boolean"!=typeof e[i._isProxy])&&a(),window.CommandBar[i._unwrap]()},t.initProxySDK=a},207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._fingerprint=t._user=t._unwrap=t._state=t._showMessage=t._showGuide=t._shareProgrammaticCommands=t._shareContextSettings=t._shareConfig=t._setEditorVisible=t._setTestMode=t._setPreviewMode=t._setDashboard=t._sentry=t._search=t._report=t._reloadChecklists=t._previewChecklist=t._stopNudgeDebug=t._stopChecklistPreview=t._closeNudgeMocks=t._showNudgeStepMock=t._getDebugSnapshot=t._startNudgeDebug=t._stopRecommendationSetPreview=t._previewCopilotSettings=t._previewRecommendationSet=t._reloadHelpHub=t._reloadNudges=t._reloadPlaceholders=t._reloadOrganization=t._reloadCommands=t._reload=t._queue=t._programmaticTheme=t._perf=t._getEditorPreviewDevice=t._updateEditorPreviewDevice=t._shareEditorRouteWithBar=t._onEditorPathChange=t._loadEditor=t._isProxy=t._instanceAttributes=t._disposed=t._dispose=t._dispatch=t._configUser=t._configure=t._configuration=t._analytics=void 0,t._getActiveChat=t._setActiveChat=t._showWidgetTableau=t._setThemeV2=t._shareTrackedEvents=t._stopDebug=t._startDebug=t._updateEditorRoute=t._metaAttributes=t._eventSubscriptions=t._userProperties=void 0,t._analytics=Symbol.for("CommandBar::analytics"),t._configuration=Symbol.for("CommandBar::configuration"),t._configure=Symbol.for("CommandBar::configure"),t._configUser=Symbol.for("CommandBar::configUser"),t._dispatch=Symbol.for("CommandBar::dispatch"),t._dispose=Symbol.for("CommandBar::dispose"),t._disposed=Symbol.for("CommandBar::disposed"),t._instanceAttributes=Symbol.for("CommandBar::instanceAttributes"),t._isProxy=Symbol.for("CommandBar::isProxy"),t._loadEditor=Symbol.for("CommandBar::loadEditor"),t._onEditorPathChange=Symbol.for("CommandBar::onEditorPathChange"),t._shareEditorRouteWithBar=Symbol.for("CommandBar::shareEditorRouteWithBar"),t._updateEditorPreviewDevice=Symbol.for("CommandBar::updateEditorPreviewDevice"),t._getEditorPreviewDevice=Symbol.for("CommandBar::getEditorPreviewDevice"),t._perf=Symbol.for("CommandBar::perf"),t._programmaticTheme=Symbol.for("CommandBar::programmaticTheme"),t._queue=Symbol.for("CommandBar::queue"),t._reload=Symbol.for("CommandBar::reload"),t._reloadCommands=Symbol.for("CommandBar::reloadCommands"),t._reloadOrganization=Symbol.for("CommandBar::reloadOrganization"),t._reloadPlaceholders=Symbol.for("CommandBar::reloadPlaceholders"),t._reloadNudges=Symbol.for("CommandBar::reloadNudges"),t._reloadHelpHub=Symbol.for("CommandBar::reloadHelpHub"),t._previewRecommendationSet=Symbol.for("CommandBar::previewRecommendationSet"),t._previewCopilotSettings=Symbol.for("CommandBar::previewCopilotSettings"),t._stopRecommendationSetPreview=Symbol.for("CommandBar::stopRecommendationSetPreview"),t._startNudgeDebug=Symbol.for("CommandBar::startNudgeDebug"),t._getDebugSnapshot=Symbol.for("CommandBar::getDebugSnapshot"),t._showNudgeStepMock=Symbol.for("CommandBar::showNudgeStepMock"),t._closeNudgeMocks=Symbol.for("CommandBar::closeNudgeMocks"),t._stopChecklistPreview=Symbol.for("CommandBar::stopChecklistPreview"),t._stopNudgeDebug=Symbol.for("CommandBar::stopNudgeDebug"),t._previewChecklist=Symbol.for("CommandBar::previewChecklist"),t._reloadChecklists=Symbol.for("CommandBar::reloadChecklists"),t._report=Symbol.for("CommandBar::report"),t._search=Symbol.for("CommandBar::search"),t._sentry=Symbol.for("CommandBar::sentry"),t._setDashboard=Symbol.for("CommandBar::setDashboard"),t._setPreviewMode=Symbol.for("CommandBar::setPreviewMode"),t._setTestMode=Symbol.for("CommandBar::setTestMode"),t._setEditorVisible=Symbol.for("CommandBar::setEditorVisible"),t._shareConfig=Symbol.for("CommandBar::shareConfig"),t._shareContextSettings=Symbol.for("CommandBar::shareContextSettings"),t._shareProgrammaticCommands=Symbol.for("CommandBar::shareProgrammaticCommands"),t._showGuide=Symbol.for("CommandBar::showGuide"),t._showMessage=Symbol.for("CommandBar::showMessage"),t._state=Symbol.for("CommandBar::state"),t._unwrap=Symbol.for("CommandBar::unwrap"),t._user=Symbol.for("CommandBar::user"),t._fingerprint=Symbol.for("CommandBar::fingerprint"),t._userProperties=Symbol.for("CommandBar::userProperties"),t._eventSubscriptions=Symbol.for("CommandBar::eventSubscriptions"),t._metaAttributes=Symbol.for("CommandBar::metaAttributes"),t._updateEditorRoute=Symbol.for("CommandBar::updateEditorRoute"),t._startDebug=Symbol.for("CommandBar::startDebug"),t._stopDebug=Symbol.for("CommandBar::stopDebug"),t._shareTrackedEvents=Symbol.for("CommandBar::shareTrackedEvents"),t._setThemeV2=Symbol.for("CommandBar::setThemeV2"),t._showWidgetTableau=Symbol.for("CommandBar::showWidgetTableau"),t._setActiveChat=Symbol.for("CommandBar::setActiveChat"),t._getActiveChat=Symbol.for("CommandBar::getActiveChat")},314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispose=t.isDisposed=t.isDisposable=void 0;var o=r(207),n=function(e){return void 0!==e&&void 0!==e.dispose},i=function(e){return void 0!==e&&void 0!==e[o._dispose]};t.isDisposable=function(e){return void 0===e||n(e)||i(e)},t.isDisposed=function(e){return void 0===e||n(e)&&!0===e._disposed||i(e)&&!0===e[o._disposed]},t.dispose=function(e){void 0!==e&&(i(e)?e[o._dispose]():e.dispose())}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,r),i.exports}return r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(14)})()));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.commandbar=t():e.commandbar=t()}(this,(()=>(()=>{var e={599:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,getControlKey:()=>p});var o=r(378),n=function(){return["WINDOWS","ANDROID","LINUX"].includes(function(){if("undefined"!=typeof window){var e=window.navigator.userAgent,t=window.navigator.platform,r="MAC";return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?r="MAC":-1!==["iPhone","iPad","iPod"].indexOf(t)?r="IOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?r="WINDOWS":/Android/.test(e)?r="ANDROID":/Linux/.test(t)&&(r="LINUX"),r}}())?"Ctrl":"⌘"},i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=o.createContext&&o.createContext(i),s=function(){return s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},s.apply(this,arguments)},u=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]])}return r};function c(e){return e&&e.map((function(e,t){return o.createElement(e.tag,s({key:t},e.attr),c(e.child))}))}function l(e){return function(t){return o.createElement(f,s({attr:s({},e.attr)},t),c(e.child))}}function f(e){var t=function(t){var r,n=e.size||t.size||"1em";t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className);var i=e.attr,a=e.title,c=u(e,["attr","title"]);return o.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,c,{className:r,style:s({color:e.color||t.color},t.style,e.style),height:n,width:n,xmlns:"http://www.w3.org/2000/svg"}),a&&o.createElement("title",null,a),e.children)};return void 0!==a?o.createElement(a.Consumer,null,(function(e){return t(e)})):t(i)}function d(e){return l({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]})(e)}var p=n;const m=function(e){var t=e.text,r=e.style;return o.createElement("div",{id:"commandbar-user-launcher-component",className:"commandbar-user-launcher",style:r||{},onClick:function(){var e,t;null===(e=window)||void 0===e||null===(t=e.CommandBar)||void 0===t||t.open()}},o.createElement("div",{className:"commandbar-user-launcher__content"},o.createElement("div",{className:"commandbar-user-launcher__prefix"},o.createElement(d,null),"  ",t||"Find anything"),!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&o.createElement("div",{className:"commandbar-user-launcher__suffix"},o.createElement("span",{style:{marginRight:3},className:"commandbar-user-launcher__tag"},n()),o.createElement("span",{style:{marginRight:3}},"+"),o.createElement("span",{className:"commandbar-user-launcher__tag "},"K"))))}},296:(e,t,r)=>{"use strict";var o=r(649),n=r(413),i=r(715),a=r(416),s=r(682);(e.exports=function(e,t){var r,n,u,c,l;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],o(e)?(r=s.call(e,"c"),n=s.call(e,"e"),u=s.call(e,"w")):(r=u=!0,n=!1),l={value:t,configurable:r,enumerable:n,writable:u},c?i(a(c),l):l}).gs=function(e,t,r){var u,c,l,f;return"string"!=typeof e?(l=r,r=t,t=e,e=null):l=arguments[3],o(t)?n(t)?o(r)?n(r)||(l=r,r=void 0):r=void 0:(l=t,t=r=void 0):t=void 0,o(e)?(u=s.call(e,"c"),c=s.call(e,"e")):(u=!0,c=!1),f={get:t,set:r,configurable:u,enumerable:c},l?i(a(l),f):f}},448:e=>{"use strict";e.exports=function(){}},715:(e,t,r)=>{"use strict";e.exports=r(927)()?Object.assign:r(958)},927:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},958:(e,t,r)=>{"use strict";var o=r(700),n=r(240),i=Math.max;e.exports=function(e,t){var r,a,s,u=i(arguments.length,2);for(e=Object(n(e)),s=function(o){try{e[o]=t[o]}catch(e){r||(r=e)}},a=1;a<u;++a)o(t=arguments[a]).forEach(s);if(void 0!==r)throw r;return e}},630:(e,t,r)=>{"use strict";var o=r(448)();e.exports=function(e){return e!==o&&null!==e}},700:(e,t,r)=>{"use strict";e.exports=r(790)()?Object.keys:r(360)},790:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},360:(e,t,r)=>{"use strict";var o=r(630),n=Object.keys;e.exports=function(e){return n(o(e)?Object(e):e)}},416:(e,t,r)=>{"use strict";var o=r(630),n=Array.prototype.forEach,i=Object.create;e.exports=function(e){var t=i(null);return n.call(arguments,(function(e){o(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}},240:(e,t,r)=>{"use strict";var o=r(630);e.exports=function(e){if(!o(e))throw new TypeError("Cannot use null or undefined");return e}},682:(e,t,r)=>{"use strict";e.exports=r(974)()?String.prototype.contains:r(641)},974:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},641:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},86:(e,t,r)=>{"use strict";var o=r(84);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!o(e)}},453:(e,t,r)=>{"use strict";var o=r(649),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!o(e)&&hasOwnProperty.call(n,typeof e)}},413:(e,t,r)=>{"use strict";var o=r(86),n=/^\s*class[\s{/}]/,i=Function.prototype.toString;e.exports=function(e){return!!o(e)&&!n.test(i.call(e))}},84:(e,t,r)=>{"use strict";var o=r(453);e.exports=function(e){if(!o(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},649:e=>{"use strict";e.exports=function(e){return null!=e}},992:(e,t,r)=>{"use strict";r(98).polyfill()},98:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),o=1;o<arguments.length;o++){var n=arguments[o];if(null!=n)for(var i=Object.keys(Object(n)),a=0,s=i.length;a<s;a++){var u=i[a],c=Object.getOwnPropertyDescriptor(n,u);void 0!==c&&c.enumerable&&(r[u]=n[u])}}return r}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},769:(e,t,r)=>{"use strict";r(614)()||Object.defineProperty(r(119),"Symbol",{value:r(798),configurable:!0,enumerable:!1,writable:!0})},614:(e,t,r)=>{"use strict";var o=r(119),n={object:!0,symbol:!0};e.exports=function(){var e,t=o.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[typeof t.iterator]&&!!n[typeof t.toPrimitive]&&!!n[typeof t.toStringTag]}},64:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},573:(e,t,r)=>{"use strict";var o=r(296),n=Object.create,i=Object.defineProperty,a=Object.prototype,s=n(null);e.exports=function(e){for(var t,r,n=0;s[e+(n||"")];)++n;return s[e+=n||""]=!0,i(a,t="@@"+e,o.gs(null,(function(e){r||(r=!0,i(this,t,o(e)),r=!1)}))),t}},572:(e,t,r)=>{"use strict";var o=r(296),n=r(119).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:o("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:o("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:o("",n&&n.iterator||e("iterator")),match:o("",n&&n.match||e("match")),replace:o("",n&&n.replace||e("replace")),search:o("",n&&n.search||e("search")),species:o("",n&&n.species||e("species")),split:o("",n&&n.split||e("split")),toPrimitive:o("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:o("",n&&n.toStringTag||e("toStringTag")),unscopables:o("",n&&n.unscopables||e("unscopables"))})}},781:(e,t,r)=>{"use strict";var o=r(296),n=r(11),i=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:o((function(t){return i[t]?i[t]:i[t]=e(String(t))})),keyFor:o((function(e){var t;for(t in n(e),i)if(i[t]===e)return t}))})}},798:(e,t,r)=>{"use strict";var o,n,i,a=r(296),s=r(11),u=r(119).Symbol,c=r(573),l=r(572),f=r(781),d=Object.create,p=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),i=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return o(e)},e.exports=o=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?u(t):(r=d(n.prototype),t=void 0===t?"":String(t),p(r,{__description__:a("",t),__name__:a("",c(t))}))},l(o),f(o),p(n.prototype,{constructor:a(o),toString:a("",(function(){return this.__name__}))}),p(o.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),m(o.prototype,o.toPrimitive,a("",(function(){var e=s(this);return"symbol"==typeof e?e:e.toString()}))),m(o.prototype,o.toStringTag,a("c","Symbol")),m(n.prototype,o.toStringTag,a("c",o.prototype[o.toStringTag])),m(n.prototype,o.toPrimitive,a("c",o.prototype[o.toPrimitive]))},11:(e,t,r)=>{"use strict";var o=r(64);e.exports=function(e){if(!o(e))throw new TypeError(e+" is not a symbol");return e}},308:e=>{var t=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},119:(e,t,r)=>{"use strict";e.exports=r(801)()?globalThis:r(308)},801:e=>{"use strict";e.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))r.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var l=0;l<a.length;l++)o.call(i,a[l])&&(s[a[l]]=i[a[l]])}}return s}},656:(e,t,r)=>{"use strict";var o;(o="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?r.g:self).Proxy||(o.Proxy=r(659)(),o.Proxy.revocable=o.Proxy.revocable)},659:e=>{e.exports=function(){let e,t=null;function r(e){return!!e&&("object"==typeof e||"function"==typeof e)}function o(e){if(null!==e&&!r(e))throw new TypeError("Object prototype may only be an Object or null: "+e)}const n=Object,i=Boolean(n.create)||!({__proto__:null}instanceof n),a=n.create||(i?function(e){return o(e),{__proto__:e}}:function(e){if(o(e),null===e)throw new SyntaxError("Native Object.create is required to create objects with null prototype");var t=function(){};return t.prototype=e,new t}),s=function(){return null},u=n.getPrototypeOf||([].__proto__===Array.prototype?function(e){const t=e.__proto__;return r(t)?t:null}:s);return e=function(c,l){if(void 0===(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Constructor Proxy requires 'new'");if(!r(c)||!r(l))throw new TypeError("Cannot create proxy with a non-object as target or handler");let f=function(){};t=function(){c=null,f=function(e){throw new TypeError(`Cannot perform '${e}' on a proxy that has been revoked`)}},setTimeout((function(){t=null}),0);const d=l;l={get:null,set:null,apply:null,construct:null};for(let e in d){if(!(e in l))throw new TypeError(`Proxy polyfill does not support trap '${e}'`);l[e]=d[e]}"function"==typeof d&&(l.apply=d.apply.bind(d));const p=u(c);let m,y=!1,b=!1;"function"==typeof c?(m=function(){const e=this&&this.constructor===m,t=Array.prototype.slice.call(arguments);return f(e?"construct":"apply"),e&&l.construct?l.construct.call(this,c,t):!e&&l.apply?l.apply(c,this,t):e?(t.unshift(c),new(c.bind.apply(c,t))):c.apply(this,t)},y=!0):c instanceof Array?(m=[],b=!0):m=i||null!==p?a(p):{};const _=l.get?function(e){return f("get"),l.get(this,e,m)}:function(e){return f("get"),this[e]},v=l.set?function(e,t){f("set"),l.set(this,e,t,m)}:function(e,t){f("set"),this[e]=t},h=n.getOwnPropertyNames(c),g={};h.forEach((function(e){if((y||b)&&e in m)return;const t=n.getOwnPropertyDescriptor(c,e),r={enumerable:Boolean(t.enumerable),get:_.bind(c,e),set:v.bind(c,e)};n.defineProperty(m,e,r),g[e]=!0}));let S=!0;if(y||b){const e=n.setPrototypeOf||([].__proto__===Array.prototype?function(e,t){return o(t),e.__proto__=t,e}:s);p&&e(m,p)||(S=!1)}if(l.get||!S)for(let e in c)g[e]||n.defineProperty(m,e,{get:_.bind(c,e)});return n.seal(c),n.seal(m),m},e.revocable=function(r,o){return{proxy:new e(r,o),revoke:t}},e}},535:(e,t,r)=>{"use strict";var o=r(525),n=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;n=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function b(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}function _(){}function v(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||m}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var h=v.prototype=new _;h.constructor=v,o(h,b.prototype),h.isPureReactComponent=!0;var g={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=t[o]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===i[o]&&(i[o]=u[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:g.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,r,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var u=!1;if(null===e)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case i:u=!0}}if(u)return a=a(u=e),e=""===o?"."+E(u,0):o,Array.isArray(a)?(r="",null!=e&&(r=e.replace(P,"$&/")+"/"),j(a,t,r,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(u=0,o=""===o?".":o+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=o+E(s=e[c],c);u+=j(s,t,r,l,a)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),c=0;!(s=e.next()).done;)u+=j(s=s.value,t,r,l=o+E(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function x(e,t,r){if(null==e)return e;var o=[],n=0;return j(e,o,"","",(function(e){return t.call(r,e,n++)})),o}function B(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function A(){var e=T.current;if(null===e)throw Error(p(321));return e}var D={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:g,IsSomeRendererActing:{current:!1},assign:o};t.Children={map:x,forEach:function(e,t,r){x(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return x(e,(function(){t++})),t},toArray:function(e){return x(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error(p(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null==e)throw Error(p(267,e));var i=o({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=g.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!C.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:n,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:B}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return A().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,r){return A().useReducer(e,t,r)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.2"},378:(e,t,r)=>{"use strict";e.exports=r(535)},14:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getControlKey=t.Launcher=t.initProxy=t.init=void 0;var s=i(r(599));t.Launcher=s.default,Object.defineProperty(t,"getControlKey",{enumerable:!0,get:function(){return s.getControlKey}});var u=r(956);Object.defineProperty(t,"init",{enumerable:!0,get:function(){return a(u).default}});var c=r(737);Object.defineProperty(t,"initProxy",{enumerable:!0,get:function(){return c.initProxySDK}})},956:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),r(656),r(992),r(769);var n=r(737),i=r(207),a=function(e,t){if("complete"===document.readyState){var r=function(e,t){var r,o=t.apiOrigin||"https://api.commandbar.com",n=[],i=localStorage.getItem("commandbar.lc");if(i&&i.includes("local")&&(o="http://localhost:8000"),i&&i.includes("api=preview_")){var a=null===(r=/api=preview_([^;$]+)/.exec(i))||void 0===r?void 0:r[1];o="https://".concat(a,".commandbar.xyz:8000")}var s=o+"/latest/"+e;return i&&n.push("lc="+i),t.nonce&&n.push("nonce="+encodeURIComponent(t.nonce)),t.silentMode&&n.push("silent=true"),t.cdnOrigin&&n.push("cdn="+encodeURIComponent(t.cdnOrigin)),n.push("version=2"),s+"?"+n.join("&")}(e,t),o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=r,document.head.appendChild(o)}else window.addEventListener("load",a.bind(null,e,t),{capture:!1,once:!0})},s={debug:!1,silentMode:!1};t.default=function(e,t){var r;void 0===t&&(t=s);var u=o(o({},s),t);e?(null===(r=(0,n.getProxySDK)()[i._configuration])||void 0===r?void 0:r.uuid)?console.warn("CommandBar init was called more than once. Skipping the redundant initialization..."):(u.debug&&console.log("CommandBar init...",{environment:t.environment,version:t.version}),(0,n.getProxySDK)()[i._configuration]={api:u.apiOrigin,cdn:u.cdnOrigin,uuid:e,environment:u.environment,version:u.version,config:u.config,nonce:u.nonce,silent:u.silentMode},a(e,u)):console.error("No org specified for CommandBar.init")}},343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_META_ATTRIBUTES=t.DEFAULT_INSTANCE_ATTRIBUTES=t.PRODUCTS=t.LEGACY_INLINE_BAR=t.ASYNC_METHODS=t.ASYNC_METHODS_SNIPPET=void 0,t.ASYNC_METHODS_SNIPPET=["addCommand","boot","addEventSubscriber","addRecordAction","setFormFactor"],t.ASYNC_METHODS=["addCommand","boot","addEventSubscriber","addEventHandler","addRecordAction","setFormFactor"],t.LEGACY_INLINE_BAR={"5725a2a3":!0,ec420f00:!0,dee37b08:!0},t.PRODUCTS=["spotlight","nudges","checklists","help_hub"],t.DEFAULT_INSTANCE_ATTRIBUTES={canOpenEditor:!0,formFactor:{type:"modal"},products:["spotlight","nudges","checklists","help_hub"]},t.DEFAULT_META_ATTRIBUTES={}},737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initProxySDK=t.getProxySDK=void 0;var o=r(314),n=r(343),i=r(207);function a(){var e,t,r,o,a,s,u=window.CommandBar,c=window.CommandBar;Array.isArray(null==u?void 0:u.q)||"string"==typeof(null==u?void 0:u.uid)?(o=null==u?void 0:u.uid,a=null==u?void 0:u.q,s=null==u?void 0:u.api):(o=null===(t=null==c?void 0:c[i._configuration])||void 0===t?void 0:t.uuid,a=null==c?void 0:c[i._queue],s=null===(r=null==c?void 0:c[i._configuration])||void 0===r?void 0:r.api);var l=((e={})[i._configuration]={uuid:"string"==typeof o?o:"",api:"string"==typeof s?s:void 0},e[i._disposed]=!1,e[i._isProxy]=!0,e[i._queue]=Array.isArray(a)?a:[],e[i._unwrap]=function(){return l},e[i._eventSubscriptions]=void 0,e[i._sentry]=void 0,e),f=l;Object.assign(l,{shareCallbacks:function(){return{}},shareContext:function(){return{}}}),window.CommandBar=new Proxy(l,{get:function(e,t){return t in f?f[t]:"then"!==t?n.ASYNC_METHODS_SNIPPET.includes(t)?function(){var e=Array.prototype.slice.call(arguments);return new Promise((function(r,o){e.unshift(t,r,o),l[i._queue].push(e)}))}:function(){var e=Array.prototype.slice.call(arguments);e.unshift(t),l[i._queue].push(e)}:void 0}})}t.getProxySDK=function(){var e=window.CommandBar;return((0,o.isDisposed)(e)||"boolean"!=typeof e[i._isProxy])&&a(),window.CommandBar[i._unwrap]()},t.initProxySDK=a},207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._user=t._unwrap=t._state=t._showMessage=t._showGuide=t._shareProgrammaticCommands=t._shareContextSettings=t._shareConfig=t._setEditorVisible=t._setTestMode=t._setPreviewMode=t._setDashboard=t._sentry=t._search=t._report=t._reloadChecklists=t._previewChecklist=t._stopNudgeDebug=t._stopChecklistPreview=t._closeNudgeMocks=t._showNudgeStepMock=t._getDebugSnapshot=t._startNudgeDebug=t._stopRecommendationSetPreview=t._previewCopilotSettings=t._previewRecommendationSet=t._reloadThemes=t._reloadHelpHub=t._reloadNudges=t._reloadPlaceholders=t._reloadOrganization=t._reloadCommands=t._reload=t._queue=t._programmaticTheme=t._perf=t._getEditorPreviewDevice=t._updateEditorPreviewDevice=t._shareEditorRouteWithBar=t._onEditorPathChange=t._loadEditor=t._isProxy=t._instanceAttributes=t._disposed=t._dispose=t._dispatch=t._configUser=t._configure=t._configuration=t._analytics=void 0,t._updateEditorCopilotOverrides=t._getActiveChat=t._setActiveChat=t._showWidgetTableau=t._setThemeV2=t._shareTrackedEvents=t._stopDebug=t._startDebug=t._updateEditorRoute=t._metaAttributes=t._eventSubscriptions=t._userProperties=t._fingerprint=void 0,t._analytics=Symbol.for("CommandBar::analytics"),t._configuration=Symbol.for("CommandBar::configuration"),t._configure=Symbol.for("CommandBar::configure"),t._configUser=Symbol.for("CommandBar::configUser"),t._dispatch=Symbol.for("CommandBar::dispatch"),t._dispose=Symbol.for("CommandBar::dispose"),t._disposed=Symbol.for("CommandBar::disposed"),t._instanceAttributes=Symbol.for("CommandBar::instanceAttributes"),t._isProxy=Symbol.for("CommandBar::isProxy"),t._loadEditor=Symbol.for("CommandBar::loadEditor"),t._onEditorPathChange=Symbol.for("CommandBar::onEditorPathChange"),t._shareEditorRouteWithBar=Symbol.for("CommandBar::shareEditorRouteWithBar"),t._updateEditorPreviewDevice=Symbol.for("CommandBar::updateEditorPreviewDevice"),t._getEditorPreviewDevice=Symbol.for("CommandBar::getEditorPreviewDevice"),t._perf=Symbol.for("CommandBar::perf"),t._programmaticTheme=Symbol.for("CommandBar::programmaticTheme"),t._queue=Symbol.for("CommandBar::queue"),t._reload=Symbol.for("CommandBar::reload"),t._reloadCommands=Symbol.for("CommandBar::reloadCommands"),t._reloadOrganization=Symbol.for("CommandBar::reloadOrganization"),t._reloadPlaceholders=Symbol.for("CommandBar::reloadPlaceholders"),t._reloadNudges=Symbol.for("CommandBar::reloadNudges"),t._reloadHelpHub=Symbol.for("CommandBar::reloadHelpHub"),t._reloadThemes=Symbol.for("CommandBar::reloadThemes"),t._previewRecommendationSet=Symbol.for("CommandBar::previewRecommendationSet"),t._previewCopilotSettings=Symbol.for("CommandBar::previewCopilotSettings"),t._stopRecommendationSetPreview=Symbol.for("CommandBar::stopRecommendationSetPreview"),t._startNudgeDebug=Symbol.for("CommandBar::startNudgeDebug"),t._getDebugSnapshot=Symbol.for("CommandBar::getDebugSnapshot"),t._showNudgeStepMock=Symbol.for("CommandBar::showNudgeStepMock"),t._closeNudgeMocks=Symbol.for("CommandBar::closeNudgeMocks"),t._stopChecklistPreview=Symbol.for("CommandBar::stopChecklistPreview"),t._stopNudgeDebug=Symbol.for("CommandBar::stopNudgeDebug"),t._previewChecklist=Symbol.for("CommandBar::previewChecklist"),t._reloadChecklists=Symbol.for("CommandBar::reloadChecklists"),t._report=Symbol.for("CommandBar::report"),t._search=Symbol.for("CommandBar::search"),t._sentry=Symbol.for("CommandBar::sentry"),t._setDashboard=Symbol.for("CommandBar::setDashboard"),t._setPreviewMode=Symbol.for("CommandBar::setPreviewMode"),t._setTestMode=Symbol.for("CommandBar::setTestMode"),t._setEditorVisible=Symbol.for("CommandBar::setEditorVisible"),t._shareConfig=Symbol.for("CommandBar::shareConfig"),t._shareContextSettings=Symbol.for("CommandBar::shareContextSettings"),t._shareProgrammaticCommands=Symbol.for("CommandBar::shareProgrammaticCommands"),t._showGuide=Symbol.for("CommandBar::showGuide"),t._showMessage=Symbol.for("CommandBar::showMessage"),t._state=Symbol.for("CommandBar::state"),t._unwrap=Symbol.for("CommandBar::unwrap"),t._user=Symbol.for("CommandBar::user"),t._fingerprint=Symbol.for("CommandBar::fingerprint"),t._userProperties=Symbol.for("CommandBar::userProperties"),t._eventSubscriptions=Symbol.for("CommandBar::eventSubscriptions"),t._metaAttributes=Symbol.for("CommandBar::metaAttributes"),t._updateEditorRoute=Symbol.for("CommandBar::updateEditorRoute"),t._startDebug=Symbol.for("CommandBar::startDebug"),t._stopDebug=Symbol.for("CommandBar::stopDebug"),t._shareTrackedEvents=Symbol.for("CommandBar::shareTrackedEvents"),t._setThemeV2=Symbol.for("CommandBar::setThemeV2"),t._showWidgetTableau=Symbol.for("CommandBar::showWidgetTableau"),t._setActiveChat=Symbol.for("CommandBar::setActiveChat"),t._getActiveChat=Symbol.for("CommandBar::getActiveChat"),t._updateEditorCopilotOverrides=Symbol.for("CommandBar::updateEditorCopilotOverrides")},314:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispose=t.isDisposed=t.isDisposable=void 0;var o=r(207),n=function(e){return void 0!==e&&void 0!==e.dispose},i=function(e){return void 0!==e&&void 0!==e[o._dispose]};t.isDisposable=function(e){return void 0===e||n(e)||i(e)},t.isDisposed=function(e){return void 0===e||n(e)&&!0===e._disposed||i(e)&&!0===e[o._disposed]},t.dispose=function(e){void 0!==e&&(i(e)?e[o._dispose]():e.dispose())}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,r),i.exports}return r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(14)})()));
import 'proxy-polyfill';
import 'es6-object-assign/auto';
import 'es6-symbol/implement';
import { IInitOptions } from '../../internal/src/middleware/types';
export type IInitOptions = {
apiOrigin?: string;
cdnOrigin?: string;
debug?: boolean;
environment?: string;
version?: string;
config?: any;
nonce?: string;
silentMode?: boolean;
};
/**

@@ -6,0 +15,0 @@ * Initializes CommandBar and injects the scripts required to load it into the <head> of the document. After calling

@@ -218,2 +218,4 @@ import { IPushTrigger, ITemplate } from '../../../../../internal/src/middleware/types';

id: number;
} | {
type: 'copilot';
};

@@ -220,0 +222,0 @@ export interface CommandExecutionEvent {

@@ -15,2 +15,5 @@ import { ICommandFromClientType } from '../middleware/ICommandFromClientType';

export declare const ASYNC_METHODS: Array<keyof CommandBarClientSDK>;
export declare const LEGACY_INLINE_BAR: {
[org_uuid: string]: boolean;
};
export type BootOptions = string | null | undefined | (UserProperties & {

@@ -66,2 +69,3 @@ id: string | null | undefined;

userTimezone?: string;
impersonateMode?: boolean;
};

@@ -68,0 +72,0 @@ export type MetaAttributes = {

@@ -1,4 +0,3 @@

import { SDKConfig } from './CommandBarSDK';
import { SDKConfig } from './SDKConfig';
import { _configuration, _disposed, _isProxy, _queue, _sentry, _unwrap, _eventSubscriptions } from './symbols';
import type { Hub } from '@sentry/browser';
/**

@@ -42,3 +41,3 @@ * A proxy object that absorbs function calls into a queue that can be later consumed. The queue contains the name of

[_configuration]?: Partial<SDKConfig>;
[_sentry]: Hub | undefined;
[_sentry]: unknown | undefined;
[_eventSubscriptions]: undefined;

@@ -45,0 +44,0 @@ }

@@ -14,4 +14,5 @@ export interface SDKConfig {

nonce?: string;
studioImpersonateMode?: boolean;
silent?: boolean;
eventAttributeBlockList?: string[];
}

@@ -24,2 +24,3 @@ export declare const _analytics: unique symbol;

export declare const _reloadHelpHub: unique symbol;
export declare const _reloadThemes: unique symbol;
export declare const _previewRecommendationSet: unique symbol;

@@ -63,1 +64,2 @@ export declare const _previewCopilotSettings: unique symbol;

export declare const _getActiveChat: unique symbol;
export declare const _updateEditorCopilotOverrides: unique symbol;

@@ -40,2 +40,7 @@ import * as t from 'io-ts';

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -62,5 +67,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
show_as_primary_cta: t.BooleanC;

@@ -106,2 +113,7 @@ }>, t.PartialC<{}>]>]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -128,5 +140,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
show_as_primary_cta: t.BooleanC;

@@ -143,3 +157,14 @@ }>, t.PartialC<{}>]>]>>;

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -152,21 +177,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -179,4 +200,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -187,2 +206,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -195,7 +216,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -211,3 +232,14 @@ } & {};

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -220,21 +252,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -247,4 +275,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -255,2 +281,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -263,7 +291,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -279,3 +307,14 @@ } & {})[]>;

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -288,21 +327,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -315,4 +350,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -323,2 +356,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -331,7 +366,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -346,3 +381,14 @@ } & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{} & {

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -355,21 +401,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -382,4 +424,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -390,2 +430,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -398,7 +440,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -415,3 +457,14 @@ } & {}>;

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -424,21 +477,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -451,4 +500,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -459,2 +506,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -467,7 +516,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -482,3 +531,14 @@ } & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{} & {

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -491,21 +551,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -518,4 +574,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -526,2 +580,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -534,7 +590,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;

@@ -551,3 +607,14 @@ } & {}>;

label: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -560,21 +627,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -587,4 +650,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -595,2 +656,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -603,9 +666,9 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
show_as_primary_cta: boolean;
} & {})[];
}>;

@@ -31,3 +31,3 @@ import * as t from 'io-ts';

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -54,3 +54,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -76,3 +76,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -99,3 +99,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -121,3 +121,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -145,3 +145,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -171,3 +171,3 @@ body: string;

description: string;
method: "POST" | "PUT" | "GET" | "PATCH" | "DELETE";
method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
url: string;

@@ -174,0 +174,0 @@ body: string;

@@ -58,2 +58,7 @@ import * as t from 'io-ts';

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -80,5 +85,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
celebrate: t.BooleanC;

@@ -194,2 +201,7 @@ }>, t.PartialC<{

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -216,5 +228,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
celebrate: t.BooleanC;

@@ -348,2 +362,7 @@ }>, t.PartialC<{

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -370,5 +389,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
celebrate: t.BooleanC;

@@ -489,3 +510,14 @@ }>, t.PartialC<{

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -498,21 +530,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -525,4 +553,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -533,2 +559,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -541,7 +569,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -661,3 +689,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -670,21 +709,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -697,4 +732,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -705,2 +738,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -713,7 +748,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -832,3 +867,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -841,21 +887,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -868,4 +910,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -876,2 +916,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -884,7 +926,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -1004,3 +1046,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -1013,21 +1066,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -1040,4 +1089,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -1048,2 +1095,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -1056,7 +1105,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -1175,3 +1224,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -1184,21 +1244,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -1211,4 +1267,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -1219,2 +1273,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -1227,7 +1283,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -1348,3 +1404,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -1357,21 +1424,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -1384,4 +1447,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -1392,2 +1453,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -1400,7 +1463,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -1523,3 +1586,14 @@ } & {

});
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -1532,21 +1606,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -1559,4 +1629,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -1567,2 +1635,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -1575,7 +1645,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
celebrate: boolean;

@@ -1582,0 +1652,0 @@ } & {

@@ -209,2 +209,4 @@ import * as t from 'io-ts';

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -278,2 +280,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -280,0 +284,0 @@ isFalse: null;

import * as t from 'io-ts';
import { UserProperties } from '../client/CommandBarClientSDK';
import { IDecideResponseType, IEndUserType } from './types';
export declare const ChecklistInteractionStateV: t.IntersectionC<[t.PartialC<{

@@ -105,31 +103,1 @@ isSkipped: t.BooleanC;

}>, t.UndefinedC, t.NullC]>;
export declare const addDeviceProperties: (properties: UserProperties) => UserProperties;
export declare const EndUser: {
preferences: (_identifier: string | null | undefined, _hmac: string) => Promise<never>;
decide: (orgId: string | number, distinctId: string | null | undefined, options: {
properties?: UserProperties;
envOverride: {
env: string;
} | {
version: string;
} | null;
env: string | null;
version?: string;
}) => Promise<IDecideResponseType | null>;
identify: (orgId: string | number, distinctId: string, options: {
properties?: UserProperties;
}, hmac?: string) => Promise<IEndUserType | null>;
};
export declare function getEnvOrVersion({ envOverride, env, version, }: {
envOverride?: {
env: string;
} | {
version: string;
} | null;
env?: string | null;
version?: string | null;
}): {
env: string;
} | {
version: string;
};

@@ -23,11 +23,14 @@ /**

'segment-webhook-destination': boolean;
'show-zendesk-integration-v-2-modal': boolean;
'amplitude-audience-integration': boolean;
'zendesk-inline-handoff': boolean;
'release-audiences-ui-v-2': boolean;
'release-copilot-attachments': boolean;
'release-copilot-impersonate-users': boolean;
'release-copilot-action-audience': boolean;
'enable-when-element-appears-trigger': boolean;
'release-audience-size-estimation': boolean;
'release-copilot-avatar-cdn': boolean;
'release-chat-history': boolean;
'release-zoho-work-drive-integration': boolean;
'switch-open-help-doc-in-new-tab': boolean;
};
export declare const defaultFlags: Flags;
export declare const fetchFlags: (orgID: string) => Promise<Flags>;
import * as t from 'io-ts';
import { LabeledAction } from '../types';
import { ChatHandoffActionType, IOrganizationType, LabeledAction } from '../types';
export declare const AdminAction: t.TypeC<{

@@ -20,5 +20,7 @@ type: t.LiteralC<"admin">;

}>;
export declare const OpenCopilotAction: t.TypeC<{
export declare const OpenCopilotAction: t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>;
}>, t.PartialC<{
query: t.StringC;
}>]>;
export declare const LinkAction: t.IntersectionC<[t.TypeC<{

@@ -40,2 +42,10 @@ type: t.LiteralC<"link">;

}>;
export declare const ChatHandoffActionTypeV: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
export declare const ChatHandoffActionV: t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>;
export declare const handoffNameToOrgKey: Record<Exclude<ChatHandoffActionType, ''>, keyof IOrganizationType['integrations']>;
export declare const DismissAction: t.TypeC<{

@@ -145,2 +155,7 @@ type: t.LiteralC<"dismiss">;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -167,5 +182,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
export declare const LabeledActionV: t.TypeC<{

@@ -202,2 +219,7 @@ cta: t.StringC;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -224,9 +246,22 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>;
export declare const isAction: (o: string | number | LabeledAction) => o is {
cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -239,21 +274,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -266,4 +297,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -274,2 +303,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -282,7 +313,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
};

@@ -343,2 +374,7 @@ export declare const RequestV: t.IntersectionC<[t.TypeC<{

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -365,5 +401,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>;

@@ -184,2 +184,7 @@ /*******************************************************************************/

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -206,5 +211,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{

@@ -378,2 +385,7 @@ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -400,5 +412,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{

@@ -405,0 +419,0 @@ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;

import * as t from 'io-ts';
import { IRecommendationSet } from '../types';
export declare const listOperators: readonly ["includes", "doesNotInclude"];
export declare const listOperators: readonly ["isInList", "isNotInList"];
export declare const legacyListOperators: readonly ["includes", "doesNotInclude"];
export declare const equalityOperators: readonly ["is", "isNot"];
export declare const numericOperators: readonly ["isGreaterThan", "isLessThan"];
export declare const operators: readonly ["isTrue", "isFalse", "isTruthy", "isFalsy", "startsWith", "endsWith", "matchesRegex", "isDefined", "isNotDefined", "classnameOnPage", "idOnPage", "selectorOnPage", "classnameNotOnPage", "idNotOnPage", "selectorNotOnPage", "includes", "doesNotInclude", "is", "isNot", "isGreaterThan", "isLessThan"];
export declare const operators: readonly ["isInList", "isNotInList", "isTrue", "isFalse", "isTruthy", "isFalsy", "startsWith", "endsWith", "matchesRegex", "isDefined", "isNotDefined", "classnameOnPage", "idOnPage", "selectorOnPage", "classnameNotOnPage", "idNotOnPage", "selectorNotOnPage", "includes", "doesNotInclude", "is", "isNot", "isGreaterThan", "isLessThan"];
export declare const OperatorV: t.KeyofC<{

@@ -12,2 +13,4 @@ includes: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -91,2 +94,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -143,2 +148,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -247,2 +254,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -316,2 +325,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -377,2 +388,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -451,2 +464,4 @@ isFalse: null;

is: null;
isInList: null;
isNotInList: null;
isTrue: null;

@@ -552,4 +567,4 @@ isFalse: null;

export declare const isABTestCondition: (condition: ExpressionCondition) => condition is {
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
} & {

@@ -556,0 +571,0 @@ field?: string | undefined;

@@ -48,2 +48,7 @@ import * as t from 'io-ts';

copilot_avatar: t.StringC;
copilot_avatar_v2: t.UnionC<[t.TypeC<{
src: t.StringC;
file_name: t.StringC;
size: t.StringC;
}>, t.NullC]>;
copilot_personality: t.UnionC<[t.TypeC<{

@@ -57,2 +62,3 @@ template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;

}>]>;
copilot_chat_history_enabled: t.BooleanC;
helphub_enabled: t.BooleanC;

@@ -101,2 +107,7 @@ helphub_launcher_type: t.UnionC<[t.LiteralC<"bookOpen">, t.LiteralC<"graduationHat">, t.LiteralC<"bookClosed">, t.LiteralC<"bookmark">, t.LiteralC<"chatCircle">, t.LiteralC<"askAI">, t.LiteralC<"custom">, t.LiteralC<"none">]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -123,5 +134,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;

@@ -162,2 +175,7 @@ helphub_search_action: t.UnionC<[t.LiteralC<"search">, t.LiteralC<"ask">]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -184,5 +202,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;

@@ -267,2 +287,7 @@ nudge_rate_limit: t.UnionC<[t.NullC, t.NumberC]>;

copilot_avatar: string;
copilot_avatar_v2: {
src: string;
file_name: string;
size: string;
} | null;
copilot_personality: {

@@ -276,10 +301,11 @@ template: "professional" | "friendly" | "confident" | "serious" | "empathetic";

};
copilot_chat_history_enabled: boolean;
helphub_enabled: boolean;
helphub_launcher_type: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI";
helphub_launcher_position: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
helphub_launcher_offset_x: number;
helphub_launcher_offset_y: number;
helphub_launcher_anchor: string;
helphub_mobile_launcher_type: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI";
helphub_mobile_launcher_position: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
helphub_mobile_launcher_offset_x: number;

@@ -291,3 +317,14 @@ helphub_mobile_launcher_offset_y: number;

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -300,21 +337,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -327,4 +360,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -335,2 +366,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -343,7 +376,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[];

@@ -355,3 +388,14 @@ helphub_search_action: "search" | "ask";

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -364,21 +408,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -391,4 +431,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -399,2 +437,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -407,7 +447,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[];

@@ -486,2 +526,7 @@ nudge_rate_limit: number | null;

copilot_avatar?: string | undefined;
copilot_avatar_v2?: {
src: string;
file_name: string;
size: string;
} | null | undefined;
copilot_personality?: {

@@ -495,10 +540,11 @@ template: "professional" | "friendly" | "confident" | "serious" | "empathetic";

} | undefined;
copilot_chat_history_enabled?: boolean | undefined;
helphub_enabled?: boolean | undefined;
helphub_launcher_type?: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI" | undefined;
helphub_launcher_position?: "bottomRight" | "bottomLeft" | "topRight" | "topLeft" | undefined;
helphub_launcher_type?: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI" | undefined;
helphub_launcher_position?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | undefined;
helphub_launcher_offset_x?: number | undefined;
helphub_launcher_offset_y?: number | undefined;
helphub_launcher_anchor?: string | undefined;
helphub_mobile_launcher_type?: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI" | undefined;
helphub_mobile_launcher_position?: "bottomRight" | "bottomLeft" | "topRight" | "topLeft" | undefined;
helphub_mobile_launcher_type?: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI" | undefined;
helphub_mobile_launcher_position?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | undefined;
helphub_mobile_launcher_offset_x?: number | undefined;

@@ -510,3 +556,14 @@ helphub_mobile_launcher_offset_y?: number | undefined;

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -519,21 +576,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -546,4 +599,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -554,2 +605,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -562,7 +615,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[] | undefined;

@@ -574,3 +627,14 @@ helphub_search_action?: "search" | "ask" | undefined;

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -583,21 +647,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -610,4 +670,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -618,2 +676,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -626,7 +686,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[] | undefined;

@@ -707,2 +767,7 @@ nudge_rate_limit?: number | null | undefined;

copilot_avatar: string;
copilot_avatar_v2: {
src: string;
file_name: string;
size: string;
} | null;
copilot_personality: {

@@ -716,10 +781,11 @@ template: "professional" | "friendly" | "confident" | "serious" | "empathetic";

};
copilot_chat_history_enabled: boolean;
helphub_enabled: boolean;
helphub_launcher_type: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI";
helphub_launcher_position: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
helphub_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
helphub_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
helphub_launcher_offset_x: number;
helphub_launcher_offset_y: number;
helphub_launcher_anchor: string;
helphub_mobile_launcher_type: "none" | "custom" | "bookClosed" | "bookOpen" | "graduationHat" | "bookmark" | "chatCircle" | "askAI";
helphub_mobile_launcher_position: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
helphub_mobile_launcher_type: "none" | "custom" | "bookOpen" | "graduationHat" | "bookClosed" | "bookmark" | "chatCircle" | "askAI";
helphub_mobile_launcher_position: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
helphub_mobile_launcher_offset_x: number;

@@ -731,3 +797,14 @@ helphub_mobile_launcher_offset_y: number;

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -740,21 +817,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -767,4 +840,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -775,2 +846,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -783,7 +856,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[];

@@ -795,3 +868,14 @@ helphub_search_action: "search" | "ask";

cta: string;
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -804,21 +888,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -831,4 +911,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -839,2 +917,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -847,7 +927,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
}[];

@@ -854,0 +934,0 @@ nudge_rate_limit: number | null;

@@ -161,2 +161,7 @@ import * as t from 'io-ts';

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -183,8 +188,11 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;
helphub_search_action: t.UnionC<[t.LiteralC<"search">, t.LiteralC<"ask">]>;
helphub_custom_theme: t.UnionC<[t.StringC, t.NullC]>;
copilot_chat_history_enabled: t.BooleanC;
copilot_negative_feedback_fallback_enabled: t.BooleanC;

@@ -223,2 +231,7 @@ copilot_negative_feedback_fallback_message: t.UnionC<[t.StringC, t.NullC]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -245,5 +258,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;

@@ -253,2 +268,7 @@ helphub_manual_suggested_queries: t.ArrayC<t.StringC>;

copilot_avatar: t.StringC;
copilot_avatar_v2: t.UnionC<[t.TypeC<{
src: t.StringC;
file_name: t.StringC;
size: t.StringC;
}>, t.NullC]>;
copilot_personality: t.UnionC<[t.TypeC<{

@@ -318,2 +338,6 @@ template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;

}>;
intercom: t.PartialC<{
enabled: t.BooleanC;
token: t.StringC;
}>;
}>;

@@ -521,2 +545,7 @@ copilot_enabled: t.BooleanC;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -543,8 +572,11 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;
helphub_search_action: t.UnionC<[t.LiteralC<"search">, t.LiteralC<"ask">]>;
helphub_custom_theme: t.UnionC<[t.StringC, t.NullC]>;
copilot_chat_history_enabled: t.BooleanC;
copilot_negative_feedback_fallback_enabled: t.BooleanC;

@@ -583,2 +615,7 @@ copilot_negative_feedback_fallback_message: t.UnionC<[t.StringC, t.NullC]>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -605,5 +642,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
}>>;

@@ -613,2 +652,7 @@ helphub_manual_suggested_queries: t.ArrayC<t.StringC>;

copilot_avatar: t.StringC;
copilot_avatar_v2: t.UnionC<[t.TypeC<{
src: t.StringC;
file_name: t.StringC;
size: t.StringC;
}>, t.NullC]>;
copilot_personality: t.UnionC<[t.TypeC<{

@@ -678,2 +722,6 @@ template: t.UnionC<[t.LiteralC<"professional">, t.LiteralC<"friendly">, t.LiteralC<"confident">, t.LiteralC<"serious">, t.LiteralC<"empathetic">]>;

}>;
intercom: t.PartialC<{
enabled: t.BooleanC;
token: t.StringC;
}>;
}>;

@@ -680,0 +728,0 @@ copilot_enabled: t.BooleanC;

@@ -16,3 +16,3 @@ import * as t from 'io-ts';

is_active: boolean;
role: "admin" | "editor" | "contributor" | "viewer";
role: "editor" | "admin" | "contributor" | "viewer";
first_name: string;

@@ -19,0 +19,0 @@ last_name: string;

@@ -54,2 +54,7 @@ import * as t from 'io-ts';

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -76,5 +81,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
cta: t.StringC;

@@ -135,2 +142,7 @@ }>>;

}>, t.TypeC<{
type: t.LiteralC<"chat_handoff">;
meta: t.TypeC<{
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"freshchat">, t.LiteralC<"zendesk">, t.LiteralC<"">]>;
}>;
}>, t.TypeC<{
type: t.LiteralC<"dismiss">;

@@ -157,5 +169,7 @@ }>, t.TypeC<{

type: t.LiteralC<"open_helphub">;
}>, t.TypeC<{
}>, t.IntersectionC<[t.TypeC<{
type: t.LiteralC<"open_copilot">;
}>]>;
}>, t.PartialC<{
query: t.StringC;
}>]>]>;
cta: t.StringC;

@@ -188,3 +202,14 @@ }>>;

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -197,21 +222,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -224,4 +245,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -232,2 +251,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -240,7 +261,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -272,3 +293,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -281,21 +313,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -308,4 +336,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -316,2 +342,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -324,7 +352,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -355,3 +383,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -364,21 +403,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -391,4 +426,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -399,2 +432,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -407,7 +442,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -439,3 +474,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -448,21 +494,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -475,4 +517,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -483,2 +523,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -491,7 +533,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -522,3 +564,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -531,21 +584,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -558,4 +607,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -566,2 +613,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -574,7 +623,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -607,3 +656,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -616,21 +676,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -643,4 +699,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -651,2 +705,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -659,7 +715,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -694,3 +750,14 @@ }[];

actions: {
action: {
action: ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | {
type: "execute_command";

@@ -703,21 +770,17 @@ meta: {

} | {
type: "no_action";
} | {
type: "click";
value: string;
} | {
type: "click" | "clickBySelector" | "clickByXpath";
value: string[];
} | ({
type: "link";
value: string;
} & {
operation?: "self" | "router" | "blank" | undefined;
meta?: {
command: string;
} | undefined;
}) | {
type: "open_chat";
meta: {
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
type: "" | "hubspot" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "drift" | "pylon" | "zendesk_handoff";
};
} | {
type: "chat_handoff";
meta: {
type: "" | "intercom" | "freshchat" | "zendesk";
};
} | {
type: "dismiss";

@@ -730,4 +793,2 @@ } | {

} | {
type: "step_back";
} | {
type: "nudge";

@@ -738,2 +799,4 @@ value: number;

value: number;
} | {
type: "step_back";
} | ({

@@ -746,7 +809,7 @@ type: "open_bar";

type: "open_helphub";
} | {
} | ({
type: "open_copilot";
} | {
type: "no_action";
};
} & {
query?: string | undefined;
});
cta: string;

@@ -753,0 +816,0 @@ }[];

import * as t from 'io-ts';
import { WidgetTableauSelection } from '../middleware/types';
export declare const ThemeModeV: t.TypeC<{

@@ -95,2 +96,5 @@ var_defaults: t.RecordC<t.StringC, t.UnionC<[t.StringC, t.NumberC]>>;

}>;
export declare const ThemeSlugReponseV: t.TypeC<{
slug: t.StringC;
}>;
export declare class Theme {

@@ -513,2 +517,5 @@ static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{

};
static getDefaultThemeSlug: (widgetType: WidgetTableauSelection['type'], widgetId?: number | string) => Promise<{
slug: string;
}>;
}

@@ -1,2 +0,1 @@

/*******************************************************************************/
import * as t from 'io-ts';

@@ -8,3 +7,3 @@ import { BatchEditorCommandResponseV, BatchOperationV, CommandV, EditorCommandV, EditorCommandLiteV, CommandLiteV, ContentTypeV } from './command';

import { TemplateV, TemplateOptionsV, RequestTemplateV, VideoTemplateV } from './helpers/commandTemplate';
import { ActionV, CommandActionV, LabeledActionV, OpenChatActionV, NudgeActionV, QuestlistActionV, RequestV, OpenChatActionTypeV, CommandActionMetaTypeV } from './helpers/actions';
import { ActionV, CommandActionV, LabeledActionV, OpenChatActionV, NudgeActionV, QuestlistActionV, RequestV, OpenChatActionTypeV, CommandActionMetaTypeV, ChatHandoffActionV, ChatHandoffActionTypeV } from './helpers/actions';
import { CommandCategoryV } from './commandCategory';

@@ -35,3 +34,3 @@ import { OrganizationStatusV, KeyEventV, RecordSettingsByContextKeyV, InternalSettingsV, OrganizationV } from './organization';

import { BillingProfileV, UsageV } from './billing';
import { UserMessageV, AIMessageV, AIMessageExtraV, MessageV, AIAnswerPayloadV, AIAnswerV, ContinuationsPayloadV, ContinuationV, CreateAnswerFeedbackPayloadV, QuestionSuggestionsPayloadV, QuestionSuggestionsV, ExperienceV, CreateChatPayloadV, ChatV, CopilotSettingsPreviewV, HandoffPayloadV, ExternalChatPayloadV, ExternalChatHistoryV, UserAttachmentV } from './chat';
import { UserMessageV, AIMessageV, AIMessageExtraV, MessageV, AIAnswerPayloadV, AIAnswerV, ContinuationsPayloadV, ContinuationV, CreateAnswerFeedbackPayloadV, QuestionSuggestionsPayloadV, QuestionSuggestionsV, ExperienceV, CreateChatPayloadV, ChatV, CopilotSettingsPreviewV, HandoffPayloadV, ExternalChatPayloadV, ExternalChatHistoryV, ChatOwnershipV, UserAttachmentV, SourceDocV } from './chat';
import { HelpDocHitV, SearchHelpDocsPayloadV, SearchHelpDocsResponseV } from './helpDocsSearch';

@@ -49,19 +48,2 @@ import { ExperienceHitV, ExperienceTypeOptions, SearchExperiencesPayloadV, SearchExperiencesResponseV } from './experiencesSearch';

/*******************************************************************************/
export type IInitOptions = {
apiOrigin?: string;
cdnOrigin?: string;
debug?: boolean;
environment?: string;
version?: string;
config?: any;
nonce?: string;
silentMode?: boolean;
};
/** Additional foobar init options */
export declare const SUPPORTED_FOOBAR_INIT_DEPLOYMENT_OPTIONS: readonly ["dev", "labs", "prod"];
export type IInitOptionsFoobar = IInitOptions & {
deployment?: (typeof SUPPORTED_FOOBAR_INIT_DEPLOYMENT_OPTIONS)[number];
disable_analytics?: boolean;
};
/*******************************************************************************/
export type IContextType = t.TypeOf<typeof ContextV> & unknown;

@@ -139,2 +121,7 @@ export type IUserType = t.TypeOf<typeof UserV> & unknown;

};
export type INudgeCursorStepType = INudgePinStepType & {
form_factor: {
copilot_intro: true;
};
};
export type INudgeAnchorableStepType = INudgeTooltipStepType | INudgePinStepType;

@@ -164,2 +151,4 @@ export type INudgeStepContentBlockType = t.TypeOf<typeof NudgeContentBlockV> & unknown;

export type OpenChatActionType = t.TypeOf<typeof OpenChatActionTypeV> & unknown;
export type ChatHandoffAction = t.TypeOf<typeof ChatHandoffActionV> & unknown;
export type ChatHandoffActionType = t.TypeOf<typeof ChatHandoffActionTypeV> & unknown;
export type QuestlistAction = t.TypeOf<typeof QuestlistActionV> & unknown;

@@ -192,2 +181,3 @@ export type NudgeAction = t.TypeOf<typeof NudgeActionV> & unknown;

export type IContinuationType = t.TypeOf<typeof ContinuationV> & unknown;
export type ISourceDocType = t.TypeOf<typeof SourceDocV> & unknown;
export type IExperienceType = t.TypeOf<typeof ExperienceV> & unknown;

@@ -200,2 +190,3 @@ export type IContinuationsPayloadType = t.TypeOf<typeof ContinuationsPayloadV> & unknown;

export type IExternalChatHistoryType = t.TypeOf<typeof ExternalChatHistoryV> & unknown;
export type IChatOwnershipType = t.TypeOf<typeof ChatOwnershipV> & unknown;
export type ICreateAnswerFeedbackPayloadType = t.TypeOf<typeof CreateAnswerFeedbackPayloadV> & unknown;

@@ -307,1 +298,6 @@ export type ISearchHelpDocsPayloadType = t.TypeOf<typeof SearchHelpDocsPayloadV> & unknown;

export declare const isSurveyBlock: (block: INudgeStepContentBlockType) => block is INudgeStepSurveyBlockType;
export type WidgetTableauSelection = {
type: 'all' | 'nudge' | 'checklist' | 'spotlight' | 'helphub' | 'copilot';
id: string | number;
nudgeStepIndex?: number;
};
{
"name": "commandbar",
"version": "1.13.0",
"version": "1.13.1",
"description": "Javascript Utility for CommandBar",

@@ -5,0 +5,0 @@ "main": "build/commandbar-js/src/index.js",

@@ -6,3 +6,2 @@ import 'proxy-polyfill';

import { _configuration } from '../../internal/src/client/symbols';
import { IInitOptions } from '../../internal/src/middleware/types';

@@ -14,3 +13,3 @@ const getSrc = (org: string, opts: IInitOptions) => {

const lc = localStorage.getItem('commandbar.lc');
if (lc && lc.includes('api=local')) {
if (lc && lc.includes('local')) {
// for debugging purposes

@@ -65,2 +64,14 @@ origin = 'http://localhost:8000';

export type IInitOptions = {
apiOrigin?: string;
cdnOrigin?: string;
debug?: boolean;
environment?: string;
version?: string;
config?: any;
nonce?: string;
silentMode?: boolean;
};
const DEFAULT_OPTS = {

@@ -67,0 +78,0 @@ debug: false,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc