/*! elementor - v3.30.0 - 22-07-2025 */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../assets/dev/js/utils/react.js": /*!***************************************!*\ !*** ../assets/dev/js/utils/react.js ***! \***************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom")); var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js"); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /** * Support conditional rendering of a React App to the DOM, based on the React version. * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions. * * @param { React.ReactElement } app The app to render. * @param { HTMLElement } domElement The DOM element to render the app into. * * @return {{ unmount: () => void }} The unmount function. */ function render(app, domElement) { var unmountFunction; try { var root = (0, _client.createRoot)(domElement); root.render(app); unmountFunction = function unmountFunction() { root.unmount(); }; } catch (e) { // eslint-disable-next-line react/no-deprecated ReactDOM.render(app, domElement); unmountFunction = function unmountFunction() { // eslint-disable-next-line react/no-deprecated ReactDOM.unmountComponentAtNode(domElement); }; } return { unmount: unmountFunction }; } var _default = exports["default"] = { render: render }; /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-api.js": /*!********************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-api.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.triggerOptOut = exports.triggerOptIn = void 0; var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js")); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js")); var triggerOptIn = exports.triggerOptIn = /*#__PURE__*/function () { var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { return _regenerator.default.wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: return _context.abrupt("return", elementorCommon.ajax.addRequest('editor_v4_opt_in')); case 1: case "end": return _context.stop(); } }, _callee); })); return function triggerOptIn() { return _ref.apply(this, arguments); }; }(); var triggerOptOut = exports.triggerOptOut = /*#__PURE__*/function () { var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() { return _regenerator.default.wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: return _context2.abrupt("return", elementorCommon.ajax.addRequest('editor_v4_opt_out')); case 1: case "end": return _context2.stop(); } }, _callee2); })); return function triggerOptOut() { return _ref2.apply(this, arguments); }; }(); /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-content.js": /*!************************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-content.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.TextNode = exports.ContentListItem = exports.ContentList = exports.AdvantagesListItem = exports.AdvantagesList = void 0; var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react")); var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js")); var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js")); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); var _excluded = ["children"], _excluded2 = ["children"], _excluded3 = ["children"], _excluded4 = ["children"], _excluded5 = ["children"]; var TextNode = exports.TextNode = function TextNode(_ref) { var children = _ref.children, props = (0, _objectWithoutProperties2.default)(_ref, _excluded); return /*#__PURE__*/_react.default.createElement(_ui.Typography, (0, _extends2.default)({ color: "text.primary" }, props), children); }; TextNode.propTypes = { children: PropTypes.node }; var ContentList = exports.ContentList = function ContentList(_ref2) { var children = _ref2.children, props = (0, _objectWithoutProperties2.default)(_ref2, _excluded2); return /*#__PURE__*/_react.default.createElement(_ui.Box, (0, _extends2.default)({ component: "ul", sx: { my: 0 } }, props), children); }; ContentList.propTypes = { children: PropTypes.node }; var ContentListItem = exports.ContentListItem = function ContentListItem(_ref3) { var children = _ref3.children, props = (0, _objectWithoutProperties2.default)(_ref3, _excluded3); return /*#__PURE__*/_react.default.createElement(TextNode, (0, _extends2.default)({ component: "li", sx: { listStyle: 'disc', marginInlineStart: 3 } }, props), children); }; ContentListItem.propTypes = { children: PropTypes.node }; var AdvantagesList = exports.AdvantagesList = function AdvantagesList(_ref4) { var children = _ref4.children, props = (0, _objectWithoutProperties2.default)(_ref4, _excluded4); return /*#__PURE__*/_react.default.createElement(_ui.Box, (0, _extends2.default)({ component: "ul", sx: { display: 'flex', flexDirection: 'column', gap: 0.5, my: 0 } }, props), children); }; AdvantagesList.propTypes = { children: PropTypes.node }; var AdvantagesListItem = exports.AdvantagesListItem = function AdvantagesListItem(_ref5) { var children = _ref5.children, props = (0, _objectWithoutProperties2.default)(_ref5, _excluded5); return /*#__PURE__*/_react.default.createElement(TextNode, (0, _extends2.default)({ component: "li", sx: { listStyle: 'none', marginInlineStart: 0, lineHeight: '150%', display: 'flex', alignItems: 'flex-start', gap: 0.5 } }, props), /*#__PURE__*/_react.default.createElement(_icons.CheckIcon, { fontSize: "small" }), children); }; AdvantagesListItem.propTypes = { children: PropTypes.node }; /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-img-placeholders.js": /*!*********************************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-img-placeholders.js ***! \*********************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ImageSquarePlaceholder = exports.ImageLandscapePlaceholder = void 0; var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react")); var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js")); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var ImageLandscapePlaceholder = exports.ImageLandscapePlaceholder = function ImageLandscapePlaceholder(props) { return /*#__PURE__*/_react.default.createElement(_ui.SvgIcon, (0, _extends2.default)({ viewBox: "0 0 600 260" }, props), /*#__PURE__*/_react.default.createElement("rect", { x: "0", y: "0", width: "600", height: "260", fill: "#d9d9d9" })); }; var ImageSquarePlaceholder = exports.ImageSquarePlaceholder = function ImageSquarePlaceholder(props) { return /*#__PURE__*/_react.default.createElement(_ui.SvgIcon, (0, _extends2.default)({ viewBox: "0 0 500 500" }, props), /*#__PURE__*/_react.default.createElement("rect", { x: "0", y: "0", width: "500", height: "500", fill: "#d9d9d9" })); }; /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-message.js": /*!************************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-message.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Message = void 0; var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react")); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); var Message = exports.Message = function Message(_ref) { var action = _ref.action, children = _ref.children, _ref$severity = _ref.severity, severity = _ref$severity === void 0 ? 'message' : _ref$severity, onClose = _ref.onClose; return /*#__PURE__*/_react.default.createElement(_ui.Snackbar, { open: true, autoHideDuration: 4000, anchorOrigin: { vertical: 'bottom', horizontal: 'right' }, onClose: onClose }, 'message' !== severity ? /*#__PURE__*/_react.default.createElement(_ui.Alert, { variant: "filled", severity: severity, onClose: onClose }, children) : /*#__PURE__*/_react.default.createElement(_ui.SnackbarContent, { message: /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "row", gap: 1.5, alignItems: "center" }, /*#__PURE__*/_react.default.createElement(_icons.CircleCheckFilledIcon, null), children), action: /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "row", spacing: 1, alignItems: "center" }, action, /*#__PURE__*/_react.default.createElement(_ui.IconButton, { color: "inherit", size: "small", onClick: onClose }, /*#__PURE__*/_react.default.createElement(_icons.XIcon, { fontSize: "small" }))) })); }; Message.propTypes = { action: PropTypes.node, children: PropTypes.node, severity: PropTypes.oneOf(['message', 'success', 'warning', 'error']), onClose: PropTypes.func }; /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-terms.js": /*!**********************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-terms.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Terms = void 0; var _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ "../node_modules/@babel/runtime/helpers/extends.js")); var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js")); var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); var _optInContent = __webpack_require__(/*! ./opt-in-content */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-content.js"); var _DialogHeaderGroup = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogHeaderGroup */ "@elementor/ui/DialogHeaderGroup")); var _DialogHeader = _interopRequireDefault(__webpack_require__(/*! @elementor/ui/DialogHeader */ "@elementor/ui/DialogHeader")); var _excluded = ["onClose", "onSubmit", "isEnrolled"]; function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var i18n = { header: (0, _i18n.__)('Editor V4', 'elementor'), chip: (0, _i18n.__)('Alpha', 'elementor'), checkboxText: (0, _i18n.__)('I’ve read and understood.', 'elementor'), optIn: { titleText: (0, _i18n.__)('You are about to enable Editor V4 features!', 'elementor'), introText: (0, _i18n.__)('By activating, you’ll get early access to the next generation of Elementor’s Editor. This is your chance to explore new capabilities and help shape the future of Elementor! ', 'elementor'), notesHeader: (0, _i18n.__)(' Important notes:', 'elementor'), notes: { alphaPrefix: (0, _i18n.__)('Editor V4 is currently in alpha, ', 'elementor'), details: [(0, _i18n.__)('and development is still in progress. Do not use it on live sites - use a staging or development environment instead.', 'elementor'), (0, _i18n.__)('When you activate Editor V4, you’ll also be activating Containers, the Top Bar, and Nested Elements. You can turn them back off by going to WP Admin > Elementor > Settings > Features.', 'elementor')] }, activateButton: (0, _i18n.__)('Activate', 'elementor'), cancelButton: (0, _i18n.__)('Cancel', 'elementor') }, optOut: { titleText: (0, _i18n.__)('You’re deactivating Editor V4', 'elementor'), introText: (0, _i18n.__)('We hope you enjoyed testing and building with these new features.', 'elementor'), notesHeader: (0, _i18n.__)('Keep in mind:', 'elementor'), notes: { details: [(0, _i18n.__)('By deactivating, you’ll lose all Editor V4 features, and any content you created with V4-specific features will no longer be available or appear on your site.', 'elementor'), (0, _i18n.__)('Containers, the Top Bar, and Nested Elements will stay in their current status.', 'elementor')] }, activateButton: (0, _i18n.__)('Deactivate V4', 'elementor'), cancelButton: (0, _i18n.__)('Cancel', 'elementor') } }; var Terms = exports.Terms = function Terms(_ref) { var onClose = _ref.onClose, onSubmit = _ref.onSubmit, isEnrolled = _ref.isEnrolled, props = (0, _objectWithoutProperties2.default)(_ref, _excluded); var _useState = (0, _react.useState)(false), _useState2 = (0, _slicedToArray2.default)(_useState, 2), checked = _useState2[0], setChecked = _useState2[1]; var handleCheckboxChange = function handleCheckboxChange() { setChecked(function (prev) { return !prev; }); }; var handleSubmit = function handleSubmit() { if (checked) { onSubmit(); } }; var currentState = isEnrolled ? 'optOut' : 'optIn'; return /*#__PURE__*/_react.default.createElement(_ui.Dialog, (0, _extends2.default)({}, props, { open: true, onClose: onClose }), /*#__PURE__*/_react.default.createElement(_DialogHeader.default, null, /*#__PURE__*/_react.default.createElement(_DialogHeaderGroup.default, null, /*#__PURE__*/_react.default.createElement(_ui.DialogTitle, null, i18n.header), /*#__PURE__*/_react.default.createElement(_ui.Chip, { label: i18n.chip, color: "secondary", variant: "filled", size: "small" }))), /*#__PURE__*/_react.default.createElement(_ui.DialogContent, { dividers: true }, /*#__PURE__*/_react.default.createElement(_ui.Stack, { gap: 2.5 }, /*#__PURE__*/_react.default.createElement(_ui.Stack, { gap: 1 }, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { align: "center", variant: "h6" }, i18n[currentState].titleText), /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { align: "center", variant: "body2" }, i18n[currentState].introText)), /*#__PURE__*/_react.default.createElement(_ui.Stack, { gap: 1 }, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { variant: "body2" }, i18n[currentState].notesHeader), /*#__PURE__*/_react.default.createElement(_optInContent.ContentList, null, /*#__PURE__*/_react.default.createElement(_optInContent.ContentListItem, { variant: "body2" }, !isEnrolled && /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { variant: "subtitle2", component: "span" }, i18n.optIn.notes.alphaPrefix), i18n[currentState].notes.details[0]), i18n[currentState].notes.details.slice(1).map(function (entry, index) { return /*#__PURE__*/_react.default.createElement(_optInContent.ContentListItem, { key: index, variant: "body2" }, entry); }))), /*#__PURE__*/_react.default.createElement(_ui.FormControlLabel, { control: /*#__PURE__*/_react.default.createElement(_ui.Checkbox, { checked: !!checked, onChange: handleCheckboxChange, color: "secondary", size: "small" }), label: /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { variant: "body2" }, i18n.checkboxText) }))), /*#__PURE__*/_react.default.createElement(_ui.DialogActions, null, /*#__PURE__*/_react.default.createElement(_ui.Button, { variant: "text", color: "secondary", onClick: onClose }, i18n[currentState].cancelButton), /*#__PURE__*/_react.default.createElement(_ui.Button, { disabled: !checked, variant: "contained", onClick: handleSubmit }, i18n[currentState].activateButton))); }; Terms.propTypes = { onClose: PropTypes.func, onSubmit: PropTypes.func, isEnrolled: PropTypes.bool }; /***/ }), /***/ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in.js": /*!****************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/opt-in.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OptIn = void 0; var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); var _optInContent = __webpack_require__(/*! ./opt-in-content */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-content.js"); var _optInImgPlaceholders = __webpack_require__(/*! ./opt-in-img-placeholders */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-img-placeholders.js"); var _optInMessage = __webpack_require__(/*! ./opt-in-message */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-message.js"); var _optInApi = __webpack_require__(/*! ./opt-in-api */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-api.js"); var _dompurify = _interopRequireDefault(__webpack_require__(/*! dompurify */ "../node_modules/dompurify/dist/purify.cjs.js")); var _optInTerms = __webpack_require__(/*! ./opt-in-terms */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in-terms.js"); var _elementorSettingsEdi; function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } var decodeHtmlUrl = function decodeHtmlUrl(html) { var textarea = document.createElement('textarea'); textarea.innerHTML = html; return textarea.value; }; var OPT_IN_MSG = 'e-editor-v4-opt-in-message'; var OPT_OUT_MSG = 'e-editor-v4-opt-out-message'; var i18n = { title: (0, _i18n.__)('The road to Editor V4', 'elementor'), chip: (0, _i18n.__)('Alpha', 'elementor'), welcomeText: (0, _i18n.__)('Welcome to a new era of web creation with Editor V4. It’s faster, more flexible, and built with a fresh approach to structure & styling.', 'elementor'), advantagesHeader: (0, _i18n.__)('Here’s what’s inside the alpha version:', 'elementor'), advantages: [(0, _i18n.__)('Unparalleled performance - Cleaner code & a lighter CSS footprint.', 'elementor'), (0, _i18n.__)('Professional tools at your fingertips - classes and states.', 'elementor'), (0, _i18n.__)('Consistent styling experience - A unified Style tab for all elements.', 'elementor'), (0, _i18n.__)('Fully responsive design - Customize any style property per screen.', 'elementor')], andMore: (0, _i18n.__)('And much more!', 'elementor'), readMore: (0, _i18n.__)('Learn more', 'elementor'), warning: (0, _i18n.__)('Editor V4 is still in alpha and should not be used on live sites yet.', 'elementor'), feedback: (0, _i18n.__)('We’d love your feedback!', 'elementor'), overToGithub: (0, _i18n.__)('Head over to Github', 'elementor'), tellUsWhy: (0, _i18n.__)('Tell us why', 'elementor'), image: (0, _i18n.__)('Editor V4', 'elementor'), buttons: { tryOut: (0, _i18n.__)('Try out the new experience', 'elementor'), optIn: (0, _i18n.__)('Activate the new experience', 'elementor'), optOut: (0, _i18n.__)('Deactivate V4', 'elementor') }, messages: { optInSuccess: (0, _i18n.__)('Welcome! You’ve got the newest version of the editor.', 'elementor'), optOut: (0, _i18n.__)('You’ve deactivated the new Editor. Have feedback?', 'elementor'), error: (0, _i18n.__)('Ouch, there was a glitch. Try activating V4 again soon.', 'elementor') } }; var optInLinks = { feedbackUrl: 'https://go.elementor.com/wp-dash-opt-in-v4-feedback/', readMoreUrl: 'https://go.elementor.com/wp-dash-opt-in-v4-help-center/', tryOutUrl: _dompurify.default.sanitize(decodeHtmlUrl((_elementorSettingsEdi = elementorSettingsEditor4OptIn) === null || _elementorSettingsEdi === void 0 || (_elementorSettingsEdi = _elementorSettingsEdi.urls) === null || _elementorSettingsEdi === void 0 ? void 0 : _elementorSettingsEdi.start_building)) || '#' }; var optInImages = { square: { src: 'https://assets.elementor.com/v4-promotion/v1/images/v4_opt_in_500.png', sx: { width: '100%', maxHeight: '507px', maxWidth: 'sm', height: 'auto', mx: 'auto', borderRadius: 2 } }, landscape: { src: 'https://assets.elementor.com/v4-promotion/v1/images/v4_opt_in_260.png', sx: { width: '100%', height: 'auto', maxHeight: '260px', mx: 'auto', maxWidth: 'sm', borderRadius: 2 } } }; var OptIn = exports.OptIn = function OptIn(_ref) { var _state$features; var state = _ref.state; var _useState = (0, _react.useState)(false), _useState2 = (0, _slicedToArray2.default)(_useState, 2), showTerms = _useState2[0], setShowTerms = _useState2[1]; var _useState3 = (0, _react.useState)(''), _useState4 = (0, _slicedToArray2.default)(_useState3, 2), optInMessage = _useState4[0], setOptInMessage = _useState4[1]; var _useState5 = (0, _react.useState)(''), _useState6 = (0, _slicedToArray2.default)(_useState5, 2), optOutMessage = _useState6[0], setOptOutMessage = _useState6[1]; var _useState7 = (0, _react.useState)(''), _useState8 = (0, _slicedToArray2.default)(_useState7, 2), errorMessage = _useState8[0], setErrorMessage = _useState8[1]; (0, _react.useEffect)(function () { var optInMsg = sessionStorage.getItem(OPT_IN_MSG); var optOutMsg = sessionStorage.getItem(OPT_OUT_MSG); if (optInMsg) { setTimeout(function () { setOptInMessage(optInMsg); }, 100); sessionStorage.removeItem(OPT_IN_MSG); } if (optOutMsg) { setTimeout(function () { setOptOutMessage(optOutMsg); }, 100); sessionStorage.removeItem(OPT_OUT_MSG); } }, []); var maybeOptIn = function maybeOptIn() { (0, _optInApi.triggerOptIn)().then(function () { sessionStorage.setItem(OPT_IN_MSG, i18n.messages.optInSuccess); window.location.reload(); }).catch(function () { setErrorMessage(i18n.messages.error); }); }; var maybeOptOut = function maybeOptOut() { (0, _optInApi.triggerOptOut)().then(function () { sessionStorage.setItem(OPT_OUT_MSG, i18n.messages.optOut); window.location.reload(); }).catch(function () { setErrorMessage(i18n.messages.error); }); }; var handlePopoverClose = function handlePopoverClose() { setShowTerms(false); }; var isEnrolled = !!(state !== null && state !== void 0 && (_state$features = state.features) !== null && _state$features !== void 0 && _state$features.editor_v4); return /*#__PURE__*/_react.default.createElement(_ui.Container, { maxWidth: "xl", sx: { marginBlockStart: 2.5, display: 'flex', flexBasis: '100%', gap: 3, flexDirection: { xs: 'column-reverse', md: 'row' } } }, /*#__PURE__*/_react.default.createElement(_ui.Stack, { sx: { flex: 1, maxWidth: { md: '507px', sm: '600px' }, gap: 2.5, mx: 'auto' } }, /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "row", alignItems: "center", gap: 1 }, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { variant: "h4", width: "fit-content" }, i18n.title), /*#__PURE__*/_react.default.createElement(_ui.Chip, { size: "small", color: "secondary", variant: "filled", label: i18n.chip })), /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "column", gap: 3 }, /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, null, i18n.welcomeText)), /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, { variant: "subtitle1", sx: { mb: 1.5 } }, i18n.advantagesHeader), /*#__PURE__*/_react.default.createElement(_optInContent.AdvantagesList, null, i18n.advantages.map(function (entry, i) { return /*#__PURE__*/_react.default.createElement(_optInContent.AdvantagesListItem, { key: i }, entry); }), /*#__PURE__*/_react.default.createElement(_optInContent.AdvantagesListItem, { key: i18n.advantages.length }, i18n.andMore, " ", /*#__PURE__*/_react.default.createElement(_ui.Link, { color: "text.primary", href: optInLinks.readMoreUrl, target: "_blank" }, i18n.readMore))))), /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "row", alignItems: "self-start", gap: 0.5, sx: { mb: 2.5 } }, /*#__PURE__*/_react.default.createElement(_icons.AlertTriangleIcon, { color: "action" }), /*#__PURE__*/_react.default.createElement(_ui.Box, null, /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, null, i18n.warning))), /*#__PURE__*/_react.default.createElement(_ui.Stack, { direction: "column", width: "clamp(240px, max(340px, 75%), 340px)", maxWidth: "100%", gap: 2 }, !isEnrolled ? /*#__PURE__*/_react.default.createElement(_ui.Button, { onClick: function onClick() { setShowTerms(true); }, size: "large", color: "primary", variant: "contained", sx: { flexGrow: 1 } }, i18n.buttons.optIn) : /*#__PURE__*/_react.default.createElement(_ui.Button, { onClick: function onClick() { return window.location.href = optInLinks.tryOutUrl; }, size: "large", color: "primary", variant: "contained", sx: { flexGrow: 1 } }, i18n.buttons.tryOut), /*#__PURE__*/_react.default.createElement(_ui.Button, { onClick: function onClick() { setShowTerms(true); }, size: "large", color: "secondary", variant: "outlined", sx: { flexGrow: 1, visibility: isEnrolled ? 'visible' : 'hidden' } }, i18n.buttons.optOut)), /*#__PURE__*/_react.default.createElement(_optInContent.TextNode, null, i18n.feedback, " ", /*#__PURE__*/_react.default.createElement(_ui.Link, { underline: "hover", href: optInLinks.feedbackUrl, target: "_blank" }, i18n.overToGithub))), /*#__PURE__*/_react.default.createElement(_ui.Stack, { sx: { flex: 1, px: 0, maxWidth: { md: '507px', sm: '600px' }, mx: 'auto' } }, optInImages.square.src ? /*#__PURE__*/_react.default.createElement(_ui.Image, { src: optInImages.square.src, alt: i18n.image, sx: _objectSpread(_objectSpread({}, optInImages.square.sx), {}, { display: { xs: 'none', md: 'block' } }) }) : /*#__PURE__*/_react.default.createElement(_optInImgPlaceholders.ImageSquarePlaceholder, { sx: _objectSpread(_objectSpread({}, optInImages.square.sx), {}, { display: { xs: 'none', md: 'block' } }) }), optInImages.landscape.src ? /*#__PURE__*/_react.default.createElement(_ui.Image, { src: optInImages.landscape.src, alt: i18n.image, sx: _objectSpread(_objectSpread({}, optInImages.landscape.sx), {}, { display: { xs: 'block', md: 'none' } }) }) : /*#__PURE__*/_react.default.createElement(_optInImgPlaceholders.ImageLandscapePlaceholder, { sx: _objectSpread(_objectSpread({}, optInImages.landscape.sx), {}, { display: { xs: 'block', md: 'none' } }) })), showTerms && /*#__PURE__*/_react.default.createElement(_optInTerms.Terms, { onClose: handlePopoverClose, onSubmit: isEnrolled ? maybeOptOut : maybeOptIn, isEnrolled: isEnrolled }), optInMessage && /*#__PURE__*/_react.default.createElement(_optInMessage.Message, { onClose: function onClose() { return setOptInMessage(''); } }, optInMessage), optOutMessage && /*#__PURE__*/_react.default.createElement(_optInMessage.Message, { onClose: function onClose() { return setOptOutMessage(''); }, action: /*#__PURE__*/_react.default.createElement(_ui.Link, { href: optInLinks.feedbackUrl, target: "_blank", color: "inherit", sx: { cursor: 'pointer', textDecoration: 'none', pl: 3 } }, i18n.tellUsWhy) }, optOutMessage), errorMessage && /*#__PURE__*/_react.default.createElement(_optInMessage.Message, { severity: "error", onClose: function onClose() { return setErrorMessage(''); } }, errorMessage)); }; OptIn.propTypes = { state: PropTypes.shape({ features: PropTypes.shape({ editor_v4: PropTypes.bool }) }).isRequired }; /***/ }), /***/ "../node_modules/dompurify/dist/purify.cjs.js": /*!****************************************************!*\ !*** ../node_modules/dompurify/dist/purify.cjs.js ***! \****************************************************/ /***/ ((module) => { "use strict"; /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */ const { entries, setPrototypeOf, isFrozen, getPrototypeOf, getOwnPropertyDescriptor } = Object; let { freeze, seal, create } = Object; // eslint-disable-line import/no-mutable-exports let { apply, construct } = typeof Reflect !== 'undefined' && Reflect; if (!freeze) { freeze = function freeze(x) { return x; }; } if (!seal) { seal = function seal(x) { return x; }; } if (!apply) { apply = function apply(fun, thisValue, args) { return fun.apply(thisValue, args); }; } if (!construct) { construct = function construct(Func, args) { return new Func(...args); }; } const arrayForEach = unapply(Array.prototype.forEach); const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf); const arrayPop = unapply(Array.prototype.pop); const arrayPush = unapply(Array.prototype.push); const arraySplice = unapply(Array.prototype.splice); const stringToLowerCase = unapply(String.prototype.toLowerCase); const stringToString = unapply(String.prototype.toString); const stringMatch = unapply(String.prototype.match); const stringReplace = unapply(String.prototype.replace); const stringIndexOf = unapply(String.prototype.indexOf); const stringTrim = unapply(String.prototype.trim); const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty); const regExpTest = unapply(RegExp.prototype.test); const typeErrorCreate = unconstruct(TypeError); /** * Creates a new function that calls the given function with a specified thisArg and arguments. * * @param func - The function to be wrapped and called. * @returns A new function that calls the given function with a specified thisArg and arguments. */ function unapply(func) { return function (thisArg) { if (thisArg instanceof RegExp) { thisArg.lastIndex = 0; } for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } return apply(func, thisArg, args); }; } /** * Creates a new function that constructs an instance of the given constructor function with the provided arguments. * * @param func - The constructor function to be wrapped and called. * @returns A new function that constructs an instance of the given constructor function with the provided arguments. */ function unconstruct(func) { return function () { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } return construct(func, args); }; } /** * Add properties to a lookup table * * @param set - The set to which elements will be added. * @param array - The array containing elements to be added to the set. * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set. * @returns The modified set with added elements. */ function addToSet(set, array) { let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase; if (setPrototypeOf) { // Make 'in' and truthy checks like Boolean(set.constructor) // independent of any properties defined on Object.prototype. // Prevent prototype setters from intercepting set as a this value. setPrototypeOf(set, null); } let l = array.length; while (l--) { let element = array[l]; if (typeof element === 'string') { const lcElement = transformCaseFunc(element); if (lcElement !== element) { // Config presets (e.g. tags.js, attrs.js) are immutable. if (!isFrozen(array)) { array[l] = lcElement; } element = lcElement; } } set[element] = true; } return set; } /** * Clean up an array to harden against CSPP * * @param array - The array to be cleaned. * @returns The cleaned version of the array */ function cleanArray(array) { for (let index = 0; index < array.length; index++) { const isPropertyExist = objectHasOwnProperty(array, index); if (!isPropertyExist) { array[index] = null; } } return array; } /** * Shallow clone an object * * @param object - The object to be cloned. * @returns A new object that copies the original. */ function clone(object) { const newObject = create(null); for (const [property, value] of entries(object)) { const isPropertyExist = objectHasOwnProperty(object, property); if (isPropertyExist) { if (Array.isArray(value)) { newObject[property] = cleanArray(value); } else if (value && typeof value === 'object' && value.constructor === Object) { newObject[property] = clone(value); } else { newObject[property] = value; } } } return newObject; } /** * This method automatically checks if the prop is function or getter and behaves accordingly. * * @param object - The object to look up the getter function in its prototype chain. * @param prop - The property name for which to find the getter function. * @returns The getter function found in the prototype chain or a fallback function. */ function lookupGetter(object, prop) { while (object !== null) { const desc = getOwnPropertyDescriptor(object, prop); if (desc) { if (desc.get) { return unapply(desc.get); } if (typeof desc.value === 'function') { return unapply(desc.value); } } object = getPrototypeOf(object); } function fallbackValue() { return null; } return fallbackValue; } const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']); const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default. // We still need to know them so that we can do namespace // checks properly in case one wants to add them to // allow-list. const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']); const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']); // Similarly to SVG, we want to know all MathML elements, // even those that we disallow by default. const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']); const text = freeze(['#text']); const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']); const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']); const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']); const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']); // eslint-disable-next-line unicorn/better-regex const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm); const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape ); const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i); const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex ); const DOCTYPE_NAME = seal(/^html$/i); const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i); var EXPRESSIONS = /*#__PURE__*/Object.freeze({ __proto__: null, ARIA_ATTR: ARIA_ATTR, ATTR_WHITESPACE: ATTR_WHITESPACE, CUSTOM_ELEMENT: CUSTOM_ELEMENT, DATA_ATTR: DATA_ATTR, DOCTYPE_NAME: DOCTYPE_NAME, ERB_EXPR: ERB_EXPR, IS_ALLOWED_URI: IS_ALLOWED_URI, IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA, MUSTACHE_EXPR: MUSTACHE_EXPR, TMPLIT_EXPR: TMPLIT_EXPR }); /* eslint-disable @typescript-eslint/indent */ // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType const NODE_TYPE = { element: 1, attribute: 2, text: 3, cdataSection: 4, entityReference: 5, // Deprecated entityNode: 6, // Deprecated progressingInstruction: 7, comment: 8, document: 9, documentType: 10, documentFragment: 11, notation: 12 // Deprecated }; const getGlobal = function getGlobal() { return typeof window === 'undefined' ? null : window; }; /** * Creates a no-op policy for internal use only. * Don't export this function outside this module! * @param trustedTypes The policy factory. * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix). * @return The policy created (or null, if Trusted Types * are not supported or creating the policy failed). */ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) { if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') { return null; } // Allow the callers to control the unique policy name // by adding a data-tt-policy-suffix to the script element with the DOMPurify. // Policy creation with duplicate names throws in Trusted Types. let suffix = null; const ATTR_NAME = 'data-tt-policy-suffix'; if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) { suffix = purifyHostElement.getAttribute(ATTR_NAME); } const policyName = 'dompurify' + (suffix ? '#' + suffix : ''); try { return trustedTypes.createPolicy(policyName, { createHTML(html) { return html; }, createScriptURL(scriptUrl) { return scriptUrl; } }); } catch (_) { // Policy creation failed (most likely another DOMPurify script has // already run). Skip creating the policy, as this will only cause errors // if TT are enforced. console.warn('TrustedTypes policy ' + policyName + ' could not be created.'); return null; } }; const _createHooksMap = function _createHooksMap() { return { afterSanitizeAttributes: [], afterSanitizeElements: [], afterSanitizeShadowDOM: [], beforeSanitizeAttributes: [], beforeSanitizeElements: [], beforeSanitizeShadowDOM: [], uponSanitizeAttribute: [], uponSanitizeElement: [], uponSanitizeShadowNode: [] }; }; function createDOMPurify() { let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal(); const DOMPurify = root => createDOMPurify(root); DOMPurify.version = '3.2.6'; DOMPurify.removed = []; if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) { // Not running in a browser, provide a factory function // so that you can pass your own Window DOMPurify.isSupported = false; return DOMPurify; } let { document } = window; const originalDocument = document; const currentScript = originalDocument.currentScript; const { DocumentFragment, HTMLTemplateElement, Node, Element, NodeFilter, NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap, HTMLFormElement, DOMParser, trustedTypes } = window; const ElementPrototype = Element.prototype; const cloneNode = lookupGetter(ElementPrototype, 'cloneNode'); const remove = lookupGetter(ElementPrototype, 'remove'); const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling'); const getChildNodes = lookupGetter(ElementPrototype, 'childNodes'); const getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a // new document created via createHTMLDocument. As per the spec // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries) // a new empty registry is used when creating a template contents owner // document, so we use that as our parent document to ensure nothing // is inherited. if (typeof HTMLTemplateElement === 'function') { const template = document.createElement('template'); if (template.content && template.content.ownerDocument) { document = template.content.ownerDocument; } } let trustedTypesPolicy; let emptyHTML = ''; const { implementation, createNodeIterator, createDocumentFragment, getElementsByTagName } = document; const { importNode } = originalDocument; let hooks = _createHooksMap(); /** * Expose whether this browser supports running the full DOMPurify. */ DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined; const { MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR, DATA_ATTR, ARIA_ATTR, IS_SCRIPT_OR_DATA, ATTR_WHITESPACE, CUSTOM_ELEMENT } = EXPRESSIONS; let { IS_ALLOWED_URI: IS_ALLOWED_URI$1 } = EXPRESSIONS; /** * We consider the elements and attributes below to be safe. Ideally * don't add any new ones but feel free to remove unwanted ones. */ /* allowed element names */ let ALLOWED_TAGS = null; const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]); /* Allowed attribute names */ let ALLOWED_ATTR = null; const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]); /* * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements. * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements) * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list) * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`. */ let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, { tagNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, attributeNameCheck: { writable: true, configurable: false, enumerable: true, value: null }, allowCustomizedBuiltInElements: { writable: true, configurable: false, enumerable: true, value: false } })); /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */ let FORBID_TAGS = null; /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */ let FORBID_ATTR = null; /* Decide if ARIA attributes are okay */ let ALLOW_ARIA_ATTR = true; /* Decide if custom data attributes are okay */ let ALLOW_DATA_ATTR = true; /* Decide if unknown protocols are okay */ let ALLOW_UNKNOWN_PROTOCOLS = false; /* Decide if self-closing tags in attributes are allowed. * Usually removed due to a mXSS issue in jQuery 3.0 */ let ALLOW_SELF_CLOSE_IN_ATTR = true; /* Output should be safe for common template engines. * This means, DOMPurify removes data attributes, mustaches and ERB */ let SAFE_FOR_TEMPLATES = false; /* Output should be safe even for XML used within HTML and alike. * This means, DOMPurify removes comments when containing risky content. */ let SAFE_FOR_XML = true; /* Decide if document with ... should be returned */ let WHOLE_DOCUMENT = false; /* Track whether config is already set on this instance of DOMPurify. */ let SET_CONFIG = false; /* Decide if all elements (e.g. style, script) must be children of * document.body. By default, browsers might move them to document.head */ let FORCE_BODY = false; /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html * string (or a TrustedHTML object if Trusted Types are supported). * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead */ let RETURN_DOM = false; /* Decide if a DOM `DocumentFragment` should be returned, instead of a html * string (or a TrustedHTML object if Trusted Types are supported) */ let RETURN_DOM_FRAGMENT = false; /* Try to return a Trusted Type object instead of a string, return a string in * case Trusted Types are not supported */ let RETURN_TRUSTED_TYPE = false; /* Output should be free from DOM clobbering attacks? * This sanitizes markups named with colliding, clobberable built-in DOM APIs. */ let SANITIZE_DOM = true; /* Achieve full DOM Clobbering protection by isolating the namespace of named * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules. * * HTML/DOM spec rules that enable DOM Clobbering: * - Named Access on Window (§7.3.3) * - DOM Tree Accessors (§3.1.5) * - Form Element Parent-Child Relations (§4.10.3) * - Iframe srcdoc / Nested WindowProxies (§4.8.5) * - HTMLCollection (§4.2.10.2) * * Namespace isolation is implemented by prefixing `id` and `name` attributes * with a constant string, i.e., `user-content-` */ let SANITIZE_NAMED_PROPS = false; const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-'; /* Keep element content when removing element? */ let KEEP_CONTENT = true; /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead * of importing it into a new Document and returning a sanitized copy */ let IN_PLACE = false; /* Allow usage of profiles like html, svg and mathMl */ let USE_PROFILES = {}; /* Tags to ignore content of when KEEP_CONTENT is true */ let FORBID_CONTENTS = null; const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']); /* Tags that are safe for data: URIs */ let DATA_URI_TAGS = null; const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']); /* Attributes safe for values like "javascript:" */ let URI_SAFE_ATTRIBUTES = null; const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']); const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML'; const SVG_NAMESPACE = 'http://www.w3.org/2000/svg'; const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml'; /* Document namespace */ let NAMESPACE = HTML_NAMESPACE; let IS_EMPTY_INPUT = false; /* Allowed XHTML+XML namespaces */ let ALLOWED_NAMESPACES = null; const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString); let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']); let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']); // Certain elements are allowed in both SVG and HTML // namespace. We need to specify them explicitly // so that they don't get erroneously deleted from // HTML namespace. const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']); /* Parsing of strict XHTML documents */ let PARSER_MEDIA_TYPE = null; const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html']; const DEFAULT_PARSER_MEDIA_TYPE = 'text/html'; let transformCaseFunc = null; /* Keep a reference to config to pass to hooks */ let CONFIG = null; /* Ideally, do not touch anything below this line */ /* ______________________________________________ */ const formElement = document.createElement('form'); const isRegexOrFunction = function isRegexOrFunction(testValue) { return testValue instanceof RegExp || testValue instanceof Function; }; /** * _parseConfig * * @param cfg optional config literal */ // eslint-disable-next-line complexity const _parseConfig = function _parseConfig() { let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (CONFIG && CONFIG === cfg) { return; } /* Shield configuration object from tampering */ if (!cfg || typeof cfg !== 'object') { cfg = {}; } /* Shield configuration object from prototype pollution */ cfg = clone(cfg); PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is. transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase; /* Set configuration parameters */ ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS; ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR; ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES; URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES; DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS; FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS; FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({}); FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({}); USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false; ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false RETURN_DOM = cfg.RETURN_DOM || false; // Default false RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false FORCE_BODY = cfg.FORCE_BODY || false; // Default false SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true IN_PLACE = cfg.IN_PLACE || false; // Default false IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI; NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE; MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS; HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS; CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {}; if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) { CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck; } if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) { CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck; } if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') { CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements; } if (SAFE_FOR_TEMPLATES) { ALLOW_DATA_ATTR = false; } if (RETURN_DOM_FRAGMENT) { RETURN_DOM = true; } /* Parse profile info */ if (USE_PROFILES) { ALLOWED_TAGS = addToSet({}, text); ALLOWED_ATTR = []; if (USE_PROFILES.html === true) { addToSet(ALLOWED_TAGS, html$1); addToSet(ALLOWED_ATTR, html); } if (USE_PROFILES.svg === true) { addToSet(ALLOWED_TAGS, svg$1); addToSet(ALLOWED_ATTR, svg); addToSet(ALLOWED_ATTR, xml); } if (USE_PROFILES.svgFilters === true) { addToSet(ALLOWED_TAGS, svgFilters); addToSet(ALLOWED_ATTR, svg); addToSet(ALLOWED_ATTR, xml); } if (USE_PROFILES.mathMl === true) { addToSet(ALLOWED_TAGS, mathMl$1); addToSet(ALLOWED_ATTR, mathMl); addToSet(ALLOWED_ATTR, xml); } } /* Merge configuration parameters */ if (cfg.ADD_TAGS) { if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) { ALLOWED_TAGS = clone(ALLOWED_TAGS); } addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc); } if (cfg.ADD_ATTR) { if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) { ALLOWED_ATTR = clone(ALLOWED_ATTR); } addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc); } if (cfg.ADD_URI_SAFE_ATTR) { addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc); } if (cfg.FORBID_CONTENTS) { if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) { FORBID_CONTENTS = clone(FORBID_CONTENTS); } addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc); } /* Add #text in case KEEP_CONTENT is set to true */ if (KEEP_CONTENT) { ALLOWED_TAGS['#text'] = true; } /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */ if (WHOLE_DOCUMENT) { addToSet(ALLOWED_TAGS, ['html', 'head', 'body']); } /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */ if (ALLOWED_TAGS.table) { addToSet(ALLOWED_TAGS, ['tbody']); delete FORBID_TAGS.tbody; } if (cfg.TRUSTED_TYPES_POLICY) { if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') { throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.'); } if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') { throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.'); } // Overwrite existing TrustedTypes policy. trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY; // Sign local variables required by `sanitize`. emptyHTML = trustedTypesPolicy.createHTML(''); } else { // Uninitialized policy, attempt to initialize the internal dompurify policy. if (trustedTypesPolicy === undefined) { trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript); } // If creating the internal policy succeeded sign internal variables. if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') { emptyHTML = trustedTypesPolicy.createHTML(''); } } // Prevent further manipulation of configuration. // Not available in IE8, Safari 5, etc. if (freeze) { freeze(cfg); } CONFIG = cfg; }; /* Keep track of all possible SVG and MathML tags * so that we can perform the namespace checks * correctly. */ const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]); const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]); /** * @param element a DOM element whose namespace is being checked * @returns Return false if the element has a * namespace that a spec-compliant parser would never * return. Return true otherwise. */ const _checkValidNamespace = function _checkValidNamespace(element) { let parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode // can be null. We just simulate parent in this case. if (!parent || !parent.tagName) { parent = { namespaceURI: NAMESPACE, tagName: 'template' }; } const tagName = stringToLowerCase(element.tagName); const parentTagName = stringToLowerCase(parent.tagName); if (!ALLOWED_NAMESPACES[element.namespaceURI]) { return false; } if (element.namespaceURI === SVG_NAMESPACE) { // The only way to switch from HTML namespace to SVG // is via . If it happens via any other tag, then // it should be killed. if (parent.namespaceURI === HTML_NAMESPACE) { return tagName === 'svg'; } // The only way to switch from MathML to SVG is via` // svg if parent is either or MathML // text integration points. if (parent.namespaceURI === MATHML_NAMESPACE) { return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]); } // We only allow elements that are defined in SVG // spec. All others are disallowed in SVG namespace. return Boolean(ALL_SVG_TAGS[tagName]); } if (element.namespaceURI === MATHML_NAMESPACE) { // The only way to switch from HTML namespace to MathML // is via . If it happens via any other tag, then // it should be killed. if (parent.namespaceURI === HTML_NAMESPACE) { return tagName === 'math'; } // The only way to switch from SVG to MathML is via // and HTML integration points if (parent.namespaceURI === SVG_NAMESPACE) { return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName]; } // We only allow elements that are defined in MathML // spec. All others are disallowed in MathML namespace. return Boolean(ALL_MATHML_TAGS[tagName]); } if (element.namespaceURI === HTML_NAMESPACE) { // The only way to switch from SVG to HTML is via // HTML integration points, and from MathML to HTML // is via MathML text integration points if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) { return false; } if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) { return false; } // We disallow tags that are specific for MathML // or SVG and should never appear in HTML namespace return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]); } // For XHTML and XML documents that support custom namespaces if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) { return true; } // The code should never reach this place (this means // that the element somehow got namespace that is not // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES). // Return false just in case. return false; }; /** * _forceRemove * * @param node a DOM node */ const _forceRemove = function _forceRemove(node) { arrayPush(DOMPurify.removed, { element: node }); try { // eslint-disable-next-line unicorn/prefer-dom-node-remove getParentNode(node).removeChild(node); } catch (_) { remove(node); } }; /** * _removeAttribute * * @param name an Attribute name * @param element a DOM node */ const _removeAttribute = function _removeAttribute(name, element) { try { arrayPush(DOMPurify.removed, { attribute: element.getAttributeNode(name), from: element }); } catch (_) { arrayPush(DOMPurify.removed, { attribute: null, from: element }); } element.removeAttribute(name); // We void attribute values for unremovable "is" attributes if (name === 'is') { if (RETURN_DOM || RETURN_DOM_FRAGMENT) { try { _forceRemove(element); } catch (_) {} } else { try { element.setAttribute(name, ''); } catch (_) {} } } }; /** * _initDocument * * @param dirty - a string of dirty markup * @return a DOM, filled with the dirty markup */ const _initDocument = function _initDocument(dirty) { /* Create a HTML document */ let doc = null; let leadingWhitespace = null; if (FORCE_BODY) { dirty = '' + dirty; } else { /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */ const matches = stringMatch(dirty, /^[\r\n\t ]+/); leadingWhitespace = matches && matches[0]; } if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) { // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict) dirty = '' + dirty + ''; } const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty; /* * Use the DOMParser API by default, fallback later if needs be * DOMParser not work for svg when has multiple root element. */ if (NAMESPACE === HTML_NAMESPACE) { try { doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE); } catch (_) {} } /* Use createHTMLDocument in case DOMParser is not available */ if (!doc || !doc.documentElement) { doc = implementation.createDocument(NAMESPACE, 'template', null); try { doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload; } catch (_) { // Syntax error if dirtyPayload is invalid xml } } const body = doc.body || doc.documentElement; if (dirty && leadingWhitespace) { body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null); } /* Work on whole document or just its body */ if (NAMESPACE === HTML_NAMESPACE) { return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0]; } return WHOLE_DOCUMENT ? doc.documentElement : body; }; /** * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. * * @param root The root element or node to start traversing on. * @return The created NodeIterator */ const _createNodeIterator = function _createNodeIterator(root) { return createNodeIterator.call(root.ownerDocument || root, root, // eslint-disable-next-line no-bitwise NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null); }; /** * _isClobbered * * @param element element to check for clobbering attacks * @return true if clobbered, false if safe */ const _isClobbered = function _isClobbered(element) { return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function'); }; /** * Checks whether the given object is a DOM node. * * @param value object to check whether it's a DOM node * @return true is object is a DOM node */ const _isNode = function _isNode(value) { return typeof Node === 'function' && value instanceof Node; }; function _executeHooks(hooks, currentNode, data) { arrayForEach(hooks, hook => { hook.call(DOMPurify, currentNode, data, CONFIG); }); } /** * _sanitizeElements * * @protect nodeName * @protect textContent * @protect removeChild * @param currentNode to check for permission to exist * @return true if node was killed, false if left alive */ const _sanitizeElements = function _sanitizeElements(currentNode) { let content = null; /* Execute a hook if present */ _executeHooks(hooks.beforeSanitizeElements, currentNode, null); /* Check if element is clobbered or can clobber */ if (_isClobbered(currentNode)) { _forceRemove(currentNode); return true; } /* Now let's check the element's type and name */ const tagName = transformCaseFunc(currentNode.nodeName); /* Execute a hook if present */ _executeHooks(hooks.uponSanitizeElement, currentNode, { tagName, allowedTags: ALLOWED_TAGS }); /* Detect mXSS attempts abusing namespace confusion */ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) { _forceRemove(currentNode); return true; } /* Remove any occurrence of processing instructions */ if (currentNode.nodeType === NODE_TYPE.progressingInstruction) { _forceRemove(currentNode); return true; } /* Remove any kind of possibly harmful comments */ if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) { _forceRemove(currentNode); return true; } /* Remove element if anything forbids its presence */ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) { /* Check if we have a custom element to handle */ if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) { if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) { return false; } if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) { return false; } } /* Keep content except for bad-listed elements */ if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) { const parentNode = getParentNode(currentNode) || currentNode.parentNode; const childNodes = getChildNodes(currentNode) || currentNode.childNodes; if (childNodes && parentNode) { const childCount = childNodes.length; for (let i = childCount - 1; i >= 0; --i) { const childClone = cloneNode(childNodes[i], true); childClone.__removalCount = (currentNode.__removalCount || 0) + 1; parentNode.insertBefore(childClone, getNextSibling(currentNode)); } } } _forceRemove(currentNode); return true; } /* Check whether element has a valid namespace */ if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) { _forceRemove(currentNode); return true; } /* Make sure that older browsers don't get fallback-tag mXSS */ if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) { _forceRemove(currentNode); return true; } /* Sanitize element content to be template-safe */ if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) { /* Get the element's text content */ content = currentNode.textContent; arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => { content = stringReplace(content, expr, ' '); }); if (currentNode.textContent !== content) { arrayPush(DOMPurify.removed, { element: currentNode.cloneNode() }); currentNode.textContent = content; } } /* Execute a hook if present */ _executeHooks(hooks.afterSanitizeElements, currentNode, null); return false; }; /** * _isValidAttribute * * @param lcTag Lowercase tag name of containing element. * @param lcName Lowercase attribute name. * @param value Attribute value. * @return Returns true if `value` is valid, otherwise false. */ // eslint-disable-next-line complexity const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) { /* Make sure attribute cannot clobber */ if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) { return false; } /* Allow valid data-* attributes: At least one character after "-" (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes) XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804) We don't need to check the value; it's always URI safe. */ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) { if ( // First condition does a very basic check if a) it's basically a valid custom element tagname AND // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else { return false; } /* Check value is safe. First, is attr inert? If so, is safe */ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) { return false; } else ; return true; }; /** * _isBasicCustomElement * checks if at least one dash is included in tagName, and it's not the first char * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name * * @param tagName name of the tag of the node to sanitize * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false. */ const _isBasicCustomElement = function _isBasicCustomElement(tagName) { return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT); }; /** * _sanitizeAttributes * * @protect attributes * @protect nodeName * @protect removeAttribute * @protect setAttribute * * @param currentNode to sanitize */ const _sanitizeAttributes = function _sanitizeAttributes(currentNode) { /* Execute a hook if present */ _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null); const { attributes } = currentNode; /* Check if we have attributes; if not we might have a text node */ if (!attributes || _isClobbered(currentNode)) { return; } const hookEvent = { attrName: '', attrValue: '', keepAttr: true, allowedAttributes: ALLOWED_ATTR, forceKeepAttr: undefined }; let l = attributes.length; /* Go backwards over all attributes; safely remove bad ones */ while (l--) { const attr = attributes[l]; const { name, namespaceURI, value: attrValue } = attr; const lcName = transformCaseFunc(name); const initValue = attrValue; let value = name === 'value' ? initValue : stringTrim(initValue); /* Execute a hook if present */ hookEvent.attrName = lcName; hookEvent.attrValue = value; hookEvent.keepAttr = true; hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent); value = hookEvent.attrValue; /* Full DOM Clobbering protection via namespace isolation, * Prefix id and name attributes with `user-content-` */ if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) { // Remove the attribute with this value _removeAttribute(name, currentNode); // Prefix the value and later re-create the attribute with the sanitized value value = SANITIZE_NAMED_PROPS_PREFIX + value; } /* Work around a security issue with comments inside attributes */ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) { _removeAttribute(name, currentNode); continue; } /* Did the hooks approve of the attribute? */ if (hookEvent.forceKeepAttr) { continue; } /* Did the hooks approve of the attribute? */ if (!hookEvent.keepAttr) { _removeAttribute(name, currentNode); continue; } /* Work around a security issue in jQuery 3.0 */ if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) { _removeAttribute(name, currentNode); continue; } /* Sanitize attribute content to be template-safe */ if (SAFE_FOR_TEMPLATES) { arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => { value = stringReplace(value, expr, ' '); }); } /* Is `value` valid for this attribute? */ const lcTag = transformCaseFunc(currentNode.nodeName); if (!_isValidAttribute(lcTag, lcName, value)) { _removeAttribute(name, currentNode); continue; } /* Handle attributes that require Trusted Types */ if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') { if (namespaceURI) ; else { switch (trustedTypes.getAttributeType(lcTag, lcName)) { case 'TrustedHTML': { value = trustedTypesPolicy.createHTML(value); break; } case 'TrustedScriptURL': { value = trustedTypesPolicy.createScriptURL(value); break; } } } } /* Handle invalid data-* attribute set by try-catching it */ if (value !== initValue) { try { if (namespaceURI) { currentNode.setAttributeNS(namespaceURI, name, value); } else { /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */ currentNode.setAttribute(name, value); } if (_isClobbered(currentNode)) { _forceRemove(currentNode); } else { arrayPop(DOMPurify.removed); } } catch (_) { _removeAttribute(name, currentNode); } } } /* Execute a hook if present */ _executeHooks(hooks.afterSanitizeAttributes, currentNode, null); }; /** * _sanitizeShadowDOM * * @param fragment to iterate over recursively */ const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) { let shadowNode = null; const shadowIterator = _createNodeIterator(fragment); /* Execute a hook if present */ _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null); while (shadowNode = shadowIterator.nextNode()) { /* Execute a hook if present */ _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null); /* Sanitize tags and elements */ _sanitizeElements(shadowNode); /* Check attributes next */ _sanitizeAttributes(shadowNode); /* Deep shadow DOM detected */ if (shadowNode.content instanceof DocumentFragment) { _sanitizeShadowDOM(shadowNode.content); } } /* Execute a hook if present */ _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null); }; // eslint-disable-next-line complexity DOMPurify.sanitize = function (dirty) { let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; let body = null; let importedNode = null; let currentNode = null; let returnNode = null; /* Make sure we have a string to sanitize. DO NOT return early, as this will return the wrong type if the user has requested a DOM object rather than a string */ IS_EMPTY_INPUT = !dirty; if (IS_EMPTY_INPUT) { dirty = ''; } /* Stringify, in case dirty is an object */ if (typeof dirty !== 'string' && !_isNode(dirty)) { if (typeof dirty.toString === 'function') { dirty = dirty.toString(); if (typeof dirty !== 'string') { throw typeErrorCreate('dirty is not a string, aborting'); } } else { throw typeErrorCreate('toString is not a function'); } } /* Return dirty HTML if DOMPurify cannot run */ if (!DOMPurify.isSupported) { return dirty; } /* Assign config vars */ if (!SET_CONFIG) { _parseConfig(cfg); } /* Clean up removed elements */ DOMPurify.removed = []; /* Check if dirty is correctly typed for IN_PLACE */ if (typeof dirty === 'string') { IN_PLACE = false; } if (IN_PLACE) { /* Do some early pre-sanitization to avoid unsafe root nodes */ if (dirty.nodeName) { const tagName = transformCaseFunc(dirty.nodeName); if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) { throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place'); } } } else if (dirty instanceof Node) { /* If dirty is a DOM element, append to an empty document to avoid elements being stripped by the parser */ body = _initDocument(''); importedNode = body.ownerDocument.importNode(dirty, true); if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') { /* Node is already a body, use as is */ body = importedNode; } else if (importedNode.nodeName === 'HTML') { body = importedNode; } else { // eslint-disable-next-line unicorn/prefer-dom-node-append body.appendChild(importedNode); } } else { /* Exit directly if we have nothing to do */ if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes dirty.indexOf('<') === -1) { return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty; } /* Initialize the document to work on */ body = _initDocument(dirty); /* Check we have a DOM node from the data */ if (!body) { return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : ''; } } /* Remove first element node (ours) if FORCE_BODY is set */ if (body && FORCE_BODY) { _forceRemove(body.firstChild); } /* Get node iterator */ const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body); /* Now start iterating over the created document */ while (currentNode = nodeIterator.nextNode()) { /* Sanitize tags and elements */ _sanitizeElements(currentNode); /* Check attributes next */ _sanitizeAttributes(currentNode); /* Shadow DOM detected, sanitize it */ if (currentNode.content instanceof DocumentFragment) { _sanitizeShadowDOM(currentNode.content); } } /* If we sanitized `dirty` in-place, return it. */ if (IN_PLACE) { return dirty; } /* Return sanitized string or DOM */ if (RETURN_DOM) { if (RETURN_DOM_FRAGMENT) { returnNode = createDocumentFragment.call(body.ownerDocument); while (body.firstChild) { // eslint-disable-next-line unicorn/prefer-dom-node-append returnNode.appendChild(body.firstChild); } } else { returnNode = body; } if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) { /* AdoptNode() is not used because internal state is not reset (e.g. the past names map of a HTMLFormElement), this is safe in theory but we would rather not risk another attack vector. The state that is cloned by importNode() is explicitly defined by the specs. */ returnNode = importNode.call(originalDocument, returnNode, true); } return returnNode; } let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML; /* Serialize doctype if allowed */ if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) { serializedHTML = '\n' + serializedHTML; } /* Sanitize final string template-safe */ if (SAFE_FOR_TEMPLATES) { arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => { serializedHTML = stringReplace(serializedHTML, expr, ' '); }); } return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML; }; DOMPurify.setConfig = function () { let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; _parseConfig(cfg); SET_CONFIG = true; }; DOMPurify.clearConfig = function () { CONFIG = null; SET_CONFIG = false; }; DOMPurify.isValidAttribute = function (tag, attr, value) { /* Initialize shared config vars if necessary. */ if (!CONFIG) { _parseConfig({}); } const lcTag = transformCaseFunc(tag); const lcName = transformCaseFunc(attr); return _isValidAttribute(lcTag, lcName, value); }; DOMPurify.addHook = function (entryPoint, hookFunction) { if (typeof hookFunction !== 'function') { return; } arrayPush(hooks[entryPoint], hookFunction); }; DOMPurify.removeHook = function (entryPoint, hookFunction) { if (hookFunction !== undefined) { const index = arrayLastIndexOf(hooks[entryPoint], hookFunction); return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0]; } return arrayPop(hooks[entryPoint]); }; DOMPurify.removeHooks = function (entryPoint) { hooks[entryPoint] = []; }; DOMPurify.removeAllHooks = function () { hooks = _createHooksMap(); }; return DOMPurify; } var purify = createDOMPurify(); module.exports = purify; //# sourceMappingURL=purify.cjs.js.map /***/ }), /***/ "../node_modules/object-assign/index.js": /*!**********************************************!*\ !*** ../node_modules/object-assign/index.js ***! \**********************************************/ /***/ ((module) => { "use strict"; /* object-assign (c) Sindre Sorhus @license MIT */ /* eslint-disable no-unused-vars */ var getOwnPropertySymbols = Object.getOwnPropertySymbols; var hasOwnProperty = Object.prototype.hasOwnProperty; var propIsEnumerable = Object.prototype.propertyIsEnumerable; function toObject(val) { if (val === null || val === undefined) { throw new TypeError('Object.assign cannot be called with null or undefined'); } return Object(val); } function shouldUseNative() { try { if (!Object.assign) { return false; } // Detect buggy property enumeration order in older V8 versions. // https://bugs.chromium.org/p/v8/issues/detail?id=4118 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers test1[5] = 'de'; if (Object.getOwnPropertyNames(test1)[0] === '5') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test2 = {}; for (var i = 0; i < 10; i++) { test2['_' + String.fromCharCode(i)] = i; } var order2 = Object.getOwnPropertyNames(test2).map(function (n) { return test2[n]; }); if (order2.join('') !== '0123456789') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test3 = {}; 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { test3[letter] = letter; }); if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') { return false; } return true; } catch (err) { // We don't expect any of the above to throw, but better to be safe. return false; } } module.exports = shouldUseNative() ? Object.assign : function (target, source) { var from; var to = toObject(target); var symbols; for (var s = 1; s < arguments.length; s++) { from = Object(arguments[s]); for (var key in from) { if (hasOwnProperty.call(from, key)) { to[key] = from[key]; } } if (getOwnPropertySymbols) { symbols = getOwnPropertySymbols(from); for (var i = 0; i < symbols.length; i++) { if (propIsEnumerable.call(from, symbols[i])) { to[symbols[i]] = from[symbols[i]]; } } } } return to; }; /***/ }), /***/ "../node_modules/prop-types/checkPropTypes.js": /*!****************************************************!*\ !*** ../node_modules/prop-types/checkPropTypes.js ***! \****************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var printWarning = function() {}; if (true) { var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js"); var loggedTypeFailures = {}; var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js"); printWarning = function(text) { var message = 'Warning: ' + text; if (typeof console !== 'undefined') { console.error(message); } try { // --- Welcome to debugging React --- // This error was thrown as a convenience so that you can use this stack // to find the callsite that caused this warning to fire. throw new Error(message); } catch (x) { /**/ } }; } /** * Assert that the values match with the type specs. * Error messages are memorized and will only be shown once. * * @param {object} typeSpecs Map of name to a ReactPropType * @param {object} values Runtime values that need to be type-checked * @param {string} location e.g. "prop", "context", "child context" * @param {string} componentName Name of the component for error messages. * @param {?Function} getStack Returns the component stack. * @private */ function checkPropTypes(typeSpecs, values, location, componentName, getStack) { if (true) { for (var typeSpecName in typeSpecs) { if (has(typeSpecs, typeSpecName)) { var error; // Prop type validation may throw. In case they do, we don't want to // fail the render phase where it didn't fail before. So we log it. // After these have been cleaned up, we'll let them throw. try { // This is intentionally an invariant that gets caught. It's the same // behavior as without this statement except with a better message. if (typeof typeSpecs[typeSpecName] !== 'function') { var err = Error( (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' ); err.name = 'Invariant Violation'; throw err; } error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); } catch (ex) { error = ex; } if (error && !(error instanceof Error)) { printWarning( (componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).' ); } if (error instanceof Error && !(error.message in loggedTypeFailures)) { // Only monitor this failure once because there tends to be a lot of the // same error. loggedTypeFailures[error.message] = true; var stack = getStack ? getStack() : ''; printWarning( 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') ); } } } } } /** * Resets warning cache when testing. * * @private */ checkPropTypes.resetWarningCache = function() { if (true) { loggedTypeFailures = {}; } } module.exports = checkPropTypes; /***/ }), /***/ "../node_modules/prop-types/factoryWithTypeCheckers.js": /*!*************************************************************!*\ !*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js"); var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js"); var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js"); var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js"); var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js"); var printWarning = function() {}; if (true) { printWarning = function(text) { var message = 'Warning: ' + text; if (typeof console !== 'undefined') { console.error(message); } try { // --- Welcome to debugging React --- // This error was thrown as a convenience so that you can use this stack // to find the callsite that caused this warning to fire. throw new Error(message); } catch (x) {} }; } function emptyFunctionThatReturnsNull() { return null; } module.exports = function(isValidElement, throwOnDirectAccess) { /* global Symbol */ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. /** * Returns the iterator method function contained on the iterable object. * * Be sure to invoke the function with the iterable as context: * * var iteratorFn = getIteratorFn(myIterable); * if (iteratorFn) { * var iterator = iteratorFn.call(myIterable); * ... * } * * @param {?object} maybeIterable * @return {?function} */ function getIteratorFn(maybeIterable) { var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); if (typeof iteratorFn === 'function') { return iteratorFn; } } /** * Collection of methods that allow declaration and validation of props that are * supplied to React components. Example usage: * * var Props = require('ReactPropTypes'); * var MyArticle = React.createClass({ * propTypes: { * // An optional string prop named "description". * description: Props.string, * * // A required enum prop named "category". * category: Props.oneOf(['News','Photos']).isRequired, * * // A prop named "dialog" that requires an instance of Dialog. * dialog: Props.instanceOf(Dialog).isRequired * }, * render: function() { ... } * }); * * A more formal specification of how these methods are used: * * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) * decl := ReactPropTypes.{type}(.isRequired)? * * Each and every declaration produces a function with the same signature. This * allows the creation of custom validation functions. For example: * * var MyLink = React.createClass({ * propTypes: { * // An optional string or URI prop named "href". * href: function(props, propName, componentName) { * var propValue = props[propName]; * if (propValue != null && typeof propValue !== 'string' && * !(propValue instanceof URI)) { * return new Error( * 'Expected a string or an URI for ' + propName + ' in ' + * componentName * ); * } * } * }, * render: function() {...} * }); * * @internal */ var ANONYMOUS = '<>'; // Important! // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. var ReactPropTypes = { array: createPrimitiveTypeChecker('array'), bigint: createPrimitiveTypeChecker('bigint'), bool: createPrimitiveTypeChecker('boolean'), func: createPrimitiveTypeChecker('function'), number: createPrimitiveTypeChecker('number'), object: createPrimitiveTypeChecker('object'), string: createPrimitiveTypeChecker('string'), symbol: createPrimitiveTypeChecker('symbol'), any: createAnyTypeChecker(), arrayOf: createArrayOfTypeChecker, element: createElementTypeChecker(), elementType: createElementTypeTypeChecker(), instanceOf: createInstanceTypeChecker, node: createNodeChecker(), objectOf: createObjectOfTypeChecker, oneOf: createEnumTypeChecker, oneOfType: createUnionTypeChecker, shape: createShapeTypeChecker, exact: createStrictShapeTypeChecker, }; /** * inlined Object.is polyfill to avoid requiring consumers ship their own * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is */ /*eslint-disable no-self-compare*/ function is(x, y) { // SameValue algorithm if (x === y) { // Steps 1-5, 7-10 // Steps 6.b-6.e: +0 != -0 return x !== 0 || 1 / x === 1 / y; } else { // Step 6.a: NaN == NaN return x !== x && y !== y; } } /*eslint-enable no-self-compare*/ /** * We use an Error-like object for backward compatibility as people may call * PropTypes directly and inspect their output. However, we don't use real * Errors anymore. We don't inspect their stack anyway, and creating them * is prohibitively expensive if they are created too often, such as what * happens in oneOfType() for any type before the one that matched. */ function PropTypeError(message, data) { this.message = message; this.data = data && typeof data === 'object' ? data: {}; this.stack = ''; } // Make `instanceof Error` still work for returned errors. PropTypeError.prototype = Error.prototype; function createChainableTypeChecker(validate) { if (true) { var manualPropTypeCallCache = {}; var manualPropTypeWarningCount = 0; } function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { componentName = componentName || ANONYMOUS; propFullName = propFullName || propName; if (secret !== ReactPropTypesSecret) { if (throwOnDirectAccess) { // New behavior only for users of `prop-types` package var err = new Error( 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types' ); err.name = 'Invariant Violation'; throw err; } else if ( true && typeof console !== 'undefined') { // Old behavior for people using React.PropTypes var cacheKey = componentName + ':' + propName; if ( !manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors manualPropTypeWarningCount < 3 ) { printWarning( 'You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.' ); manualPropTypeCallCache[cacheKey] = true; manualPropTypeWarningCount++; } } } if (props[propName] == null) { if (isRequired) { if (props[propName] === null) { return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); } return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); } return null; } else { return validate(props, propName, componentName, location, propFullName); } } var chainedCheckType = checkType.bind(null, false); chainedCheckType.isRequired = checkType.bind(null, true); return chainedCheckType; } function createPrimitiveTypeChecker(expectedType) { function validate(props, propName, componentName, location, propFullName, secret) { var propValue = props[propName]; var propType = getPropType(propValue); if (propType !== expectedType) { // `propValue` being instance of, say, date/regexp, pass the 'object' // check, but we can offer a more precise error message here rather than // 'of type `object`'. var preciseType = getPreciseType(propValue); return new PropTypeError( 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {expectedType: expectedType} ); } return null; } return createChainableTypeChecker(validate); } function createAnyTypeChecker() { return createChainableTypeChecker(emptyFunctionThatReturnsNull); } function createArrayOfTypeChecker(typeChecker) { function validate(props, propName, componentName, location, propFullName) { if (typeof typeChecker !== 'function') { return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); } var propValue = props[propName]; if (!Array.isArray(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.')); } for (var i = 0; i < propValue.length; i++) { var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret); if (error instanceof Error) { return error; } } return null; } return createChainableTypeChecker(validate); } function createElementTypeChecker() { function validate(props, propName, componentName, location, propFullName) { var propValue = props[propName]; if (!isValidElement(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); } return null; } return createChainableTypeChecker(validate); } function createElementTypeTypeChecker() { function validate(props, propName, componentName, location, propFullName) { var propValue = props[propName]; if (!ReactIs.isValidElementType(propValue)) { var propType = getPropType(propValue); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.')); } return null; } return createChainableTypeChecker(validate); } function createInstanceTypeChecker(expectedClass) { function validate(props, propName, componentName, location, propFullName) { if (!(props[propName] instanceof expectedClass)) { var expectedClassName = expectedClass.name || ANONYMOUS; var actualClassName = getClassName(props[propName]); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); } return null; } return createChainableTypeChecker(validate); } function createEnumTypeChecker(expectedValues) { if (!Array.isArray(expectedValues)) { if (true) { if (arguments.length > 1) { printWarning( 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' ); } else { printWarning('Invalid argument supplied to oneOf, expected an array.'); } } return emptyFunctionThatReturnsNull; } function validate(props, propName, componentName, location, propFullName) { var propValue = props[propName]; for (var i = 0; i < expectedValues.length; i++) { if (is(propValue, expectedValues[i])) { return null; } } var valuesString = JSON.stringify(expectedValues, function replacer(key, value) { var type = getPreciseType(value); if (type === 'symbol') { return String(value); } return value; }); return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); } return createChainableTypeChecker(validate); } function createObjectOfTypeChecker(typeChecker) { function validate(props, propName, componentName, location, propFullName) { if (typeof typeChecker !== 'function') { return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); } var propValue = props[propName]; var propType = getPropType(propValue); if (propType !== 'object') { return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); } for (var key in propValue) { if (has(propValue, key)) { var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error instanceof Error) { return error; } } } return null; } return createChainableTypeChecker(validate); } function createUnionTypeChecker(arrayOfTypeCheckers) { if (!Array.isArray(arrayOfTypeCheckers)) { true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0; return emptyFunctionThatReturnsNull; } for (var i = 0; i < arrayOfTypeCheckers.length; i++) { var checker = arrayOfTypeCheckers[i]; if (typeof checker !== 'function') { printWarning( 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.' ); return emptyFunctionThatReturnsNull; } } function validate(props, propName, componentName, location, propFullName) { var expectedTypes = []; for (var i = 0; i < arrayOfTypeCheckers.length; i++) { var checker = arrayOfTypeCheckers[i]; var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret); if (checkerResult == null) { return null; } if (checkerResult.data && has(checkerResult.data, 'expectedType')) { expectedTypes.push(checkerResult.data.expectedType); } } var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': ''; return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.')); } return createChainableTypeChecker(validate); } function createNodeChecker() { function validate(props, propName, componentName, location, propFullName) { if (!isNode(props[propName])) { return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); } return null; } return createChainableTypeChecker(validate); } function invalidValidatorError(componentName, location, propFullName, key, type) { return new PropTypeError( (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.' ); } function createShapeTypeChecker(shapeTypes) { function validate(props, propName, componentName, location, propFullName) { var propValue = props[propName]; var propType = getPropType(propValue); if (propType !== 'object') { return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); } for (var key in shapeTypes) { var checker = shapeTypes[key]; if (typeof checker !== 'function') { return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker)); } var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error) { return error; } } return null; } return createChainableTypeChecker(validate); } function createStrictShapeTypeChecker(shapeTypes) { function validate(props, propName, componentName, location, propFullName) { var propValue = props[propName]; var propType = getPropType(propValue); if (propType !== 'object') { return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); } // We need to check all keys in case some are required but missing from props. var allKeys = assign({}, props[propName], shapeTypes); for (var key in allKeys) { var checker = shapeTypes[key]; if (has(shapeTypes, key) && typeof checker !== 'function') { return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker)); } if (!checker) { return new PropTypeError( 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ') ); } var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); if (error) { return error; } } return null; } return createChainableTypeChecker(validate); } function isNode(propValue) { switch (typeof propValue) { case 'number': case 'string': case 'undefined': return true; case 'boolean': return !propValue; case 'object': if (Array.isArray(propValue)) { return propValue.every(isNode); } if (propValue === null || isValidElement(propValue)) { return true; } var iteratorFn = getIteratorFn(propValue); if (iteratorFn) { var iterator = iteratorFn.call(propValue); var step; if (iteratorFn !== propValue.entries) { while (!(step = iterator.next()).done) { if (!isNode(step.value)) { return false; } } } else { // Iterator will provide entry [k,v] tuples rather than values. while (!(step = iterator.next()).done) { var entry = step.value; if (entry) { if (!isNode(entry[1])) { return false; } } } } } else { return false; } return true; default: return false; } } function isSymbol(propType, propValue) { // Native Symbol. if (propType === 'symbol') { return true; } // falsy value can't be a Symbol if (!propValue) { return false; } // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' if (propValue['@@toStringTag'] === 'Symbol') { return true; } // Fallback for non-spec compliant Symbols which are polyfilled. if (typeof Symbol === 'function' && propValue instanceof Symbol) { return true; } return false; } // Equivalent of `typeof` but with special handling for array and regexp. function getPropType(propValue) { var propType = typeof propValue; if (Array.isArray(propValue)) { return 'array'; } if (propValue instanceof RegExp) { // Old webkits (at least until Android 4.0) return 'function' rather than // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ // passes PropTypes.object. return 'object'; } if (isSymbol(propType, propValue)) { return 'symbol'; } return propType; } // This handles more types than `getPropType`. Only used for error messages. // See `createPrimitiveTypeChecker`. function getPreciseType(propValue) { if (typeof propValue === 'undefined' || propValue === null) { return '' + propValue; } var propType = getPropType(propValue); if (propType === 'object') { if (propValue instanceof Date) { return 'date'; } else if (propValue instanceof RegExp) { return 'regexp'; } } return propType; } // Returns a string that is postfixed to a warning about an invalid type. // For example, "undefined" or "of type array" function getPostfixForTypeWarning(value) { var type = getPreciseType(value); switch (type) { case 'array': case 'object': return 'an ' + type; case 'boolean': case 'date': case 'regexp': return 'a ' + type; default: return type; } } // Returns class name of the object, if any. function getClassName(propValue) { if (!propValue.constructor || !propValue.constructor.name) { return ANONYMOUS; } return propValue.constructor.name; } ReactPropTypes.checkPropTypes = checkPropTypes; ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; ReactPropTypes.PropTypes = ReactPropTypes; return ReactPropTypes; }; /***/ }), /***/ "../node_modules/prop-types/index.js": /*!*******************************************!*\ !*** ../node_modules/prop-types/index.js ***! \*******************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ if (true) { var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js"); // By explicitly using `prop-types` you are opting into new development behavior. // http://fb.me/prop-types-in-prod var throwOnDirectAccess = true; module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess); } else {} /***/ }), /***/ "../node_modules/prop-types/lib/ReactPropTypesSecret.js": /*!**************************************************************!*\ !*** ../node_modules/prop-types/lib/ReactPropTypesSecret.js ***! \**************************************************************/ /***/ ((module) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; /***/ }), /***/ "../node_modules/prop-types/lib/has.js": /*!*********************************************!*\ !*** ../node_modules/prop-types/lib/has.js ***! \*********************************************/ /***/ ((module) => { module.exports = Function.call.bind(Object.prototype.hasOwnProperty); /***/ }), /***/ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": /*!************************************************************************************!*\ !*** ../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***! \************************************************************************************/ /***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ if (true) { (function() { 'use strict'; // The Symbol used to tag the ReactElement-like types. If there is no native Symbol // nor polyfill, then a plain number is used for performance. var hasSymbol = typeof Symbol === 'function' && Symbol.for; var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary // (unstable) APIs that have been removed. Can we remove the symbols? var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf; var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8; var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9; var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5; var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6; var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; function isValidElementType(type) { return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); } function typeOf(object) { if (typeof object === 'object' && object !== null) { var $$typeof = object.$$typeof; switch ($$typeof) { case REACT_ELEMENT_TYPE: var type = object.type; switch (type) { case REACT_ASYNC_MODE_TYPE: case REACT_CONCURRENT_MODE_TYPE: case REACT_FRAGMENT_TYPE: case REACT_PROFILER_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_SUSPENSE_TYPE: return type; default: var $$typeofType = type && type.$$typeof; switch ($$typeofType) { case REACT_CONTEXT_TYPE: case REACT_FORWARD_REF_TYPE: case REACT_LAZY_TYPE: case REACT_MEMO_TYPE: case REACT_PROVIDER_TYPE: return $$typeofType; default: return $$typeof; } } case REACT_PORTAL_TYPE: return $$typeof; } } return undefined; } // AsyncMode is deprecated along with isAsyncMode var AsyncMode = REACT_ASYNC_MODE_TYPE; var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; var ContextConsumer = REACT_CONTEXT_TYPE; var ContextProvider = REACT_PROVIDER_TYPE; var Element = REACT_ELEMENT_TYPE; var ForwardRef = REACT_FORWARD_REF_TYPE; var Fragment = REACT_FRAGMENT_TYPE; var Lazy = REACT_LAZY_TYPE; var Memo = REACT_MEMO_TYPE; var Portal = REACT_PORTAL_TYPE; var Profiler = REACT_PROFILER_TYPE; var StrictMode = REACT_STRICT_MODE_TYPE; var Suspense = REACT_SUSPENSE_TYPE; var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated function isAsyncMode(object) { { if (!hasWarnedAboutDeprecatedIsAsyncMode) { hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.'); } } return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; } function isConcurrentMode(object) { return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; } function isContextConsumer(object) { return typeOf(object) === REACT_CONTEXT_TYPE; } function isContextProvider(object) { return typeOf(object) === REACT_PROVIDER_TYPE; } function isElement(object) { return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; } function isForwardRef(object) { return typeOf(object) === REACT_FORWARD_REF_TYPE; } function isFragment(object) { return typeOf(object) === REACT_FRAGMENT_TYPE; } function isLazy(object) { return typeOf(object) === REACT_LAZY_TYPE; } function isMemo(object) { return typeOf(object) === REACT_MEMO_TYPE; } function isPortal(object) { return typeOf(object) === REACT_PORTAL_TYPE; } function isProfiler(object) { return typeOf(object) === REACT_PROFILER_TYPE; } function isStrictMode(object) { return typeOf(object) === REACT_STRICT_MODE_TYPE; } function isSuspense(object) { return typeOf(object) === REACT_SUSPENSE_TYPE; } exports.AsyncMode = AsyncMode; exports.ConcurrentMode = ConcurrentMode; exports.ContextConsumer = ContextConsumer; exports.ContextProvider = ContextProvider; exports.Element = Element; exports.ForwardRef = ForwardRef; exports.Fragment = Fragment; exports.Lazy = Lazy; exports.Memo = Memo; exports.Portal = Portal; exports.Profiler = Profiler; exports.StrictMode = StrictMode; exports.Suspense = Suspense; exports.isAsyncMode = isAsyncMode; exports.isConcurrentMode = isConcurrentMode; exports.isContextConsumer = isContextConsumer; exports.isContextProvider = isContextProvider; exports.isElement = isElement; exports.isForwardRef = isForwardRef; exports.isFragment = isFragment; exports.isLazy = isLazy; exports.isMemo = isMemo; exports.isPortal = isPortal; exports.isProfiler = isProfiler; exports.isStrictMode = isStrictMode; exports.isSuspense = isSuspense; exports.isValidElementType = isValidElementType; exports.typeOf = typeOf; })(); } /***/ }), /***/ "../node_modules/prop-types/node_modules/react-is/index.js": /*!*****************************************************************!*\ !*** ../node_modules/prop-types/node_modules/react-is/index.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (false) {} else { module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"); } /***/ }), /***/ "../node_modules/react-dom/client.js": /*!*******************************************!*\ !*** ../node_modules/react-dom/client.js ***! \*******************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var m = __webpack_require__(/*! react-dom */ "react-dom"); if (false) {} else { var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; exports.createRoot = function(c, o) { i.usingClientEntryPoint = true; try { return m.createRoot(c, o); } finally { i.usingClientEntryPoint = false; } }; exports.hydrateRoot = function(c, h, o) { i.usingClientEntryPoint = true; try { return m.hydrateRoot(c, h, o); } finally { i.usingClientEntryPoint = false; } }; } /***/ }), /***/ "react": /*!************************!*\ !*** external "React" ***! \************************/ /***/ ((module) => { "use strict"; module.exports = React; /***/ }), /***/ "react-dom": /*!***************************!*\ !*** external "ReactDOM" ***! \***************************/ /***/ ((module) => { "use strict"; module.exports = ReactDOM; /***/ }), /***/ "@elementor/icons": /*!************************************!*\ !*** external "elementorV2.icons" ***! \************************************/ /***/ ((module) => { "use strict"; module.exports = elementorV2.icons; /***/ }), /***/ "@elementor/ui": /*!*********************************!*\ !*** external "elementorV2.ui" ***! \*********************************/ /***/ ((module) => { "use strict"; module.exports = elementorV2.ui; /***/ }), /***/ "@elementor/ui/DialogHeader": /*!*************************************************!*\ !*** external "elementorV2.ui['DialogHeader']" ***! \*************************************************/ /***/ ((module) => { "use strict"; module.exports = elementorV2.ui['DialogHeader']; /***/ }), /***/ "@elementor/ui/DialogHeaderGroup": /*!******************************************************!*\ !*** external "elementorV2.ui['DialogHeaderGroup']" ***! \******************************************************/ /***/ ((module) => { "use strict"; module.exports = elementorV2.ui['DialogHeaderGroup']; /***/ }), /***/ "@wordpress/i18n": /*!**************************!*\ !*** external "wp.i18n" ***! \**************************/ /***/ ((module) => { "use strict"; module.exports = wp.i18n; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": /*!******************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! \******************************************************************/ /***/ ((module) => { function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! \****************************************************************/ /***/ ((module) => { function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js": /*!******************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! \******************************************************************/ /***/ ((module) => { function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); } function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; } module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); function _defineProperty(e, r, t) { return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/extends.js": /*!*********************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/extends.js ***! \*********************************************************/ /***/ ((module) => { function _extends() { return module.exports = _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; }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments); } module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": /*!***********************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! \***********************************************************************/ /***/ ((module) => { function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; } module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": /*!**********************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! \**********************************************************************/ /***/ ((module) => { function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": /*!*****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! \*****************************************************************/ /***/ ((module) => { function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js": /*!*************************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! \*************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; } module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": /*!******************************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! \******************************************************************************/ /***/ ((module) => { function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; } module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": /*!********************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ module.exports = _regeneratorRuntime = function _regeneratorRuntime() { return e; }, module.exports.__esModule = true, module.exports["default"] = module.exports; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; } module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": /*!***************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); function _slicedToArray(r, e) { return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); } module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": /*!*************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); function toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": /*!***************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); function toPropertyKey(t) { var i = toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/typeof.js": /*!********************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! \********************************************************/ /***/ ((module) => { function _typeof(o) { "@babel/helpers - typeof"; return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); } module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": /*!****************************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! \****************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0; } } module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/regenerator/index.js": /*!***********************************************************!*\ !*** ../node_modules/@babel/runtime/regenerator/index.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { // TODO(Babel 8): Remove this file. var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")(); module.exports = runtime; // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= try { regeneratorRuntime = runtime; } catch (accidentalStrictMode) { if (typeof globalThis === "object") { globalThis.regeneratorRuntime = runtime; } else { Function("r", "regeneratorRuntime = r")(runtime); } } /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. (() => { "use strict"; /*!*************************************************************!*\ !*** ../modules/atomic-opt-in/assets/js/opt-in-page/app.js ***! \*************************************************************/ /* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react")); var _react2 = _interopRequireDefault(__webpack_require__(/*! elementor-utils/react */ "../assets/dev/js/utils/react.js")); var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); var _optIn = __webpack_require__(/*! ./opt-in */ "../modules/atomic-opt-in/assets/js/opt-in-page/opt-in.js"); var App = function App(props) { return /*#__PURE__*/_react.default.createElement(_ui.DirectionProvider, { rtl: props.isRTL }, /*#__PURE__*/_react.default.createElement(_ui.LocalizationProvider, null, /*#__PURE__*/_react.default.createElement(_ui.ThemeProvider, { colorScheme: 'light' }, /*#__PURE__*/_react.default.createElement(_optIn.OptIn, { state: props === null || props === void 0 ? void 0 : props.state })))); }; App.propTypes = { isRTL: PropTypes.bool, state: PropTypes.object }; var init = function init() { var rootElement = document.querySelector('#page-editor-v4-opt-in'); if (!rootElement) { return; } _react2.default.render(/*#__PURE__*/_react.default.createElement(App, { isRTL: !!elementorCommon.config.isRTL, state: elementorSettingsEditor4OptIn }), rootElement); }; init(); })(); /******/ })() ; //# sourceMappingURL=editor-v4-opt-in.js.map
Batrinsa https://batrinsa.com Bandas Transportadoras Industriales Mon, 20 Apr 2026 01:10:24 +0000 es hourly 1 https://wordpress.org/?v=6.8.5 https://batrinsa.com/wp-content/uploads/2018/07/cropped-SimboloBatrinsa-32x32.png Batrinsa https://batrinsa.com 32 32 Aventura e Emoção no Leon Casino Online em Portugal https://batrinsa.com/aventura-e-emocao-no-leon-casino-online-em/ https://batrinsa.com/aventura-e-emocao-no-leon-casino-online-em/#respond Mon, 20 Apr 2026 00:12:11 +0000 https://batrinsa.com/?p=35291 A Magia do Leon Casino Online em Portugal

