/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 1756: /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => { "use strict"; // NAMESPACE OBJECT: ./src/blocks/components/icon/icons.js var icons_namespaceObject = {}; __webpack_require__.r(icons_namespaceObject); __webpack_require__.d(icons_namespaceObject, { "alignBottom": () => (alignBottom), "alignCenter": () => (alignCenter), "alignLeft": () => (alignLeft), "alignMiddle": () => (alignMiddle), "alignRight": () => (alignRight), "alignSpaceBetween": () => (alignSpaceBetween), "alignTop": () => (alignTop), "arrowDown": () => (arrowDown), "arrowLeft": () => (arrowLeft), "arrowRight": () => (arrowRight), "arrowUp": () => (arrowUp), "bar": () => (bar), "barsO": () => (barsO), "behance": () => (behance), "blogger": () => (blogger), "button": () => (icons_button), "buttons": () => (buttons), "carousel": () => (carousel), "cartO": () => (cartO), "check": () => (check), "chevronDown": () => (chevronDown), "chevronDownCircle": () => (chevronDownCircle), "chevronLeft": () => (chevronLeft), "chevronRight": () => (chevronRight), "chevronUp": () => (chevronUp), "chevronUpCircle": () => (chevronUpCircle), "close": () => (icons_close), "codeopen": () => (codeopen), "cog": () => (cog), "color": () => (color), "column": () => (column), "copy": () => (copy), "counter": () => (counter), "delicious": () => (delicious), "desktop": () => (desktop), "devianart": () => (devianart), "divider": () => (divider), "dribble": () => (dribble), "envelopeO": () => (envelopeO), "eyeO": () => (eyeO), "facebook": () => (facebook), "faq": () => (faq), "filled": () => (filled), "form": () => (icons_form), "gradient": () => (gradient), "heading": () => (heading), "icon": () => (icon), "iconList": () => (iconList), "image": () => (icons_image), "infoBox": () => (infoBox), "instagramO": () => (instagramO), "link": () => (icons_link), "linkO": () => (linkO), "linkedin": () => (linkedin), "lock": () => (lock), "map": () => (map), "mapMarkerO": () => (mapMarkerO), "medium": () => (medium), "minus": () => (minus), "mobile": () => (mobile), "outline": () => (outline), "paperPlaneO": () => (paperPlaneO), "paragraph": () => (paragraph), "paste": () => (paste), "pencil": () => (pencil), "phoneO": () => (phoneO), "pinterest": () => (pinterest), "plain": () => (plain), "play": () => (play), "plus": () => (plus), "questionMark": () => (questionMark), "quora": () => (quora), "quoteLeft": () => (quoteLeft), "quoteRight": () => (quoteRight), "rating": () => (rating), "recorderO": () => (recorderO), "reddit": () => (reddit), "removeO": () => (removeO), "reply": () => (reply), "reset": () => (icons_reset), "rss": () => (rss), "searchMinus": () => (searchMinus), "searchO": () => (searchO), "section": () => (section), "sendO": () => (sendO), "socialIcons": () => (socialIcons), "spacing": () => (spacing), "star": () => (star), "tablet": () => (tablet), "teams": () => (teams), "testimonial": () => (testimonial), "textAlignCenter": () => (textAlignCenter), "textAlignJustify": () => (textAlignJustify), "textAlignLeft": () => (textAlignLeft), "textAlignRight": () => (textAlignRight), "thumbsUpO": () => (thumbsUpO), "timeO": () => (timeO), "toggleOff": () => (toggleOff), "toggleOn": () => (toggleOn), "trash": () => (trash), "tumblr": () => (tumblr), "twitch": () => (twitch), "twitter": () => (twitter), "unLink": () => (unLink), "upload": () => (upload), "userO": () => (userO), "video": () => (video), "vimeo": () => (vimeo), "wordpress": () => (wordpress), "yelp": () => (yelp), "youtubePlay": () => (youtubePlay) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/generator/token-before.js var token_before_namespaceObject = {}; __webpack_require__.r(token_before_namespaceObject); __webpack_require__.d(token_before_namespaceObject, { "safe": () => (safe), "spec": () => (spec) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/lexer/trace.js var trace_namespaceObject = {}; __webpack_require__.r(trace_namespaceObject); __webpack_require__.d(trace_namespaceObject, { "getTrace": () => (getTrace), "isKeyword": () => (isKeyword), "isProperty": () => (isProperty), "isType": () => (isType) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/AnPlusB.js var AnPlusB_namespaceObject = {}; __webpack_require__.r(AnPlusB_namespaceObject); __webpack_require__.d(AnPlusB_namespaceObject, { "generate": () => (AnPlusB_generate), "name": () => (AnPlusB_name), "parse": () => (AnPlusB_parse), "structure": () => (structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Atrule.js var Atrule_namespaceObject = {}; __webpack_require__.r(Atrule_namespaceObject); __webpack_require__.d(Atrule_namespaceObject, { "generate": () => (Atrule_generate), "name": () => (Atrule_name), "parse": () => (Atrule_parse), "structure": () => (Atrule_structure), "walkContext": () => (walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/AtrulePrelude.js var AtrulePrelude_namespaceObject = {}; __webpack_require__.r(AtrulePrelude_namespaceObject); __webpack_require__.d(AtrulePrelude_namespaceObject, { "generate": () => (AtrulePrelude_generate), "name": () => (AtrulePrelude_name), "parse": () => (AtrulePrelude_parse), "structure": () => (AtrulePrelude_structure), "walkContext": () => (AtrulePrelude_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/AttributeSelector.js var AttributeSelector_namespaceObject = {}; __webpack_require__.r(AttributeSelector_namespaceObject); __webpack_require__.d(AttributeSelector_namespaceObject, { "generate": () => (AttributeSelector_generate), "name": () => (AttributeSelector_name), "parse": () => (AttributeSelector_parse), "structure": () => (AttributeSelector_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Block.js var Block_namespaceObject = {}; __webpack_require__.r(Block_namespaceObject); __webpack_require__.d(Block_namespaceObject, { "generate": () => (Block_generate), "name": () => (Block_name), "parse": () => (Block_parse), "structure": () => (Block_structure), "walkContext": () => (Block_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Brackets.js var Brackets_namespaceObject = {}; __webpack_require__.r(Brackets_namespaceObject); __webpack_require__.d(Brackets_namespaceObject, { "generate": () => (Brackets_generate), "name": () => (Brackets_name), "parse": () => (Brackets_parse), "structure": () => (Brackets_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/CDC.js var CDC_namespaceObject = {}; __webpack_require__.r(CDC_namespaceObject); __webpack_require__.d(CDC_namespaceObject, { "generate": () => (CDC_generate), "name": () => (CDC_name), "parse": () => (CDC_parse), "structure": () => (CDC_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/CDO.js var CDO_namespaceObject = {}; __webpack_require__.r(CDO_namespaceObject); __webpack_require__.d(CDO_namespaceObject, { "generate": () => (CDO_generate), "name": () => (CDO_name), "parse": () => (CDO_parse), "structure": () => (CDO_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/ClassSelector.js var ClassSelector_namespaceObject = {}; __webpack_require__.r(ClassSelector_namespaceObject); __webpack_require__.d(ClassSelector_namespaceObject, { "generate": () => (ClassSelector_generate), "name": () => (ClassSelector_name), "parse": () => (ClassSelector_parse), "structure": () => (ClassSelector_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Combinator.js var Combinator_namespaceObject = {}; __webpack_require__.r(Combinator_namespaceObject); __webpack_require__.d(Combinator_namespaceObject, { "generate": () => (Combinator_generate), "name": () => (Combinator_name), "parse": () => (Combinator_parse), "structure": () => (Combinator_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Comment.js var Comment_namespaceObject = {}; __webpack_require__.r(Comment_namespaceObject); __webpack_require__.d(Comment_namespaceObject, { "generate": () => (Comment_generate), "name": () => (Comment_name), "parse": () => (Comment_parse), "structure": () => (Comment_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Declaration.js var Declaration_namespaceObject = {}; __webpack_require__.r(Declaration_namespaceObject); __webpack_require__.d(Declaration_namespaceObject, { "generate": () => (Declaration_generate), "name": () => (Declaration_name), "parse": () => (Declaration_parse), "structure": () => (Declaration_structure), "walkContext": () => (Declaration_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/DeclarationList.js var DeclarationList_namespaceObject = {}; __webpack_require__.r(DeclarationList_namespaceObject); __webpack_require__.d(DeclarationList_namespaceObject, { "generate": () => (DeclarationList_generate), "name": () => (DeclarationList_name), "parse": () => (DeclarationList_parse), "structure": () => (DeclarationList_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Dimension.js var Dimension_namespaceObject = {}; __webpack_require__.r(Dimension_namespaceObject); __webpack_require__.d(Dimension_namespaceObject, { "generate": () => (Dimension_generate), "name": () => (Dimension_name), "parse": () => (Dimension_parse), "structure": () => (Dimension_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Function.js var Function_namespaceObject = {}; __webpack_require__.r(Function_namespaceObject); __webpack_require__.d(Function_namespaceObject, { "generate": () => (Function_generate), "name": () => (Function_name), "parse": () => (Function_parse), "structure": () => (Function_structure), "walkContext": () => (Function_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Hash.js var Hash_namespaceObject = {}; __webpack_require__.r(Hash_namespaceObject); __webpack_require__.d(Hash_namespaceObject, { "generate": () => (Hash_generate), "name": () => (Hash_name), "parse": () => (Hash_parse), "structure": () => (Hash_structure), "xxx": () => (xxx) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Identifier.js var Identifier_namespaceObject = {}; __webpack_require__.r(Identifier_namespaceObject); __webpack_require__.d(Identifier_namespaceObject, { "generate": () => (Identifier_generate), "name": () => (Identifier_name), "parse": () => (Identifier_parse), "structure": () => (Identifier_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/IdSelector.js var IdSelector_namespaceObject = {}; __webpack_require__.r(IdSelector_namespaceObject); __webpack_require__.d(IdSelector_namespaceObject, { "generate": () => (IdSelector_generate), "name": () => (IdSelector_name), "parse": () => (IdSelector_parse), "structure": () => (IdSelector_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/MediaFeature.js var MediaFeature_namespaceObject = {}; __webpack_require__.r(MediaFeature_namespaceObject); __webpack_require__.d(MediaFeature_namespaceObject, { "generate": () => (MediaFeature_generate), "name": () => (MediaFeature_name), "parse": () => (MediaFeature_parse), "structure": () => (MediaFeature_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/MediaQuery.js var MediaQuery_namespaceObject = {}; __webpack_require__.r(MediaQuery_namespaceObject); __webpack_require__.d(MediaQuery_namespaceObject, { "generate": () => (MediaQuery_generate), "name": () => (MediaQuery_name), "parse": () => (MediaQuery_parse), "structure": () => (MediaQuery_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/MediaQueryList.js var MediaQueryList_namespaceObject = {}; __webpack_require__.r(MediaQueryList_namespaceObject); __webpack_require__.d(MediaQueryList_namespaceObject, { "generate": () => (MediaQueryList_generate), "name": () => (MediaQueryList_name), "parse": () => (MediaQueryList_parse), "structure": () => (MediaQueryList_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Nth.js var Nth_namespaceObject = {}; __webpack_require__.r(Nth_namespaceObject); __webpack_require__.d(Nth_namespaceObject, { "generate": () => (Nth_generate), "name": () => (Nth_name), "parse": () => (Nth_parse), "structure": () => (Nth_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Number.js var Number_namespaceObject = {}; __webpack_require__.r(Number_namespaceObject); __webpack_require__.d(Number_namespaceObject, { "generate": () => (Number_generate), "name": () => (Number_name), "parse": () => (Number_parse), "structure": () => (Number_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Operator.js var Operator_namespaceObject = {}; __webpack_require__.r(Operator_namespaceObject); __webpack_require__.d(Operator_namespaceObject, { "generate": () => (Operator_generate), "name": () => (Operator_name), "parse": () => (Operator_parse), "structure": () => (Operator_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Parentheses.js var Parentheses_namespaceObject = {}; __webpack_require__.r(Parentheses_namespaceObject); __webpack_require__.d(Parentheses_namespaceObject, { "generate": () => (Parentheses_generate), "name": () => (Parentheses_name), "parse": () => (Parentheses_parse), "structure": () => (Parentheses_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Percentage.js var Percentage_namespaceObject = {}; __webpack_require__.r(Percentage_namespaceObject); __webpack_require__.d(Percentage_namespaceObject, { "generate": () => (Percentage_generate), "name": () => (Percentage_name), "parse": () => (Percentage_parse), "structure": () => (Percentage_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js var PseudoClassSelector_namespaceObject = {}; __webpack_require__.r(PseudoClassSelector_namespaceObject); __webpack_require__.d(PseudoClassSelector_namespaceObject, { "generate": () => (PseudoClassSelector_generate), "name": () => (PseudoClassSelector_name), "parse": () => (PseudoClassSelector_parse), "structure": () => (PseudoClassSelector_structure), "walkContext": () => (PseudoClassSelector_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js var PseudoElementSelector_namespaceObject = {}; __webpack_require__.r(PseudoElementSelector_namespaceObject); __webpack_require__.d(PseudoElementSelector_namespaceObject, { "generate": () => (PseudoElementSelector_generate), "name": () => (PseudoElementSelector_name), "parse": () => (PseudoElementSelector_parse), "structure": () => (PseudoElementSelector_structure), "walkContext": () => (PseudoElementSelector_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Ratio.js var Ratio_namespaceObject = {}; __webpack_require__.r(Ratio_namespaceObject); __webpack_require__.d(Ratio_namespaceObject, { "generate": () => (Ratio_generate), "name": () => (Ratio_name), "parse": () => (Ratio_parse), "structure": () => (Ratio_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Raw.js var Raw_namespaceObject = {}; __webpack_require__.r(Raw_namespaceObject); __webpack_require__.d(Raw_namespaceObject, { "generate": () => (Raw_generate), "name": () => (Raw_name), "parse": () => (Raw_parse), "structure": () => (Raw_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Rule.js var Rule_namespaceObject = {}; __webpack_require__.r(Rule_namespaceObject); __webpack_require__.d(Rule_namespaceObject, { "generate": () => (Rule_generate), "name": () => (Rule_name), "parse": () => (Rule_parse), "structure": () => (Rule_structure), "walkContext": () => (Rule_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Selector.js var Selector_namespaceObject = {}; __webpack_require__.r(Selector_namespaceObject); __webpack_require__.d(Selector_namespaceObject, { "generate": () => (Selector_generate), "name": () => (Selector_name), "parse": () => (Selector_parse), "structure": () => (Selector_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/SelectorList.js var SelectorList_namespaceObject = {}; __webpack_require__.r(SelectorList_namespaceObject); __webpack_require__.d(SelectorList_namespaceObject, { "generate": () => (SelectorList_generate), "name": () => (SelectorList_name), "parse": () => (SelectorList_parse), "structure": () => (SelectorList_structure), "walkContext": () => (SelectorList_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/String.js var String_namespaceObject = {}; __webpack_require__.r(String_namespaceObject); __webpack_require__.d(String_namespaceObject, { "generate": () => (String_generate), "name": () => (String_name), "parse": () => (String_parse), "structure": () => (String_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/StyleSheet.js var StyleSheet_namespaceObject = {}; __webpack_require__.r(StyleSheet_namespaceObject); __webpack_require__.d(StyleSheet_namespaceObject, { "generate": () => (StyleSheet_generate), "name": () => (StyleSheet_name), "parse": () => (StyleSheet_parse), "structure": () => (StyleSheet_structure), "walkContext": () => (StyleSheet_walkContext) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/TypeSelector.js var TypeSelector_namespaceObject = {}; __webpack_require__.r(TypeSelector_namespaceObject); __webpack_require__.d(TypeSelector_namespaceObject, { "generate": () => (TypeSelector_generate), "name": () => (TypeSelector_name), "parse": () => (TypeSelector_parse), "structure": () => (TypeSelector_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/UnicodeRange.js var UnicodeRange_namespaceObject = {}; __webpack_require__.r(UnicodeRange_namespaceObject); __webpack_require__.d(UnicodeRange_namespaceObject, { "generate": () => (UnicodeRange_generate), "name": () => (UnicodeRange_name), "parse": () => (UnicodeRange_parse), "structure": () => (UnicodeRange_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Url.js var Url_namespaceObject = {}; __webpack_require__.r(Url_namespaceObject); __webpack_require__.d(Url_namespaceObject, { "generate": () => (Url_generate), "name": () => (Url_name), "parse": () => (Url_parse), "structure": () => (Url_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/Value.js var Value_namespaceObject = {}; __webpack_require__.r(Value_namespaceObject); __webpack_require__.d(Value_namespaceObject, { "generate": () => (Value_generate), "name": () => (Value_name), "parse": () => (Value_parse), "structure": () => (Value_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/WhiteSpace.js var WhiteSpace_namespaceObject = {}; __webpack_require__.r(WhiteSpace_namespaceObject); __webpack_require__.d(WhiteSpace_namespaceObject, { "generate": () => (WhiteSpace_generate), "name": () => (WhiteSpace_name), "parse": () => (WhiteSpace_parse), "structure": () => (WhiteSpace_structure) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/index.js var node_namespaceObject = {}; __webpack_require__.r(node_namespaceObject); __webpack_require__.d(node_namespaceObject, { "AnPlusB": () => (AnPlusB_namespaceObject), "Atrule": () => (Atrule_namespaceObject), "AtrulePrelude": () => (AtrulePrelude_namespaceObject), "AttributeSelector": () => (AttributeSelector_namespaceObject), "Block": () => (Block_namespaceObject), "Brackets": () => (Brackets_namespaceObject), "CDC": () => (CDC_namespaceObject), "CDO": () => (CDO_namespaceObject), "ClassSelector": () => (ClassSelector_namespaceObject), "Combinator": () => (Combinator_namespaceObject), "Comment": () => (Comment_namespaceObject), "Declaration": () => (Declaration_namespaceObject), "DeclarationList": () => (DeclarationList_namespaceObject), "Dimension": () => (Dimension_namespaceObject), "Function": () => (Function_namespaceObject), "Hash": () => (Hash_namespaceObject), "IdSelector": () => (IdSelector_namespaceObject), "Identifier": () => (Identifier_namespaceObject), "MediaFeature": () => (MediaFeature_namespaceObject), "MediaQuery": () => (MediaQuery_namespaceObject), "MediaQueryList": () => (MediaQueryList_namespaceObject), "Nth": () => (Nth_namespaceObject), "Number": () => (Number_namespaceObject), "Operator": () => (Operator_namespaceObject), "Parentheses": () => (Parentheses_namespaceObject), "Percentage": () => (Percentage_namespaceObject), "PseudoClassSelector": () => (PseudoClassSelector_namespaceObject), "PseudoElementSelector": () => (PseudoElementSelector_namespaceObject), "Ratio": () => (Ratio_namespaceObject), "Raw": () => (Raw_namespaceObject), "Rule": () => (Rule_namespaceObject), "Selector": () => (Selector_namespaceObject), "SelectorList": () => (SelectorList_namespaceObject), "String": () => (String_namespaceObject), "StyleSheet": () => (StyleSheet_namespaceObject), "TypeSelector": () => (TypeSelector_namespaceObject), "UnicodeRange": () => (UnicodeRange_namespaceObject), "Url": () => (Url_namespaceObject), "Value": () => (Value_namespaceObject), "WhiteSpace": () => (WhiteSpace_namespaceObject) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/scope/index.js var scope_namespaceObject = {}; __webpack_require__.r(scope_namespaceObject); __webpack_require__.d(scope_namespaceObject, { "AtrulePrelude": () => (atrulePrelude), "Selector": () => (selector), "Value": () => (value) }); // NAMESPACE OBJECT: ./node_modules/css-tree/lib/syntax/node/index-parse.js var index_parse_namespaceObject = {}; __webpack_require__.r(index_parse_namespaceObject); __webpack_require__.d(index_parse_namespaceObject, { "AnPlusB": () => (AnPlusB_parse), "Atrule": () => (Atrule_parse), "AtrulePrelude": () => (AtrulePrelude_parse), "AttributeSelector": () => (AttributeSelector_parse), "Block": () => (Block_parse), "Brackets": () => (Brackets_parse), "CDC": () => (CDC_parse), "CDO": () => (CDO_parse), "ClassSelector": () => (ClassSelector_parse), "Combinator": () => (Combinator_parse), "Comment": () => (Comment_parse), "Declaration": () => (Declaration_parse), "DeclarationList": () => (DeclarationList_parse), "Dimension": () => (Dimension_parse), "Function": () => (Function_parse), "Hash": () => (Hash_parse), "IdSelector": () => (IdSelector_parse), "Identifier": () => (Identifier_parse), "MediaFeature": () => (MediaFeature_parse), "MediaQuery": () => (MediaQuery_parse), "MediaQueryList": () => (MediaQueryList_parse), "Nth": () => (Nth_parse), "Number": () => (Number_parse), "Operator": () => (Operator_parse), "Parentheses": () => (Parentheses_parse), "Percentage": () => (Percentage_parse), "PseudoClassSelector": () => (PseudoClassSelector_parse), "PseudoElementSelector": () => (PseudoElementSelector_parse), "Ratio": () => (Ratio_parse), "Raw": () => (Raw_parse), "Rule": () => (Rule_parse), "Selector": () => (Selector_parse), "SelectorList": () => (SelectorList_parse), "String": () => (String_parse), "StyleSheet": () => (StyleSheet_parse), "TypeSelector": () => (TypeSelector_parse), "UnicodeRange": () => (UnicodeRange_parse), "Url": () => (Url_parse), "Value": () => (Value_parse), "WhiteSpace": () => (WhiteSpace_parse) }); // NAMESPACE OBJECT: ./node_modules/csso/lib/syntax.js var lib_syntax_namespaceObject = {}; __webpack_require__.r(lib_syntax_namespaceObject); __webpack_require__.d(lib_syntax_namespaceObject, { "compress": () => (compress), "find": () => (syntax_find), "findAll": () => (syntax_findAll), "findLast": () => (syntax_findLast), "fromPlainObject": () => (syntax_fromPlainObject), "generate": () => (syntax_generate), "lexer": () => (syntax_lexer), "parse": () => (syntax_parse), "specificity": () => (prepare_specificity), "toPlainObject": () => (syntax_toPlainObject), "tokenize": () => (syntax_tokenize), "walk": () => (syntax_walk) }); ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } ;// CONCATENATED MODULE: external ["wp","blocks"] const external_wp_blocks_namespaceObject = window["wp"]["blocks"]; ;// CONCATENATED MODULE: external ["wp","element"] const external_wp_element_namespaceObject = window["wp"]["element"]; ;// CONCATENATED MODULE: ./src/blocks/components/element/index.js /* harmony default export */ const components_element = (function (_ref) { var tagName = _ref.tagName, htmlAttrs = _ref.htmlAttrs, children = _ref.children; return (0,external_wp_element_namespaceObject.createElement)(tagName, htmlAttrs, children); }); ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js 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."); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js function slicedToArray_slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } // EXTERNAL MODULE: ./node_modules/classnames/index.js var classnames = __webpack_require__(4184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); ;// CONCATENATED MODULE: external ["wp","data"] const external_wp_data_namespaceObject = window["wp"]["data"]; ;// CONCATENATED MODULE: ./src/blocks/components/tab-panel/index.js function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } var inspectorTabState = new Map(); /* harmony default export */ const tab_panel = ((0,external_wp_data_namespaceObject.withSelect)(function (select) { return { block: select('core/block-editor').getSelectedBlock() }; })(function (_ref) { var _tabs$length; var tabs = _ref.children, _ref$hasIcon = _ref.hasIcon, hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon, _ref$className = _ref.className, className = _ref$className === void 0 ? '' : _ref$className, label = _ref.label, _ref$root = _ref.root, root = _ref$root === void 0 ? false : _ref$root, _ref$block = _ref.block, _ref$block$name = _ref$block.name, name = _ref$block$name === void 0 ? '' : _ref$block$name, _ref$block$attributes = _ref$block.attributes.clientId, clientId = _ref$block$attributes === void 0 ? '' : _ref$block$attributes; if ('widgets' === window.pagenow || 'customize' === window.pagenow) { tabs = tabs.filter(function (tab) { var _tab$props; return 'Layout' !== (tab === null || tab === void 0 ? void 0 : (_tab$props = tab.props) === null || _tab$props === void 0 ? void 0 : _tab$props.tabTitle); }); } var _useState = (0,external_wp_element_namespaceObject.useState)(root ? 'Settings' : tabs[0].props.tabTitle), _useState2 = slicedToArray_slicedToArray(_useState, 2), active = _useState2[0], setActive = _useState2[1]; var id = name + '/' + clientId; (0,external_wp_element_namespaceObject.useEffect)(function () { var _inspectorTabState$ge; if (!root) return; if ((_inspectorTabState$ge = inspectorTabState.get(id)) !== null && _inspectorTabState$ge !== void 0 && _inspectorTabState$ge.tab && active !== inspectorTabState.get(id).tab) { setActive(inspectorTabState.get(id).tab); } }, []); return /*#__PURE__*/React.createElement("div", { className: classnames_default()('blockart-tab-panel', { 'has-icon': hasIcon }, className) }, /*#__PURE__*/React.createElement("div", { className: "blockart-tab-panel-head", "data-sticky": !!root }, label && /*#__PURE__*/React.createElement("label", { htmlFor: "blockart-tab-panel" }, label), /*#__PURE__*/React.createElement("div", { className: "blockart-tab-panel-menu", role: "group", "data-grid": (_tabs$length = tabs.length) !== null && _tabs$length !== void 0 ? _tabs$length : 0 }, tabs.map(function (tab) { var tabTitle = tab.props.tabTitle; return /*#__PURE__*/React.createElement("button", { key: tabTitle, className: classnames_default()('blockart-tab-panel-menu-item', { 'is-active': tabTitle === active }), onClick: function onClick() { if (root) { var _inspectorTabState$ge2; var current = (_inspectorTabState$ge2 = inspectorTabState.get(tab)) !== null && _inspectorTabState$ge2 !== void 0 ? _inspectorTabState$ge2 : {}; inspectorTabState.set(id, _objectSpread(_objectSpread({}, current), {}, { tab: tabTitle })); setActive(tabTitle); } else { setActive(tabTitle); } } }, /*#__PURE__*/React.createElement("span", { className: "blockart-tab-panel-menu-item-title" }, tabTitle)); }))), /*#__PURE__*/React.createElement("div", { className: "blockart-tab-panel-body" }, tabs.map(function (tab) { return /*#__PURE__*/React.createElement("div", { key: tab.props.tabTitle, style: { display: tab.props.tabTitle === active ? 'block' : 'none' }, "data-inspector-tab": root ? tab.props.tabTitle : null }, tab); }))); })); ;// CONCATENATED MODULE: ./src/blocks/components/tab/index.js /* harmony default export */ const tab = (function (_ref) { var children = _ref.children; return /*#__PURE__*/React.createElement(React.Fragment, null, Array.isArray(children) ? children.map(function (child) { return child; }) : children); }); ;// CONCATENATED MODULE: external ["wp","compose"] const external_wp_compose_namespaceObject = window["wp"]["compose"]; ;// CONCATENATED MODULE: ./src/blocks/hoc/with-client-id.js /* harmony default export */ const with_client_id = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(function (Component) { return function (props) { var attributes = props.attributes, setAttributes = props.setAttributes, clientId = props.clientId, name = props.name; (0,external_wp_element_namespaceObject.useEffect)(function () { var ID = clientId.substr(0, 8); var _name$split = name.split('/'), _name$split2 = slicedToArray_slicedToArray(_name$split, 2), _name$split2$ = _name$split2[1], blockName = _name$split2$ === void 0 ? 'blockart' : _name$split2$; if (!attributes.clientId) { setAttributes({ clientId: ID }); } else if (attributes.clientId !== ID) { if (document.querySelectorAll(".blockart-".concat(blockName, "-").concat(attributes.clientId)).length > 1) { setAttributes({ clientId: ID }); } } }, []); return /*#__PURE__*/React.createElement(Component, props); }; }, 'withClientId')); ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js function typeof_typeof(obj) { "@babel/helpers - typeof"; return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, typeof_typeof(obj); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } ;// CONCATENATED MODULE: external ["wp","keycodes"] const external_wp_keycodes_namespaceObject = window["wp"]["keycodes"]; ;// CONCATENATED MODULE: external ["wp","i18n"] const external_wp_i18n_namespaceObject = window["wp"]["i18n"]; ;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"] const external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"]; ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } ;// CONCATENATED MODULE: external ["wp","components"] const external_wp_components_namespaceObject = window["wp"]["components"]; ;// CONCATENATED MODULE: ./src/blocks/components/icon/icons.js var arrowDown = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M17.9 15.2H13V2h-2v13.1H6.1L12 22l5.9-6.8z" })); var arrowLeft = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 12l6.9 6v-5H22v-2H8.9V6L2 12z" })); var arrowRight = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.8 12l-7-6v5H2v2h12.8v5l7-6z" })); var arrowUp = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M13 22V9h5l-6-7-6.1 7h5v12.9H13v.1z" })); var textAlignLeft = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3,19.94H21V22H3Zm0-4.45,12.28,0v2L3,17.47ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM3,6.51l12.27,0,0,2L3,8.47Z" })); var textAlignRight = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3,19.94H21V22H3Zm5.7-4.45,12.28,0v2l-12.28,0ZM3.13,10.9l17.81,0v2.22L3.13,13ZM3,2,21,2v2H3ZM8.71,6.51,21,6.56l0,2-12.26,0Z" })); var textAlignCenter = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3,19.94H21V22H3Zm3-4.45,12,0v2l-12,0ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM6,6.51l12,0,0,2-12,0Z" })); var textAlignJustify = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3,15.53H21V17.6H3ZM6,20l12,0v2L6,22ZM3,10.9l17.81,0v2.22L3,13ZM3,2,21,2v2H3ZM3,6.51l18,0,0,2-18,0Z" })); var alignTop = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 7.5H4v13h16Zm-18-3h20m0 1H2v-2h20Z" })); var alignMiddle = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 11h-4V2H6v9H2v2h4v9h12v-9h4v-2z" })); var alignBottom = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 16.5H4v-13h16Zm-18 3h20m0-1H2v2h20Z" })); var alignSpaceBetween = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M6 4v16h12V4ZM3 22V2m1 0v20H2V2Zm17 20V2m1 0v20h-2V2Z" })); var alignCenter = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "11", y: "2", width: "2", height: "20" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "3", y: "6", width: "18", height: "12" })); var alignLeft = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "3", y: "2", width: "2", height: "20" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "7", y: "6", width: "14", height: "12" })); var alignRight = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "19", y: "2", width: "2", height: "20" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { x: "3", y: "6", width: "14", height: "12" })); var chevronDown = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20.5 6.2L12 14.7 3.5 6.2 2 7.8l10 10 9.9-10-1.4-1.6z" })); var chevronLeft = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M16.3 2l-10 10.1 10 10 1.4-1.4-8.5-8.6 8.6-8.7L16.3 2z" })); var chevronRight = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M6.6 3.4l8.7 8.6-8.7 8.7L8 22.1 18 12 8 2 6.6 3.4z" })); var chevronUp = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 16.1l1.4 1.4L12 8.9l8.6 8.6 1.4-1.4-10-10-10 10z" })); var questionMark = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 4C9.243 4 7 6.243 7 9h2c0-1.654 1.346-3 3-3s3 1.346 3 3c0 1.069-.454 1.465-1.481 2.255-.382.294-.813.626-1.226 1.038C10.981 13.604 10.995 14.897 11 15v2h2v-2.009c0-.024.023-.601.707-1.284.32-.32.682-.598 1.031-.867C15.798 12.024 17 11.1 17 9c0-2.757-2.243-5-5-5zm-1 14h2v2h-2z" })); var removeO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z" })); var toggleOff = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M8 9c-1.6 0-3 1.4-3 3s1.4 3 3 3 3-1.4 3-3-1.4-3-3-3z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M16 6H8c-3.3 0-6 2.7-6 6s2.7 6 6 6h8c3.3 0 6-2.7 6-6s-2.7-6-6-6zm0 10H8c-2.2 0-4-1.8-4-4s1.8-4 4-4h8c2.2 0 4 1.8 4 4s-1.8 4-4 4zm4-4h1-1z" })); var toggleOn = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M16 6H8c-3.3 0-6 2.7-6 6s2.7 6 6 6h8c3.3 0 6-2.7 6-6s-2.7-6-6-6zm0 9c-1.6 0-3-1.4-3-3s1.4-3 3-3 3 1.4 3 3-1.4 3-3 3z" })); var unLink = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12,22.14a4.67,4.67,0,0,0,3.27-1.33,4.57,4.57,0,0,0,1.21-3.27l-.06-3.69H14.59l.06,3.69A2.63,2.63,0,0,1,12,20.33a2.54,2.54,0,0,1-2.53-2.79l.06-3.69-2-.06-.06,3.69A4.6,4.6,0,0,0,12,22.14ZM16.54,6.46a4.48,4.48,0,1,0-9,0l.06,3.69H9.53L9.47,6.46a2.59,2.59,0,1,1,5.17,0l-.06,3.69h1.9C16.54,10.09,16.54,6.46,16.54,6.46Z" })); var chevronUpCircle = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 12c0 5.5-4.5 10-10 10S2 17.5 2 12 6.5 2 12 2s10 4.5 10 10zM2.5 12c0 5.3 4.3 9.5 9.5 9.5s9.5-4.3 9.5-9.5-4.2-9.5-9.5-9.5c-5.2 0-9.5 4.3-9.5 9.5z", fill: "#e2e8f0" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.7 14.9l4.3-4.3 4.3 4.3.8-.8-5-5-5 5 .6.8z", fill: "#64748b" })); var chevronDownCircle = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12,22A10,10,0,1,1,22,12,10,10,0,0,1,12,22ZM12,2.49A9.51,9.51,0,1,0,21.51,12,9.53,9.53,0,0,0,12,2.49Z", fill: "#e2e8f0" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M16.28,9.1,12,13.35,7.78,9.1,7,9.9l5,5L17,9.9Z", fill: "#64748b" })); var cog = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 16c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2.8 16.1l1 1.7c.5.9 1.8 1.3 2.7.7l.5-.3c.6.5 1.2.8 1.9 1.1v.7c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2v-.6c.7-.3 1.3-.7 1.9-1.1l.5.3c.9.5 2.2.2 2.7-.7l1-1.7c.6-1 .2-2.2-.7-2.7l-.5-.3c.1-.7.1-1.5 0-2.2l.5-.3c1-.6 1.3-1.8.7-2.7l-1-1.7c-.5-.9-1.8-1.3-2.7-.7l-.5.3c-.6-.5-1.2-.8-1.9-1.1V4c0-1.1-.9-2-2-2h-2C9.9 2 9 2.9 9 4v.6c-.7.3-1.3.7-1.9 1.1l-.5-.3c-.9-.5-2.2-.2-2.8.7l-1 1.7c-.6 1-.2 2.2.7 2.7l.5.3c-.1.7-.1 1.5 0 2.2l-.5.3c-.9.7-1.2 1.9-.7 2.8zm3.4-2.7c-.1-.5-.2-.9-.2-1.4 0-.5.1-.9.2-1.4.1-.4-.1-.9-.5-1.1l-1.1-.6 1-1.7 1.1.7c.4.1.9.1 1.2-.2.7-.7 1.5-1.2 2.4-1.4.4-.1.7-.5.7-1V4h2v1.3c0 .4.3.8.7 1 .9.3 1.7.8 2.4 1.4.3.3.8.3 1.2.1l1.1-.7 1 1.7-1.1.6c-.4.2-.6.7-.5 1.1.1.5.2.9.2 1.4 0 .5-.1.9-.2 1.4-.1.4.1.9.5 1.1l1.1.6-1 1.7-1.1-.7c-.4-.2-.9-.2-1.2.1-.7.6-1.5 1.1-2.4 1.4-.4.1-.7.5-.7 1v1.3h-2v-1.3c0-.4-.3-.8-.7-1-.9-.3-1.7-.8-2.4-1.4-.3-.1-.8-.1-1.2.1l-1.1.7-1-1.7 1.1-.7c.4-.2.6-.7.5-1.1z" })); var color = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.9 14.7c-.1.1-2.2 2.2-2.2 3.8 0 1.6 1 2.6 2.2 2.7 1 0 2.2-1 2.2-2.7 0-1.6-2.1-3.7-2.2-3.8zM8.7 21.2c.4.4.9.6 1.5.6s1.1-.2 1.5-.6l7.5-7.5-.8-.8-8.3-8.3-2.3-2.5-1.5 1.4L8.8 6l-6.1 6.1c-.4.4-.6.9-.6 1.5s.2 1.1.6 1.5l6 6.1zm1.7-13.7l6 6-12.2.1 6.2-6.1z" })); var desktop = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 2.6H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h7v2H8v2h8v-2h-3v-2h7c1.1 0 2-.9 2-2v-11c0-1.1-.9-2-2-2zm-16 11v-9h16v9H4z" })); var gradient = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { version: "1.1", id: "prefix__Layer_1", xmlns: "http://www.w3.org/2000/svg", x: "0", y: "0", viewBox: "0 0 24 24", xmlSpace: "preserve" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { className: "prefix__st0", d: "M3 2v20M22 3H2M22 21H2M21 2v20", stroke: "#000", strokeWidth: "2", strokeMiterlimit: "10" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4 4v16h16C14 15 8 11 4 4z", fillRule: "evenodd", clipRule: "evenodd" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12.3 4H4c4 7 10 11 16 16V4h-7.7", fillRule: "evenodd", clipRule: "evenodd", fill: "#fff" })); var icons_image = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.9 2.2H4.3c-1.2 0-2 .8-2 2v15.6c0 1.2.7 2.1 2 2.1h15.6c1.2 0 2-.8 2-2V4.3c-.1-1.3-.8-2.1-2-2.1zM4.3 19.8V4.2h15.6v15.6H4.3z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M10.1 14l-1-1-3 4h12l-5-7-3 4z" })); var icons_link = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3.6 20.3c1 1 2.4 1.6 3.8 1.6s2.7-.7 3.7-1.7l3-3.1-1.4-1.4-3 3.1c-1.3 1.3-3.3 1.3-4.6 0s-1.3-3.3 0-4.6l3.1-3-1.4-1.5-3.1 3c-2.1 2.2-2.2 5.5-.1 7.6zm16.7-9.2c2.1-2.1 2.2-5.4.1-7.5s-5.4-2-7.5.1l-3 3.1 1.4 1.4 3-3.1c1.3-1.3 3.3-1.3 4.6 0 1.3 1.3 1.3 3.3 0 4.6l-3.1 3 1.4 1.4c.1 0 3.1-3 3.1-3z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M8.7 16.6l-1.4-1.4 8.5-8.5 1.4 1.4-8.5 8.5z" })); var lock = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12,22.14a4.67,4.67,0,0,0,3.27-1.33,4.57,4.57,0,0,0,1.21-3.27l-.06-3.69H14.59l.06,3.69A2.63,2.63,0,0,1,12,20.33a2.54,2.54,0,0,1-2.53-2.79l.06-3.69-2-.06-.06,3.69A4.6,4.6,0,0,0,12,22.14ZM16.54,6.46a4.48,4.48,0,1,0-9,0l.06,3.69H9.53L9.47,6.46a2.59,2.59,0,1,1,5.17,0l-.06,3.69h1.9C16.54,10.09,16.54,6.46,16.54,6.46Z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M13,17.15H11V6.85h2Z" })); var mobile = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M16.9 2h-10c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-10 18V4h10v16h-10z" }), /*#__PURE__*/React.createElement("circle", { cx: "11.9", cy: "18", r: "1" })); var tablet = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.8 2 1.9 2h16c1.1 0 2-.9 2-2V4c.1-1.1-.8-2-1.9-2zM4 20V4h15.8v16H4z" }), /*#__PURE__*/React.createElement("circle", { cx: "12", cy: "18", r: "1" })); var play = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2.1 2v20L22 12 2.1 2z" })); var icons_reset = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.9 10.1c-.2-.5-.5-1-.8-1.5l-1.7 1.1c.5.7.8 1.5 1 2.3.2.9.2 1.8 0 2.6-.1.4-.2.8-.4 1.2-.2.4-.4.8-.6 1.1-.5.7-1.1 1.3-1.8 1.8s-1.5.8-2.3 1c-.9.2-1.8.2-2.6 0-1.3-.3-2.4-.9-3.3-1.8-.6-.4-1.1-1.1-1.4-1.9-.2-.4-.3-.8-.4-1.2-.3-1.3-.1-2.7.4-3.9.3-.8.8-1.5 1.4-2.1.6-.6 1.3-1.1 2-1.4.4-.2.8-.3 1.2-.4h.3v3l5-4-5-4v2.9c-.1.1-.4.1-.6.1-1.1.3-2.2.7-3.1 1.3C3.8 8.6 2.5 13 4.1 16.8c.4 1 1.1 1.9 1.8 2.7.8.8 1.7 1.4 2.7 1.8 1.6.7 3.4.8 5.1.5 2.8-.6 5.1-2.5 6.2-5.1.2-.5.4-1.1.5-1.6.2-1.1.2-2.3 0-3.4-.1-.5-.3-1.1-.5-1.6z" })); var star = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.9 9.2c-.1-.4-.5-.6-.9-.7L15.3 8l-2.5-5.5c-.2-.5-.8-.7-1.3-.5-.2.1-.4.3-.5.5L8.6 8.1l-5.7.4c-.5 0-.9.5-.9 1.1 0 .2.1.5.3.6l4.2 4.1L5 20.8c-.1.5.2 1.1.7 1.2.3 0 .6 0 .9-.2l5.4-3.6 5.4 3.6c.5.3 1.1.2 1.4-.3.2-.2.2-.5.2-.8l-1.8-6.4 4.5-4.1c.3-.2.4-.6.2-1z" })); var upload = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M11 15h2V9h3l-4-5-4 5h3v6z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 18H4v-7H2v7c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-7h-2v7z" })); var pencil = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3 22H3.3L7.7 20.9L8.2 20.6L21.4 7.3C21.8 6.9 22 6.3 22 5.8C22 5.3 21.7 4.7 21.4 4.3L19.7 2.6C18.9 1.8 17.4 1.8 16.7 2.6L3.4 15.8C3.2 16 3.1 16.1 3.1 16.3L2.1 20.6C2 20.9 2.1 21.4 2.4 21.6C2.5 21.9 2.7 22 3 22ZM18.2 4.1L19.9 5.8L18.2 7.5L16.5 5.8L18.2 4.1ZM5.1 17.1L14.8 7.4L16.5 9.1L6.8 18.8L4.5 19.4L5.1 17.1Z" })); var trash = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M5 20c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8h2V6h-4V4c0-1.1-.9-2-2-2H9c-1.2 0-2 .9-2 2v2H3v2h2v12zM9 4h6v2H9V4zM7.9 8h9v12H7V8h.9z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M9.4 10.7h1.7v7H9.4v-7zm3.4 0h1.7v7h-1.7v-7z" })); var filled = /*#__PURE__*/React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement("path", { d: "M21.2 8H2.8a.8.8 0 0 0-.8.8v6.4a.8.8 0 0 0 .8.8h18.4a.8.8 0 0 0 .8-.8V8.8a.8.8 0 0 0-.8-.8Zm-1.7 4.5h-15a.5.5 0 0 1 0-1h15a.5.5 0 0 1 0 1Z" })); var outline = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.5 11.5h-15a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1Z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Rect, { width: "19", height: "8", x: "2.5", y: "8", fill: "none", stroke: "currentColor", strokeMiterlimit: "10", rx: ".8" })); var plain = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21 13H3a1 1 0 0 1-1-1 1 1 0 0 1 1-1h18a1 1 0 0 1 1 1 1 1 0 0 1-1 1Z" })); var linkO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".5", d: "M2.26 14.28h19.48" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21 12H3a1 1 0 0 1-1-1 1 1 0 0 1 1-1h18a1 1 0 0 1 1 1 1 1 0 0 1-1 1Z" })); var paste = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 11V5a2 2 0 00-2-2h-3a1 1 0 00-1-1H8a1 1 0 00-1 1H4a2 2 0 00-2 2v13a2 2 0 002 2h7a2 2 0 002 2h7a2 2 0 002-2v-7a2 2 0 00-2-2zm-9 2v5H4V5h3v2h8V5h3v6h-5a2 2 0 00-2 2zm2 7v-7h7v7z" })); var copy = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20 2H10a2 2 0 00-2 2v4H4a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4h4a2 2 0 002-2V4a2 2 0 00-2-2zM4 20V10h10v10zm16-6h-4v-4a2 2 0 00-2-2h-4V4h10z" })); var iconList = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.1 9H21c.5 0 1-.5 1-1s-.5-1-1-1H7.1C6.5 7 6 7.4 6 8s.5 1 1.1 1zM21 11H7.1c-.6 0-1.1.4-1.1 1s.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1s-.6-1-1.1-1zM21 15H7.1c-.6 0-1.1.5-1.1 1 0 .6.5 1 1.1 1H21c.6 0 1.1-.4 1.1-1-.1-.5-.6-1-1.1-1zM3.3 7.6L3.1 7H3l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.1v.1l.4.4-.1.7c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.1-.7.5-.4v-.1s0-.1-.1-.1h-.6zM3.3 11.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1 0-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6zM3.3 15.6l-.2-.5c0-.1-.1-.1-.1-.1l-.1.1-.2.5h-.6c-.1.1-.1.1-.1.2v.1l.4.4-.1.6c0 .1 0 .1.1.1h.1l.5-.4.5.4h.1v-.1l-.2-.6.6-.5v-.1s0-.1-.1-.1h-.6z" })); var socialIcons = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M6 15c.9 0 1.7-.3 2.4-.9l6.3 3.6c-.1.3-.1.6-.1.9 0 1.9 1.6 3.5 3.5 3.6 1.9 0 3.5-1.6 3.6-3.5 0-1.9-1.6-3.5-3.5-3.6-.9 0-1.8.3-2.4.9l-6.3-3.6c.1-.2.1-.5.1-.8l6.1-3.5c1.4 1.3 3.6 1.2 4.9-.2s1.2-3.6-.2-4.9-3.6-1.2-4.9.2c-.6.6-.9 1.5-.9 2.4 0 .3 0 .6.1.8L8.9 9.6c-1-1.6-3.2-2.1-4.8-1S2 11.8 3 13.4c.7 1 1.8 1.6 3 1.6zm12 2c.8 0 1.5.7 1.5 1.5S18.8 20 18 20s-1.5-.7-1.5-1.5.6-1.5 1.5-1.5zm0-13c.8 0 1.5.7 1.5 1.5S18.8 7 18 7s-1.5-.7-1.5-1.5S17.1 4 18 4zM6 10c.8 0 1.5.7 1.5 1.5S6.8 13 6 13s-1.5-.7-1.5-1.5S5.1 10 6 10z" })); var infoBox = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 4V3c0-.6-.4-1-1-1H3c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h18c.6 0 1-.4 1-1V4zM4 4h16v16H4V4z" }), /*#__PURE__*/React.createElement("circle", { cx: "12", cy: "7.5", r: "2" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M15 10.5H9c-.6 0-1 .4-1 1s.4 1 1 1h6c.6 0 1-.4 1-1s-.5-1-1-1zM11 18.5h2c.6 0 1-.4 1-1s-.4-1-1-1h-2c-.6 0-1 .4-1 1 0 .5.4 1 1 1zM6 14.5c0 .6.4 1 1 1h10c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1 .5-1 1z" })); var icons_button = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "m4 7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm16 8h-16v-6h16z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M18,12h0a.94.94,0,0,0-1-1H7a.94.94,0,0,0-1,1H6a.94.94,0,0,0,1,1H17A.94.94,0,0,0,18,12Z", fill: "#2563eb" })); var carousel = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4 19.3h2c0 1.1.9 2.1 2 2.1h8c1.1 0 2-.9 2-2.1h2c1.1 0 2-.9 2-2.1V6.7c0-1.1-.9-2.1-2-2.1h-2c0-1.1-.9-2.1-2-2.1H8c-1.1 0-2 .9-2 2.1H4c-1.1.1-2 1-2 2.1v10.5c0 1.2.9 2.1 2 2.1zM20 6.5v11h-2v-11h2zM7.9 4h8v16H8L7.9 4zM4 6.5h2v11H4v-11z" })); var counter = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20.1 8.3l.9-.9c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0l-1 1c-1-.6-2.3-1-3.6-1-3.9 0-7 3.1-7 7.1 0 3.7 3.2 6.9 6.9 6.9 3.9 0 7.1-3.1 7.1-7 0-1.8-.7-3.4-1.9-4.7zM15 18c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M15 10c.6 0 1 .4 1 1v2c0 .5-.4 1-1 1-.5 0-1-.4-1-1v-2c0-.6.4-1 1-1zm-1-7h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2c-.5 0-1-.4-1-1s.4-1 1-1zM4 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm0 8h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H4c-.5 0-1-.4-1-1s.4-1 1-1zm-1-4h2c.5 0 1 .4 1 1 0 .5-.4 1-1 1H3c-.5 0-1-.4-1-1s.4-1 1-1z" })); var divider = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 10.9h20v2H2v-2z" })); var faq = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 6.4c-2 0-3.5 1.6-3.5 3.5h1.4c0-1.2 1-2.1 2.1-2.1s2.1 1 2.1 2.1c0 .8-.3 1-1 1.6-.3.2-.6.4-.9.7-.9.9-.9 1.8-.9 1.9v1.4h1.4v-1.4s0-.4.5-.9c.2-.2.5-.4.7-.6.7-.6 1.6-1.2 1.6-2.7 0-2-1.5-3.5-3.5-3.5zm-.7 9.9h1.4v1.4h-1.4v-1.4z" }), /*#__PURE__*/React.createElement("circle", { cx: "12", cy: "12", r: "9", fill: "none", stroke: "#000", strokeWidth: "2", strokeMiterlimit: "10" })); var icons_form = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4 2c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4zm16 4H4V4h16v2zM2 10.9v5c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2H4c-1.1.1-2 1-2 2zM20 16H4v-5h16v5zM3 22h5c.6 0 1-.4 1-1s-.4-1-1-1H3c-.6 0-1 .4-1 1s.4 1 1 1z" })); var map = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 14c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M11.42 21.814a.998.998 0 0 0 1.16 0C12.884 21.599 20.029 16.44 20 10c0-4.411-3.589-8-8-8S4 5.589 4 9.995c-.029 6.445 7.116 11.604 7.42 11.819zM12 4c3.309 0 6 2.691 6 6.005.021 4.438-4.388 8.423-6 9.73-1.611-1.308-6.021-5.294-6-9.735 0-3.309 2.691-6 6-6z" })); var heading = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "m17 19v-14a1 1 0 0 0-1-1 1 1 0 0 0-1 1v6h-6v-6a1 1 0 0 0-1-1 0.94 0.94 0 0 0-1 1v14a1 1 0 0 0 1 1 1 1 0 0 0 1-1v-6h6v6a1 1 0 0 0 1 1 0.94 0.94 0 0 0 1-1z", fill: "#2563eb" })); var icon = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "m6.516 14.323-1.49 6.452a.998.998 0 0 0 1.529 1.057L12 18.202l5.445 3.63a1.001 1.001 0 0 0 1.517-1.106l-1.829-6.4 4.536-4.082a1 1 0 0 0-.59-1.74l-5.701-.454-2.467-5.461a.998.998 0 0 0-1.822 0L8.622 8.05l-5.701.453a1 1 0 0 0-.619 1.713l4.214 4.107zm2.853-4.326a.998.998 0 0 0 .832-.586L12 5.43l1.799 3.981a.998.998 0 0 0 .832.586l3.972.315-3.271 2.944c-.284.256-.397.65-.293 1.018l1.253 4.385-3.736-2.491a.995.995 0 0 0-1.109 0l-3.904 2.603 1.05-4.546a1 1 0 0 0-.276-.94l-3.038-2.962 4.09-.326z" })); var paragraph = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M9.15 17h2.3v4.1a.9.9 0 00.9.9.9.9 0 00.9-.9v-17h2.8v17a.9.9 0 00.9.9h.1a.9.9 0 00.9-.9v-17h3.1a.9.9 0 00.9-.9V3a.9.9 0 00-.9-.9h-12a7.2 7.2 0 00-7 7.5 7.2 7.2 0 007.1 7.4zm-.1-12.9h2.3V15h-2.2a5.79 5.79 0 01-5.1-5.5 5.69 5.69 0 015-5.45z", fill: "#2563eb" })); var rating = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 8.8c-.1-.2-.2-.3-.5-.4l-3-.2-1.3-2.9c-.1-.3-.5-.4-.7-.3-.1.1-.2.1-.3.3l-1.3 2.9-3 .2c-.3 0-.5.3-.5.6 0 .1.1.2.2.3l2.2 2.2-.8 3.4c-.1.3.1.6.4.6.1 0 .3 0 .4-.1l2.9-1.9 2.9 1.9c.2.2.6.1.7-.1.1-.1.1-.3.1-.4l-1-3.4 2.4-2.2c.2-.1.2-.3.2-.5z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12.6 9.2c-.1-.2-.2-.3-.5-.4l-3-.2-1.3-2.9c-.1-.3-.4-.4-.7-.3-.1.1-.2.1-.3.3L5.5 8.6l-3 .2c-.3 0-.5.3-.5.6 0 .1.1.2.2.3l2.2 2.2-.8 3.4c-.1.3.1.6.4.7.1 0 .3 0 .4-.1L7.3 14l2.9 1.9c.2.2.6.1.7-.1.1-.1.1-.3.1-.4L10 12l2.4-2.2c.2-.2.3-.4.2-.6z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M18.7 10c-.1-.3-.3-.5-.6-.5l-4-.3-1.7-3.9c-.2-.3-.6-.5-1-.3-.2.1-.3.2-.4.4L9.3 9.2l-4 .3c-.4 0-.7.4-.6.8 0 .2.1.3.2.5l3 2.9-1.1 4.6c-.1.3.1.7.5.7.2 0 .4 0 .6-.1l3.8-2.6 3.8 2.6c.3.2.8.1 1-.2.1-.2.1-.4.1-.6l-1.3-4.5 3.2-2.9c.2-.1.3-.4.2-.7z", stroke: "#fff", strokeMiterlimit: "10" })); var section = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4 2a2 2 0 00-2 2v3a2 2 0 002 2h16a2 2 0 002-2V4a2 2 0 00-2-2zm16 5H4V4h16zM2 12v8a2 2 0 002 2h16a2 2 0 002-2v-8a2 2 0 00-2-2H4a2 2 0 00-2 2zm18 0v8H4v-8zm-9 5H9v-2h2v-2h2v2h2v2h-2v2h-2z", fill: "#2563eb" })); var spacing = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21,2H3A1,1,0,0,0,2,3H2A.94.94,0,0,0,3,4H21a.94.94,0,0,0,1-1h0A.94.94,0,0,0,21,2Z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2,21H2a.94.94,0,0,0,1,1H21a.94.94,0,0,0,1-1h0a.94.94,0,0,0-1-1H3A.94.94,0,0,0,2,21Z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M9,15V9A.94.94,0,0,0,8,8H8A1,1,0,0,0,7,9v6a.94.94,0,0,0,1,1H8A1,1,0,0,0,9,15Z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M17,15V9a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1v6a.94.94,0,0,0,1,1h0A1.08,1.08,0,0,0,17,15Z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M13,17V7a.94.94,0,0,0-1-1h0a.94.94,0,0,0-1,1V17a.94.94,0,0,0,1,1h0A.94.94,0,0,0,13,17Z", fill: "#2563eb" })); var teams = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 10c1.151 0 2-.848 2-2s-.849-2-2-2c-1.15 0-2 .848-2 2s.85 2 2 2zm0 1c-2.209 0-4 1.612-4 3.6v.386h8V14.6c0-1.988-1.791-3.6-4-3.6z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19 2H5c-1.103 0-2 .897-2 2v13c0 1.103.897 2 2 2h4l3 3 3-3h4c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2zm-5 15l-2 2-2-2H5V4h14l.002 13H14z" })); var testimonial = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.7 1.5H4.3c-1.2 0-2.2 1-2.2 2.2v12.9c0 1.2 1 2.2 2.2 2.2h3.9l3.8 3.7 3.8-3.7h3.9c1.2 0 2.2-1 2.2-2.2V3.7c0-1.2-1-2.2-2.2-2.2zm0 15.1h-4.9L12 19.4l-2.8-2.8H4.3V3.7h15.4v12.9z" }), /*#__PURE__*/React.createElement("circle", { cx: "7.5", cy: "10.1", r: "1.5" }), /*#__PURE__*/React.createElement("circle", { cx: "12", cy: "10.1", r: "1.5" }), /*#__PURE__*/React.createElement("circle", { cx: "16.5", cy: "10.1", r: "1.5" })); var video = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M8.8 8.8v6.5l6.4-3.2-6.4-3.3z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21 18.3H3c-.6 0-1-.4-1-1V6.7c0-.6.4-1 1-1h18c.6 0 1 .4 1 1v10.6c0 .6-.5 1-1 1z", fill: "none", stroke: "#000", strokeWidth: "2", strokeMiterlimit: "10" })); var column = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 6h20v12H2z", fill: "#2563eb" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { fill: "#fff", d: "M4 8h2.91v8H4zM8.36 8h2.91v8H8.36zM12.73 8h2.91v8h-2.91zM17.09 8H20v8h-2.91z" })); var barsO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.9 7.5h-6v-5H8v7H2v11.9h20l-.1-13.9zM4 11.4h4v7.9H4v-7.9zm6-.9v-6h4v14.9h-4v-8.9zm9.9 8.9h-4V9.5h4v9.9z" })); var cartO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.8 7.3c-.2-.3-.5-.4-.8-.4H7.3L6.2 4.2C5.8 3.4 5.1 3 4.4 3H2v2h2.3L9 16.3c.2.3.5.6 1 .6h8c.4 0 .8-.3 1-.6l2.9-8c.1-.3 0-.6-.1-1zm-4.5 7.6h-6.6L8.2 9h11.3l-2.2 5.9z" }), /*#__PURE__*/React.createElement("circle", { cx: "10.5", cy: "19.5", r: "1.5" }), /*#__PURE__*/React.createElement("circle", { cx: "17.4", cy: "19.5", r: "1.5" })); var envelopeO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.5 4.2h-19c-.3 0-.5.2-.5.4v14.7c0 .2.2.4.4.4h19c.2 0 .4-.2.4-.4V4.6c.2-.2 0-.4-.3-.4zm-1.5 2v.5l-8 6-8-6v-.5h16zM4 17.8V9.1l7.4 5.6c.2.2.4.2.6.2s.4-.1.6-.2L20 9.1v8.7H4z" })); var eyeO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 17.9c-4.2 0-7.9-2.1-9.9-5.5-.2-.3-.2-.6 0-.9C4.1 8.2 7.8 6 12 6s7.9 2.1 9.9 5.5c.2.3.2.6 0 .9-2 3.4-5.7 5.5-9.9 5.5zM3.9 12c1.6 2.6 4.8 4.2 8.1 4.2s6.4-1.6 8.1-4.2c-1.6-2.6-4.7-4.2-8.1-4.2S5.6 9.4 3.9 12zm8.1 3.3c-1.8 0-3.3-1.5-3.3-3.3s1.5-3.3 3.3-3.3 3.3 1.5 3.3 3.3-1.5 3.3-3.3 3.3zm0-4.9c-.9 0-1.6.8-1.6 1.6 0 .9.8 1.6 1.6 1.6s1.6-.8 1.6-1.6c0-.9-.7-1.6-1.6-1.6z" })); var instagramO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 8c-2.3 0-4 1.8-4 4 0 2.3 1.8 4 4 4 2.3 0 4-1.8 4-4 0-2.3-1.7-4-4-4zm0 6.6c-1.5 0-2.6-1.1-2.6-2.6s1.1-2.6 2.6-2.6 2.6 1.1 2.6 2.6-1.1 2.6-2.6 2.6z" }), /*#__PURE__*/React.createElement("circle", { cx: "16.2", cy: "7.8", r: "1" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.4 5.5c-.5-1.3-1.6-2.4-2.9-2.9-.8-.3-1.6-.4-2.4-.4C15 2 14.7 2 12 2s-3 0-4.1.1c-.9 0-1.6.2-2.4.4-1.4.5-2.4 1.6-2.9 3-.3.7-.5 1.5-.5 2.3C2 8.9 2 9.3 2 12s0 3 .1 4.1c0 .9.2 1.6.4 2.4.5 1.3 1.6 2.4 2.9 2.9.8.3 1.6.4 2.4.5 1.2.1 1.5.1 4.2.1s3 0 4.1-.1c.9 0 1.6-.2 2.4-.4 1.3-.5 2.4-1.6 2.9-2.9.3-.8.4-1.6.4-2.4.1-1 .1-1.4.1-4.1s0-3-.1-4.1c.1-1-.1-1.8-.4-2.5zm-1.3 10.4c0 .6-.1 1.3-.3 1.9-.3.9-1 1.6-1.9 1.9-.6.3-1.2.3-1.8.3-1 .1-1.4.1-4.1.1s-2.9 0-4.1-.1c-.6 0-1.2-.1-1.8-.3-.9-.3-1.6-1-1.9-1.9-.3-.6-.3-1.2-.3-1.8-.1-1-.1-1.4-.1-4.1s0-2.9.1-4.1c0-.6.1-1.3.3-1.9.3-.9 1-1.6 1.9-1.9.6-.3 1.2-.3 1.8-.3h4.2c2.8 0 2.9 0 4.1.1.6 0 1.2.1 1.8.3.9.3 1.6 1 1.9 1.9.3.6.3 1.2.3 1.8.1 1 .1 1.4.1 4.1-.2 2.7-.2 3-.2 4z" })); var mapMarkerO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 13.7c1.9 0 3.5-1.6 3.5-3.5S13.9 6.8 12 6.8s-3.5 1.6-3.5 3.5 1.6 3.4 3.5 3.4zm0-5.2c1 0 1.7.8 1.7 1.7S13 12 12 12s-1.7-.8-1.7-1.7.7-1.8 1.7-1.8z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M11.4 21.9c.2.1.3.2.6.2s.4-.1.6-.2c.3-.2 7.5-5.4 7.4-11.9 0-4.5-3.6-8-8-8s-8 3.6-8 8c0 6.5 7.1 11.6 7.4 11.9zM12 4c3.3 0 6 2.7 6 6 0 4.5-4.4 8.5-6 9.8-1.7-1.3-6-5.3-6-9.8 0-3.3 2.7-6 6-6z" })); var phoneO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.9 17.9l-5.5-5.5-2.3 2.3c-.8-.3-2.2-.8-3-1.6s-1.4-2.3-1.6-3l2.3-2.3-5.7-5.7-3.4 3.4c-.5.5-.6 1-.6 1.5 0 1.5.4 6.5 4.4 10.5s9.1 4.4 10.5 4.4c.5 0 1-.2 1.5-.6l3.4-3.4zm-4.9 2c-1.3 0-5.6-.3-9.1-3.8S4.1 8.2 4.1 7l2.1-2.1 2.7 2.7-1.4 1.3c-.3.3-.3.6-.3 1 0 .1.6 2.9 2.3 4.6s4.5 2.3 4.6 2.3c.3.1.7 0 1-.3l1.3-1.3 2.7 2.7-2.1 2z" })); var paperPlaneO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.6 2.2c-.3-.2-.7-.3-1-.1l-18 8.4c-.4.2-.6.5-.6 1s.3.8.6 1L8.3 15v7l6.2-4.4 5.1 2.2c.2.1.3.1.4.1.2 0 .3-.1.5-.2.3-.2.5-.5.5-.9L22 3c0-.2-.2-.6-.4-.8zM19 17.3l-5.6-2.4 3.3-6.5-8.1 4.4-3-1.4 14.2-6.7-.8 12.6z" })); var quoteLeft = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3.6 6.3C5 4.8 7.2 4 10 4h1v2.8l-.8.2c-1.4.2-2.3.8-2.8 1.6-.4.4-.5 1-.5 1.4h3c.5 0 1 .4 1 1v7c0 1.1-.9 2-2 2H3c-.5 0-1-.4-1-1v-8s-.2-2.7 1.6-4.7zM20 20h-6c-.5 0-1-.4-1-1v-7.9c0-.1-.2-2.8 1.7-4.8C16.1 4.8 18.3 4 21.1 4h1v2.7l-.9.3c-1.4.3-2.3.8-2.9 1.6-.3.5-.4 1-.4 1.4h3c.5 0 1 .4 1 1v7c.1 1.1-.8 2-1.9 2z" })); var quoteRight = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20.3 17.7C22.2 15.6 22 13 22 13V5c0-.5-.4-1-1-1h-6c-1.1 0-2 .9-2 2v7c0 .5.4 1 1 1h3c0 .4-.1.9-.4 1.4-.5.8-1.5 1.3-2.9 1.7l-.7.1V20h1c2.8 0 4.9-.8 6.3-2.3zm-11 0C11.2 15.6 11 13 11 13V5c0-.5-.4-1-1-1H4c-1.1 0-2 .9-2 2v7c0 .5.4 1 1 1h3c0 .4-.1.9-.4 1.4-.5.8-1.5 1.3-2.9 1.7l-.7.1V20h1c2.8 0 4.9-.8 6.3-2.3z" })); var recorderO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M18 10c0-1.1-.9-2-2-2h-1.4l-2.4-4c-.3-.6-1-1-1.7-1H5v2h5.4l1.8 3H4c-1.1 0-2 .9-2 2v8.9c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3l4 2V11l-4 2v-3zm-2 8.9H4V10h12v8.9z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7 15.1h6v2H7v-2z" })); var searchMinus = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M6.8 9.3h7V11h-7V9.3z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M10.6 19.1c2 0 3.8-.7 5.2-1.8l4.7 4.7 1.5-1.5-4.7-4.7c1.1-1.5 1.8-3.3 1.8-5.2 0-4.7-3.8-8.5-8.5-8.5S2 5.9 2 10.6s3.9 8.5 8.6 8.5zm0-15c3.6 0 6.4 2.9 6.4 6.4S14.1 17 10.6 17s-6.4-3-6.4-6.5 2.9-6.4 6.4-6.4z" })); var searchO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M10.6 19.1c2 0 3.8-.7 5.2-1.8l4.7 4.7 1.5-1.5-4.7-4.7c1.1-1.5 1.8-3.3 1.8-5.2 0-4.7-3.8-8.6-8.6-8.6S2 5.8 2 10.6s3.8 8.5 8.6 8.5zm0-15c3.6 0 6.5 2.9 6.5 6.5s-3 6.4-6.5 6.4-6.4-3-6.4-6.5 2.9-6.4 6.4-6.4z" })); var sendO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.3 11L3.5 2.7c-.3-.2-.8-.1-1.1.2-.3.2-.5.6-.4 1L4 12l-2 8.1c-.1.4 0 .8.3 1 .2.2.4.3.7.3.2 0 .3 0 .4-.1l18-8.3c.3-.2.6-.5.6-1s-.4-.8-.7-1zM4.6 18.5l.8-3.5 6-3-6-3-.8-3.5L18.4 12 4.6 18.5z" })); var thumbsUpO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.7 8.5h-5.5l1.1-3.3c.2-.6.1-1.3-.3-1.8-.3-.5-1-.9-1.6-.9h-1.6c-.3 0-.6.2-.8.3L6.5 8.5H4c-1.1 0-2 .9-2 2v8.9c0 1.1.9 2 2 2h13.2c.9 0 1.6-.5 1.9-1.3l2.8-7.3c0-.1.1-.3.1-.3v-2c-.3-1.1-1.1-2-2.3-2zM4 10.5h2v8.9H4v-8.9zm15.7 1.8L17 19.4H7.9V9.8l4.4-5.3h1.1l-1.6 4.6c0 .4 0 .7.2.9.2.3.5.4.8.4h6.9v1.9z" })); var timeO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 6H9.8v8.6H18v-2.2h-6V6z" })); var userO = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 2C9.1 2 6.7 4.4 6.7 7.3S9 12.6 12 12.6s5.3-2.3 5.3-5.3S14.9 2 12 2zm0 8.4c-1.7 0-3.1-1.4-3.1-3.1s1.4-3.2 3.1-3.2 3.1 1.4 3.1 3.1-1.4 3.2-3.1 3.2zM21.5 22v-1c0-4.1-3.3-7.4-7.4-7.4H9.9c-4.1 0-7.4 3.3-7.4 7.4v1h2.1v-1c0-2.9 2.3-5.3 5.3-5.3h4.2c2.9 0 5.3 2.3 5.3 5.3v1h2.1z" })); var youtubePlay = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M3.7 2v20l16.7-10L3.7 2z" })); var bar = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 5h10v2H2V5zm0 6h20v2H2v-2zm10 6h10v2H12v-2z" })); var behance = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.8 6c.6 0 1.2.1 1.6.2.5.1 1 .3 1.2.5.3.3.6.6.9 1 .2.4.3.9.3 1.4s-.2 1.1-.4 1.6c-.3.4-.7.8-1.2 1 .8.3 1.3.6 1.6 1.1.3.6.6 1.1.6 2 0 .6-.1 1.1-.3 1.6-.3.4-.6.9-1 1-.4.3-1 .5-1.4.7-.5.2-1 .2-1.6.2H2V6h5.8zm-.4 5c.5 0 1-.1 1.1-.3.3-.3.5-.6.5-1 0-.3-.1-.5-.2-.7 0-.3-.1-.4-.3-.5-.1-.2-.3-.3-.6-.3-.1-.1-.4-.1-.7-.1H4.8V11h2.6zm.2 5.2c.3 0 .5 0 .8-.1.3-.1.4-.2.7-.3.1-.1.3-.3.3-.5.1-.2.2-.5.2-.9 0-.7-.2-1-.5-1.3-.3-.3-.9-.4-1.4-.4H4.8v3.4l2.8.1c0-.1 0 0 0 0zm8.6 0c.3.3 1 .5 1.6.5.5 0 1-.1 1.2-.3.3-.3.6-.5.7-.8h2.2c-.3 1-.9 1.8-1.6 2.3-.8.5-1.6.7-2.6.7-.7 0-1.3-.1-1.9-.3s-1-.6-1.4-1c-.4-.4-.7-1-1-1.5-.3-.6-.3-1.2-.3-1.9s.1-1.2.3-1.8c.3-.6.5-1 1-1.5s1-.8 1.4-1c.6-.3 1.1-.3 1.8-.3.8 0 1.4.2 2 .4.6.3 1 .7 1.4 1.1.3.5.6 1 .8 1.6.3.6.3 1.2.3 1.9h-6.4c-.1.8.1 1.4.5 1.9zm2.7-4.7c-.3-.3-.8-.5-1.4-.5-.4 0-.8.1-1 .2-.3.2-.5.3-.6.5-.2.2-.3.4-.3.7-.1.3-.1.4-.1.6h3.9c.1-.7-.2-1.2-.5-1.5zM15 6.9h5v1.2h-5V6.9z" })); var blogger = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.9 10.6c-.1-.3-.3-.7-.5-.9-.1 0-.6-.1-1.1-.1-.9 0-1-.1-1.3-.3-.4-.3-.6-.5-.6-1.3 0-1.5-.6-2.9-1.8-4.1-.9-.9-1.8-1.5-3-1.8-.3-.1-.9-.1-2.8-.2-3.2.1-3.8.1-4.9.5-1.8.9-3.2 2.5-3.7 4.6-.1.4-.1 1-.2 4.6 0 4.5 0 5.2.3 6.1.3.8.4 1.2 1 1.8 1 1.2 2.4 2.1 3.7 2.4.7.1 8.8.2 9.7 0 1.5-.2 2.6-.8 3.7-1.9.8-.8 1.2-1.7 1.6-2.8.1-.4.2-.7.2-3.5-.2-1.9-.2-2.8-.3-3.1zM7.6 7.7c.3-.3.4-.3 2.6-.3 2 0 2 0 2.4.2.4.2.6.5.6 1s-.2.7-.5 1c-.2.1-.3.2-2.3.2-1.2 0-2.1 0-2.3-.1-.8-.3-1.1-1.4-.5-2zm8.5 9l-.6.1H12c-3 0-3.9 0-4.1-.1-.3-.2-.6-.5-.7-.9 0-.3.2-.7.4-1 .3-.3.4-.3 4.4-.3s4 0 4.4.3c.5.6.4 1.6-.3 1.9z" })); var check = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.7 16.8l-4.3-4.1L2 14.1l5.7 5.4L21.9 5.9l-1.5-1.4L7.7 16.8z" })); var icons_close = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 10.6L3.4 2 2 3.3l8.6 8.6L2 20.4l1.4 1.4 8.6-8.5 8.5 8.5 1.4-1.4-8.5-8.5L22 3.5l-1.4-1.3-8.6 8.4z" })); var codeopen = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.6 8.6l-.3-.3-9.1-6c-.3-.2-.6-.2-.9 0l-9.1 6c0 .1-.1.2-.2.3v6.5c0 .2 0 .3.2.4.1.1.2.2.3.2l9.1 6c.1.1.3.2.4.2s.3-.1.4-.2l9.1-6 .3-.3c.1-.2.2-.3.2-.4V9c-.2-.1-.3-.3-.4-.4zm-8.9-4.1l6.9 4.6-3.2 2.1-3.7-2.5c-.1-.1 0-4.2 0-4.2zm-1.6 0v4.2l-3.7 2.5L4.3 9l6.8-4.5zm-7.5 6L6 12.1l-2.4 1.6v-3.2zm7.5 9.2l-6.9-4.6L7.4 13l3.7 2.5v4.2zm.8-5.6L8.8 12l3.1-2.1L15 12l-3.1 2.1zm.8 5.6v-4.3l3.7-2.5 3.2 2.2-6.9 4.6zm7.5-6l-2.4-1.6 2.4-1.6v3.2z" })); var delicious = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21.9 3.6c0-.1 0-.1-.1-.2 0-.1-.1-.2-.1-.3-.1-.1-.1-.2-.2-.3l-.3-.3-.1-.1c-.1 0-.1-.1-.2-.1s-.2-.1-.2-.1c-.1 0-.2-.1-.2-.1-.3-.1-.5-.1-.6-.1H4.1C3 2 2 3 2 4.1v15.7c0 .2 0 .4.1.5.1.3.3.7.5.9l.1.1c.3.2.6.4.9.5.2.2.4.2.5.2h15.7c1.2 0 2.1-1 2.1-2.1V4.1c.1-.1.1-.3 0-.5zm-1.3 16.3c0 .4-.3.7-.7.7H12V12H3.4V4.1c0-.4.3-.7.7-.7H12V12h8.6v7.9z" })); var devianart = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M18 2h-3.5l-.3.3-1.7 3.3-.6.4H6v5h3.3l.3.3-3.5 7V22h3.5l.3-.3 1.7-3.3.5-.3H18V13h-3.3l-.3-.3 3.5-7C18 5.7 18 2 18 2z" })); var dribble = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M20.7 6.9c-.9-1.6-2.1-2.8-3.6-3.6S13.8 2 12 2s-3.5.4-5 1.3c-1.5 1-2.7 2.2-3.6 3.6S2 10.2 2 12s.4 3.5 1.3 5 2.1 2.8 3.6 3.6c1.6.9 3.2 1.3 5 1.3s3.5-.4 5-1.3c1.6-.9 2.8-2.1 3.6-3.6s1.3-3.2 1.3-5-.3-3.5-1.1-5.1zM12 3.6c2 0 3.7.6 5.3 1.9-.9 1.2-2.3 2.2-4.1 3-1-1.8-2.1-3.4-3.2-4.6.6-.2 1.3-.3 2-.3zM5.5 6.8c.8-1 1.6-1.6 2.7-2.3 1.2 1.2 2.3 2.7 3.3 4.5-2 .6-4.1.9-6.3.9H3.8c.5-1.1 1-2.2 1.7-3.1zM3.7 12v-.4h1.1c2.7 0 5.1-.3 7.5-1.1.2.3.3.8.6 1.2-1.3.3-2.7 1-4.1 2.2s-2.4 2.3-3 3.6c-1.4-1.6-2.1-3.4-2.1-5.5zm8.3 8.3c-1.9 0-3.6-.6-5.1-1.7.6-1.2 1.6-2.3 2.8-3.4 1.2-1 2.5-1.7 3.7-2 .8 2.2 1.3 4.3 1.6 6.6-1 .3-2 .5-3 .5zm7-4c-.7 1-1.6 1.9-2.6 2.6-.3-2.1-.7-4.1-1.4-6.1 1-.1 1.7-.1 2.5-.1s1.6 0 2.7.1c0 1.3-.5 2.5-1.2 3.5zm-1.2-4.9c-1.1 0-2.3.1-3.2.2-.3-.7-.5-1.2-.7-1.6 2.1-.9 3.6-2 4.4-3.3 1.2 1.4 1.8 3 2 4.9-.8-.2-1.6-.2-2.5-.2z" })); var facebook = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M13.7 13.3V22H9.6v-8.7H6.5V9.7h3.1V6.9c0-3.1 2-4.9 4.9-4.9 1.3 0 3 .3 3 .3v3h-1.7c-1.6 0-2 1-2 1.9v2.4h3.3l-.6 3.7h-2.8z" })); var linkedin = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M6.6 4.9C6.6 6 5.6 7 4.3 7 3 6.9 2.1 6 2.1 4.9s1-2.1 2.3-2.1c1.3 0 2.2.9 2.2 2.1zM2.1 21h4.6V8.2H2.1V21zM17 7.9c-2.2 0-3.3 1.2-3.8 2.2V8.2H8.9C9 9.4 8.9 21 8.9 21h4.2v-7.1c0-.4 0-.8.2-1 .3-.8 1-1.6 2.2-1.6 1.6 0 2.2 1.1 2.2 2.9v6.9H22v-7.6c-.1-3.8-2.1-5.6-5-5.6z", fillRule: "evenodd", clipRule: "evenodd" })); var medium = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4.4 7.3c0-.3-.1-.5-.3-.7L2.3 4.4v-.3h5.8l4.5 9.8 3.9-9.8H22v.3L20.4 6c-.2.1-.2.3-.2.4v11.1c0 .2 0 .3.2.4l1.6 1.6v.3h-7.8v-.3l1.6-1.6c.2-.2.2-.2.2-.4v-9l-4.5 11.3h-.6L5.7 8.5v7.6c0 .3.1.6.3.9l2.1 2.5v.3H2v-.3L4.1 17c.3-.3.3-.5.3-.9V7.3z" })); var minus = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M2 11h20v2H2v-2z" })); var pinterest = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M11.9 2.1C6.4 2.1 2 6.5 2 12.1c0 4.3 2.6 7.8 6.3 9.3-.1-.8-.2-2 0-2.9.2-.8 1.1-4.9 1.1-4.9s-.3-.6-.3-1.5c0-1.4.8-2.4 1.8-2.4.9 0 1.3.6 1.3 1.4 0 .9-.5 2.2-.9 3.3-.3 1 .5 1.8 1.5 1.8 1.7 0 3.1-1.9 3.1-4.6 0-2.4-1.7-4.1-4.2-4.1-2.9 0-4.5 2.2-4.5 4.3 0 .9.3 1.7.8 2.3.1.1.1.2.1.3-.1.3-.3 1-.3 1.1-.1.2-.2.3-.3.2-1.2-.6-2-2.4-2-3.9 0-3.1 2.3-6.1 6.6-6.1 3.5 0 6.2 2.4 6.2 5.7 0 3.5-2.2 6.2-5.2 6.2-1 0-2-.5-2.3-1.1 0 0-.5 1.9-.6 2.3-.3.9-.9 2-1.2 2.6 1 .3 1.9.4 3 .4 5.6 0 10-4.4 10-10s-4.6-9.7-10.1-9.7" })); var plus = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 11h-9.1V2h-2v9H2v2h9v9h2v-9h9v-2z" })); var quora = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12.5 17.5c-.7-1.4-1.5-2.7-3.1-2.7-.3 0-.6.1-.9.2L8 14c.7-.6 1.7-1 3.1-1 2.1 0 3.2 1 4.1 2.4.5-1.1.8-2.6.8-4.5 0-4.7-1.5-7.1-4.9-7.1s-4.8 2.4-4.8 7.1c0 4.6 1.5 7 4.8 7 .5-.2 1-.2 1.4-.4zm.9 1.7c-.7.2-1.5.3-2.3.3-4.5 0-8.8-3.6-8.8-8.7C2.3 5.6 6.7 2 11.1 2c4.5 0 8.9 3.6 8.9 8.8 0 3-1.4 5.3-3.3 6.8.6 1 1.3 1.6 2.2 1.6 1 0 1.4-.8 1.5-1.4h1.3c.1.8-.3 4.2-4 4.2-2.3 0-3.4-1.3-4.3-2.8z" })); var reddit = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement("circle", { cx: "10", cy: "12.9", r: ".9" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M13.8 15c-.5.3-1.2.5-1.8.5-.6 0-1.3-.2-1.8-.5-.1-.1-.2-.1-.3 0-.1.1-.1.3 0 .3.6.4 1.4.7 2.2.7s1.6-.2 2.2-.7c.1-.1.1-.3 0-.3-.2-.1-.4-.1-.5 0zm.2-3c-.5 0-.9.3-.9.9 0 .5.3.9.9.9h.1c.5 0 .9-.4.9-.9-.1-.5-.5-.9-1-.9z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12 2C6.5 2 2 6.4 2 12c0 5.5 4.5 10 10 10s10-4.5 10-10c0-5.6-4.5-10-10-10zm5.8 11.3v.4c0 2.3-2.6 4.1-5.8 4.1S6.2 16 6.2 13.7v-.4c-.2-.1-.3-.2-.5-.3-.6-.5-.6-1.5-.1-2.1s1.5-.6 2.1-.1c1.1-.8 2.5-1.2 3.9-1.2l.8-3.5c0-.2.2-.3.3-.3l2.4.5c.3-.1.6-.3.9-.4.5-.1 1 .3 1.1.9.1.5-.3 1-.9 1.1-.5.1-1-.3-1.1-.9L13 6.6l-.6 3.1c1.4 0 2.7.4 3.8 1.2.3-.3.6-.4 1-.4.8 0 1.5.6 1.5 1.4 0 .6-.4 1.1-.9 1.4z" })); var reply = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M10.5 10.9h6.2v7.2h2V10c0-.6-.5-1.1-1.1-1.1h-7.1v-3L5.4 10l5 4.1.1-3.2z" })); var rss = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M22 22C22 11 13 2 2 2v2.7c9.6 0 17.3 7.7 17.3 17.3H22z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M12.7 22h2.7C15.3 14.6 9.4 8.7 2 8.7v2.7c5.9-.1 10.7 4.7 10.7 10.6z" }), /*#__PURE__*/React.createElement("circle", { cx: "4.7", cy: "19.3", r: "2.7" })); var tumblr = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M14.3 22c-3 0-5.2-1.6-5.2-5.2v-5.9H6.4V7.7c3-.8 4.3-3.4 4.4-5.6h3.1v5.1h3.6v3.7h-3.6V16c0 1.6.8 2.1 2 2.1h1.7V22h-3.3z" })); var twitch = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M4.4 2L3 5.5v14h4.8v1.6l2.7.9 2.5-2.5h3.9l5.2-5.2V2H4.4zm15.8 11.3l-2.9 3h-4.8L10 18.9v-2.5H6V3.9h14.3l-.1 9.4zm-3-6v5.2h-1.8V7.3h1.8zm-4.7 0v5.2h-1.8V7.3h1.8z" })); var twitter = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M8.3 20c7.6 0 11.6-6.2 11.6-11.6v-.5c.9-.6 1.5-1.3 2.1-2.1-.8.3-1.6.6-2.3.7.9-.5 1.5-1.3 1.8-2.2-.9.5-1.6.9-2.6 1-1.6-1.6-4.1-1.7-5.8-.2-1.1.9-1.6 2.4-1.2 3.8-3.3-.1-6.3-1.7-8.3-4.2-1.2 1.7-.7 4 1.1 5.3-.6 0-1.3-.2-1.8-.5v.1c0 1.9 1.4 3.6 3.3 4-.6.2-1.2.2-1.8.1.5 1.6 2.1 2.8 3.8 2.8-1.4 1.1-3.3 1.7-5.1 1.7-.3 0-.7 0-1-.1C4 19.4 6.1 20 8.3 20" })); var vimeo = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M21 10.4c-2 4.3-7 10.3-10.1 10.3-3 0-3.5-6.5-5.1-10.9C5 7.7 4.5 8.2 3 9.2L2 8c2.3-2 4.5-4.3 5.9-4.4 1.6-.2 2.5 1 2.9 3.2.4 3 1.1 7.7 2.3 7.7.9 0 3.1-3.7 3.2-5 .2-1.9-1.4-2-2.9-1.4C15.7.8 25 2.1 21 10.4z" })); var wordpress = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.9 7.7C20.6 9 21 10.4 21 12c0 3.3-1.8 6.2-4.4 7.7l2.8-7.9c.5-1.3.7-2.3.7-3.2-.2-.3-.2-.6-.2-.9m-6.7 0c.5 0 1-.1 1-.1.5-.1.4-.8-.1-.8 0 0-1.5.1-2.4.1-.9 0-2.3-.1-2.3-.1-.4 0-.5.8 0 .8 0 0 .4.1 1 .1l1.4 3.8-2 5.9-3.4-9.7c.5 0 1-.1 1-.1.6 0 .5-.7.1-.6H4.4C6.1 4.6 8.9 3 12 3c2.3 0 4.4.9 6.1 2.3H18c-.9 0-1.5.8-1.5 1.6s.5 1.4.9 2.1c.3.6.8 1.4.8 2.5 0 .8-.3 1.7-.7 2.9l-.9 3-3.4-9.7zM12 21c-.9 0-1.7-.1-2.5-.3l2.7-7.8 2.8 7.6c0 .1 0 .1.1.1-1 .2-2.1.4-3.1.4m-9-9c0-1.3.3-2.5.8-3.7L8.1 20C5 18.6 3 15.6 3 12m9-10C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2" })); var yelp = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.6 17.3c-.1.8-1.7 2.9-2.5 3.2-.3.1-.5.1-.7-.1-.1-.1-.3-.3-2-3.2l-.5-.9c-.2-.3-.2-.7.1-1 .3-.3.6-.4 1-.3l1.3.4c3 1 3.1 1 3.2 1.1.1.2.2.5.1.8zm-6-4.5c-.2-.3-.2-.7 0-1l.9-1.1c1.8-2.5 1.9-2.6 2.1-2.7.2-.2.4-.2.7 0 .7.3 2.2 2.5 2.3 3.4 0 .3-.1.5-.3.7-.2.1-.3.2-3.7 1-.5.2-.9.2-1 .3-.4 0-.8-.2-1-.6zm-2.1-1.3c-.2.1-.7.2-1.3-.8 0 0-4.1-6.4-4.2-6.7-.1-.1 0-.3.2-.6.6-.6 3.9-1.6 4.8-1.4.3.1.5.3.5.5.1.3.4 6.3.5 7.7.2 1.1-.3 1.3-.5 1.3zm.6 6.6c0 3.1 0 3.2-.1 3.4-.1.3-.3.4-.6.4-.8.2-3.3-.8-3.8-1.4-.1-.2-.2-.3-.2-.4v-.3c.1-.2.2-.3 2.4-3l.7-.8c.3-.3.6-.3 1-.3.3.2.6.4.5.8v1.6zm-6.9-2c-.3 0-.4-.2-.6-.4-.1-.2-.2-.4-.2-.9-.1-1 0-2.7.3-3.2.2-.3.3-.3.6-.3.2 0 .3.1 3.6 1.4l1 .3c.3.1.5.4.5.9 0 .3-.3.7-.6.8l-1.3.4c-3 1-3.1 1-3.3 1z" })); var buttons = /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M19.27 12.91H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45A1.83 1.83 0 0 0 4.73 22h14.54a1.83 1.83 0 0 0 1.82-1.82v-5.45a1.83 1.83 0 0 0-1.82-1.82Zm0 7.27H4.73v-5.45h14.54Z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.45 18.36h9.1a.91.91 0 0 0 0-1.81h-9.1a.91.91 0 0 0 0 1.81ZM19.27 2H4.73a1.83 1.83 0 0 0-1.82 1.82v5.45a1.83 1.83 0 0 0 1.82 1.82h14.54a1.83 1.83 0 0 0 1.82-1.82V3.82A1.83 1.83 0 0 0 19.27 2Zm0 7.27H4.73V3.82h14.54Z" }), /*#__PURE__*/React.createElement(external_wp_components_namespaceObject.Path, { d: "M7.45 7.45h9.1a.85.85 0 0 0 .9-.9.85.85 0 0 0-.9-.91h-9.1a.85.85 0 0 0-.9.91.85.85 0 0 0 .9.9Z" })); ;// CONCATENATED MODULE: ./src/blocks/utils/utils.js /** * Gets the string representation of `arg`. * * @param {*} arg Function argument * @return {string} A string representation of `arg` */ var repr = function repr(arg) { return Object.prototype.toString.call(arg); }; /** * Check if `arg` ia an array. * * @param {*} arg Function argument. * @return {boolean} Returns true if `arg` is an Array else false. */ var isArray = function isArray(arg) { return Array.isArray ? Array.isArray(arg) : repr(arg) === '[object Array]'; }; /** * Checks if `arg` is an object. * * @param {*} arg Function argument. * @return {boolean} Returns true if `arg` is an object. */ var isObject = function isObject(arg) { return repr(arg) === '[object Object]'; }; /** * Checks if `arg` is null. * * @param {*} arg :: unknown function argument * @return {boolean} :: returns true if `arg` is of type Null, false otherwise */ var isNull = function isNull(arg) { return repr(arg) === '[object Null]'; }; /** * Checks if `arg` is undefined. * * @param {*} arg Function argument * @return {boolean} Returns true if `arg` is of type Undefined, false otherwise */ var isUndefined = function isUndefined(arg) { try { return typeof arg === 'undefined'; } catch (e) { if (e instanceof ReferenceError) { return true; } throw e; } }; /** * Checks if `arg` is a string. * * @param {*} arg Function argument * @return {boolean} Returns true if `arg` is a String, false otherwise */ var isString = function isString(arg) { return repr(arg) === '[object String]'; }; /** * Checks if `arg` is an empty string, array, or object. * * @param {*} arg Function argument * @return {boolean} Returns true if `arg` is an empty string, * array, or object. Also returns true is `arg` is null or * undefined. Returns true otherwise. */ var isEmpty = function isEmpty(arg) { return isUndefined(arg) || isNull(arg) || isString(arg) && arg.length === 0 || isArray(arg) && arg.length === 0 || isObject(arg) && Object.keys(arg).length === 0; }; /** * Uppercase first letter. * * @param {string} string String argument * @return {string} String with uppercase first letter. */ var ucFirst = function ucFirst(string) { return string.charAt(0).toUpperCase() + string.slice(1); }; var getSiblings = function getSiblings(el) { if (el.parentNode === null) return []; return Array.from(el.parentNode.children).filter(function (child) { return child !== el; }); }; ;// CONCATENATED MODULE: ./src/blocks/utils/css/meets-conditions.js /* harmony default export */ const meets_conditions = (function (settings, selectData) { var depends = true; if (selectData !== null && selectData !== void 0 && selectData.condition) { selectData.condition.forEach(function (data) { var previous = depends; if (data.relation === '==' || data.relation === '===') { if (typeof data.value === 'string' || typeof data.value === 'number' || typeof data.value === 'boolean') { depends = settings[data.key] === data.value; } else { depends = !!data.value.includes(settings[data.key]); } } else if (data.relation === '!=' || data.relation === '!==') { if (typeof data.value === 'string' || typeof data.value === 'number' || typeof data.value === 'boolean') { depends = settings[data.key] !== data.value; } else { var selected = false; data.value.forEach(function (arrData) { if (settings[data.key] !== arrData) { selected = true; } }); if (selected) { depends = true; } } } if (previous === false) { depends = false; } }); } return depends; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/replace-placeholders.js /* harmony default export */ const replace_placeholders = (function (str, placeholders) { Object.entries(placeholders).forEach(function (_ref) { var _ref2 = slicedToArray_slicedToArray(_ref, 2), tag = _ref2[0], value = _ref2[1]; str = str.replaceAll("{{".concat(tag, "}}"), value); }); return str; }); ;// CONCATENATED MODULE: ./src/blocks/constants/index.js var DEVICES = { desktop: (0,external_wp_i18n_namespaceObject.__)('Desktop', 'blockart'), tablet: (0,external_wp_i18n_namespaceObject.__)('Tablet', 'blockart'), mobile: (0,external_wp_i18n_namespaceObject.__)('Mobile', 'blockart') }; var DIMENSIONS_PROPERTIES = { top: (0,external_wp_i18n_namespaceObject.__)('Top', 'blockart'), right: (0,external_wp_i18n_namespaceObject.__)('Right', 'blockart'), bottom: (0,external_wp_i18n_namespaceObject.__)('Bottom', 'blockart'), left: (0,external_wp_i18n_namespaceObject.__)('Left', 'blockart') }; ;// CONCATENATED MODULE: ./src/blocks/utils/css/border-css.js /* harmony default export */ const border_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; settingValue = Object.assign({}, { type: 'none', size: {}, radius: {}, color: '' }, settingValue); var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; var tempCSS = { allDevice: [], desktop: [], tablet: [], mobile: [] }; var tempAllDeviceCSS = ''; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); if ('none' !== settingValue.type) { tempAllDeviceCSS += "".concat(settingValue.color ? "border-color: ".concat(settingValue.color, ";") : '', " border-style: ").concat(settingValue.type, ";"); tempCSS.desktop.push(tempAllDeviceCSS); if (settingValue.size) { Object.keys(DEVICES).forEach(function (device) { if (!settingValue.size[device]) { return; } if ('undefined' === typeof settingValue.size[device].right && 'undefined' === typeof settingValue.size[device].top && 'undefined' === typeof settingValue.size[device].bottom && 'undefined' === typeof settingValue.size[device].left) { return; } var unit = settingValue.size[device].unit || 'px'; var top = settingValue.size[device].top || 0; var right = settingValue.size[device].right || 0; var bottom = settingValue.size[device].bottom || 0; var left = settingValue.size[device].left || 0; tempCSS[device].push("border-width: ".concat(top).concat(unit, " ").concat(right).concat(unit, " ").concat(bottom).concat(unit, " ").concat(left).concat(unit, ";")); }); } } if (settingValue.radius) { Object.keys(DEVICES).forEach(function (device) { if (!settingValue.radius[device]) { return; } if ('undefined' === typeof settingValue.radius[device].right && 'undefined' === typeof settingValue.radius[device].top && 'undefined' === typeof settingValue.radius[device].bottom && 'undefined' === typeof settingValue.radius[device].left) { return; } var unit = settingValue.radius[device].unit || 'px'; var top = settingValue.radius[device].top || 0; var right = settingValue.radius[device].right || 0; var bottom = settingValue.radius[device].bottom || 0; var left = settingValue.radius[device].left || 0; tempCSS[device].push("border-radius: ".concat(top).concat(unit, " ").concat(right).concat(unit, " ").concat(bottom).concat(unit, " ").concat(left).concat(unit, ";")); }); } Object.keys(css).forEach(function (type) { if (tempCSS[type].length > 0) { css[type].push("".concat(selector, "{ ").concat(tempCSS[type].join(''), " }")); } }); }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/dimension-css.js /* harmony default export */ const dimension_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); if (settingValue) { if (Object.keys(settingValue).some(function (v) { return Object.keys(DEVICES).includes(v); })) { Object.keys(DEVICES).forEach(function (device) { if (!settingValue[device]) { return; } if (!Object.keys(settingValue[device]).some(function (v) { return ['top', 'right', 'bottom', 'left', 'unit'].includes(v); })) { return; } var unit = settingValue[device].unit || 'px'; var top = settingValue[device].top || 0; var right = settingValue[device].right || 0; var bottom = settingValue[device].bottom || 0; var left = settingValue[device].left || 0; css[device].push(replace_placeholders(selector, { VALUE: "".concat(top).concat(unit, " ").concat(right).concat(unit, " ").concat(bottom).concat(unit, " ").concat(left).concat(unit) })); }); } else { if (!Object.keys(settingValue).some(function (v) { return ['top', 'right', 'bottom', 'left', 'unit'].includes(v); })) { return; } var unit = settingValue.unit || 'px'; var top = settingValue.top || 0; var right = settingValue.right || 0; var bottom = settingValue.bottom || 0; var left = settingValue.left || 0; css.allDevice.push(replace_placeholders(selector, { VALUE: "".concat(top).concat(unit, " ").concat(right).concat(unit, " ").concat(bottom).concat(unit, " ").concat(left).concat(unit) })); } } }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/background-css.js var backgroundImageCSS = function backgroundImageCSS() { var _data$image; var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var cssForDevices = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (data !== null && data !== void 0 && (_data$image = data.image) !== null && _data$image !== void 0 && _data$image.url) { cssForDevices.desktop.push('background-image: url(' + data.image.url + ');'); } if (data.attachment && 'default' !== data.attachment) { cssForDevices.desktop.push('background-attachment: ' + data.attachment + ';'); } Object.keys(DEVICES).forEach(function (device) { var customSizeKey = 'customSize' + (device.charAt(0).toUpperCase() + device.slice(1)); if (data.position && data.position[device] && 'default' !== data.position[device]) { cssForDevices[device].push("background-position: ".concat(data.position[device], ";")); } if (data.repeat && data.repeat[device] && 'default' !== data.repeat[device]) { cssForDevices[device].push("background-repeat: ".concat(data.repeat[device], ";")); } if (data.size && data.size[device] && 'default' !== data.size[device]) { if ('custom' !== data.size[device]) { cssForDevices[device].push("background-size: ".concat(data.size[device], ";")); } if ('custom' === data.size[device] && data[customSizeKey]) { cssForDevices[device].push("background-size: ".concat(data[customSizeKey].value + (data[customSizeKey].unit || ''), " auto;")); } } }); return cssForDevices; }; /* harmony default export */ const background_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); settingValue.type = settingValue.type || 'color'; var imageData = backgroundImageCSS(settingValue.image) || css; if (settingValue.color) { imageData.desktop.push("background-color: ".concat(settingValue.color, ";")); } Object.keys(css).forEach(function (type) { if (imageData[type].length > 0) { css[type].push("".concat(selector, "{ ").concat(imageData[type].join(''), " }")); } }); }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/box-shadow-css.js /* harmony default export */ const box_shadow_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; settingValue = Object.assign({}, { position: 'outline', horizontalX: 0, verticalY: 0, blur: 10, spread: 0, color: 'rgba(0,0,0, 0.5)' }, settingValue); var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (!styles || !settingValue.enable) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); css.allDevice.push(selector + '{ box-shadow:' + (settingValue.position && 'inset' === settingValue.position ? settingValue.position : '') + ' ' + (settingValue.horizontalX ? settingValue.horizontalX : 0) + 'px ' + (settingValue.verticalY ? settingValue.verticalY : 0) + 'px ' + (settingValue.blur ? settingValue.blur : 0) + 'px ' + (settingValue.spread ? settingValue.spread : 0) + 'px ' + (settingValue.color || '#000') + '; }'); }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/advanced-css.js /* harmony default export */ const advanced_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID, context = props.context; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); if (settingValue && 'save' === context) { css.allDevice.push(selector); } }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/general-css.js /* harmony default export */ const general_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); if ('object' === typeof_typeof(settingValue) && settingValue) { if (['desktop', 'tablet', 'mobile'].some(function (d) { return Object.keys(settingValue).includes(d); })) { Object.keys(DEVICES).forEach(function (device) { if (settingValue[device]) { if ('object' === typeof_typeof(settingValue[device])) { if (settingValue[device].value) { css[device].push(replace_placeholders(selector, { VALUE: settingValue[device].value + settingValue[device].unit || 'px' })); } } else { css[device].push(replace_placeholders(selector, { VALUE: settingValue[device] })); } } }); } else { var _ref, _settingValue$value; css.allDevice.push(replace_placeholders(selector, { VALUE: (_ref = ((_settingValue$value = settingValue === null || settingValue === void 0 ? void 0 : settingValue.value) !== null && _settingValue$value !== void 0 ? _settingValue$value : 0) + (settingValue === null || settingValue === void 0 ? void 0 : settingValue.unit)) !== null && _ref !== void 0 ? _ref : 'px' })); } } else if (settingValue) { css.allDevice.push(replace_placeholders(selector, { VALUE: settingValue })); } }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/typography-css.js /* harmony default export */ const typography_css = (function (props) { var settingValue = props.settingValue, settingDef = props.settingDef, blockName = props.blockName, blockID = props.blockID; var styles = settingDef === null || settingDef === void 0 ? void 0 : settingDef.style; var css = { allDevice: [], desktop: [], tablet: [], mobile: [] }, tempCSS = { allDevice: [], desktop: [], tablet: [], mobile: [] }; var font = ''; if (!styles) { return css; } styles.forEach(function (style) { if (!meets_conditions(props.settings, style)) { return; } var selector = replace_placeholders(style.selector, { WRAPPER: ".blockart-".concat(blockName, "-").concat(blockID) }); if (settingValue.family && settingValue.family !== 'Default') { font += "@import url('https://fonts.googleapis.com/css?family=".concat(settingValue.family.replace(' ', '+'), ":").concat(settingValue.weight || 400, "&display=swap');"); tempCSS.desktop.push("font-family: ".concat(settingValue.family, ", ").concat(settingValue.type || 'sans-serif', ";")); } if (settingValue.weight) { tempCSS.desktop.push("font-weight: ".concat(settingValue.weight, ";")); } if (settingValue.transform && 'default' !== settingValue.transform) { tempCSS.desktop.push("text-transform: ".concat(settingValue.transform, ";")); } if (settingValue.decoration && 'default' !== settingValue.decoration) { tempCSS.desktop.push("text-decoration: ".concat(settingValue.decoration, ";")); } Object.keys(DEVICES).forEach(function (device) { if (settingValue.size && settingValue.size[device]) { if (settingValue.size[device].value) { tempCSS[device].push("font-size: ".concat(settingValue.size[device].value).concat(settingValue.size[device].unit || 'px', ";")); } } if (settingValue.lineHeight && settingValue.lineHeight[device]) { if (settingValue.lineHeight[device].value) { tempCSS[device].push("line-height: ".concat(settingValue.lineHeight[device].value).concat(settingValue.lineHeight[device].unit || 'px', ";")); } } if (settingValue.letterSpacing && settingValue.letterSpacing[device]) { if (settingValue.letterSpacing[device].value) { tempCSS[device].push("letter-spacing: ".concat(settingValue.letterSpacing[device].value).concat(settingValue.letterSpacing[device].unit || 'px')); } } }); Object.keys(css).forEach(function (type) { if (tempCSS[type].length > 0) { css[type].push("".concat(selector, "{ ").concat(tempCSS[type].join(''), " }")); } }); if (font) { css.allDevice.unshift(font); } }); return css; }); ;// CONCATENATED MODULE: ./src/blocks/utils/css/generate-block-css.js var settingStyleGenerators = { empty: function empty() { return { allDevice: [], desktop: [], tablet: [], mobile: [] }; }, border: function border(props) { return border_css(props); }, dimension: function dimension(props) { return dimension_css(props); }, background: function background(props) { return background_css(props); }, boxShadow: function boxShadow(props) { return box_shadow_css(props); }, typography: function typography(props) { return typography_css(props); }, advanced: function advanced(props) { return advanced_css(props); }, general: function general(props) { return general_css(props); } }; var getSettingStyleGenerator = function getSettingStyleGenerator(settingName, settingValue) { if (settingValue !== null && settingValue !== void 0 && settingValue.border) { return settingStyleGenerators.border; } else if (settingValue !== null && settingValue !== void 0 && settingValue.background) { return settingStyleGenerators.background; } else if (settingValue !== null && settingValue !== void 0 && settingValue.typography) { return settingStyleGenerators.typography; } else if (settingValue !== null && settingValue !== void 0 && settingValue.boxShadow) { return settingStyleGenerators.boxShadow; } else if (settingValue !== null && settingValue !== void 0 && settingValue.dimension) { return settingStyleGenerators.dimension; } else if (['hideOnDesktop', 'hideOnTablet', 'hideOnMobile', 'colReverseOnTablet', 'colReverseOnMobile'].includes(settingName)) { return settingStyleGenerators.advanced; } return settingStyleGenerators.general; }; /* harmony default export */ const generate_block_css = (function (_ref) { var settings = _ref.settings, blockName = _ref.blockName, blockID = _ref.blockID, _ref$deviceType = _ref.deviceType, deviceType = _ref$deviceType === void 0 ? 'desktop' : _ref$deviceType, _ref$context = _ref.context, context = _ref$context === void 0 ? 'editor' : _ref$context; if (!blockID) { return ''; } var cssForDevices = { allDevice: [], desktop: [], tablet: [], mobile: [] }; var attributesDef = (0,external_wp_blocks_namespaceObject.getBlockType)('blockart/' + ('button' === blockName ? 'button-inner' : 'buttons' === blockName ? 'button' : blockName)).attributes; Object.entries(settings).forEach(function (_ref2) { var _ref3 = slicedToArray_slicedToArray(_ref2, 2), settingName = _ref3[0], settingValue = _ref3[1]; var attributeDef = attributesDef[settingName]; var settingStyle = attributeDef === null || attributeDef === void 0 ? void 0 : attributeDef.style; if (!settingStyle) { return; } var settingStyleGenerator = getSettingStyleGenerator(settingName, settingValue); if (!settingStyleGenerator) { return; } var settingCSSForDevices = settingStyleGenerator({ blockID: blockID, settingDef: attributeDef, settingName: settingName, settingValue: settingValue, settings: settings, blockName: blockName, context: context }); cssForDevices.allDevice = cssForDevices.allDevice.concat(settingCSSForDevices.allDevice); cssForDevices.desktop = cssForDevices.desktop.concat(settingCSSForDevices.desktop); cssForDevices.tablet = cssForDevices.tablet.concat(settingCSSForDevices.tablet); cssForDevices.mobile = cssForDevices.mobile.concat(settingCSSForDevices.mobile); }); if (cssForDevices.allDevice.length > 0) { cssForDevices.allDevice.forEach(function (str, index) { if (str.includes('@import')) { cssForDevices.allDevice.splice(index, 1); if ('editor' === context) { cssForDevices.allDevice.unshift(str); } } }); } if (context === 'editor') { var css = cssForDevices.allDevice.join(''); css += cssForDevices.desktop.join(''); if (!_BLOCKART_.isNotPostEditor) { if ('desktop' !== deviceType) { css += cssForDevices.tablet.join(''); } if ('mobile' === deviceType) { css += cssForDevices.mobile.join(''); } } return css; } return cssForDevices; }); ;// CONCATENATED MODULE: external ["wp","apiFetch"] const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"]; var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject); ;// CONCATENATED MODULE: ./src/blocks/utils/has-blockart-blocks.js function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = has_blockart_blocks_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function has_blockart_blocks_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return has_blockart_blocks_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return has_blockart_blocks_arrayLikeToArray(o, minLen); } function has_blockart_blocks_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } /** * Check if a block is BlockArt block. * * @param {Array} blocks All used blocks. * @return {boolean} True|False. */ var hasBlockArtBlocks = function hasBlockArtBlocks(blocks) { var _iterator = _createForOfIteratorHelper(blocks), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var block = _step.value; if (-1 !== block.name.indexOf('blockart/')) { return true; } if (block.innerBlocks && block.innerBlocks.length > 0) { if (hasBlockArtBlocks(block.innerBlocks)) { return true; } } } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } return false; }; /* harmony default export */ const has_blockart_blocks = (hasBlockArtBlocks); ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/types.js // CSS Syntax Module Level 3 // https://www.w3.org/TR/css-syntax-3/ const EOF = 0; // const Ident = 1; // const types_Function = 2; // const AtKeyword = 3; // const Hash = 4; // const types_String = 5; // const BadString = 6; // const Url = 7; // const BadUrl = 8; // const Delim = 9; // const types_Number = 10; // const Percentage = 11; // const Dimension = 12; // const WhiteSpace = 13; // const CDO = 14; // const CDC = 15; // const Colon = 16; // : const Semicolon = 17; // ; const Comma = 18; // , const LeftSquareBracket = 19; // <[-token> const RightSquareBracket = 20; // <]-token> const LeftParenthesis = 21; // <(-token> const RightParenthesis = 22; // <)-token> const LeftCurlyBracket = 23; // <{-token> const RightCurlyBracket = 24; // <}-token> const Comment = 25; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/char-code-definitions.js const char_code_definitions_EOF = 0; // https://drafts.csswg.org/css-syntax-3/ // § 4.2. Definitions // digit // A code point between U+0030 DIGIT ZERO (0) and U+0039 DIGIT NINE (9). function isDigit(code) { return code >= 0x0030 && code <= 0x0039; } // hex digit // A digit, or a code point between U+0041 LATIN CAPITAL LETTER A (A) and U+0046 LATIN CAPITAL LETTER F (F), // or a code point between U+0061 LATIN SMALL LETTER A (a) and U+0066 LATIN SMALL LETTER F (f). function isHexDigit(code) { return ( isDigit(code) || // 0 .. 9 (code >= 0x0041 && code <= 0x0046) || // A .. F (code >= 0x0061 && code <= 0x0066) // a .. f ); } // uppercase letter // A code point between U+0041 LATIN CAPITAL LETTER A (A) and U+005A LATIN CAPITAL LETTER Z (Z). function isUppercaseLetter(code) { return code >= 0x0041 && code <= 0x005A; } // lowercase letter // A code point between U+0061 LATIN SMALL LETTER A (a) and U+007A LATIN SMALL LETTER Z (z). function isLowercaseLetter(code) { return code >= 0x0061 && code <= 0x007A; } // letter // An uppercase letter or a lowercase letter. function isLetter(code) { return isUppercaseLetter(code) || isLowercaseLetter(code); } // non-ASCII code point // A code point with a value equal to or greater than U+0080 . function isNonAscii(code) { return code >= 0x0080; } // name-start code point // A letter, a non-ASCII code point, or U+005F LOW LINE (_). function isNameStart(code) { return isLetter(code) || isNonAscii(code) || code === 0x005F; } // name code point // A name-start code point, a digit, or U+002D HYPHEN-MINUS (-). function char_code_definitions_isName(code) { return isNameStart(code) || isDigit(code) || code === 0x002D; } // non-printable code point // A code point between U+0000 NULL and U+0008 BACKSPACE, or U+000B LINE TABULATION, // or a code point between U+000E SHIFT OUT and U+001F INFORMATION SEPARATOR ONE, or U+007F DELETE. function isNonPrintable(code) { return ( (code >= 0x0000 && code <= 0x0008) || (code === 0x000B) || (code >= 0x000E && code <= 0x001F) || (code === 0x007F) ); } // newline // U+000A LINE FEED. Note that U+000D CARRIAGE RETURN and U+000C FORM FEED are not included in this definition, // as they are converted to U+000A LINE FEED during preprocessing. // TODO: we doesn't do a preprocessing, so check a code point for U+000D CARRIAGE RETURN and U+000C FORM FEED function isNewline(code) { return code === 0x000A || code === 0x000D || code === 0x000C; } // whitespace // A newline, U+0009 CHARACTER TABULATION, or U+0020 SPACE. function isWhiteSpace(code) { return isNewline(code) || code === 0x0020 || code === 0x0009; } // § 4.3.8. Check if two code points are a valid escape function char_code_definitions_isValidEscape(first, second) { // If the first code point is not U+005C REVERSE SOLIDUS (\), return false. if (first !== 0x005C) { return false; } // Otherwise, if the second code point is a newline or EOF, return false. if (isNewline(second) || second === char_code_definitions_EOF) { return false; } // Otherwise, return true. return true; } // § 4.3.9. Check if three code points would start an identifier function isIdentifierStart(first, second, third) { // Look at the first code point: // U+002D HYPHEN-MINUS if (first === 0x002D) { // If the second code point is a name-start code point or a U+002D HYPHEN-MINUS, // or the second and third code points are a valid escape, return true. Otherwise, return false. return ( isNameStart(second) || second === 0x002D || char_code_definitions_isValidEscape(second, third) ); } // name-start code point if (isNameStart(first)) { // Return true. return true; } // U+005C REVERSE SOLIDUS (\) if (first === 0x005C) { // If the first and second code points are a valid escape, return true. Otherwise, return false. return char_code_definitions_isValidEscape(first, second); } // anything else // Return false. return false; } // § 4.3.10. Check if three code points would start a number function isNumberStart(first, second, third) { // Look at the first code point: // U+002B PLUS SIGN (+) // U+002D HYPHEN-MINUS (-) if (first === 0x002B || first === 0x002D) { // If the second code point is a digit, return true. if (isDigit(second)) { return 2; } // Otherwise, if the second code point is a U+002E FULL STOP (.) // and the third code point is a digit, return true. // Otherwise, return false. return second === 0x002E && isDigit(third) ? 3 : 0; } // U+002E FULL STOP (.) if (first === 0x002E) { // If the second code point is a digit, return true. Otherwise, return false. return isDigit(second) ? 2 : 0; } // digit if (isDigit(first)) { // Return true. return 1; } // anything else // Return false. return 0; } // // Misc // // detect BOM (https://en.wikipedia.org/wiki/Byte_order_mark) function isBOM(code) { // UTF-16BE if (code === 0xFEFF) { return 1; } // UTF-16LE if (code === 0xFFFE) { return 1; } return 0; } // Fast code category // Only ASCII code points has a special meaning, that's why we define a maps for 0..127 codes only const CATEGORY = new Array(0x80); const EofCategory = 0x80; const WhiteSpaceCategory = 0x82; const DigitCategory = 0x83; const NameStartCategory = 0x84; const NonPrintableCategory = 0x85; for (let i = 0; i < CATEGORY.length; i++) { CATEGORY[i] = isWhiteSpace(i) && WhiteSpaceCategory || isDigit(i) && DigitCategory || isNameStart(i) && NameStartCategory || isNonPrintable(i) && NonPrintableCategory || i || EofCategory; } function charCodeCategory(code) { return code < 0x80 ? CATEGORY[code] : NameStartCategory; } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/utils.js function getCharCode(source, offset) { return offset < source.length ? source.charCodeAt(offset) : 0; } function getNewlineLength(source, offset, code) { if (code === 13 /* \r */ && getCharCode(source, offset + 1) === 10 /* \n */) { return 2; } return 1; } function cmpChar(testStr, offset, referenceCode) { let code = testStr.charCodeAt(offset); // code.toLowerCase() for A..Z if (isUppercaseLetter(code)) { code = code | 32; } return code === referenceCode; } function cmpStr(testStr, start, end, referenceStr) { if (end - start !== referenceStr.length) { return false; } if (start < 0 || end > testStr.length) { return false; } for (let i = start; i < end; i++) { const referenceCode = referenceStr.charCodeAt(i - start); let testCode = testStr.charCodeAt(i); // testCode.toLowerCase() for A..Z if (isUppercaseLetter(testCode)) { testCode = testCode | 32; } if (testCode !== referenceCode) { return false; } } return true; } function findWhiteSpaceStart(source, offset) { for (; offset >= 0; offset--) { if (!isWhiteSpace(source.charCodeAt(offset))) { break; } } return offset + 1; } function findWhiteSpaceEnd(source, offset) { for (; offset < source.length; offset++) { if (!isWhiteSpace(source.charCodeAt(offset))) { break; } } return offset; } function findDecimalNumberEnd(source, offset) { for (; offset < source.length; offset++) { if (!isDigit(source.charCodeAt(offset))) { break; } } return offset; } // § 4.3.7. Consume an escaped code point function utils_consumeEscaped(source, offset) { // It assumes that the U+005C REVERSE SOLIDUS (\) has already been consumed and // that the next input code point has already been verified to be part of a valid escape. offset += 2; // hex digit if (isHexDigit(getCharCode(source, offset - 1))) { // Consume as many hex digits as possible, but no more than 5. // Note that this means 1-6 hex digits have been consumed in total. for (const maxOffset = Math.min(source.length, offset + 5); offset < maxOffset; offset++) { if (!isHexDigit(getCharCode(source, offset))) { break; } } // If the next input code point is whitespace, consume it as well. const code = getCharCode(source, offset); if (isWhiteSpace(code)) { offset += getNewlineLength(source, offset, code); } } return offset; } // §4.3.11. Consume a name // Note: This algorithm does not do the verification of the first few code points that are necessary // to ensure the returned code points would constitute an . If that is the intended use, // ensure that the stream starts with an identifier before calling this algorithm. function consumeName(source, offset) { // Let result initially be an empty string. // Repeatedly consume the next input code point from the stream: for (; offset < source.length; offset++) { const code = source.charCodeAt(offset); // name code point if (char_code_definitions_isName(code)) { // Append the code point to result. continue; } // the stream starts with a valid escape if (char_code_definitions_isValidEscape(code, getCharCode(source, offset + 1))) { // Consume an escaped code point. Append the returned code point to result. offset = utils_consumeEscaped(source, offset) - 1; continue; } // anything else // Reconsume the current input code point. Return result. break; } return offset; } // §4.3.12. Consume a number function consumeNumber(source, offset) { let code = source.charCodeAt(offset); // 2. If the next input code point is U+002B PLUS SIGN (+) or U+002D HYPHEN-MINUS (-), // consume it and append it to repr. if (code === 0x002B || code === 0x002D) { code = source.charCodeAt(offset += 1); } // 3. While the next input code point is a digit, consume it and append it to repr. if (isDigit(code)) { offset = findDecimalNumberEnd(source, offset + 1); code = source.charCodeAt(offset); } // 4. If the next 2 input code points are U+002E FULL STOP (.) followed by a digit, then: if (code === 0x002E && isDigit(source.charCodeAt(offset + 1))) { // 4.1 Consume them. // 4.2 Append them to repr. offset += 2; // 4.3 Set type to "number". // TODO // 4.4 While the next input code point is a digit, consume it and append it to repr. offset = findDecimalNumberEnd(source, offset); } // 5. If the next 2 or 3 input code points are U+0045 LATIN CAPITAL LETTER E (E) // or U+0065 LATIN SMALL LETTER E (e), ... , followed by a digit, then: if (cmpChar(source, offset, 101 /* e */)) { let sign = 0; code = source.charCodeAt(offset + 1); // ... optionally followed by U+002D HYPHEN-MINUS (-) or U+002B PLUS SIGN (+) ... if (code === 0x002D || code === 0x002B) { sign = 1; code = source.charCodeAt(offset + 2); } // ... followed by a digit if (isDigit(code)) { // 5.1 Consume them. // 5.2 Append them to repr. // 5.3 Set type to "number". // TODO // 5.4 While the next input code point is a digit, consume it and append it to repr. offset = findDecimalNumberEnd(source, offset + 1 + sign + 1); } } return offset; } // § 4.3.14. Consume the remnants of a bad url // ... its sole use is to consume enough of the input stream to reach a recovery point // where normal tokenizing can resume. function consumeBadUrlRemnants(source, offset) { // Repeatedly consume the next input code point from the stream: for (; offset < source.length; offset++) { const code = source.charCodeAt(offset); // U+0029 RIGHT PARENTHESIS ()) // EOF if (code === 0x0029) { // Return. offset++; break; } if (char_code_definitions_isValidEscape(code, getCharCode(source, offset + 1))) { // Consume an escaped code point. // Note: This allows an escaped right parenthesis ("\)") to be encountered // without ending the . This is otherwise identical to // the "anything else" clause. offset = utils_consumeEscaped(source, offset); } } return offset; } // § 4.3.7. Consume an escaped code point // Note: This algorithm assumes that escaped is valid without leading U+005C REVERSE SOLIDUS (\) function utils_decodeEscaped(escaped) { // Single char escaped that's not a hex digit if (escaped.length === 1 && !isHexDigit(escaped.charCodeAt(0))) { return escaped[0]; } // Interpret the hex digits as a hexadecimal number. let code = parseInt(escaped, 16); if ( (code === 0) || // If this number is zero, (code >= 0xD800 && code <= 0xDFFF) || // or is for a surrogate, (code > 0x10FFFF) // or is greater than the maximum allowed code point ) { // ... return U+FFFD REPLACEMENT CHARACTER code = 0xFFFD; } // Otherwise, return the code point with that value. return String.fromCodePoint(code); } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/names.js /* harmony default export */ const names = ([ 'EOF-token', 'ident-token', 'function-token', 'at-keyword-token', 'hash-token', 'string-token', 'bad-string-token', 'url-token', 'bad-url-token', 'delim-token', 'number-token', 'percentage-token', 'dimension-token', 'whitespace-token', 'CDO-token', 'CDC-token', 'colon-token', 'semicolon-token', 'comma-token', '[-token', ']-token', '(-token', ')-token', '{-token', '}-token' ]); ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/adopt-buffer.js const MIN_SIZE = 16 * 1024; function adoptBuffer(buffer = null, size) { if (buffer === null || buffer.length < size) { return new Uint32Array(Math.max(size + 1024, MIN_SIZE)); } return buffer; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/OffsetToLocation.js const N = 10; const F = 12; const R = 13; function computeLinesAndColumns(host) { const source = host.source; const sourceLength = source.length; const startOffset = source.length > 0 ? isBOM(source.charCodeAt(0)) : 0; const lines = adoptBuffer(host.lines, sourceLength); const columns = adoptBuffer(host.columns, sourceLength); let line = host.startLine; let column = host.startColumn; for (let i = startOffset; i < sourceLength; i++) { const code = source.charCodeAt(i); lines[i] = line; columns[i] = column++; if (code === N || code === R || code === F) { if (code === R && i + 1 < sourceLength && source.charCodeAt(i + 1) === N) { i++; lines[i] = line; columns[i] = column; } line++; column = 1; } } lines[sourceLength] = line; columns[sourceLength] = column; host.lines = lines; host.columns = columns; host.computed = true; } class OffsetToLocation { constructor() { this.lines = null; this.columns = null; this.computed = false; } setSource(source, startOffset = 0, startLine = 1, startColumn = 1) { this.source = source; this.startOffset = startOffset; this.startLine = startLine; this.startColumn = startColumn; this.computed = false; } getLocation(offset, filename) { if (!this.computed) { computeLinesAndColumns(this); } return { source: filename, offset: this.startOffset + offset, line: this.lines[offset], column: this.columns[offset] }; } getLocationRange(start, end, filename) { if (!this.computed) { computeLinesAndColumns(this); } return { source: filename, start: { offset: this.startOffset + start, line: this.lines[start], column: this.columns[start] }, end: { offset: this.startOffset + end, line: this.lines[end], column: this.columns[end] } }; } }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/TokenStream.js const OFFSET_MASK = 0x00FFFFFF; const TYPE_SHIFT = 24; const balancePair = new Map([ [types_Function, RightParenthesis], [LeftParenthesis, RightParenthesis], [LeftSquareBracket, RightSquareBracket], [LeftCurlyBracket, RightCurlyBracket] ]); class TokenStream { constructor(source, tokenize) { this.setSource(source, tokenize); } reset() { this.eof = false; this.tokenIndex = -1; this.tokenType = 0; this.tokenStart = this.firstCharOffset; this.tokenEnd = this.firstCharOffset; } setSource(source = '', tokenize = () => {}) { source = String(source || ''); const sourceLength = source.length; const offsetAndType = adoptBuffer(this.offsetAndType, source.length + 1); // +1 because of eof-token const balance = adoptBuffer(this.balance, source.length + 1); let tokenCount = 0; let balanceCloseType = 0; let balanceStart = 0; let firstCharOffset = -1; // capture buffers this.offsetAndType = null; this.balance = null; tokenize(source, (type, start, end) => { switch (type) { default: balance[tokenCount] = sourceLength; break; case balanceCloseType: { let balancePrev = balanceStart & OFFSET_MASK; balanceStart = balance[balancePrev]; balanceCloseType = balanceStart >> TYPE_SHIFT; balance[tokenCount] = balancePrev; balance[balancePrev++] = tokenCount; for (; balancePrev < tokenCount; balancePrev++) { if (balance[balancePrev] === sourceLength) { balance[balancePrev] = tokenCount; } } break; } case LeftParenthesis: case types_Function: case LeftSquareBracket: case LeftCurlyBracket: balance[tokenCount] = balanceStart; balanceCloseType = balancePair.get(type); balanceStart = (balanceCloseType << TYPE_SHIFT) | tokenCount; break; } offsetAndType[tokenCount++] = (type << TYPE_SHIFT) | end; if (firstCharOffset === -1) { firstCharOffset = start; } }); // finalize buffers offsetAndType[tokenCount] = (EOF << TYPE_SHIFT) | sourceLength; // balance[tokenCount] = sourceLength; balance[sourceLength] = sourceLength; // prevents false positive balance match with any token while (balanceStart !== 0) { const balancePrev = balanceStart & OFFSET_MASK; balanceStart = balance[balancePrev]; balance[balancePrev] = sourceLength; } this.source = source; this.firstCharOffset = firstCharOffset === -1 ? 0 : firstCharOffset; this.tokenCount = tokenCount; this.offsetAndType = offsetAndType; this.balance = balance; this.reset(); this.next(); } lookupType(offset) { offset += this.tokenIndex; if (offset < this.tokenCount) { return this.offsetAndType[offset] >> TYPE_SHIFT; } return EOF; } lookupOffset(offset) { offset += this.tokenIndex; if (offset < this.tokenCount) { return this.offsetAndType[offset - 1] & OFFSET_MASK; } return this.source.length; } lookupValue(offset, referenceStr) { offset += this.tokenIndex; if (offset < this.tokenCount) { return cmpStr( this.source, this.offsetAndType[offset - 1] & OFFSET_MASK, this.offsetAndType[offset] & OFFSET_MASK, referenceStr ); } return false; } getTokenStart(tokenIndex) { if (tokenIndex === this.tokenIndex) { return this.tokenStart; } if (tokenIndex > 0) { return tokenIndex < this.tokenCount ? this.offsetAndType[tokenIndex - 1] & OFFSET_MASK : this.offsetAndType[this.tokenCount] & OFFSET_MASK; } return this.firstCharOffset; } substrToCursor(start) { return this.source.substring(start, this.tokenStart); } isBalanceEdge(pos) { return this.balance[this.tokenIndex] < pos; } isDelim(code, offset) { if (offset) { return ( this.lookupType(offset) === Delim && this.source.charCodeAt(this.lookupOffset(offset)) === code ); } return ( this.tokenType === Delim && this.source.charCodeAt(this.tokenStart) === code ); } skip(tokenCount) { let next = this.tokenIndex + tokenCount; if (next < this.tokenCount) { this.tokenIndex = next; this.tokenStart = this.offsetAndType[next - 1] & OFFSET_MASK; next = this.offsetAndType[next]; this.tokenType = next >> TYPE_SHIFT; this.tokenEnd = next & OFFSET_MASK; } else { this.tokenIndex = this.tokenCount; this.next(); } } next() { let next = this.tokenIndex + 1; if (next < this.tokenCount) { this.tokenIndex = next; this.tokenStart = this.tokenEnd; next = this.offsetAndType[next]; this.tokenType = next >> TYPE_SHIFT; this.tokenEnd = next & OFFSET_MASK; } else { this.eof = true; this.tokenIndex = this.tokenCount; this.tokenType = EOF; this.tokenStart = this.tokenEnd = this.source.length; } } skipSC() { while (this.tokenType === WhiteSpace || this.tokenType === Comment) { this.next(); } } skipUntilBalanced(startToken, stopConsume) { let cursor = startToken; let balanceEnd; let offset; loop: for (; cursor < this.tokenCount; cursor++) { balanceEnd = this.balance[cursor]; // stop scanning on balance edge that points to offset before start token if (balanceEnd < startToken) { break loop; } offset = cursor > 0 ? this.offsetAndType[cursor - 1] & OFFSET_MASK : this.firstCharOffset; // check stop condition switch (stopConsume(this.source.charCodeAt(offset))) { case 1: // just stop break loop; case 2: // stop & included cursor++; break loop; default: // fast forward to the end of balanced block if (this.balance[balanceEnd] === cursor) { cursor = balanceEnd; } } } this.skip(cursor - this.tokenIndex); } forEachToken(fn) { for (let i = 0, offset = this.firstCharOffset; i < this.tokenCount; i++) { const start = offset; const item = this.offsetAndType[i]; const end = item & OFFSET_MASK; const type = item >> TYPE_SHIFT; offset = end; fn(type, start, end, i); } } dump() { const tokens = new Array(this.tokenCount); this.forEachToken((type, start, end, index) => { tokens[index] = { idx: index, type: names[type], chunk: this.source.substring(start, end), balance: this.balance[index] }; }); return tokens; } }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/tokenizer/index.js function tokenize(source, onToken) { function getCharCode(offset) { return offset < sourceLength ? source.charCodeAt(offset) : 0; } // § 4.3.3. Consume a numeric token function consumeNumericToken() { // Consume a number and let number be the result. offset = consumeNumber(source, offset); // If the next 3 input code points would start an identifier, then: if (isIdentifierStart(getCharCode(offset), getCharCode(offset + 1), getCharCode(offset + 2))) { // Create a with the same value and type flag as number, and a unit set initially to the empty string. // Consume a name. Set the ’s unit to the returned value. // Return the . type = Dimension; offset = consumeName(source, offset); return; } // Otherwise, if the next input code point is U+0025 PERCENTAGE SIGN (%), consume it. if (getCharCode(offset) === 0x0025) { // Create a with the same value as number, and return it. type = Percentage; offset++; return; } // Otherwise, create a with the same value and type flag as number, and return it. type = types_Number; } // § 4.3.4. Consume an ident-like token function consumeIdentLikeToken() { const nameStartOffset = offset; // Consume a name, and let string be the result. offset = consumeName(source, offset); // If string’s value is an ASCII case-insensitive match for "url", // and the next input code point is U+0028 LEFT PARENTHESIS ((), consume it. if (cmpStr(source, nameStartOffset, offset, 'url') && getCharCode(offset) === 0x0028) { // While the next two input code points are whitespace, consume the next input code point. offset = findWhiteSpaceEnd(source, offset + 1); // If the next one or two input code points are U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), // or whitespace followed by U+0022 QUOTATION MARK (") or U+0027 APOSTROPHE ('), // then create a with its value set to string and return it. if (getCharCode(offset) === 0x0022 || getCharCode(offset) === 0x0027) { type = types_Function; offset = nameStartOffset + 4; return; } // Otherwise, consume a url token, and return it. consumeUrlToken(); return; } // Otherwise, if the next input code point is U+0028 LEFT PARENTHESIS ((), consume it. // Create a with its value set to string and return it. if (getCharCode(offset) === 0x0028) { type = types_Function; offset++; return; } // Otherwise, create an with its value set to string and return it. type = Ident; } // § 4.3.5. Consume a string token function consumeStringToken(endingCodePoint) { // This algorithm may be called with an ending code point, which denotes the code point // that ends the string. If an ending code point is not specified, // the current input code point is used. if (!endingCodePoint) { endingCodePoint = getCharCode(offset++); } // Initially create a with its value set to the empty string. type = types_String; // Repeatedly consume the next input code point from the stream: for (; offset < source.length; offset++) { const code = source.charCodeAt(offset); switch (charCodeCategory(code)) { // ending code point case endingCodePoint: // Return the . offset++; return; // EOF // case EofCategory: // This is a parse error. Return the . // return; // newline case WhiteSpaceCategory: if (isNewline(code)) { // This is a parse error. Reconsume the current input code point, // create a , and return it. offset += getNewlineLength(source, offset, code); type = BadString; return; } break; // U+005C REVERSE SOLIDUS (\) case 0x005C: // If the next input code point is EOF, do nothing. if (offset === source.length - 1) { break; } const nextCode = getCharCode(offset + 1); // Otherwise, if the next input code point is a newline, consume it. if (isNewline(nextCode)) { offset += getNewlineLength(source, offset + 1, nextCode); } else if (char_code_definitions_isValidEscape(code, nextCode)) { // Otherwise, (the stream starts with a valid escape) consume // an escaped code point and append the returned code point to // the ’s value. offset = utils_consumeEscaped(source, offset) - 1; } break; // anything else // Append the current input code point to the ’s value. } } } // § 4.3.6. Consume a url token // Note: This algorithm assumes that the initial "url(" has already been consumed. // This algorithm also assumes that it’s being called to consume an "unquoted" value, like url(foo). // A quoted value, like url("foo"), is parsed as a . Consume an ident-like token // automatically handles this distinction; this algorithm shouldn’t be called directly otherwise. function consumeUrlToken() { // Initially create a with its value set to the empty string. type = Url; // Consume as much whitespace as possible. offset = findWhiteSpaceEnd(source, offset); // Repeatedly consume the next input code point from the stream: for (; offset < source.length; offset++) { const code = source.charCodeAt(offset); switch (charCodeCategory(code)) { // U+0029 RIGHT PARENTHESIS ()) case 0x0029: // Return the . offset++; return; // EOF // case EofCategory: // This is a parse error. Return the . // return; // whitespace case WhiteSpaceCategory: // Consume as much whitespace as possible. offset = findWhiteSpaceEnd(source, offset); // If the next input code point is U+0029 RIGHT PARENTHESIS ()) or EOF, // consume it and return the // (if EOF was encountered, this is a parse error); if (getCharCode(offset) === 0x0029 || offset >= source.length) { if (offset < source.length) { offset++; } return; } // otherwise, consume the remnants of a bad url, create a , // and return it. offset = consumeBadUrlRemnants(source, offset); type = BadUrl; return; // U+0022 QUOTATION MARK (") // U+0027 APOSTROPHE (') // U+0028 LEFT PARENTHESIS (() // non-printable code point case 0x0022: case 0x0027: case 0x0028: case NonPrintableCategory: // This is a parse error. Consume the remnants of a bad url, // create a , and return it. offset = consumeBadUrlRemnants(source, offset); type = BadUrl; return; // U+005C REVERSE SOLIDUS (\) case 0x005C: // If the stream starts with a valid escape, consume an escaped code point and // append the returned code point to the ’s value. if (char_code_definitions_isValidEscape(code, getCharCode(offset + 1))) { offset = utils_consumeEscaped(source, offset) - 1; break; } // Otherwise, this is a parse error. Consume the remnants of a bad url, // create a , and return it. offset = consumeBadUrlRemnants(source, offset); type = BadUrl; return; // anything else // Append the current input code point to the ’s value. } } } // ensure source is a string source = String(source || ''); const sourceLength = source.length; let start = isBOM(getCharCode(0)); let offset = start; let type; // https://drafts.csswg.org/css-syntax-3/#consume-token // § 4.3.1. Consume a token while (offset < sourceLength) { const code = source.charCodeAt(offset); switch (charCodeCategory(code)) { // whitespace case WhiteSpaceCategory: // Consume as much whitespace as possible. Return a . type = WhiteSpace; offset = findWhiteSpaceEnd(source, offset + 1); break; // U+0022 QUOTATION MARK (") case 0x0022: // Consume a string token and return it. consumeStringToken(); break; // U+0023 NUMBER SIGN (#) case 0x0023: // If the next input code point is a name code point or the next two input code points are a valid escape, then: if (char_code_definitions_isName(getCharCode(offset + 1)) || char_code_definitions_isValidEscape(getCharCode(offset + 1), getCharCode(offset + 2))) { // Create a . type = Hash; // If the next 3 input code points would start an identifier, set the ’s type flag to "id". // if (isIdentifierStart(getCharCode(offset + 1), getCharCode(offset + 2), getCharCode(offset + 3))) { // // TODO: set id flag // } // Consume a name, and set the ’s value to the returned string. offset = consumeName(source, offset + 1); // Return the . } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } break; // U+0027 APOSTROPHE (') case 0x0027: // Consume a string token and return it. consumeStringToken(); break; // U+0028 LEFT PARENTHESIS (() case 0x0028: // Return a <(-token>. type = LeftParenthesis; offset++; break; // U+0029 RIGHT PARENTHESIS ()) case 0x0029: // Return a <)-token>. type = RightParenthesis; offset++; break; // U+002B PLUS SIGN (+) case 0x002B: // If the input stream starts with a number, ... if (isNumberStart(code, getCharCode(offset + 1), getCharCode(offset + 2))) { // ... reconsume the current input code point, consume a numeric token, and return it. consumeNumericToken(); } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } break; // U+002C COMMA (,) case 0x002C: // Return a . type = Comma; offset++; break; // U+002D HYPHEN-MINUS (-) case 0x002D: // If the input stream starts with a number, reconsume the current input code point, consume a numeric token, and return it. if (isNumberStart(code, getCharCode(offset + 1), getCharCode(offset + 2))) { consumeNumericToken(); } else { // Otherwise, if the next 2 input code points are U+002D HYPHEN-MINUS U+003E GREATER-THAN SIGN (->), consume them and return a . if (getCharCode(offset + 1) === 0x002D && getCharCode(offset + 2) === 0x003E) { type = CDC; offset = offset + 3; } else { // Otherwise, if the input stream starts with an identifier, ... if (isIdentifierStart(code, getCharCode(offset + 1), getCharCode(offset + 2))) { // ... reconsume the current input code point, consume an ident-like token, and return it. consumeIdentLikeToken(); } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } } } break; // U+002E FULL STOP (.) case 0x002E: // If the input stream starts with a number, ... if (isNumberStart(code, getCharCode(offset + 1), getCharCode(offset + 2))) { // ... reconsume the current input code point, consume a numeric token, and return it. consumeNumericToken(); } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } break; // U+002F SOLIDUS (/) case 0x002F: // If the next two input code point are U+002F SOLIDUS (/) followed by a U+002A ASTERISK (*), if (getCharCode(offset + 1) === 0x002A) { // ... consume them and all following code points up to and including the first U+002A ASTERISK (*) // followed by a U+002F SOLIDUS (/), or up to an EOF code point. type = Comment; offset = source.indexOf('*/', offset + 2); offset = offset === -1 ? source.length : offset + 2; } else { type = Delim; offset++; } break; // U+003A COLON (:) case 0x003A: // Return a . type = Colon; offset++; break; // U+003B SEMICOLON (;) case 0x003B: // Return a . type = Semicolon; offset++; break; // U+003C LESS-THAN SIGN (<) case 0x003C: // If the next 3 input code points are U+0021 EXCLAMATION MARK U+002D HYPHEN-MINUS U+002D HYPHEN-MINUS (!--), ... if (getCharCode(offset + 1) === 0x0021 && getCharCode(offset + 2) === 0x002D && getCharCode(offset + 3) === 0x002D) { // ... consume them and return a . type = CDO; offset = offset + 4; } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } break; // U+0040 COMMERCIAL AT (@) case 0x0040: // If the next 3 input code points would start an identifier, ... if (isIdentifierStart(getCharCode(offset + 1), getCharCode(offset + 2), getCharCode(offset + 3))) { // ... consume a name, create an with its value set to the returned value, and return it. type = AtKeyword; offset = consumeName(source, offset + 1); } else { // Otherwise, return a with its value set to the current input code point. type = Delim; offset++; } break; // U+005B LEFT SQUARE BRACKET ([) case 0x005B: // Return a <[-token>. type = LeftSquareBracket; offset++; break; // U+005C REVERSE SOLIDUS (\) case 0x005C: // If the input stream starts with a valid escape, ... if (char_code_definitions_isValidEscape(code, getCharCode(offset + 1))) { // ... reconsume the current input code point, consume an ident-like token, and return it. consumeIdentLikeToken(); } else { // Otherwise, this is a parse error. Return a with its value set to the current input code point. type = Delim; offset++; } break; // U+005D RIGHT SQUARE BRACKET (]) case 0x005D: // Return a <]-token>. type = RightSquareBracket; offset++; break; // U+007B LEFT CURLY BRACKET ({) case 0x007B: // Return a <{-token>. type = LeftCurlyBracket; offset++; break; // U+007D RIGHT CURLY BRACKET (}) case 0x007D: // Return a <}-token>. type = RightCurlyBracket; offset++; break; // digit case DigitCategory: // Reconsume the current input code point, consume a numeric token, and return it. consumeNumericToken(); break; // name-start code point case NameStartCategory: // Reconsume the current input code point, consume an ident-like token, and return it. consumeIdentLikeToken(); break; // EOF // case EofCategory: // Return an . // break; // anything else default: // Return a with its value set to the current input code point. type = Delim; offset++; } // put token to stream onToken(type, start, start = offset); } } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/utils/List.js // // list // ┌──────┐ // ┌──────────────┼─head │ // │ │ tail─┼──────────────┐ // │ └──────┘ │ // ▼ ▼ // item item item item // ┌──────┐ ┌──────┐ ┌──────┐ ┌──────┐ // null ◀──┼─prev │◀───┼─prev │◀───┼─prev │◀───┼─prev │ // │ next─┼───▶│ next─┼───▶│ next─┼───▶│ next─┼──▶ null // ├──────┤ ├──────┤ ├──────┤ ├──────┤ // │ data │ │ data │ │ data │ │ data │ // └──────┘ └──────┘ └──────┘ └──────┘ // let releasedCursors = null; class List { static createItem(data) { return { prev: null, next: null, data }; } constructor() { this.head = null; this.tail = null; this.cursor = null; } createItem(data) { return List.createItem(data); } // cursor helpers allocateCursor(prev, next) { let cursor; if (releasedCursors !== null) { cursor = releasedCursors; releasedCursors = releasedCursors.cursor; cursor.prev = prev; cursor.next = next; cursor.cursor = this.cursor; } else { cursor = { prev, next, cursor: this.cursor }; } this.cursor = cursor; return cursor; } releaseCursor() { const { cursor } = this; this.cursor = cursor.cursor; cursor.prev = null; cursor.next = null; cursor.cursor = releasedCursors; releasedCursors = cursor; } updateCursors(prevOld, prevNew, nextOld, nextNew) { let { cursor } = this; while (cursor !== null) { if (cursor.prev === prevOld) { cursor.prev = prevNew; } if (cursor.next === nextOld) { cursor.next = nextNew; } cursor = cursor.cursor; } } *[Symbol.iterator]() { for (let cursor = this.head; cursor !== null; cursor = cursor.next) { yield cursor.data; } } // getters get size() { let size = 0; for (let cursor = this.head; cursor !== null; cursor = cursor.next) { size++; } return size; } get isEmpty() { return this.head === null; } get first() { return this.head && this.head.data; } get last() { return this.tail && this.tail.data; } // convertors fromArray(array) { let cursor = null; this.head = null; for (let data of array) { const item = List.createItem(data); if (cursor !== null) { cursor.next = item; } else { this.head = item; } item.prev = cursor; cursor = item; } this.tail = cursor; return this; } toArray() { return [...this]; } toJSON() { return [...this]; } // array-like methods forEach(fn, thisArg = this) { // push cursor const cursor = this.allocateCursor(null, this.head); while (cursor.next !== null) { const item = cursor.next; cursor.next = item.next; fn.call(thisArg, item.data, item, this); } // pop cursor this.releaseCursor(); } forEachRight(fn, thisArg = this) { // push cursor const cursor = this.allocateCursor(this.tail, null); while (cursor.prev !== null) { const item = cursor.prev; cursor.prev = item.prev; fn.call(thisArg, item.data, item, this); } // pop cursor this.releaseCursor(); } reduce(fn, initialValue, thisArg = this) { // push cursor let cursor = this.allocateCursor(null, this.head); let acc = initialValue; let item; while (cursor.next !== null) { item = cursor.next; cursor.next = item.next; acc = fn.call(thisArg, acc, item.data, item, this); } // pop cursor this.releaseCursor(); return acc; } reduceRight(fn, initialValue, thisArg = this) { // push cursor let cursor = this.allocateCursor(this.tail, null); let acc = initialValue; let item; while (cursor.prev !== null) { item = cursor.prev; cursor.prev = item.prev; acc = fn.call(thisArg, acc, item.data, item, this); } // pop cursor this.releaseCursor(); return acc; } some(fn, thisArg = this) { for (let cursor = this.head; cursor !== null; cursor = cursor.next) { if (fn.call(thisArg, cursor.data, cursor, this)) { return true; } } return false; } map(fn, thisArg = this) { const result = new List(); for (let cursor = this.head; cursor !== null; cursor = cursor.next) { result.appendData(fn.call(thisArg, cursor.data, cursor, this)); } return result; } filter(fn, thisArg = this) { const result = new List(); for (let cursor = this.head; cursor !== null; cursor = cursor.next) { if (fn.call(thisArg, cursor.data, cursor, this)) { result.appendData(cursor.data); } } return result; } nextUntil(start, fn, thisArg = this) { if (start === null) { return; } // push cursor const cursor = this.allocateCursor(null, start); while (cursor.next !== null) { const item = cursor.next; cursor.next = item.next; if (fn.call(thisArg, item.data, item, this)) { break; } } // pop cursor this.releaseCursor(); } prevUntil(start, fn, thisArg = this) { if (start === null) { return; } // push cursor const cursor = this.allocateCursor(start, null); while (cursor.prev !== null) { const item = cursor.prev; cursor.prev = item.prev; if (fn.call(thisArg, item.data, item, this)) { break; } } // pop cursor this.releaseCursor(); } // mutation clear() { this.head = null; this.tail = null; } copy() { const result = new List(); for (let data of this) { result.appendData(data); } return result; } prepend(item) { // head // ^ // item this.updateCursors(null, item, this.head, item); // insert to the beginning of the list if (this.head !== null) { // new item <- first item this.head.prev = item; // new item -> first item item.next = this.head; } else { // if list has no head, then it also has no tail // in this case tail points to the new item this.tail = item; } // head always points to new item this.head = item; return this; } prependData(data) { return this.prepend(List.createItem(data)); } append(item) { return this.insert(item); } appendData(data) { return this.insert(List.createItem(data)); } insert(item, before = null) { if (before !== null) { // prev before // ^ // item this.updateCursors(before.prev, item, before, item); if (before.prev === null) { // insert to the beginning of list if (this.head !== before) { throw new Error('before doesn\'t belong to list'); } // since head points to before therefore list doesn't empty // no need to check tail this.head = item; before.prev = item; item.next = before; this.updateCursors(null, item); } else { // insert between two items before.prev.next = item; item.prev = before.prev; before.prev = item; item.next = before; } } else { // tail // ^ // item this.updateCursors(this.tail, item, null, item); // insert to the ending of the list if (this.tail !== null) { // last item -> new item this.tail.next = item; // last item <- new item item.prev = this.tail; } else { // if list has no tail, then it also has no head // in this case head points to new item this.head = item; } // tail always points to new item this.tail = item; } return this; } insertData(data, before) { return this.insert(List.createItem(data), before); } remove(item) { // item // ^ // prev next this.updateCursors(item, item.prev, item, item.next); if (item.prev !== null) { item.prev.next = item.next; } else { if (this.head !== item) { throw new Error('item doesn\'t belong to list'); } this.head = item.next; } if (item.next !== null) { item.next.prev = item.prev; } else { if (this.tail !== item) { throw new Error('item doesn\'t belong to list'); } this.tail = item.prev; } item.prev = null; item.next = null; return item; } push(data) { this.insert(List.createItem(data)); } pop() { return this.tail !== null ? this.remove(this.tail) : null; } unshift(data) { this.prepend(List.createItem(data)); } shift() { return this.head !== null ? this.remove(this.head) : null; } prependList(list) { return this.insertList(list, this.head); } appendList(list) { return this.insertList(list); } insertList(list, before) { // ignore empty lists if (list.head === null) { return this; } if (before !== undefined && before !== null) { this.updateCursors(before.prev, list.tail, before, list.head); // insert in the middle of dist list if (before.prev !== null) { // before.prev <-> list.head before.prev.next = list.head; list.head.prev = before.prev; } else { this.head = list.head; } before.prev = list.tail; list.tail.next = before; } else { this.updateCursors(this.tail, list.tail, null, list.head); // insert to end of the list if (this.tail !== null) { // if destination list has a tail, then it also has a head, // but head doesn't change // dest tail -> source head this.tail.next = list.head; // dest tail <- source head list.head.prev = this.tail; } else { // if list has no a tail, then it also has no a head // in this case points head to new item this.head = list.head; } // tail always start point to new item this.tail = list.tail; } list.head = null; list.tail = null; return this; } replace(oldItem, newItemOrList) { if ('head' in newItemOrList) { this.insertList(newItemOrList, oldItem); } else { this.insert(newItemOrList, oldItem); } this.remove(oldItem); } } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/utils/create-custom-error.js function createCustomError(name, message) { // use Object.create(), because some VMs prevent setting line/column otherwise // (iOS Safari 10 even throws an exception) const error = Object.create(SyntaxError.prototype); const errorStack = new Error(); return Object.assign(error, { name, message, get stack() { return (errorStack.stack || '').replace(/^(.+\n){1,3}/, `${name}: ${message}\n`); } }); }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/parser/SyntaxError.js const MAX_LINE_LENGTH = 100; const OFFSET_CORRECTION = 60; const TAB_REPLACEMENT = ' '; function sourceFragment({ source, line, column }, extraLines) { function processLines(start, end) { return lines .slice(start, end) .map((line, idx) => String(start + idx + 1).padStart(maxNumLength) + ' |' + line ).join('\n'); } const lines = source.split(/\r\n?|\n|\f/); const startLine = Math.max(1, line - extraLines) - 1; const endLine = Math.min(line + extraLines, lines.length + 1); const maxNumLength = Math.max(4, String(endLine).length) + 1; let cutLeft = 0; // column correction according to replaced tab before column column += (TAB_REPLACEMENT.length - 1) * (lines[line - 1].substr(0, column - 1).match(/\t/g) || []).length; if (column > MAX_LINE_LENGTH) { cutLeft = column - OFFSET_CORRECTION + 3; column = OFFSET_CORRECTION - 2; } for (let i = startLine; i <= endLine; i++) { if (i >= 0 && i < lines.length) { lines[i] = lines[i].replace(/\t/g, TAB_REPLACEMENT); lines[i] = (cutLeft > 0 && lines[i].length > cutLeft ? '\u2026' : '') + lines[i].substr(cutLeft, MAX_LINE_LENGTH - 2) + (lines[i].length > cutLeft + MAX_LINE_LENGTH - 1 ? '\u2026' : ''); } } return [ processLines(startLine, line), new Array(column + maxNumLength + 2).join('-') + '^', processLines(line, endLine) ].filter(Boolean).join('\n'); } function SyntaxError_SyntaxError(message, source, offset, line, column) { const error = Object.assign(createCustomError('SyntaxError', message), { source, offset, line, column, sourceFragment(extraLines) { return sourceFragment({ source, line, column }, isNaN(extraLines) ? 0 : extraLines); }, get formattedMessage() { return ( `Parse error: ${message}\n` + sourceFragment({ source, line, column }, 2) ); } }); return error; } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/parser/sequence.js function readSequence(recognizer) { const children = this.createList(); let space = false; const context = { recognizer }; while (!this.eof) { switch (this.tokenType) { case Comment: this.next(); continue; case WhiteSpace: space = true; this.next(); continue; } let child = recognizer.getNode.call(this, context); if (child === undefined) { break; } if (space) { if (recognizer.onWhiteSpace) { recognizer.onWhiteSpace.call(this, child, children, context); } space = false; } children.push(child); } if (space && recognizer.onWhiteSpace) { recognizer.onWhiteSpace.call(this, null, children, context); } return children; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/parser/create.js const NOOP = () => {}; const EXCLAMATIONMARK = 0x0021; // U+0021 EXCLAMATION MARK (!) const NUMBERSIGN = 0x0023; // U+0023 NUMBER SIGN (#) const SEMICOLON = 0x003B; // U+003B SEMICOLON (;) const LEFTCURLYBRACKET = 0x007B; // U+007B LEFT CURLY BRACKET ({) const NULL = 0; function createParseContext(name) { return function() { return this[name](); }; } function fetchParseValues(dict) { const result = Object.create(null); for (const name in dict) { const item = dict[name]; const fn = item.parse || item; if (fn) { result[name] = fn; } } return result; } function processConfig(config) { const parseConfig = { context: Object.create(null), scope: Object.assign(Object.create(null), config.scope), atrule: fetchParseValues(config.atrule), pseudo: fetchParseValues(config.pseudo), node: fetchParseValues(config.node) }; for (const name in config.parseContext) { switch (typeof config.parseContext[name]) { case 'function': parseConfig.context[name] = config.parseContext[name]; break; case 'string': parseConfig.context[name] = createParseContext(config.parseContext[name]); break; } } return { config: parseConfig, ...parseConfig, ...parseConfig.node }; } function createParser(config) { let source = ''; let filename = ''; let needPositions = false; let onParseError = NOOP; let onParseErrorThrow = false; const locationMap = new OffsetToLocation(); const parser = Object.assign(new TokenStream(), processConfig(config || {}), { parseAtrulePrelude: true, parseRulePrelude: true, parseValue: true, parseCustomProperty: false, readSequence: readSequence, consumeUntilBalanceEnd: () => 0, consumeUntilLeftCurlyBracket(code) { return code === LEFTCURLYBRACKET ? 1 : 0; }, consumeUntilLeftCurlyBracketOrSemicolon(code) { return code === LEFTCURLYBRACKET || code === SEMICOLON ? 1 : 0; }, consumeUntilExclamationMarkOrSemicolon(code) { return code === EXCLAMATIONMARK || code === SEMICOLON ? 1 : 0; }, consumeUntilSemicolonIncluded(code) { return code === SEMICOLON ? 2 : 0; }, createList() { return new List(); }, createSingleNodeList(node) { return new List().appendData(node); }, getFirstListNode(list) { return list && list.first; }, getLastListNode(list) { return list && list.last; }, parseWithFallback(consumer, fallback) { const startToken = this.tokenIndex; try { return consumer.call(this); } catch (e) { if (onParseErrorThrow) { throw e; } const fallbackNode = fallback.call(this, startToken); onParseErrorThrow = true; onParseError(e, fallbackNode); onParseErrorThrow = false; return fallbackNode; } }, lookupNonWSType(offset) { let type; do { type = this.lookupType(offset++); if (type !== WhiteSpace) { return type; } } while (type !== NULL); return NULL; }, charCodeAt(offset) { return offset >= 0 && offset < source.length ? source.charCodeAt(offset) : 0; }, substring(offsetStart, offsetEnd) { return source.substring(offsetStart, offsetEnd); }, substrToCursor(start) { return this.source.substring(start, this.tokenStart); }, cmpChar(offset, charCode) { return cmpChar(source, offset, charCode); }, cmpStr(offsetStart, offsetEnd, str) { return cmpStr(source, offsetStart, offsetEnd, str); }, consume(tokenType) { const start = this.tokenStart; this.eat(tokenType); return this.substrToCursor(start); }, consumeFunctionName() { const name = source.substring(this.tokenStart, this.tokenEnd - 1); this.eat(types_Function); return name; }, consumeNumber(type) { const number = source.substring(this.tokenStart, consumeNumber(source, this.tokenStart)); this.eat(type); return number; }, eat(tokenType) { if (this.tokenType !== tokenType) { const tokenName = names[tokenType].slice(0, -6).replace(/-/g, ' ').replace(/^./, m => m.toUpperCase()); let message = `${/[[\](){}]/.test(tokenName) ? `"${tokenName}"` : tokenName} is expected`; let offset = this.tokenStart; // tweak message and offset switch (tokenType) { case Ident: // when identifier is expected but there is a function or url if (this.tokenType === types_Function || this.tokenType === Url) { offset = this.tokenEnd - 1; message = 'Identifier is expected but function found'; } else { message = 'Identifier is expected'; } break; case Hash: if (this.isDelim(NUMBERSIGN)) { this.next(); offset++; message = 'Name is expected'; } break; case Percentage: if (this.tokenType === types_Number) { offset = this.tokenEnd; message = 'Percent sign is expected'; } break; } this.error(message, offset); } this.next(); }, eatIdent(name) { if (this.tokenType !== Ident || this.lookupValue(0, name) === false) { this.error(`Identifier "${name}" is expected`); } this.next(); }, eatDelim(code) { if (!this.isDelim(code)) { this.error(`Delim "${String.fromCharCode(code)}" is expected`); } this.next(); }, getLocation(start, end) { if (needPositions) { return locationMap.getLocationRange( start, end, filename ); } return null; }, getLocationFromList(list) { if (needPositions) { const head = this.getFirstListNode(list); const tail = this.getLastListNode(list); return locationMap.getLocationRange( head !== null ? head.loc.start.offset - locationMap.startOffset : this.tokenStart, tail !== null ? tail.loc.end.offset - locationMap.startOffset : this.tokenStart, filename ); } return null; }, error(message, offset) { const location = typeof offset !== 'undefined' && offset < source.length ? locationMap.getLocation(offset) : this.eof ? locationMap.getLocation(findWhiteSpaceStart(source, source.length - 1)) : locationMap.getLocation(this.tokenStart); throw new SyntaxError_SyntaxError( message || 'Unexpected input', source, location.offset, location.line, location.column ); } }); const parse = function(source_, options) { source = source_; options = options || {}; parser.setSource(source, tokenize); locationMap.setSource( source, options.offset, options.line, options.column ); filename = options.filename || ''; needPositions = Boolean(options.positions); onParseError = typeof options.onParseError === 'function' ? options.onParseError : NOOP; onParseErrorThrow = false; parser.parseAtrulePrelude = 'parseAtrulePrelude' in options ? Boolean(options.parseAtrulePrelude) : true; parser.parseRulePrelude = 'parseRulePrelude' in options ? Boolean(options.parseRulePrelude) : true; parser.parseValue = 'parseValue' in options ? Boolean(options.parseValue) : true; parser.parseCustomProperty = 'parseCustomProperty' in options ? Boolean(options.parseCustomProperty) : false; const { context = 'default', onComment } = options; if (context in parser.context === false) { throw new Error('Unknown context `' + context + '`'); } if (typeof onComment === 'function') { parser.forEachToken((type, start, end) => { if (type === Comment) { const loc = parser.getLocation(start, end); const value = cmpStr(source, end - 2, end, '*/') ? source.slice(start + 2, end - 2) : source.slice(start + 2, end); onComment(value, loc); } }); } const ast = parser.context[context].call(parser, options); if (!parser.eof) { parser.error(); } return ast; }; return Object.assign(parse, { SyntaxError: SyntaxError_SyntaxError, config: parser.config }); }; // EXTERNAL MODULE: ./node_modules/source-map-js/lib/source-map-generator.js var source_map_generator = __webpack_require__(4508); ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/generator/sourceMap.js const trackNodes = new Set(['Atrule', 'Selector', 'Declaration']); function generateSourceMap(handlers) { const map = new source_map_generator/* SourceMapGenerator */.h(); const generated = { line: 1, column: 0 }; const original = { line: 0, // should be zero to add first mapping column: 0 }; const activatedGenerated = { line: 1, column: 0 }; const activatedMapping = { generated: activatedGenerated }; let line = 1; let column = 0; let sourceMappingActive = false; const origHandlersNode = handlers.node; handlers.node = function(node) { if (node.loc && node.loc.start && trackNodes.has(node.type)) { const nodeLine = node.loc.start.line; const nodeColumn = node.loc.start.column - 1; if (original.line !== nodeLine || original.column !== nodeColumn) { original.line = nodeLine; original.column = nodeColumn; generated.line = line; generated.column = column; if (sourceMappingActive) { sourceMappingActive = false; if (generated.line !== activatedGenerated.line || generated.column !== activatedGenerated.column) { map.addMapping(activatedMapping); } } sourceMappingActive = true; map.addMapping({ source: node.loc.source, original, generated }); } } origHandlersNode.call(this, node); if (sourceMappingActive && trackNodes.has(node.type)) { activatedGenerated.line = line; activatedGenerated.column = column; } }; const origHandlersEmit = handlers.emit; handlers.emit = function(value, type, auto) { for (let i = 0; i < value.length; i++) { if (value.charCodeAt(i) === 10) { // \n line++; column = 0; } else { column++; } } origHandlersEmit(value, type, auto); }; const origHandlersResult = handlers.result; handlers.result = function() { if (sourceMappingActive) { map.addMapping(activatedMapping); } return { css: origHandlersResult(), map }; }; return handlers; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/generator/token-before.js const PLUSSIGN = 0x002B; // U+002B PLUS SIGN (+) const HYPHENMINUS = 0x002D; // U+002D HYPHEN-MINUS (-) const code = (type, value) => { if (type === Delim) { type = value; } if (typeof type === 'string') { const charCode = type.charCodeAt(0); return charCode > 0x7F ? 0x8000 : charCode << 8; } return type; }; // https://www.w3.org/TR/css-syntax-3/#serialization // The only requirement for serialization is that it must "round-trip" with parsing, // that is, parsing the stylesheet must produce the same data structures as parsing, // serializing, and parsing again, except for consecutive s, // which may be collapsed into a single token. const specPairs = [ [Ident, Ident], [Ident, types_Function], [Ident, Url], [Ident, BadUrl], [Ident, '-'], [Ident, types_Number], [Ident, Percentage], [Ident, Dimension], [Ident, CDC], [Ident, LeftParenthesis], [AtKeyword, Ident], [AtKeyword, types_Function], [AtKeyword, Url], [AtKeyword, BadUrl], [AtKeyword, '-'], [AtKeyword, types_Number], [AtKeyword, Percentage], [AtKeyword, Dimension], [AtKeyword, CDC], [Hash, Ident], [Hash, types_Function], [Hash, Url], [Hash, BadUrl], [Hash, '-'], [Hash, types_Number], [Hash, Percentage], [Hash, Dimension], [Hash, CDC], [Dimension, Ident], [Dimension, types_Function], [Dimension, Url], [Dimension, BadUrl], [Dimension, '-'], [Dimension, types_Number], [Dimension, Percentage], [Dimension, Dimension], [Dimension, CDC], ['#', Ident], ['#', types_Function], ['#', Url], ['#', BadUrl], ['#', '-'], ['#', types_Number], ['#', Percentage], ['#', Dimension], ['#', CDC], // https://github.com/w3c/csswg-drafts/pull/6874 ['-', Ident], ['-', types_Function], ['-', Url], ['-', BadUrl], ['-', '-'], ['-', types_Number], ['-', Percentage], ['-', Dimension], ['-', CDC], // https://github.com/w3c/csswg-drafts/pull/6874 [types_Number, Ident], [types_Number, types_Function], [types_Number, Url], [types_Number, BadUrl], [types_Number, types_Number], [types_Number, Percentage], [types_Number, Dimension], [types_Number, '%'], [types_Number, CDC], // https://github.com/w3c/csswg-drafts/pull/6874 ['@', Ident], ['@', types_Function], ['@', Url], ['@', BadUrl], ['@', '-'], ['@', CDC], // https://github.com/w3c/csswg-drafts/pull/6874 ['.', types_Number], ['.', Percentage], ['.', Dimension], ['+', types_Number], ['+', Percentage], ['+', Dimension], ['/', '*'] ]; // validate with scripts/generate-safe const safePairs = specPairs.concat([ [Ident, Hash], [Dimension, Hash], [Hash, Hash], [AtKeyword, LeftParenthesis], [AtKeyword, types_String], [AtKeyword, Colon], [Percentage, Percentage], [Percentage, Dimension], [Percentage, types_Function], [Percentage, '-'], [RightParenthesis, Ident], [RightParenthesis, types_Function], [RightParenthesis, Percentage], [RightParenthesis, Dimension], [RightParenthesis, Hash], [RightParenthesis, '-'] ]); function createMap(pairs) { const isWhiteSpaceRequired = new Set( pairs.map(([prev, next]) => (code(prev) << 16 | code(next))) ); return function(prevCode, type, value) { const nextCode = code(type, value); const nextCharCode = value.charCodeAt(0); const emitWs = (nextCharCode === HYPHENMINUS && type !== Ident && type !== types_Function && type !== CDC) || (nextCharCode === PLUSSIGN) ? isWhiteSpaceRequired.has(prevCode << 16 | nextCharCode << 8) : isWhiteSpaceRequired.has(prevCode << 16 | nextCode); if (emitWs) { this.emit(' ', WhiteSpace, true); } return nextCode; }; } const spec = createMap(specPairs); const safe = createMap(safePairs); ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/generator/create.js const REVERSESOLIDUS = 0x005c; // U+005C REVERSE SOLIDUS (\) function processChildren(node, delimeter) { if (typeof delimeter === 'function') { let prev = null; node.children.forEach(node => { if (prev !== null) { delimeter.call(this, prev); } this.node(node); prev = node; }); return; } node.children.forEach(this.node, this); } function processChunk(chunk) { tokenize(chunk, (type, start, end) => { this.token(type, chunk.slice(start, end)); }); } function createGenerator(config) { const types = new Map(); for (let name in config.node) { const item = config.node[name]; const fn = item.generate || item; if (typeof fn === 'function') { types.set(name, item.generate || item); } } return function(node, options) { let buffer = ''; let prevCode = 0; let handlers = { node(node) { if (types.has(node.type)) { types.get(node.type).call(publicApi, node); } else { throw new Error('Unknown node type: ' + node.type); } }, tokenBefore: safe, token(type, value) { prevCode = this.tokenBefore(prevCode, type, value); this.emit(value, type, false); if (type === Delim && value.charCodeAt(0) === REVERSESOLIDUS) { this.emit('\n', WhiteSpace, true); } }, emit(value) { buffer += value; }, result() { return buffer; } }; if (options) { if (typeof options.decorator === 'function') { handlers = options.decorator(handlers); } if (options.sourceMap) { handlers = generateSourceMap(handlers); } if (options.mode in token_before_namespaceObject) { handlers.tokenBefore = token_before_namespaceObject[options.mode]; } } const publicApi = { node: (node) => handlers.node(node), children: processChildren, token: (type, value) => handlers.token(type, value), tokenize: processChunk }; handlers.node(node); return handlers.result(); }; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/convertor/create.js function createConvertor(walk) { return { fromPlainObject(ast) { walk(ast, { enter(node) { if (node.children && node.children instanceof List === false) { node.children = new List().fromArray(node.children); } } }); return ast; }, toPlainObject(ast) { walk(ast, { leave(node) { if (node.children && node.children instanceof List) { node.children = node.children.toArray(); } } }); return ast; } }; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/walker/create.js const { hasOwnProperty: create_hasOwnProperty } = Object.prototype; const noop = function() {}; function ensureFunction(value) { return typeof value === 'function' ? value : noop; } function invokeForType(fn, type) { return function(node, item, list) { if (node.type === type) { fn.call(this, node, item, list); } }; } function getWalkersFromStructure(name, nodeType) { const structure = nodeType.structure; const walkers = []; for (const key in structure) { if (create_hasOwnProperty.call(structure, key) === false) { continue; } let fieldTypes = structure[key]; const walker = { name: key, type: false, nullable: false }; if (!Array.isArray(fieldTypes)) { fieldTypes = [fieldTypes]; } for (const fieldType of fieldTypes) { if (fieldType === null) { walker.nullable = true; } else if (typeof fieldType === 'string') { walker.type = 'node'; } else if (Array.isArray(fieldType)) { walker.type = 'list'; } } if (walker.type) { walkers.push(walker); } } if (walkers.length) { return { context: nodeType.walkContext, fields: walkers }; } return null; } function getTypesFromConfig(config) { const types = {}; for (const name in config.node) { if (create_hasOwnProperty.call(config.node, name)) { const nodeType = config.node[name]; if (!nodeType.structure) { throw new Error('Missed `structure` field in `' + name + '` node type definition'); } types[name] = getWalkersFromStructure(name, nodeType); } } return types; } function createTypeIterator(config, reverse) { const fields = config.fields.slice(); const contextName = config.context; const useContext = typeof contextName === 'string'; if (reverse) { fields.reverse(); } return function(node, context, walk, walkReducer) { let prevContextValue; if (useContext) { prevContextValue = context[contextName]; context[contextName] = node; } for (const field of fields) { const ref = node[field.name]; if (!field.nullable || ref) { if (field.type === 'list') { const breakWalk = reverse ? ref.reduceRight(walkReducer, false) : ref.reduce(walkReducer, false); if (breakWalk) { return true; } } else if (walk(ref)) { return true; } } } if (useContext) { context[contextName] = prevContextValue; } }; } function createFastTraveralMap({ StyleSheet, Atrule, Rule, Block, DeclarationList }) { return { Atrule: { StyleSheet, Atrule, Rule, Block }, Rule: { StyleSheet, Atrule, Rule, Block }, Declaration: { StyleSheet, Atrule, Rule, Block, DeclarationList } }; } function createWalker(config) { const types = getTypesFromConfig(config); const iteratorsNatural = {}; const iteratorsReverse = {}; const breakWalk = Symbol('break-walk'); const skipNode = Symbol('skip-node'); for (const name in types) { if (create_hasOwnProperty.call(types, name) && types[name] !== null) { iteratorsNatural[name] = createTypeIterator(types[name], false); iteratorsReverse[name] = createTypeIterator(types[name], true); } } const fastTraversalIteratorsNatural = createFastTraveralMap(iteratorsNatural); const fastTraversalIteratorsReverse = createFastTraveralMap(iteratorsReverse); const walk = function(root, options) { function walkNode(node, item, list) { const enterRet = enter.call(context, node, item, list); if (enterRet === breakWalk) { return true; } if (enterRet === skipNode) { return false; } if (iterators.hasOwnProperty(node.type)) { if (iterators[node.type](node, context, walkNode, walkReducer)) { return true; } } if (leave.call(context, node, item, list) === breakWalk) { return true; } return false; } let enter = noop; let leave = noop; let iterators = iteratorsNatural; let walkReducer = (ret, data, item, list) => ret || walkNode(data, item, list); const context = { break: breakWalk, skip: skipNode, root, stylesheet: null, atrule: null, atrulePrelude: null, rule: null, selector: null, block: null, declaration: null, function: null }; if (typeof options === 'function') { enter = options; } else if (options) { enter = ensureFunction(options.enter); leave = ensureFunction(options.leave); if (options.reverse) { iterators = iteratorsReverse; } if (options.visit) { if (fastTraversalIteratorsNatural.hasOwnProperty(options.visit)) { iterators = options.reverse ? fastTraversalIteratorsReverse[options.visit] : fastTraversalIteratorsNatural[options.visit]; } else if (!types.hasOwnProperty(options.visit)) { throw new Error('Bad value `' + options.visit + '` for `visit` option (should be: ' + Object.keys(types).sort().join(', ') + ')'); } enter = invokeForType(enter, options.visit); leave = invokeForType(leave, options.visit); } } if (enter === noop && leave === noop) { throw new Error('Neither `enter` nor `leave` walker handler is set or both aren\'t a function'); } walkNode(root); }; walk.break = breakWalk; walk.skip = skipNode; walk.find = function(ast, fn) { let found = null; walk(ast, function(node, item, list) { if (fn.call(this, node, item, list)) { found = node; return breakWalk; } }); return found; }; walk.findLast = function(ast, fn) { let found = null; walk(ast, { reverse: true, enter(node, item, list) { if (fn.call(this, node, item, list)) { found = node; return breakWalk; } } }); return found; }; walk.findAll = function(ast, fn) { const found = []; walk(ast, function(node, item, list) { if (fn.call(this, node, item, list)) { found.push(node); } }); return found; }; return walk; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/definition-syntax/generate.js function generate_noop(value) { return value; } function generateMultiplier(multiplier) { const { min, max, comma } = multiplier; if (min === 0 && max === 0) { return comma ? '#?' : '*'; } if (min === 0 && max === 1) { return '?'; } if (min === 1 && max === 0) { return comma ? '#' : '+'; } if (min === 1 && max === 1) { return ''; } return ( (comma ? '#' : '') + (min === max ? '{' + min + '}' : '{' + min + ',' + (max !== 0 ? max : '') + '}' ) ); } function generateTypeOpts(node) { switch (node.type) { case 'Range': return ( ' [' + (node.min === null ? '-∞' : node.min) + ',' + (node.max === null ? '∞' : node.max) + ']' ); default: throw new Error('Unknown node type `' + node.type + '`'); } } function generateSequence(node, decorate, forceBraces, compact) { const combinator = node.combinator === ' ' || compact ? node.combinator : ' ' + node.combinator + ' '; const result = node.terms .map(term => internalGenerate(term, decorate, forceBraces, compact)) .join(combinator); if (node.explicit || forceBraces) { return (compact || result[0] === ',' ? '[' : '[ ') + result + (compact ? ']' : ' ]'); } return result; } function internalGenerate(node, decorate, forceBraces, compact) { let result; switch (node.type) { case 'Group': result = generateSequence(node, decorate, forceBraces, compact) + (node.disallowEmpty ? '!' : ''); break; case 'Multiplier': // return since node is a composition return ( internalGenerate(node.term, decorate, forceBraces, compact) + decorate(generateMultiplier(node), node) ); case 'Type': result = '<' + node.name + (node.opts ? decorate(generateTypeOpts(node.opts), node.opts) : '') + '>'; break; case 'Property': result = '<\'' + node.name + '\'>'; break; case 'Keyword': result = node.name; break; case 'AtKeyword': result = '@' + node.name; break; case 'Function': result = node.name + '('; break; case 'String': case 'Token': result = node.value; break; case 'Comma': result = ','; break; default: throw new Error('Unknown node type `' + node.type + '`'); } return decorate(result, node); } function generate(node, options) { let decorate = generate_noop; let forceBraces = false; let compact = false; if (typeof options === 'function') { decorate = options; } else if (options) { forceBraces = Boolean(options.forceBraces); compact = Boolean(options.compact); if (typeof options.decorate === 'function') { decorate = options.decorate; } } return internalGenerate(node, decorate, forceBraces, compact); }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/lexer/error.js const defaultLoc = { offset: 0, line: 1, column: 1 }; function locateMismatch(matchResult, node) { const tokens = matchResult.tokens; const longestMatch = matchResult.longestMatch; const mismatchNode = longestMatch < tokens.length ? tokens[longestMatch].node || null : null; const badNode = mismatchNode !== node ? mismatchNode : null; let mismatchOffset = 0; let mismatchLength = 0; let entries = 0; let css = ''; let start; let end; for (let i = 0; i < tokens.length; i++) { const token = tokens[i].value; if (i === longestMatch) { mismatchLength = token.length; mismatchOffset = css.length; } if (badNode !== null && tokens[i].node === badNode) { if (i <= longestMatch) { entries++; } else { entries = 0; } } css += token; } if (longestMatch === tokens.length || entries > 1) { // last start = fromLoc(badNode || node, 'end') || buildLoc(defaultLoc, css); end = buildLoc(start); } else { start = fromLoc(badNode, 'start') || buildLoc(fromLoc(node, 'start') || defaultLoc, css.slice(0, mismatchOffset)); end = fromLoc(badNode, 'end') || buildLoc(start, css.substr(mismatchOffset, mismatchLength)); } return { css, mismatchOffset, mismatchLength, start, end }; } function fromLoc(node, point) { const value = node && node.loc && node.loc[point]; if (value) { return 'line' in value ? buildLoc(value) : value; } return null; } function buildLoc({ offset, line, column }, extra) { const loc = { offset, line, column }; if (extra) { const lines = extra.split(/\n|\r\n?|\f/); loc.offset += extra.length; loc.line += lines.length - 1; loc.column = lines.length === 1 ? loc.column + extra.length : lines.pop().length + 1; } return loc; } const SyntaxReferenceError = function(type, referenceName) { const error = createCustomError( 'SyntaxReferenceError', type + (referenceName ? ' `' + referenceName + '`' : '') ); error.reference = referenceName; return error; }; const SyntaxMatchError = function(message, syntax, node, matchResult) { const error = createCustomError('SyntaxMatchError', message); const { css, mismatchOffset, mismatchLength, start, end } = locateMismatch(matchResult, node); error.rawMessage = message; error.syntax = syntax ? generate(syntax) : ''; error.css = css; error.mismatchOffset = mismatchOffset; error.mismatchLength = mismatchLength; error.message = message + '\n' + ' syntax: ' + error.syntax + '\n' + ' value: ' + (css || '') + '\n' + ' --------' + new Array(error.mismatchOffset + 1).join('-') + '^'; Object.assign(error, start); error.loc = { source: (node && node.loc && node.loc.source) || '', start, end }; return error; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/utils/names.js const keywords = new Map(); const properties = new Map(); const names_HYPHENMINUS = 45; // '-'.charCodeAt() const keyword = getKeywordDescriptor; const names_property = getPropertyDescriptor; const vendorPrefix = (/* unused pure expression or super */ null && (getVendorPrefix)); function isCustomProperty(str, offset) { offset = offset || 0; return str.length - offset >= 2 && str.charCodeAt(offset) === names_HYPHENMINUS && str.charCodeAt(offset + 1) === names_HYPHENMINUS; } function getVendorPrefix(str, offset) { offset = offset || 0; // verdor prefix should be at least 3 chars length if (str.length - offset >= 3) { // vendor prefix starts with hyper minus following non-hyper minus if (str.charCodeAt(offset) === names_HYPHENMINUS && str.charCodeAt(offset + 1) !== names_HYPHENMINUS) { // vendor prefix should contain a hyper minus at the ending const secondDashIndex = str.indexOf('-', offset + 2); if (secondDashIndex !== -1) { return str.substring(offset, secondDashIndex + 1); } } } return ''; } function getKeywordDescriptor(keyword) { if (keywords.has(keyword)) { return keywords.get(keyword); } const name = keyword.toLowerCase(); let descriptor = keywords.get(name); if (descriptor === undefined) { const custom = isCustomProperty(name, 0); const vendor = !custom ? getVendorPrefix(name, 0) : ''; descriptor = Object.freeze({ basename: name.substr(vendor.length), name, prefix: vendor, vendor, custom }); } keywords.set(keyword, descriptor); return descriptor; } function getPropertyDescriptor(property) { if (properties.has(property)) { return properties.get(property); } let name = property; let hack = property[0]; if (hack === '/') { hack = property[1] === '/' ? '//' : '/'; } else if (hack !== '_' && hack !== '*' && hack !== '$' && hack !== '#' && hack !== '+' && hack !== '&') { hack = ''; } const custom = isCustomProperty(name, hack.length); // re-use result when possible (the same as for lower case) if (!custom) { name = name.toLowerCase(); if (properties.has(name)) { const descriptor = properties.get(name); properties.set(property, descriptor); return descriptor; } } const vendor = !custom ? getVendorPrefix(name, hack.length) : ''; const prefix = name.substr(0, hack.length + vendor.length); const descriptor = Object.freeze({ basename: name.substr(prefix.length), name: name.substr(hack.length), hack, vendor, prefix, custom }); properties.set(property, descriptor); return descriptor; } ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/lexer/generic-const.js // https://drafts.csswg.org/css-cascade-5/ const cssWideKeywords = [ 'initial', 'inherit', 'unset', 'revert', 'revert-layer' ]; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/lexer/generic-an-plus-b.js const generic_an_plus_b_PLUSSIGN = 0x002B; // U+002B PLUS SIGN (+) const generic_an_plus_b_HYPHENMINUS = 0x002D; // U+002D HYPHEN-MINUS (-) const generic_an_plus_b_N = 0x006E; // U+006E LATIN SMALL LETTER N (n) const DISALLOW_SIGN = true; const ALLOW_SIGN = false; function isDelim(token, code) { return token !== null && token.type === Delim && token.value.charCodeAt(0) === code; } function skipSC(token, offset, getNextToken) { while (token !== null && (token.type === WhiteSpace || token.type === Comment)) { token = getNextToken(++offset); } return offset; } function checkInteger(token, valueOffset, disallowSign, offset) { if (!token) { return 0; } const code = token.value.charCodeAt(valueOffset); if (code === generic_an_plus_b_PLUSSIGN || code === generic_an_plus_b_HYPHENMINUS) { if (disallowSign) { // Number sign is not allowed return 0; } valueOffset++; } for (; valueOffset < token.value.length; valueOffset++) { if (!isDigit(token.value.charCodeAt(valueOffset))) { // Integer is expected return 0; } } return offset + 1; } // ... // ... ['+' | '-'] function consumeB(token, offset_, getNextToken) { let sign = false; let offset = skipSC(token, offset_, getNextToken); token = getNextToken(offset); if (token === null) { return offset_; } if (token.type !== types_Number) { if (isDelim(token, generic_an_plus_b_PLUSSIGN) || isDelim(token, generic_an_plus_b_HYPHENMINUS)) { sign = true; offset = skipSC(getNextToken(++offset), offset, getNextToken); token = getNextToken(offset); if (token === null || token.type !== types_Number) { return 0; } } else { return offset_; } } if (!sign) { const code = token.value.charCodeAt(0); if (code !== generic_an_plus_b_PLUSSIGN && code !== generic_an_plus_b_HYPHENMINUS) { // Number sign is expected return 0; } } return checkInteger(token, sign ? 0 : 1, sign, offset); } // An+B microsyntax https://www.w3.org/TR/css-syntax-3/#anb function anPlusB(token, getNextToken) { /* eslint-disable brace-style*/ let offset = 0; if (!token) { return 0; } // if (token.type === types_Number) { return checkInteger(token, 0, ALLOW_SIGN, offset); // b } // -n // -n // -n ['+' | '-'] // -n- // else if (token.type === Ident && token.value.charCodeAt(0) === generic_an_plus_b_HYPHENMINUS) { // expect 1st char is N if (!cmpChar(token.value, 1, generic_an_plus_b_N)) { return 0; } switch (token.value.length) { // -n // -n // -n ['+' | '-'] case 2: return consumeB(getNextToken(++offset), offset, getNextToken); // -n- case 3: if (token.value.charCodeAt(2) !== generic_an_plus_b_HYPHENMINUS) { return 0; } offset = skipSC(getNextToken(++offset), offset, getNextToken); token = getNextToken(offset); return checkInteger(token, 0, DISALLOW_SIGN, offset); // default: if (token.value.charCodeAt(2) !== generic_an_plus_b_HYPHENMINUS) { return 0; } return checkInteger(token, 3, DISALLOW_SIGN, offset); } } // '+'? n // '+'? n // '+'? n ['+' | '-'] // '+'? n- // '+'? else if (token.type === Ident || (isDelim(token, generic_an_plus_b_PLUSSIGN) && getNextToken(offset + 1).type === Ident)) { // just ignore a plus if (token.type !== Ident) { token = getNextToken(++offset); } if (token === null || !cmpChar(token.value, 0, generic_an_plus_b_N)) { return 0; } switch (token.value.length) { // '+'? n // '+'? n // '+'? n ['+' | '-'] case 1: return consumeB(getNextToken(++offset), offset, getNextToken); // '+'? n- case 2: if (token.value.charCodeAt(1) !== generic_an_plus_b_HYPHENMINUS) { return 0; } offset = skipSC(getNextToken(++offset), offset, getNextToken); token = getNextToken(offset); return checkInteger(token, 0, DISALLOW_SIGN, offset); // '+'? default: if (token.value.charCodeAt(1) !== generic_an_plus_b_HYPHENMINUS) { return 0; } return checkInteger(token, 2, DISALLOW_SIGN, offset); } } // // // // // ['+' | '-'] else if (token.type === Dimension) { let code = token.value.charCodeAt(0); let sign = code === generic_an_plus_b_PLUSSIGN || code === generic_an_plus_b_HYPHENMINUS ? 1 : 0; let i = sign; for (; i < token.value.length; i++) { if (!isDigit(token.value.charCodeAt(i))) { break; } } if (i === sign) { // Integer is expected return 0; } if (!cmpChar(token.value, i, generic_an_plus_b_N)) { return 0; } // // // ['+' | '-'] if (i + 1 === token.value.length) { return consumeB(getNextToken(++offset), offset, getNextToken); } else { if (token.value.charCodeAt(i + 1) !== generic_an_plus_b_HYPHENMINUS) { return 0; } // if (i + 2 === token.value.length) { offset = skipSC(getNextToken(++offset), offset, getNextToken); token = getNextToken(offset); return checkInteger(token, 0, DISALLOW_SIGN, offset); } // else { return checkInteger(token, i + 2, DISALLOW_SIGN, offset); } } } return 0; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/lexer/generic-urange.js const generic_urange_PLUSSIGN = 0x002B; // U+002B PLUS SIGN (+) const generic_urange_HYPHENMINUS = 0x002D; // U+002D HYPHEN-MINUS (-) const QUESTIONMARK = 0x003F; // U+003F QUESTION MARK (?) const U = 0x0075; // U+0075 LATIN SMALL LETTER U (u) function generic_urange_isDelim(token, code) { return token !== null && token.type === Delim && token.value.charCodeAt(0) === code; } function startsWith(token, code) { return token.value.charCodeAt(0) === code; } function hexSequence(token, offset, allowDash) { let hexlen = 0; for (let pos = offset; pos < token.value.length; pos++) { const code = token.value.charCodeAt(pos); if (code === generic_urange_HYPHENMINUS && allowDash && hexlen !== 0) { hexSequence(token, offset + hexlen + 1, false); return 6; // dissallow following question marks } if (!isHexDigit(code)) { return 0; // not a hex digit } if (++hexlen > 6) { return 0; // too many hex digits }; } return hexlen; } function withQuestionMarkSequence(consumed, length, getNextToken) { if (!consumed) { return 0; // nothing consumed } while (generic_urange_isDelim(getNextToken(length), QUESTIONMARK)) { if (++consumed > 6) { return 0; // too many question marks } length++; } return length; } // https://drafts.csswg.org/css-syntax/#urange // Informally, the production has three forms: // U+0001 // Defines a range consisting of a single code point, in this case the code point "1". // U+0001-00ff // Defines a range of codepoints between the first and the second value, in this case // the range between "1" and "ff" (255 in decimal) inclusive. // U+00?? // Defines a range of codepoints where the "?" characters range over all hex digits, // in this case defining the same as the value U+0000-00ff. // In each form, a maximum of 6 digits is allowed for each hexadecimal number (if you treat "?" as a hexadecimal digit). // // = // u '+' '?'* | // u '?'* | // u '?'* | // u | // u | // u '+' '?'+ function urange(token, getNextToken) { let length = 0; // should start with `u` or `U` if (token === null || token.type !== Ident || !cmpChar(token.value, 0, U)) { return 0; } token = getNextToken(++length); if (token === null) { return 0; } // u '+' '?'* // u '+' '?'+ if (generic_urange_isDelim(token, generic_urange_PLUSSIGN)) { token = getNextToken(++length); if (token === null) { return 0; } if (token.type === Ident) { // u '+' '?'* return withQuestionMarkSequence(hexSequence(token, 0, true), ++length, getNextToken); } if (generic_urange_isDelim(token, QUESTIONMARK)) { // u '+' '?'+ return withQuestionMarkSequence(1, ++length, getNextToken); } // Hex digit or question mark is expected return 0; } // u '?'* // u // u if (token.type === types_Number) { const consumedHexLength = hexSequence(token, 1, true); if (consumedHexLength === 0) { return 0; } token = getNextToken(++length); if (token === null) { // u return length; } if (token.type === Dimension || token.type === types_Number) { // u // u if (!startsWith(token, generic_urange_HYPHENMINUS) || !hexSequence(token, 1, false)) { return 0; } return length + 1; } // u '?'* return withQuestionMarkSequence(consumedHexLength, length, getNextToken); } // u '?'* if (token.type === Dimension) { return withQuestionMarkSequence(hexSequence(token, 1, true), ++length, getNextToken); } return 0; }; ;// CONCATENATED MODULE: ./node_modules/css-tree/lib/lexer/generic.js const calcFunctionNames = ['calc(', '-moz-calc(', '-webkit-calc(']; const generic_balancePair = new Map([ [types_Function, RightParenthesis], [LeftParenthesis, RightParenthesis], [LeftSquareBracket, RightSquareBracket], [LeftCurlyBracket, RightCurlyBracket] ]); // units const LENGTH = [ // absolute length units https://www.w3.org/TR/css-values-3/#lengths 'cm', 'mm', 'q', 'in', 'pt', 'pc', 'px', // font-relative length units https://drafts.csswg.org/css-values-4/#font-relative-lengths 'em', 'rem', 'ex', 'rex', 'cap', 'rcap', 'ch', 'rch', 'ic', 'ric', 'lh', 'rlh', // viewport-percentage lengths https://drafts.csswg.org/css-values-4/#viewport-relative-lengths 'vw', 'svw', 'lvw', 'dvw', 'vh', 'svh', 'lvh', 'dvh', 'vi', 'svi', 'lvi', 'dvi', 'vb', 'svb', 'lvb', 'dvb', 'vmin', 'svmin', 'lvmin', 'dvmin', 'vmax', 'svmax', 'lvmax', 'dvmax', // container relative lengths https://drafts.csswg.org/css-contain-3/#container-lengths 'cqw', 'cqh', 'cqi', 'cqb', 'cqmin', 'cqmax' ]; const ANGLE = ['deg', 'grad', 'rad', 'turn']; // https://www.w3.org/TR/css-values-3/#angles const TIME = ['s', 'ms']; // https://www.w3.org/TR/css-values-3/#time const FREQUENCY = ['hz', 'khz']; // https://www.w3.org/TR/css-values-3/#frequency const RESOLUTION = ['dpi', 'dpcm', 'dppx', 'x']; // https://www.w3.org/TR/css-values-3/#resolution const FLEX = ['fr']; // https://drafts.csswg.org/css-grid/#fr-unit const DECIBEL = ['db']; // https://www.w3.org/TR/css3-speech/#mixing-props-voice-volume const SEMITONES = ['st']; // https://www.w3.org/TR/css3-speech/#voice-props-voice-pitch // safe char code getter function charCodeAt(str, index) { return index < str.length ? str.charCodeAt(index) : 0; } function eqStr(actual, expected) { return cmpStr(actual, 0, actual.length, expected); } function eqStrAny(actual, expected) { for (let i = 0; i < expected.length; i++) { if (eqStr(actual, expected[i])) { return true; } } return false; } // IE postfix hack, i.e. 123\0 or 123px\9 function isPostfixIeHack(str, offset) { if (offset !== str.length - 2) { return false; } return ( charCodeAt(str, offset) === 0x005C && // U+005C REVERSE SOLIDUS (\) isDigit(charCodeAt(str, offset + 1)) ); } function outOfRange(opts, value, numEnd) { if (opts && opts.type === 'Range') { const num = Number( numEnd !== undefined && numEnd !== value.length ? value.substr(0, numEnd) : value ); if (isNaN(num)) { return true; } // FIXME: when opts.min is a string it's a dimension, skip a range validation // for now since it requires a type covertation which is not implmented yet if (opts.min !== null && num < opts.min && typeof opts.min !== 'string') { return true; } // FIXME: when opts.max is a string it's a dimension, skip a range validation // for now since it requires a type covertation which is not implmented yet if (opts.max !== null && num > opts.max && typeof opts.max !== 'string') { return true; } } return false; } function consumeFunction(token, getNextToken) { let balanceCloseType = 0; let balanceStash = []; let length = 0; // balanced token consuming scan: do { switch (token.type) { case RightCurlyBracket: case RightParenthesis: case RightSquareBracket: if (token.type !== balanceCloseType) { break scan; } balanceCloseType = balanceStash.pop(); if (balanceStash.length === 0) { length++; break scan; } break; case types_Function: case LeftParenthesis: case LeftSquareBracket: case LeftCurlyBracket: balanceStash.push(balanceCloseType); balanceCloseType = generic_balancePair.get(token.type); break; } length++; } while (token = getNextToken(length)); return length; } // TODO: implement // can be used wherever , , ,