@inappstory/js-sdk 3.11.0 → 3.13.0
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.
- package/dist/index.esm.mjs +292 -281
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/in-app-messaging/inAppMessaging.d.ts +35 -6
- package/dist/types/inAppStoryManager.d.ts +15 -0
- package/package.json +4 -4
- package/plugins/banners/index.esm.mjs +1 -1
- package/plugins/dotLottie/iasDotLottiePlugin.umd.js +1 -1
package/dist/index.esm.mjs
CHANGED
|
@@ -9,30 +9,41 @@ import { createPortal as __WEBPACK_EXTERNAL_MODULE_react_dom_7dac9eee_createPort
|
|
|
9
9
|
(module, __webpack_exports__, __webpack_require__) {
|
|
10
10
|
|
|
11
11
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12
|
-
/* harmony export */
|
|
12
|
+
/* harmony export */ Ay: () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
13
|
+
/* harmony export */ DD: () => (/* binding */ title),
|
|
14
|
+
/* harmony export */ J3: () => (/* binding */ _2),
|
|
15
|
+
/* harmony export */ Qs: () => (/* binding */ content),
|
|
16
|
+
/* harmony export */ _3: () => (/* binding */ _3),
|
|
17
|
+
/* harmony export */ _I: () => (/* binding */ _1),
|
|
18
|
+
/* harmony export */ kL: () => (/* binding */ container),
|
|
19
|
+
/* harmony export */ od: () => (/* binding */ _4),
|
|
20
|
+
/* harmony export */ qr: () => (/* binding */ footer),
|
|
21
|
+
/* harmony export */ wx: () => (/* binding */ header)
|
|
13
22
|
/* harmony export */ });
|
|
14
|
-
/* harmony import */ var
|
|
15
|
-
/* harmony import */ var
|
|
23
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
24
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16
25
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(935);
|
|
17
26
|
/* 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__);
|
|
18
27
|
// Imports
|
|
19
28
|
|
|
20
29
|
|
|
21
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((
|
|
30
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
22
31
|
// Module
|
|
23
|
-
___CSS_LOADER_EXPORT___.push([module.id,
|
|
32
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.favorite-story-list-modal--g31Dc{position:fixed;inset:0px;z-index:1090}.favorite-story-list-modal--g31Dc .container--PHhA9{width:100%;height:100%;background:var(--storiesFavoriteBackgroundColor, #333333);display:flex;flex-direction:column;position:relative;overflow-y:auto}.favorite-story-list-modal--g31Dc .header--Cf1sE{display:flex;align-content:center;justify-content:center;align-items:center;flex-shrink:0;position:-webkit-sticky;position:sticky;top:0;z-index:100;background:var(--storiesFavoriteTitleBackgroundColor, #333333);box-shadow:0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.2)}.favorite-story-list-modal--g31Dc .header--Cf1sE .title--_uNND{margin-top:1rem;margin-bottom:1rem;font-size:1.2em}@media(min-width: 640px){.favorite-story-list-modal--g31Dc .header--Cf1sE .title--_uNND{margin-top:25px;margin-bottom:25px}}.favorite-story-list-modal--g31Dc .header--Cf1sE .title--_uNND{color:var(--storiesFavoriteTitleColor, white);font-family:var(--storiesFavoriteTitleFontFamily);font-weight:normal;font-size:1.4rem;line-height:normal;font:var(--storiesFavoriteTitleFont, normal)}.favorite-story-list-modal--g31Dc .header--Cf1sE{padding-top:var(--storiesFavoriteHeaderTopOffset, 0px);margin-bottom:25px}@media(min-width: 640px){.favorite-story-list-modal--g31Dc .header--Cf1sE{margin-bottom:50px}}.favorite-story-list-modal--g31Dc .header__close-btn--oQBvj{border:0;padding:0;background:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%);z-index:1140;pointer-events:all;cursor:pointer;outline:none;right:10px}.favorite-story-list-modal--g31Dc .header__close-btn--oQBvj:focus{outline:none}.favorite-story-list-modal--g31Dc .header__close-btn--oQBvj{width:30px;height:30px;display:flex;justify-content:center;align-items:center}.favorite-story-list-modal--g31Dc .header__close-btn--oQBvj svg{overflow:visible}.favorite-story-list-modal--g31Dc .footer--l0K7p{width:100%;height:25px}@media(min-width: 640px){.favorite-story-list-modal--g31Dc .footer--l0K7p{height:50px}}.favorite-story-list-modal--g31Dc .bottom-offset--sdvZB{position:-webkit-sticky;position:sticky;z-index:100;background:inherit;bottom:0;width:100%;height:var(--storiesFavoriteBottomOffset, 0px)}.favorite-story-list-modal--g31Dc .content--jBl3X{display:flex;justify-content:center;width:100%;padding:0 25px 25px;box-sizing:border-box}.favorite-story-list-modal--g31Dc .content--jBl3X .favorite-story-list--VK1Sc{width:100%}@media(min-width: 640px){.favorite-story-list-modal--g31Dc .content--jBl3X .favorite-story-list--VK1Sc{max-width:640px}}@media(min-width: 768px){.favorite-story-list-modal--g31Dc .content--jBl3X .favorite-story-list--VK1Sc{max-width:768px}}@media(min-width: 1024px){.favorite-story-list-modal--g31Dc .content--jBl3X .favorite-story-list--VK1Sc{max-width:1024px}}@media(min-width: 1280px){.favorite-story-list-modal--g31Dc .content--jBl3X .favorite-story-list--VK1Sc{max-width:1280px}}`, "",{"version":3,"sources":["webpack://./src/appRuntime/FavoriteStoryListModal/favoriteStoryListModal.module.scss"],"names":[],"mappings":"AAAA,kCACI,cAAA,CACA,SAAA,CACA,YAAA,CAEA,oDACI,UAAA,CACA,WAAA,CACA,yDAAA,CACA,YAAA,CACA,qBAAA,CACA,iBAAA,CACA,eAAA,CAGJ,iDACI,YAAA,CACA,oBAAA,CACA,sBAAA,CACA,kBAAA,CACA,aAAA,CACA,uBAAA,CACA,eAAA,CACA,KAAA,CACA,WAAA,CACA,8DAAA,CACA,gGAAA,CAEA,+DAEQ,eAAA,CACA,kBAAA,CAIJ,eAAA,CAEA,yBATJ,+DAWY,eAAA,CACA,kBAAA,CAAA,CAZZ,+DAkBI,6CAAA,CACA,iDAAA,CACA,kBAAA,CACA,gBAAA,CACA,kBAAA,CACA,4CAAA,CApCR,iDAuCI,sDAAA,CACA,kBAAA,CAEA,yBA1CJ,iDA2CQ,kBAAA,CAAA,CAIR,4DACI,QAAA,CACA,SAAA,CACA,wBAAA,CACA,iBAAA,CACA,OAAA,CACA,0BAAA,CACA,YAAA,CACA,kBAAA,CACA,cAAA,CACA,YAAA,CACA,UAAA,CAEA,kEACI,YAAA,CAdR,4DAiBI,UAAA,CACA,WAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CAEA,gEACI,gBAAA,CAIR,iDACI,UAAA,CACA,WAAA,CAEA,yBAJJ,iDAKQ,WAAA,CAAA,CAIR,wDACI,uBAAA,CACA,eAAA,CACA,WAAA,CACA,kBAAA,CACA,QAAA,CACA,UAAA,CACA,8CAAA,CAIJ,kDACI,YAAA,CACA,sBAAA,CACA,UAAA,CACA,mBAAA,CACA,qBAAA,CAEA,8EACI,UAAA,CAEA,yBAHJ,8EAIQ,eAAA,CAAA,CAGJ,yBAPJ,8EAQQ,eAAA,CAAA,CAGJ,0BAXJ,8EAYQ,gBAAA,CAAA,CAGJ,0BAfJ,8EAgBQ,gBAAA,CAAA","sourcesContent":[".favorite-story-list-modal {\n position: fixed;\n inset: 0px;\n z-index: 1090;\n\n .container {\n width: 100%;\n height: 100%;\n background: var(--storiesFavoriteBackgroundColor, #333333);\n display: flex;\n flex-direction: column;\n position: relative;\n overflow-y: auto;\n }\n\n .header {\n display: flex;\n align-content: center;\n justify-content: center;\n align-items: center;\n flex-shrink: 0;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 100;\n background: var(--storiesFavoriteTitleBackgroundColor, #333333);\n box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12), 0 1px 3px 0 rgba(0, 0, 0, .2);\n\n .title {\n margin: {\n top: 1rem;\n bottom: 1rem;\n }\n\n ;\n font-size: 1.2em;\n\n @media (min-width: 640px) {\n margin: {\n top: 25px;\n bottom: 25px;\n }\n\n ;\n }\n\n color: var(--storiesFavoriteTitleColor, white);\n font-family: var(--storiesFavoriteTitleFontFamily);\n font-weight: normal;\n font-size: 1.4rem;\n line-height: normal;\n font: var(--storiesFavoriteTitleFont, normal);\n }\n\n padding-top: var(--storiesFavoriteHeaderTopOffset, 0px);\n margin-bottom: 25px;\n\n @media (min-width: 640px) {\n margin-bottom: 50px;\n }\n }\n\n .header__close-btn {\n border: 0;\n padding: 0;\n background: transparent;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1140;\n pointer-events: all;\n cursor: pointer;\n outline: none;\n right: 10px;\n\n &:focus {\n outline: none;\n }\n\n width: 30px;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n svg {\n overflow: visible;\n }\n }\n\n .footer {\n width: 100%;\n height: 25px;\n\n @media (min-width: 640px) {\n height: 50px;\n }\n }\n\n .bottom-offset {\n position: -webkit-sticky;\n position: sticky;\n z-index: 100;\n background: inherit;\n bottom: 0;\n width: 100%;\n height: var(--storiesFavoriteBottomOffset, 0px);\n }\n\n\n .content {\n display: flex;\n justify-content: center;\n width: 100%;\n padding: 0 25px 25px;\n box-sizing: border-box;\n\n .favorite-story-list {\n width: 100%;\n\n @media (min-width: 640px) {\n max-width: 640px;\n }\n\n @media (min-width: 768px) {\n max-width: 768px;\n }\n\n @media (min-width: 1024px) {\n max-width: 1024px;\n }\n\n @media (min-width: 1280px) {\n max-width: 1280px;\n }\n }\n }\n}"],"sourceRoot":""}]);
|
|
24
33
|
// Exports
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
var _1 = `favorite-story-list-modal--g31Dc`;
|
|
35
|
+
|
|
36
|
+
var container = `container--PHhA9`;
|
|
37
|
+
var header = `header--Cf1sE`;
|
|
38
|
+
var title = `title--_uNND`;
|
|
39
|
+
var _2 = `header__close-btn--oQBvj`;
|
|
40
|
+
|
|
41
|
+
var footer = `footer--l0K7p`;
|
|
42
|
+
var _3 = `bottom-offset--sdvZB`;
|
|
43
|
+
|
|
44
|
+
var content = `content--jBl3X`;
|
|
45
|
+
var _4 = `favorite-story-list--VK1Sc`;
|
|
46
|
+
|
|
36
47
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
37
48
|
|
|
38
49
|
|
|
@@ -47,106 +58,105 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
47
58
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
48
59
|
Author Tobias Koppers @sokra
|
|
49
60
|
*/
|
|
50
|
-
// css base code, injected by the css-loader
|
|
51
|
-
// eslint-disable-next-line func-names
|
|
52
61
|
module.exports = function (cssWithMappingToString) {
|
|
53
|
-
var list = [];
|
|
62
|
+
var list = [];
|
|
54
63
|
|
|
64
|
+
// return the list of modules as css string
|
|
55
65
|
list.toString = function toString() {
|
|
56
66
|
return this.map(function (item) {
|
|
57
|
-
var content =
|
|
58
|
-
|
|
67
|
+
var content = "";
|
|
68
|
+
var needLayer = typeof item[5] !== "undefined";
|
|
69
|
+
if (item[4]) {
|
|
70
|
+
content += "@supports (".concat(item[4], ") {");
|
|
71
|
+
}
|
|
59
72
|
if (item[2]) {
|
|
60
|
-
|
|
73
|
+
content += "@media ".concat(item[2], " {");
|
|
74
|
+
}
|
|
75
|
+
if (needLayer) {
|
|
76
|
+
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
77
|
+
}
|
|
78
|
+
content += cssWithMappingToString(item);
|
|
79
|
+
if (needLayer) {
|
|
80
|
+
content += "}";
|
|
81
|
+
}
|
|
82
|
+
if (item[2]) {
|
|
83
|
+
content += "}";
|
|
84
|
+
}
|
|
85
|
+
if (item[4]) {
|
|
86
|
+
content += "}";
|
|
61
87
|
}
|
|
62
|
-
|
|
63
88
|
return content;
|
|
64
89
|
}).join("");
|
|
65
|
-
};
|
|
66
|
-
// eslint-disable-next-line func-names
|
|
67
|
-
|
|
90
|
+
};
|
|
68
91
|
|
|
69
|
-
list
|
|
92
|
+
// import a list of modules into the list
|
|
93
|
+
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
70
94
|
if (typeof modules === "string") {
|
|
71
|
-
|
|
72
|
-
modules = [[null, modules, ""]];
|
|
95
|
+
modules = [[null, modules, undefined]];
|
|
73
96
|
}
|
|
74
|
-
|
|
75
97
|
var alreadyImportedModules = {};
|
|
76
|
-
|
|
77
98
|
if (dedupe) {
|
|
78
|
-
for (var
|
|
79
|
-
|
|
80
|
-
var id = this[i][0];
|
|
81
|
-
|
|
99
|
+
for (var k = 0; k < this.length; k++) {
|
|
100
|
+
var id = this[k][0];
|
|
82
101
|
if (id != null) {
|
|
83
102
|
alreadyImportedModules[id] = true;
|
|
84
103
|
}
|
|
85
104
|
}
|
|
86
105
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
var item = [].concat(modules[_i]);
|
|
90
|
-
|
|
106
|
+
for (var _k = 0; _k < modules.length; _k++) {
|
|
107
|
+
var item = [].concat(modules[_k]);
|
|
91
108
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
92
|
-
// eslint-disable-next-line no-continue
|
|
93
109
|
continue;
|
|
94
110
|
}
|
|
95
|
-
|
|
96
|
-
|
|
111
|
+
if (typeof layer !== "undefined") {
|
|
112
|
+
if (typeof item[5] === "undefined") {
|
|
113
|
+
item[5] = layer;
|
|
114
|
+
} else {
|
|
115
|
+
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
116
|
+
item[5] = layer;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
if (media) {
|
|
97
120
|
if (!item[2]) {
|
|
98
|
-
item[2] =
|
|
121
|
+
item[2] = media;
|
|
99
122
|
} else {
|
|
100
|
-
item[
|
|
123
|
+
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
124
|
+
item[2] = media;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
if (supports) {
|
|
128
|
+
if (!item[4]) {
|
|
129
|
+
item[4] = "".concat(supports);
|
|
130
|
+
} else {
|
|
131
|
+
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
132
|
+
item[4] = supports;
|
|
101
133
|
}
|
|
102
134
|
}
|
|
103
|
-
|
|
104
135
|
list.push(item);
|
|
105
136
|
}
|
|
106
137
|
};
|
|
107
|
-
|
|
108
138
|
return list;
|
|
109
139
|
};
|
|
110
140
|
|
|
111
141
|
/***/ },
|
|
112
142
|
|
|
113
|
-
/***/
|
|
143
|
+
/***/ 1
|
|
114
144
|
(module) {
|
|
115
145
|
|
|
116
146
|
|
|
117
147
|
|
|
118
|
-
function
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
123
|
-
|
|
124
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
125
|
-
|
|
126
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
127
|
-
|
|
128
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
129
|
-
|
|
130
|
-
module.exports = function cssWithMappingToString(item) {
|
|
131
|
-
var _item = _slicedToArray(item, 4),
|
|
132
|
-
content = _item[1],
|
|
133
|
-
cssMapping = _item[3];
|
|
134
|
-
|
|
148
|
+
module.exports = function (item) {
|
|
149
|
+
var content = item[1];
|
|
150
|
+
var cssMapping = item[3];
|
|
135
151
|
if (!cssMapping) {
|
|
136
152
|
return content;
|
|
137
153
|
}
|
|
138
|
-
|
|
139
154
|
if (typeof btoa === "function") {
|
|
140
|
-
// eslint-disable-next-line no-undef
|
|
141
155
|
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
142
156
|
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
143
157
|
var sourceMapping = "/*# ".concat(data, " */");
|
|
144
|
-
|
|
145
|
-
return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
|
|
146
|
-
});
|
|
147
|
-
return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
|
|
158
|
+
return [content].concat([sourceMapping]).join("\n");
|
|
148
159
|
}
|
|
149
|
-
|
|
150
160
|
return [content].join("\n");
|
|
151
161
|
};
|
|
152
162
|
|
|
@@ -896,277 +906,251 @@ module.exports = isObject;
|
|
|
896
906
|
/***/ },
|
|
897
907
|
|
|
898
908
|
/***/ 591
|
|
899
|
-
(module
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
var isOldIE = function isOldIE() {
|
|
904
|
-
var memo;
|
|
905
|
-
return function memorize() {
|
|
906
|
-
if (typeof memo === 'undefined') {
|
|
907
|
-
// Test for IE <= 9 as proposed by Browserhacks
|
|
908
|
-
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
909
|
-
// Tests for existence of standard globals is to allow style-loader
|
|
910
|
-
// to operate correctly into non-standard environments
|
|
911
|
-
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
912
|
-
memo = Boolean(window && document && document.all && !window.atob);
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
return memo;
|
|
916
|
-
};
|
|
917
|
-
}();
|
|
918
|
-
|
|
919
|
-
var getTarget = function getTarget() {
|
|
920
|
-
var memo = {};
|
|
921
|
-
return function memorize(target) {
|
|
922
|
-
if (typeof memo[target] === 'undefined') {
|
|
923
|
-
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
924
|
-
|
|
925
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
926
|
-
try {
|
|
927
|
-
// This will throw an exception if access to iframe is blocked
|
|
928
|
-
// due to cross-origin restrictions
|
|
929
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
930
|
-
} catch (e) {
|
|
931
|
-
// istanbul ignore next
|
|
932
|
-
styleTarget = null;
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
memo[target] = styleTarget;
|
|
937
|
-
}
|
|
909
|
+
(module) {
|
|
938
910
|
|
|
939
|
-
return memo[target];
|
|
940
|
-
};
|
|
941
|
-
}();
|
|
942
911
|
|
|
943
|
-
var stylesInDom = [];
|
|
944
912
|
|
|
913
|
+
var stylesInDOM = [];
|
|
945
914
|
function getIndexByIdentifier(identifier) {
|
|
946
915
|
var result = -1;
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
if (stylesInDom[i].identifier === identifier) {
|
|
916
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
917
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
950
918
|
result = i;
|
|
951
919
|
break;
|
|
952
920
|
}
|
|
953
921
|
}
|
|
954
|
-
|
|
955
922
|
return result;
|
|
956
923
|
}
|
|
957
|
-
|
|
958
924
|
function modulesToDom(list, options) {
|
|
959
925
|
var idCountMap = {};
|
|
960
926
|
var identifiers = [];
|
|
961
|
-
|
|
962
927
|
for (var i = 0; i < list.length; i++) {
|
|
963
928
|
var item = list[i];
|
|
964
929
|
var id = options.base ? item[0] + options.base : item[0];
|
|
965
930
|
var count = idCountMap[id] || 0;
|
|
966
931
|
var identifier = "".concat(id, " ").concat(count);
|
|
967
932
|
idCountMap[id] = count + 1;
|
|
968
|
-
var
|
|
933
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
969
934
|
var obj = {
|
|
970
935
|
css: item[1],
|
|
971
936
|
media: item[2],
|
|
972
|
-
sourceMap: item[3]
|
|
937
|
+
sourceMap: item[3],
|
|
938
|
+
supports: item[4],
|
|
939
|
+
layer: item[5]
|
|
973
940
|
};
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
stylesInDom[index].updater(obj);
|
|
941
|
+
if (indexByIdentifier !== -1) {
|
|
942
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
943
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
978
944
|
} else {
|
|
979
|
-
|
|
945
|
+
var updater = addElementStyle(obj, options);
|
|
946
|
+
options.byIndex = i;
|
|
947
|
+
stylesInDOM.splice(i, 0, {
|
|
980
948
|
identifier: identifier,
|
|
981
|
-
updater:
|
|
949
|
+
updater: updater,
|
|
982
950
|
references: 1
|
|
983
951
|
});
|
|
984
952
|
}
|
|
985
|
-
|
|
986
953
|
identifiers.push(identifier);
|
|
987
954
|
}
|
|
988
|
-
|
|
989
955
|
return identifiers;
|
|
990
956
|
}
|
|
957
|
+
function addElementStyle(obj, options) {
|
|
958
|
+
var api = options.domAPI(options);
|
|
959
|
+
api.update(obj);
|
|
960
|
+
var updater = function updater(newObj) {
|
|
961
|
+
if (newObj) {
|
|
962
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
963
|
+
return;
|
|
964
|
+
}
|
|
965
|
+
api.update(obj = newObj);
|
|
966
|
+
} else {
|
|
967
|
+
api.remove();
|
|
968
|
+
}
|
|
969
|
+
};
|
|
970
|
+
return updater;
|
|
971
|
+
}
|
|
972
|
+
module.exports = function (list, options) {
|
|
973
|
+
options = options || {};
|
|
974
|
+
list = list || [];
|
|
975
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
976
|
+
return function update(newList) {
|
|
977
|
+
newList = newList || [];
|
|
978
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
979
|
+
var identifier = lastIdentifiers[i];
|
|
980
|
+
var index = getIndexByIdentifier(identifier);
|
|
981
|
+
stylesInDOM[index].references--;
|
|
982
|
+
}
|
|
983
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
984
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
985
|
+
var _identifier = lastIdentifiers[_i];
|
|
986
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
987
|
+
if (stylesInDOM[_index].references === 0) {
|
|
988
|
+
stylesInDOM[_index].updater();
|
|
989
|
+
stylesInDOM.splice(_index, 1);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
lastIdentifiers = newLastIdentifiers;
|
|
993
|
+
};
|
|
994
|
+
};
|
|
991
995
|
|
|
992
|
-
|
|
993
|
-
var style = document.createElement('style');
|
|
994
|
-
var attributes = options.attributes || {};
|
|
996
|
+
/***/ },
|
|
995
997
|
|
|
996
|
-
|
|
997
|
-
|
|
998
|
+
/***/ 128
|
|
999
|
+
(module) {
|
|
998
1000
|
|
|
999
|
-
if (nonce) {
|
|
1000
|
-
attributes.nonce = nonce;
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
1001
|
|
|
1004
|
-
Object.keys(attributes).forEach(function (key) {
|
|
1005
|
-
style.setAttribute(key, attributes[key]);
|
|
1006
|
-
});
|
|
1007
1002
|
|
|
1008
|
-
|
|
1009
|
-
options.insert(style);
|
|
1010
|
-
} else {
|
|
1011
|
-
var target = getTarget(options.insert || 'head');
|
|
1003
|
+
var memo = {};
|
|
1012
1004
|
|
|
1013
|
-
|
|
1014
|
-
|
|
1005
|
+
/* istanbul ignore next */
|
|
1006
|
+
function getTarget(target) {
|
|
1007
|
+
if (typeof memo[target] === "undefined") {
|
|
1008
|
+
var styleTarget = document.querySelector(target);
|
|
1009
|
+
|
|
1010
|
+
// Special case to return head of iframe instead of iframe itself
|
|
1011
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
1012
|
+
try {
|
|
1013
|
+
// This will throw an exception if access to iframe is blocked
|
|
1014
|
+
// due to cross-origin restrictions
|
|
1015
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
1016
|
+
} catch (e) {
|
|
1017
|
+
// istanbul ignore next
|
|
1018
|
+
styleTarget = null;
|
|
1019
|
+
}
|
|
1015
1020
|
}
|
|
1016
|
-
|
|
1017
|
-
target.appendChild(style);
|
|
1021
|
+
memo[target] = styleTarget;
|
|
1018
1022
|
}
|
|
1019
|
-
|
|
1020
|
-
return style;
|
|
1023
|
+
return memo[target];
|
|
1021
1024
|
}
|
|
1022
1025
|
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1026
|
+
/* istanbul ignore next */
|
|
1027
|
+
function insertBySelector(insert, style) {
|
|
1028
|
+
var target = getTarget(insert);
|
|
1029
|
+
if (!target) {
|
|
1030
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
1027
1031
|
}
|
|
1028
|
-
|
|
1029
|
-
style.parentNode.removeChild(style);
|
|
1032
|
+
target.appendChild(style);
|
|
1030
1033
|
}
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
var replaceText = function replaceText() {
|
|
1035
|
-
var textStore = [];
|
|
1036
|
-
return function replace(index, replacement) {
|
|
1037
|
-
textStore[index] = replacement;
|
|
1038
|
-
return textStore.filter(Boolean).join('\n');
|
|
1039
|
-
};
|
|
1040
|
-
}();
|
|
1034
|
+
module.exports = insertBySelector;
|
|
1041
1035
|
|
|
1042
|
-
|
|
1043
|
-
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
1036
|
+
/***/ },
|
|
1044
1037
|
|
|
1045
|
-
|
|
1038
|
+
/***/ 51
|
|
1039
|
+
(module) {
|
|
1046
1040
|
|
|
1047
|
-
if (style.styleSheet) {
|
|
1048
|
-
style.styleSheet.cssText = replaceText(index, css);
|
|
1049
|
-
} else {
|
|
1050
|
-
var cssNode = document.createTextNode(css);
|
|
1051
|
-
var childNodes = style.childNodes;
|
|
1052
1041
|
|
|
1053
|
-
if (childNodes[index]) {
|
|
1054
|
-
style.removeChild(childNodes[index]);
|
|
1055
|
-
}
|
|
1056
1042
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1043
|
+
/* istanbul ignore next */
|
|
1044
|
+
function insertStyleElement(options) {
|
|
1045
|
+
var element = document.createElement("style");
|
|
1046
|
+
options.setAttributes(element, options.attributes);
|
|
1047
|
+
options.insert(element, options.options);
|
|
1048
|
+
return element;
|
|
1063
1049
|
}
|
|
1050
|
+
module.exports = insertStyleElement;
|
|
1064
1051
|
|
|
1065
|
-
|
|
1066
|
-
var css = obj.css;
|
|
1067
|
-
var media = obj.media;
|
|
1068
|
-
var sourceMap = obj.sourceMap;
|
|
1069
|
-
|
|
1070
|
-
if (media) {
|
|
1071
|
-
style.setAttribute('media', media);
|
|
1072
|
-
} else {
|
|
1073
|
-
style.removeAttribute('media');
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
if (sourceMap && typeof btoa !== 'undefined') {
|
|
1077
|
-
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1078
|
-
} // For old IE
|
|
1052
|
+
/***/ },
|
|
1079
1053
|
|
|
1080
|
-
|
|
1054
|
+
/***/ 855
|
|
1055
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
1081
1056
|
|
|
1082
1057
|
|
|
1083
|
-
if (style.styleSheet) {
|
|
1084
|
-
style.styleSheet.cssText = css;
|
|
1085
|
-
} else {
|
|
1086
|
-
while (style.firstChild) {
|
|
1087
|
-
style.removeChild(style.firstChild);
|
|
1088
|
-
}
|
|
1089
1058
|
|
|
1090
|
-
|
|
1059
|
+
/* istanbul ignore next */
|
|
1060
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
1061
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
1062
|
+
if (nonce) {
|
|
1063
|
+
styleElement.setAttribute("nonce", nonce);
|
|
1091
1064
|
}
|
|
1092
1065
|
}
|
|
1066
|
+
module.exports = setAttributesWithoutAttributes;
|
|
1093
1067
|
|
|
1094
|
-
|
|
1095
|
-
var singletonCounter = 0;
|
|
1068
|
+
/***/ },
|
|
1096
1069
|
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
var update;
|
|
1100
|
-
var remove;
|
|
1070
|
+
/***/ 740
|
|
1071
|
+
(module) {
|
|
1101
1072
|
|
|
1102
|
-
if (options.singleton) {
|
|
1103
|
-
var styleIndex = singletonCounter++;
|
|
1104
|
-
style = singleton || (singleton = insertStyleElement(options));
|
|
1105
|
-
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
1106
|
-
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
1107
|
-
} else {
|
|
1108
|
-
style = insertStyleElement(options);
|
|
1109
|
-
update = applyToTag.bind(null, style, options);
|
|
1110
1073
|
|
|
1111
|
-
remove = function remove() {
|
|
1112
|
-
removeStyleElement(style);
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
1074
|
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1075
|
+
/* istanbul ignore next */
|
|
1076
|
+
function apply(styleElement, options, obj) {
|
|
1077
|
+
var css = "";
|
|
1078
|
+
if (obj.supports) {
|
|
1079
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
1080
|
+
}
|
|
1081
|
+
if (obj.media) {
|
|
1082
|
+
css += "@media ".concat(obj.media, " {");
|
|
1083
|
+
}
|
|
1084
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
1085
|
+
if (needLayer) {
|
|
1086
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
1087
|
+
}
|
|
1088
|
+
css += obj.css;
|
|
1089
|
+
if (needLayer) {
|
|
1090
|
+
css += "}";
|
|
1091
|
+
}
|
|
1092
|
+
if (obj.media) {
|
|
1093
|
+
css += "}";
|
|
1094
|
+
}
|
|
1095
|
+
if (obj.supports) {
|
|
1096
|
+
css += "}";
|
|
1097
|
+
}
|
|
1098
|
+
var sourceMap = obj.sourceMap;
|
|
1099
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
1100
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
1101
|
+
}
|
|
1122
1102
|
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1127
|
-
};
|
|
1103
|
+
// For old IE
|
|
1104
|
+
/* istanbul ignore if */
|
|
1105
|
+
options.styleTagTransform(css, styleElement, options.options);
|
|
1128
1106
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
1135
|
-
options.singleton = isOldIE();
|
|
1107
|
+
function removeStyleElement(styleElement) {
|
|
1108
|
+
// istanbul ignore if
|
|
1109
|
+
if (styleElement.parentNode === null) {
|
|
1110
|
+
return false;
|
|
1136
1111
|
}
|
|
1112
|
+
styleElement.parentNode.removeChild(styleElement);
|
|
1113
|
+
}
|
|
1137
1114
|
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1115
|
+
/* istanbul ignore next */
|
|
1116
|
+
function domAPI(options) {
|
|
1117
|
+
if (typeof document === "undefined") {
|
|
1118
|
+
return {
|
|
1119
|
+
update: function update() {},
|
|
1120
|
+
remove: function remove() {}
|
|
1121
|
+
};
|
|
1122
|
+
}
|
|
1123
|
+
var styleElement = options.insertStyleElement(options);
|
|
1124
|
+
return {
|
|
1125
|
+
update: function update(obj) {
|
|
1126
|
+
apply(styleElement, options, obj);
|
|
1127
|
+
},
|
|
1128
|
+
remove: function remove() {
|
|
1129
|
+
removeStyleElement(styleElement);
|
|
1151
1130
|
}
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
module.exports = domAPI;
|
|
1152
1134
|
|
|
1153
|
-
|
|
1135
|
+
/***/ },
|
|
1154
1136
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1137
|
+
/***/ 656
|
|
1138
|
+
(module) {
|
|
1157
1139
|
|
|
1158
|
-
var _index = getIndexByIdentifier(_identifier);
|
|
1159
1140
|
|
|
1160
|
-
if (stylesInDom[_index].references === 0) {
|
|
1161
|
-
stylesInDom[_index].updater();
|
|
1162
1141
|
|
|
1163
|
-
|
|
1164
|
-
|
|
1142
|
+
/* istanbul ignore next */
|
|
1143
|
+
function styleTagTransform(css, styleElement) {
|
|
1144
|
+
if (styleElement.styleSheet) {
|
|
1145
|
+
styleElement.styleSheet.cssText = css;
|
|
1146
|
+
} else {
|
|
1147
|
+
while (styleElement.firstChild) {
|
|
1148
|
+
styleElement.removeChild(styleElement.firstChild);
|
|
1165
1149
|
}
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1150
|
+
styleElement.appendChild(document.createTextNode(css));
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
module.exports = styleTagTransform;
|
|
1170
1154
|
|
|
1171
1155
|
/***/ }
|
|
1172
1156
|
|
|
@@ -1244,7 +1228,6 @@ module.exports = function (list, options) {
|
|
|
1244
1228
|
/******/ })();
|
|
1245
1229
|
/******/
|
|
1246
1230
|
/************************************************************************/
|
|
1247
|
-
var __webpack_exports__ = {};
|
|
1248
1231
|
|
|
1249
1232
|
;// external "@inappstory/react-sdk"
|
|
1250
1233
|
|
|
@@ -1441,22 +1424,50 @@ class UGCStoriesList extends StoriesList {
|
|
|
1441
1424
|
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
1442
1425
|
var injectStylesIntoStyleTag = __webpack_require__(591);
|
|
1443
1426
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
1427
|
+
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/styleDomAPI.js
|
|
1428
|
+
var styleDomAPI = __webpack_require__(740);
|
|
1429
|
+
var styleDomAPI_default = /*#__PURE__*/__webpack_require__.n(styleDomAPI);
|
|
1430
|
+
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/insertBySelector.js
|
|
1431
|
+
var insertBySelector = __webpack_require__(128);
|
|
1432
|
+
var insertBySelector_default = /*#__PURE__*/__webpack_require__.n(insertBySelector);
|
|
1433
|
+
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js
|
|
1434
|
+
var setAttributesWithoutAttributes = __webpack_require__(855);
|
|
1435
|
+
var setAttributesWithoutAttributes_default = /*#__PURE__*/__webpack_require__.n(setAttributesWithoutAttributes);
|
|
1436
|
+
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/insertStyleElement.js
|
|
1437
|
+
var insertStyleElement = __webpack_require__(51);
|
|
1438
|
+
var insertStyleElement_default = /*#__PURE__*/__webpack_require__.n(insertStyleElement);
|
|
1439
|
+
// EXTERNAL MODULE: ../../node_modules/style-loader/dist/runtime/styleTagTransform.js
|
|
1440
|
+
var styleTagTransform = __webpack_require__(656);
|
|
1441
|
+
var styleTagTransform_default = /*#__PURE__*/__webpack_require__.n(styleTagTransform);
|
|
1444
1442
|
// EXTERNAL MODULE: ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/appRuntime/FavoriteStoryListModal/favoriteStoryListModal.module.scss
|
|
1445
1443
|
var favoriteStoryListModal_module = __webpack_require__(432);
|
|
1446
1444
|
;// ./src/appRuntime/FavoriteStoryListModal/favoriteStoryListModal.module.scss
|
|
1447
1445
|
|
|
1448
|
-
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
|
|
1449
1455
|
|
|
1450
1456
|
var options = {};
|
|
1451
1457
|
|
|
1452
|
-
options.
|
|
1453
|
-
options.
|
|
1458
|
+
options.styleTagTransform = (styleTagTransform_default());
|
|
1459
|
+
options.setAttributes = (setAttributesWithoutAttributes_default());
|
|
1460
|
+
options.insert = insertBySelector_default().bind(null, "head");
|
|
1461
|
+
options.domAPI = (styleDomAPI_default());
|
|
1462
|
+
options.insertStyleElement = (insertStyleElement_default());
|
|
1463
|
+
|
|
1464
|
+
var update = injectStylesIntoStyleTag_default()(favoriteStoryListModal_module/* default */.Ay, options);
|
|
1465
|
+
|
|
1454
1466
|
|
|
1455
|
-
var update = injectStylesIntoStyleTag_default()(favoriteStoryListModal_module/* default */.A, options);
|
|
1456
1467
|
|
|
1457
1468
|
|
|
1469
|
+
/* harmony default export */ const FavoriteStoryListModal_favoriteStoryListModal_module = (favoriteStoryListModal_module/* default */.Ay && favoriteStoryListModal_module/* default */.Ay.locals ? favoriteStoryListModal_module/* default */.Ay.locals : undefined);
|
|
1458
1470
|
|
|
1459
|
-
/* harmony default export */ const FavoriteStoryListModal_favoriteStoryListModal_module = (favoriteStoryListModal_module/* default */.A.locals || {});
|
|
1460
1471
|
;// ../core/src/helpers/replaceAll.ts
|
|
1461
1472
|
//Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
|
|
1462
1473
|
function escapeRegExp(val) {
|
|
@@ -1521,14 +1532,14 @@ const FavoriteStoryListModal = ({ open, options, storyListOptions: baseStoryList
|
|
|
1521
1532
|
const position = (isStart && isLtr) || (!isStart && !isLtr) ? "left" : "right";
|
|
1522
1533
|
return { [position]: "10px" };
|
|
1523
1534
|
};
|
|
1524
|
-
return open ? (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className:
|
|
1535
|
+
return open ? (__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className: favoriteStoryListModal_module/* favorite-story-list-modal */._I, style: getStyleRootVars(), children: __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsxs__("div", { className: favoriteStoryListModal_module/* container */.kL, children: [__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsxs__("div", { className: favoriteStoryListModal_module/* header */.wx, children: [__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("p", { className: favoriteStoryListModal_module/* title */.DD, children: options.title.content }), __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("button", { onClick: e => {
|
|
1525
1536
|
e.preventDefault();
|
|
1526
1537
|
e.stopPropagation();
|
|
1527
1538
|
onClose();
|
|
1528
|
-
}, className:
|
|
1539
|
+
}, className: favoriteStoryListModal_module/* header__close-btn */.J3, style: getCloseButtonStyle(), dangerouslySetInnerHTML: { __html: (_b = (_a = options.closeButton) === null || _a === void 0 ? void 0 : _a.svgSrc.baseState) !== null && _b !== void 0 ? _b : "" } })] }), __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className: favoriteStoryListModal_module/* content */.Qs, children: __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className: favoriteStoryListModal_module/* favorite-story-list */.od, children: __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__(__WEBPACK_EXTERNAL_MODULE__inappstory_react_sdk_b7aa7f3b_FavoriteStoryList__, { options: Object.assign(Object.assign(Object.assign({}, baseStoryListOptions), { sidePadding: 0 }), {
|
|
1529
1540
|
direction: __WEBPACK_EXTERNAL_MODULE__inappstory_react_sdk_b7aa7f3b_StoriesListDirection__.COLUMN,
|
|
1530
1541
|
layout: { height: "auto" }
|
|
1531
|
-
}) }) }) }), __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className:
|
|
1542
|
+
}) }) }) }), __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className: favoriteStoryListModal_module/* footer */.qr }), __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__("div", { className: favoriteStoryListModal_module/* bottom-offset */._3 })] }) })) : null;
|
|
1532
1543
|
};
|
|
1533
1544
|
|
|
1534
1545
|
;// external "react-dom"
|
|
@@ -1589,7 +1600,7 @@ const StoryListWrapper = ({ storyList, onStoryCardClick, onFavoriteCardClick })
|
|
|
1589
1600
|
}, [storyList.appearanceManager]);
|
|
1590
1601
|
return __WEBPACK_EXTERNAL_MODULE_react_dom_7dac9eee_createPortal__(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__(__WEBPACK_EXTERNAL_MODULE__inappstory_react_sdk_b7aa7f3b_StoryList__, { ref: storyListApiRef, options: options, hasFavorite: storyList.appearanceManager.commonOptions.hasFavorite, testKey: storyList.testKey, useUgcCard: storyList.useUgcCard, feedSlug: storyList.feedSlug, onLoadStart: () => {
|
|
1591
1602
|
storyList.emit(StoriesListEvents.START_LOADER);
|
|
1592
|
-
}, onLoadEnd: status => {
|
|
1603
|
+
}, onLoadEnd: (status) => {
|
|
1593
1604
|
storyList.emit(StoriesListEvents.END_LOADER, status);
|
|
1594
1605
|
}, onUgcCardClick: () => {
|
|
1595
1606
|
storyList.ugcCardClickHandler();
|
|
@@ -1622,7 +1633,7 @@ const UGCStoryListWrapper = ({ ugcStoryList, onStoryCardClick }) => {
|
|
|
1622
1633
|
}, [ugcStoryList.appearanceManager]);
|
|
1623
1634
|
return __WEBPACK_EXTERNAL_MODULE_react_dom_7dac9eee_createPortal__(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_179142b8_jsx__(__WEBPACK_EXTERNAL_MODULE__inappstory_react_sdk_b7aa7f3b_UGCStoryList__, { ref: storyListApiRef, options: options, filter: ugcStoryList.filter, testKey: ugcStoryList.testKey, useUgcCard: ugcStoryList.useUgcCard, onStoryCardClick: onStoryCardClick, onLoadStart: () => {
|
|
1624
1635
|
ugcStoryList.emit(UGCStoryListWrapper_StoriesListEvents.START_LOADER);
|
|
1625
|
-
}, onLoadEnd: status => {
|
|
1636
|
+
}, onLoadEnd: (status) => {
|
|
1626
1637
|
ugcStoryList.emit(UGCStoryListWrapper_StoriesListEvents.END_LOADER, status);
|
|
1627
1638
|
}, onUgcCardClick: () => {
|
|
1628
1639
|
ugcStoryList.ugcCardClickHandler();
|
|
@@ -2077,11 +2088,11 @@ class StoryManagerAdapter {
|
|
|
2077
2088
|
return StoryManagerAdapter.instance;
|
|
2078
2089
|
}
|
|
2079
2090
|
get sdkVersionName() {
|
|
2080
|
-
const sdkVersionName = "3.
|
|
2091
|
+
const sdkVersionName = "3.13.0";
|
|
2081
2092
|
return sdkVersionName || "0.0.0";
|
|
2082
2093
|
}
|
|
2083
2094
|
get sdkVersionCode() {
|
|
2084
|
-
const sdkVersionCode =
|
|
2095
|
+
const sdkVersionCode = 31300;
|
|
2085
2096
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
2086
2097
|
}
|
|
2087
2098
|
get deviceId() {
|