@saasquatch/vanilla-components 1.2.4-24 → 1.2.4-25

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.
Files changed (112) hide show
  1. package/CHANGELOG.md +163 -0
  2. package/LICENSE +21 -21
  3. package/dist/cjs/{WidgetHost-f349e877.js → WidgetHost-d7b870ce.js} +615 -772
  4. package/dist/cjs/{en-3a7cb52e.js → en-a49a5ef5.js} +2 -2
  5. package/dist/cjs/{index-09a04159.js → index-deb40352.js} +3 -54
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/sqh-close-button.cjs.entry.js +26 -26
  8. package/dist/cjs/{sqh-copy-button_14.cjs.entry.js → sqh-copy-button_12.cjs.entry.js} +1213 -2287
  9. package/dist/cjs/sqh-referral-code.cjs.entry.js +23 -23
  10. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +27 -27
  11. package/dist/cjs/widget-components.cjs.js +3 -3
  12. package/dist/collection/collection-manifest.json +0 -2
  13. package/dist/collection/components/close-button/close-button.js +68 -70
  14. package/dist/collection/components/copy-button/copy-button.js +380 -380
  15. package/dist/collection/components/copy-link-button/copy-link-button.js +230 -230
  16. package/dist/collection/components/global-container/global-container.js +158 -158
  17. package/dist/collection/components/image-component/image-component.js +175 -175
  18. package/dist/collection/components/partner-stat-component/partner-stat-component.js +196 -196
  19. package/dist/collection/components/referral-code/referral-code.js +36 -36
  20. package/dist/collection/components/referral-component/referral-component.js +255 -255
  21. package/dist/collection/components/referral-list/referral-list.js +911 -911
  22. package/dist/collection/components/rewards-actions/rewards-actions.js +105 -105
  23. package/dist/collection/components/share-button/share-button.js +301 -301
  24. package/dist/collection/components/share-button-container/share-button-container.js +2384 -2384
  25. package/dist/collection/components/stat-component/stat-component.js +196 -197
  26. package/dist/collection/components/stats-container/stats-container.js +210 -210
  27. package/dist/collection/components/text-component/text-component.js +304 -301
  28. package/dist/collection/entrypoint.js +34 -34
  29. package/dist/collection/global/global.js +4 -4
  30. package/dist/collection/services/FormatJs.js +15 -15
  31. package/dist/collection/services/WidgetHost.js +621 -778
  32. package/dist/collection/utilities.js +81 -81
  33. package/dist/esm/{WidgetHost-c033b6ac.js → WidgetHost-a27e693d.js} +615 -772
  34. package/dist/esm/{en-a652ab83.js → en-be593af0.js} +1 -1
  35. package/dist/esm/{index-342d7c26.js → index-8ea8b6d8.js} +3 -54
  36. package/dist/esm/loader.mjs +3 -3
  37. package/dist/esm/polyfills/core-js.js +0 -0
  38. package/dist/esm/polyfills/dom.js +0 -0
  39. package/dist/esm/polyfills/es5-html-element.js +0 -0
  40. package/dist/esm/polyfills/index.js +0 -0
  41. package/dist/esm/polyfills/system.js +0 -0
  42. package/dist/esm/sqh-close-button.entry.js +26 -26
  43. package/dist/esm/{sqh-copy-button_14.entry.js → sqh-copy-button_12.entry.js} +1214 -2286
  44. package/dist/esm/sqh-referral-code.entry.js +23 -23
  45. package/dist/esm/sqh-rewards-actions.entry.js +27 -27
  46. package/dist/esm/widget-components.mjs +3 -3
  47. package/dist/esm-es5/{WidgetHost-c033b6ac.js → WidgetHost-a27e693d.js} +9432 -9524
  48. package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
  49. package/dist/esm-es5/css-shim-a659079f.js +122 -122
  50. package/dist/esm-es5/dom-4061ceba.js +468 -468
  51. package/dist/esm-es5/{en-a652ab83.js → en-be593af0.js} +1471 -1471
  52. package/dist/esm-es5/{index-342d7c26.js → index-8ea8b6d8.js} +1758 -1808
  53. package/dist/esm-es5/loader.mjs +11 -11
  54. package/dist/esm-es5/sqh-close-button.entry.js +35 -35
  55. package/dist/esm-es5/{sqh-copy-button_14.entry.js → sqh-copy-button_12.entry.js} +9624 -10588
  56. package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
  57. package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -31
  58. package/dist/esm-es5/widget-components.mjs +6 -6
  59. package/dist/types/components/close-button/close-button.d.ts +16 -18
  60. package/dist/types/components/copy-button/copy-button.d.ts +90 -90
  61. package/dist/types/components/copy-link-button/copy-link-button.d.ts +53 -53
  62. package/dist/types/components/global-container/global-container.d.ts +39 -39
  63. package/dist/types/components/image-component/image-component.d.ts +45 -45
  64. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +51 -51
  65. package/dist/types/components/referral-code/referral-code.d.ts +12 -12
  66. package/dist/types/components/referral-component/referral-component.d.ts +46 -46
  67. package/dist/types/components/referral-list/referral-list.d.ts +234 -234
  68. package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -25
  69. package/dist/types/components/share-button/share-button.d.ts +77 -77
  70. package/dist/types/components/share-button-container/share-button-container.d.ts +593 -593
  71. package/dist/types/components/stat-component/stat-component.d.ts +48 -49
  72. package/dist/types/components/stats-container/stats-container.d.ts +47 -47
  73. package/dist/types/components/text-component/text-component.d.ts +74 -73
  74. package/dist/types/components.d.ts +2 -292
  75. package/dist/types/global/global.d.ts +4 -4
  76. package/dist/types/saasquatch.d.ts +105 -105
  77. package/dist/types/services/FormatJs.d.ts +7 -7
  78. package/dist/types/services/WidgetHost.d.ts +45 -51
  79. package/dist/types/utilities.d.ts +7 -7
  80. package/dist/widget-components/entrypoint.js +34 -34
  81. package/dist/widget-components/p-0bfec452.entry.js +149 -0
  82. package/dist/widget-components/p-24fc4ba9.js +1 -1
  83. package/dist/widget-components/{p-17d80384.js → p-44a6559d.js} +1 -1
  84. package/dist/widget-components/p-46109683.js +3 -3
  85. package/dist/widget-components/p-485eaf44.js +1 -0
  86. package/dist/widget-components/{p-e82def83.system.js → p-58be1132.system.js} +1 -1
  87. package/dist/widget-components/{p-3ba562d0.entry.js → p-650d012d.entry.js} +1 -1
  88. package/dist/widget-components/p-796dc228.system.entry.js +8 -0
  89. package/dist/widget-components/{p-d9e9c55c.system.entry.js → p-908068c2.system.entry.js} +1 -1
  90. package/dist/widget-components/{p-6e753d23.js → p-9525bf4a.js} +3 -68
  91. package/dist/widget-components/{p-fb528be6.entry.js → p-9746ae26.entry.js} +1 -1
  92. package/dist/widget-components/{p-54e83dfb.system.js → p-9adc7c50.system.js} +2 -2
  93. package/dist/widget-components/{p-aaf44379.system.js → p-a846f503.system.js} +1 -1
  94. package/dist/widget-components/{p-abf8a511.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
  95. package/dist/widget-components/{p-4293e873.entry.js → p-d4b27c72.entry.js} +1 -1
  96. package/dist/widget-components/{p-665b8d42.system.entry.js → p-e2b4739f.system.entry.js} +1 -1
  97. package/dist/widget-components/p-e61a8100.system.js +1 -0
  98. package/dist/widget-components/widget-components.esm.js +1 -1
  99. package/dist/widget-components/widget-components.js +1 -1
  100. package/docs/raisins.json +1 -1
  101. package/package.json +97 -98
  102. package/readme.md +52 -52
  103. package/dist/collection/components/cta-component/cta-component.css +0 -6
  104. package/dist/collection/components/cta-component/cta-component.js +0 -396
  105. package/dist/collection/components/progress-indicator/progress-indicator.css +0 -73
  106. package/dist/collection/components/progress-indicator/progress-indicator.js +0 -557
  107. package/dist/types/components/cta-component/cta-component.d.ts +0 -95
  108. package/dist/types/components/progress-indicator/progress-indicator.d.ts +0 -94
  109. package/dist/widget-components/p-9fb4b935.system.entry.js +0 -10
  110. package/dist/widget-components/p-ad5121cf.system.js +0 -1
  111. package/dist/widget-components/p-d9a22d83.entry.js +0 -233
  112. package/dist/widget-components/p-fbf0c7fe.js +0 -1
@@ -2,89 +2,89 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-09a04159.js');
5
+ const index = require('./index-deb40352.js');
6
6
  const _commonjsHelpers = require('./_commonjsHelpers-ac2d0785.js');
7
- const WidgetHost = require('./WidgetHost-f349e877.js');
8
-
9
- /////////////////////////////////////
10
- ////// ////
11
- ///// Color Utility Functions /////
12
- //// //////
13
- /////////////////////////////////////
14
- const cutHex = (hex) => {
15
- return hex.charAt(0) == "#" ? hex.substring(1) : hex;
16
- };
17
- const cutRgb = (rgb) => {
18
- return rgb.substring(4, rgb.length - 1);
19
- };
20
- const hexToRgb = (hex) => {
21
- const noHex = cutHex(hex);
22
- const r = parseInt(noHex.substring(0, 2), 16);
23
- const g = parseInt(noHex.substring(2, 4), 16);
24
- const b = parseInt(noHex.substring(4, 6), 16);
25
- return `rgb(${r}, ${g}, ${b})`;
26
- };
27
- const isHex = (string) => {
28
- return !!string.match(/^#[0-9a-f]{6}$/i);
29
- };
30
- const isRgb = (string) => {
31
- const rgbArray = cutRgb(string).split(", ");
32
- if (rgbArray.length !== 3)
33
- return false;
34
- return rgbArray.every((x) => parseInt(x) >= 0 && parseInt(x) <= 255);
35
- };
36
- const shadeColor = (color, percent) => {
37
- if (!isHex(color) && !isRgb(color))
38
- return;
39
- const rgb = isHex(color) ? hexToRgb(color) : color;
40
- const decimalPercent = percent / 100;
41
- const shadedArray = cutRgb(rgb)
42
- .split(", ")
43
- .map((n) => {
44
- return Math.floor(parseInt(n) * (1 - decimalPercent));
45
- });
46
- return `rgb(${shadedArray.join(", ")})`;
47
- };
48
- /////////////////////
49
- ////// ////
50
- ///// Exports /////
51
- //// //////
52
- /////////////////////
53
- const hasClass = (el, className) => {
54
- if (el.classList)
55
- return el.classList.contains(className);
56
- else
57
- return !!el.className.match(new RegExp("(\\s|^)" + className + "(\\s|$)"));
58
- };
59
- const addClass = (el, className) => {
60
- if (el.classList) {
61
- el.classList.add(className);
62
- }
63
- else if (!hasClass(el, className)) {
64
- el.className += " " + className;
65
- }
66
- };
67
- const removeClass = (el, className) => {
68
- if (el.classList) {
69
- el.classList.remove(className);
70
- }
71
- else if (hasClass(el, className)) {
72
- const reg = new RegExp("(\\s|^)" + className + "(\\s|$)");
73
- el.className = el.className.replace(reg, " ");
74
- }
75
- };
76
- const detectMobileSafari = () => {
77
- return /iP(ad|hone|od).+Version\/[\d\.]+.*Safari/i.test(window.navigator.userAgent);
78
- };
79
- const detectMobileChrome = () => {
80
- return window.navigator.userAgent.match("CriOS");
81
- };
82
- // @ts-ignore
83
- // https://gist.github.com/jed/982883
84
- const uuid = function b(a = undefined) {
85
- return a
86
- ? (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)
87
- : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, b);
7
+ const WidgetHost = require('./WidgetHost-d7b870ce.js');
8
+
9
+ /////////////////////////////////////
10
+ ////// ////
11
+ ///// Color Utility Functions /////
12
+ //// //////
13
+ /////////////////////////////////////
14
+ const cutHex = (hex) => {
15
+ return hex.charAt(0) == "#" ? hex.substring(1) : hex;
16
+ };
17
+ const cutRgb = (rgb) => {
18
+ return rgb.substring(4, rgb.length - 1);
19
+ };
20
+ const hexToRgb = (hex) => {
21
+ const noHex = cutHex(hex);
22
+ const r = parseInt(noHex.substring(0, 2), 16);
23
+ const g = parseInt(noHex.substring(2, 4), 16);
24
+ const b = parseInt(noHex.substring(4, 6), 16);
25
+ return `rgb(${r}, ${g}, ${b})`;
26
+ };
27
+ const isHex = (string) => {
28
+ return !!string.match(/^#[0-9a-f]{6}$/i);
29
+ };
30
+ const isRgb = (string) => {
31
+ const rgbArray = cutRgb(string).split(", ");
32
+ if (rgbArray.length !== 3)
33
+ return false;
34
+ return rgbArray.every((x) => parseInt(x) >= 0 && parseInt(x) <= 255);
35
+ };
36
+ const shadeColor = (color, percent) => {
37
+ if (!isHex(color) && !isRgb(color))
38
+ return;
39
+ const rgb = isHex(color) ? hexToRgb(color) : color;
40
+ const decimalPercent = percent / 100;
41
+ const shadedArray = cutRgb(rgb)
42
+ .split(", ")
43
+ .map((n) => {
44
+ return Math.floor(parseInt(n) * (1 - decimalPercent));
45
+ });
46
+ return `rgb(${shadedArray.join(", ")})`;
47
+ };
48
+ /////////////////////
49
+ ////// ////
50
+ ///// Exports /////
51
+ //// //////
52
+ /////////////////////
53
+ const hasClass = (el, className) => {
54
+ if (el.classList)
55
+ return el.classList.contains(className);
56
+ else
57
+ return !!el.className.match(new RegExp("(\\s|^)" + className + "(\\s|$)"));
58
+ };
59
+ const addClass = (el, className) => {
60
+ if (el.classList) {
61
+ el.classList.add(className);
62
+ }
63
+ else if (!hasClass(el, className)) {
64
+ el.className += " " + className;
65
+ }
66
+ };
67
+ const removeClass = (el, className) => {
68
+ if (el.classList) {
69
+ el.classList.remove(className);
70
+ }
71
+ else if (hasClass(el, className)) {
72
+ const reg = new RegExp("(\\s|^)" + className + "(\\s|$)");
73
+ el.className = el.className.replace(reg, " ");
74
+ }
75
+ };
76
+ const detectMobileSafari = () => {
77
+ return /iP(ad|hone|od).+Version\/[\d\.]+.*Safari/i.test(window.navigator.userAgent);
78
+ };
79
+ const detectMobileChrome = () => {
80
+ return window.navigator.userAgent.match("CriOS");
81
+ };
82
+ // @ts-ignore
83
+ // https://gist.github.com/jed/982883
84
+ const uuid = function b(a = undefined) {
85
+ return a
86
+ ? (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)
87
+ : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, b);
88
88
  };
89
89
 
90
90
  /*
@@ -832,6 +832,21 @@ function stylis_min (W) {
832
832
  return B;
833
833
  }
834
834
 
835
+ var weakMemoize = function weakMemoize(func) {
836
+ // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
837
+ var cache = new WeakMap();
838
+ return function (arg) {
839
+ if (cache.has(arg)) {
840
+ // $FlowFixMe
841
+ return cache.get(arg);
842
+ }
843
+
844
+ var ret = func(arg);
845
+ cache.set(arg, ret);
846
+ return ret;
847
+ };
848
+ };
849
+
835
850
  // https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet
836
851
  // inlined to avoid umd wrapper and peerDep warnings/installing stylis
837
852
  // since we use stylis after closure compiler
@@ -906,6 +921,35 @@ var ruleSheet = function ruleSheet(context, content, selectors, parents, line, c
906
921
  }
907
922
  }
908
923
  };
924
+ var removeLabel = function removeLabel(context, content) {
925
+ if (context === 1 && // charcode for l
926
+ content.charCodeAt(0) === 108 && // charcode for b
927
+ content.charCodeAt(2) === 98 // this ignores label
928
+ ) {
929
+ return '';
930
+ }
931
+ };
932
+
933
+ var isBrowser = typeof document !== 'undefined';
934
+ var rootServerStylisCache = {};
935
+ var getServerStylisCache = isBrowser ? undefined : weakMemoize(function () {
936
+ var getCache = weakMemoize(function () {
937
+ return {};
938
+ });
939
+ var prefixTrueCache = {};
940
+ var prefixFalseCache = {};
941
+ return function (prefix) {
942
+ if (prefix === undefined || prefix === true) {
943
+ return prefixTrueCache;
944
+ }
945
+
946
+ if (prefix === false) {
947
+ return prefixFalseCache;
948
+ }
949
+
950
+ return getCache(prefix);
951
+ };
952
+ });
909
953
 
910
954
  var createCache = function createCache(options) {
911
955
  if (options === undefined) options = {};
@@ -924,7 +968,7 @@ var createCache = function createCache(options) {
924
968
 
925
969
  var container;
926
970
 
927
- {
971
+ if (isBrowser) {
928
972
  container = options.container || document.head;
929
973
  var nodes = document.querySelectorAll("style[data-emotion-" + key + "]");
930
974
  Array.prototype.forEach.call(nodes, function (node) {
@@ -942,7 +986,7 @@ var createCache = function createCache(options) {
942
986
 
943
987
  var _insert;
944
988
 
945
- {
989
+ if (isBrowser) {
946
990
  stylis.use(options.stylisPlugins)(ruleSheet);
947
991
 
948
992
  _insert = function insert(selector, serialized, sheet, shouldCache) {
@@ -955,6 +999,54 @@ var createCache = function createCache(options) {
955
999
  cache.inserted[name] = true;
956
1000
  }
957
1001
  };
1002
+ } else {
1003
+ stylis.use(removeLabel);
1004
+ var serverStylisCache = rootServerStylisCache;
1005
+
1006
+ if (options.stylisPlugins || options.prefix !== undefined) {
1007
+ stylis.use(options.stylisPlugins); // $FlowFixMe
1008
+
1009
+ serverStylisCache = getServerStylisCache(options.stylisPlugins || rootServerStylisCache)(options.prefix);
1010
+ }
1011
+
1012
+ var getRules = function getRules(selector, serialized) {
1013
+ var name = serialized.name;
1014
+
1015
+ if (serverStylisCache[name] === undefined) {
1016
+ serverStylisCache[name] = stylis(selector, serialized.styles);
1017
+ }
1018
+
1019
+ return serverStylisCache[name];
1020
+ };
1021
+
1022
+ _insert = function _insert(selector, serialized, sheet, shouldCache) {
1023
+ var name = serialized.name;
1024
+ var rules = getRules(selector, serialized);
1025
+
1026
+ if (cache.compat === undefined) {
1027
+ // in regular mode, we don't set the styles on the inserted cache
1028
+ // since we don't need to and that would be wasting memory
1029
+ // we return them so that they are rendered in a style tag
1030
+ if (shouldCache) {
1031
+ cache.inserted[name] = true;
1032
+ }
1033
+
1034
+ return rules;
1035
+ } else {
1036
+ // in compat mode, we put the styles on the inserted cache so
1037
+ // that emotion-server can pull out the styles
1038
+ // except when we don't want to cache it which was in Global but now
1039
+ // is nowhere but we don't want to do a major right now
1040
+ // and just in case we're going to leave the case here
1041
+ // it's also not affecting client side bundle size
1042
+ // so it's really not a big deal
1043
+ if (shouldCache) {
1044
+ cache.inserted[name] = rules;
1045
+ } else {
1046
+ return rules;
1047
+ }
1048
+ }
1049
+ };
958
1050
  }
959
1051
 
960
1052
  var cache = {
@@ -1303,7 +1395,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
1303
1395
  };
1304
1396
  };
1305
1397
 
1306
- var isBrowser = "object" !== 'undefined';
1398
+ var isBrowser$1 = typeof document !== 'undefined';
1307
1399
  function getRegisteredStyles(registered, registeredStyles, classNames) {
1308
1400
  var rawClassName = '';
1309
1401
  classNames.split(' ').forEach(function (className) {
@@ -1327,18 +1419,27 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1327
1419
  // in node since emotion-server relies on whether a style is in
1328
1420
  // the registered cache to know whether a style is global or not
1329
1421
  // also, note that this check will be dead code eliminated in the browser
1330
- isBrowser === false ) && cache.registered[className] === undefined) {
1422
+ isBrowser$1 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1331
1423
  cache.registered[className] = serialized.styles;
1332
1424
  }
1333
1425
 
1334
1426
  if (cache.inserted[serialized.name] === undefined) {
1427
+ var stylesForSSR = '';
1335
1428
  var current = serialized;
1336
1429
 
1337
1430
  do {
1338
1431
  var maybeStyles = cache.insert("." + className, current, cache.sheet, true);
1339
1432
 
1433
+ if (!isBrowser$1 && maybeStyles !== undefined) {
1434
+ stylesForSSR += maybeStyles;
1435
+ }
1436
+
1340
1437
  current = current.next;
1341
1438
  } while (current !== undefined);
1439
+
1440
+ if (!isBrowser$1 && stylesForSSR.length !== 0) {
1441
+ return stylesForSSR;
1442
+ }
1342
1443
  }
1343
1444
  };
1344
1445
 
@@ -2337,1251 +2438,341 @@ var clipboard_Clipboard = function (_Emitter) {
2337
2438
  }
2338
2439
 
2339
2440
  this.clipboardAction = new clipboard_action({
2340
- action: this.action(trigger),
2341
- target: this.target(trigger),
2342
- text: this.text(trigger),
2343
- container: this.container,
2344
- trigger: trigger,
2345
- emitter: this
2346
- });
2347
- }
2348
-
2349
- /**
2350
- * Default `action` lookup function.
2351
- * @param {Element} trigger
2352
- */
2353
-
2354
- }, {
2355
- key: 'defaultAction',
2356
- value: function defaultAction(trigger) {
2357
- return getAttributeValue('action', trigger);
2358
- }
2359
-
2360
- /**
2361
- * Default `target` lookup function.
2362
- * @param {Element} trigger
2363
- */
2364
-
2365
- }, {
2366
- key: 'defaultTarget',
2367
- value: function defaultTarget(trigger) {
2368
- var selector = getAttributeValue('target', trigger);
2369
-
2370
- if (selector) {
2371
- return document.querySelector(selector);
2372
- }
2373
- }
2374
-
2375
- /**
2376
- * Returns the support of the given action, or all actions if no action is
2377
- * given.
2378
- * @param {String} [action]
2379
- */
2380
-
2381
- }, {
2382
- key: 'defaultText',
2383
-
2384
-
2385
- /**
2386
- * Default `text` lookup function.
2387
- * @param {Element} trigger
2388
- */
2389
- value: function defaultText(trigger) {
2390
- return getAttributeValue('text', trigger);
2391
- }
2392
-
2393
- /**
2394
- * Destroy lifecycle.
2395
- */
2396
-
2397
- }, {
2398
- key: 'destroy',
2399
- value: function destroy() {
2400
- this.listener.destroy();
2401
-
2402
- if (this.clipboardAction) {
2403
- this.clipboardAction.destroy();
2404
- this.clipboardAction = null;
2405
- }
2406
- }
2407
- }], [{
2408
- key: 'isSupported',
2409
- value: function isSupported() {
2410
- var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
2411
-
2412
- var actions = typeof action === 'string' ? [action] : action;
2413
- var support = !!document.queryCommandSupported;
2414
-
2415
- actions.forEach(function (action) {
2416
- support = support && !!document.queryCommandSupported(action);
2417
- });
2418
-
2419
- return support;
2420
- }
2421
- }]);
2422
-
2423
- return Clipboard;
2424
- }(tiny_emitter_default.a);
2425
-
2426
- /**
2427
- * Helper function to retrieve attribute value.
2428
- * @param {String} suffix
2429
- * @param {Element} element
2430
- */
2431
-
2432
-
2433
- function getAttributeValue(suffix, element) {
2434
- var attribute = 'data-clipboard-' + suffix;
2435
-
2436
- if (!element.hasAttribute(attribute)) {
2437
- return;
2438
- }
2439
-
2440
- return element.getAttribute(attribute);
2441
- }
2442
-
2443
- /* harmony default export */ var clipboard = __webpack_exports__["default"] = (clipboard_Clipboard);
2444
-
2445
- /***/ })
2446
- /******/ ])["default"];
2447
- });
2448
- });
2449
-
2450
- const Clipboard = _commonjsHelpers.unwrapExports(clipboard);
2451
-
2452
- const copyButtonCss = "sqh-copy-button{display:block}sqh-copy-button .sqh-align-button{text-align:center;position:relative;margin:20px 0}sqh-copy-button .sqh-align-button .sqh-copy-button{width:100%;text-align:center;padding:8px;cursor:pointer}sqh-copy-button .sqh-align-button .label{padding:0.2em 0.6em 0.3em;font-size:11px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;border-radius:0.25em;background-color:#35b21e}sqh-copy-button .sqh-align-button .label:empty{display:none}sqh-copy-button .sqh-align-button .fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}sqh-copy-button .sqh-align-button .fade.in{opacity:1}sqh-copy-button .sqh-align-button #squatch-copy-notification{position:absolute;left:215px;bottom:35px;z-index:2}";
2453
-
2454
- const CopyButton = class {
2455
- constructor(hostRef) {
2456
- index.registerInstance(this, hostRef);
2457
- }
2458
- componentWillLoad() {
2459
- if (!this.ishidden) {
2460
- return WidgetHost.API.graphql
2461
- .getFueltankCode(this.rewardkey)
2462
- .then((res) => {
2463
- const fuelTank = res.rewards.data.length > 0
2464
- ? res.rewards.data[0].fuelTankCode
2465
- : null;
2466
- this.fueltankcode =
2467
- fuelTank || res.referredByReferral.referrerUser.referralCode;
2468
- })
2469
- .catch((e) => {
2470
- this.onError(e);
2471
- });
2472
- }
2473
- }
2474
- onError(e) {
2475
- console.log("Error loading via GraphQL.", e);
2476
- }
2477
- notify(clipboardNotification, notificationText) {
2478
- const notification = document.getElementById(clipboardNotification.slice(1));
2479
- notification.textContent = notificationText;
2480
- addClass(notification, "in");
2481
- setTimeout(() => {
2482
- removeClass(notification, "in");
2483
- }, 1400);
2484
- }
2485
- notifySuccess(e) {
2486
- this.notify(e.trigger.dataset.clipboardNotification, this.copysuccess);
2487
- }
2488
- notifyFailure(e) {
2489
- this.notify(e.trigger.dataset.clipboardNotification, this.copyfailure);
2490
- }
2491
- componentDidLoad() {
2492
- const clipboard = new Clipboard("button");
2493
- clipboard.on("success", this.notifySuccess.bind(this));
2494
- clipboard.on("error", this.notifyFailure.bind(this));
2495
- }
2496
- render() {
2497
- const style = css `
2498
- max-width: ${this.width}px;
2499
- background-color: ${this.backgroundcolor};
2500
- border: ${this.backgroundcolor};
2501
- color: ${this.textcolor};
2502
- border-radius: ${this.borderradius}px;
2503
- font-size: ${this.fontsize}px;
2504
-
2505
- &:hover {
2506
- background-color: ${shadeColor(this.backgroundcolor, 10)};
2507
- border-color: ${shadeColor(this.backgroundcolor, 12)};
2508
- color: ${this.textcolor};
2509
- }
2510
-
2511
- &:focus {
2512
- color: ${this.textcolor};
2513
- }
2514
- `;
2515
- const code = css `
2516
- text-align: center;
2517
- font-weight: bold;
2518
- font-size: ${this.codefontsize};
2519
- color: ${this.codefontcolor};
2520
- `;
2521
- const classes = [`sqh-copy-button`, style].join(" ");
2522
- return (!this.ishidden && (index.h("div", null, index.h("div", { class: code }, this.fueltankcode), index.h("div", { class: "sqh-align-button" }, index.h("span", { class: "label fade", id: "squatch-copy-notification" }, this.copysuccess), index.h("button", { class: classes, "data-clipboard-text": this.fueltankcode, "data-clipboard-notification": "#squatch-copy-notification" }, this.text)))));
2523
- }
2524
- };
2525
- CopyButton.style = copyButtonCss;
2526
-
2527
- const copyLinkButtonCss = "sqh-copy-link-button{display:block;text-align:center}sqh-copy-link-button .input-group{padding:8px 0 10px;position:relative;display:table;border-collapse:separate;width:100%;max-width:440px;margin:0 auto}sqh-copy-link-button #squatch-share-link{height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;border:1px solid #ccc;border-radius:4px 0 0 4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-o-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;color:#5b6165;cursor:text;position:relative;z-index:2;width:100%;margin-bottom:0;display:table-cell}sqh-copy-link-button .label{padding:0.2em 0.6em 0.3em;font-size:11px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;border-radius:0.25em;background-color:#737b80}sqh-copy-link-button .label:empty{display:none}sqh-copy-link-button .fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}sqh-copy-link-button .fade.in{opacity:1}sqh-copy-link-button #squatch-share-notification{position:absolute;top:16px;right:156px;z-index:2}sqh-copy-link-button .input-group-btn{display:table-cell;width:1%;white-space:nowrap;vertical-align:middle}sqh-copy-link-button .sqh-copy-btn{-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;border-radius:4px;border-bottom-left-radius:0;border-top-left-radius:0;height:34px}sqh-copy-link-button .sqh-copy-btn:focus{outline:0}sqh-copy-link-button .sqh-copy-btn.disabled,sqh-copy-link-button .sqh-copy-btn[disabled],fieldset[disabled] sqh-copy-link-button .sqh-copy-btn{cursor:not-allowed;pointer-events:none;opacity:0.65;-webkit-box-shadow:none;box-shadow:none}sqh-copy-link-button .icon-btn{width:139px;border-left:0;padding-left:0;padding-right:0;position:relative;text-align:left}sqh-copy-link-button .icon-btn:before{content:\"\";position:absolute;top:-1px;left:-3px;bottom:-1px;background:rgba(255, 255, 255, 0.18);width:40px}sqh-copy-link-button .icon-btn .icon{width:42px;margin-right:30px}sqh-copy-link-button .hidden-sm{text-align:center;padding-left:10px;font-size:14px}sqh-copy-link-button .icon-link:before{font-size:1.2em;padding-left:8px}@media (max-width: 499px){sqh-copy-link-button .input-group{max-width:100%}}@media (max-width: 499px){sqh-copy-link-button #squatch-share-notification{right:60px}}@media (max-width: 499px){sqh-copy-link-button .sqh-copy-btn{width:auto}sqh-copy-link-button .sqh-copy-btn .icon{width:39px;margin-right:0;padding-right:8px}}@media (min-width: 0px) and (max-width: 499px){sqh-copy-link-button .hidden-sm{display:none !important}}";
2528
-
2529
- const CopyLinkButton = class {
2530
- constructor(hostRef) {
2531
- index.registerInstance(this, hostRef);
2532
- }
2533
- componentWillLoad() {
2534
- if (!this.ishidden) {
2535
- return WidgetHost.API.graphql
2536
- .getShareLink()
2537
- .then((res) => {
2538
- this.sharelink = res;
2539
- })
2540
- .catch((e) => {
2541
- this.onError(e);
2542
- });
2543
- }
2544
- }
2545
- onError(e) {
2546
- console.log("Error loading via GraphQL.", e);
2547
- }
2548
- notify(clipboardNotification, notificationText) {
2549
- const notification = document.getElementById(clipboardNotification.slice(1));
2550
- notification.textContent = notificationText;
2551
- addClass(notification, "in");
2552
- setTimeout(() => {
2553
- removeClass(notification, "in");
2554
- }, 1400);
2555
- WidgetHost.API.analytics.shareEvent("DIRECT");
2556
- }
2557
- notifySuccess(e) {
2558
- this.notify(e.trigger.dataset.clipboardNotification, this.copysuccess);
2559
- }
2560
- notifyFailure(e) {
2561
- this.notify(e.trigger.dataset.clipboardNotification, this.copyfailure);
2562
- }
2563
- componentDidLoad() {
2564
- const clipboard = new Clipboard("[data-clipboard-target]");
2565
- clipboard.on("success", this.notifySuccess.bind(this));
2566
- clipboard.on("error", this.notifyFailure.bind(this));
2567
- }
2568
- render() {
2569
- const myStyle = css `
2570
- background-color: ${this.buttoncolor};
2571
- border: 1px solid ${this.buttoncolor};
2572
- color: ${this.textcolor};
2573
- font-family: ${"inherit"};
2574
-
2575
- &:hover {
2576
- background: ${shadeColor(this.buttoncolor, 10)};
2577
- border-color: ${shadeColor(this.buttoncolor, 12)};
2578
- color: ${this.textcolor};
2579
- }
2580
-
2581
- &:focus {
2582
- color: ${this.textcolor};
2583
- }
2584
- `;
2585
- const buttonClass = [`sqh-copy-btn icon-btn`, myStyle].join(" ");
2586
- return (!this.ishidden && (index.h("div", { class: "input-group" }, index.h("input", { id: "squatch-share-link", value: this.sharelink, readonly: "readonly" }), index.h("span", { class: "label fade", id: "squatch-share-notification" }, this.copysuccess), index.h("span", { class: "input-group-btn" }, index.h("button", { class: buttonClass, "data-clipboard-target": "#squatch-share-link", "data-clipboard-notification": "#squatch-share-notification" }, index.h("i", { class: "icon icon-link" }), index.h("span", { class: "hidden-sm" }, this.text))))));
2587
- }
2588
- };
2589
- CopyLinkButton.style = copyLinkButtonCss;
2590
-
2591
- const ctaComponentCss = "sqh-cta-component{display:block}sqh-cta-component p{margin:0}";
2592
-
2593
- const CTAComponent = class {
2594
- constructor(hostRef) {
2595
- index.registerInstance(this, hostRef);
2596
- }
2597
- render() {
2598
- const buttonStyle = css `
2599
- font-family: ${this.fontfamily || "inherit"};
2600
- font-size: ${this.fontsize ? this.fontsize + "px" : "inherit"};
2601
- font-weight: ${this.fontweight ? this.fontweight : "inherit"};
2602
- color: ${this.color || "inherit"};
2603
- padding-top: ${this.paddingtop ? this.paddingtop + "px" : "inherit"};
2604
- padding-bottom: ${this.paddingbottom
2605
- ? this.paddingbottom + "px"
2606
- : "inherit"};
2607
- width: ${this.width ? this.width + "px" : "auto"};
2608
- overflow-wrap: break-word;
2609
- border-radius: ${this.borderradius ? this.borderradius + "px" : "8px"};
2610
- margin: 0 auto;
2611
- border: none;
2612
- background-color: ${this.buttonbackground
2613
- ? this.buttonbackground
2614
- : "#F5A100"};
2615
- &:hover {
2616
- cursor: pointer;
2617
- opacity: 0.9;
2618
- }
2619
- &:focus {
2620
- outline: none;
2621
- }
2622
- `;
2623
- const divStyle = css `
2624
- text-align: ${this.textalign};
2625
- background: ${this.background ? this.background : "inherit"};
2626
- height: ${this.height || "inherit"};
2627
- background-size: contain;
2628
- `;
2629
- return (!this.ishidden && (index.h("div", { class: divStyle }, index.h("button", { class: buttonStyle, onClick: () => window.open(this.url, "_blank") }, this.text))));
2630
- }
2631
- get textEl() { return index.getElement(this); }
2632
- };
2633
- CTAComponent.style = ctaComponentCss;
2634
-
2635
- const globalContainerCss = "body{margin:0px;padding:0px;font-family:sans-serif}sqh-global-container{display:block;max-width:500px;margin:0 auto}sqh-global-container *{-webkit-box-sizing:border-box;box-sizing:border-box}sqh-global-container>div{width:100%;display:block;padding:0 10px}sqh-global-container .sqh-attribution{display:inherit;text-align:center;font-size:10px;color:lightgray;text-decoration:none;padding-bottom:10px}sqh-global-container .container-loading{display:none;left:calc(50% - 50px);position:absolute;text-align:center;top:45%;width:100px}sqh-global-container:not(.hydrated) .container-loading{display:block;visibility:visible}sqh-global-container .loading-icon{height:40px;text-align:center;font-size:10px;position:absolute;left:0;width:100%;top:45%;z-index:1000}sqh-global-container .loading-icon-tr .loading-icon{position:relative;top:0}sqh-global-container .loading-icon>div{height:100%;margin:1px;width:6px;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}sqh-global-container .loading-icon .bar2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}sqh-global-container .loading-icon .bar3{-webkit-animation-delay:-1s;animation-delay:-1s}sqh-global-container .loading-icon .bar4{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}sqh-global-container .loading-icon .bar5{-webkit-animation-delay:-0.8s;animation-delay:-0.8s}@-webkit-keyframes sk-stretchdelay{0%,40%,100%{-webkit-transform:scaleY(0.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(0.4);-webkit-transform:scaleY(0.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
2636
-
2637
- const GlobalContainer = class {
2638
- constructor(hostRef) {
2639
- index.registerInstance(this, hostRef);
2640
- }
2641
- LoadingState(props) {
2642
- const style = css `
2643
- background-color: ${props.loadingcolor || "#439B76"};
2644
- `;
2645
- return (index.h("div", { class: "container-loading" }, index.h("div", { class: "loading-icon" }, index.h("div", { class: `bar1 ${style}` }), index.h("div", { class: `bar2 ${style}` }), index.h("div", { class: `bar3 ${style}` }), index.h("div", { class: `bar4 ${style}` }), index.h("div", { class: `bar5 ${style}` }))));
2646
- }
2647
- render() {
2648
- const style = css `
2649
- background-color: ${this.background};
2650
- font-family: ${this.fontfamily};
2651
- position: relative;
2652
- max-width: ${this.maxwidth};
2653
- `;
2654
- const robotoFont = (index.h("link", { href: "https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap", rel: "stylesheet" }));
2655
- const artifaktFont = (index.h("link", { href: "https://static-dc.autodesk.net/etc/designs/v201903181748/templates-general/structure/fonts/artifakt/clientlibs/artifakt.css", rel: "stylesheet" }));
2656
- return (index.h("div", { class: style }, this.fontfamily == "Roboto" ? robotoFont : "", this.fontfamily == "Artifakt Element" ? artifaktFont : "", index.h("slot", null), this.poweredby ? (index.h("a", { class: "sqh-attribution", href: "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget", target: "_blank" }, "Powered By Saasquatch")) : (""), index.h(this.LoadingState, { loadingcolor: this.loadingcolor })));
2657
- }
2658
- };
2659
- GlobalContainer.style = globalContainerCss;
2660
-
2661
- const imageComponentCss = "sqh-image-component{display:block}sqh-image-component div{position:relative}sqh-image-component img{max-width:100%;height:auto}";
2662
-
2663
- const ImageComponent = class {
2664
- constructor(hostRef) {
2665
- index.registerInstance(this, hostRef);
2666
- }
2667
- render() {
2668
- const imageString = this.url;
2669
- const alignment = css `
2670
- {
2671
- text-align: ${this.alignment};
2672
- }
2673
- `;
2674
- const myStyle = css `
2675
- {
2676
- width: ${this.width}px;
2677
- border-radius: ${this.borderradius}px;
2678
- ${this.css}
2679
- }
2680
- `;
2681
- return (!this.ishidden && (index.h("div", { class: alignment }, index.h("img", { src: imageString, class: myStyle }))));
2682
- }
2683
- };
2684
- ImageComponent.style = imageComponentCss;
2685
-
2686
- const partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
2687
-
2688
- const PartnerStatComponent = class {
2689
- constructor(hostRef) {
2690
- index.registerInstance(this, hostRef);
2691
- this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
2692
- this.statAdded = index.createEvent(this, "statAdded", 7);
2693
- }
2694
- componentWillLoad() {
2695
- this.statAddedHandler(this.elem);
2696
- }
2697
- stattypeHandler(newValue, oldValue) {
2698
- if (newValue !== oldValue)
2699
- this.statTypeUpdatedHandler(this.elem);
2700
- }
2701
- statAddedHandler(stat) {
2702
- this.statAdded.emit(stat);
2703
- }
2704
- statTypeUpdatedHandler(stat) {
2705
- this.statTypeUpdated.emit(stat);
2706
- }
2707
- render() {
2708
- const clz = css `
2709
- color: ${this.statcolor};
2710
- `;
2711
- return (!this.ishidden && (index.h("div", { class: clz }, index.h("div", { class: "stat-value" }, this.statvalue), index.h("div", { class: "stat-description" }, this.statdescription))));
2712
- }
2713
- get elem() { return index.getElement(this); }
2714
- static get watchers() { return {
2715
- "stattype": ["stattypeHandler"]
2716
- }; }
2717
- };
2718
- PartnerStatComponent.style = partnerStatComponentCss;
2719
-
2720
- var shifty = _commonjsHelpers.createCommonjsModule(function (module, exports) {
2721
- /*! For license information please see shifty.js.LICENSE.txt */
2722
- !function(t,n){module.exports=n();}(self,(function(){return function(){var t={720:function(t,n,e){e.r(n),e.d(n,{Scene:function(){return Xt},Tweenable:function(){return _t},interpolate:function(){return Wt},processTweens:function(){return ft},setBezierFunction:function(){return Yt},tween:function(){return yt},unsetBezierFunction:function(){return Zt}});var r={};e.r(r),e.d(r,{bounce:function(){return D},bouncePast:function(){return q},easeFrom:function(){return B},easeFromTo:function(){return Q},easeInBack:function(){return E},easeInCirc:function(){return j},easeInCubic:function(){return c},easeInExpo:function(){return b},easeInOutBack:function(){return F},easeInOutCirc:function(){return P},easeInOutCubic:function(){return l},easeInOutExpo:function(){return S},easeInOutQuad:function(){return s},easeInOutQuart:function(){return v},easeInOutQuint:function(){return d},easeInOutSine:function(){return w},easeInQuad:function(){return o},easeInQuart:function(){return h},easeInQuint:function(){return _},easeInSine:function(){return g},easeOutBack:function(){return T},easeOutBounce:function(){return M},easeOutCirc:function(){return k},easeOutCubic:function(){return f},easeOutExpo:function(){return O},easeOutQuad:function(){return a},easeOutQuart:function(){return p},easeOutQuint:function(){return y},easeOutSine:function(){return m},easeTo:function(){return N},elastic:function(){return I},linear:function(){return u},swingFrom:function(){return A},swingFromTo:function(){return x},swingTo:function(){return C}});var i={};e.r(i),e.d(i,{afterTween:function(){return Nt},beforeTween:function(){return Bt},doesApply:function(){return qt},tweenCreated:function(){return Qt}});var u=function(t){return t},o=function(t){return Math.pow(t,2)},a=function(t){return -(Math.pow(t-1,2)-1)},s=function(t){return (t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},c=function(t){return Math.pow(t,3)},f=function(t){return Math.pow(t-1,3)+1},l=function(t){return (t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},h=function(t){return Math.pow(t,4)},p=function(t){return -(Math.pow(t-1,4)-1)},v=function(t){return (t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},_=function(t){return Math.pow(t,5)},y=function(t){return Math.pow(t-1,5)+1},d=function(t){return (t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},g=function(t){return 1-Math.cos(t*(Math.PI/2))},m=function(t){return Math.sin(t*(Math.PI/2))},w=function(t){return -.5*(Math.cos(Math.PI*t)-1)},b=function(t){return 0===t?0:Math.pow(2,10*(t-1))},O=function(t){return 1===t?1:1-Math.pow(2,-10*t)},S=function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},j=function(t){return -(Math.sqrt(1-t*t)-1)},k=function(t){return Math.sqrt(1-Math.pow(t-1,2))},P=function(t){return (t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},M=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},E=function(t){var n=1.70158;return t*t*((n+1)*t-n)},T=function(t){var n=1.70158;return (t-=1)*t*((n+1)*t+n)+1},F=function(t){var n=1.70158;return (t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},I=function(t){return -1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},x=function(t){var n=1.70158;return (t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},A=function(t){var n=1.70158;return t*t*((n+1)*t-n)},C=function(t){var n=1.70158;return (t-=1)*t*((n+1)*t+n)+1},D=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},q=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},Q=function(t){return (t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},B=function(t){return Math.pow(t,4)},N=function(t){return Math.pow(t,.25)};function R(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function z(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r);}}function L(t){return (L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r);}return e}function V(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?U(Object(e),!0).forEach((function(n){W(t,n,e[n]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):U(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));}));}return t}function W(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var $,G,H,J="linear",K="undefined"!=typeof window?window:e.g,X="afterTween",Y="afterTweenEnd",Z="beforeTween",tt="tweenCreated",nt="function",et="string",rt=K.requestAnimationFrame||K.webkitRequestAnimationFrame||K.oRequestAnimationFrame||K.msRequestAnimationFrame||K.mozCancelRequestAnimationFrame&&K.mozRequestAnimationFrame||setTimeout,it=function(){},ut=null,ot=null,at=V({},r),st=function(t,n,e,r,i,u,o){var a,s,c,f=t<u?0:(t-u)/i,l=!1;for(var h in o&&o.call&&(l=!0,a=o(f)),n)l||(a=((s=o[h]).call?s:at[s])(f)),c=e[h],n[h]=c+(r[h]-c)*a;return n},ct=function(t,n){var e=t._timestamp,r=t._currentState,i=t._delay;if(!(n<e+i)){var u=t._duration,o=t._targetState,a=e+i+u,s=n>a?a:n,c=s>=a,f=u-(a-s),l=t._filters.length>0;if(c)return t._render(o,t._data,f),t.stop(!0);l&&t._applyFilter(Z),s<e+i?e=u=s=1:e+=i,st(s,r,t._originalState,o,u,e,t._easing),l&&t._applyFilter(X),t._render(r,t._data,f);}},ft=function(){for(var t,n=_t.now(),e=ut;e;)t=e._next,ct(e,n),e=t;},lt=Date.now||function(){return +new Date},ht=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=L(n);if(at[n])return at[n];if(r===et||r===nt)for(var i in t)e[i]=n;else for(var u in t)e[u]=n[u]||J;return e},pt=function(t){t===ut?(ut=t._next)?ut._previous=null:ot=null:t===ot?(ot=t._previous)?ot._next=null:ut=null:(G=t._previous,H=t._next,G._next=H,H._previous=G),t._previous=t._next=null;},vt="function"==typeof Promise?Promise:null,_t=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;R(this,t),this._config={},this._data={},this._delay=0,this._filters=[],this._next=null,this._previous=null,this._timestamp=null,this._resolve=null,this._reject=null,this._currentState=n||{},this._originalState={},this._targetState={},this._start=it,this._render=it,this._promiseCtor=vt,e&&this.setConfig(e);}var n,e;return n=t,(e=[{key:"_applyFilter",value:function(t){for(var n=this._filters.length;n>0;n--){var e=this._filters[n-n][t];e&&e(this);}}},{key:"tween",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return this._isPlaying&&this.stop(),!n&&this._config||this.setConfig(n),this._pausedAtTime=null,this._timestamp=t.now(),this._start(this.get(),this._data),this._delay&&this._render(this._currentState,this._data,0),this._resume(this._timestamp)}},{key:"setConfig",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._config;for(var r in n)e[r]=n[r];var i=e.promise,u=void 0===i?this._promiseCtor:i,o=e.start,a=void 0===o?it:o,s=e.finish,c=e.render,f=void 0===c?this._config.step||it:c,l=e.step,h=void 0===l?it:l;this._data=e.data||e.attachment||this._data,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=n.delay||0,this._start=a,this._render=f||h,this._duration=e.duration||500,this._promiseCtor=u,s&&(this._resolve=s);var p=n.from,v=n.to,_=void 0===v?{}:v,y=this._currentState,d=this._originalState,g=this._targetState;for(var m in p)y[m]=p[m];var w=!1;for(var b in y){var O=y[b];w||L(O)!==et||(w=!0),d[b]=O,g[b]=_.hasOwnProperty(b)?_[b]:O;}if(this._easing=ht(this._currentState,e.easing,this._easing),this._filters.length=0,w){for(var S in t.filters)t.filters[S].doesApply(this)&&this._filters.push(t.filters[S]);this._applyFilter(tt);}return this}},{key:"then",value:function(t,n){var e=this;return this._promise=new this._promiseCtor((function(t,n){e._resolve=t,e._reject=n;})),this._promise.then(t,n)}},{key:"catch",value:function(t){return this.then().catch(t)}},{key:"get",value:function(){return V({},this._currentState)}},{key:"set",value:function(t){this._currentState=t;}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=t.now(),this._isPlaying=!1,pt(this),this}},{key:"resume",value:function(){return this._resume()}},{key:"_resume",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.now();return null===this._timestamp?this.tween():this._isPlaying?this._promise:(this._pausedAtTime&&(this._timestamp+=n-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===ut?(ut=this,ot=this):(this._previous=ot,ot._next=this,ot=this),this)}},{key:"seek",value:function(n){n=Math.max(n,0);var e=t.now();return this._timestamp+n===0||(this._timestamp=e-n,ct(this,e)),this}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._isPlaying)return this;this._isPlaying=!1,pt(this);var n=this._filters.length>0;return t&&(n&&this._applyFilter(Z),st(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),n&&(this._applyFilter(X),this._applyFilter(Y))),this._resolve&&this._resolve({data:this._data,state:this._currentState,tweenable:this}),this._resolve=null,this._reject=null,this}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this._currentState,e=this._data,r=this._isPlaying;return r?(this._reject&&this._reject({data:e,state:n,tweenable:this}),this._resolve=null,this._reject=null,this.stop(t)):this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"setScheduleFunction",value:function(n){t.setScheduleFunction(n);}},{key:"data",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t&&(this._data=V({},t)),this._data}},{key:"dispose",value:function(){for(var t in this)delete this[t];}}])&&z(n.prototype,e),t}();function yt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new _t;return n.tween(t),n.tweenable=n,n}W(_t,"now",(function(){return $})),_t.setScheduleFunction=function(t){return rt=t},_t.formulas=at,_t.filters={},function t(){$=lt(),rt.call(K,t,16.666666666666668),ft();}();var dt,gt,mt=/(\d|-|\.)/,wt=/([^\-0-9.]+)/g,bt=/[0-9.-]+/g,Ot=(dt=bt.source,gt=/,\s*/.source,new RegExp("rgba?\\(".concat(dt).concat(gt).concat(dt).concat(gt).concat(dt,"(").concat(gt).concat(dt,")?\\)"),"g")),St=/^.*\(/,jt=/#([0-9]|[a-f]){3,6}/gi,kt="VAL",Pt=function(t,n){return t.map((function(t,e){return "_".concat(n,"_").concat(e)}))};function Mt(t){return parseInt(t,16)}var Et=function(t){return "rgb(".concat((n=t,3===(n=n.replace(/#/,"")).length&&(n=(n=n.split(""))[0]+n[0]+n[1]+n[1]+n[2]+n[2]),[Mt(n.substr(0,2)),Mt(n.substr(2,2)),Mt(n.substr(4,2))]).join(","),")");var n;},Tt=function(t,n,e){var r=n.match(t),i=n.replace(t,kt);return r&&r.forEach((function(t){return i=i.replace(kt,e(t))})),i},Ft=function(t){for(var n in t){var e=t[n];"string"==typeof e&&e.match(jt)&&(t[n]=Tt(jt,e,Et));}},It=function(t){var n=t.match(bt),e=n.slice(0,3).map(Math.floor),r=t.match(St)[0];if(3===n.length)return "".concat(r).concat(e.join(","),")");if(4===n.length)return "".concat(r).concat(e.join(","),",").concat(n[3],")");throw new Error("Invalid rgbChunk: ".concat(t))},xt=function(t){return t.match(bt)},At=function(t,n){var e={};return n.forEach((function(n){e[n]=t[n],delete t[n];})),e},Ct=function(t,n){return n.map((function(n){return t[n]}))},Dt=function(t,n){return n.forEach((function(n){return t=t.replace(kt,+n.toFixed(4))})),t},qt=function(t){for(var n in t._currentState)if("string"==typeof t._currentState[n])return !0;return !1};function Qt(t){var n=t._currentState;[n,t._originalState,t._targetState].forEach(Ft),t._tokenData=function(t){var n,e,r={};for(var i in t){var u=t[i];"string"==typeof u&&(r[i]={formatString:(n=u,e=void 0,e=n.match(wt),e?(1===e.length||n.charAt(0).match(mt))&&e.unshift(""):e=["",""],e.join(kt)),chunkNames:Pt(xt(u),i)});}return r}(n);}function Bt(t){var n=t._currentState,e=t._originalState,r=t._targetState,i=t._easing,u=t._tokenData;!function(t,n){var e=function(e){var r=n[e].chunkNames,i=t[e];if("string"==typeof i){var u=i.split(" "),o=u[u.length-1];r.forEach((function(n,e){return t[n]=u[e]||o}));}else r.forEach((function(n){return t[n]=i}));delete t[e];};for(var r in n)e(r);}(i,u),[n,e,r].forEach((function(t){return function(t,n){var e=function(e){xt(t[e]).forEach((function(r,i){return t[n[e].chunkNames[i]]=+r})),delete t[e];};for(var r in n)e(r);}(t,u)}));}function Nt(t){var n=t._currentState,e=t._originalState,r=t._targetState,i=t._easing,u=t._tokenData;[n,e,r].forEach((function(t){return function(t,n){for(var e in n){var r=n[e],i=r.chunkNames,u=r.formatString,o=Dt(u,Ct(At(t,i),i));t[e]=Tt(Ot,o,It);}}(t,u)})),function(t,n){for(var e in n){var r=n[e].chunkNames,i=t[r[0]];t[e]="string"==typeof i?r.map((function(n){var e=t[n];return delete t[n],e})).join(" "):i;}}(i,u);}function Rt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r);}return e}function zt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Rt(Object(e),!0).forEach((function(n){Lt(t,n,e[n]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Rt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));}));}return t}function Lt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var Ut=new _t,Vt=_t.filters,Wt=function(t,n,e,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=zt({},t),o=ht(t,r);for(var a in Ut._filters.length=0,Ut.set({}),Ut._currentState=u,Ut._originalState=t,Ut._targetState=n,Ut._easing=o,Vt)Vt[a].doesApply(Ut)&&Ut._filters.push(Vt[a]);Ut._applyFilter("tweenCreated"),Ut._applyFilter("beforeTween");var s=st(e,u,t,n,1,i,o);return Ut._applyFilter("afterTween"),s};function $t(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function Gt(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Ht(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r);}}function Jt(t,n){var e=n.get(t);if(!e)throw new TypeError("attempted to get private field on non-instance");return e.get?e.get.call(t):e.value}var Kt=new WeakMap,Xt=function(){function t(){Gt(this,t),Kt.set(this,{writable:!0,value:[]});for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];e.forEach(this.add.bind(this));}var n,e;return n=t,(e=[{key:"add",value:function(t){return Jt(this,Kt).push(t),t}},{key:"remove",value:function(t){var n=Jt(this,Kt).indexOf(t);return ~n&&Jt(this,Kt).splice(n,1),t}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return Jt(this,Kt).some((function(t){return t.isPlaying()}))}},{key:"play",value:function(){return Jt(this,Kt).forEach((function(t){return t.tween()})),this}},{key:"pause",value:function(){return Jt(this,Kt).forEach((function(t){return t.pause()})),this}},{key:"resume",value:function(){return Jt(this,Kt).forEach((function(t){return t.resume()})),this}},{key:"stop",value:function(t){return Jt(this,Kt).forEach((function(n){return n.stop(t)})),this}},{key:"tweenables",get:function(){return function(t){if(Array.isArray(t))return $t(t)}(t=Jt(this,Kt))||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return $t(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return "Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?$t(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();var t;}},{key:"promises",get:function(){return Jt(this,Kt).map((function(t){return t.then()}))}}])&&Ht(n.prototype,e),t}();var Yt=function(t,n,e,r,i){var u=function(t,n,e,r){return function(i){return f=0,l=0,h=0,p=function(t){return ((f*t+l)*t+h)*t},v=function(t){return (3*f*t+2*l)*t+h},_=function(t){return t>=0?t:0-t},f=1-(h=3*(u=t))-(l=3*(e-u)-h),a=1-(c=3*(o=n))-(s=3*(r-o)-c),function(t){return ((a*t+s)*t+c)*t}(function(t,n){var e,r,i,u,o,a;for(i=t,a=0;a<8;a++){if(u=p(i)-t,_(u)<n)return i;if(o=v(i),_(o)<1e-6)break;i-=u/o;}if((i=t)<(e=0))return e;if(i>(r=1))return r;for(;e<r;){if(u=p(i),_(u-t)<n)return i;t>u?e=i:r=i,i=.5*(r-e)+e;}return i}(i,function(t){return 1/(200*t)}(1)));var u,o,a,s,c,f,l,h,p,v,_;}}(n,e,r,i);return u.displayName=t,u.x1=n,u.y1=e,u.x2=r,u.y2=i,_t.formulas[t]=u},Zt=function(t){return delete _t.formulas[t]};_t.filters.token=i;}},n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{}};return t[r](i,i.exports,e),i.exports}return e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]});},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},e(720)}()}));
2723
-
2724
- });
2725
-
2726
- _commonjsHelpers.unwrapExports(shifty);
2727
-
2728
- // Utility functions
2729
-
2730
- var PREFIXES = 'Webkit Moz O ms'.split(' ');
2731
- var FLOAT_COMPARISON_EPSILON = 0.001;
2732
-
2733
- // Copy all attributes from source object to destination object.
2734
- // destination object is mutated.
2735
- function extend(destination, source, recursive) {
2736
- destination = destination || {};
2737
- source = source || {};
2738
- recursive = recursive || false;
2739
-
2740
- for (var attrName in source) {
2741
- if (source.hasOwnProperty(attrName)) {
2742
- var destVal = destination[attrName];
2743
- var sourceVal = source[attrName];
2744
- if (recursive && isObject(destVal) && isObject(sourceVal)) {
2745
- destination[attrName] = extend(destVal, sourceVal, recursive);
2746
- } else {
2747
- destination[attrName] = sourceVal;
2748
- }
2749
- }
2750
- }
2751
-
2752
- return destination;
2753
- }
2754
-
2755
- // Renders templates with given variables. Variables must be surrounded with
2756
- // braces without any spaces, e.g. {variable}
2757
- // All instances of variable placeholders will be replaced with given content
2758
- // Example:
2759
- // render('Hello, {message}!', {message: 'world'})
2760
- function render(template, vars) {
2761
- var rendered = template;
2762
-
2763
- for (var key in vars) {
2764
- if (vars.hasOwnProperty(key)) {
2765
- var val = vars[key];
2766
- var regExpString = '\\{' + key + '\\}';
2767
- var regExp = new RegExp(regExpString, 'g');
2768
-
2769
- rendered = rendered.replace(regExp, val);
2770
- }
2771
- }
2772
-
2773
- return rendered;
2774
- }
2775
-
2776
- function setStyle(element, style, value) {
2777
- var elStyle = element.style; // cache for performance
2778
-
2779
- for (var i = 0; i < PREFIXES.length; ++i) {
2780
- var prefix = PREFIXES[i];
2781
- elStyle[prefix + capitalize(style)] = value;
2782
- }
2783
-
2784
- elStyle[style] = value;
2785
- }
2786
-
2787
- function setStyles(element, styles) {
2788
- forEachObject(styles, function(styleValue, styleName) {
2789
- // Allow disabling some individual styles by setting them
2790
- // to null or undefined
2791
- if (styleValue === null || styleValue === undefined) {
2792
- return;
2793
- }
2794
-
2795
- // If style's value is {prefix: true, value: '50%'},
2796
- // Set also browser prefixed styles
2797
- if (isObject(styleValue) && styleValue.prefix === true) {
2798
- setStyle(element, styleName, styleValue.value);
2799
- } else {
2800
- element.style[styleName] = styleValue;
2801
- }
2802
- });
2803
- }
2804
-
2805
- function capitalize(text) {
2806
- return text.charAt(0).toUpperCase() + text.slice(1);
2807
- }
2808
-
2809
- function isString(obj) {
2810
- return typeof obj === 'string' || obj instanceof String;
2811
- }
2812
-
2813
- function isFunction(obj) {
2814
- return typeof obj === 'function';
2815
- }
2816
-
2817
- function isArray(obj) {
2818
- return Object.prototype.toString.call(obj) === '[object Array]';
2819
- }
2820
-
2821
- // Returns true if `obj` is object as in {a: 1, b: 2}, not if it's function or
2822
- // array
2823
- function isObject(obj) {
2824
- if (isArray(obj)) {
2825
- return false;
2826
- }
2827
-
2828
- var type = typeof obj;
2829
- return type === 'object' && !!obj;
2830
- }
2831
-
2832
- function forEachObject(object, callback) {
2833
- for (var key in object) {
2834
- if (object.hasOwnProperty(key)) {
2835
- var val = object[key];
2836
- callback(val, key);
2837
- }
2838
- }
2839
- }
2840
-
2841
- function floatEquals(a, b) {
2842
- return Math.abs(a - b) < FLOAT_COMPARISON_EPSILON;
2843
- }
2844
-
2845
- // https://coderwall.com/p/nygghw/don-t-use-innerhtml-to-empty-dom-elements
2846
- function removeChildren(el) {
2847
- while (el.firstChild) {
2848
- el.removeChild(el.firstChild);
2849
- }
2850
- }
2851
-
2852
- var utils = {
2853
- extend: extend,
2854
- render: render,
2855
- setStyle: setStyle,
2856
- setStyles: setStyles,
2857
- capitalize: capitalize,
2858
- isString: isString,
2859
- isFunction: isFunction,
2860
- isObject: isObject,
2861
- forEachObject: forEachObject,
2862
- floatEquals: floatEquals,
2863
- removeChildren: removeChildren
2864
- };
2865
-
2866
- // Lower level API to animate any kind of svg path
2867
-
2868
-
2869
-
2870
-
2871
- var Tweenable = shifty.Tweenable;
2872
-
2873
- var EASING_ALIASES = {
2874
- easeIn: 'easeInCubic',
2875
- easeOut: 'easeOutCubic',
2876
- easeInOut: 'easeInOutCubic'
2877
- };
2878
-
2879
- var Path = function Path(path, opts) {
2880
- // Throw a better error if not initialized with `new` keyword
2881
- if (!(this instanceof Path)) {
2882
- throw new Error('Constructor was called without new keyword');
2883
- }
2884
-
2885
- // Default parameters for animation
2886
- opts = utils.extend({
2887
- delay: 0,
2888
- duration: 800,
2889
- easing: 'linear',
2890
- from: {},
2891
- to: {},
2892
- step: function() {}
2893
- }, opts);
2894
-
2895
- var element;
2896
- if (utils.isString(path)) {
2897
- element = document.querySelector(path);
2898
- } else {
2899
- element = path;
2900
- }
2901
-
2902
- // Reveal .path as public attribute
2903
- this.path = element;
2904
- this._opts = opts;
2905
- this._tweenable = null;
2906
-
2907
- // Set up the starting positions
2908
- var length = this.path.getTotalLength();
2909
- this.path.style.strokeDasharray = length + ' ' + length;
2910
- this.set(0);
2911
- };
2912
-
2913
- Path.prototype.value = function value() {
2914
- var offset = this._getComputedDashOffset();
2915
- var length = this.path.getTotalLength();
2916
-
2917
- var progress = 1 - offset / length;
2918
- // Round number to prevent returning very small number like 1e-30, which
2919
- // is practically 0
2920
- return parseFloat(progress.toFixed(6), 10);
2921
- };
2922
-
2923
- Path.prototype.set = function set(progress) {
2924
- this.stop();
2925
-
2926
- this.path.style.strokeDashoffset = this._progressToOffset(progress);
2927
-
2928
- var step = this._opts.step;
2929
- if (utils.isFunction(step)) {
2930
- var easing = this._easing(this._opts.easing);
2931
- var values = this._calculateTo(progress, easing);
2932
- var reference = this._opts.shape || this;
2933
- step(values, reference, this._opts.attachment);
2934
- }
2935
- };
2936
-
2937
- Path.prototype.stop = function stop() {
2938
- this._stopTween();
2939
- this.path.style.strokeDashoffset = this._getComputedDashOffset();
2940
- };
2941
-
2942
- // Method introduced here:
2943
- // http://jakearchibald.com/2013/animated-line-drawing-svg/
2944
- Path.prototype.animate = function animate(progress, opts, cb) {
2945
- opts = opts || {};
2946
-
2947
- if (utils.isFunction(opts)) {
2948
- cb = opts;
2949
- opts = {};
2950
- }
2951
-
2952
- var passedOpts = utils.extend({}, opts);
2953
-
2954
- // Copy default opts to new object so defaults are not modified
2955
- var defaultOpts = utils.extend({}, this._opts);
2956
- opts = utils.extend(defaultOpts, opts);
2957
-
2958
- var shiftyEasing = this._easing(opts.easing);
2959
- var values = this._resolveFromAndTo(progress, shiftyEasing, passedOpts);
2960
-
2961
- this.stop();
2962
-
2963
- // Trigger a layout so styles are calculated & the browser
2964
- // picks up the starting position before animating
2965
- this.path.getBoundingClientRect();
2966
-
2967
- var offset = this._getComputedDashOffset();
2968
- var newOffset = this._progressToOffset(progress);
2969
-
2970
- var self = this;
2971
- this._tweenable = new Tweenable();
2972
- this._tweenable.tween({
2973
- from: utils.extend({ offset: offset }, values.from),
2974
- to: utils.extend({ offset: newOffset }, values.to),
2975
- duration: opts.duration,
2976
- delay: opts.delay,
2977
- easing: shiftyEasing,
2978
- step: function(state) {
2979
- self.path.style.strokeDashoffset = state.offset;
2980
- var reference = opts.shape || self;
2981
- opts.step(state, reference, opts.attachment);
2982
- }
2983
- }).then(function(state) {
2984
- if (utils.isFunction(cb)) {
2985
- cb();
2986
- }
2987
- });
2988
- };
2989
-
2990
- Path.prototype._getComputedDashOffset = function _getComputedDashOffset() {
2991
- var computedStyle = window.getComputedStyle(this.path, null);
2992
- return parseFloat(computedStyle.getPropertyValue('stroke-dashoffset'), 10);
2993
- };
2994
-
2995
- Path.prototype._progressToOffset = function _progressToOffset(progress) {
2996
- var length = this.path.getTotalLength();
2997
- return length - progress * length;
2998
- };
2999
-
3000
- // Resolves from and to values for animation.
3001
- Path.prototype._resolveFromAndTo = function _resolveFromAndTo(progress, easing, opts) {
3002
- if (opts.from && opts.to) {
3003
- return {
3004
- from: opts.from,
3005
- to: opts.to
3006
- };
3007
- }
3008
-
3009
- return {
3010
- from: this._calculateFrom(easing),
3011
- to: this._calculateTo(progress, easing)
3012
- };
3013
- };
3014
-
3015
- // Calculate `from` values from options passed at initialization
3016
- Path.prototype._calculateFrom = function _calculateFrom(easing) {
3017
- return shifty.interpolate(this._opts.from, this._opts.to, this.value(), easing);
3018
- };
3019
-
3020
- // Calculate `to` values from options passed at initialization
3021
- Path.prototype._calculateTo = function _calculateTo(progress, easing) {
3022
- return shifty.interpolate(this._opts.from, this._opts.to, progress, easing);
3023
- };
3024
-
3025
- Path.prototype._stopTween = function _stopTween() {
3026
- if (this._tweenable !== null) {
3027
- this._tweenable.stop();
3028
- this._tweenable = null;
3029
- }
3030
- };
3031
-
3032
- Path.prototype._easing = function _easing(easing) {
3033
- if (EASING_ALIASES.hasOwnProperty(easing)) {
3034
- return EASING_ALIASES[easing];
3035
- }
3036
-
3037
- return easing;
3038
- };
3039
-
3040
- var path = Path;
3041
-
3042
- // Base object for different progress bar shapes
3043
-
3044
-
3045
-
3046
-
3047
- var DESTROYED_ERROR = 'Object is destroyed';
3048
-
3049
- var Shape = function Shape(container, opts) {
3050
- // Throw a better error if progress bars are not initialized with `new`
3051
- // keyword
3052
- if (!(this instanceof Shape)) {
3053
- throw new Error('Constructor was called without new keyword');
3054
- }
3055
-
3056
- // Prevent calling constructor without parameters so inheritance
3057
- // works correctly. To understand, this is how Shape is inherited:
3058
- //
3059
- // Line.prototype = new Shape();
3060
- //
3061
- // We just want to set the prototype for Line.
3062
- if (arguments.length === 0) {
3063
- return;
3064
- }
3065
-
3066
- // Default parameters for progress bar creation
3067
- this._opts = utils.extend({
3068
- color: '#555',
3069
- strokeWidth: 1.0,
3070
- trailColor: null,
3071
- trailWidth: null,
3072
- fill: null,
3073
- text: {
3074
- style: {
3075
- color: null,
3076
- position: 'absolute',
3077
- left: '50%',
3078
- top: '50%',
3079
- padding: 0,
3080
- margin: 0,
3081
- transform: {
3082
- prefix: true,
3083
- value: 'translate(-50%, -50%)'
3084
- }
3085
- },
3086
- autoStyleContainer: true,
3087
- alignToBottom: true,
3088
- value: null,
3089
- className: 'progressbar-text'
3090
- },
3091
- svgStyle: {
3092
- display: 'block',
3093
- width: '100%'
3094
- },
3095
- warnings: false
3096
- }, opts, true); // Use recursive extend
3097
-
3098
- // If user specifies e.g. svgStyle or text style, the whole object
3099
- // should replace the defaults to make working with styles easier
3100
- if (utils.isObject(opts) && opts.svgStyle !== undefined) {
3101
- this._opts.svgStyle = opts.svgStyle;
3102
- }
3103
- if (utils.isObject(opts) && utils.isObject(opts.text) && opts.text.style !== undefined) {
3104
- this._opts.text.style = opts.text.style;
3105
- }
3106
-
3107
- var svgView = this._createSvgView(this._opts);
3108
-
3109
- var element;
3110
- if (utils.isString(container)) {
3111
- element = document.querySelector(container);
3112
- } else {
3113
- element = container;
3114
- }
3115
-
3116
- if (!element) {
3117
- throw new Error('Container does not exist: ' + container);
3118
- }
3119
-
3120
- this._container = element;
3121
- this._container.appendChild(svgView.svg);
3122
- if (this._opts.warnings) {
3123
- this._warnContainerAspectRatio(this._container);
3124
- }
3125
-
3126
- if (this._opts.svgStyle) {
3127
- utils.setStyles(svgView.svg, this._opts.svgStyle);
3128
- }
3129
-
3130
- // Expose public attributes before Path initialization
3131
- this.svg = svgView.svg;
3132
- this.path = svgView.path;
3133
- this.trail = svgView.trail;
3134
- this.text = null;
3135
-
3136
- var newOpts = utils.extend({
3137
- attachment: undefined,
3138
- shape: this
3139
- }, this._opts);
3140
- this._progressPath = new path(svgView.path, newOpts);
3141
-
3142
- if (utils.isObject(this._opts.text) && this._opts.text.value !== null) {
3143
- this.setText(this._opts.text.value);
3144
- }
3145
- };
3146
-
3147
- Shape.prototype.animate = function animate(progress, opts, cb) {
3148
- if (this._progressPath === null) {
3149
- throw new Error(DESTROYED_ERROR);
3150
- }
3151
-
3152
- this._progressPath.animate(progress, opts, cb);
3153
- };
3154
-
3155
- Shape.prototype.stop = function stop() {
3156
- if (this._progressPath === null) {
3157
- throw new Error(DESTROYED_ERROR);
3158
- }
3159
-
3160
- // Don't crash if stop is called inside step function
3161
- if (this._progressPath === undefined) {
3162
- return;
3163
- }
3164
-
3165
- this._progressPath.stop();
3166
- };
3167
-
3168
- Shape.prototype.pause = function pause() {
3169
- if (this._progressPath === null) {
3170
- throw new Error(DESTROYED_ERROR);
3171
- }
3172
-
3173
- if (this._progressPath === undefined) {
3174
- return;
3175
- }
3176
-
3177
- if (!this._progressPath._tweenable) {
3178
- // It seems that we can't pause this
3179
- return;
3180
- }
3181
-
3182
- this._progressPath._tweenable.pause();
3183
- };
3184
-
3185
- Shape.prototype.resume = function resume() {
3186
- if (this._progressPath === null) {
3187
- throw new Error(DESTROYED_ERROR);
3188
- }
3189
-
3190
- if (this._progressPath === undefined) {
3191
- return;
3192
- }
3193
-
3194
- if (!this._progressPath._tweenable) {
3195
- // It seems that we can't resume this
3196
- return;
3197
- }
3198
-
3199
- this._progressPath._tweenable.resume();
3200
- };
3201
-
3202
- Shape.prototype.destroy = function destroy() {
3203
- if (this._progressPath === null) {
3204
- throw new Error(DESTROYED_ERROR);
3205
- }
3206
-
3207
- this.stop();
3208
- this.svg.parentNode.removeChild(this.svg);
3209
- this.svg = null;
3210
- this.path = null;
3211
- this.trail = null;
3212
- this._progressPath = null;
3213
-
3214
- if (this.text !== null) {
3215
- this.text.parentNode.removeChild(this.text);
3216
- this.text = null;
3217
- }
3218
- };
3219
-
3220
- Shape.prototype.set = function set(progress) {
3221
- if (this._progressPath === null) {
3222
- throw new Error(DESTROYED_ERROR);
3223
- }
3224
-
3225
- this._progressPath.set(progress);
3226
- };
3227
-
3228
- Shape.prototype.value = function value() {
3229
- if (this._progressPath === null) {
3230
- throw new Error(DESTROYED_ERROR);
3231
- }
3232
-
3233
- if (this._progressPath === undefined) {
3234
- return 0;
3235
- }
3236
-
3237
- return this._progressPath.value();
3238
- };
3239
-
3240
- Shape.prototype.setText = function setText(newText) {
3241
- if (this._progressPath === null) {
3242
- throw new Error(DESTROYED_ERROR);
3243
- }
3244
-
3245
- if (this.text === null) {
3246
- // Create new text node
3247
- this.text = this._createTextContainer(this._opts, this._container);
3248
- this._container.appendChild(this.text);
3249
- }
3250
-
3251
- // Remove previous text and add new
3252
- if (utils.isObject(newText)) {
3253
- utils.removeChildren(this.text);
3254
- this.text.appendChild(newText);
3255
- } else {
3256
- this.text.innerHTML = newText;
3257
- }
3258
- };
3259
-
3260
- Shape.prototype._createSvgView = function _createSvgView(opts) {
3261
- var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
3262
- this._initializeSvg(svg, opts);
3263
-
3264
- var trailPath = null;
3265
- // Each option listed in the if condition are 'triggers' for creating
3266
- // the trail path
3267
- if (opts.trailColor || opts.trailWidth) {
3268
- trailPath = this._createTrail(opts);
3269
- svg.appendChild(trailPath);
3270
- }
3271
-
3272
- var path = this._createPath(opts);
3273
- svg.appendChild(path);
3274
-
3275
- return {
3276
- svg: svg,
3277
- path: path,
3278
- trail: trailPath
3279
- };
3280
- };
3281
-
3282
- Shape.prototype._initializeSvg = function _initializeSvg(svg, opts) {
3283
- svg.setAttribute('viewBox', '0 0 100 100');
3284
- };
3285
-
3286
- Shape.prototype._createPath = function _createPath(opts) {
3287
- var pathString = this._pathString(opts);
3288
- return this._createPathElement(pathString, opts);
3289
- };
3290
-
3291
- Shape.prototype._createTrail = function _createTrail(opts) {
3292
- // Create path string with original passed options
3293
- var pathString = this._trailString(opts);
3294
-
3295
- // Prevent modifying original
3296
- var newOpts = utils.extend({}, opts);
3297
-
3298
- // Defaults for parameters which modify trail path
3299
- if (!newOpts.trailColor) {
3300
- newOpts.trailColor = '#eee';
3301
- }
3302
- if (!newOpts.trailWidth) {
3303
- newOpts.trailWidth = newOpts.strokeWidth;
3304
- }
3305
-
3306
- newOpts.color = newOpts.trailColor;
3307
- newOpts.strokeWidth = newOpts.trailWidth;
3308
-
3309
- // When trail path is set, fill must be set for it instead of the
3310
- // actual path to prevent trail stroke from clipping
3311
- newOpts.fill = null;
3312
-
3313
- return this._createPathElement(pathString, newOpts);
3314
- };
3315
-
3316
- Shape.prototype._createPathElement = function _createPathElement(pathString, opts) {
3317
- var path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
3318
- path.setAttribute('d', pathString);
3319
- path.setAttribute('stroke', opts.color);
3320
- path.setAttribute('stroke-width', opts.strokeWidth);
3321
-
3322
- if (opts.fill) {
3323
- path.setAttribute('fill', opts.fill);
3324
- } else {
3325
- path.setAttribute('fill-opacity', '0');
3326
- }
3327
-
3328
- return path;
3329
- };
3330
-
3331
- Shape.prototype._createTextContainer = function _createTextContainer(opts, container) {
3332
- var textContainer = document.createElement('div');
3333
- textContainer.className = opts.text.className;
3334
-
3335
- var textStyle = opts.text.style;
3336
- if (textStyle) {
3337
- if (opts.text.autoStyleContainer) {
3338
- container.style.position = 'relative';
3339
- }
3340
-
3341
- utils.setStyles(textContainer, textStyle);
3342
- // Default text color to progress bar's color
3343
- if (!textStyle.color) {
3344
- textContainer.style.color = opts.color;
3345
- }
3346
- }
3347
-
3348
- this._initializeTextContainer(opts, container, textContainer);
3349
- return textContainer;
3350
- };
3351
-
3352
- // Give custom shapes possibility to modify text element
3353
- Shape.prototype._initializeTextContainer = function(opts, container, element) {
3354
- // By default, no-op
3355
- // Custom shapes should respect API options, such as text.style
3356
- };
3357
-
3358
- Shape.prototype._pathString = function _pathString(opts) {
3359
- throw new Error('Override this function for each progress bar');
3360
- };
3361
-
3362
- Shape.prototype._trailString = function _trailString(opts) {
3363
- throw new Error('Override this function for each progress bar');
3364
- };
3365
-
3366
- Shape.prototype._warnContainerAspectRatio = function _warnContainerAspectRatio(container) {
3367
- if (!this.containerAspectRatio) {
3368
- return;
3369
- }
3370
-
3371
- var computedStyle = window.getComputedStyle(container, null);
3372
- var width = parseFloat(computedStyle.getPropertyValue('width'), 10);
3373
- var height = parseFloat(computedStyle.getPropertyValue('height'), 10);
3374
- if (!utils.floatEquals(this.containerAspectRatio, width / height)) {
3375
- console.warn(
3376
- 'Incorrect aspect ratio of container',
3377
- '#' + container.id,
3378
- 'detected:',
3379
- computedStyle.getPropertyValue('width') + '(width)',
3380
- '/',
3381
- computedStyle.getPropertyValue('height') + '(height)',
3382
- '=',
3383
- width / height
3384
- );
3385
-
3386
- console.warn(
3387
- 'Aspect ratio of should be',
3388
- this.containerAspectRatio
3389
- );
3390
- }
3391
- };
3392
-
3393
- var shape = Shape;
3394
-
3395
- // Line shaped progress bar
3396
-
3397
-
3398
-
3399
-
3400
- var Line = function Line(container, options) {
3401
- this._pathTemplate = 'M 0,{center} L 100,{center}';
3402
- shape.apply(this, arguments);
3403
- };
3404
-
3405
- Line.prototype = new shape();
3406
- Line.prototype.constructor = Line;
3407
-
3408
- Line.prototype._initializeSvg = function _initializeSvg(svg, opts) {
3409
- svg.setAttribute('viewBox', '0 0 100 ' + opts.strokeWidth);
3410
- svg.setAttribute('preserveAspectRatio', 'none');
3411
- };
3412
-
3413
- Line.prototype._pathString = function _pathString(opts) {
3414
- return utils.render(this._pathTemplate, {
3415
- center: opts.strokeWidth / 2
3416
- });
3417
- };
3418
-
3419
- Line.prototype._trailString = function _trailString(opts) {
3420
- return this._pathString(opts);
3421
- };
3422
-
3423
- var line = Line;
3424
-
3425
- // Circle shaped progress bar
3426
-
3427
-
3428
-
3429
-
3430
- var Circle = function Circle(container, options) {
3431
- // Use two arcs to form a circle
3432
- // See this answer http://stackoverflow.com/a/10477334/1446092
3433
- this._pathTemplate =
3434
- 'M 50,50 m 0,-{radius}' +
3435
- ' a {radius},{radius} 0 1 1 0,{2radius}' +
3436
- ' a {radius},{radius} 0 1 1 0,-{2radius}';
3437
-
3438
- this.containerAspectRatio = 1;
3439
-
3440
- shape.apply(this, arguments);
3441
- };
3442
-
3443
- Circle.prototype = new shape();
3444
- Circle.prototype.constructor = Circle;
3445
-
3446
- Circle.prototype._pathString = function _pathString(opts) {
3447
- var widthOfWider = opts.strokeWidth;
3448
- if (opts.trailWidth && opts.trailWidth > opts.strokeWidth) {
3449
- widthOfWider = opts.trailWidth;
3450
- }
2441
+ action: this.action(trigger),
2442
+ target: this.target(trigger),
2443
+ text: this.text(trigger),
2444
+ container: this.container,
2445
+ trigger: trigger,
2446
+ emitter: this
2447
+ });
2448
+ }
3451
2449
 
