@subiz/widget-v4 4.0.69 → 4.0.70

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 (93) hide show
  1. package/dist/132.js +6819 -0
  2. package/dist/178.js +406 -0
  3. package/dist/180455656b6.132.js +1 -0
  4. package/dist/180455656b6.178.js +1 -0
  5. package/dist/180455656b6.213.js +1 -0
  6. package/dist/180455656b6.335.js +1 -0
  7. package/dist/180455656b6.362.js +1 -0
  8. package/dist/180455656b6.441.js +1 -0
  9. package/dist/180455656b6.605.js +1 -0
  10. package/dist/180455656b6.678.js +1 -0
  11. package/dist/180455656b6.782.js +1 -0
  12. package/dist/180455656b6.app.js +1 -0
  13. package/dist/180455656b6.index.html +22 -0
  14. package/dist/180455656b6.library.html +22 -0
  15. package/dist/180455656b6.library.js +1 -0
  16. package/dist/180455656b6.preview.html +759 -0
  17. package/dist/180455656b6.preview.js +1 -0
  18. package/dist/180455656b6.screenshoot.js +1 -0
  19. package/dist/213.js +3188 -0
  20. package/dist/335.js +411 -0
  21. package/dist/362.js +107 -0
  22. package/dist/441.js +2809 -0
  23. package/dist/605.js +328 -0
  24. package/dist/678.js +107 -0
  25. package/dist/782.js +107 -0
  26. package/dist/HASH +1 -0
  27. package/dist/assets/img/Facebook.64607ec.png +0 -0
  28. package/dist/assets/img/Zalo.6845707.png +0 -0
  29. package/dist/assets/img/award1a.1a58e10.png +0 -0
  30. package/dist/assets/img/award3a.3b74423.png +0 -0
  31. package/dist/assets/img/award4a.ed6ccd4.png +0 -0
  32. package/dist/assets/img/award5.39eb7ae.png +0 -0
  33. package/dist/assets/img/bubble_default.7d5e4ab.svg +20 -0
  34. package/dist/assets/img/caret.998eb8f.svg +1 -0
  35. package/dist/assets/img/convos_empty.2353007.svg +72 -0
  36. package/dist/assets/img/default.06e6ee0.jpg +0 -0
  37. package/dist/assets/img/default_avatar.5b74dc1.png +0 -0
  38. package/dist/assets/img/done_gray.d7e8203.svg +4 -0
  39. package/dist/assets/img/done_green.b817fd4.svg +4 -0
  40. package/dist/assets/img/emoji/messenger/sub_23.529_58.824.d5faf14.png +0 -0
  41. package/dist/assets/img/emoji/messenger/sub_23.529_60.784.1420241.png +0 -0
  42. package/dist/assets/img/emoji/messenger/sub_25.490_0.000.1e6b2c0.png +0 -0
  43. package/dist/assets/img/emoji/messenger/sub_25.490_45.098.3dfbc08.png +0 -0
  44. package/dist/assets/img/emoji/messenger/sub_25.490_5.882.4b49e94.png +0 -0
  45. package/dist/assets/img/emoji/messenger/sub_27.451_72.549.7114f58.png +0 -0
  46. package/dist/assets/img/emoji/messenger/sub_27.451_84.314.231e2b7.png +0 -0
  47. package/dist/assets/img/emoji/messenger/sub_27.451_96.078.ddbb008.png +0 -0
  48. package/dist/assets/img/emoji/messenger/sub_29.412_5.882.61f3359.png +0 -0
  49. package/dist/assets/img/emoji/messenger/sub_58.824_100.000.6df72bc.png +0 -0
  50. package/dist/assets/img/emoji/messenger/sub_58.824_45.098.3d7a7ad.png +0 -0
  51. package/dist/assets/img/emoji/messenger/sub_58.824_47.059.0f4d6e2.png +0 -0
  52. package/dist/assets/img/emoji/messenger/sub_58.824_54.902.65724c1.png +0 -0
  53. package/dist/assets/img/emoji/messenger/sub_58.824_64.706.9da3cba.png +0 -0
  54. package/dist/assets/img/emoji/messenger/sub_58.824_72.549.edca5cf.png +0 -0
  55. package/dist/assets/img/emoji/messenger/sub_58.824_78.431.f910f2a.png +0 -0
  56. package/dist/assets/img/emoji/messenger/sub_58.824_88.235.def4e71.png +0 -0
  57. package/dist/assets/img/emoji/messenger/sub_60.784_11.765.49c03d0.png +0 -0
  58. package/dist/assets/img/emoji/messenger/sub_60.784_27.451.46b54e5.png +0 -0
  59. package/dist/assets/img/emoji/messenger/sub_60.784_29.412.e36d284.png +0 -0
  60. package/dist/assets/img/emoji/messenger/sub_60.784_3.922.bb191b0.png +0 -0
  61. package/dist/assets/img/emoji/messenger/sub_60.784_35.294.af7b927.png +0 -0
  62. package/dist/assets/img/emoji/messenger/sub_60.784_7.843.98f2a99.png +0 -0
  63. package/dist/assets/img/empty.29bed2d.svg +23 -0
  64. package/dist/assets/img/empty_1.0b98af0.svg +11 -0
  65. package/dist/assets/img/examplte_logo.f86535f.svg +1 -0
  66. package/dist/assets/img/external-link.90577cc.svg +1 -0
  67. package/dist/assets/img/fb_inverse_circle.36c2cfc.png +0 -0
  68. package/dist/assets/img/ghn.070f8e3.svg +17 -0
  69. package/dist/assets/img/ghtk.326eac1.svg +18 -0
  70. package/dist/assets/img/image_default.be0698b.png +0 -0
  71. package/dist/assets/img/info.ebce7ea.svg +1 -0
  72. package/dist/assets/img/loader.37000a7.svg +1 -0
  73. package/dist/assets/img/loading_static.8f403ae.svg +10 -0
  74. package/dist/assets/img/main-service1.d536cc2.png +0 -0
  75. package/dist/assets/img/main-service2.9b99549.png +0 -0
  76. package/dist/assets/img/not_found_search.2ddb8d1.png +0 -0
  77. package/dist/assets/img/package.8d37d0f.svg +5 -0
  78. package/dist/assets/img/package_fade.763c001.svg +1 -0
  79. package/dist/assets/img/rating--average.1ea492c.svg +12 -0
  80. package/dist/assets/img/rating--great.e3d712e.svg +16 -0
  81. package/dist/assets/img/rating--poor.2938a25.svg +12 -0
  82. package/dist/assets/img/search.f9705ff.svg +1 -0
  83. package/dist/assets/img/send.6db52a9.svg +3 -0
  84. package/dist/assets/img/shop.f7dc7d8.svg +1 -0
  85. package/dist/assets/img/shop_faded.df7845a.svg +1 -0
  86. package/dist/assets/img/subiz-mono.877e9f5.svg +3 -0
  87. package/dist/assets/img/x.26fdfa3.svg +5 -0
  88. package/dist/malicious-app.js +13 -0
  89. package/dist/screenshoot.html +7 -0
  90. package/dist/screenshoot.js +5975 -0
  91. package/package.json +3 -3
  92. package/src/store/store.js +6 -6
  93. package/up +1 -1
