@saasquatch/vanilla-components 1.2.4-7 → 1.2.4-8

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