3452
- var r = 50 - widthOfWider / 2;
2450
+ /**
2451
+ * Default `action` lookup function.
2452
+ * @param {Element} trigger
2453
+ */
3453
2454
 
3454
- return utils.render(this._pathTemplate, {
3455
- radius: r,
3456
- '2radius': r * 2
3457
- });
3458
- };
2455
+ }, {
2456
+ key: 'defaultAction',
2457
+ value: function defaultAction(trigger) {
2458
+ return getAttributeValue('action', trigger);
2459
+ }
3459
2460
 
3460
- Circle.prototype._trailString = function _trailString(opts) {
3461
- return this._pathString(opts);
3462
- };
2461
+ /**
2462
+ * Default `target` lookup function.
2463
+ * @param {Element} trigger
2464
+ */
3463
2465
 
3464
- var circle = Circle;
2466
+ }, {
2467
+ key: 'defaultTarget',
2468
+ value: function defaultTarget(trigger) {
2469
+ var selector = getAttributeValue('target', trigger);
3465
2470
 
3466
- // Semi-SemiCircle shaped progress bar
2471
+ if (selector) {
2472
+ return document.querySelector(selector);
2473
+ }
2474
+ }
3467
2475
 
2476
+ /**
2477
+ * Returns the support of the given action, or all actions if no action is
2478
+ * given.
2479
+ * @param {String} [action]
2480
+ */
3468
2481
 
2482
+ }, {
2483
+ key: 'defaultText',
3469
2484
 
3470
2485
 
2486
+ /**
2487
+ * Default `text` lookup function.
2488
+ * @param {Element} trigger
2489
+ */
2490
+ value: function defaultText(trigger) {
2491
+ return getAttributeValue('text', trigger);
2492
+ }
3471
2493
 
3472
- var SemiCircle = function SemiCircle(container, options) {
3473
- // Use one arc to form a SemiCircle
3474
- // See this answer http://stackoverflow.com/a/10477334/1446092
3475
- this._pathTemplate =
3476
- 'M 50,50 m -{radius},0' +
3477
- ' a {radius},{radius} 0 1 1 {2radius},0';
2494
+ /**
2495
+ * Destroy lifecycle.
2496
+ */
3478
2497
 
3479
- this.containerAspectRatio = 2;
2498
+ }, {
2499
+ key: 'destroy',
2500
+ value: function destroy() {
2501
+ this.listener.destroy();
3480
2502
 
3481
- shape.apply(this, arguments);
3482
- };
2503
+ if (this.clipboardAction) {
2504
+ this.clipboardAction.destroy();
2505
+ this.clipboardAction = null;
2506
+ }
2507
+ }
2508
+ }], [{
2509
+ key: 'isSupported',
2510
+ value: function isSupported() {
2511
+ var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
3483
2512
 
3484
- SemiCircle.prototype = new shape();
3485
- SemiCircle.prototype.constructor = SemiCircle;
2513
+ var actions = typeof action === 'string' ? [action] : action;
2514
+ var support = !!document.queryCommandSupported;
3486
2515
 
3487
- SemiCircle.prototype._initializeSvg = function _initializeSvg(svg, opts) {
3488
- svg.setAttribute('viewBox', '0 0 100 50');
3489
- };
2516
+ actions.forEach(function (action) {
2517
+ support = support && !!document.queryCommandSupported(action);
2518
+ });
3490
2519
 
3491
- SemiCircle.prototype._initializeTextContainer = function _initializeTextContainer(
3492
- opts,
3493
- container,
3494
- textContainer
3495
- ) {
3496
- if (opts.text.style) {
3497
- // Reset top style
3498
- textContainer.style.top = 'auto';
3499
- textContainer.style.bottom = '0';
3500
-
3501
- if (opts.text.alignToBottom) {
3502
- utils.setStyle(textContainer, 'transform', 'translate(-50%, 0)');
3503
- } else {
3504
- utils.setStyle(textContainer, 'transform', 'translate(-50%, 50%)');
2520
+ return support;
3505
2521
  }
3506
- }
3507
- };
2522
+ }]);
3508
2523
 
