@subiz/widget-v4 4.1.111 → 4.1.112

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 (54) hide show
  1. package/compiled_src/chatbox/MessageInput.js +13 -9
  2. package/compiled_src/store/store.js +4 -1
  3. package/dist/127.js +273 -0
  4. package/dist/132.js +2575 -6434
  5. package/dist/185.js +1885 -0
  6. package/dist/19565267fde.127.js +1 -0
  7. package/dist/19565267fde.132.js +1 -0
  8. package/dist/19565267fde.185.js +1 -0
  9. package/dist/19565267fde.27.js +1 -0
  10. package/dist/19565267fde.278.js +1 -0
  11. package/dist/19565267fde.459.js +1 -0
  12. package/dist/19565267fde.490.js +1 -0
  13. package/dist/19565267fde.74.js +1 -0
  14. package/dist/19565267fde.997.js +1 -0
  15. package/dist/19565267fde.app.js +1 -0
  16. package/dist/{18a02a9c54e.index.html → 19565267fde.index.html} +28 -4
  17. package/dist/{18a02a9c54e.library.html → 19565267fde.library.html} +28 -4
  18. package/dist/19565267fde.library.js +1 -0
  19. package/dist/{18a02a9c54e.preview.html → 19565267fde.preview.html} +1 -1
  20. package/dist/19565267fde.preview.js +1 -0
  21. package/dist/19565267fde.webview.js +1 -0
  22. package/dist/27.js +107 -0
  23. package/dist/278.js +406 -0
  24. package/dist/459.js +107 -0
  25. package/dist/{605.js → 490.js} +82 -82
  26. package/dist/{335.js → 74.js} +35 -35
  27. package/dist/{678.js → 997.js} +6 -6
  28. package/dist/HASH +1 -1
  29. package/dist/assets/img/{subiz-mono.877e9f5.svg → subiz-mono.8fbc067.svg} +1 -1
  30. package/dist/malicious-app.js +6 -4
  31. package/dist/screenshoot.html +1 -1
  32. package/dist/screenshoot.js +9231 -4896
  33. package/package.json +11 -11
  34. package/src/chatbox/MessageInput.js +8 -7
  35. package/src/store/store.js +4 -1
  36. package/dist/178.js +0 -406
  37. package/dist/18a02a9c54e.132.js +0 -1
  38. package/dist/18a02a9c54e.178.js +0 -1
  39. package/dist/18a02a9c54e.213.js +0 -1
  40. package/dist/18a02a9c54e.335.js +0 -1
  41. package/dist/18a02a9c54e.362.js +0 -1
  42. package/dist/18a02a9c54e.441.js +0 -1
  43. package/dist/18a02a9c54e.605.js +0 -1
  44. package/dist/18a02a9c54e.678.js +0 -1
  45. package/dist/18a02a9c54e.782.js +0 -1
  46. package/dist/18a02a9c54e.app.js +0 -1
  47. package/dist/18a02a9c54e.library.js +0 -1
  48. package/dist/18a02a9c54e.preview.js +0 -1
  49. package/dist/18a02a9c54e.screenshoot.js +0 -1
  50. package/dist/18a02a9c54e.webview.js +0 -1
  51. package/dist/213.js +0 -2780
  52. package/dist/362.js +0 -107
  53. package/dist/441.js +0 -2855
  54. package/dist/782.js +0 -107
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
- (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[335],{
2
+ (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[74],{
3
3
 
4
- /***/ 2335:
4
+ /***/ 9074:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  __webpack_require__.r(__webpack_exports__);
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
- /* harmony export */ "DEFVAL": () => (/* binding */ DEFVAL),
9
+ /* harmony export */ DEFVAL: () => (/* binding */ DEFVAL),
10
10
  /* harmony export */ "default": () => (/* binding */ Contact),
11
- /* harmony export */ "replaceCssVariable": () => (/* binding */ replaceCssVariable)
11
+ /* harmony export */ replaceCssVariable: () => (/* binding */ replaceCssVariable)
12
12
  /* harmony export */ });
13
- /* harmony import */ var _util_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4494);
14
- /* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6400);
15
- /* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2493);
16
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
18
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
+ /* harmony import */ var _util_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8150);
14
+ /* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(172);
15
+ /* harmony import */ var _common_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2840);
16
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
19
 