Se você está em busca de uma experiência de jogo única e emocionante, o Leon Casino Online Portugal é o destino ideal. Com uma vasta gama de jogos, promoções irresistíveis e um ambiente seguro, este cassino online se destaca como uma das melhores opções para os entusiastas de jogos de azar em Portugal.

Sumário

Introdução ao Leon Casino

O Leon Casino Online surgiu como uma plataforma inovadora que combina a emoção dos jogos de cassino com a conveniência do mundo digital. Desde sua fundação, o cassino se comprometeu a oferecer uma experiência de jogo excepcional, focando na satisfação de seus usuários e garantindo um ambiente de jogo responsável.

Uma Plataforma para Todos

Quer você seja um jogador experiente ou um novato, o Leon Casino tem algo a oferecer. A interface é amigável e acessível, permitindo que todos possam navegar facilmente entre as diversas opções disponíveis.

Jogos Disponíveis

Um dos principais atrativos do Leon Casino Online Portugal é sua vasta biblioteca de jogos. Aqui estão algumas das categorias que você pode explorar:

  • Máquinas de Caça-Níqueis: Variedade de temas e estilos, desde clássicos até os mais modernos.
  • Jogos de Mesa: Experimente a adrenalina do blackjack, roleta e baccarat.
  • Casino Ao Vivo: Jogue com dealers reais em tempo real, trazendo a verdadeira atmosfera de um cassino físico.
  • Videopôquer: Uma combinação perfeita entre poker e caça-níqueis, ideal para quem busca estratégia e diversão.