3509
- // Share functionality with Circle, just have different path
3510
- SemiCircle.prototype._pathString = circle.prototype._pathString;
3511
- SemiCircle.prototype._trailString = circle.prototype._trailString;
2524
+ return Clipboard;
2525
+ }(tiny_emitter_default.a);
3512
2526
 
3513
- var semicircle = SemiCircle;
2527
+ /**
2528
+ * Helper function to retrieve attribute value.
2529
+ * @param {String} suffix
2530
+ * @param {Element} element
2531
+ */
3514
2532
 
3515
- // Square shaped progress bar
3516
- // Note: Square is not core part of API anymore. It's left here
3517
- // for reference. square is not included to the progressbar
3518
- // build anymore
3519
2533
 
2534
+ function getAttributeValue(suffix, element) {
2535
+ var attribute = 'data-clipboard-' + suffix;
3520
2536
 
2537
+ if (!element.hasAttribute(attribute)) {
2538
+ return;
2539
+ }
3521
2540
 
2541
+ return element.getAttribute(attribute);
2542
+ }
3522
2543
 
3523
- var Square = function Square(container, options) {
3524
- this._pathTemplate =
3525
- 'M 0,{halfOfStrokeWidth}' +
3526
- ' L {width},{halfOfStrokeWidth}' +
3527
- ' L {width},{width}' +
3528
- ' L {halfOfStrokeWidth},{width}' +
3529
- ' L {halfOfStrokeWidth},{strokeWidth}';
2544
+ /* harmony default export */ var clipboard = __webpack_exports__["default"] = (clipboard_Clipboard);
3530
2545
 
3531
- this._trailTemplate =
3532
- 'M {startMargin},{halfOfStrokeWidth}' +
3533
- ' L {width},{halfOfStrokeWidth}' +
3534
- ' L {width},{width}' +
3535
- ' L {halfOfStrokeWidth},{width}' +
3536
- ' L {halfOfStrokeWidth},{halfOfStrokeWidth}';
2546
+ /***/ })
2547
+ /******/ ])["default"];
2548
+ });
2549
+ });
3537
2550
 