package/dist/335.js ADDED
@@ -0,0 +1,411 @@
1
+ "use strict";
2
+ (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[335],{
3
+
4
+ /***/ 2335:
5
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
+
7
+ __webpack_require__.r(__webpack_exports__);
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ "DEFVAL": () => (/* binding */ DEFVAL),
10
+ /* harmony export */ "default": () => (/* binding */ Contact),
11
+ /* harmony export */ "replaceCssVariable": () => (/* binding */ replaceCssVariable)
12
+ /* harmony export */ });
13
+ /* harmony import */ var _util_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(819);
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) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+
18
+
19
+
20
+
21
+
22
+ let CSS = (() => __webpack_require__.e(/* import() */ 678).then(__webpack_require__.bind(__webpack_require__, 2678)))();
23
+
24
+ class Contact extends _common_js__WEBPACK_IMPORTED_MODULE_2__/* .Com */ .up {
25
+ constructor(props) {
26
+ super(props);
27
+
28
+ _defineProperty(this, "state", {
29
+ map: false,
30
+ map_loading: false,
31
+ map_initialized: false
32
+ });
33
+
34
+ this.showMap = this.showMap.bind(this);
35
+ this.hideMap = this.hideMap.bind(this);
36
+ }
37
+
38
+ async initMap() {
39
+ if (this.map_initialized) return;
40
+ this.setState({
41
+ map_initialized: true,
42
+ map_loading: true
43
+ });
44
+ await new Loader({
45
+ apiKey: 'YOUR_API_KEY',
46
+ version: 'weekly'
47
+ }).load();
48
+ this.gmap = new google.maps.Map(document.getElementById('map'));
49
+ this.setState({
50
+ map_loading: false
51
+ });
52
+ }
53
+
54
+ js2css(js, onlyProps) {
55
+ return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].js2css */ .Z.js2css(js, onlyProps, {
56
+ '@font_size': this.props.plugin.popup.font_size,
57
+ '@font_family': this.props.plugin.popup.font_family,
58
+ '@text_color': this.props.plugin.popup.text_color,
59
+ '@primary_color': this.props.plugin.popup.primary_color,
60
+ '@background': this.props.plugin.popup.background,
61
+ '@spacer0': spacer / 2 + 'px',
62
+ '@spacer': spacer + 'px',
63
+ '@spacer2': spacer * 2 + 'px',
64
+ '@spacer3': spacer * 3 + 'px'
65
+ });
66
+ }
67
+
68
+ renderMapButton(button) {
69
+ let icon = (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("svg", {
70
+ width: "20px",
71
+ "aria-hidden": "true",
72
+ focusable: "false",
73
+ "data-prefix": "fas",
74
+ "data-icon": "map-marker-alt",
75
+ role: "img",
76
+ xmlns: "http://www.w3.org/2000/svg",
77
+ viewBox: "0 0 384 512",
78
+ class: "svg-inline--fa fa-map-marker-alt fa-w-12 fa-3x"
79
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("path", {
80
+ fill: "red",
81
+ d: "M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z",
82
+ class: ""
83
+ }));
84
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
85
+ class: "contact_button",
86
+ onClick: this.showMap
87
+ }, this.renderMapModal(button), icon);
88
+ }
89
+
90
+ async setMap(lat, lng) {
91
+ console.log('HEE');
92
+ await this.initMap();
93
+ console.log('HEE22');
94
+ window.gmap = this.gmap;
95
+ this.gmap.map.setCenter(new google.maps.LatLng(lat, lng));
96
+ }
97
+
98
+ renderMapModal(button) {
99
+ let cls = 'map_modal';
100
+ if (this.state.map) cls += ' map_modal__show';else cls += ' map_modal__hide';
101
+ let overlaycls = 'overlay';
102
+ if (!this.state.map) overlaycls += ' overlay__hidden';
103
+ let $locations = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].map */ .Z.map(button.map.locations, loc => {
104
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
105
+ class: "map_location",
106
+ onClick: e => this.setMap(loc.latitude, loc.longitude)
107
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, loc.name), (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, loc.latitude), (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, loc.longitude));
108
+ });
109
+ $locations.unshift((0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
110
+ class: "map_title"
111
+ }, button.map.title));
112
+ let $map = (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
113
+ id: "map",
114
+ style: "height: 100%; width: 100%"
115
+ }, ' ');
116
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
117
+ class: overlaycls,
118
+ onClick: this.hideMap
119
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
120
+ class: cls,
121
+ onClick: e => e.stopPropagation()
122
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
123
+ class: "map_body"
124
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
125
+ class: "map_locations"
126
+ }, $locations), $map, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
127
+ class: "mapouter"
128
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
129
+ class: "gmap_canvas"
130
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("iframe", {
131
+ width: "300",
132
+ height: "400",
133
+ id: "gmap_canvas",
134
+ src: "https://maps.google.com/maps?q=2880%20Broadway,%20New%20York&t=&z=13&ie=UTF8&iwloc=&output=embed",
135
+ frameborder: "0",
136
+ scrolling: "no",
137
+ marginheight: "0",
138
+ marginwidth: "0"
139
+ }))))));
140
+ }
141
+
142
+ hideMap(e) {
143
+ e.stopPropagation();
144
+ this.setState({
145
+ map: false
146
+ });
147
+ }
148
+
149
+ showMap() {
150
+ this.setState({
151
+ map: true
152
+ });
153
+ }
154
+
155
+ renderZaloButton(button) {
156
+ let icon = (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("svg", {
157
+ width: "20px ",
158
+ "aria-hidden": "true",
159
+ focusable: "false",
160
+ "data-prefix": "fab",
161
+ "data-icon": "facebook-f",
162
+ role: "img",
163
+ xmlns: "http://www.w3.org/2000/svg",
164
+ viewBox: "0 0 320 512",
165
+ class: "svg-inline--fa fa-facebook-f fa-w-10 fa-5x"
166
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("path", {
167
+ fill: "currentColor",
168
+ d: "M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z",
169
+ class: ""
170
+ }));
171
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
172
+ class: "contact_button"
173
+ }, icon);
174
+ }
175
+
176
+ renderFacebookButton(button) {
177
+ let icon = (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("svg", {
178
+ width: "20px ",
179
+ "aria-hidden": "true",
180
+ focusable: "false",
181
+ "data-prefix": "fab",
182
+ "data-icon": "facebook-f",
183
+ role: "img",
184
+ xmlns: "http://www.w3.org/2000/svg",
185
+ viewBox: "0 0 320 512",
186
+ class: "svg-inline--fa fa-facebook-f fa-w-10 fa-5x"
187
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("path", {
188
+ fill: "currentColor",
189
+ d: "M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z",
190
+ class: ""
191
+ }));
192
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
193
+ class: "contact_button"
194
+ }, icon);
195
+ }
196
+
197
+ renderChatButton() {
198
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, "Chat");
199
+ }
200
+
201
+ renderCallButton() {
202
+ let icon = (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("svg", {
203
+ width: "20px",
204
+ "aria-hidden": "true",
205
+ focusable: "false",
206
+ "data-prefix": "fas",
207
+ "data-icon": "phone",
208
+ role: "img",
209
+ xmlns: "http://www.w3.org/2000/svg",
210
+ viewBox: "0 0 512 512",
211
+ class: "svg-inline--fa fa-phone fa-w-16 fa-7x"
212
+ }, (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("path", {
213
+ fill: "currentColor",
214
+ d: "M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z",
215
+ class: ""
216
+ }));
217
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, icon);
218
+ }
219
+
220
+ renderButtons(buttons) {
221
+ if (_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].size */ .Z.size(buttons) === 0) return null;
222
+ return _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].map */ .Z.map(buttons, button => {
223
+ if (button.type === 'map') return this.renderMapButton(button);
224
+ if (button.type === 'zalo') return this.renderZaloButton(button);
225
+ if (button.type === 'facebook') return this.renderFacebookButton(button);
226
+ if (button.type === 'call') return this.renderCallButton(button);
227
+ if (button.type === 'chat') return this.renderChatButton(button);
228
+ return null;
229
+ });
230
+ }
231
+
232
+ renderByLayoutSideByStandard() {
233
+ let $buttons = this.renderButtons(this.props.plugin.contact.buttons);
234
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", null, $buttons);
235
+ }
236
+
237
+ renderLineComponent(com) {
238
+ let style = Object.assign({}, com.style, this.props.mobile ? com.mobile_style : {});
239
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
240
+ style: this.js2css(style)
241
+ });
242
+ }
243
+
244
+ renderTextComponent(com) {
245
+ let style = Object.assign({}, com.style, this.props.mobile ? com.mobile_style : {});
246
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
247
+ class: "text",
248
+ style: this.js2css(style),
249
+ dangerouslySetInnerHTML: {
250
+ __html: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(com, 'text.html')
251
+ }
252
+ });
253
+ }
254
+
255
+ async refreshCSS() {
256
+ let css = (await CSS).default.default.toString();
257
+ var outcss = replaceCssVariable(css, this.props.plugin.popup);
258
+ _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].setCss */ .Z.setCss(this.props.plugin.id, this.$cssStyleDiv, outcss);
259
+ this.setState({
260
+ cssready: true
261
+ });
262
+ }
263
+
264
+ componentDidMount() {
265
+ this.$cssStyleDiv = document.createElement('style');
266
+ document.head.appendChild(this.$cssStyleDiv);
267
+ this.$cssStyleDiv.type = 'text/css';
268
+ this.$cssStyleDiv.id = 'subiz-style-for-' + this.props.plugin.id;
269
+ this.refreshCSS();
270
+ let pluginstringify = JSON.stringify(this.props.plugin);
271
+ this.setState({
272
+ pluginjson: pluginstringify
273
+ });
274
+ }
275
+
276
+ render() {
277
+ if (!this.state.cssready) return null;
278
+ let pluginstringify = JSON.stringify(this.props.plugin);
279
+
280
+ if (this.state.pluginjson !== pluginstringify) {
281
+ this.refreshCSS();
282
+ setTimeout(() => this.setState({
283
+ pluginjson: pluginstringify
284
+ }));
285
+ }
286
+
287
+ if (this.state.close) return null;
288
+ let containercss = '';
289
+ let bodycss = '';
290
+ let layout = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, 'contact.layout', 'standard');
291
+ let $body = null;
292
+
293
+ if (layout === 'standard' || !layout) {
294
+ $body = this.renderByLayoutSideByStandard();
295
+ }
296
+
297
+ if (layout === 'footer') {
298
+ $body = this.renderByLayoutFooter(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
299
+ }
300
+
301
+ if (layout === 'mini') {
302
+ $body = this.renderByLayoutMini(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
303
+ }
304
+
305
+ if (layout === 'docked') {
306
+ $body = this.renderByLayoutDocked(_util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, `popup.pages.${this.state.pageIndex}`));
307
+ }
308
+
309
+ let left, right, bottom, top, transform;
310
+ let position = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].get */ .Z.get(this.props.plugin, 'contact.position', 'bottom-left');
311
+
312
+ if (position === 'center-left') {
313
+ left = '0';
314
+ top = '50%';
315
+ transform = 'translateY(-50%)';
316
+ } else if (position === 'top-left') {
317
+ left = '0';
318
+ top = '20px';
319
+ } else if (position === 'bottom-right') {
320
+ right = '0';
321
+ bottom = '20px';
322
+ } else if (position === 'center-right') {
323
+ right = '0';
324
+ top = '50%';
325
+ transform = 'translateY(-50%)';
326
+ } else if (position === 'top-right') {
327
+ right = '0';
328
+ top = '20px';
329
+ } else {
330
+ left = '0';
331
+ bottom = '20px';
332
+ }
333
+
334
+ return (0,preact__WEBPACK_IMPORTED_MODULE_1__.h)("div", {
335
+ style: _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].js2css */ .Z.js2css({
336
+ position: 'absolute',
337
+ left,
338
+ right,
339
+ bottom,
340
+ top,
341
+ transform,
342
+ display: 'flex',
343
+ align_items: 'center',
344
+ justify_content: 'center',
345
+ overflow: 'hidden'
346
+ }),
347
+ onClick: e => e.stopPropagation()
348
+ }, $body);
349
+ }
350
+
351
+ }
352
+
353
+ function isEmpty(value) {
354
+ return value === undefined || value === null || value === '';
355
+ }
356
+
357
+ async function runCampaign(byTrigger) {
358
+ if (ran && byTrigger !== 'area_clicked') return;
359
+ ran = true;
360
+ pageIndex = 0;
361
+ let page = sb.get(camp, `pages.${pageIndex}`) || {};
362
+ showPage(page);
363
+ triggerType = byTrigger;
364
+ let {
365
+ body: impression
366
+ } = await store.sendImpression(camp.id, byTrigger);
367
+ impressionToken = sb.get(impression, 'impression_token') || '';
368
+ }
369
+
370
+ function eq(a, b) {
371
+ return JSON.stringify(a) === JSON.stringify(b);
372
+ }
373
+
374
+ function replaceCssVariable(css, setting) {
375
+ var tokens = [css];
376
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@font_family'");
377
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@font_size'");
378
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@text_color'");
379
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@primary_color'");
380
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@background'");
381
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer'");
382
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer0'");
383
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer2'");
384
+ tokens = _util_index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"].tokenize */ .Z.tokenize(tokens, "'@spacer3'");
385
+ var ret = [];
386
+
387
+ for (var i = 0; i < tokens.length; i++) {
388
+ var item = tokens[i];
389
+
390
+ if (typeof item === 'string') {
391
+ ret.push(item);
392
+ continue;
393
+ }
394
+
395
+ var path = item.type.substr(2, item.type.length - 3);
396
+ 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) || '';
397
+ ret.push(val);
398
+ }
399
+
400
+ return ret.join('');
401
+ }
402
+ const DEFVAL = {
403
+ font_size: '16px',
404
+ font_family: 'roboto',
405
+ text_color: '#333',
406
+ primary_color: '#333'
407
+ };
408
+
409
+ /***/ })
410
+
411
+ }]);
package/dist/362.js ADDED
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ (self["webpackChunk_subiz_widget_v4"] = self["webpackChunk_subiz_widget_v4"] || []).push([[362],{
3
+
4
+ /***/ 362:
5
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
+
7
+ __webpack_require__.r(__webpack_exports__);
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10
+ /* harmony export */ });
11
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__(2766));
12
+
13
+ /***/ }),
14
+
15
+ /***/ 2766:
16
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
17
+
18
+ __webpack_require__.r(__webpack_exports__);
19
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
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__);
24
+ // Imports
25
+
26
+ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
27
+ // Module
28
+ ___CSS_LOADER_EXPORT___.push([module.id, "@font-face {\n font-family: 'Dancing Script';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dancingscript/v22/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSoHTQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Dancing Script';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dancingscript/v22/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BAyoHTQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Dancing Script';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dancingscript/v22/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7B7y0HTQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGFmQSNjdsmc35JDF1K5GRwUjcdlttVFm-rI7e8QI96.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGFmQSNjdsmc35JDF1K5GRwUjcdlttVFm-rI7eOQI96.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGFmQSNjdsmc35JDF1K5GRwUjcdlttVFm-rI7diR496.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGDmQSNjdsmc35JDF1K5E55YMjF_7DPuGi-6_RUAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGDmQSNjdsmc35JDF1K5E55YMjF_7DPuGi-2fRUAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'EB Garamond';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/ebgaramond/v24/SlGDmQSNjdsmc35JDF1K5E55YMjF_7DPuGi-NfNUAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Inconsolata';\n font-style: normal;\n font-weight: 300;\n font-stretch: normal;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp9s8aRo.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Inconsolata';\n font-style: normal;\n font-weight: 400;\n font-stretch: normal;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp4U8aRo.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Inconsolata';\n font-style: normal;\n font-weight: 500;\n font-stretch: normal;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp7c8aRo.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq_p9aX8.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9aX8.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq5Z9aX8.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq3p6aX8.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq0N6aX8.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Ew-.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew-.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew-.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w-.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Montserrat';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/montserrat/v23/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TjARc9.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOkCnqEu92Fr1Mu52xP.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51S7ABc9.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOjCnqEu92Fr1Mu51TzBhc9.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmSU5vAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOmCnqEu92Fr1Me5Q.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmEU9vAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmWUlvAw.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Signika';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/signika/v18/vEFO2_JTCgwQ5ejvMV0O96D01E8J0tIJHJbG.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Signika';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/signika/v18/vEFO2_JTCgwQ5ejvMV0O96D01E8J0tJXHJbG.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Signika';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/signika/v18/vEFO2_JTCgwQ5ejvMV0O96D01E8J0tJlHJbG.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Signika';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/signika/v18/vEFO2_JTCgwQ5ejvMV0O96D01E8J0tKJG5bG.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: italic;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGCSmqwQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIWzD-0qpwxpaWvjeD0X88SAOeauXE-pQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: italic;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIVzD-0qpwxpaWvjeD0X88SAOeauXEGfS-qwQ.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: normal;\n font-weight: 300;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIXzD-0qpwxpaWvjeD0X88SAOeasd8chSs.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIQzD-0qpwxpaWvjeD0X88SAOeaiXM.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Source Serif Pro';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/sourceserifpro/v11/neIXzD-0qpwxpaWvjeD0X88SAOeasasahSs.ttf) format('truetype');\n}\n@font-face {\n font-family: 'Yeseva One';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/yesevaone/v18/OpNJno4ck8vc-xYpwWWxpio.ttf) format('truetype');\n}\n#sbz92 * {\n all: unset !important;\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 !important;\n}\n#sbz92 [tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n#sbz92 b,\n#sbz92 strong {\n font-weight: 500 !important;\n}\n#sbz92 a {\n color: #020202 !important;\n text-decoration: none !important;\n background-color: transparent !important;\n}\n#sbz92 a:hover {\n cursor: pointer !important;\n color: #000000 !important;\n text-decoration: underline !important;\n}\n#sbz92 a:not([href]) {\n color: inherit !important;\n text-decoration: none !important;\n}\n#sbz92 a:not([href]):hover {\n color: inherit !important;\n text-decoration: none !important;\n}\n#sbz92 img {\n vertical-align: middle !important;\n border-style: none !important;\n}\n#sbz92 svg {\n overflow: hidden !important;\n vertical-align: middle !important;\n}\n#sbz92 label {\n display: inline-block !important;\n}\n#sbz92 button {\n border-radius: 0 !important;\n}\n#sbz92 button:focus {\n outline: 1px dotted !important;\n outline: 5px auto -webkit-focus-ring-color !important;\n}\n#sbz92 input,\n#sbz92 button,\n#sbz92 select,\n#sbz92 optgroup,\n#sbz92 textarea {\n margin: 0 !important;\n}\n#sbz92 button,\n#sbz92 input {\n overflow: visible !important;\n}\n#sbz92 button,\n#sbz92 select {\n text-transform: none !important;\n}\n#sbz92 select {\n word-wrap: normal !important;\n}\n#sbz92 button,\n#sbz92 [type=\"button\"],\n#sbz92 [type=\"reset\"],\n#sbz92 [type=\"submit\"] {\n -webkit-appearance: button !important;\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 !important;\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 !important;\n border-style: none !important;\n}\n#sbz92 input[type='radio'],\n#sbz92 input[type='checkbox'] {\n box-sizing: border-box !important;\n padding: 0 !important;\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 !important;\n}\n#sbz92 textarea {\n overflow: auto !important;\n resize: vertical !important;\n}\n#sbz92 [type='number']::-webkit-inner-spin-button,\n#sbz92 [type='number']::-webkit-outer-spin-button {\n height: auto !important;\n}\n#sbz92 [hidden] {\n display: none !important;\n}\n#sbz92 ::-webkit-input-placeholder {\n /* Edge */\n color: #777 !important;\n}\n#sbz92 :-ms-input-placeholder {\n /* Internet Explorer 10-11 */\n color: #777 !important;\n}\n#sbz92 ::placeholder {\n color: #777 !important;\n}\n#sbz92 div {\n display: block !important;\n text-rendering: geometricPrecision !important;\n -webkit-font-smoothing: antialiased !important;\n -moz-osx-font-smoothing: grayscale !important;\n}\n#sbz92 ::-webkit-scrollbar {\n width: 7px !important;\n height: 7px !important;\n}\n#sbz92 ::-webkit-scrollbar-track {\n border-radius: 10px !important;\n}\n#sbz92 ::-webkit-scrollbar-thumb {\n border-radius: 10px !important;\n background: #d6d6d6 !important;\n}\n#sbz92 ::-webkit-scrollbar-thumb:hover {\n background: #aaa !important;\n}\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n#sbz92 .fadeOut {\n animation-name: fadeOut !important;\n animation-duration: 150ms !important;\n}\n@keyframes fadeInDownCenter {\n from {\n opacity: 0;\n transform: translate3d(0, -2000px, 0) translateX(-50%);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0) translateX(-50%);\n }\n}\n#sbz92 .fadeInDownCenter {\n animation-name: fadeInDownCenter !important;\n animation-duration: 0.25s !important;\n}\n@keyframes fadeInUpCenter {\n from {\n opacity: 0;\n transform: translate3d(0, 400px, 0) translateX(-50%);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0) translateX(-50%);\n }\n}\n#sbz92 .fadeInUpCenter {\n animation-name: fadeInUpCenter !important;\n animation-duration: 0.25s !important;\n}\n@keyframes fadeInDown {\n from {\n opacity: 0;\n transform: translate3d(0, -1000px, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n#sbz92 .fadeInDown {\n animation-name: fadeInDown !important;\n animation-duration: 0.5s !important;\n}\n@keyframes fadeInUpBig {\n from {\n opacity: 0;\n transform: translate3d(0, 400px, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n#sbz92 .fadeInUpBig {\n animation-name: fadeInUpBig !important;\n animation-duration: 0.25s !important;\n}\n@keyframes fadeInRightBig {\n from {\n opacity: 0;\n transform: translateY(-50%) translateX(200px);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) translateX(0px);\n }\n}\n#sbz92 .fadeInRightBig {\n animation-name: fadeInRightBig !important;\n animation-duration: 0.5s !important;\n}\n@keyframes fadeInLeftBig {\n from {\n opacity: 0;\n transform: translateY(-50%) translateX(-200px);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) translateX(0px);\n }\n}\n#sbz92 .fadeInLeftBig {\n animation-name: fadeInLeftBig !important;\n animation-duration: 0.5s !important;\n}\n@keyframes zoomIn {\n from {\n opacity: 0.3;\n transform: scale3d(0.5, 0.5, 0.5);\n }\n 50% {\n opacity: 1;\n }\n}\n#sbz92 .zoomIn {\n animation-name: zoomIn !important;\n transform-origin: top left !important;\n animation-duration: 0.15s !important;\n}\n@keyframes zoomOutCenter {\n from {\n opacity: 1;\n }\n 80% {\n opacity: 0.7;\n transform: scale3d(0.5, 0.5, 0.5) translateY(-50%) translateX(-50%);\n }\n}\n#sbz92 .zoomOutCenter {\n animation-name: zoomOutCenter !important;\n transform-origin: top left !important;\n animation-duration: 300ms !important;\n}\n@keyframes zoomInCenter {\n from {\n opacity: 0.3;\n transform: scale3d(0.5, 0.5, 0.5) translateY(-50%) translateX(-50%);\n }\n 50% {\n opacity: 1;\n }\n}\n#sbz92 .zoomInCenter {\n animation-name: zoomInCenter !important;\n transform-origin: top left !important;\n animation-duration: 0.15s !important;\n}\n@keyframes zoomDownYX {\n 0% {\n transform: scaleY(1);\n }\n 50% {\n transform: scaleY(0.01) scaleZ(1);\n }\n 100% {\n transform: scaleY(0.01) scaleX(0) scaleZ(0);\n }\n}\n#sbz92 .zoomDownYX {\n animation-duration: 0.5s !important;\n animation-name: zoomDownYX !important;\n}\n@keyframes zoomUpYX {\n 0% {\n transform: scaleY(0.01) scaleX(0) scaleZ(0);\n }\n 50% {\n transform: scaleY(0.01) scaleZ(1);\n }\n 100% {\n transform: scaleY(1);\n }\n}\n#sbz92 .zoomUpYX {\n animation-duration: 0.5s !important;\n animation-name: zoomUpYX !important;\n}\n@keyframes bounceIn {\n from,\n 20%,\n 40%,\n 60%,\n 80%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 20% {\n transform: scale3d(1.1, 1.1, 1.1);\n }\n 40% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 60% {\n opacity: 1;\n transform: scale3d(1.03, 1.03, 1.03);\n }\n 80% {\n transform: scale3d(0.97, 0.97, 0.97);\n }\n to {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n}\n#sbz92 .bounceIn {\n animation-duration: 0.5s !important;\n animation-name: bounceIn !important;\n}\n@keyframes shake {\n 0% {\n transform: skewX(-15deg);\n }\n 5% {\n transform: skewX(15deg);\n }\n 10% {\n transform: skewX(-15deg);\n }\n 15% {\n transform: skewX(15deg);\n }\n 20% {\n transform: skewX(0deg);\n }\n 100% {\n transform: skewX(0deg);\n }\n}\n#sbz92 .notif {\n cursor: pointer !important;\n font-family: roboto !important;\n font-size: 14px !important;\n position: absolute !important;\n user-select: none !important;\n}\n#sbz92 .notif__bottom-left {\n bottom: 20px !important;\n left: 20px !important;\n}\n#sbz92 .notif__top-left {\n top: 20px !important;\n left: 20px !important;\n}\n#sbz92 .notif__top-right {\n top: 20px !important;\n right: 40px !important;\n}\n#sbz92 .notif__bottom-right {\n bottom: 20px !important;\n right: 40px !important;\n}\n#sbz92 .notif__bottom-center {\n transform: translateX(-50%) !important;\n left: 50% !important;\n bottom: 20px !important;\n}\n#sbz92 .notif__top-center {\n transform: translateX(-50%) !important;\n left: 50% !important;\n top: 20px !important;\n}\n#sbz92 .notif_avatar {\n margin-left: 15px !important;\n margin-top: 10px !important;\n margin-bottom: 10px !important;\n overflow: hidden !important;\n width: 70px !important;\n height: 70px !important;\n z-index: 1 !important;\n}\n#sbz92 .notif_avatar__img {\n width: 100% !important;\n height: 100% !important;\n object-fit: cover !important;\n}\n#sbz92 .notif_body {\n z-index: 1 !important;\n display: flex !important;\n flex-direction: column !important;\n justify-content: center !important;\n position: relative !important;\n padding-top: 10px !important;\n padding-left: 20px !important;\n padding-bottom: 30px !important;\n padding-right: 30px !important;\n width: 235px !important;\n height: 100px !important;\n overflow: hidden !important;\n}\n#sbz92 .btn_close {\n background: white !important;\n padding: 0 !important;\n right: -25px !important;\n top: 0px !important;\n position: absolute !important;\n z-index: 10 !important;\n cursor: pointer !important;\n transition: background-color 0.2s ease-out !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.5) 0px 0px 0px 1px inset !important;\n border: none !important;\n width: 20px !important;\n height: 20px !important;\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n border-radius: 50% !important;\n opacity: 0.7 !important;\n}\n#sbz92 .btn_close:hover {\n opacity: 1 !important;\n}\n#sbz92 .btn_close__icon {\n stroke: #444 !important;\n height: 16px !important;\n width: 16px !important;\n border: 0px !important;\n}\n#sbz92 .notif_bg {\n z-index: 0 !important;\n position: absolute !important;\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n}\n#sbz92 .notif_time {\n position: absolute !important;\n bottom: 15px !important;\n left: 20px !important;\n font-size: 12px !important;\n opacity: 0.5 !important;\n}\n#sbz92 .notif_title {\n white-space: nowrap !important;\n flex-shrink: 0 !important;\n text-overflow: ellipsis !important;\n overflow: hidden !important;\n}\n#sbz92 .notif_message {\n text-overflow: ellipsis !important;\n margin-top: 5px !important;\n overflow: hidden !important;\n}\ndiv#sbz92 {\n all: initial;\n}\nbody div#sbz92 {\n all: initial !important;\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@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n#sbz92 .fadeOut {\n animation-name: fadeOut;\n animation-duration: 150ms;\n}\n@keyframes fadeInDownCenter {\n from {\n opacity: 0;\n transform: translate3d(0, -2000px, 0) translateX(-50%);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0) translateX(-50%);\n }\n}\n#sbz92 .fadeInDownCenter {\n animation-name: fadeInDownCenter;\n animation-duration: 0.25s;\n}\n@keyframes fadeInUpCenter {\n from {\n opacity: 0;\n transform: translate3d(0, 400px, 0) translateX(-50%);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0) translateX(-50%);\n }\n}\n#sbz92 .fadeInUpCenter {\n animation-name: fadeInUpCenter;\n animation-duration: 0.25s;\n}\n@keyframes fadeInDown {\n from {\n opacity: 0;\n transform: translate3d(0, -1000px, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n#sbz92 .fadeInDown {\n animation-name: fadeInDown;\n animation-duration: 0.5s;\n}\n@keyframes fadeInUpBig {\n from {\n opacity: 0;\n transform: translate3d(0, 400px, 0);\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n }\n}\n#sbz92 .fadeInUpBig {\n animation-name: fadeInUpBig;\n animation-duration: 0.25s;\n}\n@keyframes fadeInRightBig {\n from {\n opacity: 0;\n transform: translateY(-50%) translateX(200px);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) translateX(0px);\n }\n}\n#sbz92 .fadeInRightBig {\n animation-name: fadeInRightBig;\n animation-duration: 0.5s;\n}\n@keyframes fadeInLeftBig {\n from {\n opacity: 0;\n transform: translateY(-50%) translateX(-200px);\n }\n to {\n opacity: 1;\n transform: translateY(-50%) translateX(0px);\n }\n}\n#sbz92 .fadeInLeftBig {\n animation-name: fadeInLeftBig;\n animation-duration: 0.5s;\n}\n@keyframes zoomIn {\n from {\n opacity: 0.3;\n transform: scale3d(0.5, 0.5, 0.5);\n }\n 50% {\n opacity: 1;\n }\n}\n#sbz92 .zoomIn {\n animation-name: zoomIn;\n transform-origin: top left;\n animation-duration: 0.15s;\n}\n@keyframes zoomOutCenter {\n from {\n opacity: 1;\n }\n 80% {\n opacity: 0.7;\n transform: scale3d(0.5, 0.5, 0.5) translateY(-50%) translateX(-50%);\n }\n}\n#sbz92 .zoomOutCenter {\n animation-name: zoomOutCenter;\n transform-origin: top left;\n animation-duration: 300ms;\n}\n@keyframes zoomInCenter {\n from {\n opacity: 0.3;\n transform: scale3d(0.5, 0.5, 0.5) translateY(-50%) translateX(-50%);\n }\n 50% {\n opacity: 1;\n }\n}\n#sbz92 .zoomInCenter {\n animation-name: zoomInCenter;\n transform-origin: top left;\n animation-duration: 0.15s;\n}\n@keyframes zoomDownYX {\n 0% {\n transform: scaleY(1);\n }\n 50% {\n transform: scaleY(0.01) scaleZ(1);\n }\n 100% {\n transform: scaleY(0.01) scaleX(0) scaleZ(0);\n }\n}\n#sbz92 .zoomDownYX {\n animation-duration: 0.5s;\n animation-name: zoomDownYX;\n}\n@keyframes zoomUpYX {\n 0% {\n transform: scaleY(0.01) scaleX(0) scaleZ(0);\n }\n 50% {\n transform: scaleY(0.01) scaleZ(1);\n }\n 100% {\n transform: scaleY(1);\n }\n}\n#sbz92 .zoomUpYX {\n animation-duration: 0.5s;\n animation-name: zoomUpYX;\n}\n@keyframes bounceIn {\n from,\n 20%,\n 40%,\n 60%,\n 80%,\n to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 20% {\n transform: scale3d(1.1, 1.1, 1.1);\n }\n 40% {\n transform: scale3d(0.9, 0.9, 0.9);\n }\n 60% {\n opacity: 1;\n transform: scale3d(1.03, 1.03, 1.03);\n }\n 80% {\n transform: scale3d(0.97, 0.97, 0.97);\n }\n to {\n opacity: 1;\n transform: scale3d(1, 1, 1);\n }\n}\n#sbz92 .bounceIn {\n animation-duration: 0.5s;\n animation-name: bounceIn;\n}\n@keyframes shake {\n 0% {\n transform: skewX(-15deg);\n }\n 5% {\n transform: skewX(15deg);\n }\n 10% {\n transform: skewX(-15deg);\n }\n 15% {\n transform: skewX(15deg);\n }\n 20% {\n transform: skewX(0deg);\n }\n 100% {\n transform: skewX(0deg);\n }\n}\n#sbz92 .notif {\n cursor: pointer;\n font-family: roboto;\n font-size: 14px;\n position: absolute;\n user-select: none;\n}\n#sbz92 .notif__bottom-left {\n bottom: 20px;\n left: 20px;\n}\n#sbz92 .notif__top-left {\n top: 20px;\n left: 20px;\n}\n#sbz92 .notif__top-right {\n top: 20px;\n right: 40px;\n}\n#sbz92 .notif__bottom-right {\n bottom: 20px;\n right: 40px;\n}\n#sbz92 .notif__bottom-center {\n transform: translateX(-50%);\n left: 50%;\n bottom: 20px;\n}\n#sbz92 .notif__top-center {\n transform: translateX(-50%);\n left: 50%;\n top: 20px;\n}\n#sbz92 .notif_avatar {\n margin-left: 15px;\n margin-top: 10px;\n margin-bottom: 10px;\n overflow: hidden;\n width: 70px;\n height: 70px;\n z-index: 1;\n}\n#sbz92 .notif_avatar__img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n#sbz92 .notif_body {\n z-index: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n padding-top: 10px;\n padding-left: 20px;\n padding-bottom: 30px;\n padding-right: 30px;\n width: 235px;\n height: 100px;\n overflow: hidden;\n}\n#sbz92 .btn_close {\n background: white;\n padding: 0;\n right: -25px;\n top: 0px;\n position: absolute;\n z-index: 10;\n cursor: pointer;\n transition: background-color 0.2s ease-out;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.5) 0px 0px 0px 1px inset;\n border: none;\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n opacity: 0.7;\n}\n#sbz92 .btn_close:hover {\n opacity: 1;\n}\n#sbz92 .btn_close__icon {\n stroke: #444;\n height: 16px;\n width: 16px;\n border: 0px;\n}\n#sbz92 .notif_bg {\n z-index: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n#sbz92 .notif_time {\n position: absolute;\n bottom: 15px;\n left: 20px;\n font-size: 12px;\n opacity: 0.5;\n}\n#sbz92 .notif_title {\n white-space: nowrap;\n flex-shrink: 0;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n#sbz92 .notif_message {\n text-overflow: ellipsis;\n margin-top: 5px;\n overflow: hidden;\n}\n", ""]);
29
+ // Exports
30
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
31
+
32
+
33
+ /***/ }),
34
+
35
+ /***/ 3645:
36
+ /***/ ((module) => {
37
+
38
+
39
+
40
+ /*
41
+ MIT License http://www.opensource.org/licenses/mit-license.php
42
+ Author Tobias Koppers @sokra
43
+ */
44
+ // css base code, injected by the css-loader
45
+ // eslint-disable-next-line func-names
46
+ module.exports = function (cssWithMappingToString) {
47
+ var list = []; // return the list of modules as css string
48
+
49
+ list.toString = function toString() {
50
+ return this.map(function (item) {
51
+ var content = cssWithMappingToString(item);
52
+
53
+ if (item[2]) {
54
+ return "@media ".concat(item[2], " {").concat(content, "}");
55
+ }
56
+
57
+ return content;
58
+ }).join("");
59
+ }; // import a list of modules into the list
60
+ // eslint-disable-next-line func-names
61
+
62
+
63
+ list.i = function (modules, mediaQuery, dedupe) {
64
+ if (typeof modules === "string") {
65
+ // eslint-disable-next-line no-param-reassign
66
+ modules = [[null, modules, ""]];
67
+ }
68
+
69
+ var alreadyImportedModules = {};
70
+
71
+ if (dedupe) {
72
+ for (var i = 0; i < this.length; i++) {
73
+ // eslint-disable-next-line prefer-destructuring
74
+ var id = this[i][0];
75
+
76
+ if (id != null) {
77
+ alreadyImportedModules[id] = true;
78
+ }
79
+ }
80
+ }
81
+
82
+ for (var _i = 0; _i < modules.length; _i++) {
83
+ var item = [].concat(modules[_i]);
84
+
85
+ if (dedupe && alreadyImportedModules[item[0]]) {
86
+ // eslint-disable-next-line no-continue
87
+ continue;
88
+ }
89
+
90
+ if (mediaQuery) {
91
+ if (!item[2]) {
92
+ item[2] = mediaQuery;
93
+ } else {
94
+ item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
95
+ }
96
+ }
97
+
98
+ list.push(item);
99
+ }
100
+ };
101
+
102
+ return list;
103
+ };
104
+
105
+ /***/ })
106
+
107
+ }]);