Comparativo de Jogos

Tipo de Jogo Descrição Popularidade
Máquinas de Caça-Níqueis Jogos de sorte com diversos temas e jackpots. Alta
Jogos de Mesa Clássicos como blackjack e roleta. Média
Casino Ao Vivo Experiência interativa com dealers reais. Alta
Videopôquer Jogo de cartas com elementos de caça-níqueis. Baixa

Promoções e Bônus

O Leon Casino Online também é conhecido por suas promoções incríveis, que atraem novos jogadores e mantêm os antigos engajados. Veja algumas das ofertas que você pode encontrar:

  • Bônus de Boas-Vindas: Um pacote atrativo para novos jogadores que se registram pela primeira vez.
  • Promoções Semanais: Ofertas que variam a cada semana para manter a emoção em alta.
  • Programa de Fidelidade: Acumule pontos e troque por prêmios exclusivos.

Dicas para Aproveitar as Promoções

  1. Leia os termos e condições antes de aceitar qualquer bônus.
  2. Participe das promoções regularmente para maximizar suas chances de ganhar.
  3. Esteja atento a rodadas grátis e outras ofertas especiais.

Segurança e Confiabilidade

Quando se trata de jogos online, a segurança é primordial. O Leon Casino Online Portugal utiliza tecnologia de criptografia de ponta para proteger os dados pessoais e financeiros dos jogadores, garantindo uma experiência segura e confiável.