3538
- shape.apply(this, arguments);
3539
- };
2551
+ const Clipboard = _commonjsHelpers.unwrapExports(clipboard);
3540
2552
 
3541
- Square.prototype = new shape();
3542
- Square.prototype.constructor = Square;
2553
+ const copyButtonCss = "sqh-copy-button{display:block}sqh-copy-button .sqh-align-button{text-align:center;position:relative;margin:20px 0}sqh-copy-button .sqh-align-button .sqh-copy-button{width:100%;text-align:center;padding:8px;cursor:pointer}sqh-copy-button .sqh-align-button .label{padding:0.2em 0.6em 0.3em;font-size:11px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;border-radius:0.25em;background-color:#35b21e}sqh-copy-button .sqh-align-button .label:empty{display:none}sqh-copy-button .sqh-align-button .fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}sqh-copy-button .sqh-align-button .fade.in{opacity:1}sqh-copy-button .sqh-align-button #squatch-copy-notification{position:absolute;left:215px;bottom:35px;z-index:2}";
3543
2554
 
3544
- Square.prototype._pathString = function _pathString(opts) {
3545
- var w = 100 - opts.strokeWidth / 2;
2555
+ const CopyButton = class {
2556
+ constructor(hostRef) {
2557
+ index.registerInstance(this, hostRef);
2558
+ }
2559
+ componentWillLoad() {
2560
+ if (!this.ishidden) {
2561
+ return WidgetHost.API.graphql
2562
+ .getFueltankCode(this.rewardkey)
2563
+ .then((res) => {
2564
+ const fuelTank = res.rewards.data.length > 0
2565
+ ? res.rewards.data[0].fuelTankCode
2566
+ : null;
2567
+ this.fueltankcode =
2568
+ fuelTank || res.referredByReferral.referrerUser.referralCode;
2569
+ })
2570
+ .catch((e) => {
2571
+ this.onError(e);
2572
+ });
2573
+ }
2574
+ }
2575
+ onError(e) {
2576
+ console.log("Error loading via GraphQL.", e);
2577
+ }
2578
+ notify(clipboardNotification, notificationText) {
2579
+ const notification = document.getElementById(clipboardNotification.slice(1));
2580
+ notification.textContent = notificationText;
2581
+ addClass(notification, "in");
2582
+ setTimeout(() => {
2583
+ removeClass(notification, "in");
2584
+ }, 1400);
2585
+ }
2586
+ notifySuccess(e) {
2587
+ this.notify(e.trigger.dataset.clipboardNotification, this.copysuccess);
2588
+ }
2589
+ notifyFailure(e) {
2590
+ this.notify(e.trigger.dataset.clipboardNotification, this.copyfailure);
2591
+ }
2592
+ componentDidLoad() {
2593
+ const clipboard = new Clipboard("button");
2594
+ clipboard.on("success", this.notifySuccess.bind(this));
2595
+ clipboard.on("error", this.notifyFailure.bind(this));
2596
+ }
2597
+ render() {
2598
+ const style = css `
2599
+ max-width: ${this.width}px;
2600
+ background-color: ${this.backgroundcolor};
2601
+ border: ${this.backgroundcolor};
2602
+ color: ${this.textcolor};
2603
+ border-radius: ${this.borderradius}px;
2604
+ font-size: ${this.fontsize}px;
2605
+
2606
+ &:hover {
2607
+ background-color: ${shadeColor(this.backgroundcolor, 10)};
2608
+ border-color: ${shadeColor(this.backgroundcolor, 12)};
2609
+ color: ${this.textcolor};
2610
+ }
2611
+
2612
+ &:focus {
2613
+ color: ${this.textcolor};
2614
+ }
2615
+ `;
2616
+ const code = css `
2617
+ text-align: center;
2618
+ font-weight: bold;
2619
+ font-size: ${this.codefontsize};
2620
+ color: ${this.codefontcolor};
2621
+ `;
2622
+ const classes = [`sqh-copy-button`, style].join(" ");
2623
+ return (!this.ishidden && (index.h("div", null, index.h("div", { class: code }, this.fueltankcode), index.h("div", { class: "sqh-align-button" }, index.h("span", { class: "label fade", id: "squatch-copy-notification" }, this.copysuccess), index.h("button", { class: classes, "data-clipboard-text": this.fueltankcode, "data-clipboard-notification": "#squatch-copy-notification" }, this.text)))));
2624
+ }
2625
+ };
2626
+ CopyButton.style = copyButtonCss;
3546
2627
 
3547
- return utils.render(this._pathTemplate, {
3548
- width: w,
3549
- strokeWidth: opts.strokeWidth,
3550
- halfOfStrokeWidth: opts.strokeWidth / 2
3551
- });
3552
- };
2628
+ const copyLinkButtonCss = "sqh-copy-link-button{display:block;text-align:center}sqh-copy-link-button .input-group{padding:8px 0 10px;position:relative;display:table;border-collapse:separate;width:100%;max-width:440px;margin:0 auto}sqh-copy-link-button #squatch-share-link{height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;border:1px solid #ccc;border-radius:4px 0 0 4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-o-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;color:#5b6165;cursor:text;position:relative;z-index:2;width:100%;margin-bottom:0;display:table-cell}sqh-copy-link-button .label{padding:0.2em 0.6em 0.3em;font-size:11px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;border-radius:0.25em;background-color:#737b80}sqh-copy-link-button .label:empty{display:none}sqh-copy-link-button .fade{opacity:0;-webkit-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear}sqh-copy-link-button .fade.in{opacity:1}sqh-copy-link-button #squatch-share-notification{position:absolute;top:16px;right:156px;z-index:2}sqh-copy-link-button .input-group-btn{display:table-cell;width:1%;white-space:nowrap;vertical-align:middle}sqh-copy-link-button .sqh-copy-btn{-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;border-radius:4px;border-bottom-left-radius:0;border-top-left-radius:0;height:34px}sqh-copy-link-button .sqh-copy-btn:focus{outline:0}sqh-copy-link-button .sqh-copy-btn.disabled,sqh-copy-link-button .sqh-copy-btn[disabled],fieldset[disabled] sqh-copy-link-button .sqh-copy-btn{cursor:not-allowed;pointer-events:none;opacity:0.65;-webkit-box-shadow:none;box-shadow:none}sqh-copy-link-button .icon-btn{width:139px;border-left:0;padding-left:0;padding-right:0;position:relative;text-align:left}sqh-copy-link-button .icon-btn:before{content:\"\";position:absolute;top:-1px;left:-3px;bottom:-1px;background:rgba(255, 255, 255, 0.18);width:40px}sqh-copy-link-button .icon-btn .icon{width:42px;margin-right:30px}sqh-copy-link-button .hidden-sm{text-align:center;padding-left:10px;font-size:14px}sqh-copy-link-button .icon-link:before{font-size:1.2em;padding-left:8px}@media (max-width: 499px){sqh-copy-link-button .input-group{max-width:100%}}@media (max-width: 499px){sqh-copy-link-button #squatch-share-notification{right:60px}}@media (max-width: 499px){sqh-copy-link-button .sqh-copy-btn{width:auto}sqh-copy-link-button .sqh-copy-btn .icon{width:39px;margin-right:0;padding-right:8px}}@media (min-width: 0px) and (max-width: 499px){sqh-copy-link-button .hidden-sm{display:none !important}}";
3553
2629
 
3554
- Square.prototype._trailString = function _trailString(opts) {
3555
- var w = 100 - opts.strokeWidth / 2;
2630
+ const CopyLinkButton = class {
2631
+ constructor(hostRef) {
2632
+ index.registerInstance(this, hostRef);
2633
+ }
2634
+ componentWillLoad() {
2635
+ if (!this.ishidden) {
2636
+ return WidgetHost.API.graphql
2637
+ .getShareLink()
2638
+ .then((res) => {
2639
+ this.sharelink = res;
2640
+ })
2641
+ .catch((e) => {
2642
+ this.onError(e);
2643
+ });
2644
+ }
2645
+ }
2646
+ onError(e) {
2647
+ console.log("Error loading via GraphQL.", e);
2648
+ }
2649
+ notify(clipboardNotification, notificationText) {
2650
+ const notification = document.getElementById(clipboardNotification.slice(1));
2651
+ notification.textContent = notificationText;
2652
+ addClass(notification, "in");
2653
+ setTimeout(() => {
2654
+ removeClass(notification, "in");
2655
+ }, 1400);
2656
+ WidgetHost.API.analytics.shareEvent("DIRECT");
2657
+ }
2658
+ notifySuccess(e) {
2659
+ this.notify(e.trigger.dataset.clipboardNotification, this.copysuccess);
2660
+ }
2661
+ notifyFailure(e) {
2662
+ this.notify(e.trigger.dataset.clipboardNotification, this.copyfailure);
2663
+ }
2664
+ componentDidLoad() {
2665
+ const clipboard = new Clipboard("[data-clipboard-target]");
2666
+ clipboard.on("success", this.notifySuccess.bind(this));
2667
+ clipboard.on("error", this.notifyFailure.bind(this));
2668
+ }
2669
+ render() {
2670
+ const myStyle = css `
2671
+ background-color: ${this.buttoncolor};
2672
+ border: 1px solid ${this.buttoncolor};
2673
+ color: ${this.textcolor};
2674
+ font-family: ${"inherit"};
2675
+
2676
+ &:hover {
2677
+ background: ${shadeColor(this.buttoncolor, 10)};
2678
+ border-color: ${shadeColor(this.buttoncolor, 12)};
2679
+ color: ${this.textcolor};
2680
+ }
2681
+
2682
+ &:focus {
2683
+ color: ${this.textcolor};
2684
+ }
2685
+ `;
2686
+ const buttonClass = [`sqh-copy-btn icon-btn`, myStyle].join(" ");
2687
+ return (!this.ishidden && (index.h("div", { class: "input-group" }, index.h("input", { id: "squatch-share-link", value: this.sharelink, readonly: "readonly" }), index.h("span", { class: "label fade", id: "squatch-share-notification" }, this.copysuccess), index.h("span", { class: "input-group-btn" }, index.h("button", { class: buttonClass, "data-clipboard-target": "#squatch-share-link", "data-clipboard-notification": "#squatch-share-notification" }, index.h("i", { class: "icon icon-link" }), index.h("span", { class: "hidden-sm" }, this.text))))));
2688
+ }
2689
+ };
2690
+ CopyLinkButton.style = copyLinkButtonCss;
3556
2691
 
3557
- return utils.render(this._trailTemplate, {
3558
- width: w,
3559
- strokeWidth: opts.strokeWidth,
3560
- halfOfStrokeWidth: opts.strokeWidth / 2,
3561
- startMargin: opts.strokeWidth / 2 - opts.trailWidth / 2
3562
- });
3563
- };
2692
+ const globalContainerCss = "body{margin:0px;padding:0px;font-family:sans-serif}sqh-global-container{display:block;max-width:500px;margin:0 auto}sqh-global-container *{-webkit-box-sizing:border-box;box-sizing:border-box}sqh-global-container>div{width:100%;display:block;padding:0 10px}sqh-global-container .sqh-attribution{display:inherit;text-align:center;font-size:10px;color:lightgray;text-decoration:none;padding-bottom:10px}sqh-global-container .container-loading{display:none;left:calc(50% - 50px);position:absolute;text-align:center;top:45%;width:100px}sqh-global-container:not(.hydrated) .container-loading{display:block;visibility:visible}sqh-global-container .loading-icon{height:40px;text-align:center;font-size:10px;position:absolute;left:0;width:100%;top:45%;z-index:1000}sqh-global-container .loading-icon-tr .loading-icon{position:relative;top:0}sqh-global-container .loading-icon>div{height:100%;margin:1px;width:6px;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}sqh-global-container .loading-icon .bar2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}sqh-global-container .loading-icon .bar3{-webkit-animation-delay:-1s;animation-delay:-1s}sqh-global-container .loading-icon .bar4{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}sqh-global-container .loading-icon .bar5{-webkit-animation-delay:-0.8s;animation-delay:-0.8s}@-webkit-keyframes sk-stretchdelay{0%,40%,100%{-webkit-transform:scaleY(0.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(0.4);-webkit-transform:scaleY(0.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
3564
2693
 
3565
- var square = Square;
2694
+ const GlobalContainer = class {
2695
+ constructor(hostRef) {
2696
+ index.registerInstance(this, hostRef);
2697
+ }
2698
+ LoadingState(props) {
2699
+ const style = css `
2700
+ background-color: ${props.loadingcolor || "#439B76"};
2701
+ `;
2702
+ return (index.h("div", { class: "container-loading" }, index.h("div", { class: "loading-icon" }, index.h("div", { class: `bar1 ${style}` }), index.h("div", { class: `bar2 ${style}` }), index.h("div", { class: `bar3 ${style}` }), index.h("div", { class: `bar4 ${style}` }), index.h("div", { class: `bar5 ${style}` }))));
2703
+ }
2704
+ render() {
2705
+ const style = css `
2706
+ background-color: ${this.background};
2707
+ font-family: ${this.fontfamily};
2708
+ position: relative;
2709
+ max-width: ${this.maxwidth};
2710
+ `;
2711
+ const robotoFont = (index.h("link", { href: "https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap", rel: "stylesheet" }));
2712
+ const artifaktFont = (index.h("link", { href: "https://static-dc.autodesk.net/etc/designs/v201903181748/templates-general/structure/fonts/artifakt/clientlibs/artifakt.css", rel: "stylesheet" }));
2713
+ return (index.h("div", { class: style }, this.fontfamily == "Roboto" ? robotoFont : "", this.fontfamily == "Artifakt Element" ? artifaktFont : "", index.h("slot", null), this.poweredby ? (index.h("a", { class: "sqh-attribution", href: "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget", target: "_blank" }, "Powered By Saasquatch")) : (""), index.h(this.LoadingState, { loadingcolor: this.loadingcolor })));
2714
+ }
2715
+ };
2716
+ GlobalContainer.style = globalContainerCss;
3566
2717
 
