@subiz/widget-v4 4.0.74 → 4.0.78

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 (78) hide show
  1. package/assets/less/message.less +10 -1
  2. package/compiled_src/chatbox/Buttons.js +3 -3
  3. package/compiled_src/chatbox/Event.js +2 -1
  4. package/compiled_src/chatbox/GenericTemplateAttachments.js +8 -5
  5. package/compiled_src/chatbox/ProductAttachments.js +4 -4
  6. package/compiled_src/lib.js +6 -0
  7. package/compiled_src/store/api.js +24 -18
  8. package/compiled_src/store/api_fake.js +0 -24
  9. package/compiled_src/store/store.js +25 -9
  10. package/dist/0b82fa7e5c3b07b40a44.png +1 -0
  11. package/dist/0f4af006e38ee8b93633.png +1 -0
  12. package/dist/132.js +17 -61
  13. package/dist/178.js +341 -174
  14. package/dist/17f00e48d38.132.js +1 -0
  15. package/dist/17f00e48d38.178.js +1 -0
  16. package/dist/{180b74d2f80.213.js → 17f00e48d38.213.js} +0 -0
  17. package/dist/{180b74d2f80.335.js → 17f00e48d38.335.js} +1 -1
  18. package/dist/17f00e48d38.362.js +1 -0
  19. package/dist/17f00e48d38.441.js +1 -0
  20. package/dist/{180b74d2f80.605.js → 17f00e48d38.605.js} +0 -0
  21. package/dist/17f00e48d38.678.js +1 -0
  22. package/dist/17f00e48d38.782.js +1 -0
  23. package/dist/17f00e48d38.app.js +1 -0
  24. package/dist/{180b74d2f80.index.html → 17f00e48d38.index.html} +1 -1
  25. package/dist/{180b74d2f80.library.html → 17f00e48d38.library.html} +1 -1
  26. package/dist/17f00e48d38.library.js +1 -0
  27. package/dist/{180b74d2f80.preview.html → 17f00e48d38.preview.html} +1 -1
  28. package/dist/17f00e48d38.preview.js +1 -0
  29. package/dist/17f00e48d38.screenshoot.js +1 -0
  30. package/dist/1ea1c6cd21d25176810c.png +1 -0
  31. package/dist/292d42404e1b03398f61.png +1 -0
  32. package/dist/312d376370831b7bea83.png +1 -0
  33. package/dist/313d1bfc1cf776d1aefe.png +1 -0
  34. package/dist/335.js +2 -2
  35. package/dist/362.js +71 -21
  36. package/dist/441.js +54 -136
  37. package/dist/4aa58bb7a66bb44975aa.png +1 -0
  38. package/dist/56ce063bc6c81adb7322.png +1 -0
  39. package/dist/678.js +70 -20
  40. package/dist/6a411166ef5cc79e0714.png +1 -0
  41. package/dist/6faf403782fefacc1649.png +1 -0
  42. package/dist/782.js +118 -21
  43. package/dist/79dca33c68fab79c067f.png +1 -0
  44. package/dist/82da1578fa84f9debaeb.png +1 -0
  45. package/dist/8b8e0f0824743974b282.png +1 -0
  46. package/dist/8d551390d81e39130a3c.png +1 -0
  47. package/dist/9fc61b9479877ebdb6c7.png +1 -0
  48. package/dist/HASH +1 -1
  49. package/dist/a165d31dcb3dc90f1057.png +1 -0
  50. package/dist/a98d4a5698812c4426b3.png +1 -0
  51. package/dist/c41606bf9d1b604e46d5.png +1 -0
  52. package/dist/ce1f7450ce6c1aacd330.png +1 -0
  53. package/dist/cf8c01e88f4770a6e3e5.png +1 -0
  54. package/dist/dfbcfeab1d5622a737e2.png +1 -0
  55. package/dist/e4893ed8c2f7b8329919.png +1 -0
  56. package/dist/ec2ab4eb4ef73d186186.png +1 -0
  57. package/dist/screenshoot.html +1 -1
  58. package/dist/screenshoot.js +79 -129
  59. package/index.html +6 -2
  60. package/package.json +12 -12
  61. package/src/chatbox/Buttons.js +3 -3
  62. package/src/chatbox/Event.js +1 -1
  63. package/src/chatbox/GenericTemplateAttachments.js +28 -22
  64. package/src/chatbox/ProductAttachments.js +4 -4
  65. package/src/lib.js +5 -0
  66. package/src/store/api.js +16 -10
  67. package/src/store/api_fake.js +0 -16
  68. package/src/store/store.js +41 -5
  69. package/dist/180b74d2f80.132.js +0 -1
  70. package/dist/180b74d2f80.178.js +0 -1
  71. package/dist/180b74d2f80.362.js +0 -1
  72. package/dist/180b74d2f80.441.js +0 -1
  73. package/dist/180b74d2f80.678.js +0 -1
  74. package/dist/180b74d2f80.782.js +0 -1
  75. package/dist/180b74d2f80.app.js +0 -1
  76. package/dist/180b74d2f80.library.js +0 -1
  77. package/dist/180b74d2f80.preview.js +0 -1
  78. package/dist/180b74d2f80.screenshoot.js +0 -1