Licenciamento e Regulamentação

O cassino opera sob licenças regulamentadas, o que significa que está comprometido em seguir as normas e diretrizes estabelecidas pelas autoridades de jogo. Isso proporciona uma camada extra de segurança para os jogadores.

Métodos de Pagamento

O Leon Casino Online oferece uma variedade de métodos de pagamento para facilitar depósitos e leon casino portugal saques:

  • Cartões de Crédito/Débito: Visa, MasterCard, entre outros.
  • Carteiras Eletrônicas: PayPal, Skrill, Neteller.
  • Transferências Bancárias: Opção tradicional para jogadores que preferem não usar cartões.

Comparativo de Métodos de Pagamento

Método Tipo Tempo de Processamento
Cartões de Crédito Imediato Instantâneo
Carteiras Eletrônicas Digital Instantâneo
Transferência Bancária Tradicional 1-3 dias úteis

Suporte ao Cliente

Um bom cassino online deve oferecer suporte eficaz aos seus jogadores. O Leon Casino Online se destaca nesse aspecto, disponibilizando uma equipe de atendimento ao cliente pronta para ajudar em qualquer dúvida ou problema.

Formas de Contato

  • Chat ao Vivo: Respostas rápidas durante o horário de atendimento.
  • Email: Suporte via email para questões mais complexas.
  • FAQ: Seção de perguntas frequentes com respostas para dúvidas comuns.

