@capillarytech/blaze-ui 5.1.11 → 5.1.13
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/CapCalendarDatePicker/index.js +1066 -71
- package/CapCalendarDatePicker/index.js.map +1 -1
- package/CapCustomCard/CapCustomCard.d.ts +12 -0
- package/CapCustomCard/CapCustomCard.d.ts.map +1 -0
- package/CapCustomCard/CapCustomCardList.d.ts +5 -0
- package/CapCustomCard/CapCustomCardList.d.ts.map +1 -0
- package/CapCustomCard/README.md +182 -0
- package/CapCustomCard/Status.md +40 -0
- package/CapCustomCard/constants.d.ts +16 -0
- package/CapCustomCard/constants.d.ts.map +1 -0
- package/CapCustomCard/index.d.ts +12 -0
- package/CapCustomCard/index.d.ts.map +1 -0
- package/CapCustomCard/index.js +16419 -1593
- package/CapCustomCard/index.js.map +1 -1
- package/CapCustomCard/messages.d.ts +9 -0
- package/CapCustomCard/messages.d.ts.map +1 -0
- package/CapCustomCard/types.d.ts +37 -0
- package/CapCustomCard/types.d.ts.map +1 -0
- package/CapLink/index.d.ts.map +1 -1
- package/CapLink/index.js +6 -3
- package/CapLink/index.js.map +1 -1
- package/CapLink/types.d.ts +2 -1
- package/CapLink/types.d.ts.map +1 -1
- package/CapMobileDatePicker/index.js +1007 -88
- package/CapMobileDatePicker/index.js.map +1 -1
- package/CapNavigation/index.js +6 -3
- package/CapNavigation/index.js.map +1 -1
- package/CapNotificationDropdown/index.js +6 -3
- package/CapNotificationDropdown/index.js.map +1 -1
- package/CapTimePicker/index.d.ts.map +1 -1
- package/CapTimePicker/index.js.map +1 -1
- package/CapTopBar/index.js +6 -3
- package/CapTopBar/index.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +721 -4
- package/index.js.map +1 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -103,6 +103,59 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
|
|
|
103
103
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
|
|
104
104
|
|
|
105
105
|
|
|
106
|
+
/***/ }),
|
|
107
|
+
|
|
108
|
+
/***/ 235:
|
|
109
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
110
|
+
|
|
111
|
+
"use strict";
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
exports.__esModule = true;
|
|
115
|
+
exports["default"] = void 0;
|
|
116
|
+
var _classnames = _interopRequireDefault(__webpack_require__(46942));
|
|
117
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
118
|
+
var _CapCustomCard = _interopRequireDefault(__webpack_require__(82739));
|
|
119
|
+
var _styles = _interopRequireDefault(__webpack_require__(97534));
|
|
120
|
+
var _jsxRuntime = __webpack_require__(74848);
|
|
121
|
+
const _excluded = ["dataBelowCard", "cardType", "cardTop"];
|
|
122
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
123
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
124
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
125
|
+
const clsPrefix = 'cap-custom-card-list';
|
|
126
|
+
const CapCustomCardList = _ref => {
|
|
127
|
+
let {
|
|
128
|
+
className,
|
|
129
|
+
cardList,
|
|
130
|
+
type,
|
|
131
|
+
fbType
|
|
132
|
+
} = _ref;
|
|
133
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
134
|
+
className: (0, _classnames.default)(_styles.default[clsPrefix], type, className),
|
|
135
|
+
children: cardList && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
136
|
+
className: (0, _classnames.default)(_styles.default[clsPrefix + "-row"]),
|
|
137
|
+
children: cardList.map((data, i) => {
|
|
138
|
+
const {
|
|
139
|
+
dataBelowCard,
|
|
140
|
+
cardType,
|
|
141
|
+
cardTop
|
|
142
|
+
} = data,
|
|
143
|
+
rest = _objectWithoutPropertiesLoose(data, _excluded);
|
|
144
|
+
const key = data.key || i;
|
|
145
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
146
|
+
className: (0, _classnames.default)(_styles.default[clsPrefix + "-col"]),
|
|
147
|
+
children: [cardTop && cardTop, /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapCustomCard.default, _extends({
|
|
148
|
+
type: cardType || type,
|
|
149
|
+
cardTop: cardTop,
|
|
150
|
+
fbType: fbType
|
|
151
|
+
}, rest), key), dataBelowCard && dataBelowCard]
|
|
152
|
+
}, key);
|
|
153
|
+
})
|
|
154
|
+
})
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
var _default = exports["default"] = CapCustomCardList;
|
|
158
|
+
|
|
106
159
|
/***/ }),
|
|
107
160
|
|
|
108
161
|
/***/ 386:
|
|
@@ -9899,6 +9952,32 @@ var _default = exports["default"] = CapHeadingWithStatic;
|
|
|
9899
9952
|
|
|
9900
9953
|
/***/ }),
|
|
9901
9954
|
|
|
9955
|
+
/***/ 7341:
|
|
9956
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
9957
|
+
|
|
9958
|
+
"use strict";
|
|
9959
|
+
|
|
9960
|
+
|
|
9961
|
+
exports.__esModule = true;
|
|
9962
|
+
exports.channels = exports.BIG_PICTURE = void 0;
|
|
9963
|
+
const channels = exports.channels = {
|
|
9964
|
+
sms: 'SMS',
|
|
9965
|
+
email: 'EMAIL',
|
|
9966
|
+
mpush: 'MOBILEPUSH',
|
|
9967
|
+
call_task: 'CALL_TASK',
|
|
9968
|
+
wechat: 'WECHAT',
|
|
9969
|
+
facebook: 'FACEBOOK',
|
|
9970
|
+
line: 'LINE',
|
|
9971
|
+
viber: 'VIBER',
|
|
9972
|
+
whatsapp: 'WHATSAPP',
|
|
9973
|
+
rcs: 'RCS',
|
|
9974
|
+
zalo: 'ZALO',
|
|
9975
|
+
inapp: 'INAPP'
|
|
9976
|
+
};
|
|
9977
|
+
const BIG_PICTURE = exports.BIG_PICTURE = 'BIG_PICTURE';
|
|
9978
|
+
|
|
9979
|
+
/***/ }),
|
|
9980
|
+
|
|
9902
9981
|
/***/ 7393:
|
|
9903
9982
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
9904
9983
|
|
|
@@ -17507,6 +17586,25 @@ module.exports = require("dayjs/plugin/weekYear");
|
|
|
17507
17586
|
|
|
17508
17587
|
/***/ }),
|
|
17509
17588
|
|
|
17589
|
+
/***/ 16498:
|
|
17590
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17591
|
+
|
|
17592
|
+
"use strict";
|
|
17593
|
+
|
|
17594
|
+
|
|
17595
|
+
exports.__esModule = true;
|
|
17596
|
+
exports.scope = exports["default"] = void 0;
|
|
17597
|
+
var _reactIntl = __webpack_require__(46407);
|
|
17598
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapCustomCard';
|
|
17599
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
17600
|
+
appName: {
|
|
17601
|
+
id: scope + ".appName",
|
|
17602
|
+
defaultMessage: 'App name'
|
|
17603
|
+
}
|
|
17604
|
+
});
|
|
17605
|
+
|
|
17606
|
+
/***/ }),
|
|
17607
|
+
|
|
17510
17608
|
/***/ 16805:
|
|
17511
17609
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17512
17610
|
|
|
@@ -17734,6 +17832,51 @@ function basePropertyDeep(path) {
|
|
|
17734
17832
|
module.exports = basePropertyDeep;
|
|
17735
17833
|
|
|
17736
17834
|
|
|
17835
|
+
/***/ }),
|
|
17836
|
+
|
|
17837
|
+
/***/ 17355:
|
|
17838
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17839
|
+
|
|
17840
|
+
// Imports
|
|
17841
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
17842
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
17843
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
17844
|
+
// Module
|
|
17845
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-custom-card{border-radius:4px;display:inline-block}.cap-custom-card.remove-border-radius{border-radius:unset}.cap-custom-card.ant-card .ant-card-head{border-bottom:none}.cap-custom-card.ant-card .ant-card-extra{padding:0;line-height:16px}.cap-custom-card.ant-card .ant-card-head-title{font-size:1rem;margin-right:.571rem}.cap-custom-card.ant-card .ant-card-actions{display:flex;align-items:center;background-color:#fff;padding:0 1.714rem;min-height:49px}.cap-custom-card.ant-card .ant-card-actions li{margin:.285rem 0;border-right:none;float:none}.cap-custom-card.ant-card .ant-card-actions>li>span{display:block}.cap-custom-card.ant-card .ant-card-actions>li>span>.anticon{font-size:1.714rem}.cap-custom-card.ant-card .ant-card-actions>li>span:hover{color:inherit}.cap-custom-card.ant-card .ant-card-meta-description{font-size:.857rem;color:#5e6c84}.cap-custom-card.ant-card .hover-content{display:none}.cap-custom-card.ant-card.has-hover-option:hover .ant-card-meta{opacity:.2}.cap-custom-card.ant-card.has-hover-option:hover .hover-content{display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -40%)}.cap-custom-card.ant-card.SMS .ant-card-body{padding-bottom:0;padding-top:.285rem;height:129px;display:block;display:-webkit-box;-webkit-line-clamp:7;overflow:hidden;text-overflow:ellipsis;/*! autoprefixer: off */-webkit-box-orient:vertical}.cap-custom-card.ant-card.CALL_TASK .ant-card-body{padding-bottom:0;padding-top:.285rem;height:129px}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-body{padding-bottom:0;padding-top:14px;padding-left:15px;padding-right:15px;background-color:#f4f5f7;height:274px;display:block;display:-webkit-box;-webkit-line-clamp:7;overflow:hidden;text-overflow:ellipsis}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-body .ant-card-meta{height:fit-content;width:100%;background-color:#fff;padding:.857rem;border-radius:4px}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-body .content{white-space:pre-wrap}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-head{padding:0 16px}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-head-wrapper{align-items:flex-start}.cap-custom-card.ant-card:is(.WHATSAPP, .RCS, .ZALO) .ant-card-head-wrapper .ant-card-extra{margin-top:.857rem;position:absolute;right:.5rem;top:-0.125rem}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body,.cap-custom-card.ant-card.WECHAT .ant-card-body,.cap-custom-card.ant-card.INAPP .ant-card-body{padding-bottom:0;padding-top:.285rem;padding-left:1.142rem;padding-right:1.142rem;background-color:#f4f5f7;height:279px;display:block;display:-webkit-box;-webkit-line-clamp:7;overflow:hidden;text-overflow:ellipsis;/*! autoprefixer: off */-webkit-box-orient:vertical}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .app-name,.cap-custom-card.ant-card.WECHAT .ant-card-body .app-name,.cap-custom-card.ant-card.INAPP .ant-card-body .app-name{font-size:.857rem;padding-left:.857rem;padding-top:.285rem;background-color:#fff;margin-top:1.142rem}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ant-card-meta,.cap-custom-card.ant-card.WECHAT .ant-card-body .ant-card-meta,.cap-custom-card.ant-card.INAPP .ant-card-body .ant-card-meta{background-color:#fff;padding:.857rem;border-radius:6px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ant-card-meta .ant-card-meta-detail,.cap-custom-card.ant-card.WECHAT .ant-card-body .ant-card-meta .ant-card-meta-detail,.cap-custom-card.ant-card.INAPP .ant-card-body .ant-card-meta .ant-card-meta-detail{overflow:hidden}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ios-action-buttons,.cap-custom-card.ant-card.WECHAT .ant-card-body .ios-action-buttons,.cap-custom-card.ant-card.INAPP .ant-card-body .ios-action-buttons{margin-top:1.714rem}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ios-action-buttons .ios-action-label,.cap-custom-card.ant-card.WECHAT .ant-card-body .ios-action-buttons .ios-action-label,.cap-custom-card.ant-card.INAPP .ant-card-body .ios-action-buttons .ios-action-label{width:100%;height:2.857rem;line-height:1.714rem;background-color:#fff;padding-top:.857rem;text-align:center}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ios-action-buttons .ios-action-label:first-child,.cap-custom-card.ant-card.WECHAT .ant-card-body .ios-action-buttons .ios-action-label:first-child,.cap-custom-card.ant-card.INAPP .ant-card-body .ios-action-buttons .ios-action-label:first-child{border-top-left-radius:6px;border-top-right-radius:6px;border-bottom:1px solid #dfe2e7}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .ios-action-buttons .ios-action-label:last-child,.cap-custom-card.ant-card.WECHAT .ant-card-body .ios-action-buttons .ios-action-label:last-child,.cap-custom-card.ant-card.INAPP .ant-card-body .ios-action-buttons .ios-action-label:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body{margin-top:.857rem;margin-bottom:1.142rem;background-color:#fff;height:247px;border-radius:.285rem}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .map-template,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .map-template,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .map-template{padding:.857rem 1.142rem}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container{width:100%;height:136px;position:relative}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container img,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container img,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .richmedia-image-container img{border-top-left-radius:4px;border-top-right-radius:4px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .name-container-with-abstract,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .name-container-with-abstract,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .name-container-with-abstract{padding:.857rem;height:68px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .name-container,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .name-container,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .name-container{position:absolute;bottom:0px;height:44px;padding-top:16px;padding-left:12px;color:#fff;opacity:.7;width:100%;background-image:linear-gradient(to top, black 0%, transparent 100%)}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container{display:flex;justify-content:space-between;margin:8px;padding-bottom:8px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container img,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container img,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container img{border-radius:4px}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container:not(:last-child),.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container:not(:last-child),.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template .additional-richmedia-container:not(:last-child){border-bottom:1px solid #dfe2e7}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .wechat-card-body .richmedia-template div,.cap-custom-card.ant-card.WECHAT .ant-card-body .wechat-card-body .richmedia-template div,.cap-custom-card.ant-card.INAPP .ant-card-body .wechat-card-body .richmedia-template div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.cap-custom-card.ant-card.MOBILEPUSH .ant-card-body .preview-overflow-wrap-fields,.cap-custom-card.ant-card.WECHAT .ant-card-body .preview-overflow-wrap-fields,.cap-custom-card.ant-card.INAPP .ant-card-body .preview-overflow-wrap-fields{text-overflow:ellipsis;overflow:hidden;overflow-wrap:break-word;display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:left;width:200px}.cap-custom-card.ant-card.EMAIL .ant-card-meta{width:100%}.cap-custom-card.ant-card.EMAIL.no-image .ant-card-body{padding-bottom:0;padding-top:.285rem;height:129px}.facebook-card-body .ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{border-radius:4px;margin-top:.285rem}.facebook-card-body .ant-skeleton-paragraph{margin-left:-3.714rem}.facebook-card-body .ant-skeleton-paragraph li{border-radius:4px}.facebook-card-body .ant-skeleton-paragraph li:first-child{margin:-0.857rem 3.714rem 1.428rem}.facebook-card-body .dynamic-content-section{width:100%;padding:2rem 3.142rem;background-color:#f4f5f7;margin-top:.571rem;display:flex;justify-content:center;align-items:center;border-radius:4px}.facebook-card-body .dynamic-content-section .centered-item{max-width:130px;text-align:center}.content{white-space:pre-wrap}.zalo-campaign-card-style .ant-card-head-wrapper .ant-card-extra{top:0px !important}.zalo-campaign-card-style .cap-custom-card.ant-card.ZALO .ant-card-body{height:13.4rem}.slidebox-content-container .cap-custom-card.ant-card.ZALO .ant-card-body{height:14.86rem}.INAPP .title-desc-container .cap-header-v2-title{max-height:2rem}.INAPP .title-desc-container .cap-header-v2-description{max-height:4rem}.cap-custom-card-list .cap-custom-card{display:block}.cap-custom-card-list .cap-custom-card-list-row{display:flex;flex-flow:row wrap;justify-content:flex-start}.cap-custom-card-list .cap-custom-card-list-row .cap-custom-card-list-col{margin-top:.571rem;width:265px;margin-right:12px}`, ""]);
|
|
17846
|
+
// Exports
|
|
17847
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
17848
|
+
"cap-custom-card": `cap-custom-card`,
|
|
17849
|
+
"remove-border-radius": `remove-border-radius`,
|
|
17850
|
+
"hover-content": `hover-content`,
|
|
17851
|
+
"has-hover-option": `has-hover-option`,
|
|
17852
|
+
"content": `content`,
|
|
17853
|
+
"app-name": `app-name`,
|
|
17854
|
+
"ios-action-buttons": `ios-action-buttons`,
|
|
17855
|
+
"ios-action-label": `ios-action-label`,
|
|
17856
|
+
"wechat-card-body": `wechat-card-body`,
|
|
17857
|
+
"map-template": `map-template`,
|
|
17858
|
+
"richmedia-template": `richmedia-template`,
|
|
17859
|
+
"richmedia-image-container": `richmedia-image-container`,
|
|
17860
|
+
"name-container-with-abstract": `name-container-with-abstract`,
|
|
17861
|
+
"name-container": `name-container`,
|
|
17862
|
+
"additional-richmedia-container": `additional-richmedia-container`,
|
|
17863
|
+
"preview-overflow-wrap-fields": `preview-overflow-wrap-fields`,
|
|
17864
|
+
"facebook-card-body": `facebook-card-body`,
|
|
17865
|
+
"dynamic-content-section": `dynamic-content-section`,
|
|
17866
|
+
"centered-item": `centered-item`,
|
|
17867
|
+
"zalo-campaign-card-style": `zalo-campaign-card-style`,
|
|
17868
|
+
"slidebox-content-container": `slidebox-content-container`,
|
|
17869
|
+
"INAPP": `INAPP`,
|
|
17870
|
+
"title-desc-container": `title-desc-container`,
|
|
17871
|
+
"cap-header-v2-title": `cap-header-v2-title`,
|
|
17872
|
+
"cap-header-v2-description": `cap-header-v2-description`,
|
|
17873
|
+
"cap-custom-card-list": `cap-custom-card-list`,
|
|
17874
|
+
"cap-custom-card-list-row": `cap-custom-card-list-row`,
|
|
17875
|
+
"cap-custom-card-list-col": `cap-custom-card-list-col`
|
|
17876
|
+
};
|
|
17877
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
17878
|
+
|
|
17879
|
+
|
|
17737
17880
|
/***/ }),
|
|
17738
17881
|
|
|
17739
17882
|
/***/ 17400:
|
|
@@ -31000,7 +31143,7 @@ var _classnames = _interopRequireDefault(__webpack_require__(46942));
|
|
|
31000
31143
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
31001
31144
|
var _styles = _interopRequireDefault(__webpack_require__(1689));
|
|
31002
31145
|
var _jsxRuntime = __webpack_require__(74848);
|
|
31003
|
-
const _excluded = ["className", "children", "suffix", "prefix", "style", "fontWeight", "onClick", "disabled"];
|
|
31146
|
+
const _excluded = ["className", "children", "suffix", "prefix", "style", "fontWeight", "onClick", "disabled", "href"];
|
|
31004
31147
|
/**
|
|
31005
31148
|
* CapLink
|
|
31006
31149
|
*
|
|
@@ -31023,7 +31166,8 @@ const CapLink = _ref => {
|
|
|
31023
31166
|
style,
|
|
31024
31167
|
fontWeight,
|
|
31025
31168
|
onClick,
|
|
31026
|
-
disabled = false
|
|
31169
|
+
disabled = false,
|
|
31170
|
+
href = '#'
|
|
31027
31171
|
} = _ref,
|
|
31028
31172
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
31029
31173
|
const handleClick = (e, link) => {
|
|
@@ -31045,7 +31189,9 @@ const CapLink = _ref => {
|
|
|
31045
31189
|
affix: false,
|
|
31046
31190
|
className: anchorClassName,
|
|
31047
31191
|
style: style,
|
|
31048
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Link, _extends({
|
|
31192
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(Link, _extends({
|
|
31193
|
+
href: href
|
|
31194
|
+
}, rest, {
|
|
31049
31195
|
children: [prefix && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
31050
31196
|
className: _styles.default[classPrefix + "-prefix"],
|
|
31051
31197
|
children: prefix
|
|
@@ -54581,6 +54727,7 @@ var _exportNames = {
|
|
|
54581
54727
|
CapCarousel: true,
|
|
54582
54728
|
CapCheckbox: true,
|
|
54583
54729
|
CapDatePicker: true,
|
|
54730
|
+
CapCustomCard: true,
|
|
54584
54731
|
CapColoredTag: true,
|
|
54585
54732
|
CapColumn: true,
|
|
54586
54733
|
CapCustomCheckboxList: true,
|
|
@@ -54659,7 +54806,7 @@ var _exportNames = {
|
|
|
54659
54806
|
CapIcons: true,
|
|
54660
54807
|
styledVars: true
|
|
54661
54808
|
};
|
|
54662
|
-
exports.styledVars = exports.request = exports.loadCapUIFonts = exports.loadCapUI = exports.getCapUIFontLinks = exports.getCapThemeConfig = exports.LocaleHoc = exports.CapVirtualList = exports.CapUploader = exports.CapUnifiedSelect = exports.CapTruncateList = exports.CapTree = exports.CapTopBar = exports.CapTooltipWithInfo = exports.CapTooltip = exports.CapTimePicker = exports.CapTag = exports.CapTable = exports.CapTabV3 = exports.CapTab = exports.CapSwitch = exports.CapSupportVideosWrapper = exports.CapSteps = exports.CapStatus = exports.CapStatisticCard = exports.CapSplit = exports.CapSpin = exports.CapSomethingWentWrong = exports.CapSnackBar = exports.CapSlider = exports.CapSlideBox = exports.CapSkeleton = exports.CapSideBar = exports.CapShape = exports.CapSelectFilter = exports.CapSelect = exports.CapSecondaryTopBar = exports.CapRow = exports.CapRoadMap = exports.CapRadioGroup = exports.CapRadioButton = exports.CapRadio = exports.CapProgress = exports.CapPopover = exports.CapNotificationDropdown = exports.CapNotification = exports.CapModal = exports.CapMenu = exports.CapLogin = exports.CapList = exports.CapLink = exports.CapLanguageProvider = exports.CapLabel = exports.CapInputTextArea = exports.CapInputSearch = exports.CapInputNumber = exports.CapInput = exports.CapInfoNote = exports.CapImportMFEComponent = exports.CapImage = exports.CapIllustration = exports.CapIcons = exports.CapIcon = exports.CapHeading = exports.CapHeader = exports.CapFormItem = exports.CapForm = exports.CapError = exports.CapDropdown = exports.CapDrawer = exports.CapDivider = exports.CapDatePicker = exports.CapCustomSelect = exports.CapCustomList = exports.CapCustomCheckboxList = exports.CapColumn = exports.CapColoredTag = exports.CapColorPicker = exports.CapCheckbox = exports.CapCarousel = exports.CapCardBox = exports.CapCard = exports.CapButton = exports.CapBorderedBox = exports.CapBlock = exports.CapBanner = exports.CapAppNotEnabled = exports.CapAlert = exports.CapActionBar = void 0;
|
|
54809
|
+
exports.styledVars = exports.request = exports.loadCapUIFonts = exports.loadCapUI = exports.getCapUIFontLinks = exports.getCapThemeConfig = exports.LocaleHoc = exports.CapVirtualList = exports.CapUploader = exports.CapUnifiedSelect = exports.CapTruncateList = exports.CapTree = exports.CapTopBar = exports.CapTooltipWithInfo = exports.CapTooltip = exports.CapTimePicker = exports.CapTag = exports.CapTable = exports.CapTabV3 = exports.CapTab = exports.CapSwitch = exports.CapSupportVideosWrapper = exports.CapSteps = exports.CapStatus = exports.CapStatisticCard = exports.CapSplit = exports.CapSpin = exports.CapSomethingWentWrong = exports.CapSnackBar = exports.CapSlider = exports.CapSlideBox = exports.CapSkeleton = exports.CapSideBar = exports.CapShape = exports.CapSelectFilter = exports.CapSelect = exports.CapSecondaryTopBar = exports.CapRow = exports.CapRoadMap = exports.CapRadioGroup = exports.CapRadioButton = exports.CapRadio = exports.CapProgress = exports.CapPopover = exports.CapNotificationDropdown = exports.CapNotification = exports.CapModal = exports.CapMenu = exports.CapLogin = exports.CapList = exports.CapLink = exports.CapLanguageProvider = exports.CapLabel = exports.CapInputTextArea = exports.CapInputSearch = exports.CapInputNumber = exports.CapInput = exports.CapInfoNote = exports.CapImportMFEComponent = exports.CapImage = exports.CapIllustration = exports.CapIcons = exports.CapIcon = exports.CapHeading = exports.CapHeader = exports.CapFormItem = exports.CapForm = exports.CapError = exports.CapDropdown = exports.CapDrawer = exports.CapDivider = exports.CapDatePicker = exports.CapCustomSelect = exports.CapCustomList = exports.CapCustomCheckboxList = exports.CapCustomCard = exports.CapColumn = exports.CapColoredTag = exports.CapColorPicker = exports.CapCheckbox = exports.CapCarousel = exports.CapCardBox = exports.CapCard = exports.CapButton = exports.CapBorderedBox = exports.CapBlock = exports.CapBanner = exports.CapAppNotEnabled = exports.CapAlert = exports.CapActionBar = void 0;
|
|
54663
54810
|
var _CapAlert = _interopRequireDefault(__webpack_require__(20855));
|
|
54664
54811
|
exports.CapAlert = _CapAlert.default;
|
|
54665
54812
|
var _CapActionBar = _interopRequireDefault(__webpack_require__(9464));
|
|
@@ -54684,6 +54831,8 @@ var _CapCheckbox = _interopRequireDefault(__webpack_require__(20564));
|
|
|
54684
54831
|
exports.CapCheckbox = _CapCheckbox.default;
|
|
54685
54832
|
var _CapDatePicker = _interopRequireDefault(__webpack_require__(88785));
|
|
54686
54833
|
exports.CapDatePicker = _CapDatePicker.default;
|
|
54834
|
+
var _CapCustomCard = _interopRequireDefault(__webpack_require__(84328));
|
|
54835
|
+
exports.CapCustomCard = _CapCustomCard.default;
|
|
54687
54836
|
var _CapColoredTag = _interopRequireDefault(__webpack_require__(22029));
|
|
54688
54837
|
exports.CapColoredTag = _CapColoredTag.default;
|
|
54689
54838
|
var _CapColumn = _interopRequireDefault(__webpack_require__(4757));
|
|
@@ -66055,6 +66204,500 @@ var _default = exports["default"] = SvgUserCopy;
|
|
|
66055
66204
|
|
|
66056
66205
|
/***/ }),
|
|
66057
66206
|
|
|
66207
|
+
/***/ 82739:
|
|
66208
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
66209
|
+
|
|
66210
|
+
"use strict";
|
|
66211
|
+
|
|
66212
|
+
|
|
66213
|
+
exports.__esModule = true;
|
|
66214
|
+
exports["default"] = void 0;
|
|
66215
|
+
var _antdV = __webpack_require__(64273);
|
|
66216
|
+
var _classnames = _interopRequireDefault(__webpack_require__(46942));
|
|
66217
|
+
var _get = _interopRequireDefault(__webpack_require__(58156));
|
|
66218
|
+
var _isEmpty = _interopRequireDefault(__webpack_require__(62193));
|
|
66219
|
+
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
66220
|
+
var _reactIntl = __webpack_require__(46407);
|
|
66221
|
+
var _CapHeader = _interopRequireDefault(__webpack_require__(93140));
|
|
66222
|
+
var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
66223
|
+
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
66224
|
+
var _CapLabel = _interopRequireDefault(__webpack_require__(92675));
|
|
66225
|
+
var _CapLink = _interopRequireDefault(__webpack_require__(43223));
|
|
66226
|
+
var _CapSkeleton = _interopRequireDefault(__webpack_require__(67418));
|
|
66227
|
+
var _variables = __webpack_require__(56587);
|
|
66228
|
+
var _constants = __webpack_require__(7341);
|
|
66229
|
+
var _messages = _interopRequireDefault(__webpack_require__(16498));
|
|
66230
|
+
var _styles = _interopRequireDefault(__webpack_require__(97534));
|
|
66231
|
+
var _jsxRuntime = __webpack_require__(74848);
|
|
66232
|
+
const _excluded = ["className", "type", "content", "hoverOption", "url", "width", "height", "cardTop"];
|
|
66233
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
66234
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
66235
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
66236
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /**
|
|
66237
|
+
*
|
|
66238
|
+
* CapCard
|
|
66239
|
+
*
|
|
66240
|
+
*/
|
|
66241
|
+
const {
|
|
66242
|
+
Meta
|
|
66243
|
+
} = _antdV.Card;
|
|
66244
|
+
const clsPrefix = 'cap-custom-card';
|
|
66245
|
+
const getMpushContent = templateData => {
|
|
66246
|
+
// Handle empty or invalid templateData
|
|
66247
|
+
if (!templateData || typeof templateData !== 'object') {
|
|
66248
|
+
return {
|
|
66249
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66250
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeader.default, {
|
|
66251
|
+
size: "small",
|
|
66252
|
+
title: "",
|
|
66253
|
+
description: ""
|
|
66254
|
+
})
|
|
66255
|
+
})
|
|
66256
|
+
};
|
|
66257
|
+
}
|
|
66258
|
+
const mpushData = (0, _get.default)(templateData, 'versions.base', templateData);
|
|
66259
|
+
const androidData = (0, _get.default)(mpushData, 'ANDROID') || (0, _get.default)(mpushData, 'androidContent');
|
|
66260
|
+
const iosData = (0, _get.default)(mpushData, 'IOS') || (0, _get.default)(mpushData, 'iosContent');
|
|
66261
|
+
let title = (0, _get.default)(androidData, 'title') || '';
|
|
66262
|
+
let description = (0, _get.default)(androidData, 'message') || '';
|
|
66263
|
+
let actionText1 = (0, _get.default)(androidData, 'expandableDetails.ctas[0].actionText') || '';
|
|
66264
|
+
let actionText2 = (0, _get.default)(androidData, 'expandableDetails.ctas[1].actionText') || '';
|
|
66265
|
+
let hasImage = (0, _get.default)(androidData, 'expandableDetails.style') === 'BIG_PICTURE';
|
|
66266
|
+
let hasVideo = (0, _get.default)(androidData, 'expandableDetails.style') === 'VIDEO';
|
|
66267
|
+
let hasGIF = (0, _get.default)(androidData, 'expandableDetails.style') === 'GIF';
|
|
66268
|
+
let image;
|
|
66269
|
+
let video;
|
|
66270
|
+
let gif;
|
|
66271
|
+
if (hasImage) {
|
|
66272
|
+
image = (0, _get.default)(androidData, 'expandableDetails.image');
|
|
66273
|
+
}
|
|
66274
|
+
if (hasVideo) {
|
|
66275
|
+
video = (0, _get.default)(androidData, 'expandableDetails.media[0].url');
|
|
66276
|
+
}
|
|
66277
|
+
if (hasGIF) {
|
|
66278
|
+
gif = (0, _get.default)(androidData, 'expandableDetails.media[0].url');
|
|
66279
|
+
}
|
|
66280
|
+
if ((0, _isEmpty.default)(androidData)) {
|
|
66281
|
+
title = (0, _get.default)(iosData, 'title') || '';
|
|
66282
|
+
description = (0, _get.default)(iosData, 'message') || '';
|
|
66283
|
+
actionText1 = (0, _get.default)(iosData, 'expandableDetails.ctas[0].actionLabel') || '';
|
|
66284
|
+
actionText2 = (0, _get.default)(iosData, 'expandableDetails.ctas[0].actionLabel2') || '';
|
|
66285
|
+
hasImage = (0, _get.default)(iosData, 'expandableDetails.style') === 'BIG_PICTURE';
|
|
66286
|
+
hasVideo = (0, _get.default)(iosData, 'expandableDetails.style') === 'VIDEO';
|
|
66287
|
+
hasGIF = (0, _get.default)(iosData, 'expandableDetails.style') === 'GIF';
|
|
66288
|
+
if (hasImage) {
|
|
66289
|
+
image = (0, _get.default)(iosData, 'expandableDetails.image');
|
|
66290
|
+
}
|
|
66291
|
+
if (hasVideo) {
|
|
66292
|
+
video = (0, _get.default)(iosData, 'expandableDetails.media[0].url');
|
|
66293
|
+
}
|
|
66294
|
+
if (hasGIF) {
|
|
66295
|
+
gif = (0, _get.default)(iosData, 'expandableDetails.media[0].url');
|
|
66296
|
+
}
|
|
66297
|
+
}
|
|
66298
|
+
const preview = {
|
|
66299
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66300
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeader.default, {
|
|
66301
|
+
size: "small",
|
|
66302
|
+
title: title,
|
|
66303
|
+
description: description
|
|
66304
|
+
}), hasImage && image && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66305
|
+
src: image,
|
|
66306
|
+
alt: "mpush"
|
|
66307
|
+
}), hasVideo && video && /*#__PURE__*/(0, _jsxRuntime.jsx)("video", {
|
|
66308
|
+
src: video
|
|
66309
|
+
}), hasGIF && gif && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66310
|
+
src: gif,
|
|
66311
|
+
alt: "mpush"
|
|
66312
|
+
}), !(0, _isEmpty.default)(androidData) && (actionText1 || actionText2) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66313
|
+
style: {
|
|
66314
|
+
marginTop: '8px'
|
|
66315
|
+
},
|
|
66316
|
+
children: [actionText1 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLink.default, {
|
|
66317
|
+
title: actionText1,
|
|
66318
|
+
style: {
|
|
66319
|
+
display: 'inline-block'
|
|
66320
|
+
}
|
|
66321
|
+
}), actionText2 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLink.default, {
|
|
66322
|
+
title: actionText2,
|
|
66323
|
+
style: {
|
|
66324
|
+
display: 'inline-block',
|
|
66325
|
+
marginLeft: '24px'
|
|
66326
|
+
}
|
|
66327
|
+
})]
|
|
66328
|
+
})]
|
|
66329
|
+
})
|
|
66330
|
+
};
|
|
66331
|
+
if ((0, _isEmpty.default)(androidData) && (actionText1 || actionText2)) {
|
|
66332
|
+
preview.iosButtons = /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66333
|
+
className: _styles.default['ios-action-buttons'],
|
|
66334
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66335
|
+
className: _styles.default['ios-action-label'],
|
|
66336
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLink.default, {
|
|
66337
|
+
title: actionText1
|
|
66338
|
+
})
|
|
66339
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66340
|
+
className: _styles.default['ios-action-label'],
|
|
66341
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLink.default, {
|
|
66342
|
+
title: actionText2
|
|
66343
|
+
})
|
|
66344
|
+
})]
|
|
66345
|
+
});
|
|
66346
|
+
}
|
|
66347
|
+
return preview;
|
|
66348
|
+
};
|
|
66349
|
+
const getInAppContent = templateData => {
|
|
66350
|
+
const inAppData = (0, _get.default)(templateData, 'versions.base', templateData);
|
|
66351
|
+
const androidData = (0, _get.default)(inAppData, 'content.ANDROID') || (0, _get.default)(inAppData, 'androidContent');
|
|
66352
|
+
const iosData = (0, _get.default)(inAppData, 'content.IOS') || (0, _get.default)(inAppData, 'iosContent');
|
|
66353
|
+
const isBeeFreeTemplate = (0, _get.default)(androidData, 'isBEEeditor');
|
|
66354
|
+
if (isBeeFreeTemplate) {
|
|
66355
|
+
const beeHtml = (0, _get.default)(androidData, 'beeHtml') || (0, _get.default)(iosData, 'beeHtml');
|
|
66356
|
+
return {
|
|
66357
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66358
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("iframe", {
|
|
66359
|
+
srcDoc: beeHtml == null ? void 0 : beeHtml.value,
|
|
66360
|
+
title: "Inapp Preview",
|
|
66361
|
+
width: "100%",
|
|
66362
|
+
height: "100%",
|
|
66363
|
+
frameBorder: "0"
|
|
66364
|
+
})
|
|
66365
|
+
})
|
|
66366
|
+
};
|
|
66367
|
+
}
|
|
66368
|
+
let title = (0, _get.default)(androidData, 'title');
|
|
66369
|
+
let description = (0, _get.default)(androidData, 'message');
|
|
66370
|
+
let hasImage = (0, _get.default)(androidData, 'expandableDetails.style') === _constants.BIG_PICTURE;
|
|
66371
|
+
let image;
|
|
66372
|
+
if (hasImage) {
|
|
66373
|
+
image = (0, _get.default)(androidData, 'expandableDetails.image');
|
|
66374
|
+
}
|
|
66375
|
+
if ((0, _isEmpty.default)(androidData)) {
|
|
66376
|
+
title = (0, _get.default)(iosData, 'title');
|
|
66377
|
+
description = (0, _get.default)(iosData, 'message');
|
|
66378
|
+
hasImage = (0, _get.default)(iosData, 'expandableDetails.style') === _constants.BIG_PICTURE;
|
|
66379
|
+
if (hasImage) {
|
|
66380
|
+
image = (0, _get.default)(iosData, 'expandableDetails.image');
|
|
66381
|
+
}
|
|
66382
|
+
}
|
|
66383
|
+
const preview = {
|
|
66384
|
+
content: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66385
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeader.default, {
|
|
66386
|
+
size: "small",
|
|
66387
|
+
title: title,
|
|
66388
|
+
description: description
|
|
66389
|
+
}), hasImage && /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66390
|
+
src: image,
|
|
66391
|
+
alt: "inapp"
|
|
66392
|
+
})]
|
|
66393
|
+
})
|
|
66394
|
+
};
|
|
66395
|
+
return preview;
|
|
66396
|
+
};
|
|
66397
|
+
const getWeChatContent = content => {
|
|
66398
|
+
if (typeof content === 'object' && content !== null) {
|
|
66399
|
+
return getRichMediaPreview(content);
|
|
66400
|
+
}
|
|
66401
|
+
if (typeof content === 'string') {
|
|
66402
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66403
|
+
className: _styles.default['map-template'],
|
|
66404
|
+
children: decodeURIComponent(content)
|
|
66405
|
+
});
|
|
66406
|
+
}
|
|
66407
|
+
return null;
|
|
66408
|
+
};
|
|
66409
|
+
const getRichMediaPreview = contentDetails => {
|
|
66410
|
+
const previewMsg = [];
|
|
66411
|
+
const content = JSON.parse(JSON.stringify(contentDetails));
|
|
66412
|
+
const mediaListLength = content.length;
|
|
66413
|
+
const contentData = content[0];
|
|
66414
|
+
previewMsg.push(/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66415
|
+
className: _styles.default['richmedia-image-container'],
|
|
66416
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66417
|
+
alt: "default",
|
|
66418
|
+
width: "100%",
|
|
66419
|
+
height: "136px",
|
|
66420
|
+
src: contentData.image_url
|
|
66421
|
+
}), mediaListLength !== 1 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66422
|
+
className: _styles.default['name-container'],
|
|
66423
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeading.default, {
|
|
66424
|
+
type: "h4",
|
|
66425
|
+
style: {
|
|
66426
|
+
color: _variables.CAP_WHITE
|
|
66427
|
+
},
|
|
66428
|
+
children: contentData.title
|
|
66429
|
+
})
|
|
66430
|
+
})]
|
|
66431
|
+
}, "richmedia-image"));
|
|
66432
|
+
if (mediaListLength === 1) {
|
|
66433
|
+
previewMsg.push(/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66434
|
+
className: _styles.default['name-container-with-abstract'],
|
|
66435
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeading.default, {
|
|
66436
|
+
type: "h4",
|
|
66437
|
+
children: contentData.title
|
|
66438
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
|
|
66439
|
+
type: "label9",
|
|
66440
|
+
children: contentData.digest
|
|
66441
|
+
})]
|
|
66442
|
+
}, "name-with-abstract"));
|
|
66443
|
+
}
|
|
66444
|
+
content.splice(1, 2).forEach((data, index) => {
|
|
66445
|
+
previewMsg.push(/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66446
|
+
className: _styles.default['additional-richmedia-container'],
|
|
66447
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66448
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
|
|
66449
|
+
type: "label9",
|
|
66450
|
+
style: {
|
|
66451
|
+
width: '170px',
|
|
66452
|
+
top: '12px',
|
|
66453
|
+
position: 'relative'
|
|
66454
|
+
},
|
|
66455
|
+
children: data.title
|
|
66456
|
+
})
|
|
66457
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66458
|
+
alt: "default",
|
|
66459
|
+
width: "40px",
|
|
66460
|
+
height: "40px",
|
|
66461
|
+
src: data.image_url
|
|
66462
|
+
})]
|
|
66463
|
+
}, "additional-" + index));
|
|
66464
|
+
});
|
|
66465
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66466
|
+
className: _styles.default['richmedia-template'],
|
|
66467
|
+
children: previewMsg
|
|
66468
|
+
});
|
|
66469
|
+
};
|
|
66470
|
+
const getFacebookPreview = function (FBDynamicComponent) {
|
|
66471
|
+
if (FBDynamicComponent === void 0) {
|
|
66472
|
+
FBDynamicComponent = () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Fragment, {});
|
|
66473
|
+
}
|
|
66474
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66475
|
+
className: _styles.default['facebook-card-body'],
|
|
66476
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66477
|
+
description: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSkeleton.default, {
|
|
66478
|
+
loading: true,
|
|
66479
|
+
avatar: true,
|
|
66480
|
+
paragraph: {
|
|
66481
|
+
rows: 3,
|
|
66482
|
+
width: [36, 140, 80]
|
|
66483
|
+
}
|
|
66484
|
+
})
|
|
66485
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66486
|
+
className: _styles.default['dynamic-content-section'],
|
|
66487
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66488
|
+
className: _styles.default['centered-item'],
|
|
66489
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FBDynamicComponent, {})
|
|
66490
|
+
})
|
|
66491
|
+
})]
|
|
66492
|
+
});
|
|
66493
|
+
};
|
|
66494
|
+
const getCardContent = props => {
|
|
66495
|
+
const {
|
|
66496
|
+
content,
|
|
66497
|
+
url,
|
|
66498
|
+
width,
|
|
66499
|
+
height,
|
|
66500
|
+
FBDynamicComponent,
|
|
66501
|
+
buttonText,
|
|
66502
|
+
fbType,
|
|
66503
|
+
mediaContent,
|
|
66504
|
+
isNewMobilePush
|
|
66505
|
+
} = props;
|
|
66506
|
+
const type = (props.type || '').toUpperCase();
|
|
66507
|
+
switch (type) {
|
|
66508
|
+
case _constants.channels.sms:
|
|
66509
|
+
case _constants.channels.call_task:
|
|
66510
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66511
|
+
description: content
|
|
66512
|
+
});
|
|
66513
|
+
case _constants.channels.email:
|
|
66514
|
+
case _constants.channels.line:
|
|
66515
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66516
|
+
description: url ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66517
|
+
width: width || 244,
|
|
66518
|
+
height: height || 279,
|
|
66519
|
+
src: url,
|
|
66520
|
+
alt: url
|
|
66521
|
+
}) : content || /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSkeleton.default, {
|
|
66522
|
+
loading: true
|
|
66523
|
+
})
|
|
66524
|
+
});
|
|
66525
|
+
case _constants.channels.viber:
|
|
66526
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
66527
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66528
|
+
className: (0, _classnames.default)(_styles.default['truncate-text-viber'], {
|
|
66529
|
+
[_styles.default['truncate-text-with-image']]: url,
|
|
66530
|
+
[_styles.default['truncate-text-with-button']]: buttonText
|
|
66531
|
+
}),
|
|
66532
|
+
description: content || /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSkeleton.default, {
|
|
66533
|
+
loading: true
|
|
66534
|
+
})
|
|
66535
|
+
}), url && /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66536
|
+
style: {
|
|
66537
|
+
paddingTop: '14px'
|
|
66538
|
+
},
|
|
66539
|
+
description: mediaContent || /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66540
|
+
width: width || 215,
|
|
66541
|
+
height: height || 103,
|
|
66542
|
+
src: url,
|
|
66543
|
+
alt: url
|
|
66544
|
+
})
|
|
66545
|
+
}), buttonText && /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66546
|
+
style: {
|
|
66547
|
+
paddingTop: '14px'
|
|
66548
|
+
},
|
|
66549
|
+
className: (0, _classnames.default)({
|
|
66550
|
+
[_styles.default['button-content']]: buttonText
|
|
66551
|
+
}),
|
|
66552
|
+
description: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66553
|
+
children: buttonText
|
|
66554
|
+
})
|
|
66555
|
+
})]
|
|
66556
|
+
});
|
|
66557
|
+
case _constants.channels.mpush:
|
|
66558
|
+
{
|
|
66559
|
+
if (isNewMobilePush) {
|
|
66560
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66561
|
+
description: content,
|
|
66562
|
+
className: _styles.default.content
|
|
66563
|
+
});
|
|
66564
|
+
}
|
|
66565
|
+
const contentPreview = getMpushContent(content);
|
|
66566
|
+
const previewMpush = [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66567
|
+
className: _styles.default['app-name'],
|
|
66568
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeader.default, {
|
|
66569
|
+
size: "small",
|
|
66570
|
+
title: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
66571
|
+
children: "App name"
|
|
66572
|
+
}),
|
|
66573
|
+
prefix: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66574
|
+
src: "./favicon.ico",
|
|
66575
|
+
alt: ""
|
|
66576
|
+
})
|
|
66577
|
+
})
|
|
66578
|
+
}, "app-name"), /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66579
|
+
description: contentPreview.content,
|
|
66580
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Avatar, {
|
|
66581
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
66582
|
+
type: "user"
|
|
66583
|
+
})
|
|
66584
|
+
})
|
|
66585
|
+
}, "meta")];
|
|
66586
|
+
if (contentPreview.iosButtons) {
|
|
66587
|
+
previewMpush.push(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66588
|
+
children: contentPreview.iosButtons
|
|
66589
|
+
}, "ios-buttons"));
|
|
66590
|
+
}
|
|
66591
|
+
return previewMpush;
|
|
66592
|
+
}
|
|
66593
|
+
case _constants.channels.rcs:
|
|
66594
|
+
case _constants.channels.zalo:
|
|
66595
|
+
case _constants.channels.whatsapp:
|
|
66596
|
+
{
|
|
66597
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66598
|
+
description: content,
|
|
66599
|
+
className: _styles.default.content
|
|
66600
|
+
});
|
|
66601
|
+
}
|
|
66602
|
+
case _constants.channels.wechat:
|
|
66603
|
+
{
|
|
66604
|
+
const contentPreview = getWeChatContent(content);
|
|
66605
|
+
const previewWeChat = [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66606
|
+
className: _styles.default['wechat-card-body'],
|
|
66607
|
+
children: contentPreview
|
|
66608
|
+
}, "wechat-body")];
|
|
66609
|
+
return previewWeChat;
|
|
66610
|
+
}
|
|
66611
|
+
case _constants.channels.facebook:
|
|
66612
|
+
{
|
|
66613
|
+
if (fbType === 'list') {
|
|
66614
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66615
|
+
description: url ? /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66616
|
+
width: width || 244,
|
|
66617
|
+
height: height || 279,
|
|
66618
|
+
src: url,
|
|
66619
|
+
alt: url
|
|
66620
|
+
}) : content || /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSkeleton.default, {
|
|
66621
|
+
loading: true
|
|
66622
|
+
})
|
|
66623
|
+
});
|
|
66624
|
+
}
|
|
66625
|
+
return getFacebookPreview(FBDynamicComponent);
|
|
66626
|
+
}
|
|
66627
|
+
case _constants.channels.inapp:
|
|
66628
|
+
{
|
|
66629
|
+
const contentPreview = getInAppContent(content);
|
|
66630
|
+
const previewInApp = [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66631
|
+
className: _styles.default['app-name'],
|
|
66632
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeader.default, {
|
|
66633
|
+
size: "small",
|
|
66634
|
+
title: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
66635
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _extends({}, _messages.default.appName))
|
|
66636
|
+
}),
|
|
66637
|
+
prefix: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
66638
|
+
src: "./favicon.ico",
|
|
66639
|
+
alt: ""
|
|
66640
|
+
})
|
|
66641
|
+
})
|
|
66642
|
+
}, "app-name"), /*#__PURE__*/(0, _jsxRuntime.jsx)(Meta, {
|
|
66643
|
+
description: contentPreview == null ? void 0 : contentPreview.content,
|
|
66644
|
+
avatar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Avatar, {
|
|
66645
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
66646
|
+
type: "user"
|
|
66647
|
+
})
|
|
66648
|
+
})
|
|
66649
|
+
}, "meta")];
|
|
66650
|
+
if (contentPreview != null && contentPreview.iosButtons) {
|
|
66651
|
+
previewInApp.push(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66652
|
+
children: contentPreview == null ? void 0 : contentPreview.iosButtons
|
|
66653
|
+
}, "ios-buttons"));
|
|
66654
|
+
}
|
|
66655
|
+
return previewInApp;
|
|
66656
|
+
}
|
|
66657
|
+
default:
|
|
66658
|
+
return content;
|
|
66659
|
+
}
|
|
66660
|
+
};
|
|
66661
|
+
const CapCustomCard = _ref => {
|
|
66662
|
+
let {
|
|
66663
|
+
className,
|
|
66664
|
+
type,
|
|
66665
|
+
content,
|
|
66666
|
+
hoverOption,
|
|
66667
|
+
url,
|
|
66668
|
+
width: _width,
|
|
66669
|
+
height: _height,
|
|
66670
|
+
cardTop
|
|
66671
|
+
} = _ref,
|
|
66672
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
66673
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antdV.Card, _extends({
|
|
66674
|
+
className: (0, _classnames.default)(_styles.default[clsPrefix], className, type, {
|
|
66675
|
+
[_styles.default['has-hover-option']]: hoverOption,
|
|
66676
|
+
[_styles.default['no-image']]: !url && content,
|
|
66677
|
+
[_styles.default['remove-border-radius']]: cardTop
|
|
66678
|
+
})
|
|
66679
|
+
}, rest, {
|
|
66680
|
+
children: [getCardContent(_extends({
|
|
66681
|
+
className,
|
|
66682
|
+
type,
|
|
66683
|
+
content,
|
|
66684
|
+
hoverOption,
|
|
66685
|
+
url,
|
|
66686
|
+
width: _width,
|
|
66687
|
+
height: _height,
|
|
66688
|
+
cardTop
|
|
66689
|
+
}, rest)), hoverOption && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
66690
|
+
className: _styles.default['hover-content'],
|
|
66691
|
+
children: hoverOption
|
|
66692
|
+
})]
|
|
66693
|
+
}));
|
|
66694
|
+
};
|
|
66695
|
+
var _default = exports["default"] = Object.assign(CapCustomCard, {
|
|
66696
|
+
getRichMediaPreview
|
|
66697
|
+
});
|
|
66698
|
+
|
|
66699
|
+
/***/ }),
|
|
66700
|
+
|
|
66058
66701
|
/***/ 82748:
|
|
66059
66702
|
/***/ ((__unused_webpack_module, exports) => {
|
|
66060
66703
|
|
|
@@ -66647,6 +67290,28 @@ function setToArray(set) {
|
|
|
66647
67290
|
module.exports = setToArray;
|
|
66648
67291
|
|
|
66649
67292
|
|
|
67293
|
+
/***/ }),
|
|
67294
|
+
|
|
67295
|
+
/***/ 84328:
|
|
67296
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
67297
|
+
|
|
67298
|
+
"use strict";
|
|
67299
|
+
|
|
67300
|
+
|
|
67301
|
+
exports.__esModule = true;
|
|
67302
|
+
exports["default"] = void 0;
|
|
67303
|
+
var _CapCustomCard = _interopRequireDefault(__webpack_require__(82739));
|
|
67304
|
+
var _CapCustomCardList = _interopRequireDefault(__webpack_require__(235));
|
|
67305
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
67306
|
+
/**
|
|
67307
|
+
*
|
|
67308
|
+
* CapCard
|
|
67309
|
+
*
|
|
67310
|
+
*/
|
|
67311
|
+
var _default = exports["default"] = Object.assign(_CapCustomCard.default, {
|
|
67312
|
+
CapCustomCardList: _CapCustomCardList.default
|
|
67313
|
+
});
|
|
67314
|
+
|
|
66650
67315
|
/***/ }),
|
|
66651
67316
|
|
|
66652
67317
|
/***/ 84409:
|
|
@@ -72821,6 +73486,58 @@ const getSolidColor = (baseColor, brightness) => {
|
|
|
72821
73486
|
};
|
|
72822
73487
|
exports.getSolidColor = getSolidColor;
|
|
72823
73488
|
|
|
73489
|
+
/***/ }),
|
|
73490
|
+
|
|
73491
|
+
/***/ 97534:
|
|
73492
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
73493
|
+
|
|
73494
|
+
"use strict";
|
|
73495
|
+
__webpack_require__.r(__webpack_exports__);
|
|
73496
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
73497
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
73498
|
+
/* harmony export */ });
|
|
73499
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85072);
|
|
73500
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
73501
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64284);
|
|
73502
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
73503
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77659);
|
|
73504
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
73505
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55056);
|
|
73506
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
73507
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10540);
|
|
73508
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
73509
|
+
/* harmony import */ var _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_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17355);
|
|
73510
|
+
/* harmony import */ var _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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_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_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
|
|
73511
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
73512
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _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_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _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_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
|
|
73513
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
73514
|
+
|
|
73515
|
+
|
|
73516
|
+
|
|
73517
|
+
|
|
73518
|
+
|
|
73519
|
+
|
|
73520
|
+
|
|
73521
|
+
|
|
73522
|
+
|
|
73523
|
+
|
|
73524
|
+
|
|
73525
|
+
var options = {};
|
|
73526
|
+
|
|
73527
|
+
;
|
|
73528
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
73529
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
73530
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
73531
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
73532
|
+
|
|
73533
|
+
var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
|
|
73534
|
+
|
|
73535
|
+
|
|
73536
|
+
|
|
73537
|
+
|
|
73538
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_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_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
|
|
73539
|
+
|
|
73540
|
+
|
|
72824
73541
|
/***/ }),
|
|
72825
73542
|
|
|
72826
73543
|
/***/ 97739:
|