package/dist/441.js CHANGED
@@ -96,9 +96,6 @@ function escape(html, encode) {
96
96
 
97
97
  const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
98
98
 
99
- /**
100
- * @param {string} html
101
- */
102
99
  function unescape(html) {
103
100
  // explicitly match decimal, hex, and named HTML entities
104
101
  return html.replace(unescapeTest, (_, n) => {
@@ -114,13 +111,8 @@ function unescape(html) {
114
111
  }
115
112
 
116
113
  const caret = /(^|[^\[])\^/g;
117
-
118
- /**
119
- * @param {string | RegExp} regex
120
- * @param {string} opt
121
- */
122
114
  function edit(regex, opt) {
123
- regex = typeof regex === 'string' ? regex : regex.source;
115
+ regex = regex.source || regex;
124
116
  opt = opt || '';
125
117
  const obj = {
126
118
  replace: (name, val) => {
@@ -138,12 +130,6 @@ function edit(regex, opt) {
138
130
 
139
131
  const nonWordAndColonTest = /[^\w:]/g;
140
132
  const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
141
-
142
- /**
143
- * @param {boolean} sanitize
144
- * @param {string} base
145
- * @param {string} href
146
- */
147
133
  function cleanUrl(sanitize, base, href) {
148
134
  if (sanitize) {
149
135
  let prot;
@@ -174,10 +160,6 @@ const justDomain = /^[^:]+:\/*[^/]*$/;
174
160
  const protocol = /^([^:]+:)[\s\S]*$/;
175
161
  const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
176
162
 
177
- /**
178
- * @param {string} base
179
- * @param {string} href
180
- */
181
163
  function resolveUrl(base, href) {
182
164
  if (!baseUrls[' ' + base]) {
183
165
  // we can ignore everything in base after the last slash of its path component,
@@ -262,14 +244,9 @@ function splitCells(tableRow, count) {
262
244
  return cells;
263
245
  }
264
246
 
265
- /**
266
- * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
267
- * /c*$/ is vulnerable to REDOS.
268
- *
269
- * @param {string} str
270
- * @param {string} c
271
- * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.
272
- */
247
+ // Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
248
+ // /c*$/ is vulnerable to REDOS.
249
+ // invert: Remove suffix of non-c chars instead. Default falsey.
273
250
  function rtrim(str, c, invert) {
274
251
  const l = str.length;
275
252
  if (l === 0) {
@@ -291,7 +268,7 @@ function rtrim(str, c, invert) {
291
268
  }
292
269
  }
293
270
 
294
- return str.slice(0, l - suffLen);
271
+ return str.substr(0, l - suffLen);
295
272
  }
296
273
 
297
274
  function findClosingBracket(str, b) {
@@ -323,10 +300,6 @@ function checkSanitizeDeprecation(opt) {
323
300
  }
324
301
 
325
302
  // copied from https://stackoverflow.com/a/5450113/806777
326
- /**
327
- * @param {string} pattern
328
- * @param {number} count
329
- */
330
303
  function repeatString(pattern, count) {
331
304
  if (count < 1) {
332
305
  return '';
@@ -359,14 +332,15 @@ function outputLink(cap, link, raw, lexer) {
359
332
  };
360
333
  lexer.state.inLink = false;
361
334
  return token;
335
+ } else {
336
+ return {
337
+ type: 'image',
338
+ raw,
339
+ href,
340
+ title,
341
+ text: escape(text)
342
+ };
362
343
  }
363
- return {
364
- type: 'image',
365
- raw,
366
- href,
367
- title,
368
- text: escape(text)
369
- };
370
344
  }
371
345
 
372
346
  function indentCodeCompensation(raw, text) {
@@ -465,7 +439,7 @@ class Tokenizer {
465
439
  type: 'heading',
466
440
  raw: cap[0],
467
441
  depth: cap[1].length,
468
- text,
442
+ text: text,
469
443
  tokens: []
470
444
  };
471
445
  this.lexer.inline(token.text, token.tokens);
@@ -486,7 +460,7 @@ class Tokenizer {
486
460
  blockquote(src) {
487
461
  const cap = this.rules.block.blockquote.exec(src);
488
462
  if (cap) {
489
- const text = cap[0].replace(/^ *>[ \t]?/gm, '');
463
+ const text = cap[0].replace(/^ *> ?/gm, '');
490
464
 
491
465
  return {
492
466
  type: 'blockquote',
@@ -522,7 +496,7 @@ class Tokenizer {
522
496
  }
523
497
 
524
498
  // Get next list item
525
- const itemRegex = new RegExp(`^( {0,3}${bull})((?:[\t ][^\\n]*)?(?:\\n|$))`);
499
+ const itemRegex = new RegExp(`^( {0,3}${bull})((?: [^\\n]*)?(?:\\n|$))`);
526
500
 
527
501
  // Check if current bullet point can start a new List Item
528
502
  while (src) {
@@ -560,8 +534,7 @@ class Tokenizer {
560
534
  }
561
535
 
562
536
  if (!endEarly) {
563
- const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`);
564
- const hrRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`);
537
+ const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\d{1,9}[.)])`);
565
538
 
566
539
  // Check if following lines should be included in List Item
567
540
  while (src) {
@@ -578,11 +551,6 @@ class Tokenizer {
578
551
  break;
579
552
  }
580
553
 
581
- // Horizontal rule found
582
- if (hrRegex.test(src)) {
583
- break;
584
- }
585
-
586
554
  if (line.search(/[^ ]/) >= indent || !line.trim()) { // Dedent if possible
587
555
  itemContents += '\n' + line.slice(indent);
588
556
  } else if (!blankLine) { // Until blank line, item doesn't need indentation
@@ -620,7 +588,7 @@ class Tokenizer {
620
588
 
621
589
  list.items.push({
622
590
  type: 'list_item',
623
- raw,
591
+ raw: raw,
624
592
  task: !!istask,
625
593
  checked: ischecked,
626
594
  loose: false,
@@ -1115,10 +1083,10 @@ const block = {
1115
1083
  newline: /^(?: *(?:\n|$))+/,
1116
1084
  code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
1117
1085
  fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
1118
- hr: /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,
1086
+ hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
1119
1087
  heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
1120
1088
  blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
1121
- list: /^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,
1089
+ list: /^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,
1122
1090
  html: '^ {0,3}(?:' // optional indentation
1123
1091
  + '<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
1124
1092
  + '|comment[^\\n]*(\\n+|$)' // (2)
@@ -1272,9 +1240,9 @@ const inline = {
1272
1240
  emStrong: {
1273
1241
  lDelim: /^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,
1274
1242
  // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.
1275
- // () Skip orphan inside strong () Consume to delim (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a
1276
- rDelimAst: /^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
1277
- rDelimUnd: /^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
1243
+ // () Skip orphan delim inside strong (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a
1244
+ rDelimAst: /^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
1245
+ rDelimUnd: /^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
1278
1246
  },
1279
1247
  code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
1280
1248
  br: /^( {2,}|\\)\n(?!\s*$)/,
@@ -1407,7 +1375,6 @@ inline.breaks = merge({}, inline.gfm, {
1407
1375
 
1408
1376
  /**
1409
1377
  * smartypants text replacement
1410
- * @param {string} text
1411
1378
  */
1412
1379
  function smartypants(text) {
1413
1380
  return text
@@ -1429,7 +1396,6 @@ function smartypants(text) {
1429
1396
 
1430
1397
  /**
1431
1398
  * mangle email addresses
1432
- * @param {string} text
1433
1399
  */
1434
1400
  function mangle(text) {
1435
1401
  let out = '',
@@ -1517,7 +1483,8 @@ class Lexer {
1517
1483
  */
1518
1484
  lex(src) {
1519
1485
  src = src
1520
- .replace(/\r\n|\r/g, '\n');
1486
+ .replace(/\r\n|\r/g, '\n')
1487
+ .replace(/\t/g, ' ');
1521
1488
 
1522
1489
  this.blockTokens(src, this.tokens);
1523
1490
 
@@ -1534,13 +1501,8 @@ class Lexer {
1534
1501
  */
1535
1502
  blockTokens(src, tokens = []) {
1536
1503
  if (this.options.pedantic) {
1537
- src = src.replace(/\t/g, ' ').replace(/^ +$/gm, '');
1538
- } else {
1539
- src = src.replace(/^( *)(\t+)/gm, (_, leading, tabs) => {
1540
- return leading + ' '.repeat(tabs.length);
1541
- });
1504
+ src = src.replace(/^ +$/gm, '');
1542
1505
  }
1543
-
1544
1506
  let token, lastToken, cutSrc, lastParagraphClipped;
1545
1507
 
1546
1508
  while (src) {
@@ -1936,31 +1898,29 @@ class Renderer {
1936
1898
  + '</code></pre>\n';
1937
1899
  }
1938
1900
 
1939
- /**
1940
- * @param {string} quote
1941
- */
1942
1901
  blockquote(quote) {
1943
- return `<blockquote>\n${quote}</blockquote>\n`;
1902
+ return '<blockquote>\n' + quote + '</blockquote>\n';
1944
1903
  }
1945
1904
 
1946
1905
  html(html) {
1947
1906
  return html;
1948
1907
  }
1949
1908
 
1950
- /**
1951
- * @param {string} text
1952
- * @param {string} level
1953
- * @param {string} raw
1954
- * @param {any} slugger
1955
- */
1956
1909
  heading(text, level, raw, slugger) {
1957
1910
  if (this.options.headerIds) {
1958
- const id = this.options.headerPrefix + slugger.slug(raw);
1959
- return `<h${level} id="${id}">${text}</h${level}>\n`;
1911
+ return '<h'
1912
+ + level
1913
+ + ' id="'
1914
+ + this.options.headerPrefix
1915
+ + slugger.slug(raw)
1916
+ + '">'
1917
+ + text
1918
+ + '</h'
1919
+ + level
1920
+ + '>\n';
1960
1921
  }
1961
-
1962
1922
  // ignore IDs
1963
- return `<h${level}>${text}</h${level}>\n`;
1923
+ return '<h' + level + '>' + text + '</h' + level + '>\n';
1964
1924
  }
1965
1925
 
1966
1926
  hr() {
@@ -1973,11 +1933,8 @@ class Renderer {
1973
1933
  return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
1974
1934
  }
1975
1935
 
1976
- /**
1977
- * @param {string} text
1978
- */
1979
1936
  listitem(text) {
1980
- return `<li>${text}</li>\n`;
1937
+ return '<li>' + text + '</li>\n';
1981
1938
  }
1982
1939
 
1983
1940
  checkbox(checked) {
@@ -1988,19 +1945,12 @@ class Renderer {
1988
1945
  + '> ';
1989
1946
  }
1990
1947
 
1991
- /**
1992
- * @param {string} text
1993
- */
1994
1948
  paragraph(text) {
1995
- return `<p>${text}</p>\n`;
1949
+ return '<p>' + text + '</p>\n';
1996
1950
  }
1997
1951
 
1998
- /**
1999
- * @param {string} header
2000
- * @param {string} body
2001
- */
2002
1952
  table(header, body) {
2003
- if (body) body = `<tbody>${body}</tbody>`;
1953
+ if (body) body = '<tbody>' + body + '</tbody>';
2004
1954
 
2005
1955
  return '<table>\n'
2006
1956
  + '<thead>\n'
@@ -2010,59 +1960,39 @@ class Renderer {
2010
1960
  + '</table>\n';
2011
1961
  }
2012
1962
 
2013
- /**
2014
- * @param {string} content
2015
- */
2016
1963
  tablerow(content) {
2017
- return `<tr>\n${content}</tr>\n`;
1964
+ return '<tr>\n' + content + '</tr>\n';
2018
1965
  }
2019
1966
 
2020
1967
  tablecell(content, flags) {
2021
1968
  const type = flags.header ? 'th' : 'td';
2022
1969
  const tag = flags.align
2023
- ? `<${type} align="${flags.align}">`
2024
- : `<${type}>`;
2025
- return tag + content + `</${type}>\n`;
1970
+ ? '<' + type + ' align="' + flags.align + '">'
1971
+ : '<' + type + '>';
1972
+ return tag + content + '</' + type + '>\n';
2026
1973
  }
2027
1974
 
2028
- /**
2029
- * span level renderer
2030
- * @param {string} text
2031
- */
1975
+ // span level renderer
2032
1976
  strong(text) {
2033
- return `<strong>${text}</strong>`;
1977
+ return '<strong>' + text + '</strong>';
2034
1978
  }
2035
1979
 
2036
- /**
2037
- * @param {string} text
2038
- */
2039
1980
  em(text) {
2040
- return `<em>${text}</em>`;
1981
+ return '<em>' + text + '</em>';
2041
1982
  }
2042
1983
 
2043
- /**
2044
- * @param {string} text
2045
- */
2046
1984
  codespan(text) {
2047
- return `<code>${text}</code>`;
1985
+ return '<code>' + text + '</code>';
2048
1986
  }
2049
1987
 
2050
1988
  br() {
2051
1989
  return this.options.xhtml ? '<br/>' : '<br>';
2052
1990
  }
2053
1991
 
2054
- /**
2055
- * @param {string} text
2056
- */
2057
1992
  del(text) {
2058
- return `<del>${text}</del>`;
1993
+ return '<del>' + text + '</del>';
2059
1994
  }
2060
1995
 
2061
- /**
2062
- * @param {string} href
2063
- * @param {string} title
2064
- * @param {string} text
2065
- */
2066
1996
  link(href, title, text) {
2067
1997
  href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2068
1998
  if (href === null) {
@@ -2076,20 +2006,15 @@ class Renderer {
2076
2006
  return out;
2077
2007
  }
2078
2008
 
2079
- /**
2080
- * @param {string} href
2081
- * @param {string} title
2082
- * @param {string} text
2083
- */
2084
2009
  image(href, title, text) {
2085
2010
  href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2086
2011
  if (href === null) {
2087
2012
  return text;
2088
2013
  }
2089
2014
 
2090
- let out = `<img src="${href}" alt="${text}"`;
2015
+ let out = '<img src="' + href + '" alt="' + text + '"';
2091
2016
  if (title) {
2092
- out += ` title="${title}"`;
2017
+ out += ' title="' + title + '"';
2093
2018
  }
2094
2019
  out += this.options.xhtml ? '/>' : '>';
2095
2020
  return out;
@@ -2151,9 +2076,6 @@ class Slugger {
2151
2076
  this.seen = {};
2152
2077
  }
2153
2078
 
2154
- /**
2155
- * @param {string} value
2156
- */
2157
2079
  serialize(value) {
2158
2080
  return value
2159
2081
  .toLowerCase()
@@ -2167,8 +2089,6 @@ class Slugger {
2167
2089
 
2168
2090
  /**
2169
2091
  * Finds the next safe (unique) slug to use
2170
- * @param {string} originalSlug
2171
- * @param {boolean} isDryRun
2172
2092
  */
2173
2093
  getNextSafeSlug(originalSlug, isDryRun) {
2174
2094
  let slug = originalSlug;
@@ -2189,9 +2109,8 @@ class Slugger {
2189
2109
 
2190
2110
  /**
2191
2111
  * Convert string to unique id
2192
- * @param {object} [options]
2193
- * @param {boolean} [options.dryrun] Generates the next unique slug without
2194
- * updating the internal accumulator.
2112
+ * @param {object} options
2113
+ * @param {boolean} options.dryrun Generates the next unique slug without updating the internal accumulator.
2195
2114
  */
2196
2115
  slug(value, options = {}) {
2197
2116
  const slug = this.serialize(value);
@@ -2752,7 +2671,6 @@ marked.walkTokens = function(tokens, callback) {
2752
2671
 
2753
2672
  /**
2754
2673
  * Parse Inline
2755
- * @param {string} src
2756
2674
  */
2757
2675
  marked.parseInline = function(src, opt) {
2758
2676
  // throw error in case of non string input
@@ -0,0 +1 @@
1
+ module.exports = __webpack_public_path__ + "assets/img/emoji/messenger/sub_25.490_45.098.3dfbc08.png";
@@ -0,0 +1 @@
1
+ module.exports = __webpack_public_path__ + "assets/img/emoji/messenger/sub_60.784_27.451.46b54e5.png";
package/dist/678.js CHANGED
@@ -19,11 +19,14 @@ __webpack_require__.r(__webpack_exports__);
19
19
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20
20
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21
21
  /* harmony export */ });
22
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3645);
23
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
22
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
23
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
24
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3645);
25
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
24
26
  // Imports
25
27
 
26
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
28
+
29
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
27
30
  // Module
28
31
  ___CSS_LOADER_EXPORT___.push([module.id, "/*\n#sbz92 * {\n\tall: unset !important;\n}\n\n#sbz92 {\n\tz-index: @z-index + 100 !important;\n\t#makeImportant() !important;\n}\n\n// prevent #subiz inheriting client site styles\ndiv#sbz92 {\n\tall: initial;\n}\n\n// prevent #subiz inheriting client site !important styles\nbody div#sbz92 {\n\tall: initial !important;\n}\n\nbody div#sbz92 .overlay {\n\tposition: fixed !important;\n\tuser-select: none !important;\n}\n*/\n#sbz92 {\n z-index: 2000000100 !important;\n /* Handle on hover */\n}\n#sbz92 *,\n#sbz92 *::before,\n#sbz92 *::after {\n box-sizing: border-box;\n}\n#sbz92 [tabindex='-1']:focus:not(:focus-visible) {\n outline: 0;\n}\n#sbz92 b,\n#sbz92 strong {\n font-weight: 500;\n}\n#sbz92 a {\n color: #020202;\n text-decoration: none;\n background-color: transparent;\n}\n#sbz92 a:hover {\n cursor: pointer;\n color: #000000;\n text-decoration: underline;\n}\n#sbz92 a:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n#sbz92 a:not([href]):hover {\n color: inherit;\n text-decoration: none;\n}\n#sbz92 img {\n vertical-align: middle;\n border-style: none;\n}\n#sbz92 svg {\n overflow: hidden;\n vertical-align: middle;\n}\n#sbz92 label {\n display: inline-block;\n}\n#sbz92 button {\n border-radius: 0;\n}\n#sbz92 button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n#sbz92 input,\n#sbz92 button,\n#sbz92 select,\n#sbz92 optgroup,\n#sbz92 textarea {\n margin: 0;\n}\n#sbz92 button,\n#sbz92 input {\n overflow: visible;\n}\n#sbz92 button,\n#sbz92 select {\n text-transform: none;\n}\n#sbz92 select {\n word-wrap: normal;\n}\n#sbz92 button,\n#sbz92 [type=\"button\"],\n#sbz92 [type=\"reset\"],\n#sbz92 [type=\"submit\"] {\n -webkit-appearance: button;\n}\n#sbz92 button:not(:disabled),\n#sbz92 [type='button']:not(:disabled),\n#sbz92 [type='reset']:not(:disabled),\n#sbz92 [type='submit']:not(:disabled) {\n cursor: pointer;\n}\n#sbz92 button::-moz-focus-inner,\n#sbz92 [type='button']::-moz-focus-inner,\n#sbz92 [type='reset']::-moz-focus-inner,\n#sbz92 [type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n#sbz92 input[type='radio'],\n#sbz92 input[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n}\n#sbz92 input[type='date'],\n#sbz92 input[type='time'],\n#sbz92 input[type='datetime-local'],\n#sbz92 input[type='month'] {\n -webkit-appearance: listbox;\n}\n#sbz92 textarea {\n overflow: auto;\n resize: vertical;\n}\n#sbz92 [type='number']::-webkit-inner-spin-button,\n#sbz92 [type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n#sbz92 [hidden] {\n display: none;\n}\n#sbz92 ::-webkit-input-placeholder {\n /* Edge */\n color: #777;\n}\n#sbz92 :-ms-input-placeholder {\n /* Internet Explorer 10-11 */\n color: #777;\n}\n#sbz92 ::placeholder {\n color: #777;\n}\n#sbz92 div {\n display: block;\n text-rendering: geometricPrecision;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n#sbz92 ::-webkit-scrollbar {\n width: 7px;\n height: 7px;\n}\n#sbz92 ::-webkit-scrollbar-track {\n border-radius: 10px;\n}\n#sbz92 ::-webkit-scrollbar-thumb {\n border-radius: 10px;\n background: #d6d6d6;\n}\n#sbz92 ::-webkit-scrollbar-thumb:hover {\n background: #aaa;\n}\n#sbz92 .overlay {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: #000c;\n z-index: 20000000000100;\n overflow: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n#sbz92 .overlay.overlay__hidden {\n display: none;\n}\n#sbz92 .map_modal {\n max-with: 80%;\n max-height: 80%;\n width: 400px;\n height: 400px;\n background: white;\n}\n#sbz92 .map_body {\n width: 100%;\n height: 100%;\n display: flex;\n}\n#sbz92 .map_location {\n border-bottom: 1px solid lightgray;\n padding: 20px;\n font-size: 16px;\n font-family: 'roboto';\n}\n#sbz92 .map_title {\n font-size: 18px;\n font-weight: 500;\n padding: 10px;\n text-align: center;\n border-bottom: 1px solid lightgray;\n font-family: 'roboto';\n}\n#sbz92 .map_locations {\n border-right: 1px solid lightgray;\n width: 200px;\n height: 100%;\n}\n#sbz92 .sm.contact_button {\n width: 40px;\n height: 40px;\n}\n#sbz92 .lg.contact_button {\n width: 60px;\n height: 60px;\n}\n#sbz92 .contact_button {\n width: 50px;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background: pink;\n}\n", ""]);
29
32
  // Exports
@@ -41,37 +44,55 @@ ___CSS_LOADER_EXPORT___.push([module.id, "/*\n#sbz92 * {\n\tall: unset !importan
41
44
  MIT License http://www.opensource.org/licenses/mit-license.php
42
45
  Author Tobias Koppers @sokra
43
46
  */
44
- // css base code, injected by the css-loader
45
- // eslint-disable-next-line func-names
46
47
  module.exports = function (cssWithMappingToString) {
47
48
  var list = []; // return the list of modules as css string
48
49
 
49
50
  list.toString = function toString() {
50
51
  return this.map(function (item) {
51
- var content = cssWithMappingToString(item);
52
+ var content = "";
53
+ var needLayer = typeof item[5] !== "undefined";
54
+
55
+ if (item[4]) {
56
+ content += "@supports (".concat(item[4], ") {");
57
+ }
52
58
 
53
59
  if (item[2]) {
54
- return "@media ".concat(item[2], " {").concat(content, "}");
60
+ content += "@media ".concat(item[2], " {");
61
+ }
62
+
63
+ if (needLayer) {
64
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
65
+ }
66
+
67
+ content += cssWithMappingToString(item);
68
+
69
+ if (needLayer) {
70
+ content += "}";
71
+ }
72
+
73
+ if (item[2]) {
74
+ content += "}";
75
+ }
76
+
77
+ if (item[4]) {
78
+ content += "}";
55
79
  }
56
80
 
57
81
  return content;
58
82
  }).join("");
59
83
  }; // import a list of modules into the list
60
- // eslint-disable-next-line func-names
61
84
 
62
85
 
63
- list.i = function (modules, mediaQuery, dedupe) {
86
+ list.i = function i(modules, media, dedupe, supports, layer) {
64
87
  if (typeof modules === "string") {
65
- // eslint-disable-next-line no-param-reassign
66
- modules = [[null, modules, ""]];
88
+ modules = [[null, modules, undefined]];
67
89
  }
68
90
 
69
91
  var alreadyImportedModules = {};
70
92
 
71
93
  if (dedupe) {
72
- for (var i = 0; i < this.length; i++) {
73
- // eslint-disable-next-line prefer-destructuring
74
- var id = this[i][0];
94
+ for (var k = 0; k < this.length; k++) {
95
+ var id = this[k][0];
75
96
 
76
97
  if (id != null) {
77
98
  alreadyImportedModules[id] = true;
@@ -79,19 +100,37 @@ module.exports = function (cssWithMappingToString) {
79
100
  }
80
101
  }
81
102
 
82
- for (var _i = 0; _i < modules.length; _i++) {
83
- var item = [].concat(modules[_i]);
103
+ for (var _k = 0; _k < modules.length; _k++) {
104
+ var item = [].concat(modules[_k]);
84
105
 
85
106
  if (dedupe && alreadyImportedModules[item[0]]) {
86
- // eslint-disable-next-line no-continue
87
107
  continue;
88
108
  }
89
109
 
90
- if (mediaQuery) {
110
+ if (typeof layer !== "undefined") {
111
+ if (typeof item[5] === "undefined") {
112
+ item[5] = layer;
113
+ } else {
114
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
115
+ item[5] = layer;
116
+ }
117
+ }
118
+
119
+ if (media) {
91
120
  if (!item[2]) {
92
- item[2] = mediaQuery;
121
+ item[2] = media;
93
122
  } else {
94
- item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
123
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
124
+ item[2] = media;
125
+ }
126
+ }
127
+
128
+ if (supports) {
129
+ if (!item[4]) {
130
+ item[4] = "".concat(supports);
131
+ } else {
132
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
133
+ item[4] = supports;
95
134
  }
96
135
  }
97
136
 
@@ -102,6 +141,17 @@ module.exports = function (cssWithMappingToString) {
102
141
  return list;
103
142
  };
104
143
 
144
+ /***/ }),
145
+
146
+ /***/ 8081:
147
+ /***/ ((module) => {
148
+
149
+
150
+
151
+ module.exports = function (i) {
152
+ return i[1];
153
+ };
154
+
105
155
  /***/ })
106
156
 
107
157
  }]);
@@ -0,0 +1 @@
1
+ module.exports = __webpack_public_path__ + "assets/img/emoji/messenger/sub_58.824_47.059.0f4d6e2.png";
@@ -0,0 +1 @@
1
+ module.exports = __webpack_public_path__ + "assets/img/emoji/messenger/sub_58.824_88.235.def4e71.png";