Conclusão

O Leon Casino Online Portugal é mais do que apenas um site de jogos; é um verdadeiro destino de entretenimento, combinando segurança, variedade de jogos e promoções atraentes. Seja você um jogador casual ou um entusiasta, esta plataforma oferece tudo o que você precisa para uma experiência de jogo inesquecível. Não perca a chance de se juntar à comunidade do Leon Casino e descobrir a magia dos jogos online!

]]>
https://batrinsa.com/aventura-e-emocao-no-leon-casino-online-em/feed/ 0
Desperte a Magia do Gelo com Bônus Irresistíveis em Cassinos https://batrinsa.com/desperte-a-magia-do-gelo-com-bonus-irresistiveis/ https://batrinsa.com/desperte-a-magia-do-gelo-com-bonus-irresistiveis/#respond Mon, 20 Apr 2026 00:09:51 +0000 https://batrinsa.com/?p=35289 Desperte a Magia do Gelo com Bônus Irresistíveis em Cassinos

Introdução

Quando se trata de entretenimento online, poucos lugares são tão fascinantes quanto o Ice Casino. O cenário encantador e as oportunidades de ganhar prêmios congelantes tornam este cassino uma escolha popular entre os apostadores. Além disso, as ofertas de ice casino bônus adicionam um tempero extra à experiência de jogo. Neste artigo, vamos explorar como esses bônus funcionam e como você pode aproveitá-los ao máximo.