3567
- var main = {
3568
- // Higher level API, different shaped progress bars
3569
- Line: line,
3570
- Circle: circle,
3571
- SemiCircle: semicircle,
3572
- Square: square,
2718
+ const imageComponentCss = "sqh-image-component{display:block}sqh-image-component div{position:relative}sqh-image-component img{max-width:100%;height:auto}";
3573
2719
 
3574
- // Lower level API to use any SVG path
3575
- Path: path,
2720
+ const ImageComponent = class {
2721
+ constructor(hostRef) {
2722
+ index.registerInstance(this, hostRef);
2723
+ }
2724
+ render() {
2725
+ const imageString = this.url;
2726
+ const alignment = css `
2727
+ {
2728
+ text-align: ${this.alignment};
2729
+ }
2730
+ `;
2731
+ const myStyle = css `
2732
+ {
2733
+ width: ${this.width}px;
2734
+ border-radius: ${this.borderradius}px;
2735
+ ${this.css}
2736
+ }
2737
+ `;
2738
+ return (!this.ishidden && (index.h("div", { class: alignment }, index.h("img", { src: imageString, class: myStyle }))));
2739
+ }
2740
+ };
2741
+ ImageComponent.style = imageComponentCss;
3576
2742
 
3577
- // Base-class for creating new custom shapes
3578
- // to be in line with the API of built-in shapes
3579
- // Undocumented.
3580
- Shape: shape,
2743
+ const partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
3581
2744
 
3582
- // Internal utils, undocumented.
3583
- utils: utils
3584
- };
2745
+ const PartnerStatComponent = class {
2746
+ constructor(hostRef) {
2747
+ index.registerInstance(this, hostRef);
2748
+ this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
2749
+ this.statAdded = index.createEvent(this, "statAdded", 7);
2750
+ }
2751
+ componentWillLoad() {
2752
+ this.statAddedHandler(this.elem);
2753
+ }
2754
+ stattypeHandler(newValue, oldValue) {
2755
+ if (newValue !== oldValue)
2756
+ this.statTypeUpdatedHandler(this.elem);
2757
+ }
2758
+ statAddedHandler(stat) {
2759
+ this.statAdded.emit(stat);
2760
+ }
2761
+ statTypeUpdatedHandler(stat) {
2762
+ this.statTypeUpdated.emit(stat);
2763
+ }
2764
+ render() {
2765
+ const clz = css `
2766
+ color: ${this.statcolor};
2767
+ `;
2768
+ return (!this.ishidden && (index.h("div", { class: clz }, index.h("div", { class: "stat-value" }, this.statvalue), index.h("div", { class: "stat-description" }, this.statdescription))));
2769
+ }
2770
+ get elem() { return index.getElement(this); }
2771
+ static get watchers() { return {
2772
+ "stattype": ["stattypeHandler"]
2773
+ }; }
2774
+ };
2775
+ PartnerStatComponent.style = partnerStatComponentCss;
3585
2776
 
3586
2777
  var TYPE;
