1 /******/ (function() { // webpackBootstrap |
1 /******/ (() => { // webpackBootstrap |
2 /******/ var __webpack_modules__ = ({ |
2 /******/ "use strict"; |
3 |
3 /******/ // The require scope |
4 /***/ 4403: |
4 /******/ var __webpack_require__ = {}; |
5 /***/ (function(module, exports) { |
|
6 |
|
7 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! |
|
8 Copyright (c) 2018 Jed Watson. |
|
9 Licensed under the MIT License (MIT), see |
|
10 http://jedwatson.github.io/classnames |
|
11 */ |
|
12 /* global define */ |
|
13 |
|
14 (function () { |
|
15 'use strict'; |
|
16 |
|
17 var hasOwn = {}.hasOwnProperty; |
|
18 |
|
19 function classNames() { |
|
20 var classes = []; |
|
21 |
|
22 for (var i = 0; i < arguments.length; i++) { |
|
23 var arg = arguments[i]; |
|
24 if (!arg) continue; |
|
25 |
|
26 var argType = typeof arg; |
|
27 |
|
28 if (argType === 'string' || argType === 'number') { |
|
29 classes.push(arg); |
|
30 } else if (Array.isArray(arg)) { |
|
31 if (arg.length) { |
|
32 var inner = classNames.apply(null, arg); |
|
33 if (inner) { |
|
34 classes.push(inner); |
|
35 } |
|
36 } |
|
37 } else if (argType === 'object') { |
|
38 if (arg.toString === Object.prototype.toString) { |
|
39 for (var key in arg) { |
|
40 if (hasOwn.call(arg, key) && arg[key]) { |
|
41 classes.push(key); |
|
42 } |
|
43 } |
|
44 } else { |
|
45 classes.push(arg.toString()); |
|
46 } |
|
47 } |
|
48 } |
|
49 |
|
50 return classes.join(' '); |
|
51 } |
|
52 |
|
53 if ( true && module.exports) { |
|
54 classNames.default = classNames; |
|
55 module.exports = classNames; |
|
56 } else if (true) { |
|
57 // register as 'classnames', consistent with npm package name |
|
58 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { |
|
59 return classNames; |
|
60 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), |
|
61 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); |
|
62 } else {} |
|
63 }()); |
|
64 |
|
65 |
|
66 /***/ }) |
|
67 |
|
68 /******/ }); |
|
69 /************************************************************************/ |
|
70 /******/ // The module cache |
|
71 /******/ var __webpack_module_cache__ = {}; |
|
72 /******/ |
|
73 /******/ // The require function |
|
74 /******/ function __webpack_require__(moduleId) { |
|
75 /******/ // Check if module is in cache |
|
76 /******/ var cachedModule = __webpack_module_cache__[moduleId]; |
|
77 /******/ if (cachedModule !== undefined) { |
|
78 /******/ return cachedModule.exports; |
|
79 /******/ } |
|
80 /******/ // Create a new module (and put it into the cache) |
|
81 /******/ var module = __webpack_module_cache__[moduleId] = { |
|
82 /******/ // no module.id needed |
|
83 /******/ // no module.loaded needed |
|
84 /******/ exports: {} |
|
85 /******/ }; |
|
86 /******/ |
|
87 /******/ // Execute the module function |
|
88 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
|
89 /******/ |
|
90 /******/ // Return the exports of the module |
|
91 /******/ return module.exports; |
|
92 /******/ } |
|
93 /******/ |
5 /******/ |
94 /************************************************************************/ |
6 /************************************************************************/ |
95 /******/ /* webpack/runtime/compat get default export */ |
|
96 /******/ !function() { |
|
97 /******/ // getDefaultExport function for compatibility with non-harmony modules |
|
98 /******/ __webpack_require__.n = function(module) { |
|
99 /******/ var getter = module && module.__esModule ? |
|
100 /******/ function() { return module['default']; } : |
|
101 /******/ function() { return module; }; |
|
102 /******/ __webpack_require__.d(getter, { a: getter }); |
|
103 /******/ return getter; |
|
104 /******/ }; |
|
105 /******/ }(); |
|
106 /******/ |
|
107 /******/ /* webpack/runtime/define property getters */ |
7 /******/ /* webpack/runtime/define property getters */ |
108 /******/ !function() { |
8 /******/ (() => { |
109 /******/ // define getter functions for harmony exports |
9 /******/ // define getter functions for harmony exports |
110 /******/ __webpack_require__.d = function(exports, definition) { |
10 /******/ __webpack_require__.d = (exports, definition) => { |
111 /******/ for(var key in definition) { |
11 /******/ for(var key in definition) { |
112 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
12 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
113 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
13 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
114 /******/ } |
14 /******/ } |
115 /******/ } |
15 /******/ } |
116 /******/ }; |
16 /******/ }; |
117 /******/ }(); |
17 /******/ })(); |
118 /******/ |
18 /******/ |
119 /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
19 /******/ /* webpack/runtime/hasOwnProperty shorthand */ |
120 /******/ !function() { |
20 /******/ (() => { |
121 /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } |
21 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) |
122 /******/ }(); |
22 /******/ })(); |
123 /******/ |
23 /******/ |
124 /******/ /* webpack/runtime/make namespace object */ |
24 /******/ /* webpack/runtime/make namespace object */ |
125 /******/ !function() { |
25 /******/ (() => { |
126 /******/ // define __esModule on exports |
26 /******/ // define __esModule on exports |
127 /******/ __webpack_require__.r = function(exports) { |
27 /******/ __webpack_require__.r = (exports) => { |
128 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
28 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
129 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
29 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
130 /******/ } |
30 /******/ } |
131 /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
31 /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
132 /******/ }; |
32 /******/ }; |
133 /******/ }(); |
33 /******/ })(); |
134 /******/ |
34 /******/ |
135 /************************************************************************/ |
35 /************************************************************************/ |
136 var __webpack_exports__ = {}; |
36 var __webpack_exports__ = {}; |
137 // This entry need to be wrapped in an IIFE because it need to be in strict mode. |
|
138 !function() { |
|
139 "use strict"; |
|
140 // ESM COMPAT FLAG |
37 // ESM COMPAT FLAG |
141 __webpack_require__.r(__webpack_exports__); |
38 __webpack_require__.r(__webpack_exports__); |
142 |
39 |
143 // EXPORTS |
40 // EXPORTS |
144 __webpack_require__.d(__webpack_exports__, { |
41 __webpack_require__.d(__webpack_exports__, { |
145 "BlockQuotation": function() { return /* reexport */ BlockQuotation; }, |
42 BlockQuotation: () => (/* reexport */ BlockQuotation), |
146 "Circle": function() { return /* reexport */ Circle; }, |
43 Circle: () => (/* reexport */ Circle), |
147 "Defs": function() { return /* reexport */ Defs; }, |
44 Defs: () => (/* reexport */ Defs), |
148 "G": function() { return /* reexport */ G; }, |
45 G: () => (/* reexport */ G), |
149 "HorizontalRule": function() { return /* reexport */ HorizontalRule; }, |
46 HorizontalRule: () => (/* reexport */ HorizontalRule), |
150 "LinearGradient": function() { return /* reexport */ LinearGradient; }, |
47 Line: () => (/* reexport */ Line), |
151 "Path": function() { return /* reexport */ Path; }, |
48 LinearGradient: () => (/* reexport */ LinearGradient), |
152 "Polygon": function() { return /* reexport */ Polygon; }, |
49 Path: () => (/* reexport */ Path), |
153 "RadialGradient": function() { return /* reexport */ RadialGradient; }, |
50 Polygon: () => (/* reexport */ Polygon), |
154 "Rect": function() { return /* reexport */ Rect; }, |
51 RadialGradient: () => (/* reexport */ RadialGradient), |
155 "SVG": function() { return /* reexport */ SVG; }, |
52 Rect: () => (/* reexport */ Rect), |
156 "Stop": function() { return /* reexport */ Stop; }, |
53 SVG: () => (/* reexport */ SVG), |
157 "View": function() { return /* reexport */ View; } |
54 Stop: () => (/* reexport */ Stop), |
|
55 View: () => (/* reexport */ View) |
158 }); |
56 }); |
159 |
57 |
160 // EXTERNAL MODULE: ./node_modules/classnames/index.js |
58 ;// CONCATENATED MODULE: ./node_modules/clsx/dist/clsx.mjs |
161 var classnames = __webpack_require__(4403); |
59 function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx); |
162 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); |
|
163 ;// CONCATENATED MODULE: external ["wp","element"] |
60 ;// CONCATENATED MODULE: external ["wp","element"] |
164 var external_wp_element_namespaceObject = window["wp"]["element"]; |
61 const external_wp_element_namespaceObject = window["wp"]["element"]; |
|
62 ;// CONCATENATED MODULE: external "ReactJSXRuntime" |
|
63 const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; |
165 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js |
64 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js |
166 /** |
65 /** |
167 * External dependencies |
66 * External dependencies |
168 */ |
67 */ |
|
68 |
169 |
69 |
170 /** |
70 /** |
171 * WordPress dependencies |
71 * WordPress dependencies |
172 */ |
72 */ |
173 |
73 |
179 * |
79 * |
180 * @return {JSX.Element} Circle component |
80 * @return {JSX.Element} Circle component |
181 */ |
81 */ |
182 |
82 |
183 const Circle = props => (0,external_wp_element_namespaceObject.createElement)('circle', props); |
83 const Circle = props => (0,external_wp_element_namespaceObject.createElement)('circle', props); |
|
84 |
184 /** |
85 /** |
185 * @param {import('react').ComponentPropsWithoutRef<'g'>} props |
86 * @param {import('react').ComponentPropsWithoutRef<'g'>} props |
186 * |
87 * |
187 * @return {JSX.Element} G component |
88 * @return {JSX.Element} G component |
188 */ |
89 */ |
|
90 const G = props => (0,external_wp_element_namespaceObject.createElement)('g', props); |
189 |
91 |
190 const G = props => (0,external_wp_element_namespaceObject.createElement)('g', props); |
92 /** |
|
93 * @param {import('react').ComponentPropsWithoutRef<'line'>} props |
|
94 * |
|
95 * @return {JSX.Element} Path component |
|
96 */ |
|
97 const Line = props => (0,external_wp_element_namespaceObject.createElement)('line', props); |
|
98 |
191 /** |
99 /** |
192 * @param {import('react').ComponentPropsWithoutRef<'path'>} props |
100 * @param {import('react').ComponentPropsWithoutRef<'path'>} props |
193 * |
101 * |
194 * @return {JSX.Element} Path component |
102 * @return {JSX.Element} Path component |
195 */ |
103 */ |
|
104 const Path = props => (0,external_wp_element_namespaceObject.createElement)('path', props); |
196 |
105 |
197 const Path = props => (0,external_wp_element_namespaceObject.createElement)('path', props); |
|
198 /** |
106 /** |
199 * @param {import('react').ComponentPropsWithoutRef<'polygon'>} props |
107 * @param {import('react').ComponentPropsWithoutRef<'polygon'>} props |
200 * |
108 * |
201 * @return {JSX.Element} Polygon component |
109 * @return {JSX.Element} Polygon component |
202 */ |
110 */ |
|
111 const Polygon = props => (0,external_wp_element_namespaceObject.createElement)('polygon', props); |
203 |
112 |
204 const Polygon = props => (0,external_wp_element_namespaceObject.createElement)('polygon', props); |
|
205 /** |
113 /** |
206 * @param {import('react').ComponentPropsWithoutRef<'rect'>} props |
114 * @param {import('react').ComponentPropsWithoutRef<'rect'>} props |
207 * |
115 * |
208 * @return {JSX.Element} Rect component |
116 * @return {JSX.Element} Rect component |
209 */ |
117 */ |
|
118 const Rect = props => (0,external_wp_element_namespaceObject.createElement)('rect', props); |
210 |
119 |
211 const Rect = props => (0,external_wp_element_namespaceObject.createElement)('rect', props); |
|
212 /** |
120 /** |
213 * @param {import('react').ComponentPropsWithoutRef<'defs'>} props |
121 * @param {import('react').ComponentPropsWithoutRef<'defs'>} props |
214 * |
122 * |
215 * @return {JSX.Element} Defs component |
123 * @return {JSX.Element} Defs component |
216 */ |
124 */ |
|
125 const Defs = props => (0,external_wp_element_namespaceObject.createElement)('defs', props); |
217 |
126 |
218 const Defs = props => (0,external_wp_element_namespaceObject.createElement)('defs', props); |
|
219 /** |
127 /** |
220 * @param {import('react').ComponentPropsWithoutRef<'radialGradient'>} props |
128 * @param {import('react').ComponentPropsWithoutRef<'radialGradient'>} props |
221 * |
129 * |
222 * @return {JSX.Element} RadialGradient component |
130 * @return {JSX.Element} RadialGradient component |
223 */ |
131 */ |
|
132 const RadialGradient = props => (0,external_wp_element_namespaceObject.createElement)('radialGradient', props); |
224 |
133 |
225 const RadialGradient = props => (0,external_wp_element_namespaceObject.createElement)('radialGradient', props); |
|
226 /** |
134 /** |
227 * @param {import('react').ComponentPropsWithoutRef<'linearGradient'>} props |
135 * @param {import('react').ComponentPropsWithoutRef<'linearGradient'>} props |
228 * |
136 * |
229 * @return {JSX.Element} LinearGradient component |
137 * @return {JSX.Element} LinearGradient component |
230 */ |
138 */ |
|
139 const LinearGradient = props => (0,external_wp_element_namespaceObject.createElement)('linearGradient', props); |
231 |
140 |
232 const LinearGradient = props => (0,external_wp_element_namespaceObject.createElement)('linearGradient', props); |
|
233 /** |
141 /** |
234 * @param {import('react').ComponentPropsWithoutRef<'stop'>} props |
142 * @param {import('react').ComponentPropsWithoutRef<'stop'>} props |
235 * |
143 * |
236 * @return {JSX.Element} Stop component |
144 * @return {JSX.Element} Stop component |
237 */ |
145 */ |
238 |
|
239 const Stop = props => (0,external_wp_element_namespaceObject.createElement)('stop', props); |
146 const Stop = props => (0,external_wp_element_namespaceObject.createElement)('stop', props); |
|
147 const SVG = (0,external_wp_element_namespaceObject.forwardRef)( |
240 /** |
148 /** |
241 * |
149 * @param {SVGProps} props isPressed indicates whether the SVG should appear as pressed. |
242 * @param {SVGProps} props isPressed indicates whether the SVG should appear as pressed. |
150 * Other props will be passed through to svg component. |
243 * Other props will be passed through to svg component. |
151 * @param {import('react').ForwardedRef<SVGSVGElement>} ref The forwarded ref to the SVG element. |
244 * |
152 * |
245 * @return {JSX.Element} Stop component |
153 * @return {JSX.Element} Stop component |
246 */ |
154 */ |
247 |
155 ({ |
248 const SVG = _ref => { |
156 className, |
249 let { |
157 isPressed, |
250 className, |
158 ...props |
251 isPressed, |
159 }, ref) => { |
252 ...props |
160 const appliedProps = { |
253 } = _ref; |
161 ...props, |
254 const appliedProps = { ...props, |
162 className: dist_clsx(className, { |
255 className: classnames_default()(className, { |
|
256 'is-pressed': isPressed |
163 'is-pressed': isPressed |
257 }) || undefined, |
164 }) || undefined, |
258 'aria-hidden': true, |
165 'aria-hidden': true, |
259 focusable: false |
166 focusable: false |
260 }; // Disable reason: We need to have a way to render HTML tag for web. |
167 }; |
|
168 |
|
169 // Disable reason: We need to have a way to render HTML tag for web. |
261 // eslint-disable-next-line react/forbid-elements |
170 // eslint-disable-next-line react/forbid-elements |
262 |
171 return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("svg", { |
263 return (0,external_wp_element_namespaceObject.createElement)("svg", appliedProps); |
172 ...appliedProps, |
264 }; |
173 ref: ref |
|
174 }); |
|
175 }); |
|
176 SVG.displayName = 'SVG'; |
265 |
177 |
266 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js |
178 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js |
267 const HorizontalRule = 'hr'; |
179 const HorizontalRule = 'hr'; |
268 |
180 |
269 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js |
181 ;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js |