O que é o Ice Casino?

O Ice Casino é uma plataforma de jogos online que oferece uma vasta gama de jogos de cassino, desde caça-níqueis até jogos de mesa. Com um tema inspirado no gelo e na neve, o cassino proporciona uma experiência visual única que transporta os jogadores para um mundo gelado repleto de aventuras.

A plataforma é conhecida por sua segurança, suporte ao cliente eficiente e, claro, seus bônus atrativos. Os novos jogadores são recebidos com braços abertos e ofertas irresistíveis que podem potencialmente aumentar suas chances de ganhar.

Vantagens dos Bônus no Ice Casino

Os ice casino bônus são projetados para atrair novos jogadores e manter os existentes engajados. Aqui estão algumas das principais vantagens desses bônus:

  • Aumento do saldo inicial: Os bônus de boas-vindas frequentemente dobram ou até triplicam seu depósito inicial.
  • Rodadas grátis: Muitos bônus incluem rodadas grátis em caça-níqueis populares, permitindo que os jogadores experimentem jogos sem arriscar seu próprio dinheiro.
  • Promoções regulares: O Ice Casino oferece promoções periódicas que recompensam os jogadores fiéis com bônus adicionais.
  • Maior tempo de jogo: Com bônus, os jogadores podem prolongar sua experiência de jogo, testando diferentes jogos e estratégias.

Como Funcionam os Bônus no Ice Casino

Entender como os bônus funcionam é fundamental para aproveitar https://icecasinoportugal.net/ ao máximo as oportunidades oferecidas pelo Ice Casino. Aqui estão os principais tipos de bônus que você pode encontrar:

Tipo de Bônus Descrição
Bônus de Boas-vindas Um bônus que os novos jogadores recebem ao fazer seu primeiro depósito.
Rodadas Grátis Ofertas que permitem jogar determinados caça-níqueis sem custo.
Bônus de Recarga Ofertas que recompensam os jogadores ao fazer depósitos adicionais.
Bônus de Fidelidade Recompensas para jogadores frequentes, geralmente baseadas na atividade de jogo.

Estratégias para Maximizar seu Bônus

Para tirar o máximo proveito dos ice casino bônus, considere as seguintes estratégias:

  1. Leia os Termos e Condições: Antes de aceitar qualquer bônus, certifique-se de entender os requisitos de apostas e outras condições.
  2. Escolha Jogos com Altas Taxas de Retorno: Alguns jogos oferecem melhores chances de ganhar, aumentando a probabilidade de atender aos requisitos de apostas.
  3. Gerencie seu Banco: Defina um orçamento e siga-o rigorosamente para evitar perdas excessivas.
  4. Participe de Promoções: Fique atento às promoções regulares do cassino, que podem oferecer bônus adicionais.
  5. Teste Diferentes Jogos: Utilize suas rodadas grátis para explorar novos jogos e encontrar aqueles que mais lhe agradam.

Conclusão

O Ice Casino não é apenas um lugar para jogar, mas uma experiência completa que combina a emoção do jogo com bônus irresistíveis. Ao entender como os ice casino bônus funcionam e aplicar estratégias inteligentes, você pode aumentar suas chances de sucesso e tornar sua jornada pelo mundo das apostas ainda mais emocionante. Prepare-se para deslizar pelas geleiras do cassino e descobrir tesouros escondidos nas ofertas que aguardam por você!

]]>
https://batrinsa.com/desperte-a-magia-do-gelo-com-bonus-irresistiveis/feed/ 0
L’Ascension Triomphante des Gagnants de la Promotion Casino https://batrinsa.com/l-ascension-triomphante-des-gagnants-de-la/ https://batrinsa.com/l-ascension-triomphante-des-gagnants-de-la/#respond Mon, 20 Apr 2026 00:08:32 +0000 https://batrinsa.com/?p=35293 L’Ascension Triomphante des Gagnants de la Promotion Casino

Introduction

Dans le monde palpitant des jeux d’argent en ligne, peu d’endroits suscitent autant d’enthousiasme que Winner Casino. Ce site attire des joueurs du monde entier grâce à ses promotions alléchantes et à son ambiance de fête. Qui ne rêve pas de devenir le prochain promotion winner casino ? Cet article vous plongera dans l’univers fascinant de Winner Casino, explorant ses promotions, les histoires de ses gagnants, et des conseils pour maximiser vos chances de succès.

Qu’est-ce que Winner Casino ?

Winner Casino est une plateforme de jeu en ligne qui offre une vaste gamme de jeux, allant des machines à sous aux jeux de table classiques. Avec une interface utilisateur conviviale et une expérience de jeu immersive, Winner Casino s’est rapidement imposé comme un choix favori parmi les amateurs de jeux d’argent. En plus de sa bibliothèque de jeux impressionnante, le casino propose des promotions régulières qui attirent de nouveaux joueurs tout en gardant les anciens engagés.

Les caractéristiques clés de Winner Casino :

  • Une large sélection de jeux, y compris des jeux en direct.
  • Des promotions attractives et des bonus de bienvenue.
  • Un service client réactif disponible 24/7.
  • Un environnement sécurisé pour les transactions financières.

Les Promotions de Winner Casino

Les promotions sont le moteur de l’engagement des joueurs chez Winner Casino. Chaque mois, le casino lance de nouvelles offres qui peuvent inclure des bonus de dépôt, des tours gratuits, ou même des concours exclusifs. Ces promotions sont conçues pour récompenser les joueurs fidèles et attirer de nouveaux utilisateurs.

Types de Promotions Disponibles :

  • Bonus de Bienvenue : Offert aux nouveaux joueurs, ce bonus peut aller jusqu’à 200% sur le premier dépôt.
  • Tours Gratuits : Des https://winnercasinofrance.com/ tours gratuits sur des machines à sous spécifiques, souvent offerts en complément de dépôts.
  • Promotions Hebdomadaires : Des offres régulières qui peuvent inclure des bonus sur les dépôts effectués durant la semaine.
  • Concours de Gagnants : Compétitions où les joueurs peuvent gagner des prix en jouant à leurs jeux préférés.

Histoires de Gagnants

Les histoires de ceux qui ont gagné gros chez Winner Casino sont inspirantes. Chaque mois, des milliers de joueurs tentent leur chance, mais seuls quelques-uns émergent comme de véritables promotion winners. Voici quelques récits fascinants de gagnants qui ont transformé leur vie grâce à leurs gains.

Nom du Gagnant Jeu Gagné Montant Gagné Date du Gain
Marie Dupont Machine à Sous “Fortune d’Or” 50,000 € 15 Janvier 2023
Paul Martin Poker en Direct 25,000 € 22 Février 2023
Lucie Bernard Roulette Européenne 10,000 € 5 Mars 2023

Leurs Réactions :

Chaque gagnant a une histoire unique à partager. Marie, par exemple, n’a jamais cru qu’elle gagnerait un tel montant. “C’était juste une partie de plaisir,” dit-elle, “et je n’aurais jamais imaginé que cela changerait ma vie.” Paul, quant à lui, avait une stratégie solide : “J’ai étudié le jeu avant de me lancer, et cela a payé.” Lucie, qui a remporté sa victoire en jouant à la roulette, se souvient de l’excitation du moment : “C’était indescriptible !”

Conseils pour Devenir un Gagnant

Devenir un promotion winner casino n’est pas seulement une question de chance. Voici quelques conseils pratiques qui peuvent augmenter vos chances de succès :

Stratégies à Suivre :

  1. Choisissez le Bon Jeu : Familiarisez-vous avec les jeux qui offrent les meilleures cotes.
  2. Profitez des Promotions : Utilisez les bonus et les offres spéciales pour maximiser votre bankroll.
  3. Fixez un Budget : Déterminez combien vous êtes prêt à perdre avant de commencer à jouer.
  4. Restez Calme : Ne laissez pas l’émotion influencer vos décisions de jeu.

Pratiquez le Jeu Responsable :

Le jeu doit être une activité ludique. Assurez-vous de jouer de manière responsable et de ne pas dépasser vos limites. Voici quelques conseils pour garder le contrôle :

  • Ne jouez pas sous l’influence de l’alcool ou des drogues.
  • Évitez de jouer pour récupérer des pertes.
  • Faites des pauses régulières pendant vos sessions de jeu.

Conclusion

Winner Casino est plus qu’un simple site de jeux en ligne ; c’est une communauté de joueurs passionnés partageant des rêves de gains. Les promotion winners ne sont pas seulement des chanceux, mais souvent des joueurs stratégiques qui savent comment tirer parti des opportunités. Si vous aspirez à rejoindre leurs rangs et à vivre une expérience de jeu enrichissante, suivez les conseils partagés dans cet article et n’oubliez pas de profiter de chaque moment passé à jouer. Qui sait, le prochain grand gagnant pourrait être vous !

]]>
https://batrinsa.com/l-ascension-triomphante-des-gagnants-de-la/feed/ 0
Plongez dans l’aventure avec télécharger yonibet et gagnez gros https://batrinsa.com/plongez-dans-l-aventure-avec-telecharger-yonibet/ https://batrinsa.com/plongez-dans-l-aventure-avec-telecharger-yonibet/#respond Sun, 19 Apr 2026 21:16:29 +0000 https://batrinsa.com/?p=35285 Plongez dans l’aventure avec télécharger yonibet et gagnez gros