20
20
 
21
21
 
22
- let CSS = (() => __webpack_require__.e(/* import() */ 678).then(__webpack_require__.bind(__webpack_require__, 2678)))();
23
- class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
22
+ let CSS = (() => __webpack_require__.e(/* import() */ 997).then(__webpack_require__.bind(__webpack_require__, 997)))();
23
+ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .Mw {
24
24
  constructor(props) {
25
25
  super(props);
26
26
  _defineProperty(this, "state", {
@@ -47,7 +47,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
47
47
  });
48
48
  }
49
49
  js2css(js, onlyProps) {
50
- return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].js2css */ .Z.js2css(js, onlyProps, {
50
+ return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.js2css(js, onlyProps, {
51
51
  '@font_size': this.props.plugin.popup.font_size,
52
52
  '@font_family': this.props.plugin.popup.font_family,
53
53
  '@text_color': this.props.plugin.popup.text_color,
@@ -92,7 +92,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
92
92
  if (this.state.map) cls += ' map_modal__show';else cls += ' map_modal__hide';
93
93
  let overlaycls = 'overlay';
94
94
  if (!this.state.map) overlaycls += ' overlay__hidden';
95
- let $locations = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].map */ .Z.map(button.map.locations, loc => {
95
+ let $locations = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.map(button.map.locations, loc => {
96
96
  return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
97
97
  class: "map_location",
98
98
  onClick: e => this.setMap(loc.latitude, loc.longitude)
@@ -203,8 +203,8 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
203
203
  return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, icon);
204
204
  }
205
205
  renderButtons(buttons) {
206
- if (_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].size */ .Z.size(buttons) === 0) return null;
207
- return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].map */ .Z.map(buttons, button => {
206
+ if (_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.size(buttons) === 0) return null;
207
+ return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.map(buttons, button => {
208
208
  if (button.type === 'map') return this.renderMapButton(button);
209
209
  if (button.type === 'zalo') return this.renderZaloButton(button);
210
210
  if (button.type === 'facebook') return this.renderFacebookButton(button);
@@ -229,14 +229,14 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
229
229
  class: "text",
230
230
  style: this.js2css(style),
231
231
  dangerouslySetInnerHTML: {
232
- __html: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(com, 'text.html')
232
+ __html: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(com, 'text.html')
233
233
  }
234
234
  });
235
235
  }
236
236
  async refreshCSS() {
237
237
  let css = (await CSS).default.default.toString();
238
238
  var outcss = replaceCssVariable(css, this.props.plugin.popup);
239
- _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].setCss */ .Z.setCss(this.props.plugin.id, this.$cssStyleDiv, outcss);
239
+ _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.setCss(this.props.plugin.id, this.$cssStyleDiv, outcss);
240
240
  this.setState({
241
241
  cssready: true
242
242
  });
@@ -257,29 +257,29 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
257
257
  let pluginstringify = JSON.stringify(this.props.plugin);
258
258
  if (this.state.pluginjson !== pluginstringify) {
259
259
  this.refreshCSS();
260
- _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].setTimeout */ .Z.setTimeout(() => this.setState({
260
+ _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.setTimeout(() => this.setState({
261
261
  pluginjson: pluginstringify
262
262
  }));
263
263
  }
264
264
  if (this.state.close) return null;
265
265
  let containercss = '';
266
266
  let bodycss = '';
267
- let layout = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, 'contact.layout', 'standard');
267
+ let layout = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, 'contact.layout', 'standard');
268
268
  let $body = null;
269
269
  if (layout === 'standard' || !layout) {
270
270
  $body = this.renderByLayoutSideByStandard();
271
271
  }
272
272
  if (layout === 'footer') {
273
- $body = this.renderByLayoutFooter(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
273
+ $body = this.renderByLayoutFooter(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
274
274
  }
275
275
  if (layout === 'mini') {
276
- $body = this.renderByLayoutMini(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
276
+ $body = this.renderByLayoutMini(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
277
277
  }
278
278
  if (layout === 'docked') {
279
- $body = this.renderByLayoutDocked(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
279
+ $body = this.renderByLayoutDocked(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
280
280
  }
281
281
  let left, right, bottom, top, transform;
282
- let position = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, 'contact.position', 'bottom-left');
282
+ let position = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(this.props.plugin, 'contact.position', 'bottom-left');
283
283
  if (position === 'center-left') {
284
284
  left = '0';
285
285
  top = '50%';
@@ -302,7 +302,7 @@ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
302
302
  bottom = '20px';
303
303
  }
304
304
  return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
305
- style: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].js2css */ .Z.js2css({
305
+ style: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.js2css({
306
306
  position: 'absolute',
307
307
  left,
308
308
  right,
@@ -338,15 +338,15 @@ function eq(a, b) {
338
338
  }
339
339
  function replaceCssVariable(css, setting) {
340
340
  var tokens = [css];
341
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@font_family'");
342
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@font_size'");
343
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@text_color'");
344
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@primary_color'");
345
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@background'");
346
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer'");
347
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer0'");
348
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer2'");
349
- tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer3'");
341
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@font_family'");
342
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@font_size'");
343
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@text_color'");
344
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@primary_color'");
345
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@background'");
346
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer'");
347
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer0'");
348
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer2'");
349
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.tokenize(tokens, "'@spacer3'");
350
350
  var ret = [];
351
351
  for (var i = 0; i < tokens.length; i++) {
352
352
  var item = tokens[i];
@@ -355,7 +355,7 @@ function replaceCssVariable(css, setting) {
355
355
  continue;
356
356
  }
357
357
  var path = item.type.substr(2, item.type.length - 3);
358
- var val = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(setting, path) || _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(DEFVAL, path) || '';
358
+ var val = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(setting, path) || _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.get(DEFVAL, path) || '';
359
359
  ret.push(val);
360
360
  }
361
361
  return ret.join('');
@@ -1,25 +1,25 @@
1
1
  "use strict";
2
- (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[678],{
2
+ (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[997],{
3
3
 
4
- /***/ 2678:
4
+ /***/ 997:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  __webpack_require__.r(__webpack_exports__);
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
9
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10
10
  /* harmony export */ });
11
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__(3048));
11
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__(1938));
12
12
 
13
13
  /***/ }),
14
14
 
15
- /***/ 3048:
15
+ /***/ 1938:
16
16
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
17
17
 
18
18
  __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);
22
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6314);
23
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__);
24
24
  // Imports
25
25
 
@@ -32,7 +32,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "/*\n#sbz92 * {\n\tall: unset !importan
32
32
 
33
33
  /***/ }),
34
34
 
35
- /***/ 3645:
35
+ /***/ 6314:
36
36
  /***/ ((module) => {
37
37
 
38
38
 
package/dist/HASH CHANGED
@@ -1 +1 @@
1
- 18a02a9c54e
1
+ 19565267fde
@@ -1,3 +1,3 @@
1
1
  <svg width="21" height="15" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M20.2176 15C18.4857 15 16.7537 15 15.0379 15C13.0955 15 11.1693 15 9.22689 15C8.35282 15 7.49492 14.8374 6.65322 14.6259C5.87626 14.4308 5.11549 14.1543 4.38709 13.7802C3.62632 13.3898 2.93029 12.9182 2.29901 12.3489C1.60298 11.7309 1.03645 11.0153 0.631786 10.2021C0.227119 9.38886 0.0166929 8.51059 0.000506273 7.58354C-0.0156804 6.29867 0.356612 5.14391 1.06882 4.103C1.73248 3.09463 2.62274 2.31395 3.6425 1.67964C4.67845 1.02908 5.81151 0.606207 6.99314 0.329716C7.6406 0.183339 8.28807 0.0857536 8.96791 0.0369611C9.37257 0.020697 9.77724 -0.0118315 10.1819 0.00443267C11.0236 0.0206968 11.8653 0.118282 12.6908 0.313452C13.6782 0.541151 14.6332 0.882698 15.5397 1.35436C16.2519 1.7447 16.9156 2.2001 17.5306 2.75308C18.2752 3.43617 18.8579 4.23312 19.2626 5.16018C19.4892 5.68063 19.6349 6.23361 19.7158 6.81912C19.8453 7.86003 19.6997 8.83588 19.3112 9.79547C19.0684 10.3972 18.7285 10.934 18.3238 11.4381C18.1943 11.6008 18.0648 11.7472 17.9353 11.8773C17.8706 11.9423 17.8544 11.9911 17.8867 12.0887C18.1457 12.9019 18.5504 13.6338 19.1817 14.2193C19.4245 14.447 19.6997 14.6585 20.0072 14.8048C20.0881 14.8374 20.1691 14.9024 20.25 14.9349C20.2338 14.9675 20.2338 14.9837 20.2176 15ZM12.8365 8.70576C13.2736 8.70576 13.7268 8.6895 14.1638 8.70576C14.3581 8.70576 14.3904 8.64071 14.3904 8.4618C14.3742 7.81124 14.3742 7.16067 14.3904 6.49384C14.3904 6.31493 14.3419 6.26614 14.1638 6.26614C13.2736 6.2824 12.3995 6.26614 11.5092 6.2824C11.2988 6.2824 11.2664 6.21735 11.2664 6.02218C11.2826 5.14391 11.2664 4.28191 11.2664 3.40364C11.2664 3.241 11.234 3.19221 11.056 3.19221C10.3761 3.20847 9.68012 3.20847 9.00028 3.19221C8.82223 3.19221 8.78986 3.25727 8.78986 3.40364C8.78986 4.28191 8.78986 5.16018 8.78986 6.03844C8.78986 6.21735 8.74129 6.26614 8.56324 6.26614C7.68916 6.24988 6.83127 6.26614 5.95719 6.24988C5.74677 6.24988 5.71439 6.31493 5.71439 6.5101C5.73058 7.16067 5.73058 7.79497 5.71439 8.44554C5.71439 8.62444 5.76295 8.6895 5.94101 8.6895C6.7989 8.67324 7.65679 8.6895 8.51468 8.67324C8.72511 8.67324 8.77367 8.73829 8.77367 8.93346C8.75748 9.81173 8.77367 10.6737 8.75748 11.552C8.75748 11.6984 8.78986 11.7472 8.95172 11.7472C9.63156 11.7309 10.3276 11.7309 11.0074 11.7472C11.1855 11.7472 11.2179 11.6821 11.2179 11.5195C11.2017 10.6412 11.2179 9.76294 11.2179 8.88467C11.2179 8.72203 11.2502 8.67324 11.4283 8.67324C11.9463 8.72203 12.3995 8.70576 12.8365 8.70576Z" fill="#ccc"/>
2
+ <path d="M20.2176 15C18.4857 15 16.7537 15 15.0379 15C13.0955 15 11.1693 15 9.22689 15C8.35282 15 7.49492 14.8374 6.65322 14.6259C5.87626 14.4308 5.11549 14.1543 4.38709 13.7802C3.62632 13.3898 2.93029 12.9182 2.29901 12.3489C1.60298 11.7309 1.03645 11.0153 0.631786 10.2021C0.227119 9.38886 0.0166929 8.51059 0.000506273 7.58354C-0.0156804 6.29867 0.356612 5.14391 1.06882 4.103C1.73248 3.09463 2.62274 2.31395 3.6425 1.67964C4.67845 1.02908 5.81151 0.606207 6.99314 0.329716C7.6406 0.183339 8.28807 0.0857536 8.96791 0.0369611C9.37257 0.020697 9.77724 -0.0118315 10.1819 0.00443267C11.0236 0.0206968 11.8653 0.118282 12.6908 0.313452C13.6782 0.541151 14.6332 0.882698 15.5397 1.35436C16.2519 1.7447 16.9156 2.2001 17.5306 2.75308C18.2752 3.43617 18.8579 4.23312 19.2626 5.16018C19.4892 5.68063 19.6349 6.23361 19.7158 6.81912C19.8453 7.86003 19.6997 8.83588 19.3112 9.79547C19.0684 10.3972 18.7285 10.934 18.3238 11.4381C18.1943 11.6008 18.0648 11.7472 17.9353 11.8773C17.8706 11.9423 17.8544 11.9911 17.8867 12.0887C18.1457 12.9019 18.5504 13.6338 19.1817 14.2193C19.4245 14.447 19.6997 14.6585 20.0072 14.8048C20.0881 14.8374 20.1691 14.9024 20.25 14.9349C20.2338 14.9675 20.2338 14.9837 20.2176 15ZM12.8365 8.70576C13.2736 8.70576 13.7268 8.6895 14.1638 8.70576C14.3581 8.70576 14.3904 8.64071 14.3904 8.4618C14.3742 7.81124 14.3742 7.16067 14.3904 6.49384C14.3904 6.31493 14.3419 6.26614 14.1638 6.26614C13.2736 6.2824 12.3995 6.26614 11.5092 6.2824C11.2988 6.2824 11.2664 6.21735 11.2664 6.02218C11.2826 5.14391 11.2664 4.28191 11.2664 3.40364C11.2664 3.241 11.234 3.19221 11.056 3.19221C10.3761 3.20847 9.68012 3.20847 9.00028 3.19221C8.82223 3.19221 8.78986 3.25727 8.78986 3.40364C8.78986 4.28191 8.78986 5.16018 8.78986 6.03844C8.78986 6.21735 8.74129 6.26614 8.56324 6.26614C7.68916 6.24988 6.83127 6.26614 5.95719 6.24988C5.74677 6.24988 5.71439 6.31493 5.71439 6.5101C5.73058 7.16067 5.73058 7.79497 5.71439 8.44554C5.71439 8.62444 5.76295 8.6895 5.94101 8.6895C6.7989 8.67324 7.65679 8.6895 8.51468 8.67324C8.72511 8.67324 8.77367 8.73829 8.77367 8.93346C8.75748 9.81173 8.77367 10.6737 8.75748 11.552C8.75748 11.6984 8.78986 11.7472 8.95172 11.7472C9.63156 11.7309 10.3276 11.7309 11.0074 11.7472C11.1855 11.7472 11.2179 11.6821 11.2179 11.5195C11.2017 10.6412 11.2179 9.76294 11.2179 8.88467C11.2179 8.72203 11.2502 8.67324 11.4283 8.67324C11.9463 8.72203 12.3995 8.70576 12.8365 8.70576Z" fill="#aaa"/>
3
3
  </svg>
@@ -4,10 +4,12 @@ window._subiz_init_2094850928430 = true
4
4
  window._subiz_init_2094850928430_keep_loading = true
5
5
  var tag = document.createElement('script')
6
6
  tag.async = 1
7
+ tag.defer = true
7
8
  tag.src = 'https://public-gcs.subiz-cdn.com/widget-v4/public/' + hash + '.app.js'
8
9
  document.body.appendChild(tag)
9
10
 
10
- // record which domain still use old code
11
- // var xhttp = new XMLHttpRequest()
12
- // xhttp.open('GET', 'https://api.sbz.vn/4.0/old', true)
13
- // xhttp.send()
11
+ if (document.readyState === 'interactive' || document.readyState === 'complete') document.body.appendChild(tag)
12
+ else
13
+ document.addEventListener('DOMContentLoaded', function (event) {
14
+ document.body.appendChild(tag)
15
+ }) //
@@ -4,4 +4,4 @@
4
4
  }
5
5
  body {
6
6
  background: #ddd;
7
- }</style></head><body><script defer="defer" src="https://vcdn.subiz-cdn.com/widget-v4/public/18a02a9c54e.screenshoot.js"></script></body></html>
7
+ }</style></head><body><script defer="defer" src="./screenshoot.js"></script></body></html>