3587
2778
  (function (TYPE) {
@@ -7776,881 +6967,618 @@ RelativeFormat.thresholds = {
7776
6967
  'month-short': 11 // months to year
7777
6968
  };
7778
6969
 
7779
- const FormatJS = {
7780
- format(msg, values, userLocale) {
7781
- var locale = (userLocale || "en-US").replace("_", "-");
7782
- var format = new IntlMessageFormat(msg, locale);
7783
- return format.format(values);
7784
- },
7785
- formatRelative(value, userLocale) {
7786
- var locale = (userLocale || "en-US").replace("_", "-");
7787
- var relative = new RelativeFormat(locale);
7788
- return relative.format(value);
7789
- },
7790
- };
7791
-
7792
- const progressIndicatorCss = "sqh-progress-indicator{display:block}sqh-progress-indicator .container-loading{display:none;left:calc(50% - 50px);position:absolute;text-align:center;top:45%;width:100px}sqh-progress-indicator:not(.hydrated) .container-loading{display:block;visibility:visible}sqh-progress-indicator .loading-icon{height:40px;text-align:center;font-size:10px;position:absolute;left:0;width:100%;top:45%;z-index:1000}sqh-progress-indicator .loading-icon-tr .loading-icon{position:relative;top:0}sqh-progress-indicator .loading-icon>div{background-color:#439B76;height:100%;margin:1px;width:6px;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}sqh-progress-indicator .loading-icon .bar2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}sqh-progress-indicator .loading-icon .bar3{-webkit-animation-delay:-1s;animation-delay:-1s}sqh-progress-indicator .loading-icon .bar4{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}sqh-progress-indicator .loading-icon .bar5{-webkit-animation-delay:-0.8s;animation-delay:-0.8s}@-webkit-keyframes sk-stretchdelay{0%,40%,100%{-webkit-transform:scaleY(0.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,40%,100%{transform:scaleY(0.4);-webkit-transform:scaleY(0.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
7793
-
7794
- const present = (index.h("svg", { width: "100", height: "100", viewBox: "0 0 235 180", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("rect", { width: "250.699", height: "179.753", fill: "url(#pattern0)" }), index.h("defs", null, index.h("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1" }, index.h("use", { xlinkHref: "#image0", transform: "scale(0.00136054 0.00189753)" })), index.h("image", { id: "image0", width: "735", height: "527", xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAt8AAAIPCAYAAACrNLLrAAAWnWlDQ1BJQ0MgUHJvZmlsZQAAWIWVWAdQlE2Tnnczu0uGJeecc8455xwEliWzpCUJEhQRFRQBkSiggKCAqCAoiJKTAQRFVAwgIpiRIAoit36e+P/3V93VddXsPNU709PzPj2hBwD2Z8ToaDKMAYCIyDiKo5khv7uHJz96HiABCtAAIcBCJMVGG9jbWwOq/Kn/Xb4+AtCv+oHML1v/+f//KowBgbEkACB7KvYPiCVFUPFVapklRVPiAIAXUvVCiXHRv/B1KmahUB2k4ru/cPBvPPsL+//Ga/+0cXY0AgCBAQCDJxIpwQDgWah6/gRSMNUOXhkAFFNkQGgkAEzmVKxLCiEGAMB+hNpGOiIi6hem+gDE/f/FTvC/2fTftUkkBu/i33P5RzDGobHRZGLS//Nz/N8SQY7/M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AACCFgSIPi2BE0xCCCAAAIIIIAAAggQfHMNIIAAAggggAACCCBgSYDg2xI0xSCAAAIIIIAAAgggQPDNNYAAAggggAACCCCAgCUBgm9L0BSDAAIIIIAAAggggADBN9cAAggggAACCCCAAAKWBAi+LUFTDAIIIIAAAggggAACBN9cAwgggAACCCCAAAIIWBIg+LYETTEIIIAAAggggAACCBB8cw0ggAACCCCAAAIIIGBJgODbEjTFIIAAAggggAACCCBA8M01gAACCCCAAAIIIICAJQGCb0vQFIMAAggggAACCCCAAME31wACCCCAAAIIIIAAApYECL4tQVMMAggggAACCCCAAAIE31wDCCCAAAIIIIAAAghYEiD4tgRNMQgggAACCCCAAAIIEHxzDSCAAAIIIIAAAgggYEmA4NsSNMUggAACCCCAAAIIIEDwzTWAAAIIIIAAAggggIAlAYJvS9AUgwACCCCAAAIIIIAAwTfXAAIIIIAAAggggAAClgQIvi1BUwwCCCCAAAIIIIAAAgTfXAMIIIAAAggggAACCFgSIPi2BE0xCCCAAAIIIIAAAggQfHMNIIAAAggggAACCCBgSYDg2xI0xSCAAAIIIIAAAgggQPDNNYAAAggggAACCCCAgCUBgm9L0BSDAAIIIIAAAggggADBN9cAAggggAACCCCAAAKWBAi+LUFTDAIIIIAAAggggAACBN9cAwgggAACCCCAAAIIWBIg+LYETTEIIIAAAggggAACCBB8cw0ggAACCCCAAAIIIGBJgODbEjTFIIAAAggggAACCCBA8M01gAACCCCAAAIIIICAJQGCb0vQFIMAAggggAACCCCAAME31wACCCCAAAIIIIAAApYECL4tQVMMAggggAACCCCAAAIE31wDCCCAAAIIIIAAAghYEqi2VA7FIIAAAo4EOrI98uzBvKxvLcjeVI+kcr3Spb+yIt35HknnRJLqN1ljTZU0JmPSUhOTuaPjcuzYapnZHJdYLOaoXF6EAAIIIICACYFYr0omMiZPBBBAoFyBQk+vPLY7Jw9uz8lGFWzvbFPBdndPudm8dH5CBeVTxsRl0dSEXDQzKVMa4y89xzcIIIAAAghUQoDguxLqlIkAAi8J6JHt+7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skQAAQQQQAABBBBAoJgAwXcxFY4hgAACCCCAAAIIIGBAgODbACpZIoAAAggggAACCCBQTIDgu5gKxxBAAAEEEEAAAQQQMCBA8G0AlSwRQAABBBBAAAEEECgmQPBdTIVjCCCAAAIIIIAAAggYECD4NoBKlggggAACCCCAAAIIFBMg+C6mwjEEEEAAAQQQQAABBAwI/H+URC/DI6L6GQAAAABJRU5ErkJggg==" }))));
7795
- const ProgressIndicator = class {
7796
- constructor(hostRef) {
7797
- index.registerInstance(this, hostRef);
7798
- /**
7799
- * @uiName Hide Component
7800
- */
7801
- this.ishidden = false;
7802
- this.loading = true;
7803
- }
7804
- LoadingState() {
7805
- return (index.h("div", { class: "container-loading" }, index.h("div", { class: "loading-icon" }, index.h("div", { class: "bar1" }), index.h("div", { class: "bar2" }), index.h("div", { class: "bar3" }), index.h("div", { class: "bar4" }), index.h("div", { class: "bar5" }))));
7806
- }
7807
- async componentWillLoad() {
7808
- this.rewardStats = {
7809
- amountEarned: 0,
7810
- purchaseTotal: 0,
7811
- programGoal: 0,
7812
- progress: 0,
7813
- progressToGoal: 0,
7814
- };
7815
- const userProgress = await WidgetHost.API.graphql.getUserProgress();
7816
- const programRules = await WidgetHost.API.graphql.getProgramRules();
7817
- this.locale = userProgress === null || userProgress === void 0 ? void 0 : userProgress.locale;
7818
- this.loading = false;
7819
- const purchaseTotal = userProgress.customFields[programRules.id + "_totalValue"] || 0;
7820
- const programGoal = programRules.rules.rewardRules.rewardGoal;
7821
- this.rewardStats = {
7822
- amountEarned: userProgress.rewardBalanceDetails[0]
7823
- ? userProgress.rewardBalanceDetails[0].prettyAvailableValue
7824
- : null,
7825
- purchaseTotal,
7826
- programGoal,
7827
- progress: Math.floor(((purchaseTotal % programGoal) / programGoal) * 100) / 100,
7828
- progressToGoal: programGoal - (purchaseTotal % programGoal),
7829
- };
7830
- }
7831
- async componentDidLoad() {
7832
- if (this.rewardStats.purchaseTotal > 0 &&
7833
- this.rewardStats.purchaseTotal % this.rewardStats.programGoal == 0) {
7834
- this.rewardComplete = true;
7835
- this.rewardStats.progress = 1;
7836
- this.getProgress();
7837
- return;
7838
- }
7839
- const formatVariables = {
7840
- amountNeeded: this.rewardStats.progressToGoal,
7841
- };
7842
- this.progressMessage = FormatJS.format(this.progress || "", formatVariables, this.locale);
7843
- this.getProgress();
7844
- }
7845
- getProgress() {
7846
- if (this.progresstype === "Path") {
7847
- var bar = new main[this.progresstype]("#custom-circle", {
7848
- color: this.percentagecolor,
7849
- // This has to be the same size as the maximum width to
7850
- // prevent clipping
7851
- strokeWidth: 8,
7852
- trailWidth: 8,
7853
- easing: "easeInOut",
7854
- duration: 1400,
7855
- text: {
7856
- autoStyleContainer: false,
7857
- },
7858
- from: { color: this.progresscolor, width: 8 },
7859
- to: { color: this.progresscolor, width: 8 },
7860
- // Set default step function for all animate calls
7861
- step: (state, circle) => {
7862
- circle.path.setAttribute("stroke", this.progresscolor);
7863
- circle.path.setAttribute("stroke-width", state.width);
7864
- },
7865
- });
7866
- }
7867
- if (this.progresstype === "Circle") {
7868
- var bar = new main[this.progresstype]("#container", {
7869
- color: "#009DF5",
7870
- // This has to be the same size as the maximum width to
7871
- // prevent clipping
7872
- strokeWidth: 4,
7873
- trailWidth: 1,
7874
- easing: "easeInOut",
7875
- duration: 1400,
7876
- text: {
7877
- autoStyleContainer: false,
7878
- },
7879
- from: { color: this.progresscolor, width: 1 },
7880
- to: { color: this.progresscolor, width: 4 },
7881
- // Set default step function for all animate calls
7882
- step: function (state, circle) {
7883
- circle.path.setAttribute("stroke", state.color);
7884
- circle.path.setAttribute("stroke-width", state.width);
7885
- var value = Math.round(circle.value() * 100);
7886
- if (value === 0) {
7887
- circle.setText("");
7888
- }
7889
- else {
7890
- circle.setText(`<svg width="125" height="100" viewBox="0 0 235 180" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
7891
- <rect width="250.699" height="179.753" fill="url(#pattern0)"/>
7892
- <defs>
7893
- <pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
7894
- <use xlink:href="#image0" transform="scale(0.00136054 0.00189753)"/>
7895
- </pattern>
7896
- <image id="image0" width="735" height="527" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAt8AAAIPCAYAAACrNLLrAAAWnWlDQ1BJQ0MgUHJvZmlsZQAAWIWVWAdQlE2Tnnczu0uGJeecc8455xwEliWzpCUJEhQRFRQBkSiggKCAqCAoiJKTAQRFVAwgIpiRIAoit36e+P/3V93VddXsPNU709PzPj2hBwD2Z8ToaDKMAYCIyDiKo5khv7uHJz96HiABCtAAIcBCJMVGG9jbWwOq/Kn/Xb4+AtCv+oHML1v/+f//KowBgbEkACB7KvYPiCVFUPFVapklRVPiAIAXUvVCiXHRv/B1KmahUB2k4ru/cPBvPPsL+//Ga/+0cXY0AgCBAQCDJxIpwQDgWah6/gRSMNUOXhkAFFNkQGgkAEzmVKxLCiEGAMB+hNpGOiIi6hem+gDE/f/FTvC/2fTftUkkBu/i33P5RzDGobHRZGLS//Nz/N8SQY7/M4YoteBDKOaOv8ajfrPH4VFWuzjS39buDw4N+O3TLxwSb+7yB5NijTz/4ACisdVuX7Kt9R8cFGpqsWsnzsL5Dw6MNXH6gylRjrtjBVGMDP5gIuXvuPHhLrv6kECLXfvJIc5uf3BCqKvtHxwb7mT1t43Rrp4S77jrf2CkmeHfcU135x4R+y/zDbXY7RsX4my+O3fiX/8DIw3+2ox13/UtINDY5G8bl9320XGGu2NFk+132weSzXb1sQlOu33jqAH5t6/97jcMI1ra/8EgFNgAIiDFBe6N++W8UVR0EiU0OCSO34C6qgL5LSJJstL8ivIKGgD8WqO/Q2DV8Z+1BxHG/+rikgHQ9gYA5vRX58sHwLUWAFixf3VCOgDgVgC4cZ8UT0n4rUP8+kECLKAHLIAD8FJ3AHEgAxSBKtAC+sAEWAI74Aw8gA8ggRAQASggEaSAAyAL5IA8cAqUgSpQA86Di6AFXANdoBcMgTvgPpgCM2AWLID3YBl8BVsQ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UlICCCAAAIIIIAAAgggYFygyngJFIAAAggggAACCCCAAAJ9AgTfXAgIIIAAAggggAACCFgSIPi2BE0xCCCAAAIIIIAAAggQfHMNIIAAAggggAACCCBgSYDg2xI0xSCAAAIIIIAAAgggQPDNNYAAAggggAACCCCAgCUBgm9L0BSDAAIIIIAAAggggADBN9cAAggggAACCCCAAAKWBAi+LUFTDAIIIIAAAggggAACBN9cAwgggAACCCCAAAIIWBIg+LYETTEIIIAAAggggAACCBB8cw0ggAACCCCAAAIIIGBJgODbEjTFIIAAAggggAACCCBA8M01gAACCCCAAAIIIICAJQGCb0vQFIMAAggggAACCCCAAME31wACCCCAAAIIIIAAApYECL4tQVMMAggggAACCCCAAAIE31wDCCCAAAIIIIAAAghYEiD4tgRNMQgggAACCCCAAAIIEHxzDSCAAAIIIIAAAgggYEmA4NsSNMUggAACCCCAAAIIIEDwzTWAAAIIIIAAAggggIAlAYJvS9AUgwACCCCAAAIIIIAAwTfXAAIIIIAAAggggAAClgQIvi1BUwwCCCCAAAIIIIAAAgTfXAMIIIAAAggggAACCFgSIPi2BE0xCCCAAAIIIIAAAggQfHMNIIAAAggggAACCCBgSYDg2xI0xSCAAAIIIIAAAgggQPDNNYAAAggggAACCCCAgCUBgm9L0BSDAAIIIIAAAggggADBN9cAAggggAACCCCAAAKWBAi+LUFTDAIIIIAAAggggAACBN9cAwgggAACCCCAAAIIWBIg+LYETTEIIIAAAggggAACCBB8cw0ggAACCCCAAAIIIGBJgODbEjTFIIAAAggggAACCCBA8M01gAACCCCAAAIIIICAJQGCb0vQFIMAAggggAACCCCAAME31wACCCCAAAIIIIAAApYECL4tQVMMAggggAACCCCAAAIE31wDCCCAAAIIIIAAAghYEiD4tgRNMQgggAACCCCAAAIIEHxzDSCAAAIIIIAAAgggYEmA4NsSNMUggAACCCCAAAIIIEDwzTWAAAIIIIAAAggggIAlAYJvS9AUgwACCCCAAAIIIIAAwTfXAAIIIIAAAggggAAClgQIvi1BUwwCCCCAAAIIIIAAAgT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AQSKCRB8F1PhGAIIIIAAAggggAACBgQIvg2gkiUCCCCAAAIIIIAAAsUECL6LqXAMAQQQQAABBBBAAAEDAgTfBlDJEgEEEEAAAQQQQACBYgIE38VUOIYAAggggAACCCCAgAEBgm8DqGSJAAIIIIAAAggggEAxAYLvYiocQwABBBBAAAEEEEDAgADBtwFUskQAAQQQQAABBBBAoJgAwXcxFY4hgAACCCCAAAIIIGBAgODbACpZIoAAAggggAACCCBQTIDgu5gKxxBAAAEEEEAAAQQQMCBA8G0AlSwRQAABBBBAAAEEECgmQPBdTIVjCCCAAAIIIIAAAggYECD4NoBKlggggAACCCCAAAIIFBMg+C6mwjEEEEAAAQQQQAABBAwIEHwbQCVLBBBAAAEEEEAAAQSKCRB8F1PhGAIIIIAAAggggAACBgQIvg2gkiUCCCCAAAIIIIAAAsUECL6LqXAMAQQQQAABBBBAAAEDAgTfBlDJEgEEEEAAAQQQQACBYgIE38VUOIYAAggggAACCCCAgAEBgm8DqGSJAAIIIIAAAggggEAxAYLvYiocQwABBBBAAAEEEEDAgADBtwFUskQAAQQQQAABBBBAoJgAwXcxFY4hgAACCCCAAAIIIGBAgODbACpZIoAAAggggAACCCBQTIDgu5gKxxBAAAEEEEAAAQQQMCBA8G0AlSwRQAABBBBAAAEEECgmQPBdTIVjCCCAAAIIIIAAAggYECD4NoBKlggggAACCCCAAAIIFBMg+C6mwjEEEEAAAQQQQAABBAwI/H+URC/DI6L6GQAAAABJRU5ErkJggg=="/>
7897
- </defs>
7898
- </svg>
7899
- <br>` +
7900
- value +
7901
- "%<br><p class='complete'>COMPLETE</p>");
7902
- }
7903
- },
7904
- });
7905
- bar.text.style.fontFamily = '"Raleway", Helvetica, sans-serif';
7906
- bar.text.style.fontSize = this.percentagesize;
7907
- }
7908
- if (this.progresstype === "SemiCircle") {
7909
- var bar = new main.SemiCircle("#container", {
7910
- strokeWidth: 6,
7911
- color: "#FFEA82",
7912
- trailColor: "#eee",
7913
- trailWidth: 1,
7914
- easing: "easeInOut",
7915
- duration: 1400,
7916
- svgStyle: null,
7917
- text: {
7918
- value: "",
7919
- alignToBottom: false,
7920
- },
7921
- from: { color: "#FFEA82" },
7922
- to: { color: "#ED6A5A" },
7923
- // Set default step function for all animate calls
7924
- step: (state, bar) => {
7925
- bar.path.setAttribute("stroke", state.color);
7926
- var value = Math.round(bar.value() * 100);
7927
- if (value === 0) {
7928
- bar.setText("");
7929
- }
7930
- else {
7931
- bar.setText(`${value}%`);
7932
- }
7933
- bar.text.style.color = state.color;
7934
- },
7935
- });
7936
- bar.text.style.fontFamily = '"Raleway", Helvetica, sans-serif';
7937
- bar.text.style.fontSize = "2rem";
7938
- bar.text.style.marginBottom = "30px";
7939
- }
7940
- if (this.progresstype === "Line") {
7941
- var bar = new main.Line("#container", {
7942
- strokeWidth: 4,
7943
- easing: "easeInOut",
7944
- duration: 1400,
7945
- color: "#FFEA82",
7946
- trailColor: "#eee",
7947
- trailWidth: 1,
7948
- svgStyle: { width: "100%", height: "100%" },
7949
- text: {
7950
- style: {
7951
- // Text color.
7952
- // Default: same as stroke color (options.color)
7953
- color: "#999",
7954
- padding: 0,
7955
- margin: 0,
7956
- transform: null,
7957
- },
7958
- autoStyleContainer: false,
7959
- },
7960
- from: { color: "#FFEA82" },
7961
- to: { color: "#ED6A5A" },
7962
- // @ts-ignore
7963
- step: (state, bar) => {
7964
- bar.setText(Math.round(bar.value() * 100) + " %");
7965
- },
7966
- });
7967
- }
7968
- bar.animate(this.rewardStats.progress);
7969
- // TODO: Add in for Custom as well https://jsfiddle.net/kimmobrunfeldt/dnLLgm5o/
7970
- }
7971
- render() {
7972
- const wrapperStyle = css `
7973
- color: ${this.textcolor};
7974
- text-align: center;
7975
- `;
7976
- // progressbar-text has to override strange positioning of image inside ProgressBar
7977
- const progressStyle = css `
7978
- position: relative;
7979
- width: ${this.progresswidth};
7980
- margin: 30px auto;
7981
- margin-top: 0;
7982
- .progressbar-text {
7983
- top: ${this.rewardComplete ? "37%" : "48%"}!important;
7984
- }
7985
- `;
7986
- const completeStyle = css `
7987
- margin-top: 0em;
7988
- font-size: 16px;
7989
- background-color: #fff;
7990
- `;
7991
- const circleStyle = css `
7992
- transform: scaleX(-1);
7993
- `;
7994
- const progressMessageStyle = css `
7995
- padding: 0 20%;
7996
- margin-bottom: 0;
7997
- `;
7998
- const textStyle = css `
7999
- position: absolute;
8000
- left: ${this.rewardComplete ? "53.5%" : "55%"};
8001
- top: 82%;
8002
- padding: 0px;
8003
- margin: 0px;
8004
- transform: translate(-50%, -50%);
8005
- color: ${this.percentagecolor || "rgb(0, 157, 245)"};
8006
- font-family: Roboto, Helvetica, sans-serif;
8007
- font-size: ${this.rewardComplete ? "30px" : "34px"};
8008
- font-weight: bold;
8009
- `;
8010
- const presentStyle = css `
8011
- position: absolute;
8012
- left: 51%;
8013
- top: 52%;
8014
- transform: translate(-50%, -50%);
8015
- `;
8016
- const percentStyle = css `
8017
- font-size: 65%;
8018
- vertical-align: top;
8019
- display: inline-block;
8020
- margin-top: 3px;
8021
- margin-left: ${this.rewardComplete ? "0px" : "-1px"};
8022
- `;
8023
- const congratsStyle = css `
8024
- h1 {
8025
- color: #285f62;
8026
- font-size: 36px;
8027
- margin-bottom: 2px;
8028
- }
8029
- h3 {
8030
- color: #285f62;
8031
- font-size: 20px;
8032
- margin: 2px 0;
8033
- }
8034
- p {
8035
- margin-top: 5px;
8036
- margin-bottom: 1.5em;
8037
- }
8038
- `;
8039
- return !this.ishidden && this.rewardComplete ? (index.h("div", { class: wrapperStyle }, this.rewardStats.amountEarned && (index.h("div", null, this.rewardStats && this.earned, " ", this.rewardStats && this.rewardStats.amountEarned)), index.h("div", { class: progressStyle }, index.h("div", { id: "container" }, this.progresstype == "Path" && [
8040
- index.h("svg", { class: circleStyle, width: "210px", height: "210px", viewBox: "0 0 133 133", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { id: "blue-semi-circle", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, index.h("path", { d: "M94.2309355,112 C106.803489,103.004938 115,88.2630912 115,71.6028679 C115,44.2079604 92.8380951,22 65.5,22 C38.1619049,22 16,44.2079604 16,71.6028679 C16,88.1040219 24.0407405,102.723258 36.4101421,111.740781", id: "Grey-Semi", stroke: "#E9E9E9", "stroke-width": "6.5" }), index.h("path", { id: "custom-circle", d: "M94.2309355,112 C106.803489,103.004938 115,88.2630912 115,71.6028679 C115,44.2079604 92.8380951,22 65.5,22 C38.1619049,22 16,44.2079604 16,71.6028679 C16,88.1040219 24.0407405,102.723258 36.4101421,111.740781", stroke: "#2D97D3", "stroke-width": "6.5" }))),
8041
- index.h("span", { class: presentStyle }, present),
8042
- index.h("div", { class: textStyle }, index.h("br", null), this.rewardStats &&
8043
- Math.round(this.rewardStats.progress * 100), index.h("span", { class: percentStyle }, "%"), index.h("br", null), index.h("p", { class: completeStyle }, "COMPLETE")),
8044
- ])), index.h("div", { class: congratsStyle }, index.h("h1", null, "Congrats!"), index.h("h3", null, "You just earned another great reward."), index.h("br", null), index.h("p", null, "We love rewarding customers like you, keep it up!"), index.h("p", null, "Earn More Rewards")))) : this.loading ? (index.h(this.LoadingState, null)) : (index.h("div", { class: wrapperStyle }, this.rewardStats.amountEarned && (index.h("div", null, this.rewardStats && this.earned, " ", this.rewardStats && this.rewardStats.amountEarned, " credit")), index.h("div", { class: progressStyle }, index.h("div", { id: "container" }, this.progresstype == "Path" && [
8045
- index.h("svg", { class: circleStyle, width: "210px", height: "210px", viewBox: "0 0 133 133", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { id: "blue-semi-circle", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" }, index.h("path", { d: "M94.2309355,112 C106.803489,103.004938 115,88.2630912 115,71.6028679 C115,44.2079604 92.8380951,22 65.5,22 C38.1619049,22 16,44.2079604 16,71.6028679 C16,88.1040219 24.0407405,102.723258 36.4101421,111.740781", id: "Grey-Semi", stroke: "#E9E9E9", "stroke-width": "6.5" }), index.h("path", { id: "custom-circle", d: "M94.2309355,112 C106.803489,103.004938 115,88.2630912 115,71.6028679 C115,44.2079604 92.8380951,22 65.5,22 C38.1619049,22 16,44.2079604 16,71.6028679 C16,88.1040219 24.0407405,102.723258 36.4101421,111.740781", stroke: this.progresscolor, "stroke-width": "6.5" }))),
8046
- index.h("span", { class: presentStyle }, present),
8047
- index.h("div", { class: textStyle }, index.h("br", null), this.rewardStats &&
8048
- Math.round(this.rewardStats.progress * 100), index.h("span", { class: percentStyle }, "%"), index.h("br", null), index.h("p", { class: completeStyle }, "COMPLETE")),
8049
- ])), index.h("p", { class: progressMessageStyle }, this.progressMessage ||
8050
- "Almost there - Spend 23 more dollars and get $5 credit."), index.h("br", null)));
8051
- }
6970
+ const FormatJS = {
6971
+ format(msg, values, userLocale) {
6972
+ var locale = (userLocale || "en-US").replace("_", "-");
6973
+ var format = new IntlMessageFormat(msg, locale);
6974
+ return format.format(values);
6975
+ },
6976
+ formatRelative(value, userLocale) {
6977
+ var locale = (userLocale || "en-US").replace("_", "-");
6978
+ var relative = new RelativeFormat(locale);
6979
+ return relative.format(value);
6980
+ },
8052
6981
  };
8053
- ProgressIndicator.style = progressIndicatorCss;
8054
6982
 
8055
6983
  const referralComponentCss = "sqh-referral-component:nth-child(3) .squatch-referrals-row{border-bottom:none}sqh-referral-component .squatch-referrals-row{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:80px;border-bottom:1px solid #ececec;max-width:500px;margin:0 auto;padding:0 20px;line-height:1.6}sqh-referral-component .squatch-referrals-row>div:first-of-type{-ms-flex:1;flex:1}sqh-referral-component .squatch-referrals-row .icon{float:left;font-size:32px}sqh-referral-component .squatch-referrals-row .sqh-column-two{padding:10px 0}sqh-referral-component .squatch-referrals-value{width:175px;font-size:16px;float:left;margin:10px 0}sqh-referral-component .squatch-value-contents{font-size:13px;line-height:0px;padding-bottom:25px}sqh-referral-component .squatch-referrals-heading{font-size:16px}sqh-referral-component .squatch-referrals-description{font-size:13px}sqh-referral-component .squatch-customer-note{color:darkslategray;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (max-width: 499px){sqh-referral-component .squatch-referrals-description{display:none}sqh-referral-component .squatch-referrals-row{padding:0}sqh-referral-component .squatch-referrals-row>div:first-of-type{width:100px;overflow:hidden}}";
8056
6984
 
8057
- const ReferralComponent = class {
8058
- constructor(hostRef) {
8059
- index.registerInstance(this, hostRef);
8060
- }
8061
- getName() {
8062
- const referral = this.referral;
8063
- const referredByReferral = this.referral;
8064
- // Referred User
8065
- if (referral.referredUser) {
8066
- return referral.referredUser.firstName || this.unknownuser;
8067
- }
8068
- // Referrer User
8069
- if (referredByReferral.referrerUser) {
8070
- return referredByReferral.referrerUser.firstName || this.unknownuser;
8071
- }
8072
- return this.unknownuser;
8073
- }
8074
- getIcon() {
8075
- if ((this.referraltype === "converted" || this.referraltype === "referrer") &&
8076
- !this.rewardIsExpired() &&
8077
- !this.rewardIsCancelled()) {
8078
- return `icon-ok-circled`;
8079
- }
8080
- return `icon-attention`;
8081
- }
8082
- getContent(formatVariables) {
8083
- // When reward is expired and Expired Content was set
8084
- if (this.rewardIsExpired() && this.referralvariables.expiredcontent) {
8085
- return FormatJS.format(this.referralvariables.expiredcontent, formatVariables, this.locale);
8086
- }
8087
- // When reward is cancelled and Cancelled Content was set
8088
- if (this.rewardIsCancelled() && this.referralvariables.cancelledcontent) {
8089
- return FormatJS.format(this.referralvariables.cancelledcontent, formatVariables, this.locale);
8090
- }
8091
- if (this.referraltype) {
8092
- return FormatJS.format(this.referralvariables[`${this.referraltype}content`], formatVariables, this.locale);
8093
- }
8094
- return ``;
8095
- }
8096
- rewardIsExpired() {
8097
- const { rewards } = this.referral;
8098
- const hasExpiry = rewards.length == 1 && rewards[0].statuses;
8099
- const isExpired = hasExpiry && rewards[0].statuses.indexOf("EXPIRED") > -1;
8100
- return isExpired;
8101
- }
8102
- rewardIsCancelled() {
8103
- const { rewards } = this.referral;
8104
- const hasStatuses = rewards.length == 1 && rewards[0].statuses;
8105
- const isCancelled = hasStatuses && rewards[0].statuses.indexOf("CANCELLED") > -1;
8106
- return isCancelled;
8107
- }
8108
- rewardIsRedeemed() {
8109
- const { rewards } = this.referral;
8110
- const hasStatuses = rewards.length == 1 && rewards[0].statuses;
8111
- const isRedeemed = hasStatuses && rewards[0].statuses.indexOf("REDEEMED") > -1;
8112
- return isRedeemed;
8113
- }
8114
- getValue() {
8115
- const { rewards } = this.referral;
8116
- const referrer = this.referralvariables.referrervalue;
8117
- const pending = this.referralvariables.pendingvalue;
8118
- // When we have no reward values to show
8119
- if (rewards.length == 0) {
8120
- return this.referraltype === "referrer" ||
8121
- this.referraltype === "converted"
8122
- ? referrer
8123
- : pending;
8124
- }
8125
- // When we want to use the first reward pretty value
8126
- if (rewards.length > 0 && this.referralvariables.usefirstreward) {
8127
- return rewards[rewards.length - 1].prettyValue || rewards[0].prettyValue;
8128
- }
8129
- // Use last reward pretty value
8130
- return rewards[0].prettyValue;
8131
- }
8132
- getValueContent(formatVariables) {
8133
- const { rewards } = this.referral;
8134
- // When the reward is pending and there are no other rewards
8135
- if (!rewards.length)
8136
- return "";
8137
- if (rewards.length == 1) {
8138
- // Expired content only applies when there is 1 reward in the referral
8139
- if (this.rewardIsExpired())
8140
- return FormatJS.format(this.referralvariables.expiredvalue, formatVariables, this.locale);
8141
- // Cancelled content only applies when there is 1 reward in the referral
8142
- if (this.rewardIsCancelled())
8143
- return FormatJS.format(this.referralvariables.cancelledvalue, formatVariables, this.locale);
8144
- // Redeemed content only applies when there is 1 reward in the referral
8145
- if (this.rewardIsRedeemed())
8146
- return FormatJS.format(this.referralvariables.redeemedvalue || "Redeemed", formatVariables, this.locale);
8147
- // Expiry date only shown if there is 1 reward with dateExpires set in the referral
8148
- if (this.referralvariables.showexpiry && rewards[0].dateExpires) {
8149
- const expiryDate = FormatJS.formatRelative(rewards[0].dateExpires, this.locale);
8150
- return FormatJS.format(this.referralvariables.expiresvalue || `Expires ${expiryDate}`, Object.assign(Object.assign({}, formatVariables), { expiryDate }), this.locale);
8151
- }
8152
- return "";
8153
- }
8154
- return FormatJS.format(this.referralvariables.valuecontent, formatVariables, this.locale);
8155
- }
8156
- getNote() {
8157
- const { rewards } = this.referral;
8158
- const note = rewards[0] && rewards[0].meta && rewards[0].meta.message;
8159
- return note || "";
8160
- }
8161
- render() {
8162
- const { dateReferralStarted, rewards } = this.referral;
8163
- const formatVariables = {
8164
- date: FormatJS.formatRelative(dateReferralStarted, this.locale),
8165
- extrarewards: rewards.length - 1,
8166
- };
8167
- const name = this.getName();
8168
- const icon = this.getIcon();
8169
- const content = this.getContent(formatVariables);
8170
- const value = this.getValue();
8171
- const valuecontent = this.getValueContent(formatVariables);
8172
- const customernote = this.getNote();
8173
- return (index.h("div", { class: "squatch-referrals-row" }, index.h("div", null, index.h("div", { class: "squatch-referrals-heading" }, name), index.h("div", { class: "squatch-referrals-description" }, content), this.referralvariables.shownotes && customernote && (index.h("div", { class: "squatch-referrals-description squatch-customer-note", title: customernote }, customernote))), index.h("i", { class: `icon squatch-referrals-icon ${icon} ${this.rewardIsExpired() && "expired"} ${this.rewardIsCancelled() && "cancelled"}` }), index.h("div", { class: "sqh-column-two" }, index.h("div", { class: `squatch-referrals-value ${this.rewardIsCancelled() && "cancelled"} ${rewards.length > 0
8174
- ? this.rewardIsExpired()
8175
- ? "expired"
8176
- : ""
8177
- : this.referraltype === "referrer" ||
8178
- this.referraltype === "converted"
8179
- ? "referrer"
8180
- : "pending"}` }, value), index.h("div", { class: `squatch-value-contents ${this.rewardIsExpired() && "expired"} ${this.rewardIsCancelled() && "cancelled"}` }, valuecontent))));
8181
- }
8182
- };
6985
+ const ReferralComponent = class {
6986
+ constructor(hostRef) {
6987
+ index.registerInstance(this, hostRef);
6988
+ }
6989
+ getName() {
6990
+ const referral = this.referral;
6991
+ const referredByReferral = this.referral;
6992
+ // Referred User
6993
+ if (referral.referredUser) {
6994
+ return referral.referredUser.firstName || this.unknownuser;
6995
+ }
6996
+ // Referrer User
6997
+ if (referredByReferral.referrerUser) {
6998
+ return referredByReferral.referrerUser.firstName || this.unknownuser;
6999
+ }
7000
+ return this.unknownuser;
7001
+ }
7002
+ getIcon() {
7003
+ if ((this.referraltype === "converted" || this.referraltype === "referrer") &&
7004
+ !this.rewardIsExpired() &&
7005
+ !this.rewardIsCancelled()) {
7006
+ return `icon-ok-circled`;
7007
+ }
7008
+ return `icon-attention`;
7009
+ }
7010
+ getContent(formatVariables) {
7011
+ // When reward is expired and Expired Content was set
7012
+ if (this.rewardIsExpired() && this.referralvariables.expiredcontent) {
7013
+ return FormatJS.format(this.referralvariables.expiredcontent, formatVariables, this.locale);
7014
+ }
7015
+ // When reward is cancelled and Cancelled Content was set
7016
+ if (this.rewardIsCancelled() && this.referralvariables.cancelledcontent) {
7017
+ return FormatJS.format(this.referralvariables.cancelledcontent, formatVariables, this.locale);
7018
+ }
7019
+ if (this.referraltype) {
7020
+ return FormatJS.format(this.referralvariables[`${this.referraltype}content`], formatVariables, this.locale);
7021
+ }
7022
+ return ``;
7023
+ }
7024
+ rewardIsExpired() {
7025
+ const { rewards } = this.referral;
7026
+ const hasExpiry = rewards.length == 1 && rewards[0].statuses;
7027
+ const isExpired = hasExpiry && rewards[0].statuses.indexOf("EXPIRED") > -1;
7028
+ return isExpired;
7029
+ }
7030
+ rewardIsCancelled() {
7031
+ const { rewards } = this.referral;
7032
+ const hasStatuses = rewards.length == 1 && rewards[0].statuses;
7033
+ const isCancelled = hasStatuses && rewards[0].statuses.indexOf("CANCELLED") > -1;
7034
+ return isCancelled;
7035
+ }
7036
+ rewardIsRedeemed() {
7037
+ const { rewards } = this.referral;
7038
+ const hasStatuses = rewards.length == 1 && rewards[0].statuses;
7039
+ const isRedeemed = hasStatuses && rewards[0].statuses.indexOf("REDEEMED") > -1;
7040
+ return isRedeemed;
7041
+ }
7042
+ getValue() {
7043
+ const { rewards } = this.referral;
7044
+ const referrer = this.referralvariables.referrervalue;
7045
+ const pending = this.referralvariables.pendingvalue;
7046
+ // When we have no reward values to show
7047
+ if (rewards.length == 0) {
7048
+ return this.referraltype === "referrer" ||
7049
+ this.referraltype === "converted"
7050
+ ? referrer
7051
+ : pending;
7052
+ }
7053
+ // When we want to use the first reward pretty value
7054
+ if (rewards.length > 0 && this.referralvariables.usefirstreward) {
7055
+ return rewards[rewards.length - 1].prettyValue || rewards[0].prettyValue;
7056
+ }
7057
+ // Use last reward pretty value
7058
+ return rewards[0].prettyValue;
7059
+ }
7060
+ getValueContent(formatVariables) {
7061
+ const { rewards } = this.referral;
7062
+ // When the reward is pending and there are no other rewards
7063
+ if (!rewards.length)
7064
+ return "";
7065
+ if (rewards.length == 1) {
7066
+ // Expired content only applies when there is 1 reward in the referral
7067
+ if (this.rewardIsExpired())
7068
+ return FormatJS.format(this.referralvariables.expiredvalue, formatVariables, this.locale);
7069
+ // Cancelled content only applies when there is 1 reward in the referral
7070
+ if (this.rewardIsCancelled())
7071
+ return FormatJS.format(this.referralvariables.cancelledvalue, formatVariables, this.locale);
7072
+ // Redeemed content only applies when there is 1 reward in the referral
7073
+ if (this.rewardIsRedeemed())
7074
+ return FormatJS.format(this.referralvariables.redeemedvalue || "Redeemed", formatVariables, this.locale);
7075
+ // Expiry date only shown if there is 1 reward with dateExpires set in the referral
7076
+ if (this.referralvariables.showexpiry && rewards[0].dateExpires) {
7077
+ const expiryDate = FormatJS.formatRelative(rewards[0].dateExpires, this.locale);
7078
+ return FormatJS.format(this.referralvariables.expiresvalue || `Expires ${expiryDate}`, Object.assign(Object.assign({}, formatVariables), { expiryDate }), this.locale);
7079
+ }
7080
+ return "";
7081
+ }
7082
+ return FormatJS.format(this.referralvariables.valuecontent, formatVariables, this.locale);
7083
+ }
7084
+ getNote() {
7085
+ const { rewards } = this.referral;
7086
+ const note = rewards[0] && rewards[0].meta && rewards[0].meta.message;
7087
+ return note || "";
7088
+ }
7089
+ render() {
7090
+ const { dateReferralStarted, rewards } = this.referral;
7091
+ const formatVariables = {
7092
+ date: FormatJS.formatRelative(dateReferralStarted, this.locale),
7093
+ extrarewards: rewards.length - 1,
7094
+ };
7095
+ const name = this.getName();
7096
+ const icon = this.getIcon();
7097
+ const content = this.getContent(formatVariables);
7098
+ const value = this.getValue();
7099
+ const valuecontent = this.getValueContent(formatVariables);
7100
+ const customernote = this.getNote();
7101
+ return (index.h("div", { class: "squatch-referrals-row" }, index.h("div", null, index.h("div", { class: "squatch-referrals-heading" }, name), index.h("div", { class: "squatch-referrals-description" }, content), this.referralvariables.shownotes && customernote && (index.h("div", { class: "squatch-referrals-description squatch-customer-note", title: customernote }, customernote))), index.h("i", { class: `icon squatch-referrals-icon ${icon} ${this.rewardIsExpired() && "expired"} ${this.rewardIsCancelled() && "cancelled"}` }), index.h("div", { class: "sqh-column-two" }, index.h("div", { class: `squatch-referrals-value ${this.rewardIsCancelled() && "cancelled"} ${rewards.length > 0
7102
+ ? this.rewardIsExpired()
7103
+ ? "expired"
7104
+ : ""
7105
+ : this.referraltype === "referrer" ||
7106
+ this.referraltype === "converted"
7107
+ ? "referrer"
7108
+ : "pending"}` }, value), index.h("div", { class: `squatch-value-contents ${this.rewardIsExpired() && "expired"} ${this.rewardIsCancelled() && "cancelled"}` }, valuecontent))));
7109
+ }
7110
+ };
8183
7111
  ReferralComponent.style = referralComponentCss;
8184
7112
 
8185
7113
  const referralListCss = "sqh-referral-list{display:block}sqh-referral-list .squatch-no-referrals-yet{background:white;border-color:#adadad;border:1px solid;border-color:#cccccc;border-radius:4px;font-size:14px;line-height:20px;margin:5px;padding:6px 12px;width:165px}sqh-referral-list .squatch-referrals-scroll-container{min-height:255px}sqh-referral-list .squatch-referrals-scroll-action-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:5px 0}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action{background:white;border:1px solid;border-color:#cccccc;border-radius:4px;cursor:pointer;font-size:14px;line-height:20px;margin:5px;padding:6px 12px;width:120px}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action.disabled{cursor:default;opacity:0.5}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action.disabled:hover{background:white;border-color:#cccccc}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action.disabled:active{border-style:solid}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action:hover{background:#e6e6e6;border-color:#adadad}sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action:active,sqh-referral-list .squatch-referrals-scroll-action-container .squatch-referrals-scroll-action:focus{outline:none}";
8186
7114
 
8187
- const ReferralList = class {
8188
- constructor(hostRef) {
8189
- index.registerInstance(this, hostRef);
8190
- this.offset = 0;
8191
- this.loading = true;
8192
- }
8193
- componentWillLoad() {
8194
- if (!this.ishidden) {
8195
- return this.getReferrals(this.showreferrer)
8196
- .then((res) => {
8197
- this.referrals = res.referrals.data;
8198
- this.referredBy = res.referredByReferral;
8199
- this.referralsCount = res.referrals.totalCount;
8200
- this.loading = false;
8201
- this.locale = res.locale;
8202
- })
8203
- .catch((e) => {
8204
- this.onError(e);
8205
- });
8206
- }
8207
- }
8208
- getReferrals(showReferrer, offset = 0) {
8209
- return WidgetHost.API.graphql.getReferrals(showReferrer, offset);
8210
- }
8211
- paginate(offset, event) {
8212
- if (this.loading)
8213
- return null;
8214
- let { referralsCount } = this;
8215
- if (this.showreferrer && this.referredBy)
8216
- referralsCount++;
8217
- if (offset >= referralsCount || offset < 0)
8218
- return null;
8219
- this.loading = true;
8220
- const { target } = event;
8221
- target.innerText = "...";
8222
- this.getReferrals(this.showreferrer, offset).then((res) => {
8223
- target.innerText =
8224
- offset > this.offset ? this.paginatemore : this.paginateless;
8225
- this.referrals = res.referrals.data;
8226
- this.offset = offset;
8227
- this.loading = false;
8228
- });
8229
- }
8230
- onError(e) {
8231
- console.error(e);
8232
- this.loading = false;
8233
- }
8234
- render() {
8235
- let referredByRow;
8236
- let referralsRow;
8237
- const referralvariables = {
8238
- usefirstreward: this.usefirstreward,
8239
- referrercontent: this.referrercontent,
8240
- convertedcontent: this.convertedcontent,
8241
- pendingcontent: this.pendingcontent,
8242
- pendingvalue: this.pendingvalue,
8243
- referrervalue: this.referrervalue,
8244
- valuecontent: this.valuecontent,
8245
- expiredcontent: this.expiredcontent,
8246
- expiredvalue: this.expiredvalue,
8247
- expiresvalue: this.expiresvalue,
8248
- redeemedvalue: this.redeemedvalue,
8249
- showexpiry: this.showexpiry,
8250
- shownotes: this.shownotes,
8251
- cancelledvalue: this.cancelledvalue,
8252
- cancelledcontent: this.cancelledcontent,
8253
- };
8254
- if (this.referrals) {
8255
- referralsRow = this.referrals.map((ref) => {
8256
- const referraltype = ref.rewards.length > 0 || ref.dateConverted ? "converted" : "pending";
8257
- return (index.h("sqh-referral-component", { id: uuid(), referral: ref, referralvariables: referralvariables, referraltype: referraltype, unknownuser: this.unknownuser, locale: this.internationalization ? this.locale : "en-US" }));
8258
- });
8259
- }
8260
- if (this.referrals.length < 3 && this.referredBy && this.showreferrer) {
8261
- referredByRow = (index.h("sqh-referral-component", { id: uuid(), referral: this.referredBy, referralvariables: referralvariables, referraltype: "referrer", unknownuser: this.unknownuser, locale: this.internationalization ? this.locale : "en-US" }));
8262
- }
8263
- const clz = css `
8264
- .squatch-referrals-icon.icon-ok-circled {
8265
- color: ${this.rewardcolor};
8266
- }
8267
- .squatch-referrals-icon.icon-attention {
8268
- color: ${this.pendingcolor};
8269
- }
8270
- .squatch-referrals-value {
8271
- color: ${this.rewardcolor};
8272
- }
8273
- .squatch-referrals-value.pending {
8274
- color: ${this.pendingcolor};
8275
- }
8276
- .squatch-referrals-value.referrer {
8277
- color: ${this.rewardcolor};
8278
- }
8279
- .squatch-referrals-value.expired {
8280
- color: ${this.expiredcolor};
8281
- }
8282
- .squatch-value-contents.expired {
8283
- color: ${this.expiredcolor};
8284
- }
8285
- .squatch-referrals-icon.icon-attention.expired {
8286
- color: ${this.expiredcolor};
8287
- }
8288
- .squatch-referrals-value.cancelled {
8289
- color: ${this.cancelledcolor};
8290
- }
8291
- .squatch-value-contents.cancelled {
8292
- color: ${this.cancelledcolor};
8293
- }
8294
- .squatch-referrals-icon.icon-attention.cancelled {
8295
- color: ${this.cancelledcolor};
8296
- }
8297
- .squatch-referrals-heading {
8298
- color: ${this.referralnamecolor};
8299
- }
8300
- .squatch-referrals-description,
8301
- .squatch-referrals-value-content {
8302
- color: ${this.referraltextcolor};
8303
- }
8304
- .squatch-customer-note {
8305
- color: ${this.customernotecolor || "darkslategray"};
8306
- }
8307
- .squatch-referrals-scroll-action {
8308
- font-family: ${"inherit"};
8309
- }
8310
- `;
8311
- const totalReferralsCount = this.showreferrer && this.referredBy
8312
- ? this.referralsCount + 1
8313
- : this.referralsCount;
8314
- return !this.ishidden && totalReferralsCount > 0 ? (
8315
- // Referral List when not hidden and 1 or more referrals
8316
- index.h("div", { class: `squatch-referrals ${clz}` }, index.h("div", { class: "squatch-referrals-scroll-container" }, referralsRow, referredByRow), index.h("div", { class: "squatch-referrals-scroll-action-container" }, index.h("button", { class: `
8317
- squatch-referrals-scroll-action previous ${this.loading
8318
- ? "disabled"
8319
- : this.offset === 0
8320
- ? "disabled"
8321
- : ""}
8322
- `, onClick: (event) => this.paginate(this.offset - 3, event) }, this.paginateless), index.h("button", { class: `
8323
- squatch-referrals-scroll-action view-more ${this.loading
8324
- ? "disabled"
8325
- : this.showreferrer && this.referredBy
8326
- ? this.offset >= this.referralsCount - 2
8327
- ? "disabled"
8328
- : ""
8329
- : this.offset >= this.referralsCount - 3
8330
- ? "disabled"
8331
- : ""}
8332
- `, "view-more": true, onClick: (event) => this.paginate(this.offset + 3, event) }, this.paginatemore)))) : (
8333
- // 'No Referrals Yet' button if this.referralCount < 1
8334
- index.h("div", { class: "squatch-referrals-scroll-action-container" }, index.h("button", { disabled: true, class: "squatch-no-referrals-yet" }, this.noreferralsyet)));
8335
- }
8336
- };
7115
+ const ReferralList = class {
7116
+ constructor(hostRef) {
7117
+ index.registerInstance(this, hostRef);
7118
+ this.offset = 0;
7119
+ this.loading = true;
7120
+ }
7121
+ componentWillLoad() {
7122
+ if (!this.ishidden) {
7123
+ return this.getReferrals(this.showreferrer)
7124
+ .then((res) => {
7125
+ this.referrals = res.referrals.data;
7126
+ this.referredBy = res.referredByReferral;
7127
+ this.referralsCount = res.referrals.totalCount;
7128
+ this.loading = false;
7129
+ this.locale = res.locale;
7130
+ })
7131
+ .catch((e) => {
7132
+ this.onError(e);
7133
+ });
7134
+ }
7135
+ }
7136
+ getReferrals(showReferrer, offset = 0) {
7137
+ return WidgetHost.API.graphql.getReferrals(showReferrer, offset);
7138
+ }
7139
+ paginate(offset, event) {
7140
+ if (this.loading)
7141
+ return null;
7142
+ let { referralsCount } = this;
7143
+ if (this.showreferrer && this.referredBy)
7144
+ referralsCount++;
7145
+ if (offset >= referralsCount || offset < 0)
7146
+ return null;
7147
+ this.loading = true;
7148
+ const { target } = event;
7149
+ target.innerText = "...";
7150
+ this.getReferrals(this.showreferrer, offset).then((res) => {
7151
+ target.innerText =
7152
+ offset > this.offset ? this.paginatemore : this.paginateless;
7153
+ this.referrals = res.referrals.data;
7154
+ this.offset = offset;
7155
+ this.loading = false;
7156
+ });
7157
+ }
7158
+ onError(e) {
7159
+ console.error(e);
7160
+ this.loading = false;
7161
+ }
7162
+ render() {
7163
+ let referredByRow;
7164
+ let referralsRow;
7165
+ const referralvariables = {
7166
+ usefirstreward: this.usefirstreward,
7167
+ referrercontent: this.referrercontent,
7168
+ convertedcontent: this.convertedcontent,
7169
+ pendingcontent: this.pendingcontent,
7170
+ pendingvalue: this.pendingvalue,
7171
+ referrervalue: this.referrervalue,
7172
+ valuecontent: this.valuecontent,
7173
+ expiredcontent: this.expiredcontent,
7174
+ expiredvalue: this.expiredvalue,
7175
+ expiresvalue: this.expiresvalue,
7176
+ redeemedvalue: this.redeemedvalue,
7177
+ showexpiry: this.showexpiry,
7178
+ shownotes: this.shownotes,
7179
+ cancelledvalue: this.cancelledvalue,
7180
+ cancelledcontent: this.cancelledcontent,
7181
+ };
7182
+ if (this.referrals) {
7183
+ referralsRow = this.referrals.map((ref) => {
7184
+ const referraltype = ref.rewards.length > 0 || ref.dateConverted ? "converted" : "pending";
7185
+ return (index.h("sqh-referral-component", { id: uuid(), referral: ref, referralvariables: referralvariables, referraltype: referraltype, unknownuser: this.unknownuser, locale: this.internationalization ? this.locale : "en-US" }));
7186
+ });
7187
+ }
7188
+ if (this.referrals.length < 3 && this.referredBy && this.showreferrer) {
7189
+ referredByRow = (index.h("sqh-referral-component", { id: uuid(), referral: this.referredBy, referralvariables: referralvariables, referraltype: "referrer", unknownuser: this.unknownuser, locale: this.internationalization ? this.locale : "en-US" }));
7190
+ }
7191
+ const clz = css `
7192
+ .squatch-referrals-icon.icon-ok-circled {
7193
+ color: ${this.rewardcolor};
7194
+ }
7195
+ .squatch-referrals-icon.icon-attention {
7196
+ color: ${this.pendingcolor};
7197
+ }
7198
+ .squatch-referrals-value {
7199
+ color: ${this.rewardcolor};
7200
+ }
7201
+ .squatch-referrals-value.pending {
7202
+ color: ${this.pendingcolor};
7203
+ }
7204
+ .squatch-referrals-value.referrer {
7205
+ color: ${this.rewardcolor};
7206
+ }
7207
+ .squatch-referrals-value.expired {
7208
+ color: ${this.expiredcolor};
7209
+ }
7210
+ .squatch-value-contents.expired {
7211
+ color: ${this.expiredcolor};
7212
+ }
7213
+ .squatch-referrals-icon.icon-attention.expired {
7214
+ color: ${this.expiredcolor};
7215
+ }
7216
+ .squatch-referrals-value.cancelled {
7217
+ color: ${this.cancelledcolor};
7218
+ }
7219
+ .squatch-value-contents.cancelled {
7220
+ color: ${this.cancelledcolor};
7221
+ }
7222
+ .squatch-referrals-icon.icon-attention.cancelled {
7223
+ color: ${this.cancelledcolor};
7224
+ }
7225
+ .squatch-referrals-heading {
7226
+ color: ${this.referralnamecolor};
7227
+ }
7228
+ .squatch-referrals-description,
7229
+ .squatch-referrals-value-content {
7230
+ color: ${this.referraltextcolor};
7231
+ }
7232
+ .squatch-customer-note {
7233
+ color: ${this.customernotecolor || "darkslategray"};
7234
+ }
7235
+ .squatch-referrals-scroll-action {
7236
+ font-family: ${"inherit"};
7237
+ }
7238
+ `;
7239
+ const totalReferralsCount = this.showreferrer && this.referredBy
7240
+ ? this.referralsCount + 1
7241
+ : this.referralsCount;
7242
+ return !this.ishidden && totalReferralsCount > 0 ? (
7243
+ // Referral List when not hidden and 1 or more referrals
7244
+ index.h("div", { class: `squatch-referrals ${clz}` }, index.h("div", { class: "squatch-referrals-scroll-container" }, referralsRow, referredByRow), index.h("div", { class: "squatch-referrals-scroll-action-container" }, index.h("button", { class: `
7245
+ squatch-referrals-scroll-action previous ${this.loading
7246
+ ? "disabled"
7247
+ : this.offset === 0
7248
+ ? "disabled"
7249
+ : ""}
7250
+ `, onClick: (event) => this.paginate(this.offset - 3, event) }, this.paginateless), index.h("button", { class: `
7251
+ squatch-referrals-scroll-action view-more ${this.loading
7252
+ ? "disabled"
7253
+ : this.showreferrer && this.referredBy
7254
+ ? this.offset >= this.referralsCount - 2
7255
+ ? "disabled"
7256
+ : ""
7257
+ : this.offset >= this.referralsCount - 3
7258
+ ? "disabled"
7259
+ : ""}
7260
+ `, "view-more": true, onClick: (event) => this.paginate(this.offset + 3, event) }, this.paginatemore)))) : (
7261
+ // 'No Referrals Yet' button if this.referralCount < 1
7262
+ index.h("div", { class: "squatch-referrals-scroll-action-container" }, index.h("button", { disabled: true, class: "squatch-no-referrals-yet" }, this.noreferralsyet)));
7263
+ }
7264
+ };
8337
7265
  ReferralList.style = referralListCss;
8338
7266
 
8339
7267
  const shareButtonCss = "sqh-share-button{display:inline-block}sqh-share-button .squatch-share-btn{display:block;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.428571429;border-radius:4px;width:140px;margin:5px}sqh-share-button .squatch-share-btn .share-btn-text{text-align:center;padding-left:30px}sqh-share-button .squatch-share-btn:focus{outline:0}sqh-share-button .squatch-share-btn.disabled,sqh-share-button .squatch-share-btn[disabled],fieldset[disabled] sqh-share-button .squatch-share-btn{cursor:not-allowed;pointer-events:none;opacity:0.65;-webkit-box-shadow:none;box-shadow:none}sqh-share-button a{position:relative;text-decoration:none}sqh-share-button a .icon{position:absolute;left:10px;top:6px;width:16px}sqh-share-button a:before{bottom:-1px;background:rgba(255, 255, 255, 0.18);content:\"\";left:-1px;position:absolute;top:-1px;width:40px}@media (max-width: 499px){sqh-share-button{display:block}}@media (max-width: 499px){sqh-share-button .squatch-share-btn{margin:5px 0px;width:auto}}";
8340
7268
 
8341
- const ShareButton = class {
8342
- constructor(hostRef) {
8343
- index.registerInstance(this, hostRef);
8344
- }
8345
- clickHandler(e) {
8346
- if (window["widgetIdent"].env === "demo") {
8347
- e.preventDefault();
8348
- return;
8349
- }
8350
- // checking for null on closest 'a' tag makes click handler avoid firing when margin is clicked
8351
- var anchor = e.target.closest("a");
8352
- if (anchor !== null && this.buttonClassName !== "email-share") {
8353
- e.preventDefault();
8354
- const url = this.url;
8355
- const target = "_blank";
8356
- const features = "status=0,width=680,height=580";
8357
- window.open(url, target, features);
8358
- }
8359
- }
8360
- componentDidLoad() {
8361
- let el = this.button;
8362
- el.addEventListener("click", this.clickHandler.bind(this), false);
8363
- }
8364
- render() {
8365
- const isMobileiOS = detectMobileSafari() || detectMobileChrome();
8366
- const target = isMobileiOS ? "_parent" : "_blank";
8367
- const iconClass = `icon icon-${this.icon}`;
8368
- const style = css `
8369
- background-color: ${this.backgroundcolor};
8370
- border: 1px solid ${this.backgroundcolor};
8371
- color: ${this.textcolor};
8372
-
8373
- &:hover {
8374
- background: ${shadeColor(this.backgroundcolor, 10)};
8375
- border-color: ${shadeColor(this.backgroundcolor, 12)};
8376
- color: ${this.textcolor};
8377
- }
8378
-
8379
- &:focus {
8380
- color: ${this.textcolor};
8381
- }
8382
- .icon-${this.icon} {
8383
- left: ${this.iconhorizontal}px;
8384
- top: ${this.iconvertical}px;
8385
- font-size: ${this.iconsize}em;
8386
- }
8387
- `;
8388
- const classes = [
8389
- `squatch-share-btn`,
8390
- this.buttonClassName,
8391
- this.displayrule,
8392
- style,
8393
- ].join(" ");
8394
- return (index.h("a", { class: classes, href: this.url, target: target }, index.h("i", { class: iconClass }), index.h("span", { class: "share-btn-text" }, this.text)));
8395
- }
8396
- get button() { return index.getElement(this); }
8397
- };
7269
+ const ShareButton = class {
7270
+ constructor(hostRef) {
7271
+ index.registerInstance(this, hostRef);
7272
+ }
7273
+ clickHandler(e) {
7274
+ if (window["widgetIdent"].env === "demo") {
7275
+ e.preventDefault();
7276
+ return;
7277
+ }
7278
+ // checking for null on closest 'a' tag makes click handler avoid firing when margin is clicked
7279
+ var anchor = e.target.closest("a");
7280
+ if (anchor !== null && this.buttonClassName !== "email-share") {
7281
+ e.preventDefault();
7282
+ const url = this.url;
7283
+ const target = "_blank";
7284
+ const features = "status=0,width=680,height=580";
7285
+ window.open(url, target, features);
7286
+ }
7287
+ }
7288
+ componentDidLoad() {
7289
+ let el = this.button;
7290
+ el.addEventListener("click", this.clickHandler.bind(this), false);
7291
+ }
7292
+ render() {
7293
+ const isMobileiOS = detectMobileSafari() || detectMobileChrome();
7294
+ const target = isMobileiOS ? "_parent" : "_blank";
7295
+ const iconClass = `icon icon-${this.icon}`;
7296
+ const style = css `
7297
+ background-color: ${this.backgroundcolor};
7298
+ border: 1px solid ${this.backgroundcolor};
7299
+ color: ${this.textcolor};
7300
+
7301
+ &:hover {
7302
+ background: ${shadeColor(this.backgroundcolor, 10)};
7303
+ border-color: ${shadeColor(this.backgroundcolor, 12)};
7304
+ color: ${this.textcolor};
7305
+ }
7306
+
7307
+ &:focus {
7308
+ color: ${this.textcolor};
7309
+ }
7310
+ .icon-${this.icon} {
7311
+ left: ${this.iconhorizontal}px;
7312
+ top: ${this.iconvertical}px;
7313
+ font-size: ${this.iconsize}em;
7314
+ }
7315
+ `;
7316
+ const classes = [
7317
+ `squatch-share-btn`,
7318
+ this.buttonClassName,
7319
+ this.displayrule,
7320
+ style,
7321
+ ].join(" ");
7322
+ return (index.h("a", { class: classes, href: this.url, target: target }, index.h("i", { class: iconClass }), index.h("span", { class: "share-btn-text" }, this.text)));
7323
+ }
7324
+ get button() { return index.getElement(this); }
7325
+ };
8398
7326
  ShareButton.style = shareButtonCss;
8399
7327
 
8400
7328
  const shareButtonContainerCss = "sqh-share-button-container{text-align:center;display:block;max-width:100%;padding-bottom:24px;border-bottom:1px solid lightgray}sqh-share-button-container .squatch-share-btn.hidden{display:none}sqh-share-button-container .squatch-share-btn.mobile-only{display:none}@media (max-width: 499px){sqh-share-button-container .squatch-share-btn.mobile-only{display:block}}@media (max-width: 499px){sqh-share-button-container .squatch-share-btn.desktop-only{display:none}}";
8401
7329
 
8402
- const ShareButtonContainer = class {
8403
- constructor(hostRef) {
8404
- index.registerInstance(this, hostRef);
8405
- /**
8406
- * @uiName Email Icon
8407
- * @uiGroup Email
8408
- */
8409
- this.emailicon = "mail";
8410
- /**
8411
- * CSS class name for additional styling.
8412
- *
8413
- * @uiName Email Class Name
8414
- * @uiGroup Email
8415
- */
8416
- this.emailclassName = "email-share";
8417
- /**
8418
- * @uiName Facebook Icon
8419
- * @uiGroup Facebook
8420
- */
8421
- this.facebookicon = "facebook";
8422
- /**
8423
- * Number to horizontally align the facebook button icon
8424
- *
8425
- * @uiName Facebook Icon Horizontal
8426
- * @uiGroup Facebook
8427
- */
8428
- this.facebookiconhorizontal = 9;
8429
- /**
8430
- * @uiName Facebook Icon Size
8431
- * @uiGroup Facebook
8432
- */
8433
- this.facebookiconsize = 1.2;
8434
- /**
8435
- * @uiName Twitter Icon
8436
- * @uiGroup Twitter
8437
- */
8438
- this.twittericon = "twitter";
8439
- /**
8440
- * Number to horizontally align the twitter button icon
8441
- *
8442
- * @uiName Twitter Icon Horizontal
8443
- * @uiGroup Twitter
8444
- */
8445
- this.twittericonhorizontal = 9;
8446
- /**
8447
- * @uiName Twitter Icon Size
8448
- * @uiGroup Twitter
8449
- */
8450
- this.twittericonsize = 1.2;
8451
- /**
8452
- * @uiName SMS Icon
8453
- * @uiGroup SMS
8454
- */
8455
- this.smsicon = "chat";
8456
- /**
8457
- * @uiName WhatsApp Text Color
8458
- * @uiGroup WhatsApp
8459
- * @uiWidget color
8460
- * @default #ffffff
8461
- */
8462
- this.whatsapptextcolor = "#fff";
8463
- /**
8464
- * @uiName WhatsApp Icon
8465
- * @uiGroup WhatsApp
8466
- */
8467
- this.whatsappicon = "whatsapp";
8468
- /**
8469
- * Number to horizontally align the WhatsApp button icon
8470
- *
8471
- * @uiName WhatsApp Icon Horizontal
8472
- * @uiGroup WhatsApp
8473
- */
8474
- this.whatsappiconhorizontal = 7;
8475
- /**
8476
- * Number to vertically align the WhatsApp button icon
8477
- *
8478
- * @uiName WhatsApp Icon Vertical
8479
- * @uiGroup WhatsApp
8480
- */
8481
- this.whatsappiconvertical = 2;
8482
- /**
8483
- * @uiName WhatsApp Icon Size
8484
- * @uiGroup WhatsApp
8485
- */
8486
- this.whatsappiconsize = 1.4;
8487
- /**
8488
- * @uiName Linkedin Icon
8489
- * @uiGroup LinkedIn
8490
- */
8491
- this.linkedinicon = "linkedin";
8492
- /**
8493
- * @uiName Linkedin Icon Size
8494
- * @uiGroup LinkedIn
8495
- */
8496
- this.linkediniconsize = 1.2;
8497
- /**
8498
- * @uiName Pinterest Icon
8499
- * @uiGroup Pinterest
8500
- */
8501
- this.pinteresticon = "pinterest";
8502
- /**
8503
- * Number to horizontally align the Pinterest button icon
8504
- *
8505
- * @uiName Pinterest Icon Horizontal
8506
- * @uiGroup Pinterest
8507
- */
8508
- this.pinteresticonhorizontal = 9;
8509
- /**
8510
- * Number to vertically align the Pinterest button icon
8511
- *
8512
- * @uiName Pinterest Icon Vertical
8513
- * @uiGroup Pinterest
8514
- */
8515
- this.pinteresticonvertical = 4;
8516
- /**
8517
- * @uiName Pinterest Icon Size
8518
- * @uiGroup Pinterest
8519
- */
8520
- this.pinteresticonsize = 1.2;
8521
- /**
8522
- * @uiName Messenger Icon
8523
- * @uiGroup Messenger
8524
- */
8525
- this.messengericon = "messenger";
8526
- /**
8527
- * Number to horizontally align the Messenger button icon
8528
- *
8529
- * @uiName Messenger Icon Horizontal
8530
- * @uiGroup Messenger
8531
- */
8532
- this.messengericonhorizontal = 7;
8533
- /**
8534
- * Number to vertically align the Messenger button icon
8535
- *
8536
- * @uiName Messenger Icon Vertical
8537
- * @uiGroup Messenger
8538
- */
8539
- this.messengericonvertical = 3;
8540
- /**
8541
- * @uiName Messenger Icon Size
8542
- * @uiGroup Messenger
8543
- */
8544
- this.messengericonsize = 1.4;
8545
- /**
8546
- * @uiName Line Icon
8547
- * @uiGroup Line Messenger
8548
- */
8549
- this.lineicon = "line";
8550
- /**
8551
- * Number to horizontally align the Line button icon
8552
- *
8553
- * @uiName Line Icon Horizontal
8554
- * @uiGroup Line Messenger
8555
- */
8556
- this.lineiconhorizontal = -2;
8557
- /**
8558
- * Number to vertically align the Line button icon
8559
- *
8560
- * @uiName Line Icon Vertical
8561
- * @uiGroup Line Messenger
8562
- */
8563
- this.lineiconvertical = -5;
8564
- /**
8565
- * @uiName Line Icon Size
8566
- * @uiGroup Line Messenger
8567
- */
8568
- this.lineiconsize = 2.2;
8569
- }
8570
- componentWillLoad() {
8571
- if (!this.ishidden) {
8572
- const mediums = [
8573
- "EMAIL",
8574
- "FACEBOOK",
8575
- "TWITTER",
8576
- "SMS",
8577
- "WHATSAPP",
8578
- "LINKEDIN",
8579
- "PINTEREST",
8580
- "FBMESSENGER",
8581
- "LINEMESSENGER",
8582
- ];
8583
- return this.getMessageLinks(mediums);
8584
- }
8585
- }
8586
- getMessageLinks(mediums) {
8587
- return WidgetHost.API.graphql
8588
- .getMessageLinks(mediums)
8589
- .then((res) => {
8590
- this.emailurl = res.EMAIL;
8591
- this.facebookurl = res.FACEBOOK;
8592
- this.twitterurl = res.TWITTER;
8593
- this.smsurl = res.SMS;
8594
- this.whatsappurl = res.WHATSAPP;
8595
- this.linkedinurl = res.LINKEDIN;
8596
- this.pinteresturl = res.PINTEREST;
8597
- this.messengerurl = res.FBMESSENGER;
8598
- this.lineurl = res.LINEMESSENGER;
8599
- })
8600
- .catch((e) => {
8601
- this.onError(e);
8602
- });
8603
- }
8604
- onError(e) {
8605
- console.log("Error loading via GraphQL.", e);
8606
- }
8607
- render() {
8608
- const emailBtn = (index.h("sqh-share-button", { displayrule: this.emaildisplayrule, text: this.emailtext, backgroundcolor: this.emailbackgroundcolor, textcolor: this.emailtextcolor, icon: this.emailicon, class: this.emailclassName, iconhorizontal: this.emailiconhorizontal, iconvertical: this.emailiconvertical, iconsize: this.emailiconsize, url: this.emailurl }));
8609
- const facebookBtn = (index.h("sqh-share-button", { displayrule: this.facebookdisplayrule, text: this.facebooktext, backgroundcolor: this.facebookbackgroundcolor, textcolor: this.facebooktextcolor, icon: this.facebookicon, class: this.facebookclassName, iconhorizontal: this.facebookiconhorizontal, iconvertical: this.facebookiconvertical, iconsize: this.facebookiconsize, url: this.facebookurl }));
8610
- const twitterBtn = (index.h("sqh-share-button", { displayrule: this.twitterdisplayrule, text: this.twittertext, backgroundcolor: this.twitterbackgroundcolor, textcolor: this.twittertextcolor, icon: this.twittericon, class: this.twitterclassName, iconhorizontal: this.twittericonhorizontal, iconvertical: this.twittericonvertical, iconsize: this.twittericonsize, url: this.twitterurl }));
8611
- const smsBtn = (index.h("sqh-share-button", { displayrule: this.smsdisplayrule, text: this.smstext, backgroundcolor: this.smsbackgroundcolor, textcolor: this.smstextcolor, icon: this.smsicon, class: this.smsclassName, iconhorizontal: this.smsiconhorizontal, iconvertical: this.smsiconvertical, iconsize: this.smsiconsize, url: this.smsurl }));
8612
- const whatsappBtn = (index.h("sqh-share-button", { displayrule: this.whatsappdisplayrule, text: this.whatsapptext, backgroundcolor: this.whatsappbackgroundcolor, textcolor: this.whatsapptextcolor, icon: this.whatsappicon, class: this.whatsappclassName, iconhorizontal: this.whatsappiconhorizontal, iconvertical: this.whatsappiconvertical, iconsize: this.whatsappiconsize, url: this.whatsappurl }));
8613
- const linkedinBtn = (index.h("sqh-share-button", { displayrule: this.linkedindisplayrule, text: this.linkedintext, backgroundcolor: this.linkedinbackgroundcolor, textcolor: this.linkedintextcolor, icon: this.linkedinicon, class: this.linkedinclassName, iconhorizontal: this.linkediniconhorizontal, iconvertical: this.linkediniconvertical, iconsize: this.linkediniconsize, url: this.linkedinurl }));
8614
- const pinterestBtn = (index.h("sqh-share-button", { displayrule: this.pinterestdisplayrule, text: this.pinteresttext, backgroundcolor: this.pinterestbackgroundcolor, textcolor: this.pinteresttextcolor, icon: this.pinteresticon, class: this.pinterestclassName, iconhorizontal: this.pinteresticonhorizontal, iconvertical: this.pinteresticonvertical, iconsize: this.pinteresticonsize, url: this.pinteresturl }));
8615
- const messengerBtn = (index.h("sqh-share-button", { displayrule: this.messengerdisplayrule, text: this.messengertext, backgroundcolor: this.messengerbackgroundcolor, textcolor: this.messengertextcolor, icon: this.messengericon, class: this.messengerclassName, iconhorizontal: this.messengericonhorizontal, iconvertical: this.messengericonvertical, iconsize: this.messengericonsize, url: this.messengerurl }));
8616
- const lineBtn = (index.h("sqh-share-button", { displayrule: this.linedisplayrule, text: this.linetext, backgroundcolor: this.linebackgroundcolor, textcolor: this.linetextcolor, icon: this.lineicon, class: this.lineclassName, iconhorizontal: this.lineiconhorizontal, iconvertical: this.lineiconvertical, iconsize: this.lineiconsize, url: this.lineurl }));
8617
- return (!this.ishidden && (index.h("div", null, emailBtn, facebookBtn, twitterBtn, smsBtn, whatsappBtn, linkedinBtn, pinterestBtn, messengerBtn, lineBtn)));
8618
- }
8619
- };
7330
+ const ShareButtonContainer = class {
7331
+ constructor(hostRef) {
7332
+ index.registerInstance(this, hostRef);
7333
+ /**
7334
+ * @uiName Email Icon
7335
+ * @uiGroup Email
7336
+ */
7337
+ this.emailicon = "mail";
7338
+ /**
7339
+ * CSS class name for additional styling.
7340
+ *
7341
+ * @uiName Email Class Name
7342
+ * @uiGroup Email
7343
+ */
7344
+ this.emailclassName = "email-share";
7345
+ /**
7346
+ * @uiName Facebook Icon
7347
+ * @uiGroup Facebook
7348
+ */
7349
+ this.facebookicon = "facebook";
7350
+ /**
7351
+ * Number to horizontally align the facebook button icon
7352
+ *
7353
+ * @uiName Facebook Icon Horizontal
7354
+ * @uiGroup Facebook
7355
+ */
7356
+ this.facebookiconhorizontal = 9;
7357
+ /**
7358
+ * @uiName Facebook Icon Size
7359
+ * @uiGroup Facebook
7360
+ */
7361
+ this.facebookiconsize = 1.2;
7362
+ /**
7363
+ * @uiName Twitter Icon
7364
+ * @uiGroup Twitter
7365
+ */
7366
+ this.twittericon = "twitter";
7367
+ /**
7368
+ * Number to horizontally align the twitter button icon
7369
+ *
7370
+ * @uiName Twitter Icon Horizontal
7371
+ * @uiGroup Twitter
7372
+ */
7373
+ this.twittericonhorizontal = 9;
7374
+ /**
7375
+ * @uiName Twitter Icon Size
7376
+ * @uiGroup Twitter
7377
+ */
7378
+ this.twittericonsize = 1.2;
7379
+ /**
7380
+ * @uiName SMS Icon
7381
+ * @uiGroup SMS
7382
+ */
7383
+ this.smsicon = "chat";
7384
+ /**
7385
+ * @uiName WhatsApp Text Color
7386
+ * @uiGroup WhatsApp
7387
+ * @uiWidget color
7388
+ * @default #ffffff
7389
+ */
7390
+ this.whatsapptextcolor = "#fff";
7391
+ /**
7392
+ * @uiName WhatsApp Icon
7393
+ * @uiGroup WhatsApp
7394
+ */
7395
+ this.whatsappicon = "whatsapp";
7396
+ /**
7397
+ * Number to horizontally align the WhatsApp button icon
7398
+ *
7399
+ * @uiName WhatsApp Icon Horizontal
7400
+ * @uiGroup WhatsApp
7401
+ */
7402
+ this.whatsappiconhorizontal = 7;
7403
+ /**
7404
+ * Number to vertically align the WhatsApp button icon
7405
+ *
7406
+ * @uiName WhatsApp Icon Vertical
7407
+ * @uiGroup WhatsApp
7408
+ */
7409
+ this.whatsappiconvertical = 2;
7410
+ /**
7411
+ * @uiName WhatsApp Icon Size
7412
+ * @uiGroup WhatsApp
7413
+ */
7414
+ this.whatsappiconsize = 1.4;
7415
+ /**
7416
+ * @uiName Linkedin Icon
7417
+ * @uiGroup LinkedIn
7418
+ */
7419
+ this.linkedinicon = "linkedin";
7420
+ /**
7421
+ * @uiName Linkedin Icon Size
7422
+ * @uiGroup LinkedIn
7423
+ */
7424
+ this.linkediniconsize = 1.2;
7425
+ /**
7426
+ * @uiName Pinterest Icon
7427
+ * @uiGroup Pinterest
7428
+ */
7429
+ this.pinteresticon = "pinterest";
7430
+ /**
7431
+ * Number to horizontally align the Pinterest button icon
7432
+ *
7433
+ * @uiName Pinterest Icon Horizontal
7434
+ * @uiGroup Pinterest
7435
+ */
7436
+ this.pinteresticonhorizontal = 9;
7437
+ /**
7438
+ * Number to vertically align the Pinterest button icon
7439
+ *
7440
+ * @uiName Pinterest Icon Vertical
7441
+ * @uiGroup Pinterest
7442
+ */
7443
+ this.pinteresticonvertical = 4;
7444
+ /**
7445
+ * @uiName Pinterest Icon Size
7446
+ * @uiGroup Pinterest
7447
+ */
7448
+ this.pinteresticonsize = 1.2;
7449
+ /**
7450
+ * @uiName Messenger Icon
7451
+ * @uiGroup Messenger
7452
+ */
7453
+ this.messengericon = "messenger";
7454
+ /**
7455
+ * Number to horizontally align the Messenger button icon
7456
+ *
7457
+ * @uiName Messenger Icon Horizontal
7458
+ * @uiGroup Messenger
7459
+ */
7460
+ this.messengericonhorizontal = 7;
7461
+ /**
7462
+ * Number to vertically align the Messenger button icon
7463
+ *
7464
+ * @uiName Messenger Icon Vertical
7465
+ * @uiGroup Messenger
7466
+ */
7467
+ this.messengericonvertical = 3;
7468
+ /**
7469
+ * @uiName Messenger Icon Size
7470
+ * @uiGroup Messenger
7471
+ */
7472
+ this.messengericonsize = 1.4;
7473
+ /**
7474
+ * @uiName Line Icon
7475
+ * @uiGroup Line Messenger
7476
+ */
7477
+ this.lineicon = "line";
7478
+ /**
7479
+ * Number to horizontally align the Line button icon
7480
+ *
7481
+ * @uiName Line Icon Horizontal
7482
+ * @uiGroup Line Messenger
7483
+ */
7484
+ this.lineiconhorizontal = -2;
7485
+ /**
7486
+ * Number to vertically align the Line button icon
7487
+ *
7488
+ * @uiName Line Icon Vertical
7489
+ * @uiGroup Line Messenger
7490
+ */
7491
+ this.lineiconvertical = -5;
7492
+ /**
7493
+ * @uiName Line Icon Size
7494
+ * @uiGroup Line Messenger
7495
+ */
7496
+ this.lineiconsize = 2.2;
7497
+ }
7498
+ componentWillLoad() {
7499
+ if (!this.ishidden) {
7500
+ const mediums = [
7501
+ "EMAIL",
7502
+ "FACEBOOK",
7503
+ "TWITTER",
7504
+ "SMS",
7505
+ "WHATSAPP",
7506
+ "LINKEDIN",
7507
+ "PINTEREST",
7508
+ "FBMESSENGER",
7509
+ "LINEMESSENGER",
7510
+ ];
7511
+ return this.getMessageLinks(mediums);
7512
+ }
7513
+ }
7514
+ getMessageLinks(mediums) {
7515
+ return WidgetHost.API.graphql
7516
+ .getMessageLinks(mediums)
7517
+ .then((res) => {
7518
+ this.emailurl = res.EMAIL;
7519
+ this.facebookurl = res.FACEBOOK;
7520
+ this.twitterurl = res.TWITTER;
7521
+ this.smsurl = res.SMS;
7522
+ this.whatsappurl = res.WHATSAPP;
7523
+ this.linkedinurl = res.LINKEDIN;
7524
+ this.pinteresturl = res.PINTEREST;
7525
+ this.messengerurl = res.FBMESSENGER;
7526
+ this.lineurl = res.LINEMESSENGER;
7527
+ })
7528
+ .catch((e) => {
7529
+ this.onError(e);
7530
+ });
7531
+ }
7532
+ onError(e) {
7533
+ console.log("Error loading via GraphQL.", e);
7534
+ }
7535
+ render() {
7536
+ const emailBtn = (index.h("sqh-share-button", { displayrule: this.emaildisplayrule, text: this.emailtext, backgroundcolor: this.emailbackgroundcolor, textcolor: this.emailtextcolor, icon: this.emailicon, class: this.emailclassName, iconhorizontal: this.emailiconhorizontal, iconvertical: this.emailiconvertical, iconsize: this.emailiconsize, url: this.emailurl }));
7537
+ const facebookBtn = (index.h("sqh-share-button", { displayrule: this.facebookdisplayrule, text: this.facebooktext, backgroundcolor: this.facebookbackgroundcolor, textcolor: this.facebooktextcolor, icon: this.facebookicon, class: this.facebookclassName, iconhorizontal: this.facebookiconhorizontal, iconvertical: this.facebookiconvertical, iconsize: this.facebookiconsize, url: this.facebookurl }));
7538
+ const twitterBtn = (index.h("sqh-share-button", { displayrule: this.twitterdisplayrule, text: this.twittertext, backgroundcolor: this.twitterbackgroundcolor, textcolor: this.twittertextcolor, icon: this.twittericon, class: this.twitterclassName, iconhorizontal: this.twittericonhorizontal, iconvertical: this.twittericonvertical, iconsize: this.twittericonsize, url: this.twitterurl }));
7539
+ const smsBtn = (index.h("sqh-share-button", { displayrule: this.smsdisplayrule, text: this.smstext, backgroundcolor: this.smsbackgroundcolor, textcolor: this.smstextcolor, icon: this.smsicon, class: this.smsclassName, iconhorizontal: this.smsiconhorizontal, iconvertical: this.smsiconvertical, iconsize: this.smsiconsize, url: this.smsurl }));
7540
+ const whatsappBtn = (index.h("sqh-share-button", { displayrule: this.whatsappdisplayrule, text: this.whatsapptext, backgroundcolor: this.whatsappbackgroundcolor, textcolor: this.whatsapptextcolor, icon: this.whatsappicon, class: this.whatsappclassName, iconhorizontal: this.whatsappiconhorizontal, iconvertical: this.whatsappiconvertical, iconsize: this.whatsappiconsize, url: this.whatsappurl }));
7541
+ const linkedinBtn = (index.h("sqh-share-button", { displayrule: this.linkedindisplayrule, text: this.linkedintext, backgroundcolor: this.linkedinbackgroundcolor, textcolor: this.linkedintextcolor, icon: this.linkedinicon, class: this.linkedinclassName, iconhorizontal: this.linkediniconhorizontal, iconvertical: this.linkediniconvertical, iconsize: this.linkediniconsize, url: this.linkedinurl }));
7542
+ const pinterestBtn = (index.h("sqh-share-button", { displayrule: this.pinterestdisplayrule, text: this.pinteresttext, backgroundcolor: this.pinterestbackgroundcolor, textcolor: this.pinteresttextcolor, icon: this.pinteresticon, class: this.pinterestclassName, iconhorizontal: this.pinteresticonhorizontal, iconvertical: this.pinteresticonvertical, iconsize: this.pinteresticonsize, url: this.pinteresturl }));
7543
+ const messengerBtn = (index.h("sqh-share-button", { displayrule: this.messengerdisplayrule, text: this.messengertext, backgroundcolor: this.messengerbackgroundcolor, textcolor: this.messengertextcolor, icon: this.messengericon, class: this.messengerclassName, iconhorizontal: this.messengericonhorizontal, iconvertical: this.messengericonvertical, iconsize: this.messengericonsize, url: this.messengerurl }));
7544
+ const lineBtn = (index.h("sqh-share-button", { displayrule: this.linedisplayrule, text: this.linetext, backgroundcolor: this.linebackgroundcolor, textcolor: this.linetextcolor, icon: this.lineicon, class: this.lineclassName, iconhorizontal: this.lineiconhorizontal, iconvertical: this.lineiconvertical, iconsize: this.lineiconsize, url: this.lineurl }));
7545
+ return (!this.ishidden && (index.h("div", null, emailBtn, facebookBtn, twitterBtn, smsBtn, whatsappBtn, linkedinBtn, pinterestBtn, messengerBtn, lineBtn)));
7546
+ }
7547
+ };
8620
7548
  ShareButtonContainer.style = shareButtonContainerCss;
8621
7549
 
8622
7550
  const statComponentCss = "sqh-stat-component{text-align:center;width:140px;float:left}sqh-stat-component>div{padding:10px}sqh-stat-component .stat-value{white-space:nowrap;font-size:30px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-stat-component:first-child{border-radius:4px 4px 0 0}sqh-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
8623
7551
 
8624
- const StatComponent = class {
8625
- constructor(hostRef) {
8626
- index.registerInstance(this, hostRef);
8627
- this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
8628
- this.statAdded = index.createEvent(this, "statAdded", 7);
8629
- }
8630
- componentWillLoad() {
8631
- this.statAddedHandler(this.elem);
8632
- }
8633
- stattypeHandler(newValue, oldValue) {
8634
- if (newValue !== oldValue)
8635
- this.statTypeUpdatedHandler(this.elem);
8636
- }
8637
- statAddedHandler(stat) {
8638
- this.statAdded.emit(stat);
8639
- }
8640
- statTypeUpdatedHandler(stat) {
8641
- this.statTypeUpdated.emit(stat);
8642
- }
8643
- render() {
8644
- const clz = css `
8645
- color: ${this.statcolor};
8646
- `;
8647
- return (!this.ishidden && (index.h("div", { class: clz }, index.h("div", { class: "stat-value" }, this.statvalue), index.h("div", { class: "stat-description" }, this.statdescription))));
8648
- }
8649
- get elem() { return index.getElement(this); }
8650
- static get watchers() { return {
8651
- "stattype": ["stattypeHandler"]
8652
- }; }
8653
- };
7552
+ const StatComponent = class {
7553
+ constructor(hostRef) {
7554
+ index.registerInstance(this, hostRef);
7555
+ this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
7556
+ this.statAdded = index.createEvent(this, "statAdded", 7);
7557
+ }
7558
+ componentWillLoad() {
7559
+ this.statAddedHandler(this.elem);
7560
+ }
7561
+ stattypeHandler(newValue, oldValue) {
7562
+ if (newValue !== oldValue)
7563
+ this.statTypeUpdatedHandler(this.elem);
7564
+ }
7565
+ statAddedHandler(stat) {
7566
+ this.statAdded.emit(stat);
7567
+ }
7568
+ statTypeUpdatedHandler(stat) {
7569
+ this.statTypeUpdated.emit(stat);
7570
+ }
7571
+ render() {
7572
+ const clz = css `
7573
+ color: ${this.statcolor};
7574
+ `;
7575
+ return (!this.ishidden && (index.h("div", { class: clz }, index.h("div", { class: "stat-value" }, this.statvalue), index.h("div", { class: "stat-description" }, this.statdescription))));
7576
+ }
7577
+ get elem() { return index.getElement(this); }
7578
+ static get watchers() { return {
7579
+ "stattype": ["stattypeHandler"]
7580
+ }; }
7581
+ };
8654
7582
  StatComponent.style = statComponentCss;
8655
7583
 
8656
7584
  /**
@@ -8948,108 +7876,108 @@ function pathToRegexp(path, keys, options) {
8948
7876
 
8949
7877
  const statsContainerCss = "sqh-stats-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}@media (max-width: 499px){sqh-stats-container{-ms-flex-direction:column;flex-direction:column}sqh-stats-container div{-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}}";
8950
7878
 
8951
- const StatsContainer = class {
8952
- constructor(hostRef) {
8953
- index.registerInstance(this, hostRef);
8954
- /**
8955
- * @undocumented
8956
- * @uiName Hide stats
8957
- */
8958
- this.ishidden = false;
8959
- this.statPaths = [
8960
- "/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
8961
- "/:statName",
8962
- ];
8963
- this.statPathRegexp = this.statPaths.map((path) => {
8964
- const keys = [];
8965
- const regexp = pathToRegexp(path, keys);
8966
- return { regexp, keys };
8967
- });
8968
- this.loading = true;
8969
- }
8970
- componentWillLoad() {
8971
- if (!this.ishidden) {
8972
- return WidgetHost.API.graphql
8973
- .getStats()
8974
- .then((res) => {
8975
- this.stats = {
8976
- referralsCount: res.referralsCount.totalCount,
8977
- referralsMonth: res.referralsMonth.totalCount,
8978
- referralsWeek: res.referralsWeek.totalCount,
8979
- rewardsCount: res.rewardsCount.totalCount,
8980
- rewardsMonth: res.rewardsMonth.totalCount,
8981
- rewardsWeek: res.rewardsWeek.totalCount,
8982
- rewardBalance: res.rewardBalances,
8983
- rewardBalanceGlobal: res.rewardBalancesGlobal,
8984
- };
8985
- this.loading = false;
8986
- })
8987
- .then(() => {
8988
- const children = Array.from(this.container.querySelectorAll("[stattype]"));
8989
- children.map((child) => {
8990
- this.setStatValue(child);
8991
- });
8992
- })
8993
- .catch((e) => {
8994
- this.onError(e);
8995
- });
8996
- }
8997
- }
8998
- statTypeUpdatedHandler(event) {
8999
- this.setStatValue(event.detail);
9000
- }
9001
- statAddedHandler(event) {
9002
- if (this.stats)
9003
- this.setStatValue(event.detail);
9004
- }
9005
- setStatValue(child) {
9006
- const path = child.getAttribute("stattype");
9007
- const stat = this.getStatFromPath(path);
9008
- child.setAttribute("statvalue", `${stat}`);
9009
- return child;
9010
- }
9011
- getStatFromPath(path) {
9012
- const statPath = this.statPathRegexp.find((stat) => stat.regexp.test(path));
9013
- if (!statPath)
9014
- return 0;
9015
- const { keys, regexp } = statPath;
9016
- const res = regexp.exec(path);
9017
- const statVariables = {};
9018
- keys.forEach((k, i) => (statVariables[k.name] = res[i + 1]));
9019
- return this.getStatValue(statVariables);
9020
- }
9021
- getStatValue(statVariables) {
9022
- if (statVariables.statName)
9023
- return this.stats[statVariables.statName] || 0;
9024
- return this.getRewardBalance(statVariables);
9025
- }
9026
- getRewardBalance(statVariables) {
9027
- const { type, unit, valuetype, isGlobal } = statVariables;
9028
- // passing in CASH/USD as CASH_USD into this webcomponent so pathToRegexp doesn't split it and it stays all in unit.
9029
- // this converts the _ back to / so it matches the unit from the backend.
9030
- // possibly change the unit in the backend to avoid this?
9031
- const newUnit = unit.replace(/_/, "/");
9032
- const rewardBalance = this.stats[isGlobal ? "rewardBalanceGlobal" : "rewardBalance"].find((rb) => rb.type === type && rb.unit === newUnit);
9033
- if (!rewardBalance)
9034
- return 0;
9035
- if (valuetype)
9036
- return rewardBalance[valuetype];
9037
- return rewardBalance.value;
9038
- }
9039
- onError(e) {
9040
- console.log("Error loading via GraphQL.", e);
9041
- this.loading = false;
9042
- }
9043
- render() {
9044
- const containerStyle = css `
9045
- display: ${this.ishidden ? "none" : "inherit"};
9046
- padding-top: ${this.paddingtop}px;
9047
- padding-bottom: ${this.paddingbottom}px;
9048
- `;
9049
- return (index.h("div", { class: containerStyle }, index.h("slot", null)));
9050
- }
9051
- get container() { return index.getElement(this); }
9052
- };
7879
+ const StatsContainer = class {
7880
+ constructor(hostRef) {
7881
+ index.registerInstance(this, hostRef);
7882
+ /**
7883
+ * @undocumented
7884
+ * @uiName Hide stats
7885
+ */
7886
+ this.ishidden = false;
7887
+ this.statPaths = [
7888
+ "/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
7889
+ "/:statName",
7890
+ ];
7891
+ this.statPathRegexp = this.statPaths.map((path) => {
7892
+ const keys = [];
7893
+ const regexp = pathToRegexp(path, keys);
7894
+ return { regexp, keys };
7895
+ });
7896
+ this.loading = true;
7897
+ }
7898
+ componentWillLoad() {
7899
+ if (!this.ishidden) {
7900
+ return WidgetHost.API.graphql
7901
+ .getStats()
7902
+ .then((res) => {
7903
+ this.stats = {
7904
+ referralsCount: res.referralsCount.totalCount,
7905
+ referralsMonth: res.referralsMonth.totalCount,
7906
+ referralsWeek: res.referralsWeek.totalCount,
7907
+ rewardsCount: res.rewardsCount.totalCount,
7908
+ rewardsMonth: res.rewardsMonth.totalCount,
7909
+ rewardsWeek: res.rewardsWeek.totalCount,
7910
+ rewardBalance: res.rewardBalances,
7911
+ rewardBalanceGlobal: res.rewardBalancesGlobal,
7912
+ };
7913
+ this.loading = false;
7914
+ })
7915
+ .then(() => {
7916
+ const children = Array.from(this.container.querySelectorAll("[stattype]"));
7917
+ children.map((child) => {
7918
+ this.setStatValue(child);
7919
+ });
7920
+ })
7921
+ .catch((e) => {
7922
+ this.onError(e);
7923
+ });
7924
+ }
7925
+ }
7926
+ statTypeUpdatedHandler(event) {
7927
+ this.setStatValue(event.detail);
7928
+ }
7929
+ statAddedHandler(event) {
7930
+ if (this.stats)
7931
+ this.setStatValue(event.detail);
7932
+ }
7933
+ setStatValue(child) {
7934
+ const path = child.getAttribute("stattype");
7935
+ const stat = this.getStatFromPath(path);
7936
+ child.setAttribute("statvalue", `${stat}`);
7937
+ return child;
7938
+ }
7939
+ getStatFromPath(path) {
7940
+ const statPath = this.statPathRegexp.find((stat) => stat.regexp.test(path));
7941
+ if (!statPath)
7942
+ return 0;
7943
+ const { keys, regexp } = statPath;
7944
+ const res = regexp.exec(path);
7945
+ const statVariables = {};
7946
+ keys.forEach((k, i) => (statVariables[k.name] = res[i + 1]));
7947
+ return this.getStatValue(statVariables);
7948
+ }
7949
+ getStatValue(statVariables) {
7950
+ if (statVariables.statName)
7951
+ return this.stats[statVariables.statName] || 0;
7952
+ return this.getRewardBalance(statVariables);
7953
+ }
7954
+ getRewardBalance(statVariables) {
7955
+ const { type, unit, valuetype, isGlobal } = statVariables;
7956
+ // passing in CASH/USD as CASH_USD into this webcomponent so pathToRegexp doesn't split it and it stays all in unit.
7957
+ // this converts the _ back to / so it matches the unit from the backend.
7958
+ // possibly change the unit in the backend to avoid this?
7959
+ const newUnit = unit.replace(/_/, "/");
7960
+ const rewardBalance = this.stats[isGlobal ? "rewardBalanceGlobal" : "rewardBalance"].find((rb) => rb.type === type && rb.unit === newUnit);
7961
+ if (!rewardBalance)
7962
+ return 0;
7963
+ if (valuetype)
7964
+ return rewardBalance[valuetype];
7965
+ return rewardBalance.value;
7966
+ }
7967
+ onError(e) {
7968
+ console.log("Error loading via GraphQL.", e);
7969
+ this.loading = false;
7970
+ }
7971
+ render() {
7972
+ const containerStyle = css `
7973
+ display: ${this.ishidden ? "none" : "inherit"};
7974
+ padding-top: ${this.paddingtop}px;
7975
+ padding-bottom: ${this.paddingbottom}px;
7976
+ `;
7977
+ return (index.h("div", { class: containerStyle }, index.h("slot", null)));
7978
+ }
7979
+ get container() { return index.getElement(this); }
7980
+ };
9053
7981
  StatsContainer.style = statsContainerCss;
9054
7982
 
9055
7983
  var marked = _commonjsHelpers.createCommonjsModule(function (module, exports) {
@@ -11650,47 +10578,45 @@ var marked = _commonjsHelpers.createCommonjsModule(function (module, exports) {
11650
10578
 
11651
10579
  const textComponentCss = "sqh-text-component{display:block}sqh-text-component p{margin:0}";
11652
10580
 
11653
- const TextComponent = class {
11654
- constructor(hostRef) {
11655
- index.registerInstance(this, hostRef);
11656
- }
11657
- render() {
11658
- const regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
11659
- const textStyle = css `
11660
- font-family: ${this.fontfamily || "inherit"};
11661
- font-size: ${this.fontsize ? this.fontsize + "px" : "inherit"};
11662
- font-weight: ${this.fontweight ? this.fontweight : "inherit"};
11663
- text-align: ${this.textalign};
11664
- color: ${this.color || "inherit"};
11665
- padding-top: ${this.paddingtop ? this.paddingtop + "px" : "inherit"};
11666
- padding-bottom: ${this.paddingbottom
11667
- ? this.paddingbottom + "px"
11668
- : "inherit"};
11669
- overflow-wrap: break-word;
11670
- `;
11671
- const divStyle = css `
11672
- background: ${this.background
11673
- ? this.background.match(regex)
11674
- ? `url(${this.background}) no-repeat center center;`
11675
- : this.background
11676
- : "inherit"};
11677
- height: ${this.height || "inherit"};
11678
- background-size: contain;
11679
- `;
11680
- const content = this.ismarkdown ? (index.h("div", { innerHTML: marked(this.text) })) : (this.text);
11681
- return (!this.ishidden && (index.h("div", { class: divStyle }, index.h("p", { class: textStyle }, content))));
11682
- }
11683
- get textEl() { return index.getElement(this); }
11684
- };
10581
+ const TextComponent = class {
10582
+ constructor(hostRef) {
10583
+ index.registerInstance(this, hostRef);
10584
+ }
10585
+ render() {
10586
+ const regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
10587
+ const textStyle = css `
10588
+ font-family: ${this.fontfamily || "inherit"};
10589
+ font-size: ${this.fontsize ? this.fontsize + "px" : "inherit"};
10590
+ font-weight: ${this.fontweight ? this.fontweight : "inherit"};
10591
+ text-align: ${this.textalign};
10592
+ color: ${this.color || "inherit"};
10593
+ padding-top: ${this.paddingtop ? this.paddingtop + "px" : "inherit"};
10594
+ padding-bottom: ${this.paddingbottom
10595
+ ? this.paddingbottom + "px"
10596
+ : "inherit"};
10597
+ overflow-wrap: break-word;
10598
+ `;
10599
+ const divStyle = css `
10600
+ background: ${this.background
10601
+ ? this.background.match(regex)
10602
+ ? `url(${this.background}) no-repeat center center;`
10603
+ : this.background
10604
+ : "inherit"};
10605
+ height: ${this.height || "inherit"};
10606
+ background-size: contain;
10607
+ `;
10608
+ const content = this.ismarkdown ? (index.h("div", { innerHTML: marked(this.text) })) : (this.text);
10609
+ return (!this.ishidden && (index.h("div", { class: divStyle }, index.h("p", { class: textStyle }, content))));
10610
+ }
10611
+ get textEl() { return index.getElement(this); }
10612
+ };
11685
10613
  TextComponent.style = textComponentCss;
11686
10614
 
11687
10615
  exports.sqh_copy_button = CopyButton;
11688
10616
  exports.sqh_copy_link_button = CopyLinkButton;
11689
- exports.sqh_cta_component = CTAComponent;
11690
10617
  exports.sqh_global_container = GlobalContainer;
11691
10618
  exports.sqh_image_component = ImageComponent;
11692
10619
  exports.sqh_partner_stat_component = PartnerStatComponent;
11693
- exports.sqh_progress_indicator = ProgressIndicator;
11694
10620
  exports.sqh_referral_component = ReferralComponent;
11695
10621
  exports.sqh_referral_list = ReferralList;
11696
10622
  exports.sqh_share_button = ShareButton;