Bienvenue dans le monde palpitant de Yonibet Casino, une plateforme qui combine le frisson du jeu en ligne avec des opportunités de gains exceptionnels. Si vous recherchez une expérience de jeu enrichissante, vous êtes au bon endroit. Dans cet article, nous allons explorer les nombreuses facettes de Yonibet, vous guider sur la manière de Télécharger Yonibet, et vous donner quelques astuces pour maximiser vos gains.

Table des matières

Qu’est-ce que Yonibet ?

Yonibet est un casino en ligne réputé qui offre une vaste gamme de jeux, allant des machines à sous classiques aux jeux de table en direct. Avec une interface conviviale et des graphismes époustouflants, Yonibet se distingue par son engagement à fournir une expérience utilisateur de qualité. Que vous soyez novice ou joueur chevronné, vous trouverez votre bonheur sur cette plateforme.

Caractéristiques principales de Yonibet

  • Large sélection de jeux de casino
  • Interface utilisateur intuitive
  • Support client 24/7
  • Options de paiement variées et sécurisées
  • Jeux avec croupiers en direct pour une expérience immersive

Comment télécharger Yonibet ?

Télécharger Yonibet est un processus simple et rapide. Suivez ces étapes pour commencer votre aventure :

  1. Visitez le site officiel de Yonibet.
  2. Cliquez sur le bouton de téléchargement, généralement situé en haut de la page.
  3. Suivez les instructions pour installer l’application sur votre appareil.
  4. Une fois l’installation terminée, ouvrez l’application et créez votre compte.
  5. Faites votre premier dépôt et commencez à jouer !

Jeux disponibles sur Yonibet

Yonibet propose une variété impressionnante de jeux qui raviront tous les amateurs de casino. Voici un aperçu des catégories de jeux disponibles :

Catégorie Exemples de jeux Caractéristiques
Machines à sous Starburst, Gonzo’s Quest Graphismes colorés, jackpots progressifs
Jeux de table Blackjack, Roulette Variantes multiples, croupiers en direct
Jeux de cartes Texas Hold’em, Poker Tactique requise, tournois disponibles
Jeux en direct Roulette en direct, Baccarat Interaction en temps réel, ambiance de casino réelle

Bonus et promotions

Pour attirer et récompenser les joueurs, Yonibet offre divers bonus et promotions. Voici quelques offres courantes que vous pourriez trouver :

  • Bonus de bienvenue : Un bonus sur votre yonibetcasinofrance.com premier dépôt, souvent accompagné de tours gratuits.
  • Promotions hebdomadaires : Offres spéciales qui varient chaque semaine pour inciter à jouer davantage.
  • Programmes de fidélité : Récompenses pour les joueurs réguliers sous forme de points échangeables contre des crédits de jeu.

Sécurité et fiabilité

La sécurité est primordiale sur les plateformes de jeu. Yonibet utilise des technologies de cryptage avancées pour garantir la protection de vos données personnelles et financières. De plus, le casino est régulièrement audité par des organismes indépendants pour assurer l’équité des jeux.

Mesures de sécurité mises en place

  • Cryptage SSL pour la protection des données
  • Contrôle régulier des jeux par des tiers
  • Options de jeu responsable pour prévenir les comportements de jeu excessifs

Conseils pour gagner sur Yonibet

Bien que le jeu soit principalement basé sur la chance, il existe plusieurs stratégies que vous pouvez adopter pour augmenter vos chances de succès. Voici quelques conseils :

  1. Choisissez des jeux avec un taux de retour au joueur (RTP) élevé.
  2. Profitez des bonus et promotions pour maximiser votre capital de jeu.
  3. Fixez-vous un budget et respectez-le, même en cas de pertes.
  4. Testez les jeux en mode démo avant de miser de l’argent réel.
  5. Restez informé des nouveautés et des mises à jour de la plateforme.

Conclusion

En résumé, Télécharger Yonibet vous ouvre les portes d’une expérience de jeu inégalée. Avec une multitude de jeux, des bonus alléchants, et une sécurité de haut niveau, Yonibet est un choix judicieux pour tous les amateurs de casino en ligne. Que vous soyez là pour le divertissement ou pour décrocher le jackpot, Yonibet a quelque chose à offrir à chacun. Alors, qu’attendez-vous ? Téléchargez l’application dès aujourd’hui et commencez votre aventure !

]]>
https://batrinsa.com/plongez-dans-l-aventure-avec-telecharger-yonibet/feed/ 0
L’évasion flamboyante au cœur du chéri casino enchanté https://batrinsa.com/l-evasion-flamboyante-au-cur-du-cheri-casino/ https://batrinsa.com/l-evasion-flamboyante-au-cur-du-cheri-casino/#respond Sun, 19 Apr 2026 21:14:33 +0000 https://batrinsa.com/?p=35279 L’évasion flamboyante au cœur du chéri casino enchanté

Bienvenue dans l’univers fascinant du cheri casino, un lieu où la magie et le divertissement se rencontrent pour offrir une expérience inoubliable. Que vous soyez un joueur aguerri ou un novice, cet article vous plongera dans les profondeurs de ce monde merveilleux. Préparez-vous à découvrir des jeux éblouissants, des promotions scintillantes et un service client exceptionnel.

Table des matières

L’histoire du chéri casino

Le cheri casino a vu le jour en 2015, fondé par un groupe de passionnés de jeux d’argent désireux de créer un espace où le plaisir et la sécurité coexistent harmonieusement. Depuis ses débuts, le casino a évolué, intégrant des technologies de pointe pour améliorer l’expérience des joueurs tout en respectant les réglementations en vigueur.

Ce casino en ligne s’est rapidement fait un nom grâce à son interface https://chericasinofrance.org/ conviviale et à sa large gamme de jeux. Au fil des ans, il a su attirer une clientèle fidèle, séduite par son ambiance chaleureuse et ses nombreuses offres.

Les jeux disponibles

Au cheri casino, les joueurs peuvent s’attendre à une vaste sélection de jeux qui répondent à tous les goûts. Voici un aperçu des catégories principales :

  • Machines à sous : Des centaines de machines à sous aux thèmes variés, des classiques aux plus modernes.
  • Jeux de table : Une variété de jeux de table comme le blackjack, la roulette, et le poker.
  • Jeux en direct : Des croupiers en direct pour une expérience de jeu immersive.
  • Jeux de loterie : Des options de jeux de loterie captivants pour ceux qui cherchent à tenter leur chance.

Comparatif des jeux populaires

Jeu Type Taux de retour
Book of Dead Machine à sous 96.21%
Blackjack Jeu de table 99.5%
Roulette Européenne Jeu de table 97.3%
Monopoly Live Jeu en direct 96.23%

Promotions et bonus

Le cheri casino est réputé pour ses promotions généreuses. Les nouveaux joueurs peuvent bénéficier d’un bonus de bienvenue attractif, tandis que les joueurs réguliers sont souvent récompensés par des offres spéciales et des programmes de fidélité.

  • Bonus de bienvenue : Jusqu’à 200% sur le premier dépôt.
  • Free spins : Des tours gratuits offerts sur certaines machines à sous.
  • Cashback : Un pourcentage des pertes remboursé chaque semaine.
  • Programme VIP : Des avantages exclusifs pour les membres fidèles.

Service client et assistance

Un excellent service client est essentiel pour une expérience de jeu réussie. Le cheri casino propose plusieurs canaux de communication pour aider les joueurs :

  • Chat en direct : Disponible 24/7 pour des réponses instantanées.
  • Email : Un support par email pour des questions plus complexes.
  • FAQ : Une section d’aide complète pour répondre aux questions fréquentes.

Sécurité et fiabilité

La sécurité des joueurs est la priorité absolue du cheri casino. Voici quelques mesures mises en place :

  • Licences : Le casino est licencié et réglementé par des autorités reconnues.
  • Cryptage SSL : Toutes les transactions sont sécurisées avec un cryptage de haut niveau.
  • Jeux équitables : Des audits réguliers pour garantir l’équité des jeux.

Conclusion

En somme, le cheri casino est un véritable joyau dans l’univers des jeux en ligne. Grâce à son offre variée de jeux, ses promotions attractives et son service client réactif, il attire un large éventail de joueurs. Que vous cherchiez à vivre des moments palpitants ou à décrocher le jackpot, cet établissement saura répondre à vos attentes. N’attendez plus pour rejoindre cette aventure et découvrir tout ce que le cheri casino a à offrir!

]]>
https://batrinsa.com/l-evasion-flamboyante-au-cur-du-cheri-casino/feed/ 0
Éveillez votre fortune avec Kings Chance Casino APK audacieux https://batrinsa.com/eveillez-votre-fortune-avec-kings-chance-casino/ https://batrinsa.com/eveillez-votre-fortune-avec-kings-chance-casino/#respond Sun, 19 Apr 2026 21:14:11 +0000 https://batrinsa.com/?p=35281 Éveillez votre fortune avec Kings Chance Casino APK audacieux

Dans le monde captivant des jeux en ligne, Kings Chance Casino APK se distingue comme une plateforme incontournable pour les amateurs de sensations fortes et de gains. Avec une interface conviviale et une multitude de jeux, ce casino virtuel vous offre l’opportunité d’explorer un univers de divertissement où la chance et la stratégie se rencontrent. Cet article vous plongera dans les profondeurs de cette application fascinante, en vous fournissant toutes les informations nécessaires pour maximiser votre expérience de jeu.

Table des matières

Introduction à Kings Chance Casino

Kings Chance Casino est bien plus qu’un simple site de jeux. C’est une expérience immersive qui attire les joueurs du monde entier grâce à son design élégant et ses fonctionnalités innovantes. L’application Kings Chance Casino APK permet aux utilisateurs de jouer facilement sur leurs appareils mobiles, offrant ainsi une flexibilité sans précédent.

Fonctionnalités de l’application

L’application Kings Chance Casino APK est dotée d’une multitude de fonctionnalités qui améliorent l’expérience utilisateur. Voici quelques-unes des caractéristiques clés :

  • Interface utilisateur intuitive : Naviguez facilement grâce à une disposition claire et concise.
  • Compatibilité mobile : Jouez kings chance sur n’importe quel appareil, que ce soit un smartphone ou une tablette.
  • Options de dépôt et de retrait variées : Choisissez parmi une gamme de méthodes de paiement sécurisées.
  • Support client réactif : Bénéficiez d’une assistance 24/7 pour résoudre tous vos problèmes.

Jeux disponibles

Le choix des jeux sur Kings Chance Casino est impressionnant. Que vous soyez fan de machines à sous, de jeux de table, ou de jeux en direct, il y a quelque chose pour tout le monde. Voici un aperçu des catégories de jeux que vous pouvez trouver :

Type de jeu Exemples
Machines à sous Starburst, Gonzo’s Quest, Book of Dead
Jeux de table Blackjack, Roulette, Baccarat
Jeux en direct Roulette en direct, Blackjack en direct, Poker en direct

Machines à sous

Les machines à sous sont les stars de Kings Chance Casino. Avec des graphismes époustouflants et des thèmes variés, chaque spin peut révéler des trésors cachés. Les jackpots progressifs ajoutent une couche d’excitation, vous permettant de viser des gains colossaux avec un seul tour.

Jeux de table

Les amateurs de jeux de table trouveront leur bonheur avec les classiques tels que le blackjack et la roulette. Ces jeux offrent non seulement des stratégies intéressantes, mais aussi des interactions sociales avec d’autres joueurs dans les versions en direct.

Jeux en direct

Pour ceux qui recherchent une expérience authentique de casino, les jeux en direct sont la solution idéale. Vous serez en mesure de jouer avec de vrais croupiers en temps réel, rendant chaque session de jeu encore plus palpitante.

Bonus et promotions

Les bonus jouent un rôle essentiel dans l’attractivité de Kings Chance Casino APK. Les nouveaux joueurs sont accueillis avec des offres généreuses, tandis que les joueurs réguliers peuvent profiter de promotions continues. Voici quelques-uns des bonus les plus populaires :

  • Bonus de bienvenue : Recevez un bonus sur votre premier dépôt, augmentant ainsi votre capital de jeu dès le départ.
  • Offres de rechargement : Profitez de bonus supplémentaires lors de vos dépôts ultérieurs.
  • Programme de fidélité : Accumulez des points et échangez-les contre des récompenses exclusives.

Sécurité et fiabilité

La sécurité est primordiale lorsqu’il s’agit de jeux en ligne, et Kings Chance Casino ne fait pas exception. L’application utilise des technologies de cryptage avancées pour garantir la protection de vos informations personnelles et financières. De plus, le casino est licencié et réglementé, ce qui assure un environnement de jeu équitable et sécurisé.

Questions fréquentes

Comment télécharger l’application Kings Chance Casino APK ?

Pour télécharger l’application, visitez le site officiel de Kings Chance Casino et suivez les instructions fournies. Assurez-vous d’activer l’option “Installer des applications de sources inconnues” dans les paramètres de votre appareil.

Quels types de jeux puis-je jouer sur l’application ?

Vous pouvez accéder à une large gamme de jeux, y compris des machines à sous, des jeux de table et des jeux en direct.

Les bonus sont-ils disponibles pour les utilisateurs mobiles ?

Oui, tous les bonus et promotions sont également disponibles pour les utilisateurs de l’application mobile.

Le casino est-il sécurisé ?

Absolument. Kings Chance Casino utilise des protocoles de sécurité robustes pour protéger vos données.

Conclusion

En somme, Kings Chance Casino APK est une option séduisante pour tous ceux qui cherchent à tenter leur chance et à explorer le monde des jeux en ligne. Avec ses fonctionnalités exceptionnelles, sa sécurité renforcée et une variété de jeux captivants, cette application offre une expérience inégalée. Que vous soyez un joueur novice ou un vétéran, Kings Chance Casino a quelque chose à offrir à chacun. Téléchargez l’application dès aujourd’hui et commencez votre aventure vers des gains potentiels incroyables !

]]>
https://batrinsa.com/eveillez-votre-fortune-avec-kings-chance-casino/feed/ 0
Révélation des enjeux palpitants de konjo bet en direct aujourd’hui https://batrinsa.com/revelation-des-enjeux-palpitants-de-konjo-bet-en/ https://batrinsa.com/revelation-des-enjeux-palpitants-de-konjo-bet-en/#respond Sun, 19 Apr 2026 21:13:55 +0000 https://batrinsa.com/?p=35283 Révélation des enjeux palpitants de konjo bet en direct aujourd’hui

Bienvenue dans konjobetcasinofrance.com l’univers fascinant de Konjo Bet Casino, où l’excitation du jeu en direct prend vie. Dans cet article, nous explorerons les diverses options de paris disponibles aujourd’hui et comment vous pouvez tirer le meilleur parti de votre expérience de jeu.

Table des matières

Qu’est-ce que Konjo Bet Live ?

Konjo Bet Live est une plateforme de jeux en ligne qui permet aux joueurs de vivre l’adrénaline des casinos physiques depuis le confort de leur maison. Grâce à des flux vidéo en direct, les utilisateurs peuvent interagir avec des croupiers professionnels et d’autres joueurs, rendant l’expérience de jeu plus immersive que jamais.

Les jeux sont diffusés en haute définition, et les joueurs peuvent placer des paris en temps réel. Que vous soyez un amateur de roulette, de blackjack ou de poker, Konjo Bet vous offre une variété de jeux adaptés à tous les goûts et niveaux d’expérience.

Les jeux disponibles sur Konjo Bet

La diversité des jeux sur Konjo Bet Casino est impressionnante. Voici un aperçu des principaux jeux que vous pouvez trouver sur la plateforme :

Type de jeu Caractéristiques Taux de retour au joueur (RTP)
Roulette Roulette européenne et américaine, multiples mises 94,74%
Blackjack Variantes classiques et modernes 99,5%
Poker Texas Hold’em et Omaha avec croupiers en direct 95,5%
Jeux de cartes Baccarat, Sic Bo et plus encore 97%
Machines à sous Plusieurs thèmes et jackpots progressifs 85-98%

Les avantages de jouer en direct

