@servicetitan/feature-spotlight 2.1.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ModalProps } from '@servicetitan/design-system';
3
+ export declare const FeatureModal: FC<ModalProps>;
4
+ //# sourceMappingURL=feature-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-modal.d.ts","sourceRoot":"","sources":["../../src/components/feature-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAS,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGhE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,UAAU,CAEvC,CAAC"}
@@ -0,0 +1,20 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import classNames from 'classnames';
14
+ import { Modal } from '@servicetitan/design-system';
15
+ import * as Styles from '../feature-spotlight.module.css';
16
+ export const FeatureModal = (_a) => {
17
+ var rest = __rest(_a, []);
18
+ return _jsx(Modal, Object.assign({ className: classNames(Styles.featureModalHeader) }, rest));
19
+ };
20
+ //# sourceMappingURL=feature-modal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-modal.js","sourceRoot":"","sources":["../../src/components/feature-modal.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAc,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAE1D,MAAM,CAAC,MAAM,YAAY,GAAmB,CAAC,EAAW,EAAE,EAAE;QAAV,IAAI,cAAT,EAAW,CAAF;IAClD,OAAO,KAAC,KAAK,kBAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAM,IAAI,EAAI,CAAC;AACjF,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { PopoverProps } from '@servicetitan/design-system';
3
+ export interface FeaturePopoverProps extends PopoverProps {
4
+ footer?: PopoverProps['footer'];
5
+ header?: PopoverProps['header'];
6
+ children?: PopoverProps['children'];
7
+ }
8
+ export declare const FeaturePopover: FC<FeaturePopoverProps>;
9
+ //# sourceMappingURL=feature-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-popover.d.ts","sourceRoot":"","sources":["../../src/components/feature-popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAW,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAGpE,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACrD,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAqBlD,CAAC"}
@@ -0,0 +1,20 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import classNames from 'classnames';
14
+ import { Popover } from '@servicetitan/design-system';
15
+ import * as Styles from '../feature-spotlight.module.css';
16
+ export const FeaturePopover = (_a) => {
17
+ var { children, footer, header } = _a, rest = __rest(_a, ["children", "footer", "header"]);
18
+ return (_jsxs(Popover, Object.assign({ className: classNames(Styles.featurePopover), caret: { show: true, className: Styles.featurePopoverCaret }, padding: "m" }, rest, { children: [header && (_jsx(Popover.Header, Object.assign({ className: classNames(Styles.featurePopoverHeader) }, { children: header }))), children, footer && (_jsx(Popover.Footer, Object.assign({ className: classNames(Styles.featurePopoverFooter), align: "right" }, { children: footer })))] })));
19
+ };
20
+ //# sourceMappingURL=feature-popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-popover.js","sourceRoot":"","sources":["../../src/components/feature-popover.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAgB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAQ1D,MAAM,CAAC,MAAM,cAAc,GAA4B,CAAC,EAAqC,EAAE,EAAE;QAAzC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAW,EAAN,IAAI,cAAnC,gCAAqC,CAAF;IACvF,OAAO,CACH,MAAC,OAAO,kBACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,EAC5C,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,mBAAmB,EAAE,EAC5D,OAAO,EAAC,GAAG,IACP,IAAI,eAEP,MAAM,IAAI,CACP,KAAC,OAAO,CAAC,MAAM,kBAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,oBAAoB,CAAC,gBAC7D,MAAM,IACM,CACpB,EACA,QAAQ,EACR,MAAM,IAAI,CACP,KAAC,OAAO,CAAC,MAAM,kBAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,KAAK,EAAC,OAAO,gBAC5E,MAAM,IACM,CACpB,KACK,CACb,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { ToastProps } from '@servicetitan/design-system';
3
+ export interface FeatureToastProps extends ToastProps {
4
+ center?: boolean;
5
+ }
6
+ export declare const FeatureToast: FC<FeatureToastProps>;
7
+ //# sourceMappingURL=feature-toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-toast.d.ts","sourceRoot":"","sources":["../../src/components/feature-toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAS,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGhE,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAO9C,CAAC"}
@@ -0,0 +1,20 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import classNames from 'classnames';
14
+ import { Toast } from '@servicetitan/design-system';
15
+ import * as Styles from '../feature-spotlight.module.css';
16
+ export const FeatureToast = (_a) => {
17
+ var { center } = _a, rest = __rest(_a, ["center"]);
18
+ return (_jsx(Toast, Object.assign({ className: classNames(Styles.featureToast, center && Styles.featureToastCenter) }, rest)));
19
+ };
20
+ //# sourceMappingURL=feature-toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-toast.js","sourceRoot":"","sources":["../../src/components/feature-toast.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAc,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAM1D,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,MAAM,OAAW,EAAN,IAAI,cAAjB,UAAmB,CAAF;IACjE,OAAO,CACH,KAAC,KAAK,kBACF,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,IAAI,MAAM,CAAC,kBAAkB,CAAC,IAC3E,IAAI,EACV,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FC, SyntheticEvent, ReactNode } from 'react';
2
+ import { PopoverProps } from '@servicetitan/design-system';
3
+ export interface TourPopoverProps extends PopoverProps {
4
+ children?: ReactNode;
5
+ currentStep?: number;
6
+ endText?: string;
7
+ headerText?: string;
8
+ nextText?: string;
9
+ onClose?: (e?: SyntheticEvent<HTMLElement>) => void;
10
+ onNext?: (e?: SyntheticEvent<HTMLElement>) => void;
11
+ totalStepCount?: number;
12
+ }
13
+ export declare const TourPopover: FC<TourPopoverProps>;
14
+ //# sourceMappingURL=tour-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tour-popover.d.ts","sourceRoot":"","sources":["../../src/components/tour-popover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACH,YAAY,EAMf,MAAM,6BAA6B,CAAC;AAGrC,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IAClD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA4C5C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import classNames from 'classnames';
3
+ import { Stack, Headline, BodyText, Button, ButtonGroup, } from '@servicetitan/design-system';
4
+ import * as Styles from '../feature-spotlight.module.css';
5
+ export const TourPopover = ({ children, currentStep = 1, endText = 'Close', headerText, nextText = 'Next', onClose, onNext, totalStepCount = 1, }) => {
6
+ return (_jsx(Stack, Object.assign({ direction: "column", className: classNames(Styles.featurePopover, 'Popper__body Popover__body Popover__body--open Popover--w-s p-x-3 p-y-2') }, { children: _jsxs(Stack.Item, Object.assign({ className: "m-t-half" }, { children: [headerText && _jsx(Headline, Object.assign({ size: "small" }, { children: headerText })), children, _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", justifyContent: "space-between", className: "m-t-2 m-b-half" }, { children: [_jsxs(BodyText, Object.assign({ subdued: true }, { children: [currentStep + 1, "/", totalStepCount] })), _jsxs(ButtonGroup, { children: [currentStep !== totalStepCount - 1 && (_jsx(Button, Object.assign({ fill: "subtle", size: "small", onClick: onClose }, { children: "Skip" }))), _jsx(Button, Object.assign({ size: "small", onClick: onNext, primary: true }, { children: currentStep !== totalStepCount - 1 ? nextText : endText }))] })] }))] })) })));
7
+ };
8
+ //# sourceMappingURL=tour-popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tour-popover.js","sourceRoot":"","sources":["../../src/components/tour-popover.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAEH,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,WAAW,GACd,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,MAAM,MAAM,iCAAiC,CAAC;AAa1D,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAC9C,QAAQ,EACR,WAAW,GAAG,CAAC,EACf,OAAO,GAAG,OAAO,EACjB,UAAU,EACV,QAAQ,GAAG,MAAM,EACjB,OAAO,EACP,MAAM,EACN,cAAc,GAAG,CAAC,GACrB,EAAE,EAAE;IACD,OAAO,CACH,KAAC,KAAK,kBACF,SAAS,EAAC,QAAQ,EAClB,SAAS,EAAE,UAAU,CACjB,MAAM,CAAC,cAAc,EACrB,yEAAyE,CAC5E,gBAED,MAAC,KAAK,CAAC,IAAI,kBAAC,SAAS,EAAC,UAAU,iBAC3B,UAAU,IAAI,KAAC,QAAQ,kBAAC,IAAI,EAAC,OAAO,gBAAE,UAAU,IAAY,EAC5D,QAAQ,EACT,MAAC,KAAK,kBACF,SAAS,EAAC,KAAK,EACf,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,eAAe,EAC9B,SAAS,EAAC,gBAAgB,iBAE1B,MAAC,QAAQ,kBAAC,OAAO,uBACZ,WAAW,GAAG,CAAC,OAAG,cAAc,KAC1B,EACX,MAAC,WAAW,eACP,WAAW,KAAK,cAAc,GAAG,CAAC,IAAI,CACnC,KAAC,MAAM,kBAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,0BAE1C,CACZ,EACD,KAAC,MAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,sBACxC,WAAW,KAAK,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,IACnD,IACC,KACV,KACC,IACT,CACX,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,74 @@
1
+ /* Popover-specific */
2
+
3
+ .feature-popover {
4
+ border-color: var(--colorsSurfacePrimarySubdued, var(--color-blue));
5
+ }
6
+
7
+ .feature-popover .featurePopoverHeader {
8
+ border: none;
9
+ padding: var(--spacing-half) var(--spacing-0) var(--spacing-1);
10
+ }
11
+
12
+ .feature-popover .featurePopoverFooter {
13
+ border: none;
14
+ padding: var(--spacing-2) var(--spacing-0) var(--spacing-half);
15
+ }
16
+
17
+ .feature-popover-caret::before {
18
+ background: var(--colorsSurfaceDefault, var(--color-white));
19
+ box-shadow: -1px 1px var(--colorsSurfacePrimarySubdued, var(--color-blue));
20
+ }
21
+
22
+ /* Creates the Popover caret's border, which changes based on the position of the caret */
23
+
24
+ [data-popper-placement^='top'] .feature-popover-caret::before {
25
+ box-shadow: 1px 1px var(--colorsSurfacePrimarySubdued, var(--color-blue));
26
+ }
27
+
28
+ [data-popper-placement^='bottom'] .feature-popover-caret::before {
29
+ box-shadow: -1px -1px var(--colorsSurfacePrimarySubdued, var(--color-blue));
30
+ }
31
+
32
+ [data-popper-placement^='right'] .feature-popover-caret::before {
33
+ box-shadow: -1px 1px var(--colorsSurfacePrimarySubdued, var(--color-blue));
34
+ }
35
+
36
+ [data-popper-placement^='left'] .feature-popover-caret::before {
37
+ box-shadow: 1px -1px var(--colorsSurfacePrimarySubdued, var(--color-blue));
38
+ }
39
+
40
+ /* Modal-specific */
41
+ .feature-modal-header :global(.Modal__header) {
42
+ background: var(--colorsSurfacePrimarySubdued, var(--color-blue));
43
+ color: var(--color-neutral-0);
44
+ fill: var(--color-neutral-0);
45
+ }
46
+ .feature-modal-header :global(.Modal__header > *) {
47
+ color: var(--colorsTextInverted, var(--color-white));
48
+ fill: var(--colorsTextInverted, var(--color-white));
49
+ }
50
+
51
+ /* Toast-specific */
52
+ .feature-toast {
53
+ border-color: var(--colorsSurfacePrimarySubdued, var(--color-blue));
54
+ }
55
+ .feature-toast :global(.Toast__icon) {
56
+ display: none;
57
+ }
58
+ .feature-toast :global(.Toast__text) {
59
+ min-width: auto;
60
+ }
61
+ .feature-toast :global(.Toast__title) {
62
+ color: var(--colorsText, var(--color-black));
63
+ }
64
+
65
+ .feature-toast-center {
66
+ text-align: center;
67
+ }
68
+ .feature-toast-center :global(.Toast__action) {
69
+ text-align: center;
70
+ }
71
+
72
+ .feature-toast-center :global(.Toast__title) {
73
+ padding-left: var(--spacing-5);
74
+ }
@@ -0,0 +1,4 @@
1
+ export * from './components/feature-popover';
2
+ export * from './components/feature-modal';
3
+ export * from './components/feature-toast';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from './components/feature-popover';
2
+ export * from './components/feature-modal';
3
+ export * from './components/feature-toast';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@servicetitan/feature-spotlight",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "Provides specific styles to Anvil components to highlight a feature",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/servicetitan/anvil-uikit-contrib",
8
- "directory": "packages/marketing-ui"
8
+ "directory": "packages/feature-spotlight"
9
9
  },
10
10
  "main": "./dist/index.js",
11
11
  "typings": "./dist/index.d.ts",
@@ -34,5 +34,8 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "66af05bc2547584bc9eb034dfcd692ef256ba379"
37
+ "cli": {
38
+ "webpack": false
39
+ },
40
+ "gitHead": "4ccb855e8eba0720f81c5e19448e60f0c1ea0341"
38
41
  }
@@ -1 +0,0 @@
1
- <!doctype html><html><head><meta charset="utf-8"><title>ServiceTitan</title><meta name="viewport" content="width=device-width,initial-scale=1"><script defer="defer" src="runtime.fc8958b2.bundle.js?a8c4c08f9200f1c7346a"></script><script defer="defer" src="main.7cdd1723.bundle.js?a8c4c08f9200f1c7346a"></script></head><body></body></html>
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_servicetitan_feature_spotlight=self.webpackChunk_servicetitan_feature_spotlight||[]).push([[0],[()=>{}],e=>{e(e.s=0)}]);
@@ -1,2 +0,0 @@
1
- (()=>{"use strict";var r,e={},t={};function o(r){var i=t[r];if(void 0!==i)return i.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}o.m=e,r=[],o.O=(e,t,i,n)=>{if(!t){var a=1/0;for(v=0;v<r.length;v++){for(var[t,i,n]=r[v],s=!0,f=0;f<t.length;f++)(!1&n||a>=n)&&Object.keys(o.O).every((r=>o.O[r](t[f])))?t.splice(f--,1):(s=!1,n<a&&(a=n));if(s){r.splice(v--,1);var l=i();void 0!==l&&(e=l)}}return e}n=n||0;for(var v=r.length;v>0&&r[v-1][2]>n;v--)r[v]=r[v-1];r[v]=[t,i,n]},o.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={1:0};o.O.j=e=>0===r[e];var e=(e,t)=>{var i,n,[a,s,f]=t,l=0;if(a.some((e=>0!==r[e]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(f)var v=f(o)}for(e&&e(t);l<a.length;l++)n=a[l],o.o(r,n)&&r[n]&&r[n][0](),r[n]=0;return o.O(v)},t=self.webpackChunk_servicetitan_feature_spotlight=self.webpackChunk_servicetitan_feature_spotlight||[];t.forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t))})()})();
2
- //# sourceMappingURL=runtime.fc8958b2.bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runtime.fc8958b2.bundle.js","mappings":"uBAAIA,E,KCCAC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CAGAJ,EAAoBO,EAAID,EDzBpBR,EAAW,GACfE,EAAoBQ,EAAI,CAACC,EAAQC,EAAUC,EAAIC,KAC9C,IAAGF,EAAH,CAMA,IAAIG,EAAeC,IACnB,IAASC,EAAI,EAAGA,EAAIjB,EAASkB,OAAQD,IAAK,CAGzC,IAFA,IAAKL,EAAUC,EAAIC,GAAYd,EAASiB,GACpCE,GAAY,EACPC,EAAI,EAAGA,EAAIR,EAASM,OAAQE,MACpB,EAAXN,GAAsBC,GAAgBD,IAAaO,OAAOC,KAAKpB,EAAoBQ,GAAGa,OAAOC,GAAStB,EAAoBQ,EAAEc,GAAKZ,EAASQ,MAC9IR,EAASa,OAAOL,IAAK,IAErBD,GAAY,EACTL,EAAWC,IAAcA,EAAeD,IAG7C,GAAGK,EAAW,CACbnB,EAASyB,OAAOR,IAAK,GACrB,IAAIS,EAAIb,SACER,IAANqB,IAAiBf,EAASe,EAC/B,CACD,CACA,OAAOf,CAnBP,CAJCG,EAAWA,GAAY,EACvB,IAAI,IAAIG,EAAIjB,EAASkB,OAAQD,EAAI,GAAKjB,EAASiB,EAAI,GAAG,GAAKH,EAAUG,IAAKjB,EAASiB,GAAKjB,EAASiB,EAAI,GACrGjB,EAASiB,GAAK,CAACL,EAAUC,EAAIC,EAqBjB,EE1BdZ,EAAoByB,EAAI,CAACC,EAAKC,IAAUR,OAAOS,UAAUC,eAAeC,KAAKJ,EAAKC,G,MCKlF,IAAII,EAAkB,CACrB,EAAG,GAaJ/B,EAAoBQ,EAAEU,EAAKc,GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BC,KACvD,IAGIlC,EAAU+B,GAHTtB,EAAU0B,EAAaC,GAAWF,EAGhBpB,EAAI,EAC3B,GAAGL,EAAS4B,MAAMC,GAAgC,IAAxBR,EAAgBQ,KAAa,CACtD,IAAItC,KAAYmC,EACZpC,EAAoByB,EAAEW,EAAanC,KACrCD,EAAoBO,EAAEN,GAAYmC,EAAYnC,IAGhD,GAAGoC,EAAS,IAAI5B,EAAS4B,EAAQrC,EAClC,CAEA,IADGkC,GAA4BA,EAA2BC,GACrDpB,EAAIL,EAASM,OAAQD,IACzBiB,EAAUtB,EAASK,GAChBf,EAAoByB,EAAEM,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOhC,EAAoBQ,EAAEC,EAAO,EAGjC+B,EAAqBC,KAAkD,4CAAIA,KAAkD,6CAAK,GACtID,EAAmBE,QAAQT,EAAqBU,KAAK,KAAM,IAC3DH,EAAmBI,KAAOX,EAAqBU,KAAK,KAAMH,EAAmBI,KAAKD,KAAKH,G","sources":["webpack://@servicetitan/feature-spotlight/webpack/runtime/chunk loaded","webpack://@servicetitan/feature-spotlight/webpack/bootstrap","webpack://@servicetitan/feature-spotlight/webpack/runtime/hasOwnProperty shorthand","webpack://@servicetitan/feature-spotlight/webpack/runtime/jsonp chunk loading"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t1: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_servicetitan_feature_spotlight\"] = self[\"webpackChunk_servicetitan_feature_spotlight\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"],"names":["deferred","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","o","obj","prop","prototype","hasOwnProperty","call","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","forEach","bind","push"],"sourceRoot":""}