Jouer sur Konjo Bet a de nombreux avantages qui améliorent votre expérience de jeu :

  • Authenticité : L’interaction avec des croupiers en direct recrée l’atmosphère d’un casino physique.
  • Accessibilité : Jouez depuis n’importe où, à tout moment, sans avoir besoin de vous déplacer.
  • Variété : Un large éventail de jeux pour satisfaire toutes les préférences.
  • Promotions : Accès à des bonus exclusifs pour les jeux en direct.

Stratégies pour maximiser vos gains

Pour réussir sur Konjo Bet Live, il est essentiel de développer des stratégies efficaces. Voici quelques conseils pratiques :

  1. Comprenez les règles : Familiarisez-vous avec les règles de chaque jeu avant de commencer à parier.
  2. Gérez votre bankroll : Établissez un budget et respectez-le pour éviter des pertes excessives.
  3. Profitez des promotions : Utilisez les bonus et offres promotionnelles pour augmenter votre capital de jeu.
  4. Pratiquez : Essayez les jeux gratuits pour vous entraîner avant de parier de l’argent réel.

Questions fréquentes sur Konjo Bet

Voici quelques questions fréquemment posées concernant Konjo Bet Casino :

  • Est-ce que Konjo Bet est légal ? Oui, Konjo Bet opère sous des licences réglementaires, ce qui garantit la sécurité des joueurs.
  • Comment puis-je déposer de l’argent sur mon compte ? Plusieurs méthodes de paiement sont disponibles, y compris les cartes de crédit, les portefeuilles électroniques et les virements bancaires.
  • Existe-t-il des limites de mise ? Oui, chaque jeu a des limites de mise minimales et maximales définies.
  • Puis-je jouer sur mobile ? Oui, Konjo Bet est optimisé pour les appareils mobiles, vous permettant de jouer où que vous soyez.

En conclusion, Konjo Bet offre une expérience de jeu en direct inégalée, avec une multitude de jeux, des croupiers en direct, et des opportunités de gains intéressantes. N’attendez plus, rejoignez-nous et plongez dans le monde passionnant de Konjo Bet Live aujourd’hui !

]]>
https://batrinsa.com/revelation-des-enjeux-palpitants-de-konjo-bet-en/feed/ 0
Évasion éclatante au casino Leon avis pour des moments inoubliables https://batrinsa.com/evasion-eclatante-au-casino-leon-avis-pour-des/ https://batrinsa.com/evasion-eclatante-au-casino-leon-avis-pour-des/#respond Sun, 19 Apr 2026 21:12:19 +0000 https://batrinsa.com/?p=35287 Évasion éclatante au casino Leon avis pour des moments inoubliables

Le casino Leon est une véritable destination de plaisir et d’excitation pour les amateurs de jeux. Niché au cœur de la ville, cet établissement offre une expérience unique alliant divertissement, gastronomie et luxe. Dans cet article, nous allons explorer les différentes facettes du casino Leon, ses jeux, ses services, et partager quelques avis qui vous aideront à planifier votre visite.

Table des matières

Historique du casino Leon

Le casino Leon a ouvert ses portes en 2005 et s’est rapidement imposé comme l’un des établissements de jeu les plus prisés de la région. Construit avec une architecture moderne et élégante, il a su attirer un large public grâce à ses nombreuses attractions. Au fil des ans, le casino a évolué pour offrir des expériences diversifiées, allant des jeux de table traditionnels aux machines à sous dernier cri.

Les jeux proposés au casino Leon

Le casino Leon est réputé pour sa vaste sélection de jeux. Que vous soyez un novice ou un joueur expérimenté, vous y trouverez forcément votre bonheur. Voici un aperçu des principaux types de jeux disponibles :

Type de jeu Nombre de tables/jeux Popularité
Machines à sous 200+ Élevée
Roulette 15 Moyenne
Blackjack 10 Haute
Poker 5 Élevée
Bingo 3 Basse

Machines à sous

Avec plus de 200 machines à sous, le casino Leon propose une expérience immersive. Des thèmes variés, des jackpots progressifs et des jeux interactifs font partie de l’offre. Les joueurs peuvent profiter d’un large éventail de choix, allant des classiques aux nouveautés.

Jeux de table

Pour ceux qui préfèrent le frisson des jeux de table, le casino Leon dispose d’une salle dédiée. La roulette, le blackjack et le poker sont particulièrement populaires, attirant des joueurs de tous niveaux.

Tournois de poker

Le casino Leon organise régulièrement des tournois de poker, offrant aux passionnés l’occasion de tester leurs compétences contre d’autres joueurs. Ces événements sont très attendus et attirent une foule enthousiaste.

Une expérience gastronomique inégalée

Le casino Leon ne se limite pas uniquement aux jeux. Il propose également une expérience culinaire remarquable. Les visiteurs peuvent savourer une cuisine raffinée dans ses restaurants, offrant une variété de plats locaux et internationaux.

Restaurants et bars

  • Restaurant Gourmet : Dégustez des plats élaborés par des chefs renommés.
  • Brasserie : Un cadre décontracté pour des repas rapides et savoureux.
  • Bar à cocktails : Profitez d’une large sélection de cocktails créatifs pour accompagner votre soirée.

Services et commodités

Le casino Leon comprend également de nombreux services pour le confort de ses visiteurs :

  • Stationnement gratuit : Un grand parking est disponible pour les clients.
  • Sécurité : L’établissement est surveillé 24h/24 pour garantir la sécurité des joueurs.
  • Services de conciergerie : Une équipe dédiée pour répondre à toutes vos demandes.
  • Accès Wi-Fi : Restez connecté pendant votre séjour.

Avis des visiteurs sur le casino Leon

Les avis des visiteurs jouent un rôle crucial dans la réputation d’un établissement. Voici quelques témoignages récents concernant le casino Leon :

  1. “Une expérience incroyable ! Les machines à sous sont à la pointe de la technologie et le personnel est très accueillant.” – Sophie, 32 ans.
  2. “J’ai adoré le restaurant gourmet. Les plats étaient exquis et le service impeccable.” – Marc, 45 ans.
  3. “Les tournois de poker sont un must ! L’ambiance est électrisante.” – Lucas, 29 ans.
  4. “Un endroit application leon casino parfait pour passer une soirée entre amis. Je recommande vivement !” – Claire, 24 ans.

Conclusion

En résumé, le casino Leon est bien plus qu’un simple lieu de jeux. C’est une destination où l’on peut s’évader, se divertir et savourer des moments mémorables. Que vous soyez attiré par les machines à sous, les jeux de table, ou la gastronomie, cet établissement saura vous séduire. N’hésitez pas à consulter les avis des visiteurs pour vous faire une idée encore plus précise avant votre visite. Préparez-vous pour une expérience inoubliable au casino Leon !

]]>
https://batrinsa.com/evasion-eclatante-au-casino-leon-avis-pour-des/feed/ 0
Exploration des trésors cachés du casino locowin pour les audacieux https://batrinsa.com/exploration-des-tresors-caches-du-casino-locowin/ https://batrinsa.com/exploration-des-tresors-caches-du-casino-locowin/#respond Sun, 19 Apr 2026 15:34:20 +0000 https://batrinsa.com/?p=35277 Voyage au cœur des sensations du casino locowin

Le casino locowin est bien plus qu’une simple plateforme de jeux en ligne. C’est un véritable univers où l’excitation, la stratégie et la chance se rencontrent. Que vous soyez un joueur novice ou un expert averti, ce casino a quelque chose à offrir à chacun. Dans cet article, nous allons explorer les différentes facettes de cette merveilleuse destination de jeu. Voici notre table des matières :

1. Présentation du casino locowin

Le casino locowin s’est imposé comme un acteur incontournable dans le monde des jeux en ligne. Avec une interface conviviale et des graphismes attrayants, il attire chaque jour de nouveaux joueurs. Ce casino virtuel offre une grande variété de jeux allant des machines à sous aux jeux de table, sans oublier les options de jeux en direct.

Un design innovant

Le design du casino locowin est pensé pour maximiser l’expérience utilisateur. Les couleurs vives et les animations fluides créent une atmosphère dynamique où chaque joueur se sent chez lui. La navigation est intuitive, permettant aux utilisateurs de trouver rapidement leurs jeux préférés.

2. Les jeux proposés

Le casino locowin propose une gamme impressionnante de jeux qui répondent à tous les goûts. Voici un aperçu des principales catégories :

  • Machines à sous
  • Jeux de table
  • Croupiers en direct
  • Jeux de cartes

Les machines à sous

Les amateurs de machines à sous seront ravis du choix disponible. Des classiques intemporels aux nouveautés palpitantes, chaque machine offre des thèmes uniques et des fonctionnalités captivantes.

Les jeux de table

Le casino locowin propose également des jeux de table populaires, tels que :

  • Roulette
  • Blackjack
  • Baccarat

3. Les promotions et bonus

Pour attirer et fidéliser ses joueurs, le casino locowin met en avant des promotions généreuses. Voici quelques-unes des offres disponibles :

Type de bonus Montant Conditions
Bonus de bienvenue 100% jusqu’à 300€ Premier dépôt uniquement
Bonus de recharge 50% jusqu’à 150€ Dépot minimum requis
Free spins 20 tours gratuits Sur certaines machines à sous

4. L’expérience utilisateur

Au-delà des jeux et des promotions, l’expérience globale au casino locowin est essentielle. Le service client, la facilité de dépôt et de retrait, ainsi que la compatibilité mobile sont des éléments clés.

Service client

Le casino locowin offre un service client réactif et professionnel, disponible 24/7. Que ce soit par chat en direct, e-mail ou téléphone, les joueurs peuvent poser leurs questions et obtenir de l’aide rapidement.

Compatibilité mobile

Pour ceux qui préfèrent jouer en déplacement, le casino locowin est entièrement optimisé pour les appareils mobiles. Que vous utilisiez un smartphone ou une tablette, l’expérience reste fluide et agréable.

5. Sécurité et confiance

La sécurité est une priorité pour le casino locowin. Grâce à des technologies de cryptage avancées et à des licences réglementaires, les joueurs peuvent être assurés que leurs données personnelles et financières sont protégées.

Licences et régulations

Le casino locowin opère sous une licence valide, ce qui garantit son sérieux et sa fiabilité. Les jeux sont régulièrement testés pour garantir l’équité et la transparence.

6. FAQ

Quels types de jeux puis-je trouver sur le casino locowin ?

Vous trouverez une grande variété de jeux, y compris des machines à sous, des jeux de table et des jeux avec croupiers en direct.

Comment puis-je déposer de l’argent ?

Le casino locowin propose plusieurs méthodes de dépôt, y compris les cartes de crédit, les portefeuilles électroniques et les virements bancaires.

Y a-t-il des frais pour les retraits ?

En général, les retraits sont gratuits, mais cela peut dépendre de la méthode choisie. Il est conseillé de consulter les termes et conditions pour plus de détails.

7. Conclusion

Le casino locowin est un excellent choix pour tous les passionnés de jeux en ligne. Avec sa vaste sélection de jeux, ses promotions attrayantes et son engagement envers la sécurité, il a tout pour plaire. Que vous soyez ici pour tenter votre chance aux machines à sous ou pour profiter d’une partie de blackjack, le casino locowin saura vous offrir une expérience mémorable. Plongez dans cet univers fascinant et casino en ligne locowin laissez-vous emporter par l’aventure !

]]>
https://batrinsa.com/exploration-des-tresors-caches-du-casino-locowin/feed/ 0
L’Enchantement des Gains au Luck Casino Éveille les Rêves https://batrinsa.com/l-enchantement-des-gains-au-luck-casino-eveille/ https://batrinsa.com/l-enchantement-des-gains-au-luck-casino-eveille/#respond Sun, 19 Apr 2026 15:33:37 +0000 https://batrinsa.com/?p=35275 L’Enchantement des Gains au Luck Casino Éveille les Rêves

Bienvenue dans l’univers fascinant du Luck Casino, un endroit où la chance et l’excitation se rencontrent pour créer des moments inoubliables. Que vous soyez un novice ou un joueur aguerri, ce casino offre une expérience unique qui vous plongera dans un monde de jeux captivants et de gains potentiels. Cet article vous guidera à travers les multiples facettes du Luck Casino, des jeux aux promotions, en passant par l’ambiance envoûtante qui y règne.

Table des Matières

Historique de Luck Casino

Depuis son ouverture, le Luck Casino a su s’imposer comme une destination incontournable pour les amateurs de jeux d’argent. Fondé en 2010, le casino a été conçu pour offrir une expérience de jeu exceptionnelle. Avec des milliers de visiteurs chaque mois, il est devenu un lieu de rencontre pour ceux qui recherchent l’adrénaline et le divertissement.

Les Débuts du Luck Casino

Le Luck Casino a commencé avec quelques tables de jeux et machines à sous. Grâce à une gestion innovante et une attention particulière portée aux clients, il a rapidement élargi son offre. Aujourd’hui, il propose une variété impressionnante de jeux, attirant des joueurs de tous horizons.

Les Jeux Proposés

Le Luck Casino est réputé pour sa vaste sélection de jeux. Voici un aperçu des différentes catégories proposées :

  • Machines à Sous: Des centaines de machines à sous modernes avec des thèmes variés et des jackpots progressifs.
  • Jeux de Table: Roulette, blackjack, poker et bien d’autres, disponibles en version classique et live.
  • Jeux de Carte: Une gamme complète de jeux de cartes, y compris le baccarat et le Texas Hold’em.

Les Machines à Sous

Les machines à sous du Luck Casino sont un véritable régal pour les yeux. Elles sont dotées de graphismes époustouflants et de fonctionnalités innovantes. Des jackpots massifs peuvent être remportés grâce à des tours bonus et des jeux spéciaux.

Nom de la Machine Thème Jackpot Maximal
Fortune de la Jungle Aventure 1 000 000 €
Étoiles du Casino Futuriste 500 000 €
Trésors de la Mer Maritime 750 000 €

Promotions et Bonus

Pour attirer et fidéliser ses joueurs, le Luck Casino propose des promotions alléchantes. Voici quelques-unes des offres que vous pouvez retrouver :

  • Bonus de Bienvenue: Un bonus généreux pour les nouveaux joueurs lors de leur premier dépôt.
  • Offres Hebdomadaires: Promotions régulières qui permettent de gagner des crédits supplémentaires ou des tours gratuits.
  • Programme de Fidélité: Accumulez des points en jouant pour débloquer des récompenses exclusives.

L’Ambiance du Casino

L’atmosphère du Luck Casino est à la fois électrisante et accueillante. La décoration moderne, les lumières vives et la musique entraînante créent une ambiance Luck Casino fr festive. Les employés, toujours souriants, sont là pour vous aider et rendre votre expérience encore plus agréable.

Événements Spéciaux

Le casino organise régulièrement des événements spéciaux, tels que des tournois de poker et des soirées à thème. Ces événements sont une excellente occasion de rencontrer d’autres joueurs et de tester vos compétences dans une ambiance conviviale.

Conseils pour Maximiser vos Gains

Voici quelques conseils pour améliorer vos chances de gagner au Luck Casino :

  1. Fixez un Budget: Ne jouez jamais plus que ce que vous pouvez vous permettre de perdre.
  2. Profitez des Bonus: Utilisez les promotions et les bonus à votre avantage.
  3. Soyez Stratégique: Apprenez les règles des jeux et développez des stratégies efficaces.

Questions Fréquemment Posées

Quels types de jeux sont disponibles au Luck Casino ?

Le Luck Casino propose une large gamme de jeux, y compris des machines à sous, des jeux de table et des jeux de cartes.

Comment puis-je bénéficier des promotions ?

Les promotions sont généralement accessibles lors de l’inscription ou à travers des notifications envoyées aux joueurs. Assurez-vous de vérifier régulièrement les offres disponibles.

Est-ce que le Luck Casino a un programme de fidélité ?

Oui, le Luck Casino dispose d’un programme de fidélité qui permet aux joueurs de gagner des points et de débloquer des récompenses spéciales.

Quelle est l’atmosphère du casino ?

L’atmosphère du Luck Casino est dynamique et festive, offrant une expérience de jeu immersive et agréable.

En conclusion, le Luck Casino est bien plus qu’un simple lieu de jeux ; c’est une destination où la magie de la chance opère. Que vous soyez là pour tenter votre chance aux machines à sous, profiter des jeux de table ou simplement vous imprégner de l’ambiance, vous trouverez toujours quelque chose d’excitant à faire. Alors, n’hésitez plus et plongez dans l’univers fascinant du Luck Casino, où vos rêves peuvent devenir réalité !

]]>
https://batrinsa.com/l-enchantement-des-gains-au-luck-casino-eveille/feed/ 0